mirror of
				https://xff.cz/git/u-boot/
				synced 2025-10-31 18:35:42 +01:00 
			
		
		
		
	colibri_imx6: fix RALAT and WALAT values
Running a memtest in U-Boot and Linux shows that some Colibri iMX6 produce bitflips at temperatures above 60°C. This happens because the RALAT and WALAT values on the Colibri iMX6 are too low. The problems were introduced by commit09dbac8174("mx6: ddr: Restore ralat/walat in write level calibration") before the calibration process overwrote the values and set them to the maximum value. With this commit, we make sure that the RALAT and WALAT values are set to the maximum values again. This has been proven to work for years. Fixes:09dbac8174("mx6: ddr: Restore ralat/walat in write level calibration") Signed-off-by: Stefan Eichenberger <stefan.eichenberger@toradex.com> Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
This commit is contained in:
		
				
					committed by
					
						 Stefano Babic
						Stefano Babic
					
				
			
			
				
	
			
			
			
						parent
						
							8a81326d79
						
					
				
				
					commit
					44103cf331
				
			| @@ -767,8 +767,7 @@ MX6_MMDC_P1_MPRDDQBY3DL, 0x33333333, | ||||
| /* | ||||
|  * MDMISC	mirroring	interleaved (row/bank/col) | ||||
|  */ | ||||
| /* TODO: check what the RALAT field does */ | ||||
| MX6_MMDC_P0_MDMISC, 0x00081740, | ||||
| MX6_MMDC_P0_MDMISC, 0x000b17c0, | ||||
|  | ||||
| /* | ||||
|  * MDSCR	con_req | ||||
| @@ -900,8 +899,7 @@ MX6_MMDC_P1_MPRDDQBY3DL, 0x33333333, | ||||
| /* | ||||
|  * MDMISC	mirroring	interleaved (row/bank/col) | ||||
|  */ | ||||
| /* TODO: check what the RALAT field does */ | ||||
| MX6_MMDC_P0_MDMISC, 0x00081740, | ||||
| MX6_MMDC_P0_MDMISC, 0x000b17c0, | ||||
|  | ||||
| /* | ||||
|  * MDSCR	con_req | ||||
|   | ||||
		Reference in New Issue
	
	Block a user