summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2008-04-08 10:33:27 +0200
committerStefan Roese <sr@denx.de>2008-04-18 16:30:34 +0200
commitfe7c0db6b2a9004f96c2a2d4fff2849e19c2d825 (patch)
treeab5cdb9b356c51b08a25a34aa2705d32f99cf85b
parent5e3dca577b7c1bf58bd2b48449b18b7e7dcd8e04 (diff)
downloadu-boot-imx-fe7c0db6b2a9004f96c2a2d4fff2849e19c2d825.zip
u-boot-imx-fe7c0db6b2a9004f96c2a2d4fff2849e19c2d825.tar.gz
u-boot-imx-fe7c0db6b2a9004f96c2a2d4fff2849e19c2d825.tar.bz2
ppc4xx: Add Glacier NAND booting target
Signed-off-by: Stefan Roese <sr@denx.de>
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ab56831..b67a2e1 100644
--- a/Makefile
+++ b/Makefile
@@ -1187,10 +1187,13 @@ glacier_config: unconfig
tr '[:lower:]' '[:upper:]')" >$(obj)include/config.h
@$(MKCONFIG) -n $@ -a canyonlands ppc ppc4xx canyonlands amcc
-canyonlands_nand_config: unconfig
+canyonlands_nand_config \
+glacier_nand_config: unconfig
@mkdir -p $(obj)include $(obj)board/amcc/canyonlands
@mkdir -p $(obj)nand_spl/board/amcc/canyonlands
@echo "#define CONFIG_NAND_U_BOOT" > $(obj)include/config.h
+ @echo "#define CONFIG_$$(echo $(subst ,,$(@:_nand_config=)) | \
+ tr '[:lower:]' '[:upper:]')" >> $(obj)include/config.h
@$(MKCONFIG) -n $@ -a canyonlands ppc ppc4xx canyonlands amcc
@echo "TEXT_BASE = 0x01000000" > $(obj)board/amcc/canyonlands/config.tmp
@echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk