diff options
author | Stefan Roese <sr@denx.de> | 2009-07-27 07:42:37 +0200 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2009-07-28 07:23:54 +0200 |
commit | 5b34691ff87821891375b28ec5bcf5154575a735 (patch) | |
tree | bb35132f203bfd071122bfe8e69763cdd9f612d2 /include/configs | |
parent | f3ed3c9b7441cde936d06a1ff7b1490ff0d600e6 (diff) | |
download | u-boot-imx-5b34691ff87821891375b28ec5bcf5154575a735.zip u-boot-imx-5b34691ff87821891375b28ec5bcf5154575a735.tar.gz u-boot-imx-5b34691ff87821891375b28ec5bcf5154575a735.tar.bz2 |
ppc4xx: Kilauea: Fix SDRAM init in NAND booting version
DDR2 Auto-calibration needs to be disabled on the NAND booting PPC4xx
targets. Otherwise the configured fixed init values for some DDR2
controller registers (e.g. RQDC) are not initialized at all resulting
in a non working SDRAM.
Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'include/configs')
-rw-r--r-- | include/configs/kilauea.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/kilauea.h b/include/configs/kilauea.h index 44bcbc0..965599c 100644 --- a/include/configs/kilauea.h +++ b/include/configs/kilauea.h @@ -236,9 +236,11 @@ * * DDR Autocalibration Method_B is the default. */ +#if !defined(CONFIG_NAND_U_BOOT) && !defined(CONFIG_NAND_SPL) #define CONFIG_PPC4xx_DDR_AUTOCALIBRATION /* IBM DDR autocalibration */ #define DEBUG_PPC4xx_DDR_AUTOCALIBRATION /* dynamic DDR autocal debug */ #undef CONFIG_PPC4xx_DDR_METHOD_A +#endif #define CONFIG_SYS_SDRAM0_MB0CF_BASE (( 0 << 20) + CONFIG_SYS_SDRAM_BASE) |