summaryrefslogtreecommitdiff
path: root/board/amcc/kilauea/init.S
diff options
context:
space:
mode:
Diffstat (limited to 'board/amcc/kilauea/init.S')
-rw-r--r--board/amcc/kilauea/init.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/amcc/kilauea/init.S b/board/amcc/kilauea/init.S
index 96358c6..4338744 100644
--- a/board/amcc/kilauea/init.S
+++ b/board/amcc/kilauea/init.S
@@ -38,6 +38,7 @@
.globl ext_bus_cntlr_init
ext_bus_cntlr_init:
+#if !defined(CONFIG_NAND_U_BOOT) || defined(CONFIG_NAND_SPL)
/*
* DDR2 setup
@@ -148,5 +149,6 @@ pll_wait:
/* Enable memory controller */
mtsdram_as(SDRAM_MCOPT2, 0x28000000);
+#endif /* #ifndef CONFIG_NAND_U_BOOT */
blr