]> git.sur5r.net Git - u-boot/blobdiff - board/amcc/sequoia/sdram.c
ppc4xx: Add Sequoia RAM-booting target
[u-boot] / board / amcc / sequoia / sdram.c
index 6df4c6d9b366df2a6f9a61a29cf5e8083ae1f732..bde471c2efc58d4add1bac37caa23cb8a098d208 100644 (file)
@@ -54,7 +54,8 @@ extern void denali_core_search_data_eye(void);
  ************************************************************************/
 phys_size_t initdram (int board_type)
 {
-#if !defined(CONFIG_NAND_U_BOOT) || defined(CONFIG_NAND_SPL)
+#if !(defined(CONFIG_NAND_U_BOOT) || defined(CONFIG_SYS_RAMBOOT)) || \
+    defined(CONFIG_NAND_SPL)
        ulong speed = get_bus_freq(0);
 
        mtsdram(DDR0_02, 0x00000000);