From: Stefan Roese Date: Tue, 8 Apr 2008 08:33:27 +0000 (+0200) Subject: ppc4xx: Add Glacier NAND booting target X-Git-Tag: v1.3.3-rc1~41^2~14 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=fe7c0db6b2a9004f96c2a2d4fff2849e19c2d825;p=u-boot ppc4xx: Add Glacier NAND booting target Signed-off-by: Stefan Roese --- diff --git a/Makefile b/Makefile index ab5683111a..b67a2e1120 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