summaryrefslogtreecommitdiff
path: root/Makefile
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 /Makefile
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 'Makefile')
-rw-r--r--Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 814bba8..35f8d31 100644
--- a/Makefile
+++ b/Makefile
@@ -1173,6 +1173,15 @@ kilauea_config \
haleakala_config: unconfig
@$(MKCONFIG) -n $@ -a kilauea ppc ppc4xx kilauea amcc
+kilauea_nand_config \
+haleakala_nand_config: unconfig
+ @mkdir -p $(obj)include $(obj)board/amcc/kilauea
+ @mkdir -p $(obj)nand_spl/board/amcc/kilauea
+ @echo "#define CONFIG_NAND_U_BOOT" > $(obj)include/config.h
+ @$(MKCONFIG) -n $@ -a kilauea ppc ppc4xx kilauea amcc
+ @echo "TEXT_BASE = 0x01000000" > $(obj)board/amcc/kilauea/config.tmp
+ @echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk
+
luan_config: unconfig
@$(MKCONFIG) $(@:_config=) ppc ppc4xx luan amcc