Skip to contentSkip to conversation

New Board support: Makefile MAKEALL, etc

PATCH New Ron Madrid 2 participants 2 messages Oct 31, 2008 Kbuild

lore
Share & tools
lore

Ron Madrid

author
#0 lore raw

PATCH 1/4 New Board support: Makefile MAKEALL, etc

This is a patch containing changes to files on the top level for a new board SIMPC8313.

Signed off by: Ron Madrid <[email protected]>

MAINTAINERS +4 -0
index 750e374..f844ef4 100644
@@ -259,6 +259,10 @@ Jon Loeliger <[email protected]>
 
     MPC8641HPCN    MPC8641D
 
+Ron Madrid <[email protected]>
+
+    SIMPC8313    MPC8313
+

Dan Malek <[email protected]>

stxgp3 MPC85xx

MAKEALL +1 -0
index 9ccb9ac..635bd0d 100755
@@ -339,6 +339,7 @@ LIST_83xx="        \
     MPC837XEMDS    \
     MPC837XERDB    \
     MVBLM7        \
+    SIMPC8313_LP    \
     sbc8349        \
     TQM834x        \

"

Makefile +0 -0
index 7c13ce8..f546c52 100644
@@ -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
Signature · 1 line
1.5.5.1
#1 lore raw

PATCH 1/4 New Board support: Makefile MAKEALL, etc

Quoted 1 line · On Fri, 31 Oct 2008 11:17:32 -0700 (PDT) Ron Madrid <[email protected]>…

This is a patch containing changes to files on the top level for a new board SIMPC8313.

please reorder patchseries or, even better, resubmit as one single patch so as to not break git bisecting.

Quoted 1 line

Signed off by: Ron Madrid <[email protected]>

s/Signed off by/Signed-off-by/ so as to not upset statistics tools.

Quoted 3 lines

MVBLM7_config: unconfig

     @$(MKCONFIG) $(@:_config=) ppc mpc83xx mvblm7 matrix_vision

+

trailing whitespace.

Quoted 2 lines
Signature · 1 line
1.5.5.1

I can't apply this - I'm getting:

Applying: New Board support: Makefile MAKEALL, etc
fatal: corrupt patch at line 13
Patch failed at 0001.

please reference:

http://lxr.linux.no/linux+v2.6.27.4/Documentation/email-clients.txt

btw, these patches are missing diffstats; please look into using git format-patch and/or git send-email.

Kim