}
@./mkconfig -a IceCube ppc mpc5xxx icecube
+PM520_config \
+PM520_DDR_config \
+PM520_ROMBOOT_config \
+PM520_ROMBOOT_DDR_config: unconfig
+ @ >include/config.h
+ @[ -z "$(findstring DDR,$@)" ] || \
+ { echo "#define CONFIG_MPC5200_DDR" >>include/config.h ; \
+ echo "... DDR memory revision" ; \
+ }
+ @[ -z "$(findstring ROMBOOT,$@)" ] || \
+ { echo "#define CONFIG_BOOT_ROM" >>include/config.h ; \
+ echo "... booting from 8-bit flash" ; \
+ }
+ @./mkconfig -a PM520 ppc mpc5xxx pm520
+
MINI5200_config \
EVAL5200_config \
TOP5200_config: unconfig
@ echo "#define CONFIG_$(@:_config=) 1" >include/config.h
@./mkconfig -a TOP5200 ppc mpc5xxx top5200 emk
-PM520_config: unconfig
- @./mkconfig $(@:_config=) ppc mpc5xxx pm520
+Total5100_config \
+Total5200_config \
+Total5200_lowboot_config \
+Total5200_Rev2_config \
+Total5200_Rev2_lowboot_config: unconfig
+ @ >include/config.h
+ @[ -z "$(findstring 5100,$@)" ] || \
+ { echo "#define CONFIG_MGT5100" >>include/config.h ; \
+ echo "... with MGT5100 processor" ; \
+ }
+ @[ -z "$(findstring 5200,$@)" ] || \
+ { echo "#define CONFIG_MPC5200" >>include/config.h ; \
+ echo "... with MPC5200 processor" ; \
+ }
+ @[ -n "$(findstring Rev,$@)" ] || \
+ { echo "#define CONFIG_TOTAL5200_REV 1" >>include/config.h ; \
+ echo "... revision 1 board" ; \
+ }
+ @[ -z "$(findstring Rev2_,$@)" ] || \
+ { echo "#define CONFIG_TOTAL5200_REV 2" >>include/config.h ; \
+ echo "... revision 2 board" ; \
+ }
+ @[ -z "$(findstring lowboot_,$@)" ] || \
+ { echo "TEXT_BASE = 0xFE000000" >board/total5200/config.tmp ; \
+ echo "... with lowboot configuration" ; \
+ }
+ @./mkconfig -a Total5200 ppc mpc5xxx total5200
+
+TQM5200_AA_config \
+TQM5200_AB_config \
+TQM5200_AC_config \
+MiniFAP_config: unconfig
+ @ >include/config.h
+ @[ -z "$(findstring MiniFAP,$@)" ] || \
+ { echo "#define CONFIG_MINIFAP" >>include/config.h ; \
+ echo "#define CONFIG_TQM5200_AC" >>include/config.h ; \
+ echo "... TQM5200_AC on MiniFAP" ; \
+ }
+ @[ -z "$(findstring AA,$@)" ] || \
+ { echo "#define CONFIG_TQM5200_AA" >>include/config.h ; \
+ echo "... with 4 MB Flash, 16 MB SDRAM, 32 kB EEPROM" ; \
+ }
+ @[ -z "$(findstring AB,$@)" ] || \
+ { echo "#define CONFIG_TQM5200_AB" >>include/config.h ; \
+ echo "... with 64 MB Flash, 64 MB SDRAM, 32 kB EEPROM, 512 kB SRAM" ; \
+ echo "... with Grafic Controller"; \
+ }
+ @[ -z "$(findstring AC,$@)" ] || \
+ { echo "#define CONFIG_TQM5200_AC" >>include/config.h ; \
+ echo "... with 4 MB Flash, 128 MB SDRAM" ; \
+ echo "... with Grafic Controller"; \
+ }
+ @./mkconfig -a TQM5200 ppc mpc5xxx tqm5200
#########################################################################
## MPC8xx Systems
#########################################################################
-AdderII_config: unconfig
- @./mkconfig $(@:_config=) ppc mpc8xx adderII
+Adder_config \
+Adder87x_config \
+AdderII_config \
+ : unconfig
+ $(if $(findstring AdderII,$@), \
+ @echo "#define CONFIG_MPC852T" > include/config.h)
+ @./mkconfig -a Adder ppc mpc8xx adder
ADS860_config \
FADS823_config \
#########################################################################
## PPC4xx Systems
#########################################################################
-xtract_4xx = $(subst _MODEL_BA,,$(subst _MODEL_ME,,$(subst _MODEL_HI,,$(subst _config,,$1))))
+xtract_4xx = $(subst _25,,$(subst _33,,$(subst _BA,,$(subst _ME,,$(subst _HI,,$(subst _config,,$1))))))
ADCIOP_config: unconfig
@./mkconfig $(@:_config=) ppc ppc4xx adciop esd
PMC405_config: unconfig
@./mkconfig $(@:_config=) ppc ppc4xx pmc405 esd
-PPChameleonEVB_MODEL_BA_config \
-PPChameleonEVB_MODEL_ME_config \
-PPChameleonEVB_MODEL_HI_config \
-PPChameleonEVB_config: unconfig
+PPChameleonEVB_config \
+PPChameleonEVB_BA_25_config \
+PPChameleonEVB_ME_25_config \
+PPChameleonEVB_HI_25_config \
+PPChameleonEVB_BA_33_config \
+PPChameleonEVB_ME_33_config \
+PPChameleonEVB_HI_33_config: unconfig
@ >include/config.h
@[ -z "$(findstring _MODEL_BA,$@)" ] || \
{ echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 0" >>include/config.h ; \
{ echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 2" >>include/config.h ; \
echo "... HIGH-END model" ; \
}
+ @[ -z "$(findstring _25,$@)" ] || \
+ { echo "#define CONFIG_PPCHAMELEON_CLK_25" >>include/config.h ; \
+ echo " SysClk = 25MHz" ; \
+ }
+ @[ -z "$(findstring _33,$@)" ] || \
+ { echo "#define CONFIG_PPCHAMELEON_CLK_33" >>include/config.h ; \
+ echo " SysClk = 33MHz" ; \
+ }
@./mkconfig -a $(call xtract_4xx,$@) ppc ppc4xx PPChameleonEVB dave
VOH405_config: unconfig
Sandpoint8245_config: unconfig
@./mkconfig $(@:_config=) ppc mpc824x sandpoint
+sbc8240_config: unconfig
+ @./mkconfig $(@:_config=) ppc mpc824x sbc8240
+
SL8245_config: unconfig
@./mkconfig $(@:_config=) ppc mpc824x sl8245
## MPC85xx Systems
#########################################################################
-MPC8540ADS_config: unconfig
+MPC8540ADS_config: unconfig
@./mkconfig $(@:_config=) ppc mpc85xx mpc8540ads
-MPC8560ADS_config: unconfig
+MPC8560ADS_config: unconfig
@./mkconfig $(@:_config=) ppc mpc85xx mpc8560ads
-stxgp3_config: unconfig
+stxgp3_config: unconfig
@./mkconfig $(@:_config=) ppc mpc85xx stxgp3
+sbc8560_config \
+sbc8560_33_config \
+sbc8560_66_config: unconfig
+ @if [ "$(findstring _66_,$@)" ] ; then \
+ echo "#define CONFIG_PCI_66" >>include/config.h ; \
+ echo "... 66 MHz PCI" ; \
+ else \
+ >include/config.h ; \
+ echo "... 33 MHz PCI" ; \
+ fi
+ @./mkconfig -a sbc8560 ppc mpc85xx sbc8560
+
#########################################################################
## 74xx/7xx Systems
#########################################################################
xtract_omap730p2 = $(subst _cs0boot,,$(subst _cs3boot,, $(subst _config,,$1)))
-SX1_config : unconfig
- @./mkconfig $(@:_config=) arm arm925t sx1
-
integratorcp_config : unconfig
@./mkconfig $(@:_config=) arm arm926ejs integratorcp
integratorap_config : unconfig
@./mkconfig $(@:_config=) arm arm926ejs integratorap
-versatile_config : unconfig
- @./mkconfig $(@:_config=) arm arm926ejs versatile
+lpd7a400_config \
+lpd7a404_config: unconfig
+ @./mkconfig $(@:_config=) arm lh7a40x lpd7a40x
+
+mx1ads_config : unconfig
+ @./mkconfig $(@:_config=) arm arm920t mx1ads
+
+mx1fs2_config : unconfig
+ @./mkconfig $(@:_config=) arm arm920t mx1fs2
omap1510inn_config : unconfig
@./mkconfig $(@:_config=) arm arm925t omap1510inn
fi;
@./mkconfig -a $(call xtract_omap730p2,$@) arm arm926ejs omap730p2
+scb9328_config : unconfig
+ @./mkconfig $(@:_config=) arm arm920t scb9328
+
smdk2400_config : unconfig
@./mkconfig $(@:_config=) arm arm920t smdk2400
smdk2410_config : unconfig
@./mkconfig $(@:_config=) arm arm920t smdk2410
+SX1_config : unconfig
+ @./mkconfig $(@:_config=) arm arm925t sx1
+
# TRAB default configuration: 8 MB Flash, 32 MB RAM
trab_config \
trab_bigram_config \
VCMA9_config : unconfig
@./mkconfig $(@:_config=) arm arm920t vcma9 mpl
-lpd7a400_config: unconfig
- @./mkconfig $(@:_config=) arm lh7a40x lpd7a40x
+versatile_config : unconfig
+ @./mkconfig $(@:_config=) arm arm926ejs versatile
#########################################################################
## S3C44B0 Systems
## ARM720T Systems
#########################################################################
-impa7_config : unconfig
- @./mkconfig $(@:_config=) arm arm720t impa7
-
ep7312_config : unconfig
@./mkconfig $(@:_config=) arm arm720t ep7312
+impa7_config : unconfig
+ @./mkconfig $(@:_config=) arm arm720t impa7
+
modnet50_config : unconfig
@./mkconfig $(@:_config=) arm arm720t modnet50
+evb4510_config : unconfig
+ @./mkconfig $(@:_config=) arm arm720t evb4510
+
#########################################################################
## AT91RM9200 Systems
#########################################################################
## XScale Systems
#########################################################################
+cerf250_config : unconfig
+ @./mkconfig $(@:_config=) arm pxa cerf250
+
cradle_config : unconfig
@./mkconfig $(@:_config=) arm pxa cradle