projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ppc4xx: Add missing file for Bamboo NAND booting support
[oweals/u-boot.git]
/
board
/
amcc
/
sequoia
/
sdram.c
diff --git
a/board/amcc/sequoia/sdram.c
b/board/amcc/sequoia/sdram.c
index d045df1872cf085424500f636d5953c4a0a40b45..78e2cb42a9a8743dfd238c661409d2d8913688bc 100644
(file)
--- a/
board/amcc/sequoia/sdram.c
+++ b/
board/amcc/sequoia/sdram.c
@@
-387,7
+387,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)
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);
ulong speed = get_bus_freq(0);
+#else
+ ulong speed = 133333333; /* 133MHz is on the safe side */
+#endif
mtsdram(DDR0_02, 0x00000000);
mtsdram(DDR0_02, 0x00000000);