summaryrefslogtreecommitdiff
path: root/board/amcc/sequoia/sdram.c
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2007-06-01 16:15:34 +0200
committerStefan Roese <sr@denx.de>2007-06-01 16:15:34 +0200
commitf3679aa13d9f483adb38245a87ecd5c84f57a5d3 (patch)
tree56099e57611527ba2460cd57f1f8af5c0b686a6e /board/amcc/sequoia/sdram.c
parent155a96478a0881e6da96cbbbcf34952d6a3b1b4b (diff)
parent9d9096043e8f713d4bf1743d32e1459e6a11644b (diff)
downloadu-boot-imx-f3679aa13d9f483adb38245a87ecd5c84f57a5d3.zip
u-boot-imx-f3679aa13d9f483adb38245a87ecd5c84f57a5d3.tar.gz
u-boot-imx-f3679aa13d9f483adb38245a87ecd5c84f57a5d3.tar.bz2
Merge with /home/stefan/git/u-boot/bamboo-nand
Diffstat (limited to 'board/amcc/sequoia/sdram.c')
-rw-r--r--board/amcc/sequoia/sdram.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/board/amcc/sequoia/sdram.c b/board/amcc/sequoia/sdram.c
index d045df1..78e2cb4 100644
--- 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)
+#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);