[U-Boot-Users] [PATCH 1/8] New board SIMPC8313 support: MAINTAINERS, MAKEALL, Makefile

Ron Madrid ron_madrid at sbcglobal.net
Fri May 30 20:07:38 CEST 2008


New board SIMPC8313 support: MAINTAINERS, MAKEALL,
Makefile

Signed-off-by: Ron Madrid
---
 MAINTAINERS |    5 +++++
 MAKEALL     |    2 ++
 Makefile    |   18 ++++++++++++++++++
 3 files changed, 25 insertions(+), 0 deletions(-)

diff --git a/MAINTAINERS b/MAINTAINERS
index ac7572c..021fc4b 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -255,6 +255,11 @@ Jon Loeliger <jdl at freescale.com>
 	MPC8555CDS		MPC8555
 
 	MPC8641HPCN		MPC8641D
+ 
+Ron Madrid <ron_madrid at sbcglobal.net>
+
+	SIMPC8313		MPC8313
+
 
 Dan Malek <dan at embeddedalley.com>
 
diff --git a/MAKEALL b/MAKEALL
index 0674069..493a489 100755
--- a/MAKEALL
+++ b/MAKEALL
@@ -331,6 +331,8 @@ LIST_83xx="		\
 	MPC837XEMDS	\
 	MPC837XERDB	\
 	sbc8349		\
+	SIMPC8313_LP	\
+	SIMPC8313_SP	\
 	TQM834x		\
 "
 
diff --git a/Makefile b/Makefile
index 3401203..03e514f 100644
--- a/Makefile
+++ b/Makefile
@@ -2101,6 +2101,24 @@ MPC837XEMDS_HOST_config:
unconfig
 
 MPC837XERDB_config:	unconfig
 	@$(MKCONFIG) -a MPC837XERDB ppc mpc83xx mpc837xerdb
freescale
+ 
+SIMPC8313_LP_config \
+SIMPC8313_SP_config:	unconfig
+	@mkdir -p $(obj)include
+	@mkdir -p $(obj)nand_spl/board/sheldon/simpc8313
+	@if [ "$(findstring _LP_,$@)" ] ; then \
+		echo -n "... Large Page NAND " ; \
+		echo "#define CONFIG_NAND_LP" >>
$(obj)include/config.h ; \
+		$(MKCONFIG) -a SIMPC8313 ppc mpc83xx simpc8313
sheldon; \
+		echo "PAD_TO  = 0xFFF20000" >>
$(obj)board/sheldon/simpc8313/config.tmp ; \
+	fi ;
+	@if [ "$(findstring _SP_,$@)" ] ; then \
+		echo -n "... Small Page NAND " ; \
+		echo "#define CONFIG_NAND_SP" >>
$(obj)include/config.h ; \
+		$(MKCONFIG) -a SIMPC8313 ppc mpc83xx simpc8313
sheldon; \
+		echo "PAD_TO  = 0xFFF04000" >>
$(obj)board/sheldon/simpc8313/config.tmp ; \
+	fi ;
+	@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