17ebf7443Swdenk# 2881a87ecSWolfgang Denk# (C) Copyright 2000-2006 37ebf7443Swdenk# Wolfgang Denk, DENX Software Engineering, wd@denx.de. 47ebf7443Swdenk# 57ebf7443Swdenk# See file CREDITS for list of people who contributed to this 67ebf7443Swdenk# project. 77ebf7443Swdenk# 87ebf7443Swdenk# This program is free software; you can redistribute it and/or 97ebf7443Swdenk# modify it under the terms of the GNU General Public License as 1045a212c4SWolfgang Denk# published by the Free Software Foundatio; either version 2 of 117ebf7443Swdenk# the License, or (at your option) any later version. 127ebf7443Swdenk# 137ebf7443Swdenk# This program is distributed in the hope that it will be useful, 147ebf7443Swdenk# but WITHOUT ANY WARRANTY; without even the implied warranty of 157ebf7443Swdenk# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 167ebf7443Swdenk# GNU General Public License for more details. 177ebf7443Swdenk# 187ebf7443Swdenk# You should have received a copy of the GNU General Public License 197ebf7443Swdenk# along with this program; if not, write to the Free Software 207ebf7443Swdenk# Foundation, Inc., 59 Temple Place, Suite 330, Boston, 217ebf7443Swdenk# MA 02111-1307 USA 227ebf7443Swdenk# 237ebf7443Swdenk 24881a87ecSWolfgang DenkVERSION = 1 25881a87ecSWolfgang DenkPATCHLEVEL = 1 26881a87ecSWolfgang DenkSUBLEVEL = 4 27881a87ecSWolfgang DenkEXTRAVERSION = 28881a87ecSWolfgang DenkU_BOOT_VERSION = $(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION) 29881a87ecSWolfgang DenkVERSION_FILE = include/version_autogenerated.h 30881a87ecSWolfgang Denk 317ebf7443SwdenkHOSTARCH := $(shell uname -m | \ 327ebf7443Swdenk sed -e s/i.86/i386/ \ 337ebf7443Swdenk -e s/sun4u/sparc64/ \ 347ebf7443Swdenk -e s/arm.*/arm/ \ 357ebf7443Swdenk -e s/sa110/arm/ \ 367ebf7443Swdenk -e s/powerpc/ppc/ \ 377ebf7443Swdenk -e s/macppc/ppc/) 387ebf7443Swdenk 39f9d77ed3SWolfgang DenkHOSTOS := $(shell uname -s | tr '[:upper:]' '[:lower:]' | \ 407ebf7443Swdenk sed -e 's/\(cygwin\).*/cygwin/') 417ebf7443Swdenk 42f9d77ed3SWolfgang Denkexport HOSTARCH HOSTOS 437ebf7443Swdenk 447ebf7443Swdenk# Deal with colliding definitions from tcsh etc. 457ebf7443SwdenkVENDOR= 467ebf7443Swdenk 477ebf7443Swdenk######################################################################### 487ebf7443Swdenk 497ebf7443SwdenkTOPDIR := $(shell if [ "$$PWD" != "" ]; then echo $$PWD; else pwd; fi) 507ebf7443Swdenkexport TOPDIR 517ebf7443Swdenk 527ebf7443Swdenkifeq (include/config.mk,$(wildcard include/config.mk)) 537ebf7443Swdenk# load ARCH, BOARD, and CPU configuration 547ebf7443Swdenkinclude include/config.mk 551d9f4105Swdenkexport ARCH CPU BOARD VENDOR SOC 567ebf7443Swdenkifndef CROSS_COMPILE 577ebf7443Swdenkifeq ($(HOSTARCH),ppc) 587ebf7443SwdenkCROSS_COMPILE = 597ebf7443Swdenkelse 607ebf7443Swdenkifeq ($(ARCH),ppc) 61f046ccd1SEran LibertyCROSS_COMPILE = powerpc-linux- 627ebf7443Swdenkendif 637ebf7443Swdenkifeq ($(ARCH),arm) 64dc7c9a1aSwdenkCROSS_COMPILE = arm-linux- 657ebf7443Swdenkendif 662262cfeeSwdenkifeq ($(ARCH),i386) 677a8e9bedSwdenkifeq ($(HOSTARCH),i386) 687a8e9bedSwdenkCROSS_COMPILE = 697a8e9bedSwdenkelse 707a8e9bedSwdenkCROSS_COMPILE = i386-linux- 717a8e9bedSwdenkendif 722262cfeeSwdenkendif 7343d9616cSwdenkifeq ($(ARCH),mips) 7443d9616cSwdenkCROSS_COMPILE = mips_4KC- 7543d9616cSwdenkendif 764a551709Swdenkifeq ($(ARCH),nios) 774a551709SwdenkCROSS_COMPILE = nios-elf- 784a551709Swdenkendif 795c952cf0Swdenkifeq ($(ARCH),nios2) 805c952cf0SwdenkCROSS_COMPILE = nios2-elf- 815c952cf0Swdenkendif 824e5ca3ebSwdenkifeq ($(ARCH),m68k) 834e5ca3ebSwdenkCROSS_COMPILE = m68k-elf- 844e5ca3ebSwdenkendif 85507bbe3eSwdenkifeq ($(ARCH),microblaze) 86507bbe3eSwdenkCROSS_COMPILE = mb- 87507bbe3eSwdenkendif 880afe519aSWolfgang Denkifeq ($(ARCH),blackfin) 890afe519aSWolfgang DenkCROSS_COMPILE = bfin-elf- 900afe519aSWolfgang Denkendif 917ebf7443Swdenkendif 927ebf7443Swdenkendif 937ebf7443Swdenk 947ebf7443Swdenkexport CROSS_COMPILE 957ebf7443Swdenk 9692b197f0SWolfgang Denk# load other configuration 9792b197f0SWolfgang Denkinclude $(TOPDIR)/config.mk 9892b197f0SWolfgang Denk 9992b197f0SWolfgang Denk 1007ebf7443Swdenk######################################################################### 1017ebf7443Swdenk# U-Boot objects....order is important (i.e. start must be first) 1027ebf7443Swdenk 1037ebf7443SwdenkOBJS = cpu/$(CPU)/start.o 1042262cfeeSwdenkifeq ($(CPU),i386) 1052262cfeeSwdenkOBJS += cpu/$(CPU)/start16.o 1062262cfeeSwdenkOBJS += cpu/$(CPU)/reset.o 1072262cfeeSwdenkendif 1087ebf7443Swdenkifeq ($(CPU),ppc4xx) 1097ebf7443SwdenkOBJS += cpu/$(CPU)/resetvec.o 1107ebf7443Swdenkendif 111f046ccd1SEran Libertyifeq ($(CPU),mpc83xx) 112f046ccd1SEran LibertyOBJS += cpu/$(CPU)/resetvec.o 113f046ccd1SEran Libertyendif 11442d1f039Swdenkifeq ($(CPU),mpc85xx) 11542d1f039SwdenkOBJS += cpu/$(CPU)/resetvec.o 11642d1f039Swdenkendif 1170afe519aSWolfgang Denkifeq ($(CPU),bf533) 1180afe519aSWolfgang DenkOBJS += cpu/$(CPU)/start1.o cpu/$(CPU)/interrupt.o cpu/$(CPU)/cache.o 1190afe519aSWolfgang DenkOBJS += cpu/$(CPU)/cplbhdlr.o cpu/$(CPU)/cplbmgr.o cpu/$(CPU)/flush.o 1200afe519aSWolfgang Denkendif 1217ebf7443Swdenk 1229fd5e31fSwdenkLIBS = lib_generic/libgeneric.a 1239fd5e31fSwdenkLIBS += board/$(BOARDDIR)/lib$(BOARD).a 1247ebf7443SwdenkLIBS += cpu/$(CPU)/lib$(CPU).a 1251d9f4105Swdenkifdef SOC 1261d9f4105SwdenkLIBS += cpu/$(CPU)/$(SOC)/lib$(SOC).a 1271d9f4105Swdenkendif 1287ebf7443SwdenkLIBS += lib_$(ARCH)/lib$(ARCH).a 129518e2e1aSwdenkLIBS += fs/cramfs/libcramfs.a fs/fat/libfat.a fs/fdos/libfdos.a fs/jffs2/libjffs2.a \ 130c419d1d6Sstroese fs/reiserfs/libreiserfs.a fs/ext2/libext2fs.a 1317ebf7443SwdenkLIBS += net/libnet.a 1327ebf7443SwdenkLIBS += disk/libdisk.a 1337ebf7443SwdenkLIBS += rtc/librtc.a 1347ebf7443SwdenkLIBS += dtt/libdtt.a 1357ebf7443SwdenkLIBS += drivers/libdrivers.a 1366db39708SMarian BalakowiczLIBS += drivers/nand/libnand.a 1376db39708SMarian BalakowiczLIBS += drivers/nand_legacy/libnand_legacy.a 1387152b1d0SwdenkLIBS += drivers/sk98lin/libsk98lin.a 1397ebf7443SwdenkLIBS += post/libpost.a post/cpu/libcpu.a 1407ebf7443SwdenkLIBS += common/libcommon.a 141038ccac5SBartlomiej SiekaLIBS += $(BOARDLIBS) 1429fd5e31fSwdenk.PHONY : $(LIBS) 143a8c7c708Swdenk 1444f7cb08eSwdenk# Add GCC lib 1451a344f29SwdenkPLATFORM_LIBS += -L $(shell dirname `$(CC) $(CFLAGS) -print-libgcc-file-name`) -lgcc 1463d3befa7Swdenk 1477ebf7443Swdenk 148a8c7c708Swdenk# The "tools" are needed early, so put this first 149a8c7c708Swdenk# Don't include stuff already done in $(LIBS) 150a8c7c708SwdenkSUBDIRS = tools \ 151a8c7c708Swdenk examples \ 152a8c7c708Swdenk post \ 153a8c7c708Swdenk post/cpu 154b028f715Swdenk.PHONY : $(SUBDIRS) 155a8c7c708Swdenk 1567ebf7443Swdenk######################################################################### 157bdccc4feSwdenk######################################################################### 1587ebf7443Swdenk 159bdccc4feSwdenkALL = u-boot.srec u-boot.bin System.map 1607ebf7443Swdenk 161bdccc4feSwdenkall: $(ALL) 1627ebf7443Swdenk 1636310eb9dSwdenku-boot.hex: u-boot 1646310eb9dSwdenk $(OBJCOPY) ${OBJCFLAGS} -O ihex $< $@ 1656310eb9dSwdenk 1667ebf7443Swdenku-boot.srec: u-boot 1677ebf7443Swdenk $(OBJCOPY) ${OBJCFLAGS} -O srec $< $@ 1687ebf7443Swdenk 1697ebf7443Swdenku-boot.bin: u-boot 1707ebf7443Swdenk $(OBJCOPY) ${OBJCFLAGS} -O binary $< $@ 1717ebf7443Swdenk 172bdccc4feSwdenku-boot.img: u-boot.bin 173bdccc4feSwdenk ./tools/mkimage -A $(ARCH) -T firmware -C none \ 174bdccc4feSwdenk -a $(TEXT_BASE) -e 0 \ 175881a87ecSWolfgang Denk -n $(shell sed -n -e 's/.*U_BOOT_VERSION//p' $(VERSION_FILE) | \ 176bdccc4feSwdenk sed -e 's/"[ ]*$$/ for $(BOARD) board"/') \ 177bdccc4feSwdenk -d $< $@ 178bdccc4feSwdenk 1797ebf7443Swdenku-boot.dis: u-boot 1807ebf7443Swdenk $(OBJDUMP) -d $< > $@ 1817ebf7443Swdenk 182881a87ecSWolfgang Denku-boot: depend version $(SUBDIRS) $(OBJS) $(LIBS) $(LDSCRIPT) 1838bde7f77Swdenk UNDEF_SYM=`$(OBJDUMP) -x $(LIBS) |sed -n -e 's/.*\(__u_boot_cmd_.*\)/-u\1/p'|sort|uniq`;\ 1848bde7f77Swdenk $(LD) $(LDFLAGS) $$UNDEF_SYM $(OBJS) \ 1851a344f29Swdenk --start-group $(LIBS) --end-group $(PLATFORM_LIBS) \ 186b2184c31Swdenk -Map u-boot.map -o u-boot 1877ebf7443Swdenk 188a8c7c708Swdenk$(LIBS): 189a8c7c708Swdenk $(MAKE) -C `dirname $@` 190a8c7c708Swdenk 191a8c7c708Swdenk$(SUBDIRS): 192b028f715Swdenk $(MAKE) -C $@ all 1937ebf7443Swdenk 194881a87ecSWolfgang Denkversion: 195881a87ecSWolfgang Denk @echo -n "#define U_BOOT_VERSION \"U-Boot " > $(VERSION_FILE); \ 196881a87ecSWolfgang Denk echo -n "$(U_BOOT_VERSION)" >> $(VERSION_FILE); \ 197881a87ecSWolfgang Denk echo -n $(shell $(CONFIG_SHELL) $(TOPDIR)/tools/setlocalversion \ 198881a87ecSWolfgang Denk $(TOPDIR)) >> $(VERSION_FILE); \ 199881a87ecSWolfgang Denk echo "\"" >> $(VERSION_FILE) 200881a87ecSWolfgang Denk 2018f713fdfSdzugdbtools: 2028f713fdfSdzu $(MAKE) -C tools/gdb || exit 1 2038f713fdfSdzu 2047ebf7443Swdenkdepend dep: 2057ebf7443Swdenk @for dir in $(SUBDIRS) ; do $(MAKE) -C $$dir .depend ; done 2067ebf7443Swdenk 2077ebf7443Swdenktags: 2087ebf7443Swdenk ctags -w `find $(SUBDIRS) include \ 209bda6c8aeSwdenk lib_generic board/$(BOARDDIR) cpu/$(CPU) lib_$(ARCH) \ 210bda6c8aeSwdenk fs/cramfs fs/fat fs/fdos fs/jffs2 \ 211bda6c8aeSwdenk net disk rtc dtt drivers drivers/sk98lin common \ 2127ebf7443Swdenk \( -name CVS -prune \) -o \( -name '*.[ch]' -print \)` 2137ebf7443Swdenk 2147ebf7443Swdenketags: 2157ebf7443Swdenk etags -a `find $(SUBDIRS) include \ 216eedcd078Swdenk lib_generic board/$(BOARDDIR) cpu/$(CPU) lib_$(ARCH) \ 217eedcd078Swdenk fs/cramfs fs/fat fs/fdos fs/jffs2 \ 218eedcd078Swdenk net disk rtc dtt drivers drivers/sk98lin common \ 2197ebf7443Swdenk \( -name CVS -prune \) -o \( -name '*.[ch]' -print \)` 2207ebf7443Swdenk 2217ebf7443SwdenkSystem.map: u-boot 2227ebf7443Swdenk @$(NM) $< | \ 2237ebf7443Swdenk grep -v '\(compiled\)\|\(\.o$$\)\|\( [aUw] \)\|\(\.\.ng$$\)\|\(LASH[RL]DI\)' | \ 2247ebf7443Swdenk sort > System.map 2257ebf7443Swdenk 2267ebf7443Swdenk######################################################################### 2277ebf7443Swdenkelse 2287ebf7443Swdenkall install u-boot u-boot.srec depend dep: 2297ebf7443Swdenk @echo "System not configured - see README" >&2 2307ebf7443Swdenk @ exit 1 2317ebf7443Swdenkendif 2327ebf7443Swdenk 2337ebf7443Swdenk######################################################################### 2347ebf7443Swdenk 2357ebf7443Swdenkunconfig: 23617d704ebSwdenk @rm -f include/config.h include/config.mk board/*/config.tmp 2377ebf7443Swdenk 2387ebf7443Swdenk#======================================================================== 2397ebf7443Swdenk# PowerPC 2407ebf7443Swdenk#======================================================================== 2410db5bca8Swdenk 2420db5bca8Swdenk######################################################################### 2430db5bca8Swdenk## MPC5xx Systems 2440db5bca8Swdenk######################################################################### 2450db5bca8Swdenk 2465e5f9ed2Swdenkcanmb_config: unconfig 2475e5f9ed2Swdenk @./mkconfig -a canmb ppc mpc5xxx canmb 2485e5f9ed2Swdenk 2490db5bca8Swdenkcmi_mpc5xx_config: unconfig 2500db5bca8Swdenk @./mkconfig $(@:_config=) ppc mpc5xx cmi 2510db5bca8Swdenk 252b6e4c403SwdenkPATI_config: unconfig 253b6e4c403Swdenk @./mkconfig $(@:_config=) ppc mpc5xx pati mpl 254b6e4c403Swdenk 2557ebf7443Swdenk######################################################################### 256945af8d7Swdenk## MPC5xxx Systems 257945af8d7Swdenk######################################################################### 258a87589daSwdenk 259dafba16eSWolfgang Denkaev_config: unconfig 260dafba16eSWolfgang Denk @./mkconfig -a aev ppc mpc5xxx tqm5200 261dafba16eSWolfgang Denk 2626ca24c64Sdzu@denx.deBC3450_config: unconfig 2636ca24c64Sdzu@denx.de @./mkconfig -a BC3450 ppc mpc5xxx bc3450 2646ca24c64Sdzu@denx.de 2655e4b3361SStefan Roesecpci5200_config: unconfig 2665e4b3361SStefan Roese @./mkconfig -a cpci5200 ppc mpc5xxx cpci5200 esd 2675e4b3361SStefan Roese 268a87589daSwdenkhmi1001_config: unconfig 269a87589daSwdenk @./mkconfig hmi1001 ppc mpc5xxx hmi1001 270a87589daSwdenk 271e35745bbSwdenkLite5200_config \ 272e35745bbSwdenkLite5200_LOWBOOT_config \ 273e35745bbSwdenkLite5200_LOWBOOT08_config \ 274e35745bbSwdenkicecube_5200_config \ 275e35745bbSwdenkicecube_5200_LOWBOOT_config \ 276e35745bbSwdenkicecube_5200_LOWBOOT08_config \ 277b2001f27Swdenkicecube_5200_DDR_config \ 27879d696fcSwdenkicecube_5200_DDR_LOWBOOT_config \ 27979d696fcSwdenkicecube_5200_DDR_LOWBOOT08_config \ 280e35745bbSwdenkicecube_5100_config: unconfig 281945af8d7Swdenk @ >include/config.h 28217d704ebSwdenk @[ -z "$(findstring LOWBOOT_,$@)" ] || \ 28317d704ebSwdenk { if [ "$(findstring DDR,$@)" ] ; \ 28417d704ebSwdenk then echo "TEXT_BASE = 0xFF800000" >board/icecube/config.tmp ; \ 28517d704ebSwdenk else echo "TEXT_BASE = 0xFF000000" >board/icecube/config.tmp ; \ 28617d704ebSwdenk fi ; \ 2875cf9da48Swdenk echo "... with LOWBOOT configuration" ; \ 2885cf9da48Swdenk } 2895cf9da48Swdenk @[ -z "$(findstring LOWBOOT08,$@)" ] || \ 2905cf9da48Swdenk { echo "TEXT_BASE = 0xFF800000" >board/icecube/config.tmp ; \ 2915cf9da48Swdenk echo "... with 8 MB flash only" ; \ 29217d704ebSwdenk echo "... with LOWBOOT configuration" ; \ 2935cf9da48Swdenk } 294b2001f27Swdenk @[ -z "$(findstring DDR,$@)" ] || \ 295b2001f27Swdenk { echo "#define CONFIG_MPC5200_DDR" >>include/config.h ; \ 296b2001f27Swdenk echo "... DDR memory revision" ; \ 297b2001f27Swdenk } 298d4ca31c4Swdenk @[ -z "$(findstring 5200,$@)" ] || \ 299d4ca31c4Swdenk { echo "#define CONFIG_MPC5200" >>include/config.h ; \ 300d4ca31c4Swdenk echo "... with MPC5200 processor" ; \ 301d4ca31c4Swdenk } 302a0f2fe52Swdenk @[ -z "$(findstring 5100,$@)" ] || \ 303945af8d7Swdenk { echo "#define CONFIG_MGT5100" >>include/config.h ; \ 304945af8d7Swdenk echo "... with MGT5100 processor" ; \ 305945af8d7Swdenk } 306945af8d7Swdenk @./mkconfig -a IceCube ppc mpc5xxx icecube 307945af8d7Swdenk 308138ff60cSwdenkinka4x0_config: unconfig 309138ff60cSwdenk @./mkconfig inka4x0 ppc mpc5xxx inka4x0 310138ff60cSwdenk 31109e4b0c5SWolfgang Denklite5200b_config \ 31209e4b0c5SWolfgang Denklite5200b_LOWBOOT_config: unconfig 31309e4b0c5SWolfgang Denk @ >include/config.h 31409e4b0c5SWolfgang Denk @ echo "#define CONFIG_MPC5200_DDR" >>include/config.h 31509e4b0c5SWolfgang Denk @ echo "... DDR memory revision" 31609e4b0c5SWolfgang Denk @ echo "#define CONFIG_MPC5200" >>include/config.h 31709e4b0c5SWolfgang Denk @ echo "#define CONFIG_LITE5200B" >>include/config.h 31809e4b0c5SWolfgang Denk @[ -z "$(findstring LOWBOOT_,$@)" ] || \ 31909e4b0c5SWolfgang Denk { echo "TEXT_BASE = 0xFF000000" >board/icecube/config.tmp ; \ 32009e4b0c5SWolfgang Denk echo "... with LOWBOOT configuration" ; \ 32109e4b0c5SWolfgang Denk } 32209e4b0c5SWolfgang Denk @ echo "... with MPC5200B processor" 32309e4b0c5SWolfgang Denk @./mkconfig -a IceCube ppc mpc5xxx icecube 32409e4b0c5SWolfgang Denk 325f1ee9825SStefan Roesemcc200_config \ 326f1ee9825SStefan Roesemcc200_lowboot_config: unconfig 327f1ee9825SStefan Roese @ >include/config.h 328f1ee9825SStefan Roese @[ -z "$(findstring lowboot_,$@)" ] || \ 329f149d864SWolfgang Denk { echo "TEXT_BASE = 0xFC000000" >board/mcc200/config.tmp ; \ 330f1ee9825SStefan Roese echo "... with lowboot configuration" ; \ 331f1ee9825SStefan Roese } 33286ea5f93SWolfgang Denk @./mkconfig mcc200 ppc mpc5xxx mcc200 33386ea5f93SWolfgang Denk 334df04a3dfSWolfgang Denko2dnt_config: 33586ea5f93SWolfgang Denk @./mkconfig o2dnt ppc mpc5xxx o2dnt 336df04a3dfSWolfgang Denk 3375e4b3361SStefan Roesepf5200_config: unconfig 33886ea5f93SWolfgang Denk @./mkconfig pf5200 ppc mpc5xxx pf5200 esd 3395e4b3361SStefan Roese 34089394047SwdenkPM520_config \ 34189394047SwdenkPM520_DDR_config \ 34289394047SwdenkPM520_ROMBOOT_config \ 34389394047SwdenkPM520_ROMBOOT_DDR_config: unconfig 34489394047Swdenk @ >include/config.h 34589394047Swdenk @[ -z "$(findstring DDR,$@)" ] || \ 34689394047Swdenk { echo "#define CONFIG_MPC5200_DDR" >>include/config.h ; \ 34789394047Swdenk echo "... DDR memory revision" ; \ 34889394047Swdenk } 34989394047Swdenk @[ -z "$(findstring ROMBOOT,$@)" ] || \ 35089394047Swdenk { echo "#define CONFIG_BOOT_ROM" >>include/config.h ; \ 35189394047Swdenk echo "... booting from 8-bit flash" ; \ 35289394047Swdenk } 35389394047Swdenk @./mkconfig -a PM520 ppc mpc5xxx pm520 35489394047Swdenk 3556624b687SWolfgang Denksmmaco4_config: unconfig 3566624b687SWolfgang Denk @./mkconfig -a smmaco4 ppc mpc5xxx tqm5200 3579cdc8386SWolfgang Denk 3589cdc8386SWolfgang Denkspieval_config: unconfig 3599cdc8386SWolfgang Denk @./mkconfig -a spieval ppc mpc5xxx tqm5200 3609cdc8386SWolfgang Denk 36145a212c4SWolfgang DenkTB5200_B_config \ 362b87dfd28SWolfgang DenkTB5200_config: unconfig 36345a212c4SWolfgang Denk @[ -z "$(findstring _B,$@)" ] || \ 36445a212c4SWolfgang Denk { echo "#define CONFIG_TQM5200_B" >>include/config.h ; \ 36545a212c4SWolfgang Denk echo "... with MPC5200B processor" ; \ 36645a212c4SWolfgang Denk } 367*5078cce8SWolfgang Denk @./mkconfig -n $@ -a TB5200 ppc mpc5xxx tqm5200 368b87dfd28SWolfgang Denk 369d4ca31c4SwdenkMINI5200_config \ 370d4ca31c4SwdenkEVAL5200_config \ 371d4ca31c4SwdenkTOP5200_config: unconfig 372d4ca31c4Swdenk @ echo "#define CONFIG_$(@:_config=) 1" >include/config.h 373*5078cce8SWolfgang Denk @./mkconfig -n $@ -a TOP5200 ppc mpc5xxx top5200 emk 374d4ca31c4Swdenk 3756c7a1408SwdenkTotal5100_config \ 3766c7a1408SwdenkTotal5200_config \ 3776c7a1408SwdenkTotal5200_lowboot_config \ 3786c7a1408SwdenkTotal5200_Rev2_config \ 3796c7a1408SwdenkTotal5200_Rev2_lowboot_config: unconfig 3806c7a1408Swdenk @ >include/config.h 3816c7a1408Swdenk @[ -z "$(findstring 5100,$@)" ] || \ 3826c7a1408Swdenk { echo "#define CONFIG_MGT5100" >>include/config.h ; \ 3836c7a1408Swdenk echo "... with MGT5100 processor" ; \ 3846c7a1408Swdenk } 3856c7a1408Swdenk @[ -z "$(findstring 5200,$@)" ] || \ 3866c7a1408Swdenk { echo "#define CONFIG_MPC5200" >>include/config.h ; \ 3876c7a1408Swdenk echo "... with MPC5200 processor" ; \ 3886c7a1408Swdenk } 3896c7a1408Swdenk @[ -n "$(findstring Rev,$@)" ] || \ 3906c7a1408Swdenk { echo "#define CONFIG_TOTAL5200_REV 1" >>include/config.h ; \ 3916c7a1408Swdenk echo "... revision 1 board" ; \ 3926c7a1408Swdenk } 3936c7a1408Swdenk @[ -z "$(findstring Rev2_,$@)" ] || \ 3946c7a1408Swdenk { echo "#define CONFIG_TOTAL5200_REV 2" >>include/config.h ; \ 3956c7a1408Swdenk echo "... revision 2 board" ; \ 3966c7a1408Swdenk } 3976c7a1408Swdenk @[ -z "$(findstring lowboot_,$@)" ] || \ 3986c7a1408Swdenk { echo "TEXT_BASE = 0xFE000000" >board/total5200/config.tmp ; \ 3996c7a1408Swdenk echo "... with lowboot configuration" ; \ 4006c7a1408Swdenk } 4016c7a1408Swdenk @./mkconfig -a Total5200 ppc mpc5xxx total5200 4026c7a1408Swdenk 403cd65a3dcSWolfgang DenkTQM5200_config \ 40445a212c4SWolfgang DenkTQM5200_B_config \ 405978b1096SWolfgang DenkTQM5200_B_HIGHBOOT_config \ 406*5078cce8SWolfgang DenkTQM5200S_config \ 407*5078cce8SWolfgang DenkTQM5200S_HIGHBOOT_config \ 408*5078cce8SWolfgang DenkTQM5200_STK100_config \ 409*5078cce8SWolfgang Denkcameron_config \ 41056523f12SwdenkMiniFAP_config: unconfig 41156523f12Swdenk @ >include/config.h 41289394047Swdenk @[ -z "$(findstring MiniFAP,$@)" ] || \ 41356523f12Swdenk { echo "#define CONFIG_MINIFAP" >>include/config.h ; \ 41489394047Swdenk echo "... TQM5200_AC on MiniFAP" ; \ 41556523f12Swdenk } 416*5078cce8SWolfgang Denk @[ -z "$(findstring cameron,$@)" ] || \ 417*5078cce8SWolfgang Denk { echo "#define CONFIG_CAMERON" >>include/config.h ; \ 418*5078cce8SWolfgang Denk echo "#define CONFIG_TQM5200S" >>include/config.h ; \ 419*5078cce8SWolfgang Denk echo "#define CONFIG_TQM5200_B" >>include/config.h ; \ 420*5078cce8SWolfgang Denk echo "... TQM5200S on Cameron" ; \ 421*5078cce8SWolfgang Denk } 422cd65a3dcSWolfgang Denk @[ -z "$(findstring STK100,$@)" ] || \ 423cd65a3dcSWolfgang Denk { echo "#define CONFIG_STK52XX_REV100" >>include/config.h ; \ 424cd65a3dcSWolfgang Denk echo "... on a STK52XX.100 base board" ; \ 42556523f12Swdenk } 426*5078cce8SWolfgang Denk @[ -z "$(findstring TQM5200_B,$@)" ] || \ 42745a212c4SWolfgang Denk { echo "#define CONFIG_TQM5200_B" >>include/config.h ; \ 428*5078cce8SWolfgang Denk } 429*5078cce8SWolfgang Denk @[ -z "$(findstring TQM5200S,$@)" ] || \ 430*5078cce8SWolfgang Denk { echo "#define CONFIG_TQM5200S" >>include/config.h ; \ 431*5078cce8SWolfgang Denk echo "#define CONFIG_TQM5200_B" >>include/config.h ; \ 43245a212c4SWolfgang Denk } 433978b1096SWolfgang Denk @[ -z "$(findstring HIGHBOOT,$@)" ] || \ 434978b1096SWolfgang Denk { echo "TEXT_BASE = 0xFFF00000" >board/tqm5200/config.tmp ; \ 435978b1096SWolfgang Denk } 436*5078cce8SWolfgang Denk @./mkconfig -n $@ -a TQM5200 ppc mpc5xxx tqm5200 43756523f12Swdenk 438945af8d7Swdenk######################################################################### 4397ebf7443Swdenk## MPC8xx Systems 4407ebf7443Swdenk######################################################################### 4417ebf7443Swdenk 4422d24a3a7SwdenkAdder_config \ 4432d24a3a7SwdenkAdder87x_config \ 44426238132SwdenkAdderII_config \ 4452d24a3a7Swdenk : unconfig 44626238132Swdenk $(if $(findstring AdderII,$@), \ 4472d24a3a7Swdenk @echo "#define CONFIG_MPC852T" > include/config.h) 4482d24a3a7Swdenk @./mkconfig -a Adder ppc mpc8xx adder 4492d24a3a7Swdenk 450180d3f74SwdenkADS860_config \ 451180d3f74SwdenkFADS823_config \ 452180d3f74SwdenkFADS850SAR_config \ 453180d3f74SwdenkMPC86xADS_config \ 4541114257cSwdenkMPC885ADS_config \ 455180d3f74SwdenkFADS860T_config: unconfig 4567ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx fads 4577ebf7443Swdenk 4587ebf7443SwdenkAMX860_config : unconfig 4597ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx amx860 westel 4607ebf7443Swdenk 4617ebf7443Swdenkc2mon_config: unconfig 4627ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx c2mon 4637ebf7443Swdenk 4647ebf7443SwdenkCCM_config: unconfig 4657ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx CCM siemens 4667ebf7443Swdenk 4677ebf7443Swdenkcogent_mpc8xx_config: unconfig 4687ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx cogent 4697ebf7443Swdenk 4703bac3513SwdenkELPT860_config: unconfig 4713bac3513Swdenk @./mkconfig $(@:_config=) ppc mpc8xx elpt860 LEOX 4723bac3513Swdenk 47384c960ceSWolfgang DenkEP88x_config: unconfig 47484c960ceSWolfgang Denk @./mkconfig $(@:_config=) ppc mpc8xx ep88x 47584c960ceSWolfgang Denk 4767ebf7443SwdenkESTEEM192E_config: unconfig 4777ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx esteem192e 4787ebf7443Swdenk 4797ebf7443SwdenkETX094_config : unconfig 4807ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx etx094 4817ebf7443Swdenk 4827ebf7443SwdenkFLAGADM_config: unconfig 4837ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx flagadm 4847ebf7443Swdenk 4857aa78614Swdenkxtract_GEN860T = $(subst _SC,,$(subst _config,,$1)) 4867aa78614Swdenk 4877aa78614SwdenkGEN860T_SC_config \ 4887ebf7443SwdenkGEN860T_config: unconfig 4897aa78614Swdenk @ >include/config.h 4907aa78614Swdenk @[ -z "$(findstring _SC,$@)" ] || \ 4917aa78614Swdenk { echo "#define CONFIG_SC" >>include/config.h ; \ 4927aa78614Swdenk echo "With reduced H/W feature set (SC)..." ; \ 4937aa78614Swdenk } 4947aa78614Swdenk @./mkconfig -a $(call xtract_GEN860T,$@) ppc mpc8xx gen860t 4957ebf7443Swdenk 4967ebf7443SwdenkGENIETV_config: unconfig 4977ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx genietv 4987ebf7443Swdenk 4997ebf7443SwdenkGTH_config: unconfig 5007ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx gth 5017ebf7443Swdenk 5027ebf7443Swdenkhermes_config : unconfig 5037ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx hermes 5047ebf7443Swdenk 505c40b2956SwdenkHMI10_config : unconfig 506c40b2956Swdenk @./mkconfig $(@:_config=) ppc mpc8xx tqm8xx 507c40b2956Swdenk 5087ebf7443SwdenkIAD210_config: unconfig 5097ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx IAD210 siemens 5107ebf7443Swdenk 5117ebf7443Swdenkxtract_ICU862 = $(subst _100MHz,,$(subst _config,,$1)) 5127ebf7443Swdenk 5137ebf7443SwdenkICU862_100MHz_config \ 5147ebf7443SwdenkICU862_config: unconfig 5157ebf7443Swdenk @ >include/config.h 5167ebf7443Swdenk @[ -z "$(findstring _100MHz,$@)" ] || \ 5177ebf7443Swdenk { echo "#define CONFIG_100MHz" >>include/config.h ; \ 5187ebf7443Swdenk echo "... with 100MHz system clock" ; \ 5197ebf7443Swdenk } 5207ebf7443Swdenk @./mkconfig -a $(call xtract_ICU862,$@) ppc mpc8xx icu862 5217ebf7443Swdenk 5227ebf7443SwdenkIP860_config : unconfig 5237ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx ip860 5247ebf7443Swdenk 5257ebf7443SwdenkIVML24_256_config \ 5267ebf7443SwdenkIVML24_128_config \ 5277ebf7443SwdenkIVML24_config: unconfig 5287ebf7443Swdenk @ >include/config.h 5297ebf7443Swdenk @[ -z "$(findstring IVML24_config,$@)" ] || \ 5307ebf7443Swdenk { echo "#define CONFIG_IVML24_16M" >>include/config.h ; \ 5317ebf7443Swdenk } 5327ebf7443Swdenk @[ -z "$(findstring IVML24_128_config,$@)" ] || \ 5337ebf7443Swdenk { echo "#define CONFIG_IVML24_32M" >>include/config.h ; \ 5347ebf7443Swdenk } 5357ebf7443Swdenk @[ -z "$(findstring IVML24_256_config,$@)" ] || \ 5367ebf7443Swdenk { echo "#define CONFIG_IVML24_64M" >>include/config.h ; \ 5377ebf7443Swdenk } 5387ebf7443Swdenk @./mkconfig -a IVML24 ppc mpc8xx ivm 5397ebf7443Swdenk 5407ebf7443SwdenkIVMS8_256_config \ 5417ebf7443SwdenkIVMS8_128_config \ 5427ebf7443SwdenkIVMS8_config: unconfig 5437ebf7443Swdenk @ >include/config.h 5447ebf7443Swdenk @[ -z "$(findstring IVMS8_config,$@)" ] || \ 5457ebf7443Swdenk { echo "#define CONFIG_IVMS8_16M" >>include/config.h ; \ 5467ebf7443Swdenk } 5477ebf7443Swdenk @[ -z "$(findstring IVMS8_128_config,$@)" ] || \ 5487ebf7443Swdenk { echo "#define CONFIG_IVMS8_32M" >>include/config.h ; \ 5497ebf7443Swdenk } 5507ebf7443Swdenk @[ -z "$(findstring IVMS8_256_config,$@)" ] || \ 5517ebf7443Swdenk { echo "#define CONFIG_IVMS8_64M" >>include/config.h ; \ 5527ebf7443Swdenk } 5537ebf7443Swdenk @./mkconfig -a IVMS8 ppc mpc8xx ivm 5547ebf7443Swdenk 55556f94be3SwdenkKUP4K_config : unconfig 5560608e04dSwdenk @./mkconfig $(@:_config=) ppc mpc8xx kup4k kup 5570608e04dSwdenk 5580608e04dSwdenkKUP4X_config : unconfig 5590608e04dSwdenk @./mkconfig $(@:_config=) ppc mpc8xx kup4x kup 56056f94be3Swdenk 5617ebf7443SwdenkLANTEC_config : unconfig 5627ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx lantec 5637ebf7443Swdenk 5647ebf7443Swdenklwmon_config: unconfig 5657ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx lwmon 5667ebf7443Swdenk 5677ebf7443SwdenkMBX_config \ 5687ebf7443SwdenkMBX860T_config: unconfig 5697ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx mbx8xx 5707ebf7443Swdenk 5717ebf7443SwdenkMHPC_config: unconfig 5727ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx mhpc eltec 5737ebf7443Swdenk 5747ebf7443SwdenkMVS1_config : unconfig 5757ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx mvs1 5767ebf7443Swdenk 577993cad93Swdenkxtract_NETVIA = $(subst _V2,,$(subst _config,,$1)) 578993cad93Swdenk 579993cad93SwdenkNETVIA_V2_config \ 5807ebf7443SwdenkNETVIA_config: unconfig 581993cad93Swdenk @ >include/config.h 582993cad93Swdenk @[ -z "$(findstring NETVIA_config,$@)" ] || \ 583993cad93Swdenk { echo "#define CONFIG_NETVIA_VERSION 1" >>include/config.h ; \ 584993cad93Swdenk echo "... Version 1" ; \ 585993cad93Swdenk } 586993cad93Swdenk @[ -z "$(findstring NETVIA_V2_config,$@)" ] || \ 587993cad93Swdenk { echo "#define CONFIG_NETVIA_VERSION 2" >>include/config.h ; \ 588993cad93Swdenk echo "... Version 2" ; \ 589993cad93Swdenk } 590993cad93Swdenk @./mkconfig -a $(call xtract_NETVIA,$@) ppc mpc8xx netvia 5917ebf7443Swdenk 592c26e454dSwdenkxtract_NETPHONE = $(subst _V2,,$(subst _config,,$1)) 593c26e454dSwdenk 594c26e454dSwdenkNETPHONE_V2_config \ 59504a85b3bSwdenkNETPHONE_config: unconfig 596c26e454dSwdenk @ >include/config.h 597c26e454dSwdenk @[ -z "$(findstring NETPHONE_config,$@)" ] || \ 598c26e454dSwdenk { echo "#define CONFIG_NETPHONE_VERSION 1" >>include/config.h ; \ 599c26e454dSwdenk } 600c26e454dSwdenk @[ -z "$(findstring NETPHONE_V2_config,$@)" ] || \ 601c26e454dSwdenk { echo "#define CONFIG_NETPHONE_VERSION 2" >>include/config.h ; \ 602c26e454dSwdenk } 603c26e454dSwdenk @./mkconfig -a $(call xtract_NETPHONE,$@) ppc mpc8xx netphone 60404a85b3bSwdenk 60579fa88f3Swdenkxtract_NETTA = $(subst _SWAPHOOK,,$(subst _6412,,$(subst _ISDN,,$(subst _config,,$1)))) 60604a85b3bSwdenk 60779fa88f3SwdenkNETTA_ISDN_6412_SWAPHOOK_config \ 60879fa88f3SwdenkNETTA_ISDN_SWAPHOOK_config \ 60979fa88f3SwdenkNETTA_6412_SWAPHOOK_config \ 61079fa88f3SwdenkNETTA_SWAPHOOK_config \ 61179fa88f3SwdenkNETTA_ISDN_6412_config \ 61204a85b3bSwdenkNETTA_ISDN_config \ 61379fa88f3SwdenkNETTA_6412_config \ 61404a85b3bSwdenkNETTA_config: unconfig 61504a85b3bSwdenk @ >include/config.h 61679fa88f3Swdenk @[ -z "$(findstring ISDN_,$@)" ] || \ 61704a85b3bSwdenk { echo "#define CONFIG_NETTA_ISDN 1" >>include/config.h ; \ 61804a85b3bSwdenk } 61979fa88f3Swdenk @[ -n "$(findstring ISDN_,$@)" ] || \ 62079fa88f3Swdenk { echo "#undef CONFIG_NETTA_ISDN" >>include/config.h ; \ 62179fa88f3Swdenk } 62279fa88f3Swdenk @[ -z "$(findstring 6412_,$@)" ] || \ 62379fa88f3Swdenk { echo "#define CONFIG_NETTA_6412 1" >>include/config.h ; \ 62479fa88f3Swdenk } 62579fa88f3Swdenk @[ -n "$(findstring 6412_,$@)" ] || \ 62679fa88f3Swdenk { echo "#undef CONFIG_NETTA_6412" >>include/config.h ; \ 62779fa88f3Swdenk } 62879fa88f3Swdenk @[ -z "$(findstring SWAPHOOK_,$@)" ] || \ 62979fa88f3Swdenk { echo "#define CONFIG_NETTA_SWAPHOOK 1" >>include/config.h ; \ 63079fa88f3Swdenk } 63179fa88f3Swdenk @[ -n "$(findstring SWAPHOOK_,$@)" ] || \ 63279fa88f3Swdenk { echo "#undef CONFIG_NETTA_SWAPHOOK" >>include/config.h ; \ 63379fa88f3Swdenk } 63404a85b3bSwdenk @./mkconfig -a $(call xtract_NETTA,$@) ppc mpc8xx netta 63504a85b3bSwdenk 63679fa88f3Swdenkxtract_NETTA2 = $(subst _V2,,$(subst _config,,$1)) 63779fa88f3Swdenk 63879fa88f3SwdenkNETTA2_V2_config \ 63979fa88f3SwdenkNETTA2_config: unconfig 64079fa88f3Swdenk @ >include/config.h 64179fa88f3Swdenk @[ -z "$(findstring NETTA2_config,$@)" ] || \ 64279fa88f3Swdenk { echo "#define CONFIG_NETTA2_VERSION 1" >>include/config.h ; \ 64379fa88f3Swdenk } 64479fa88f3Swdenk @[ -z "$(findstring NETTA2_V2_config,$@)" ] || \ 64579fa88f3Swdenk { echo "#define CONFIG_NETTA2_VERSION 2" >>include/config.h ; \ 64679fa88f3Swdenk } 64779fa88f3Swdenk @./mkconfig -a $(call xtract_NETTA2,$@) ppc mpc8xx netta2 64879fa88f3Swdenk 649a367d426Sdzu@denx.deNC650_Rev1_config \ 650a367d426Sdzu@denx.deNC650_Rev2_config \ 651a367d426Sdzu@denx.deCP850_config: unconfig 652a367d426Sdzu@denx.de @ >include/config.h 653a367d426Sdzu@denx.de @[ -z "$(findstring CP850,$@)" ] || \ 654a367d426Sdzu@denx.de { echo "#define CONFIG_CP850 1" >>include/config.h ; \ 655a367d426Sdzu@denx.de echo "#define CONFIG_IDS852_REV2 1" >>include/config.h ; \ 656a367d426Sdzu@denx.de } 657a367d426Sdzu@denx.de @[ -z "$(findstring Rev1,$@)" ] || \ 658a367d426Sdzu@denx.de { echo "#define CONFIG_IDS852_REV1 1" >>include/config.h ; \ 659a367d426Sdzu@denx.de } 660a367d426Sdzu@denx.de @[ -z "$(findstring Rev2,$@)" ] || \ 661a367d426Sdzu@denx.de { echo "#define CONFIG_IDS852_REV2 1" >>include/config.h ; \ 662a367d426Sdzu@denx.de } 663a367d426Sdzu@denx.de @./mkconfig -a NC650 ppc mpc8xx nc650 6647ca202f5Swdenk 6657ebf7443SwdenkNX823_config: unconfig 6667ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx nx823 6677ebf7443Swdenk 6687ebf7443Swdenkpcu_e_config: unconfig 6697ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx pcu_e siemens 6707ebf7443Swdenk 6713bbc899fSwdenkQS850_config: unconfig 6723bbc899fSwdenk @./mkconfig $(@:_config=) ppc mpc8xx qs850 snmc 6733bbc899fSwdenk 6743bbc899fSwdenkQS823_config: unconfig 6753bbc899fSwdenk @./mkconfig $(@:_config=) ppc mpc8xx qs850 snmc 6763bbc899fSwdenk 6773bbc899fSwdenkQS860T_config: unconfig 6783bbc899fSwdenk @./mkconfig $(@:_config=) ppc mpc8xx qs860t snmc 6793bbc899fSwdenk 680da93ed81Swdenkquantum_config: unconfig 681da93ed81Swdenk @./mkconfig $(@:_config=) ppc mpc8xx quantum 682da93ed81Swdenk 6837ebf7443SwdenkR360MPI_config: unconfig 6847ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx r360mpi 6857ebf7443Swdenk 686682011ffSwdenkRBC823_config: unconfig 687682011ffSwdenk @./mkconfig $(@:_config=) ppc mpc8xx rbc823 688682011ffSwdenk 6897ebf7443SwdenkRPXClassic_config: unconfig 6907ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx RPXClassic 6917ebf7443Swdenk 6927ebf7443SwdenkRPXlite_config: unconfig 6937ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx RPXlite 6947ebf7443Swdenk 695e63c8ee3SwdenkRPXlite_DW_64_config \ 696e63c8ee3SwdenkRPXlite_DW_LCD_config \ 697e63c8ee3SwdenkRPXlite_DW_64_LCD_config \ 698e63c8ee3SwdenkRPXlite_DW_NVRAM_config \ 699e63c8ee3SwdenkRPXlite_DW_NVRAM_64_config \ 700e63c8ee3SwdenkRPXlite_DW_NVRAM_LCD_config \ 701e63c8ee3SwdenkRPXlite_DW_NVRAM_64_LCD_config \ 702e63c8ee3SwdenkRPXlite_DW_config: unconfig 703e63c8ee3Swdenk @ >include/config.h 704e63c8ee3Swdenk @[ -z "$(findstring _64,$@)" ] || \ 705e63c8ee3Swdenk { echo "#define RPXlite_64MHz" >>include/config.h ; \ 706e63c8ee3Swdenk echo "... with 64MHz system clock ..."; \ 707e63c8ee3Swdenk } 708e63c8ee3Swdenk @[ -z "$(findstring _LCD,$@)" ] || \ 709e63c8ee3Swdenk { echo "#define CONFIG_LCD" >>include/config.h ; \ 710e63c8ee3Swdenk echo "#define CONFIG_NEC_NL6448BC20" >>include/config.h ; \ 711e63c8ee3Swdenk echo "... with LCD display ..."; \ 712e63c8ee3Swdenk } 713e63c8ee3Swdenk @[ -z "$(findstring _NVRAM,$@)" ] || \ 714e63c8ee3Swdenk { echo "#define CFG_ENV_IS_IN_NVRAM" >>include/config.h ; \ 715e63c8ee3Swdenk echo "... with ENV in NVRAM ..."; \ 716e63c8ee3Swdenk } 717e63c8ee3Swdenk @./mkconfig -a RPXlite_DW ppc mpc8xx RPXlite_dw 718e63c8ee3Swdenk 71973a8b27cSwdenkrmu_config: unconfig 72073a8b27cSwdenk @./mkconfig $(@:_config=) ppc mpc8xx rmu 72173a8b27cSwdenk 7227ebf7443SwdenkRRvision_config: unconfig 7237ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx RRvision 7247ebf7443Swdenk 7257ebf7443SwdenkRRvision_LCD_config: unconfig 7267ebf7443Swdenk @echo "#define CONFIG_LCD" >include/config.h 7277ebf7443Swdenk @echo "#define CONFIG_SHARP_LQ104V7DS01" >>include/config.h 7287ebf7443Swdenk @./mkconfig -a RRvision ppc mpc8xx RRvision 7297ebf7443Swdenk 7307ebf7443SwdenkSM850_config : unconfig 7317ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx tqm8xx 7327ebf7443Swdenk 733b02d0177SMarkus Klotzbuecherspc1920_config: 734b02d0177SMarkus Klotzbuecher @./mkconfig $(@:_config=) ppc mpc8xx spc1920 735b02d0177SMarkus Klotzbuecher 7367ebf7443SwdenkSPD823TS_config: unconfig 7377ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx spd8xx 7387ebf7443Swdenk 7396bdf4306SWolfgang Denkstxxtc_config: unconfig 7406bdf4306SWolfgang Denk @./mkconfig $(@:_config=) ppc mpc8xx stxxtc 7416bdf4306SWolfgang Denk 742dc7c9a1aSwdenksvm_sc8xx_config: unconfig 743dc7c9a1aSwdenk @ >include/config.h 744dc7c9a1aSwdenk @./mkconfig $(@:_config=) ppc mpc8xx svm_sc8xx 745dc7c9a1aSwdenk 7467ebf7443SwdenkSXNI855T_config: unconfig 7477ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx sixnet 7487ebf7443Swdenk 749db2f721fSwdenk# EMK MPC8xx based modules 750db2f721fSwdenkTOP860_config: unconfig 751db2f721fSwdenk @./mkconfig $(@:_config=) ppc mpc8xx top860 emk 752db2f721fSwdenk 7537ebf7443Swdenk# Play some tricks for configuration selection 754e9132ea9Swdenk# Only 855 and 860 boards may come with FEC 755e9132ea9Swdenk# and only 823 boards may have LCD support 756e9132ea9Swdenkxtract_8xx = $(subst _LCD,,$(subst _config,,$1)) 7577ebf7443Swdenk 7587ebf7443SwdenkFPS850L_config \ 759384ae025SwdenkFPS860L_config \ 760f12e568cSwdenkNSCU_config \ 7617ebf7443SwdenkTQM823L_config \ 7627ebf7443SwdenkTQM823L_LCD_config \ 7637ebf7443SwdenkTQM850L_config \ 7647ebf7443SwdenkTQM855L_config \ 7657ebf7443SwdenkTQM860L_config \ 766d126bfbdSwdenkTQM862L_config \ 767ae3af05eSwdenkTQM823M_config \ 768ae3af05eSwdenkTQM850M_config \ 769f12e568cSwdenkTQM855M_config \ 770f12e568cSwdenkTQM860M_config \ 771f12e568cSwdenkTQM862M_config \ 7728cba090cSWolfgang DenkTQM866M_config \ 773090eb735SMarkus KlotzbuecherTQM885D_config \ 7748cba090cSWolfgang Denkvirtlab2_config: unconfig 7757ebf7443Swdenk @ >include/config.h 7767ebf7443Swdenk @[ -z "$(findstring _LCD,$@)" ] || \ 7777ebf7443Swdenk { echo "#define CONFIG_LCD" >>include/config.h ; \ 778fd3103bbSwdenk echo "#define CONFIG_NEC_NL6448BC20" >>include/config.h ; \ 7797ebf7443Swdenk echo "... with LCD display" ; \ 7807ebf7443Swdenk } 7817ebf7443Swdenk @./mkconfig -a $(call xtract_8xx,$@) ppc mpc8xx tqm8xx 7827ebf7443Swdenk 7837ebf7443SwdenkTTTech_config: unconfig 7847ebf7443Swdenk @echo "#define CONFIG_LCD" >include/config.h 7857ebf7443Swdenk @echo "#define CONFIG_SHARP_LQ104V7DS01" >>include/config.h 7867ebf7443Swdenk @./mkconfig -a TQM823L ppc mpc8xx tqm8xx 7877ebf7443Swdenk 788ec0aee7bSwdenkuc100_config : unconfig 789f7d1572bSwdenk @./mkconfig $(@:_config=) ppc mpc8xx uc100 790f7d1572bSwdenk 791608c9146Swdenkv37_config: unconfig 792608c9146Swdenk @echo "#define CONFIG_LCD" >include/config.h 793608c9146Swdenk @echo "#define CONFIG_SHARP_LQ084V1DG21" >>include/config.h 794608c9146Swdenk @./mkconfig $(@:_config=) ppc mpc8xx v37 795608c9146Swdenk 79691e940d9Sdzuwtk_config: unconfig 79791e940d9Sdzu @echo "#define CONFIG_LCD" >include/config.h 79891e940d9Sdzu @echo "#define CONFIG_SHARP_LQ065T9DR51U" >>include/config.h 79991e940d9Sdzu @./mkconfig -a TQM823L ppc mpc8xx tqm8xx 80091e940d9Sdzu 8017ebf7443Swdenk######################################################################### 8027ebf7443Swdenk## PPC4xx Systems 8037ebf7443Swdenk######################################################################### 804e55ca7e2Swdenkxtract_4xx = $(subst _25,,$(subst _33,,$(subst _BA,,$(subst _ME,,$(subst _HI,,$(subst _config,,$1)))))) 8057ebf7443Swdenk 8067ebf7443SwdenkADCIOP_config: unconfig 8077ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx adciop esd 8087ebf7443Swdenk 8097521af1cSWolfgang DenkAP1000_config:unconfig 8107521af1cSWolfgang Denk @./mkconfig $(@:_config=) ppc ppc4xx ap1000 amirix 8117521af1cSWolfgang Denk 812c419d1d6SstroeseAPC405_config: unconfig 813c419d1d6Sstroese @./mkconfig $(@:_config=) ppc ppc4xx apc405 esd 814c419d1d6Sstroese 8157ebf7443SwdenkAR405_config: unconfig 8167ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx ar405 esd 8177ebf7443Swdenk 818549826eaSstroeseASH405_config: unconfig 819549826eaSstroese @./mkconfig $(@:_config=) ppc ppc4xx ash405 esd 820549826eaSstroese 8218a316c9bSStefan Roesebamboo_config: unconfig 8228a316c9bSStefan Roese @./mkconfig $(@:_config=) ppc ppc4xx bamboo amcc 8238a316c9bSStefan Roese 8248a316c9bSStefan Roesebubinga_config: unconfig 8258a316c9bSStefan Roese @./mkconfig $(@:_config=) ppc ppc4xx bubinga amcc 826549826eaSstroese 8277ebf7443SwdenkCANBT_config: unconfig 8287ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx canbt esd 8297ebf7443Swdenk 8301d6f9720SwdenkCATcenter_config \ 8311d6f9720SwdenkCATcenter_25_config \ 8321d6f9720SwdenkCATcenter_33_config: unconfig 83310767ccbSwdenk @ echo "/* CATcenter uses PPChameleon Model ME */" > include/config.h 83410767ccbSwdenk @ echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 1" >> include/config.h 8351d6f9720Swdenk @[ -z "$(findstring _25,$@)" ] || \ 8361d6f9720Swdenk { echo "#define CONFIG_PPCHAMELEON_CLK_25" >>include/config.h ; \ 8371d6f9720Swdenk echo "SysClk = 25MHz" ; \ 8381d6f9720Swdenk } 8391d6f9720Swdenk @[ -z "$(findstring _33,$@)" ] || \ 8401d6f9720Swdenk { echo "#define CONFIG_PPCHAMELEON_CLK_33" >>include/config.h ; \ 8411d6f9720Swdenk echo "SysClk = 33MHz" ; \ 8421d6f9720Swdenk } 84310767ccbSwdenk @./mkconfig -a $(call xtract_4xx,$@) ppc ppc4xx PPChameleonEVB dave 84410767ccbSwdenk 8457644f16fSStefan RoeseCPCI2DP_config: unconfig 8467644f16fSStefan Roese @./mkconfig $(@:_config=) ppc ppc4xx cpci2dp esd 8477644f16fSStefan Roese 8487ebf7443SwdenkCPCI405_config \ 849549826eaSstroeseCPCI4052_config \ 850c419d1d6SstroeseCPCI405DT_config \ 851549826eaSstroeseCPCI405AB_config: unconfig 8527ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx cpci405 esd 8537ebf7443Swdenk @echo "BOARD_REVISION = $(@:_config=)" >>include/config.mk 8547ebf7443Swdenk 8557ebf7443SwdenkCPCI440_config: unconfig 8567ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx cpci440 esd 8577ebf7443Swdenk 8587ebf7443SwdenkCPCIISER4_config: unconfig 8597ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx cpciiser4 esd 8607ebf7443Swdenk 8617ebf7443SwdenkCRAYL1_config: unconfig 8627ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx L1 cray 8637ebf7443Swdenk 864cd0a9de6Swdenkcsb272_config: unconfig 865cd0a9de6Swdenk @./mkconfig $(@:_config=) ppc ppc4xx csb272 866cd0a9de6Swdenk 867aa245090Swdenkcsb472_config: unconfig 868aa245090Swdenk @./mkconfig $(@:_config=) ppc ppc4xx csb472 869aa245090Swdenk 8707ebf7443SwdenkDASA_SIM_config: unconfig 8717ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx dasa_sim esd 8727ebf7443Swdenk 87372cd5aa7SstroeseDP405_config: unconfig 87472cd5aa7Sstroese @./mkconfig $(@:_config=) ppc ppc4xx dp405 esd 87572cd5aa7Sstroese 8767ebf7443SwdenkDU405_config: unconfig 8777ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx du405 esd 8787ebf7443Swdenk 8798a316c9bSStefan Roeseebony_config: unconfig 8808a316c9bSStefan Roese @./mkconfig $(@:_config=) ppc ppc4xx ebony amcc 8817ebf7443Swdenk 8827ebf7443SwdenkERIC_config: unconfig 8837ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx eric 8847ebf7443Swdenk 885d1cbe85bSwdenkEXBITGEN_config: unconfig 886d1cbe85bSwdenk @./mkconfig $(@:_config=) ppc ppc4xx exbitgen 887d1cbe85bSwdenk 888c419d1d6SstroeseG2000_config: unconfig 889c419d1d6Sstroese @./mkconfig $(@:_config=) ppc ppc4xx g2000 890c419d1d6Sstroese 891c419d1d6SstroeseHH405_config: unconfig 892c419d1d6Sstroese @./mkconfig $(@:_config=) ppc ppc4xx hh405 esd 893c419d1d6Sstroese 89472cd5aa7SstroeseHUB405_config: unconfig 89572cd5aa7Sstroese @./mkconfig $(@:_config=) ppc ppc4xx hub405 esd 89672cd5aa7Sstroese 897db01a2eaSwdenkJSE_config: unconfig 898db01a2eaSwdenk @./mkconfig $(@:_config=) ppc ppc4xx jse 899db01a2eaSwdenk 900b79316f2SStefan RoeseKAREF_config: unconfig 901b79316f2SStefan Roese @./mkconfig $(@:_config=) ppc ppc4xx karef sandburst 902b79316f2SStefan Roese 9036e7fb6eaSStefan Roeseluan_config: unconfig 9046e7fb6eaSStefan Roese @./mkconfig $(@:_config=) ppc ppc4xx luan amcc 9056e7fb6eaSStefan Roese 906b79316f2SStefan RoeseMETROBOX_config: unconfig 907b79316f2SStefan Roese @./mkconfig $(@:_config=) ppc ppc4xx metrobox sandburst 908b79316f2SStefan Roese 9097ebf7443SwdenkMIP405_config: unconfig 9107ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx mip405 mpl 9117ebf7443Swdenk 912f3e0de60SwdenkMIP405T_config: unconfig 913f3e0de60Swdenk @echo "#define CONFIG_MIP405T" >include/config.h 914f3e0de60Swdenk @echo "Enable subset config for MIP405T" 915f3e0de60Swdenk @./mkconfig -a MIP405 ppc ppc4xx mip405 mpl 916f3e0de60Swdenk 9177ebf7443SwdenkML2_config: unconfig 9187ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx ml2 9197ebf7443Swdenk 920028ab6b5Swdenkml300_config: unconfig 921028ab6b5Swdenk @./mkconfig $(@:_config=) ppc ppc4xx ml300 xilinx 922028ab6b5Swdenk 9238a316c9bSStefan Roeseocotea_config: unconfig 9248a316c9bSStefan Roese @./mkconfig $(@:_config=) ppc ppc4xx ocotea amcc 9250e6d798cSwdenk 9267ebf7443SwdenkOCRTC_config \ 9277ebf7443SwdenkORSG_config: unconfig 9287ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx ocrtc esd 9297ebf7443Swdenk 9305568e613SStefan Roesep3p440_config: unconfig 9315568e613SStefan Roese @./mkconfig $(@:_config=) ppc ppc4xx p3p440 prodrive 9325568e613SStefan Roese 9337ebf7443SwdenkPCI405_config: unconfig 9347ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx pci405 esd 9357ebf7443Swdenk 936a4c8d138SStefan Roesepcs440ep_config: unconfig 937a4c8d138SStefan Roese @./mkconfig $(@:_config=) ppc ppc4xx pcs440ep 938a4c8d138SStefan Roese 9397ebf7443SwdenkPIP405_config: unconfig 9407ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx pip405 mpl 9417ebf7443Swdenk 94272cd5aa7SstroesePLU405_config: unconfig 94372cd5aa7Sstroese @./mkconfig $(@:_config=) ppc ppc4xx plu405 esd 94472cd5aa7Sstroese 945549826eaSstroesePMC405_config: unconfig 946549826eaSstroese @./mkconfig $(@:_config=) ppc ppc4xx pmc405 esd 947549826eaSstroese 948281e00a3SwdenkPPChameleonEVB_config \ 949e55ca7e2SwdenkPPChameleonEVB_BA_25_config \ 950e55ca7e2SwdenkPPChameleonEVB_ME_25_config \ 951e55ca7e2SwdenkPPChameleonEVB_HI_25_config \ 952e55ca7e2SwdenkPPChameleonEVB_BA_33_config \ 953e55ca7e2SwdenkPPChameleonEVB_ME_33_config \ 954e55ca7e2SwdenkPPChameleonEVB_HI_33_config: unconfig 955fbe4b5cbSwdenk @ >include/config.h 9561d6f9720Swdenk @[ -z "$(findstring EVB_BA,$@)" ] || \ 957fbe4b5cbSwdenk { echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 0" >>include/config.h ; \ 958fbe4b5cbSwdenk echo "... BASIC model" ; \ 959fbe4b5cbSwdenk } 9601d6f9720Swdenk @[ -z "$(findstring EVB_ME,$@)" ] || \ 961fbe4b5cbSwdenk { echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 1" >>include/config.h ; \ 962fbe4b5cbSwdenk echo "... MEDIUM model" ; \ 963fbe4b5cbSwdenk } 9641d6f9720Swdenk @[ -z "$(findstring EVB_HI,$@)" ] || \ 965fbe4b5cbSwdenk { echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 2" >>include/config.h ; \ 966fbe4b5cbSwdenk echo "... HIGH-END model" ; \ 967fbe4b5cbSwdenk } 968e55ca7e2Swdenk @[ -z "$(findstring _25,$@)" ] || \ 969e55ca7e2Swdenk { echo "#define CONFIG_PPCHAMELEON_CLK_25" >>include/config.h ; \ 970e55ca7e2Swdenk echo "SysClk = 25MHz" ; \ 971e55ca7e2Swdenk } 972e55ca7e2Swdenk @[ -z "$(findstring _33,$@)" ] || \ 973e55ca7e2Swdenk { echo "#define CONFIG_PPCHAMELEON_CLK_33" >>include/config.h ; \ 974e55ca7e2Swdenk echo "SysClk = 33MHz" ; \ 975e55ca7e2Swdenk } 976fbe4b5cbSwdenk @./mkconfig -a $(call xtract_4xx,$@) ppc ppc4xx PPChameleonEVB dave 97712f34241Swdenk 978652a10c0Swdenksbc405_config: unconfig 979652a10c0Swdenk @./mkconfig $(@:_config=) ppc ppc4xx sbc405 980652a10c0Swdenk 9818a316c9bSStefan Roesesycamore_config: unconfig 9828a316c9bSStefan Roese @echo "Configuring for sycamore board as subset of walnut..." 9838a316c9bSStefan Roese @./mkconfig -a walnut ppc ppc4xx walnut amcc 9848a316c9bSStefan Roese 98572cd5aa7SstroeseVOH405_config: unconfig 98672cd5aa7Sstroese @./mkconfig $(@:_config=) ppc ppc4xx voh405 esd 98772cd5aa7Sstroese 988c419d1d6SstroeseVOM405_config: unconfig 989c419d1d6Sstroese @./mkconfig $(@:_config=) ppc ppc4xx vom405 esd 990c419d1d6Sstroese 991feaedfcfSStefan RoeseCMS700_config: unconfig 992feaedfcfSStefan Roese @./mkconfig $(@:_config=) ppc ppc4xx cms700 esd 993feaedfcfSStefan Roese 9947ebf7443SwdenkW7OLMC_config \ 9957ebf7443SwdenkW7OLMG_config: unconfig 9967ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx w7o 9977ebf7443Swdenk 9988a316c9bSStefan Roesewalnut_config: unconfig 9998a316c9bSStefan Roese @./mkconfig $(@:_config=) ppc ppc4xx walnut amcc 10007ebf7443Swdenk 1001c419d1d6SstroeseWUH405_config: unconfig 1002c419d1d6Sstroese @./mkconfig $(@:_config=) ppc ppc4xx wuh405 esd 1003c419d1d6Sstroese 1004ba56f625SwdenkXPEDITE1K_config: unconfig 1005ba56f625Swdenk @./mkconfig $(@:_config=) ppc ppc4xx xpedite1k 1006ba56f625Swdenk 10078a316c9bSStefan Roeseyosemite_config: unconfig 10088a316c9bSStefan Roese @./mkconfig $(@:_config=) ppc ppc4xx yosemite amcc 10098a316c9bSStefan Roese 10108a316c9bSStefan Roeseyellowstone_config: unconfig 10118a316c9bSStefan Roese @./mkconfig $(@:_config=) ppc ppc4xx yellowstone amcc 10128a316c9bSStefan Roese 10136c5879f3SMarian Balakowiczyucca_config: unconfig 10146c5879f3SMarian Balakowicz @./mkconfig $(@:_config=) ppc ppc4xx yucca amcc 10156c5879f3SMarian Balakowicz 10167ebf7443Swdenk######################################################################### 1017983fda83Swdenk## MPC8220 Systems 1018983fda83Swdenk######################################################################### 1019dc17fb6dSWolfgang Denk 1020dc17fb6dSWolfgang DenkAlaska8220_config \ 1021dc17fb6dSWolfgang DenkYukon8220_config: unconfig 1022983fda83Swdenk @./mkconfig $(@:_config=) ppc mpc8220 alaska 1023983fda83Swdenk 102412b43d51Swdenksorcery_config: unconfig 102512b43d51Swdenk @./mkconfig $(@:_config=) ppc mpc8220 sorcery 102612b43d51Swdenk 1027983fda83Swdenk######################################################################### 10287ebf7443Swdenk## MPC824x Systems 10297ebf7443Swdenk######################################################################### 1030efa329cbSwdenkxtract_82xx = $(subst _BIGFLASH,,$(subst _ROMBOOT,,$(subst _L2,,$(subst _266MHz,,$(subst _300MHz,,$(subst _config,,$1)))))) 10313bac3513Swdenk 10320332990bSwdenkA3000_config: unconfig 10330332990bSwdenk @./mkconfig $(@:_config=) ppc mpc824x a3000 10340332990bSwdenk 10358e6f1a8eSWolfgang Denkbarco_config: unconfig 10368e6f1a8eSWolfgang Denk @./mkconfig $(@:_config=) ppc mpc824x barco 10378e6f1a8eSWolfgang Denk 10387ebf7443SwdenkBMW_config: unconfig 10397ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc824x bmw 10407ebf7443Swdenk 10413bac3513SwdenkCPC45_config \ 10423bac3513SwdenkCPC45_ROMBOOT_config: unconfig 10433bac3513Swdenk @./mkconfig $(call xtract_82xx,$@) ppc mpc824x cpc45 10443bac3513Swdenk @cd ./include ; \ 10453bac3513Swdenk if [ "$(findstring _ROMBOOT_,$@)" ] ; then \ 10463bac3513Swdenk echo "CONFIG_BOOT_ROM = y" >> config.mk ; \ 10473bac3513Swdenk echo "... booting from 8-bit flash" ; \ 10483bac3513Swdenk else \ 10493bac3513Swdenk echo "CONFIG_BOOT_ROM = n" >> config.mk ; \ 10503bac3513Swdenk echo "... booting from 64-bit flash" ; \ 10513bac3513Swdenk fi; \ 10523bac3513Swdenk echo "export CONFIG_BOOT_ROM" >> config.mk; 10533bac3513Swdenk 10547ebf7443SwdenkCU824_config: unconfig 10557ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc824x cu824 10567ebf7443Swdenk 10577abf0c58Swdenkdebris_config: unconfig 10587abf0c58Swdenk @./mkconfig $(@:_config=) ppc mpc824x debris etin 10597abf0c58Swdenk 106080885a9dSwdenkeXalion_config: unconfig 106180885a9dSwdenk @./mkconfig $(@:_config=) ppc mpc824x eXalion 106280885a9dSwdenk 1063756f586aSwdenkHIDDEN_DRAGON_config: unconfig 1064756f586aSwdenk @./mkconfig $(@:_config=) ppc mpc824x hidden_dragon 1065756f586aSwdenk 10667ebf7443SwdenkMOUSSE_config: unconfig 10677ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc824x mousse 10687ebf7443Swdenk 10697ebf7443SwdenkMUSENKI_config: unconfig 10707ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc824x musenki 10717ebf7443Swdenk 1072b4676a25SwdenkMVBLUE_config: unconfig 1073b4676a25Swdenk @./mkconfig $(@:_config=) ppc mpc824x mvblue 1074b4676a25Swdenk 10757ebf7443SwdenkOXC_config: unconfig 10767ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc824x oxc 10777ebf7443Swdenk 10787ebf7443SwdenkPN62_config: unconfig 10797ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc824x pn62 10807ebf7443Swdenk 10817ebf7443SwdenkSandpoint8240_config: unconfig 10827ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc824x sandpoint 10837ebf7443Swdenk 10847ebf7443SwdenkSandpoint8245_config: unconfig 10857ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc824x sandpoint 10867ebf7443Swdenk 1087466b7410Swdenksbc8240_config: unconfig 1088466b7410Swdenk @./mkconfig $(@:_config=) ppc mpc824x sbc8240 1089466b7410Swdenk 1090d1cbe85bSwdenkSL8245_config: unconfig 1091d1cbe85bSwdenk @./mkconfig $(@:_config=) ppc mpc824x sl8245 1092d1cbe85bSwdenk 10937ebf7443Swdenkutx8245_config: unconfig 10947ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc824x utx8245 10957ebf7443Swdenk 10967ebf7443Swdenk######################################################################### 10977ebf7443Swdenk## MPC8260 Systems 10987ebf7443Swdenk######################################################################### 10997ebf7443Swdenk 110054387ac9Swdenkatc_config: unconfig 110154387ac9Swdenk @./mkconfig $(@:_config=) ppc mpc8260 atc 110254387ac9Swdenk 11037ebf7443Swdenkcogent_mpc8260_config: unconfig 11047ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8260 cogent 11057ebf7443Swdenk 11067ebf7443SwdenkCPU86_config \ 11077ebf7443SwdenkCPU86_ROMBOOT_config: unconfig 11087ebf7443Swdenk @./mkconfig $(call xtract_82xx,$@) ppc mpc8260 cpu86 11097ebf7443Swdenk @cd ./include ; \ 11107ebf7443Swdenk if [ "$(findstring _ROMBOOT_,$@)" ] ; then \ 11117ebf7443Swdenk echo "CONFIG_BOOT_ROM = y" >> config.mk ; \ 11127ebf7443Swdenk echo "... booting from 8-bit flash" ; \ 11137ebf7443Swdenk else \ 11147ebf7443Swdenk echo "CONFIG_BOOT_ROM = n" >> config.mk ; \ 11157ebf7443Swdenk echo "... booting from 64-bit flash" ; \ 11167ebf7443Swdenk fi; \ 11177ebf7443Swdenk echo "export CONFIG_BOOT_ROM" >> config.mk; 11187ebf7443Swdenk 1119384cc687SwdenkCPU87_config \ 1120384cc687SwdenkCPU87_ROMBOOT_config: unconfig 1121384cc687Swdenk @./mkconfig $(call xtract_82xx,$@) ppc mpc8260 cpu87 1122384cc687Swdenk @cd ./include ; \ 1123384cc687Swdenk if [ "$(findstring _ROMBOOT_,$@)" ] ; then \ 1124384cc687Swdenk echo "CONFIG_BOOT_ROM = y" >> config.mk ; \ 1125384cc687Swdenk echo "... booting from 8-bit flash" ; \ 1126384cc687Swdenk else \ 1127384cc687Swdenk echo "CONFIG_BOOT_ROM = n" >> config.mk ; \ 1128384cc687Swdenk echo "... booting from 64-bit flash" ; \ 1129384cc687Swdenk fi; \ 1130384cc687Swdenk echo "export CONFIG_BOOT_ROM" >> config.mk; 1131384cc687Swdenk 1132f901a83bSWolfgang Denkep8248_config \ 1133f901a83bSWolfgang Denkep8248E_config : unconfig 1134f901a83bSWolfgang Denk @./mkconfig ep8248 ppc mpc8260 ep8248 1135f901a83bSWolfgang Denk 11367ebf7443Swdenkep8260_config: unconfig 11377ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8260 ep8260 11387ebf7443Swdenk 11397ebf7443Swdenkgw8260_config: unconfig 11407ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8260 gw8260 11417ebf7443Swdenk 11427ebf7443Swdenkhymod_config: unconfig 11437ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8260 hymod 11447ebf7443Swdenk 11459dd41a7bSwdenkIDS8247_config: unconfig 11469dd41a7bSwdenk @./mkconfig $(@:_config=) ppc mpc8260 ids8247 11479dd41a7bSwdenk 11487ebf7443SwdenkIPHASE4539_config: unconfig 11497ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8260 iphase4539 11507ebf7443Swdenk 1151c3c7f861SwdenkISPAN_config \ 1152c3c7f861SwdenkISPAN_REVB_config: unconfig 1153c3c7f861Swdenk @if [ "$(findstring _REVB_,$@)" ] ; then \ 1154c3c7f861Swdenk echo "#define CFG_REV_B" > include/config.h ; \ 1155c3c7f861Swdenk fi 1156c3c7f861Swdenk @./mkconfig -a ISPAN ppc mpc8260 ispan 1157c3c7f861Swdenk 115804a85b3bSwdenkMPC8260ADS_config \ 1159901787d6SwdenkMPC8260ADS_lowboot_config \ 116004a85b3bSwdenkMPC8260ADS_33MHz_config \ 1161901787d6SwdenkMPC8260ADS_33MHz_lowboot_config \ 116204a85b3bSwdenkMPC8260ADS_40MHz_config \ 1163901787d6SwdenkMPC8260ADS_40MHz_lowboot_config \ 116404a85b3bSwdenkMPC8272ADS_config \ 1165901787d6SwdenkMPC8272ADS_lowboot_config \ 116604a85b3bSwdenkPQ2FADS_config \ 1167901787d6SwdenkPQ2FADS_lowboot_config \ 116804a85b3bSwdenkPQ2FADS-VR_config \ 1169901787d6SwdenkPQ2FADS-VR_lowboot_config \ 117004a85b3bSwdenkPQ2FADS-ZU_config \ 1171901787d6SwdenkPQ2FADS-ZU_lowboot_config \ 117204a85b3bSwdenkPQ2FADS-ZU_66MHz_config \ 1173901787d6SwdenkPQ2FADS-ZU_66MHz_lowboot_config \ 117404a85b3bSwdenk : unconfig 117504a85b3bSwdenk $(if $(findstring PQ2FADS,$@), \ 117604a85b3bSwdenk @echo "#define CONFIG_ADSTYPE CFG_PQ2FADS" > include/config.h, \ 117704a85b3bSwdenk @echo "#define CONFIG_ADSTYPE CFG_"$(subst MPC,,$(word 1,$(subst _, ,$@))) > include/config.h) 117804a85b3bSwdenk $(if $(findstring MHz,$@), \ 117904a85b3bSwdenk @echo "#define CONFIG_8260_CLKIN" $(subst MHz,,$(word 2,$(subst _, ,$@)))"000000" >> include/config.h, \ 118004a85b3bSwdenk $(if $(findstring VR,$@), \ 118104a85b3bSwdenk @echo "#define CONFIG_8260_CLKIN 66000000" >> include/config.h)) 1182901787d6Swdenk @[ -z "$(findstring lowboot_,$@)" ] || \ 1183901787d6Swdenk { echo "TEXT_BASE = 0xFF800000" >board/mpc8260ads/config.tmp ; \ 1184901787d6Swdenk echo "... with lowboot configuration" ; \ 1185901787d6Swdenk } 118604a85b3bSwdenk @./mkconfig -a MPC8260ADS ppc mpc8260 mpc8260ads 11877ebf7443Swdenk 1188db2f721fSwdenkMPC8266ADS_config: unconfig 1189db2f721fSwdenk @./mkconfig $(@:_config=) ppc mpc8260 mpc8266ads 1190db2f721fSwdenk 1191efa329cbSwdenk# PM825/PM826 default configuration: small (= 8 MB) Flash / boot from 64-bit flash 119210f67017SwdenkPM825_config \ 1193efa329cbSwdenkPM825_ROMBOOT_config \ 1194efa329cbSwdenkPM825_BIGFLASH_config \ 1195efa329cbSwdenkPM825_ROMBOOT_BIGFLASH_config \ 11967ebf7443SwdenkPM826_config \ 1197efa329cbSwdenkPM826_ROMBOOT_config \ 1198efa329cbSwdenkPM826_BIGFLASH_config \ 1199efa329cbSwdenkPM826_ROMBOOT_BIGFLASH_config: unconfig 1200efa329cbSwdenk @if [ "$(findstring PM825_,$@)" ] ; then \ 1201efa329cbSwdenk echo "#define CONFIG_PCI" >include/config.h ; \ 12027ebf7443Swdenk else \ 1203efa329cbSwdenk >include/config.h ; \ 1204efa329cbSwdenk fi 1205efa329cbSwdenk @if [ "$(findstring _ROMBOOT_,$@)" ] ; then \ 1206efa329cbSwdenk echo "... booting from 8-bit flash" ; \ 1207efa329cbSwdenk echo "#define CONFIG_BOOT_ROM" >>include/config.h ; \ 1208efa329cbSwdenk echo "TEXT_BASE = 0xFF800000" >board/pm826/config.tmp ; \ 1209efa329cbSwdenk if [ "$(findstring _BIGFLASH_,$@)" ] ; then \ 1210efa329cbSwdenk echo "... with 32 MB Flash" ; \ 1211efa329cbSwdenk echo "#define CONFIG_FLASH_32MB" >>include/config.h ; \ 12127ebf7443Swdenk fi; \ 1213efa329cbSwdenk else \ 1214efa329cbSwdenk echo "... booting from 64-bit flash" ; \ 1215efa329cbSwdenk if [ "$(findstring _BIGFLASH_,$@)" ] ; then \ 1216efa329cbSwdenk echo "... with 32 MB Flash" ; \ 1217efa329cbSwdenk echo "#define CONFIG_FLASH_32MB" >>include/config.h ; \ 1218efa329cbSwdenk echo "TEXT_BASE = 0x40000000" >board/pm826/config.tmp ; \ 1219efa329cbSwdenk else \ 1220efa329cbSwdenk echo "TEXT_BASE = 0xFF000000" >board/pm826/config.tmp ; \ 1221efa329cbSwdenk fi; \ 1222efa329cbSwdenk fi 1223efa329cbSwdenk @./mkconfig -a PM826 ppc mpc8260 pm826 1224efa329cbSwdenk 1225efa329cbSwdenkPM828_config \ 1226efa329cbSwdenkPM828_PCI_config \ 1227efa329cbSwdenkPM828_ROMBOOT_config \ 1228efa329cbSwdenkPM828_ROMBOOT_PCI_config: unconfig 122917076266SMarian Balakowicz @if [ "$(findstring _PCI_,$@)" ] ; then \ 1230efa329cbSwdenk echo "#define CONFIG_PCI" >>include/config.h ; \ 1231efa329cbSwdenk echo "... with PCI enabled" ; \ 1232efa329cbSwdenk else \ 1233efa329cbSwdenk >include/config.h ; \ 1234efa329cbSwdenk fi 1235efa329cbSwdenk @if [ "$(findstring _ROMBOOT_,$@)" ] ; then \ 1236efa329cbSwdenk echo "... booting from 8-bit flash" ; \ 1237efa329cbSwdenk echo "#define CONFIG_BOOT_ROM" >>include/config.h ; \ 1238efa329cbSwdenk echo "TEXT_BASE = 0xFF800000" >board/pm826/config.tmp ; \ 1239efa329cbSwdenk fi 1240efa329cbSwdenk @./mkconfig -a PM828 ppc mpc8260 pm828 12417ebf7443Swdenk 12427ebf7443Swdenkppmc8260_config: unconfig 12437ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8260 ppmc8260 12447ebf7443Swdenk 12458b0bfc68SwdenkRattler8248_config \ 12468b0bfc68SwdenkRattler_config: unconfig 12478b0bfc68Swdenk $(if $(findstring 8248,$@), \ 12488b0bfc68Swdenk @echo "#define CONFIG_MPC8248" > include/config.h) 12498b0bfc68Swdenk @./mkconfig -a Rattler ppc mpc8260 rattler 12508b0bfc68Swdenk 12517ebf7443SwdenkRPXsuper_config: unconfig 12527ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8260 rpxsuper 12537ebf7443Swdenk 12547ebf7443Swdenkrsdproto_config: unconfig 12557ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8260 rsdproto 12567ebf7443Swdenk 12577ebf7443Swdenksacsng_config: unconfig 12587ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8260 sacsng 12597ebf7443Swdenk 12607ebf7443Swdenksbc8260_config: unconfig 12617ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8260 sbc8260 12627ebf7443Swdenk 12637ebf7443SwdenkSCM_config: unconfig 12647ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8260 SCM siemens 12657ebf7443Swdenk 126627b207fdSwdenkTQM8255_AA_config \ 126727b207fdSwdenkTQM8260_AA_config \ 126827b207fdSwdenkTQM8260_AB_config \ 126927b207fdSwdenkTQM8260_AC_config \ 127027b207fdSwdenkTQM8260_AD_config \ 127127b207fdSwdenkTQM8260_AE_config \ 127227b207fdSwdenkTQM8260_AF_config \ 127327b207fdSwdenkTQM8260_AG_config \ 127427b207fdSwdenkTQM8260_AH_config \ 12751f62bc2dSWolfgang DenkTQM8260_AI_config \ 127627b207fdSwdenkTQM8265_AA_config: unconfig 127727b207fdSwdenk @case "$@" in \ 127827b207fdSwdenk TQM8255_AA_config) CTYPE=MPC8255; CFREQ=300; CACHE=no; BMODE=8260;; \ 127927b207fdSwdenk TQM8260_AA_config) CTYPE=MPC8260; CFREQ=200; CACHE=no; BMODE=8260;; \ 128027b207fdSwdenk TQM8260_AB_config) CTYPE=MPC8260; CFREQ=200; CACHE=yes; BMODE=60x;; \ 128127b207fdSwdenk TQM8260_AC_config) CTYPE=MPC8260; CFREQ=200; CACHE=yes; BMODE=60x;; \ 128227b207fdSwdenk TQM8260_AD_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=60x;; \ 128327b207fdSwdenk TQM8260_AE_config) CTYPE=MPC8260; CFREQ=266; CACHE=no; BMODE=8260;; \ 128427b207fdSwdenk TQM8260_AF_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=60x;; \ 128527b207fdSwdenk TQM8260_AG_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=8260;; \ 128627b207fdSwdenk TQM8260_AH_config) CTYPE=MPC8260; CFREQ=300; CACHE=yes; BMODE=60x;; \ 12871f62bc2dSWolfgang Denk TQM8260_AI_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=60x;; \ 128827b207fdSwdenk TQM8265_AA_config) CTYPE=MPC8265; CFREQ=300; CACHE=no; BMODE=60x;; \ 128927b207fdSwdenk esac; \ 129027b207fdSwdenk >include/config.h ; \ 129127b207fdSwdenk if [ "$${CTYPE}" != "MPC8260" ] ; then \ 129227b207fdSwdenk echo "#define CONFIG_$${CTYPE}" >>include/config.h ; \ 129327b207fdSwdenk fi; \ 129427b207fdSwdenk echo "#define CONFIG_$${CFREQ}MHz" >>include/config.h ; \ 129527b207fdSwdenk echo "... with $${CFREQ}MHz system clock" ; \ 129627b207fdSwdenk if [ "$${CACHE}" == "yes" ] ; then \ 12977ebf7443Swdenk echo "#define CONFIG_L2_CACHE" >>include/config.h ; \ 129827b207fdSwdenk echo "... with L2 Cache support" ; \ 12997ebf7443Swdenk else \ 13007ebf7443Swdenk echo "#undef CONFIG_L2_CACHE" >>include/config.h ; \ 13017ebf7443Swdenk echo "... without L2 Cache support" ; \ 130227b207fdSwdenk fi; \ 130327b207fdSwdenk if [ "$${BMODE}" == "60x" ] ; then \ 130427b207fdSwdenk echo "#define CONFIG_BUSMODE_60x" >>include/config.h ; \ 130527b207fdSwdenk echo "... with 60x Bus Mode" ; \ 130627b207fdSwdenk else \ 130727b207fdSwdenk echo "#undef CONFIG_BUSMODE_60x" >>include/config.h ; \ 130827b207fdSwdenk echo "... without 60x Bus Mode" ; \ 13097ebf7443Swdenk fi 13104532cb69Swdenk @./mkconfig -a TQM8260 ppc mpc8260 tqm8260 13117ebf7443Swdenk 1312ba91e26aSwdenkVoVPN-GW_66MHz_config \ 1313ba91e26aSwdenkVoVPN-GW_100MHz_config: unconfig 1314ba91e26aSwdenk @echo "#define CONFIG_CLKIN_$(word 2,$(subst _, ,$@))" > include/config.h 1315ba91e26aSwdenk @./mkconfig -a VoVPN-GW ppc mpc8260 vovpn-gw funkwerk 1316ba91e26aSwdenk 131754387ac9SwdenkZPC1900_config: unconfig 131854387ac9Swdenk @./mkconfig $(@:_config=) ppc mpc8260 zpc1900 13197aa78614Swdenk 13204e5ca3ebSwdenk######################################################################### 13214e5ca3ebSwdenk## Coldfire 13224e5ca3ebSwdenk######################################################################### 13234e5ca3ebSwdenk 13247481266eSWolfgang Denkcobra5272_config : unconfig 13257481266eSWolfgang Denk @./mkconfig $(@:_config=) m68k mcf52x2 cobra5272 13267481266eSWolfgang Denk 13274176c799SWolfgang DenkEB+MCF-EV123_config : unconfig 13284176c799SWolfgang Denk @ >include/config.h 13294176c799SWolfgang Denk @echo "TEXT_BASE = 0xFFE00000"|tee board/BuS/EB+MCF-EV123/textbase.mk 13304176c799SWolfgang Denk @./mkconfig EB+MCF-EV123 m68k mcf52x2 EB+MCF-EV123 BuS 13314176c799SWolfgang Denk 13324176c799SWolfgang DenkEB+MCF-EV123_internal_config : unconfig 13334176c799SWolfgang Denk @ >include/config.h 13344176c799SWolfgang Denk @echo "TEXT_BASE = 0xF0000000"|tee board/BuS/EB+MCF-EV123/textbase.mk 13354176c799SWolfgang Denk @./mkconfig EB+MCF-EV123 m68k mcf52x2 EB+MCF-EV123 BuS 13364176c799SWolfgang Denk 13374176c799SWolfgang DenkM5271EVB_config : unconfig 13384176c799SWolfgang Denk @./mkconfig $(@:_config=) m68k mcf52x2 m5271evb 13394176c799SWolfgang Denk 13404e5ca3ebSwdenkM5272C3_config : unconfig 1341bf9e3b38Swdenk @./mkconfig $(@:_config=) m68k mcf52x2 m5272c3 13424e5ca3ebSwdenk 13434e5ca3ebSwdenkM5282EVB_config : unconfig 1344bf9e3b38Swdenk @./mkconfig $(@:_config=) m68k mcf52x2 m5282evb 13454e5ca3ebSwdenk 1346c419d1d6SstroeseTASREG_config : unconfig 1347c419d1d6Sstroese @./mkconfig $(@:_config=) m68k mcf52x2 tasreg esd 1348c419d1d6Sstroese 13493a108ed8SZachary P. Landaur5200_config : unconfig 13503a108ed8SZachary P. Landau @./mkconfig $(@:_config=) m68k mcf52x2 r5200 13513a108ed8SZachary P. Landau 13527ebf7443Swdenk######################################################################### 1353f046ccd1SEran Liberty## MPC83xx Systems 1354f046ccd1SEran Liberty######################################################################### 1355f046ccd1SEran Liberty 1356f046ccd1SEran LibertyMPC8349ADS_config: unconfig 1357f046ccd1SEran Liberty @./mkconfig $(@:_config=) ppc mpc83xx mpc8349ads 1358f046ccd1SEran Liberty 1359e6f2e902SMarian BalakowiczTQM834x_config: unconfig 1360e6f2e902SMarian Balakowicz @./mkconfig $(@:_config=) ppc mpc83xx tqm834x 1361e6f2e902SMarian Balakowicz 1362991425feSMarian BalakowiczMPC8349EMDS_config: unconfig 1363991425feSMarian Balakowicz @./mkconfig $(@:_config=) ppc mpc83xx mpc8349emds 1364991425feSMarian Balakowicz 1365f046ccd1SEran Liberty######################################################################### 136642d1f039Swdenk## MPC85xx Systems 136742d1f039Swdenk######################################################################### 136842d1f039Swdenk 136942d1f039SwdenkMPC8540ADS_config: unconfig 137042d1f039Swdenk @./mkconfig $(@:_config=) ppc mpc85xx mpc8540ads 137142d1f039Swdenk 1372b0e32949SLunsheng WangMPC8540EVAL_config \ 1373b0e32949SLunsheng WangMPC8540EVAL_33_config \ 1374b0e32949SLunsheng WangMPC8540EVAL_66_config \ 1375b0e32949SLunsheng WangMPC8540EVAL_33_slave_config \ 1376b0e32949SLunsheng WangMPC8540EVAL_66_slave_config: unconfig 1377b0e32949SLunsheng Wang @echo "" >include/config.h ; \ 1378b0e32949SLunsheng Wang if [ "$(findstring _33_,$@)" ] ; then \ 1379b0e32949SLunsheng Wang echo -n "... 33 MHz PCI" ; \ 1380b0e32949SLunsheng Wang else \ 1381b0e32949SLunsheng Wang echo "#define CONFIG_SYSCLK_66M" >>include/config.h ; \ 1382b0e32949SLunsheng Wang echo -n "... 66 MHz PCI" ; \ 1383b0e32949SLunsheng Wang fi ; \ 1384b0e32949SLunsheng Wang if [ "$(findstring _slave_,$@)" ] ; then \ 1385b0e32949SLunsheng Wang echo "#define CONFIG_PCI_SLAVE" >>include/config.h ; \ 1386b0e32949SLunsheng Wang echo " slave" ; \ 1387b0e32949SLunsheng Wang else \ 1388b0e32949SLunsheng Wang echo " host" ; \ 1389b0e32949SLunsheng Wang fi 1390b0e32949SLunsheng Wang @./mkconfig -a MPC8540EVAL ppc mpc85xx mpc8540eval 1391b0e32949SLunsheng Wang 139242d1f039SwdenkMPC8560ADS_config: unconfig 139342d1f039Swdenk @./mkconfig $(@:_config=) ppc mpc85xx mpc8560ads 139442d1f039Swdenk 139503f5c550SwdenkMPC8541CDS_config: unconfig 139603f5c550Swdenk @./mkconfig $(@:_config=) ppc mpc85xx mpc8541cds cds 139703f5c550Swdenk 1398d9b94f28SJon LoeligerMPC8548CDS_config: unconfig 1399d9b94f28SJon Loeliger @./mkconfig $(@:_config=) ppc mpc85xx mpc8548cds cds 1400d9b94f28SJon Loeliger 140103f5c550SwdenkMPC8555CDS_config: unconfig 140203f5c550Swdenk @./mkconfig $(@:_config=) ppc mpc85xx mpc8555cds cds 14037abf0c58Swdenk 1404384cc687SwdenkPM854_config: unconfig 1405384cc687Swdenk @./mkconfig $(@:_config=) ppc mpc85xx pm854 1406384cc687Swdenk 1407b20d0032SWolfgang DenkPM856_config: unconfig 1408b20d0032SWolfgang Denk @./mkconfig $(@:_config=) ppc mpc85xx pm856 1409b20d0032SWolfgang Denk 1410c15f3120Swdenksbc8540_config \ 1411c15f3120Swdenksbc8540_33_config \ 1412c15f3120Swdenksbc8540_66_config: unconfig 1413c15f3120Swdenk @if [ "$(findstring _66_,$@)" ] ; then \ 1414c15f3120Swdenk echo "#define CONFIG_PCI_66" >>include/config.h ; \ 1415c15f3120Swdenk echo "... 66 MHz PCI" ; \ 1416c15f3120Swdenk else \ 1417c15f3120Swdenk >include/config.h ; \ 1418c15f3120Swdenk echo "... 33 MHz PCI" ; \ 1419c15f3120Swdenk fi 1420c15f3120Swdenk @./mkconfig -a SBC8540 ppc mpc85xx sbc8560 1421c15f3120Swdenk 1422466b7410Swdenksbc8560_config \ 1423466b7410Swdenksbc8560_33_config \ 1424466b7410Swdenksbc8560_66_config: unconfig 14258b07a110Swdenk @if [ "$(findstring _66_,$@)" ] ; then \ 14268b07a110Swdenk echo "#define CONFIG_PCI_66" >>include/config.h ; \ 14278b07a110Swdenk echo "... 66 MHz PCI" ; \ 14288b07a110Swdenk else \ 14298b07a110Swdenk >include/config.h ; \ 14308b07a110Swdenk echo "... 33 MHz PCI" ; \ 14318b07a110Swdenk fi 1432466b7410Swdenk @./mkconfig -a sbc8560 ppc mpc85xx sbc8560 14338b07a110Swdenk 143403f5c550Swdenkstxgp3_config: unconfig 143503f5c550Swdenk @./mkconfig $(@:_config=) ppc mpc85xx stxgp3 143603f5c550Swdenk 1437d96f41e0SStefan RoeseTQM8540_config \ 1438d96f41e0SStefan RoeseTQM8541_config \ 1439d96f41e0SStefan RoeseTQM8555_config \ 1440f5c5ef4aSwdenkTQM8560_config: unconfig 1441a889bd27SWolfgang Denk @CTYPE=$(subst TQM,,$(@:_config=)); \ 1442d96f41e0SStefan Roese >include/config.h ; \ 1443d96f41e0SStefan Roese echo "... TQM"$${CTYPE}; \ 1444d96f41e0SStefan Roese echo "#define CONFIG_MPC$${CTYPE}">>include/config.h; \ 1445d96f41e0SStefan Roese echo "#define CONFIG_TQM$${CTYPE}">>include/config.h; \ 1446d96f41e0SStefan Roese echo "#define CONFIG_HOSTNAME tqm$${CTYPE}">>include/config.h; \ 1447d96f41e0SStefan Roese echo "#define CONFIG_BOARDNAME \"TQM$${CTYPE}\"">>include/config.h; \ 1448d96f41e0SStefan Roese echo "#define CFG_BOOTFILE \"bootfile=/tftpboot/tqm$${CTYPE}/uImage\0\"">>include/config.h 1449d96f41e0SStefan Roese @./mkconfig -a TQM85xx ppc mpc85xx tqm85xx 1450f5c5ef4aSwdenk 145142d1f039Swdenk######################################################################### 14527ebf7443Swdenk## 74xx/7xx Systems 14537ebf7443Swdenk######################################################################### 14547ebf7443Swdenk 1455c7de829cSwdenkAmigaOneG3SE_config: unconfig 1456c7de829cSwdenk @./mkconfig $(@:_config=) ppc 74xx_7xx AmigaOneG3SE MAI 1457c7de829cSwdenk 145815647dc7SwdenkBAB7xx_config: unconfig 145915647dc7Swdenk @./mkconfig $(@:_config=) ppc 74xx_7xx bab7xx eltec 146015647dc7Swdenk 1461c419d1d6SstroeseCPCI750_config: unconfig 1462c419d1d6Sstroese @./mkconfig CPCI750 ppc 74xx_7xx cpci750 esd 1463c419d1d6Sstroese 14643a473b2aSwdenkDB64360_config: unconfig 14653a473b2aSwdenk @./mkconfig DB64360 ppc 74xx_7xx db64360 Marvell 14663a473b2aSwdenk 14673a473b2aSwdenkDB64460_config: unconfig 14683a473b2aSwdenk @./mkconfig DB64460 ppc 74xx_7xx db64460 Marvell 14693a473b2aSwdenk 147015647dc7SwdenkELPPC_config: unconfig 147115647dc7Swdenk @./mkconfig $(@:_config=) ppc 74xx_7xx elppc eltec 147215647dc7Swdenk 14737ebf7443SwdenkEVB64260_config \ 14747ebf7443SwdenkEVB64260_750CX_config: unconfig 14757ebf7443Swdenk @./mkconfig EVB64260 ppc 74xx_7xx evb64260 14767ebf7443Swdenk 147715647dc7SwdenkP3G4_config: unconfig 14787ebf7443Swdenk @./mkconfig $(@:_config=) ppc 74xx_7xx evb64260 14797ebf7443Swdenk 14807ebf7443SwdenkPCIPPC2_config \ 14817ebf7443SwdenkPCIPPC6_config: unconfig 14827ebf7443Swdenk @./mkconfig $(@:_config=) ppc 74xx_7xx pcippc2 14837ebf7443Swdenk 148415647dc7SwdenkZUMA_config: unconfig 148512f34241Swdenk @./mkconfig $(@:_config=) ppc 74xx_7xx evb64260 148612f34241Swdenk 1487f5e0d039SHeiko Schocherppmc7xx_config: unconfig 1488f5e0d039SHeiko Schocher @./mkconfig $(@:_config=) ppc 74xx_7xx ppmc7xx 1489f5e0d039SHeiko Schocher 14907ebf7443Swdenk#======================================================================== 14917ebf7443Swdenk# ARM 14927ebf7443Swdenk#======================================================================== 14937ebf7443Swdenk######################################################################### 14947ebf7443Swdenk## StrongARM Systems 14957ebf7443Swdenk######################################################################### 14967ebf7443Swdenk 1497ea66bc88Swdenkassabet_config : unconfig 1498ea66bc88Swdenk @./mkconfig $(@:_config=) arm sa1100 assabet 1499ea66bc88Swdenk 15007ebf7443Swdenkdnp1110_config : unconfig 15017ebf7443Swdenk @./mkconfig $(@:_config=) arm sa1100 dnp1110 15027ebf7443Swdenk 1503855a496fSwdenkgcplus_config : unconfig 1504855a496fSwdenk @./mkconfig $(@:_config=) arm sa1100 gcplus 1505855a496fSwdenk 1506855a496fSwdenklart_config : unconfig 1507855a496fSwdenk @./mkconfig $(@:_config=) arm sa1100 lart 1508855a496fSwdenk 15097ebf7443Swdenkshannon_config : unconfig 15107ebf7443Swdenk @./mkconfig $(@:_config=) arm sa1100 shannon 15117ebf7443Swdenk 15127ebf7443Swdenk######################################################################### 15132e5983d2Swdenk## ARM92xT Systems 15147ebf7443Swdenk######################################################################### 15157ebf7443Swdenk 1516b0639ca3Swdenkxtract_trab = $(subst _bigram,,$(subst _bigflash,,$(subst _old,,$(subst _config,,$1)))) 151743d9616cSwdenk 15183ff02c27Swdenkxtract_omap1610xxx = $(subst _cs0boot,,$(subst _cs3boot,,$(subst _cs_autoboot,,$(subst _config,,$1)))) 151963e73c9aSwdenk 1520a56bd922Swdenkxtract_omap730p2 = $(subst _cs0boot,,$(subst _cs3boot,, $(subst _config,,$1))) 1521a56bd922Swdenk 1522a85f9f21Swdenkat91rm9200dk_config : unconfig 1523a85f9f21Swdenk @./mkconfig $(@:_config=) arm arm920t at91rm9200dk NULL at91rm9200 1524a85f9f21Swdenk 1525a85f9f21Swdenkcmc_pu2_config : unconfig 1526a85f9f21Swdenk @./mkconfig $(@:_config=) arm arm920t cmc_pu2 NULL at91rm9200 1527a85f9f21Swdenk 1528645da510SWolfgang Denkcsb637_config : unconfig 1529645da510SWolfgang Denk @./mkconfig $(@:_config=) arm arm920t csb637 NULL at91rm9200 1530645da510SWolfgang Denk 15310e4018d2SWolfgang Denkmp2usb_config : unconfig 15320e4018d2SWolfgang Denk @./mkconfig $(@:_config=) arm arm920t mp2usb NULL at91rm9200 15330e4018d2SWolfgang Denk 153487cb6862SWolfgang Denk 153574f4304eSWolfgang Denk######################################################################## 153687cb6862SWolfgang Denk## ARM Integrator boards - see doc/README-integrator for more info. 153787cb6862SWolfgang Denkintegratorap_config \ 153887cb6862SWolfgang Denkap_config \ 153987cb6862SWolfgang Denkap966_config \ 154087cb6862SWolfgang Denkap922_config \ 154187cb6862SWolfgang Denkap922_XA10_config \ 154287cb6862SWolfgang Denkap7_config \ 154387cb6862SWolfgang Denkap720t_config \ 154487cb6862SWolfgang Denkap920t_config \ 154587cb6862SWolfgang Denkap926ejs_config \ 154687cb6862SWolfgang Denkap946es_config: unconfig 154796782c63SWolfgang Denk @board/integratorap/split_by_variant.sh $@ 15483d3befa7Swdenk 154987cb6862SWolfgang Denkintegratorcp_config \ 155087cb6862SWolfgang Denkcp_config \ 155187cb6862SWolfgang Denkcp920t_config \ 155287cb6862SWolfgang Denkcp926ejs_config \ 155387cb6862SWolfgang Denkcp946es_config \ 155487cb6862SWolfgang Denkcp1136_config \ 155587cb6862SWolfgang Denkcp966_config \ 155687cb6862SWolfgang Denkcp922_config \ 155787cb6862SWolfgang Denkcp922_XA10_config \ 155887cb6862SWolfgang Denkcp1026_config: unconfig 155996782c63SWolfgang Denk @board/integratorcp/split_by_variant.sh $@ 156025d6712aSwdenk 156199b0d285SWolfgang Denkkb9202_config : unconfig 156299b0d285SWolfgang Denk @./mkconfig $(@:_config=) arm arm920t kb9202 NULL at91rm9200 156399b0d285SWolfgang Denk 1564f832d8a1Swdenklpd7a400_config \ 1565f832d8a1Swdenklpd7a404_config: unconfig 15662d24a3a7Swdenk @./mkconfig $(@:_config=) arm lh7a40x lpd7a40x 15673d3befa7Swdenk 1568281e00a3Swdenkmx1ads_config : unconfig 15691d9f4105Swdenk @./mkconfig $(@:_config=) arm arm920t mx1ads NULL imx 1570281e00a3Swdenk 1571281e00a3Swdenkmx1fs2_config : unconfig 15721d9f4105Swdenk @./mkconfig $(@:_config=) arm arm920t mx1fs2 NULL imx 1573281e00a3Swdenk 1574ac7eb8a3SWolfgang Denknetstar_32_config \ 1575ac7eb8a3SWolfgang Denknetstar_config: unconfig 1576ac7eb8a3SWolfgang Denk @if [ "$(findstring _32_,$@)" ] ; then \ 1577ac7eb8a3SWolfgang Denk echo "... 32MB SDRAM" ; \ 1578ac7eb8a3SWolfgang Denk echo "#define PHYS_SDRAM_1_SIZE SZ_32M" >>include/config.h ; \ 1579ac7eb8a3SWolfgang Denk else \ 1580ac7eb8a3SWolfgang Denk echo "... 64MB SDRAM" ; \ 1581ac7eb8a3SWolfgang Denk echo "#define PHYS_SDRAM_1_SIZE SZ_64M" >>include/config.h ; \ 1582ac7eb8a3SWolfgang Denk fi 1583ac7eb8a3SWolfgang Denk @./mkconfig -a netstar arm arm925t netstar 1584ac7eb8a3SWolfgang Denk 15852e5983d2Swdenkomap1510inn_config : unconfig 15862e5983d2Swdenk @./mkconfig $(@:_config=) arm arm925t omap1510inn 15872e5983d2Swdenk 15881eaeb58eSwdenkomap5912osk_config : unconfig 1589ff7fefe6SWolfgang Denk @./mkconfig $(@:_config=) arm arm926ejs omap5912osk NULL omap 15901eaeb58eSwdenk 159163e73c9aSwdenkomap1610inn_config \ 159263e73c9aSwdenkomap1610inn_cs0boot_config \ 159363e73c9aSwdenkomap1610inn_cs3boot_config \ 15943ff02c27Swdenkomap1610inn_cs_autoboot_config \ 159563e73c9aSwdenkomap1610h2_config \ 159663e73c9aSwdenkomap1610h2_cs0boot_config \ 15973ff02c27Swdenkomap1610h2_cs3boot_config \ 15983ff02c27Swdenkomap1610h2_cs_autoboot_config: unconfig 159963e73c9aSwdenk @if [ "$(findstring _cs0boot_, $@)" ] ; then \ 160063e73c9aSwdenk echo "#define CONFIG_CS0_BOOT" >> ./include/config.h ; \ 1601b79a11ccSwdenk echo "... configured for CS0 boot"; \ 16023ff02c27Swdenk elif [ "$(findstring _cs_autoboot_, $@)" ] ; then \ 16033ff02c27Swdenk echo "#define CONFIG_CS_AUTOBOOT" >> ./include/config.h ; \ 16043ff02c27Swdenk echo "... configured for CS_AUTO boot"; \ 160563e73c9aSwdenk else \ 160663e73c9aSwdenk echo "#define CONFIG_CS3_BOOT" >> ./include/config.h ; \ 1607b79a11ccSwdenk echo "... configured for CS3 boot"; \ 160863e73c9aSwdenk fi; 1609ff7fefe6SWolfgang Denk @./mkconfig -a $(call xtract_omap1610xxx,$@) arm arm926ejs omap1610inn NULL omap 16106f21347dSwdenk 1611a56bd922Swdenkomap730p2_config \ 1612a56bd922Swdenkomap730p2_cs0boot_config \ 1613a56bd922Swdenkomap730p2_cs3boot_config : unconfig 1614a56bd922Swdenk @if [ "$(findstring _cs0boot_, $@)" ] ; then \ 1615a56bd922Swdenk echo "#define CONFIG_CS0_BOOT" >> ./include/config.h ; \ 1616a56bd922Swdenk echo "... configured for CS0 boot"; \ 1617a56bd922Swdenk else \ 1618a56bd922Swdenk echo "#define CONFIG_CS3_BOOT" >> ./include/config.h ; \ 1619a56bd922Swdenk echo "... configured for CS3 boot"; \ 1620a56bd922Swdenk fi; 1621ff7fefe6SWolfgang Denk @./mkconfig -a $(call xtract_omap730p2,$@) arm arm926ejs omap730p2 NULL omap 1622a56bd922Swdenk 1623281e00a3Swdenkscb9328_config : unconfig 16241d9f4105Swdenk @./mkconfig $(@:_config=) arm arm920t scb9328 NULL imx 1625281e00a3Swdenk 16267ebf7443Swdenksmdk2400_config : unconfig 16271d9f4105Swdenk @./mkconfig $(@:_config=) arm arm920t smdk2400 NULL s3c24x0 16287ebf7443Swdenk 16297ebf7443Swdenksmdk2410_config : unconfig 16301d9f4105Swdenk @./mkconfig $(@:_config=) arm arm920t smdk2410 NULL s3c24x0 16317ebf7443Swdenk 16322d24a3a7SwdenkSX1_config : unconfig 16332d24a3a7Swdenk @./mkconfig $(@:_config=) arm arm925t sx1 16342d24a3a7Swdenk 1635b2001f27Swdenk# TRAB default configuration: 8 MB Flash, 32 MB RAM 163643d9616cSwdenktrab_config \ 1637b0639ca3Swdenktrab_bigram_config \ 1638b0639ca3Swdenktrab_bigflash_config \ 1639f54ebdfaSwdenktrab_old_config: unconfig 164043d9616cSwdenk @ >include/config.h 1641b0639ca3Swdenk @[ -z "$(findstring _bigram,$@)" ] || \ 1642b0639ca3Swdenk { echo "#define CONFIG_FLASH_8MB" >>include/config.h ; \ 1643b2001f27Swdenk echo "#define CONFIG_RAM_32MB" >>include/config.h ; \ 1644b0639ca3Swdenk echo "... with 8 MB Flash, 32 MB RAM" ; \ 1645b0639ca3Swdenk } 1646b0639ca3Swdenk @[ -z "$(findstring _bigflash,$@)" ] || \ 1647b2001f27Swdenk { echo "#define CONFIG_FLASH_16MB" >>include/config.h ; \ 1648b2001f27Swdenk echo "#define CONFIG_RAM_16MB" >>include/config.h ; \ 1649b0639ca3Swdenk echo "... with 16 MB Flash, 16 MB RAM" ; \ 1650a8c7c708Swdenk echo "TEXT_BASE = 0x0CF40000" >board/trab/config.tmp ; \ 1651b0639ca3Swdenk } 1652f54ebdfaSwdenk @[ -z "$(findstring _old,$@)" ] || \ 1653b2001f27Swdenk { echo "#define CONFIG_FLASH_8MB" >>include/config.h ; \ 1654b2001f27Swdenk echo "#define CONFIG_RAM_16MB" >>include/config.h ; \ 1655b2001f27Swdenk echo "... with 8 MB Flash, 16 MB RAM" ; \ 1656a8c7c708Swdenk echo "TEXT_BASE = 0x0CF40000" >board/trab/config.tmp ; \ 165743d9616cSwdenk } 16581d9f4105Swdenk @./mkconfig -a $(call xtract_trab,$@) arm arm920t trab NULL s3c24x0 16597ebf7443Swdenk 16601cb8e980SwdenkVCMA9_config : unconfig 16611d9f4105Swdenk @./mkconfig $(@:_config=) arm arm920t vcma9 mpl s3c24x0 16621cb8e980Swdenk 166387cb6862SWolfgang Denk#======================================================================== 166487cb6862SWolfgang Denk# ARM supplied Versatile development boards 166587cb6862SWolfgang Denk#======================================================================== 166687cb6862SWolfgang Denkversatile_config \ 166787cb6862SWolfgang Denkversatileab_config \ 166887cb6862SWolfgang Denkversatilepb_config : unconfig 166996782c63SWolfgang Denk @board/versatile/split_by_variant.sh $@ 1670074cff0dSwdenk 16713c2b3d45Swdenkvoiceblue_smallflash_config \ 16723c2b3d45Swdenkvoiceblue_config: unconfig 16733c2b3d45Swdenk @if [ "$(findstring _smallflash_,$@)" ] ; then \ 16743c2b3d45Swdenk echo "... boot from lower flash bank" ; \ 16753c2b3d45Swdenk echo "#define VOICEBLUE_SMALL_FLASH" >>include/config.h ; \ 16763c2b3d45Swdenk echo "VOICEBLUE_SMALL_FLASH=y" >board/voiceblue/config.tmp ; \ 16773c2b3d45Swdenk else \ 16783c2b3d45Swdenk echo "... boot from upper flash bank" ; \ 16793c2b3d45Swdenk >include/config.h ; \ 16803c2b3d45Swdenk echo "VOICEBLUE_SMALL_FLASH=n" >board/voiceblue/config.tmp ; \ 16813c2b3d45Swdenk fi 16823c2b3d45Swdenk @./mkconfig -a voiceblue arm arm925t voiceblue 16833c2b3d45Swdenk 168416b013e7Swdenkcm4008_config : unconfig 168516b013e7Swdenk @./mkconfig $(@:_config=) arm arm920t cm4008 NULL ks8695 168616b013e7Swdenk 168716b013e7Swdenkcm41xx_config : unconfig 168816b013e7Swdenk @./mkconfig $(@:_config=) arm arm920t cm41xx NULL ks8695 168916b013e7Swdenk 16900c32d96dSWolfgang Denkgth2_config : unconfig 16910c32d96dSWolfgang Denk @ >include/config.h 16920c32d96dSWolfgang Denk @echo "#define CONFIG_GTH2 1" >>include/config.h 16930c32d96dSWolfgang Denk @./mkconfig -a gth2 mips mips gth2 16940c32d96dSWolfgang Denk 1695074cff0dSwdenk######################################################################### 1696074cff0dSwdenk## S3C44B0 Systems 1697074cff0dSwdenk######################################################################### 1698074cff0dSwdenk 1699074cff0dSwdenkB2_config : unconfig 1700074cff0dSwdenk @./mkconfig $(@:_config=) arm s3c44b0 B2 dave 1701074cff0dSwdenk 17027ebf7443Swdenk######################################################################### 17037ebf7443Swdenk## ARM720T Systems 17047ebf7443Swdenk######################################################################### 17057ebf7443Swdenk 1706c570b2fdSWolfgang Denkarmadillo_config: unconfig 1707c570b2fdSWolfgang Denk @./mkconfig $(@:_config=) arm arm720t armadillo 1708c570b2fdSWolfgang Denk 17097ebf7443Swdenkep7312_config : unconfig 17107ebf7443Swdenk @./mkconfig $(@:_config=) arm arm720t ep7312 17117ebf7443Swdenk 17122d24a3a7Swdenkimpa7_config : unconfig 17132d24a3a7Swdenk @./mkconfig $(@:_config=) arm arm720t impa7 17142d24a3a7Swdenk 17152d1a537dSwdenkmodnet50_config : unconfig 17162d1a537dSwdenk @./mkconfig $(@:_config=) arm arm720t modnet50 17172d1a537dSwdenk 171839539887Swdenkevb4510_config : unconfig 171939539887Swdenk @./mkconfig $(@:_config=) arm arm720t evb4510 172039539887Swdenk 17217ebf7443Swdenk######################################################################### 172243d9616cSwdenk## XScale Systems 17237ebf7443Swdenk######################################################################### 17247ebf7443Swdenk 172520787e23Swdenkadsvix_config : unconfig 172620787e23Swdenk @./mkconfig $(@:_config=) arm pxa adsvix 172720787e23Swdenk 1728fabd46acSwdenkcerf250_config : unconfig 1729fabd46acSwdenk @./mkconfig $(@:_config=) arm pxa cerf250 1730fabd46acSwdenk 17317ebf7443Swdenkcradle_config : unconfig 17324c3b21a5Swdenk @./mkconfig $(@:_config=) arm pxa cradle 17337ebf7443Swdenk 17347ebf7443Swdenkcsb226_config : unconfig 17354c3b21a5Swdenk @./mkconfig $(@:_config=) arm pxa csb226 17367ebf7443Swdenk 17370be248faSWolfgang Denkdelta_config : 17380be248faSWolfgang Denk @./mkconfig $(@:_config=) arm pxa delta 17390be248faSWolfgang Denk 174043d9616cSwdenkinnokom_config : unconfig 17414c3b21a5Swdenk @./mkconfig $(@:_config=) arm pxa innokom 174243d9616cSwdenk 17432d5b561eSwdenkixdp425_config : unconfig 17442d5b561eSwdenk @./mkconfig $(@:_config=) arm ixp ixdp425 17452d5b561eSwdenk 1746ba94a1bbSWolfgang Denkixdpg425_config : unconfig 1747ba94a1bbSWolfgang Denk @./mkconfig $(@:_config=) arm ixp ixdp425 1748ba94a1bbSWolfgang Denk 174943d9616cSwdenklubbock_config : unconfig 17504c3b21a5Swdenk @./mkconfig $(@:_config=) arm pxa lubbock 175143d9616cSwdenk 17525720df78SHeiko Schocherpleb2_config : unconfig 17535720df78SHeiko Schocher @./mkconfig $(@:_config=) arm pxa pleb2 17545720df78SHeiko Schocher 175552f52c14Swdenklogodl_config : unconfig 175652f52c14Swdenk @./mkconfig $(@:_config=) arm pxa logodl 175752f52c14Swdenk 1758ba94a1bbSWolfgang Denkpdnb3_config : unconfig 1759ba94a1bbSWolfgang Denk @./mkconfig $(@:_config=) arm ixp pdnb3 prodrive 1760ba94a1bbSWolfgang Denk 1761f57f70aaSWolfgang Denkpxa255_idp_config: unconfig 1762f57f70aaSWolfgang Denk @./mkconfig $(@:_config=) arm pxa pxa255_idp 1763f57f70aaSWolfgang Denk 17643e38691eSwdenkwepep250_config : unconfig 17654c3b21a5Swdenk @./mkconfig $(@:_config=) arm pxa wepep250 17663e38691eSwdenk 17674ec3a7f0Swdenkxaeniax_config : unconfig 17684ec3a7f0Swdenk @./mkconfig $(@:_config=) arm pxa xaeniax 17694ec3a7f0Swdenk 1770efa329cbSwdenkxm250_config : unconfig 1771efa329cbSwdenk @./mkconfig $(@:_config=) arm pxa xm250 1772efa329cbSwdenk 1773ca0e7748Swdenkxsengine_config : unconfig 1774ca0e7748Swdenk @./mkconfig $(@:_config=) arm pxa xsengine 1775ca0e7748Swdenk 1776e0269579SMarkus Klotzbücherzylonite_config : 1777e0269579SMarkus Klotzbücher @./mkconfig $(@:_config=) arm pxa zylonite 1778e0269579SMarkus Klotzbücher 17798ed96046Swdenk######################################################################### 17808ed96046Swdenk## ARM1136 Systems 17818ed96046Swdenk######################################################################### 17828ed96046Swdenkomap2420h4_config : unconfig 17838ed96046Swdenk @./mkconfig $(@:_config=) arm arm1136 omap2420h4 17848ed96046Swdenk 17852262cfeeSwdenk#======================================================================== 17862262cfeeSwdenk# i386 17872262cfeeSwdenk#======================================================================== 17882262cfeeSwdenk######################################################################### 17892262cfeeSwdenk## AMD SC520 CDP 17902262cfeeSwdenk######################################################################### 17912262cfeeSwdenksc520_cdp_config : unconfig 17922262cfeeSwdenk @./mkconfig $(@:_config=) i386 i386 sc520_cdp 17932262cfeeSwdenk 17947a8e9bedSwdenksc520_spunk_config : unconfig 17957a8e9bedSwdenk @./mkconfig $(@:_config=) i386 i386 sc520_spunk 17967a8e9bedSwdenk 17977a8e9bedSwdenksc520_spunk_rel_config : unconfig 17987a8e9bedSwdenk @./mkconfig $(@:_config=) i386 i386 sc520_spunk 17997a8e9bedSwdenk 180043d9616cSwdenk#======================================================================== 180143d9616cSwdenk# MIPS 180243d9616cSwdenk#======================================================================== 18037ebf7443Swdenk######################################################################### 180443d9616cSwdenk## MIPS32 4Kc 180543d9616cSwdenk######################################################################### 180643d9616cSwdenk 1807e0ac62d7Swdenkxtract_incaip = $(subst _100MHz,,$(subst _133MHz,,$(subst _150MHz,,$(subst _config,,$1)))) 1808e0ac62d7Swdenk 1809e0ac62d7Swdenkincaip_100MHz_config \ 1810e0ac62d7Swdenkincaip_133MHz_config \ 1811e0ac62d7Swdenkincaip_150MHz_config \ 181243d9616cSwdenkincaip_config: unconfig 1813e0ac62d7Swdenk @ >include/config.h 1814e0ac62d7Swdenk @[ -z "$(findstring _100MHz,$@)" ] || \ 1815e0ac62d7Swdenk { echo "#define CPU_CLOCK_RATE 100000000" >>include/config.h ; \ 1816e0ac62d7Swdenk echo "... with 100MHz system clock" ; \ 1817e0ac62d7Swdenk } 1818e0ac62d7Swdenk @[ -z "$(findstring _133MHz,$@)" ] || \ 1819e0ac62d7Swdenk { echo "#define CPU_CLOCK_RATE 133000000" >>include/config.h ; \ 1820e0ac62d7Swdenk echo "... with 133MHz system clock" ; \ 1821e0ac62d7Swdenk } 1822e0ac62d7Swdenk @[ -z "$(findstring _150MHz,$@)" ] || \ 1823e0ac62d7Swdenk { echo "#define CPU_CLOCK_RATE 150000000" >>include/config.h ; \ 1824e0ac62d7Swdenk echo "... with 150MHz system clock" ; \ 1825e0ac62d7Swdenk } 1826e0ac62d7Swdenk @./mkconfig -a $(call xtract_incaip,$@) mips mips incaip 1827e0ac62d7Swdenk 1828f4863a7aSwdenktb0229_config: unconfig 1829f4863a7aSwdenk @./mkconfig $(@:_config=) mips mips tb0229 1830f4863a7aSwdenk 1831e0ac62d7Swdenk######################################################################### 183269459791Swdenk## MIPS32 AU1X00 183369459791Swdenk######################################################################### 183469459791Swdenkdbau1000_config : unconfig 183569459791Swdenk @ >include/config.h 183669459791Swdenk @echo "#define CONFIG_DBAU1000 1" >>include/config.h 183769459791Swdenk @./mkconfig -a dbau1x00 mips mips dbau1x00 183869459791Swdenk 183969459791Swdenkdbau1100_config : unconfig 184069459791Swdenk @ >include/config.h 184169459791Swdenk @echo "#define CONFIG_DBAU1100 1" >>include/config.h 184269459791Swdenk @./mkconfig -a dbau1x00 mips mips dbau1x00 184369459791Swdenk 184469459791Swdenkdbau1500_config : unconfig 184569459791Swdenk @ >include/config.h 184669459791Swdenk @echo "#define CONFIG_DBAU1500 1" >>include/config.h 184769459791Swdenk @./mkconfig -a dbau1x00 mips mips dbau1x00 184869459791Swdenk 1849ff36fd85Swdenkdbau1550_config : unconfig 1850ff36fd85Swdenk @ >include/config.h 1851ff36fd85Swdenk @echo "#define CONFIG_DBAU1550 1" >>include/config.h 1852ff36fd85Swdenk @./mkconfig -a dbau1x00 mips mips dbau1x00 1853ff36fd85Swdenk 1854ff36fd85Swdenkdbau1550_el_config : unconfig 1855ff36fd85Swdenk @ >include/config.h 1856ff36fd85Swdenk @echo "#define CONFIG_DBAU1550 1" >>include/config.h 185721919230SWolfgang Denk @./mkconfig -a dbau1x00 mips mips dbau1x00 1858ff36fd85Swdenk 1859265817c7SWolfgang Denkpb1000_config : unconfig 1860265817c7SWolfgang Denk @ >include/config.h 1861265817c7SWolfgang Denk @echo "#define CONFIG_PB1000 1" >>include/config.h 1862265817c7SWolfgang Denk @./mkconfig -a pb1x00 mips mips pb1x00 1863265817c7SWolfgang Denk 186469459791Swdenk######################################################################### 1865e0ac62d7Swdenk## MIPS64 5Kc 1866e0ac62d7Swdenk######################################################################### 186743d9616cSwdenk 18683e38691eSwdenkpurple_config : unconfig 18693e38691eSwdenk @./mkconfig $(@:_config=) mips mips purple 187043d9616cSwdenk 18714a551709Swdenk#======================================================================== 18724a551709Swdenk# Nios 18734a551709Swdenk#======================================================================== 18744a551709Swdenk######################################################################### 18754a551709Swdenk## Nios32 18764a551709Swdenk######################################################################### 18774a551709Swdenk 1878c935d3bdSwdenkDK1C20_safe_32_config \ 1879c935d3bdSwdenkDK1C20_standard_32_config \ 18804a551709SwdenkDK1C20_config: unconfig 1881c935d3bdSwdenk @ >include/config.h 1882c935d3bdSwdenk @[ -z "$(findstring _safe_32,$@)" ] || \ 1883c935d3bdSwdenk { echo "#define CONFIG_NIOS_SAFE_32 1" >>include/config.h ; \ 1884c935d3bdSwdenk echo "... NIOS 'safe_32' configuration" ; \ 1885c935d3bdSwdenk } 1886c935d3bdSwdenk @[ -z "$(findstring _standard_32,$@)" ] || \ 1887c935d3bdSwdenk { echo "#define CONFIG_NIOS_STANDARD_32 1" >>include/config.h ; \ 1888c935d3bdSwdenk echo "... NIOS 'standard_32' configuration" ; \ 1889c935d3bdSwdenk } 1890c935d3bdSwdenk @[ -z "$(findstring DK1C20_config,$@)" ] || \ 1891c935d3bdSwdenk { echo "#define CONFIG_NIOS_STANDARD_32 1" >>include/config.h ; \ 1892c935d3bdSwdenk echo "... NIOS 'standard_32' configuration (DEFAULT)" ; \ 1893c935d3bdSwdenk } 1894c935d3bdSwdenk @./mkconfig -a DK1C20 nios nios dk1c20 altera 1895c935d3bdSwdenk 1896c935d3bdSwdenkDK1S10_safe_32_config \ 1897c935d3bdSwdenkDK1S10_standard_32_config \ 1898ec4c544bSwdenkDK1S10_mtx_ldk_20_config \ 1899c935d3bdSwdenkDK1S10_config: unconfig 1900c935d3bdSwdenk @ >include/config.h 1901c935d3bdSwdenk @[ -z "$(findstring _safe_32,$@)" ] || \ 1902c935d3bdSwdenk { echo "#define CONFIG_NIOS_SAFE_32 1" >>include/config.h ; \ 1903c935d3bdSwdenk echo "... NIOS 'safe_32' configuration" ; \ 1904c935d3bdSwdenk } 1905c935d3bdSwdenk @[ -z "$(findstring _standard_32,$@)" ] || \ 1906c935d3bdSwdenk { echo "#define CONFIG_NIOS_STANDARD_32 1" >>include/config.h ; \ 1907c935d3bdSwdenk echo "... NIOS 'standard_32' configuration" ; \ 1908c935d3bdSwdenk } 1909ec4c544bSwdenk @[ -z "$(findstring _mtx_ldk_20,$@)" ] || \ 1910ec4c544bSwdenk { echo "#define CONFIG_NIOS_MTX_LDK_20 1" >>include/config.h ; \ 1911ec4c544bSwdenk echo "... NIOS 'mtx_ldk_20' configuration" ; \ 1912ec4c544bSwdenk } 1913c935d3bdSwdenk @[ -z "$(findstring DK1S10_config,$@)" ] || \ 1914c935d3bdSwdenk { echo "#define CONFIG_NIOS_STANDARD_32 1" >>include/config.h ; \ 1915c935d3bdSwdenk echo "... NIOS 'standard_32' configuration (DEFAULT)" ; \ 1916c935d3bdSwdenk } 1917c935d3bdSwdenk @./mkconfig -a DK1S10 nios nios dk1s10 altera 19184a551709Swdenk 1919aaf224abSwdenkADNPESC1_DNPEVA2_base_32_config \ 1920aaf224abSwdenkADNPESC1_base_32_config \ 1921aaf224abSwdenkADNPESC1_config: unconfig 1922aaf224abSwdenk @ >include/config.h 1923aaf224abSwdenk @[ -z "$(findstring _DNPEVA2,$@)" ] || \ 1924aaf224abSwdenk { echo "#define CONFIG_DNPEVA2 1" >>include/config.h ; \ 1925aaf224abSwdenk echo "... DNP/EVA2 configuration" ; \ 1926aaf224abSwdenk } 1927aaf224abSwdenk @[ -z "$(findstring _base_32,$@)" ] || \ 1928aaf224abSwdenk { echo "#define CONFIG_NIOS_BASE_32 1" >>include/config.h ; \ 1929aaf224abSwdenk echo "... NIOS 'base_32' configuration" ; \ 1930aaf224abSwdenk } 1931aaf224abSwdenk @[ -z "$(findstring ADNPESC1_config,$@)" ] || \ 1932aaf224abSwdenk { echo "#define CONFIG_NIOS_BASE_32 1" >>include/config.h ; \ 1933aaf224abSwdenk echo "... NIOS 'base_32' configuration (DEFAULT)" ; \ 1934aaf224abSwdenk } 1935aaf224abSwdenk @./mkconfig -a ADNPESC1 nios nios adnpesc1 ssv 1936aaf224abSwdenk 19375c952cf0Swdenk######################################################################### 19385c952cf0Swdenk## Nios-II 19395c952cf0Swdenk######################################################################### 19405c952cf0Swdenk 19419cc83378SScott McNuttEP1C20_config : unconfig 19429cc83378SScott McNutt @./mkconfig EP1C20 nios2 nios2 ep1c20 altera 19439cc83378SScott McNutt 19449cc83378SScott McNuttEP1S10_config : unconfig 19459cc83378SScott McNutt @./mkconfig EP1S10 nios2 nios2 ep1s10 altera 19469cc83378SScott McNutt 19479cc83378SScott McNuttEP1S40_config : unconfig 19489cc83378SScott McNutt @./mkconfig EP1S40 nios2 nios2 ep1s40 altera 19499cc83378SScott McNutt 19505c952cf0SwdenkPK1C20_config : unconfig 19515c952cf0Swdenk @./mkconfig PK1C20 nios2 nios2 pk1c20 psyent 19525c952cf0Swdenk 19535c952cf0SwdenkPCI5441_config : unconfig 19545c952cf0Swdenk @./mkconfig PCI5441 nios2 nios2 pci5441 psyent 19554a551709Swdenk 1956507bbe3eSwdenk#======================================================================== 1957507bbe3eSwdenk# MicroBlaze 1958507bbe3eSwdenk#======================================================================== 1959507bbe3eSwdenk######################################################################### 1960507bbe3eSwdenk## Microblaze 1961507bbe3eSwdenk######################################################################### 1962507bbe3eSwdenksuzaku_config: unconfig 1963507bbe3eSwdenk @ >include/config.h 1964507bbe3eSwdenk @echo "#define CONFIG_SUZAKU 1" >> include/config.h 1965507bbe3eSwdenk @./mkconfig -a $(@:_config=) microblaze microblaze suzaku AtmarkTechno 1966507bbe3eSwdenk 19673e38691eSwdenk######################################################################### 19680afe519aSWolfgang Denk## Blackfin 19690afe519aSWolfgang Denk######################################################################### 19700afe519aSWolfgang Denkezkit533_config : unconfig 19710afe519aSWolfgang Denk @./mkconfig $(@:_config=) blackfin bf533 ezkit533 19720afe519aSWolfgang Denk 19730afe519aSWolfgang Denkstamp_config : unconfig 19740afe519aSWolfgang Denk @./mkconfig $(@:_config=) blackfin bf533 stamp 19750afe519aSWolfgang Denk 19760afe519aSWolfgang Denkdspstamp_config : unconfig 19770afe519aSWolfgang Denk @./mkconfig $(@:_config=) blackfin bf533 dsp_stamp 19780afe519aSWolfgang Denk 19790afe519aSWolfgang Denk######################################################################### 19800afe519aSWolfgang Denk######################################################################### 19813e38691eSwdenk######################################################################### 19827ebf7443Swdenk 19837ebf7443Swdenkclean: 19847ebf7443Swdenk find . -type f \ 19857ebf7443Swdenk \( -name 'core' -o -name '*.bak' -o -name '*~' \ 19867ebf7443Swdenk -o -name '*.o' -o -name '*.a' \) -print \ 19877ebf7443Swdenk | xargs rm -f 198885ec0bccSwdenk rm -f examples/hello_world examples/timer \ 19893e38691eSwdenk examples/eepro100_eeprom examples/sched \ 1990ed16fefcSwdenk examples/mem_to_mem_idma2intr examples/82559_eeprom \ 19910afe519aSWolfgang Denk examples/smc91111_eeprom \ 1992ed16fefcSwdenk examples/test_burst 19937ebf7443Swdenk rm -f tools/img2srec tools/mkimage tools/envcrc tools/gen_eth_addr 1994eedcd078Swdenk rm -f tools/mpc86x_clk tools/ncb 19957ebf7443Swdenk rm -f tools/easylogo/easylogo tools/bmp_logo 19967ebf7443Swdenk rm -f tools/gdb/astest tools/gdb/gdbcont tools/gdb/gdbsend 1997228f29acSwdenk rm -f tools/env/fw_printenv tools/env/fw_setenv 19987f70e853Swdenk rm -f board/cray/L1/bootscript.c board/cray/L1/bootscript.image 199984ef51a6SWolfgang Denk rm -f board/netstar/eeprom board/netstar/crcek 200084ef51a6SWolfgang Denk rm -f board/netstar/*.srec board/netstar/*.bin 20010e1fb5eeSWolfgang Denk rm -f board/trab/trab_fkt board/voiceblue/eeprom 200287cb6862SWolfgang Denk rm -f board/integratorap/u-boot.lds board/integratorcp/u-boot.lds 2003971a5dd1SMarian Balakowicz rm -f include/bmp_logo.h 20047ebf7443Swdenk 20057ebf7443Swdenkclobber: clean 20064c0d4c3bSwdenk find . -type f \( -name .depend \ 20074c0d4c3bSwdenk -o -name '*.srec' -o -name '*.bin' -o -name u-boot.img \) \ 20084c0d4c3bSwdenk -print0 \ 20094c0d4c3bSwdenk | xargs -0 rm -f 2010881a87ecSWolfgang Denk rm -f $(OBJS) *.bak tags TAGS include/version_autogenerated.h 20117ebf7443Swdenk rm -fr *.*~ 20126310eb9dSwdenk rm -f u-boot u-boot.map u-boot.hex $(ALL) 2013228f29acSwdenk rm -f tools/crc32.c tools/environment.c tools/env/crc32.c 20143e38691eSwdenk rm -f tools/inca-swap-bytes cpu/mpc824x/bedbug_603e.c 2015b783edaeSwdenk rm -f include/asm/proc include/asm/arch include/asm 20167ebf7443Swdenk 20177ebf7443Swdenkmrproper \ 20187ebf7443Swdenkdistclean: clobber unconfig 20197ebf7443Swdenk 20207ebf7443Swdenkbackup: 20217ebf7443Swdenk F=`basename $(TOPDIR)` ; cd .. ; \ 20227ebf7443Swdenk gtar --force-local -zcvf `date "+$$F-%Y-%m-%d-%T.tar.gz"` $$F 20237ebf7443Swdenk 20247ebf7443Swdenk######################################################################### 2025