[U-Boot] [PATCH 1/4] New Board support: Makefile MAKEALL, etc
Ron Madrid
ron_madrid at sbcglobal.net
Fri Oct 31 19:17:32 CET 2008
This is a patch containing changes to files on the top level for a new board SIMPC8313.
Signed off by: Ron Madrid <ron_madrid at sbcglobal.net>
diff --git a/MAINTAINERS b/MAINTAINERS
index 750e374..f844ef4 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -259,6 +259,10 @@ Jon Loeliger <jdl at freescale.com>
MPC8641HPCN MPC8641D
+Ron Madrid <info at sheldoninst.com>
+
+ SIMPC8313 MPC8313
+
Dan Malek <dan at embeddedalley.com>
stxgp3 MPC85xx
diff --git a/MAKEALL b/MAKEALL
index 9ccb9ac..635bd0d 100755
--- a/MAKEALL
+++ b/MAKEALL
@@ -339,6 +339,7 @@ LIST_83xx=" \
MPC837XEMDS \
MPC837XERDB \
MVBLM7 \
+ SIMPC8313_LP \
sbc8349 \
TQM834x \
"
diff --git a/Makefile b/Makefile
index 7c13ce8..f546c52 100644
--- a/Makefile
+++ b/Makefile
@@ -2247,6 +2247,26 @@ MPC837XERDB_config: unconfig
MVBLM7_config: unconfig
@$(MKCONFIG) $(@:_config=) ppc mpc83xx mvblm7 matrix_vision
+
+SIMPC8313_LP_config \
+SIMPC8313_SP_config: unconfig
+ @mkdir -p $(obj)include
+ @mkdir -p $(obj)board/sheldon/simpc8313
+ @mkdir -p $(obj)nand_spl/board/sheldon/simpc8313
+ @if [ "$(findstring _LP_,$@)" ] ; then \
+ $(XECHO) -n "...NAND..." ; \
+ echo "TEXT_BASE = 0x00100000" > $(obj)board/sheldon/simpc8313/config.tmp ; \
+ echo "#define CONFIG_NAND_U_BOOT" >> $(obj)include/config.h ; \
+ echo "#define CONFIG_NAND_LP" >> $(obj)include/config.h ; \
+ fi ; \
+ if [ "$(findstring _SP_,$@)" ] ; then \
+ $(XECHO) -n "...NAND..." ; \
+ echo "TEXT_BASE = 0x00100000" > $(obj)board/sheldon/simpc8313/config.tmp ; \
+ echo "#define CONFIG_NAND_U_BOOT" >> $(obj)include/config.h ; \
+ echo "#define CONFIG_NAND_SP" >> $(obj)include/config.h ; \
+ fi ;
+ @$(MKCONFIG) -a SIMPC8313 ppc mpc83xx simpc8313 sheldon
+ @echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk
sbc8349_config: unconfig
@$(MKCONFIG) $(@:_config=) ppc mpc83xx sbc8349
--
1.5.5.1
More information about the U-Boot
mailing list