summaryrefslogtreecommitdiff
path: root/board/amcc/kilauea/init.S
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2007-11-03 12:08:28 +0100
committerStefan Roese <sr@denx.de>2007-11-03 12:08:28 +0100
commit3d6cb3b24add6415f86a0f013ea40f5639b90047 (patch)
tree34e0b53e4ce78d8d965bb3af64495cdcd39f4c2f /board/amcc/kilauea/init.S
parent5d96d40d3f36da33348e68f9ea993f383e11f997 (diff)
downloadu-boot-imx-3d6cb3b24add6415f86a0f013ea40f5639b90047.zip
u-boot-imx-3d6cb3b24add6415f86a0f013ea40f5639b90047.tar.gz
u-boot-imx-3d6cb3b24add6415f86a0f013ea40f5639b90047.tar.bz2
ppc4xx: Add AMCC Kilauea/Haleakala NAND booting support
This patch adds NAND booting support for the AMCC 405EX(r) eval boards. Again, only one image supports both targets. Signed-off-by: Stefan Roese <sr@denx.de>
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