summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Spence <nick.spence@freescale.com>2008-09-02 15:21:16 -0500
committerKim Phillips <kim.phillips@freescale.com>2008-09-03 16:09:52 -0500
commit64ac1eb5afafced49b327425ad1814b2dc422d6e (patch)
treec3234ef5b652f5f3cb5c4d347df84c5a27745e42
parent6eb2a44e27919fdc601e0c05404b298a7602c0e3 (diff)
downloadu-boot-imx-64ac1eb5afafced49b327425ad1814b2dc422d6e.zip
u-boot-imx-64ac1eb5afafced49b327425ad1814b2dc422d6e.tar.gz
u-boot-imx-64ac1eb5afafced49b327425ad1814b2dc422d6e.tar.bz2
mpc83xx: fix mpc8313 in-tree building with NAND
and add mpc8313 NAND build to MAKEALL Signed-off-by: Nick Spence <nick.spence@freescale.com> Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
-rwxr-xr-xMAKEALL2
-rw-r--r--Makefile3
2 files changed, 4 insertions, 1 deletions
diff --git a/MAKEALL b/MAKEALL
index fe284b5..fbdcb42 100755
--- a/MAKEALL
+++ b/MAKEALL
@@ -320,7 +320,7 @@ LIST_8260=" \
LIST_83xx=" \
MPC8313ERDB_33 \
- MPC8313ERDB_66 \
+ MPC8313ERDB_NAND_66 \
MPC8315ERDB \
MPC8323ERDB \
MPC832XEMDS \
diff --git a/Makefile b/Makefile
index 2d4b513..8d82ef5 100644
--- a/Makefile
+++ b/Makefile
@@ -2083,6 +2083,9 @@ MPC8313ERDB_NAND_66_config: unconfig
echo "#define CONFIG_NAND_U_BOOT" >>$(obj)include/config.h ; \
fi ;
@$(MKCONFIG) -a MPC8313ERDB ppc mpc83xx mpc8313erdb freescale
+ @if [ "$(findstring _NAND_,$@)" ] ; then \
+ echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk ; \
+ fi ;
MPC8315ERDB_config: unconfig
@$(MKCONFIG) -a MPC8315ERDB ppc mpc83xx mpc8315erdb freescale