From: Ron Madrid Date: Fri, 31 Oct 2008 11:17:32 -0700 (PDT) Subject: [U-Boot] [PATCH 1/4] New Board support: Makefile MAKEALL, etc Message-ID: <363154.24477.qm@web83505.mail.sp1.yahoo.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de This is a patch containing changes to files on the top level for a new board SIMPC8313. Signed off by: Ron Madrid diff --git a/MAINTAINERS b/MAINTAINERS index 750e374..f844ef4 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -259,6 +259,10 @@ Jon Loeliger MPC8641HPCN MPC8641D +Ron Madrid + + SIMPC8313 MPC8313 + Dan Malek 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