]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - Makefile
Add support for CompactFlash on ATC board
[karo-tx-uboot.git] / Makefile
index f6a7a89a2aecd83fa9463463d9c6ca47c1bb390e..cf8abd6c21926873e5330dd62f096c2770c06ffe 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -212,8 +212,16 @@ FADS860T_config:   unconfig
 FLAGADM_config:        unconfig
        @./mkconfig $(@:_config=) ppc mpc8xx flagadm
 
+xtract_GEN860T = $(subst _SC,,$(subst _config,,$1))
+
+GEN860T_SC_config      \
 GEN860T_config: unconfig
-       @./mkconfig $(@:_config=) ppc mpc8xx gen860t
+       @ >include/config.h
+       @[ -z "$(findstring _SC,$@)" ] || \
+               { echo "#define CONFIG_SC" >>include/config.h ; \
+                 echo "With reduced H/W feature set (SC)..." ; \
+               }
+       @./mkconfig -a $(call xtract_GEN860T,$@) ppc mpc8xx gen860t
 
 GENIETV_config:        unconfig
        @./mkconfig $(@:_config=) ppc mpc8xx genietv
@@ -575,10 +583,13 @@ sbc8260_config:   unconfig
 SCM_config:            unconfig
        @./mkconfig $(@:_config=) ppc mpc8260 SCM siemens
 
+TQM8255_config \
 TQM8260_config \
 TQM8260_L2_config      \
+TQM8255_266MHz_config  \
 TQM8260_266MHz_config  \
 TQM8260_L2_266MHz_config \
+TQM8255_300MHz_config  \
 TQM8260_300MHz_config: unconfig
        @ >include/config.h
        @if [ "$(findstring _L2_,$@)" ] ; then \
@@ -596,7 +607,12 @@ TQM8260_300MHz_config:     unconfig
                { echo "#define CONFIG_300MHz"  >>include/config.h ; \
                  echo "... with 300MHz system clock" ; \
                }
-       @./mkconfig -a $(call xtract_82xx,$@) ppc mpc8260 tqm8260
+       @[ -z "$(findstring TQM8255_,$@)" ] || \
+               { echo "#define CONFIG_MPC8255" >>include/config.h ; }
+       @./mkconfig -a TQM8260 ppc mpc8260 tqm8260
+
+atc_config:    unconfig
+       @./mkconfig $(@:_config=) ppc mpc8260 atc
 
 #########################################################################
 ## 74xx/7xx Systems