diff options
author | Stefan Roese <sr@denx.de> | 2007-06-01 15:29:04 +0200 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2007-06-01 15:29:04 +0200 |
commit | 9d9096043e8f713d4bf1743d32e1459e6a11644b (patch) | |
tree | 27d8f360f76b6de1ecee420c73470e1c93cfb7b6 /board/amcc/sequoia | |
parent | cf959c7d6687567c308e366e9581e1a5aff5cc5b (diff) | |
download | u-boot-imx-9d9096043e8f713d4bf1743d32e1459e6a11644b.zip u-boot-imx-9d9096043e8f713d4bf1743d32e1459e6a11644b.tar.gz u-boot-imx-9d9096043e8f713d4bf1743d32e1459e6a11644b.tar.bz2 |
ppc4xx: Update Sequoia NAND booting support with ECC
Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'board/amcc/sequoia')
-rw-r--r-- | board/amcc/sequoia/sdram.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/board/amcc/sequoia/sdram.c b/board/amcc/sequoia/sdram.c index f8b837e..826d192 100644 --- a/board/amcc/sequoia/sdram.c +++ b/board/amcc/sequoia/sdram.c @@ -379,7 +379,11 @@ void denali_core_search_data_eye(unsigned long memory_size) long int initdram (int board_type) { #if !defined(CONFIG_NAND_U_BOOT) || defined(CONFIG_NAND_SPL) +#if !defined(CONFIG_NAND_SPL) ulong speed = get_bus_freq(0); +#else + ulong speed = 133333333; /* 133MHz is on the safe side */ +#endif mtsdram(DDR0_02, 0x00000000); |