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 107ebf7443Swdenk# published by the Free Software Foundation; 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 1367152b1d0SwdenkLIBS += drivers/sk98lin/libsk98lin.a 1377ebf7443SwdenkLIBS += post/libpost.a post/cpu/libcpu.a 1387ebf7443SwdenkLIBS += common/libcommon.a 139038ccac5SBartlomiej SiekaLIBS += $(BOARDLIBS) 1409fd5e31fSwdenk.PHONY : $(LIBS) 141a8c7c708Swdenk 1424f7cb08eSwdenk# Add GCC lib 1431a344f29SwdenkPLATFORM_LIBS += -L $(shell dirname `$(CC) $(CFLAGS) -print-libgcc-file-name`) -lgcc 1443d3befa7Swdenk 1457ebf7443Swdenk 146a8c7c708Swdenk# The "tools" are needed early, so put this first 147a8c7c708Swdenk# Don't include stuff already done in $(LIBS) 148a8c7c708SwdenkSUBDIRS = tools \ 149a8c7c708Swdenk examples \ 150a8c7c708Swdenk post \ 151a8c7c708Swdenk post/cpu 152b028f715Swdenk.PHONY : $(SUBDIRS) 153a8c7c708Swdenk 1547ebf7443Swdenk######################################################################### 155bdccc4feSwdenk######################################################################### 1567ebf7443Swdenk 157bdccc4feSwdenkALL = u-boot.srec u-boot.bin System.map 1587ebf7443Swdenk 159bdccc4feSwdenkall: $(ALL) 1607ebf7443Swdenk 1616310eb9dSwdenku-boot.hex: u-boot 1626310eb9dSwdenk $(OBJCOPY) ${OBJCFLAGS} -O ihex $< $@ 1636310eb9dSwdenk 1647ebf7443Swdenku-boot.srec: u-boot 1657ebf7443Swdenk $(OBJCOPY) ${OBJCFLAGS} -O srec $< $@ 1667ebf7443Swdenk 1677ebf7443Swdenku-boot.bin: u-boot 1687ebf7443Swdenk $(OBJCOPY) ${OBJCFLAGS} -O binary $< $@ 1697ebf7443Swdenk 170bdccc4feSwdenku-boot.img: u-boot.bin 171bdccc4feSwdenk ./tools/mkimage -A $(ARCH) -T firmware -C none \ 172bdccc4feSwdenk -a $(TEXT_BASE) -e 0 \ 173881a87ecSWolfgang Denk -n $(shell sed -n -e 's/.*U_BOOT_VERSION//p' $(VERSION_FILE) | \ 174bdccc4feSwdenk sed -e 's/"[ ]*$$/ for $(BOARD) board"/') \ 175bdccc4feSwdenk -d $< $@ 176bdccc4feSwdenk 1777ebf7443Swdenku-boot.dis: u-boot 1787ebf7443Swdenk $(OBJDUMP) -d $< > $@ 1797ebf7443Swdenk 180881a87ecSWolfgang Denku-boot: depend version $(SUBDIRS) $(OBJS) $(LIBS) $(LDSCRIPT) 1818bde7f77Swdenk UNDEF_SYM=`$(OBJDUMP) -x $(LIBS) |sed -n -e 's/.*\(__u_boot_cmd_.*\)/-u\1/p'|sort|uniq`;\ 1828bde7f77Swdenk $(LD) $(LDFLAGS) $$UNDEF_SYM $(OBJS) \ 1831a344f29Swdenk --start-group $(LIBS) --end-group $(PLATFORM_LIBS) \ 184b2184c31Swdenk -Map u-boot.map -o u-boot 1857ebf7443Swdenk 186a8c7c708Swdenk$(LIBS): 187a8c7c708Swdenk $(MAKE) -C `dirname $@` 188a8c7c708Swdenk 189a8c7c708Swdenk$(SUBDIRS): 190b028f715Swdenk $(MAKE) -C $@ all 1917ebf7443Swdenk 192881a87ecSWolfgang Denkversion: 193881a87ecSWolfgang Denk @echo -n "#define U_BOOT_VERSION \"U-Boot " > $(VERSION_FILE); \ 194881a87ecSWolfgang Denk echo -n "$(U_BOOT_VERSION)" >> $(VERSION_FILE); \ 195881a87ecSWolfgang Denk echo -n $(shell $(CONFIG_SHELL) $(TOPDIR)/tools/setlocalversion \ 196881a87ecSWolfgang Denk $(TOPDIR)) >> $(VERSION_FILE); \ 197881a87ecSWolfgang Denk echo "\"" >> $(VERSION_FILE) 198881a87ecSWolfgang Denk 1998f713fdfSdzugdbtools: 2008f713fdfSdzu $(MAKE) -C tools/gdb || exit 1 2018f713fdfSdzu 2027ebf7443Swdenkdepend dep: 2037ebf7443Swdenk @for dir in $(SUBDIRS) ; do $(MAKE) -C $$dir .depend ; done 2047ebf7443Swdenk 2057ebf7443Swdenktags: 2067ebf7443Swdenk ctags -w `find $(SUBDIRS) include \ 207bda6c8aeSwdenk lib_generic board/$(BOARDDIR) cpu/$(CPU) lib_$(ARCH) \ 208bda6c8aeSwdenk fs/cramfs fs/fat fs/fdos fs/jffs2 \ 209bda6c8aeSwdenk net disk rtc dtt drivers drivers/sk98lin common \ 2107ebf7443Swdenk \( -name CVS -prune \) -o \( -name '*.[ch]' -print \)` 2117ebf7443Swdenk 2127ebf7443Swdenketags: 2137ebf7443Swdenk etags -a `find $(SUBDIRS) include \ 214eedcd078Swdenk lib_generic board/$(BOARDDIR) cpu/$(CPU) lib_$(ARCH) \ 215eedcd078Swdenk fs/cramfs fs/fat fs/fdos fs/jffs2 \ 216eedcd078Swdenk net disk rtc dtt drivers drivers/sk98lin common \ 2177ebf7443Swdenk \( -name CVS -prune \) -o \( -name '*.[ch]' -print \)` 2187ebf7443Swdenk 2197ebf7443SwdenkSystem.map: u-boot 2207ebf7443Swdenk @$(NM) $< | \ 2217ebf7443Swdenk grep -v '\(compiled\)\|\(\.o$$\)\|\( [aUw] \)\|\(\.\.ng$$\)\|\(LASH[RL]DI\)' | \ 2227ebf7443Swdenk sort > System.map 2237ebf7443Swdenk 2247ebf7443Swdenk######################################################################### 2257ebf7443Swdenkelse 2267ebf7443Swdenkall install u-boot u-boot.srec depend dep: 2277ebf7443Swdenk @echo "System not configured - see README" >&2 2287ebf7443Swdenk @ exit 1 2297ebf7443Swdenkendif 2307ebf7443Swdenk 2317ebf7443Swdenk######################################################################### 2327ebf7443Swdenk 2337ebf7443Swdenkunconfig: 23417d704ebSwdenk @rm -f include/config.h include/config.mk board/*/config.tmp 2357ebf7443Swdenk 2367ebf7443Swdenk#======================================================================== 2377ebf7443Swdenk# PowerPC 2387ebf7443Swdenk#======================================================================== 2390db5bca8Swdenk 2400db5bca8Swdenk######################################################################### 2410db5bca8Swdenk## MPC5xx Systems 2420db5bca8Swdenk######################################################################### 2430db5bca8Swdenk 2445e5f9ed2Swdenkcanmb_config: unconfig 2455e5f9ed2Swdenk @./mkconfig -a canmb ppc mpc5xxx canmb 2465e5f9ed2Swdenk 2470db5bca8Swdenkcmi_mpc5xx_config: unconfig 2480db5bca8Swdenk @./mkconfig $(@:_config=) ppc mpc5xx cmi 2490db5bca8Swdenk 250b6e4c403SwdenkPATI_config: unconfig 251b6e4c403Swdenk @./mkconfig $(@:_config=) ppc mpc5xx pati mpl 252b6e4c403Swdenk 2537ebf7443Swdenk######################################################################### 254945af8d7Swdenk## MPC5xxx Systems 255945af8d7Swdenk######################################################################### 256a87589daSwdenk 257dafba16eSWolfgang Denkaev_config: unconfig 258dafba16eSWolfgang Denk @./mkconfig -a aev ppc mpc5xxx tqm5200 259dafba16eSWolfgang Denk 2605e4b3361SStefan Roesecpci5200_config: unconfig 2615e4b3361SStefan Roese @./mkconfig -a cpci5200 ppc mpc5xxx cpci5200 esd 2625e4b3361SStefan Roese 263a87589daSwdenkhmi1001_config: unconfig 264a87589daSwdenk @./mkconfig hmi1001 ppc mpc5xxx hmi1001 265a87589daSwdenk 266e35745bbSwdenkLite5200_config \ 267e35745bbSwdenkLite5200_LOWBOOT_config \ 268e35745bbSwdenkLite5200_LOWBOOT08_config \ 269e35745bbSwdenkicecube_5200_config \ 270e35745bbSwdenkicecube_5200_LOWBOOT_config \ 271e35745bbSwdenkicecube_5200_LOWBOOT08_config \ 272b2001f27Swdenkicecube_5200_DDR_config \ 27379d696fcSwdenkicecube_5200_DDR_LOWBOOT_config \ 27479d696fcSwdenkicecube_5200_DDR_LOWBOOT08_config \ 275e35745bbSwdenkicecube_5100_config: unconfig 276945af8d7Swdenk @ >include/config.h 27717d704ebSwdenk @[ -z "$(findstring LOWBOOT_,$@)" ] || \ 27817d704ebSwdenk { if [ "$(findstring DDR,$@)" ] ; \ 27917d704ebSwdenk then echo "TEXT_BASE = 0xFF800000" >board/icecube/config.tmp ; \ 28017d704ebSwdenk else echo "TEXT_BASE = 0xFF000000" >board/icecube/config.tmp ; \ 28117d704ebSwdenk fi ; \ 2825cf9da48Swdenk echo "... with LOWBOOT configuration" ; \ 2835cf9da48Swdenk } 2845cf9da48Swdenk @[ -z "$(findstring LOWBOOT08,$@)" ] || \ 2855cf9da48Swdenk { echo "TEXT_BASE = 0xFF800000" >board/icecube/config.tmp ; \ 2865cf9da48Swdenk echo "... with 8 MB flash only" ; \ 28717d704ebSwdenk echo "... with LOWBOOT configuration" ; \ 2885cf9da48Swdenk } 289b2001f27Swdenk @[ -z "$(findstring DDR,$@)" ] || \ 290b2001f27Swdenk { echo "#define CONFIG_MPC5200_DDR" >>include/config.h ; \ 291b2001f27Swdenk echo "... DDR memory revision" ; \ 292b2001f27Swdenk } 293d4ca31c4Swdenk @[ -z "$(findstring 5200,$@)" ] || \ 294d4ca31c4Swdenk { echo "#define CONFIG_MPC5200" >>include/config.h ; \ 295d4ca31c4Swdenk echo "... with MPC5200 processor" ; \ 296d4ca31c4Swdenk } 297a0f2fe52Swdenk @[ -z "$(findstring 5100,$@)" ] || \ 298945af8d7Swdenk { echo "#define CONFIG_MGT5100" >>include/config.h ; \ 299945af8d7Swdenk echo "... with MGT5100 processor" ; \ 300945af8d7Swdenk } 301945af8d7Swdenk @./mkconfig -a IceCube ppc mpc5xxx icecube 302945af8d7Swdenk 303138ff60cSwdenkinka4x0_config: unconfig 304138ff60cSwdenk @./mkconfig inka4x0 ppc mpc5xxx inka4x0 305138ff60cSwdenk 306f1ee9825SStefan Roesemcc200_config \ 307f1ee9825SStefan Roesemcc200_lowboot_config: unconfig 308f1ee9825SStefan Roese @ >include/config.h 309f1ee9825SStefan Roese @[ -z "$(findstring lowboot_,$@)" ] || \ 310f1ee9825SStefan Roese { echo "TEXT_BASE = 0xFE000000" >board/mcc200/config.tmp ; \ 311f1ee9825SStefan Roese echo "... with lowboot configuration" ; \ 312f1ee9825SStefan Roese } 31386ea5f93SWolfgang Denk @./mkconfig mcc200 ppc mpc5xxx mcc200 31486ea5f93SWolfgang Denk 315df04a3dfSWolfgang Denko2dnt_config: 31686ea5f93SWolfgang Denk @./mkconfig o2dnt ppc mpc5xxx o2dnt 317df04a3dfSWolfgang Denk 3185e4b3361SStefan Roesepf5200_config: unconfig 31986ea5f93SWolfgang Denk @./mkconfig pf5200 ppc mpc5xxx pf5200 esd 3205e4b3361SStefan Roese 32189394047SwdenkPM520_config \ 32289394047SwdenkPM520_DDR_config \ 32389394047SwdenkPM520_ROMBOOT_config \ 32489394047SwdenkPM520_ROMBOOT_DDR_config: unconfig 32589394047Swdenk @ >include/config.h 32689394047Swdenk @[ -z "$(findstring DDR,$@)" ] || \ 32789394047Swdenk { echo "#define CONFIG_MPC5200_DDR" >>include/config.h ; \ 32889394047Swdenk echo "... DDR memory revision" ; \ 32989394047Swdenk } 33089394047Swdenk @[ -z "$(findstring ROMBOOT,$@)" ] || \ 33189394047Swdenk { echo "#define CONFIG_BOOT_ROM" >>include/config.h ; \ 33289394047Swdenk echo "... booting from 8-bit flash" ; \ 33389394047Swdenk } 33489394047Swdenk @./mkconfig -a PM520 ppc mpc5xxx pm520 33589394047Swdenk 3366624b687SWolfgang Denksmmaco4_config: unconfig 3376624b687SWolfgang Denk @./mkconfig -a smmaco4 ppc mpc5xxx tqm5200 3389cdc8386SWolfgang Denk 3399cdc8386SWolfgang Denkspieval_config: unconfig 3409cdc8386SWolfgang Denk echo "#define CONFIG_CS_AUTOCONF">>include/config.h 3419cdc8386SWolfgang Denk echo "... with automatic CS configuration" 3429cdc8386SWolfgang Denk @./mkconfig -a spieval ppc mpc5xxx tqm5200 3439cdc8386SWolfgang Denk 344d4ca31c4SwdenkMINI5200_config \ 345d4ca31c4SwdenkEVAL5200_config \ 346d4ca31c4SwdenkTOP5200_config: unconfig 347d4ca31c4Swdenk @ echo "#define CONFIG_$(@:_config=) 1" >include/config.h 348d4ca31c4Swdenk @./mkconfig -a TOP5200 ppc mpc5xxx top5200 emk 349d4ca31c4Swdenk 3506c7a1408SwdenkTotal5100_config \ 3516c7a1408SwdenkTotal5200_config \ 3526c7a1408SwdenkTotal5200_lowboot_config \ 3536c7a1408SwdenkTotal5200_Rev2_config \ 3546c7a1408SwdenkTotal5200_Rev2_lowboot_config: unconfig 3556c7a1408Swdenk @ >include/config.h 3566c7a1408Swdenk @[ -z "$(findstring 5100,$@)" ] || \ 3576c7a1408Swdenk { echo "#define CONFIG_MGT5100" >>include/config.h ; \ 3586c7a1408Swdenk echo "... with MGT5100 processor" ; \ 3596c7a1408Swdenk } 3606c7a1408Swdenk @[ -z "$(findstring 5200,$@)" ] || \ 3616c7a1408Swdenk { echo "#define CONFIG_MPC5200" >>include/config.h ; \ 3626c7a1408Swdenk echo "... with MPC5200 processor" ; \ 3636c7a1408Swdenk } 3646c7a1408Swdenk @[ -n "$(findstring Rev,$@)" ] || \ 3656c7a1408Swdenk { echo "#define CONFIG_TOTAL5200_REV 1" >>include/config.h ; \ 3666c7a1408Swdenk echo "... revision 1 board" ; \ 3676c7a1408Swdenk } 3686c7a1408Swdenk @[ -z "$(findstring Rev2_,$@)" ] || \ 3696c7a1408Swdenk { echo "#define CONFIG_TOTAL5200_REV 2" >>include/config.h ; \ 3706c7a1408Swdenk echo "... revision 2 board" ; \ 3716c7a1408Swdenk } 3726c7a1408Swdenk @[ -z "$(findstring lowboot_,$@)" ] || \ 3736c7a1408Swdenk { echo "TEXT_BASE = 0xFE000000" >board/total5200/config.tmp ; \ 3746c7a1408Swdenk echo "... with lowboot configuration" ; \ 3756c7a1408Swdenk } 3766c7a1408Swdenk @./mkconfig -a Total5200 ppc mpc5xxx total5200 3776c7a1408Swdenk 3787e6bf358SwdenkTQM5200_auto_config \ 37956523f12SwdenkTQM5200_AA_config \ 38056523f12SwdenkTQM5200_AB_config \ 38156523f12SwdenkTQM5200_AC_config \ 38256523f12SwdenkMiniFAP_config: unconfig 38356523f12Swdenk @ >include/config.h 38489394047Swdenk @[ -z "$(findstring MiniFAP,$@)" ] || \ 38556523f12Swdenk { echo "#define CONFIG_MINIFAP" >>include/config.h ; \ 38656523f12Swdenk echo "#define CONFIG_TQM5200_AC" >>include/config.h ; \ 38789394047Swdenk echo "... TQM5200_AC on MiniFAP" ; \ 38856523f12Swdenk } 38956523f12Swdenk @[ -z "$(findstring AA,$@)" ] || \ 39056523f12Swdenk { echo "#define CONFIG_TQM5200_AA" >>include/config.h ; \ 39156523f12Swdenk echo "... with 4 MB Flash, 16 MB SDRAM, 32 kB EEPROM" ; \ 39256523f12Swdenk } 39356523f12Swdenk @[ -z "$(findstring AB,$@)" ] || \ 39456523f12Swdenk { echo "#define CONFIG_TQM5200_AB" >>include/config.h ; \ 39556523f12Swdenk echo "... with 64 MB Flash, 64 MB SDRAM, 32 kB EEPROM, 512 kB SRAM" ; \ 39631a64923Swdenk echo "... with Graphics Controller"; \ 39756523f12Swdenk } 39856523f12Swdenk @[ -z "$(findstring AC,$@)" ] || \ 39956523f12Swdenk { echo "#define CONFIG_TQM5200_AC" >>include/config.h ; \ 40056523f12Swdenk echo "... with 4 MB Flash, 128 MB SDRAM" ; \ 40131a64923Swdenk echo "... with Graphics Controller"; \ 40256523f12Swdenk } 4037e6bf358Swdenk @[ -z "$(findstring auto,$@)" ] || \ 4047e6bf358Swdenk { echo "#define CONFIG_CS_AUTOCONF" >>include/config.h ; \ 4057e6bf358Swdenk echo "... with automatic CS configuration" ; \ 4067e6bf358Swdenk } 40756523f12Swdenk @./mkconfig -a TQM5200 ppc mpc5xxx tqm5200 40856523f12Swdenk 409945af8d7Swdenk######################################################################### 4107ebf7443Swdenk## MPC8xx Systems 4117ebf7443Swdenk######################################################################### 4127ebf7443Swdenk 4132d24a3a7SwdenkAdder_config \ 4142d24a3a7SwdenkAdder87x_config \ 41526238132SwdenkAdderII_config \ 4162d24a3a7Swdenk : unconfig 41726238132Swdenk $(if $(findstring AdderII,$@), \ 4182d24a3a7Swdenk @echo "#define CONFIG_MPC852T" > include/config.h) 4192d24a3a7Swdenk @./mkconfig -a Adder ppc mpc8xx adder 4202d24a3a7Swdenk 421180d3f74SwdenkADS860_config \ 422180d3f74SwdenkFADS823_config \ 423180d3f74SwdenkFADS850SAR_config \ 424180d3f74SwdenkMPC86xADS_config \ 4251114257cSwdenkMPC885ADS_config \ 426180d3f74SwdenkFADS860T_config: unconfig 4277ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx fads 4287ebf7443Swdenk 4297ebf7443SwdenkAMX860_config : unconfig 4307ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx amx860 westel 4317ebf7443Swdenk 4327ebf7443Swdenkc2mon_config: unconfig 4337ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx c2mon 4347ebf7443Swdenk 4357ebf7443SwdenkCCM_config: unconfig 4367ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx CCM siemens 4377ebf7443Swdenk 4387ebf7443Swdenkcogent_mpc8xx_config: unconfig 4397ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx cogent 4407ebf7443Swdenk 4413bac3513SwdenkELPT860_config: unconfig 4423bac3513Swdenk @./mkconfig $(@:_config=) ppc mpc8xx elpt860 LEOX 4433bac3513Swdenk 444*84c960ceSWolfgang DenkEP88x_config: unconfig 445*84c960ceSWolfgang Denk @./mkconfig $(@:_config=) ppc mpc8xx ep88x 446*84c960ceSWolfgang Denk 4477ebf7443SwdenkESTEEM192E_config: unconfig 4487ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx esteem192e 4497ebf7443Swdenk 4507ebf7443SwdenkETX094_config : unconfig 4517ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx etx094 4527ebf7443Swdenk 4537ebf7443SwdenkFLAGADM_config: unconfig 4547ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx flagadm 4557ebf7443Swdenk 4567aa78614Swdenkxtract_GEN860T = $(subst _SC,,$(subst _config,,$1)) 4577aa78614Swdenk 4587aa78614SwdenkGEN860T_SC_config \ 4597ebf7443SwdenkGEN860T_config: unconfig 4607aa78614Swdenk @ >include/config.h 4617aa78614Swdenk @[ -z "$(findstring _SC,$@)" ] || \ 4627aa78614Swdenk { echo "#define CONFIG_SC" >>include/config.h ; \ 4637aa78614Swdenk echo "With reduced H/W feature set (SC)..." ; \ 4647aa78614Swdenk } 4657aa78614Swdenk @./mkconfig -a $(call xtract_GEN860T,$@) ppc mpc8xx gen860t 4667ebf7443Swdenk 4677ebf7443SwdenkGENIETV_config: unconfig 4687ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx genietv 4697ebf7443Swdenk 4707ebf7443SwdenkGTH_config: unconfig 4717ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx gth 4727ebf7443Swdenk 4737ebf7443Swdenkhermes_config : unconfig 4747ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx hermes 4757ebf7443Swdenk 476c40b2956SwdenkHMI10_config : unconfig 477c40b2956Swdenk @./mkconfig $(@:_config=) ppc mpc8xx tqm8xx 478c40b2956Swdenk 4797ebf7443SwdenkIAD210_config: unconfig 4807ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx IAD210 siemens 4817ebf7443Swdenk 4827ebf7443Swdenkxtract_ICU862 = $(subst _100MHz,,$(subst _config,,$1)) 4837ebf7443Swdenk 4847ebf7443SwdenkICU862_100MHz_config \ 4857ebf7443SwdenkICU862_config: unconfig 4867ebf7443Swdenk @ >include/config.h 4877ebf7443Swdenk @[ -z "$(findstring _100MHz,$@)" ] || \ 4887ebf7443Swdenk { echo "#define CONFIG_100MHz" >>include/config.h ; \ 4897ebf7443Swdenk echo "... with 100MHz system clock" ; \ 4907ebf7443Swdenk } 4917ebf7443Swdenk @./mkconfig -a $(call xtract_ICU862,$@) ppc mpc8xx icu862 4927ebf7443Swdenk 4937ebf7443SwdenkIP860_config : unconfig 4947ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx ip860 4957ebf7443Swdenk 4967ebf7443SwdenkIVML24_256_config \ 4977ebf7443SwdenkIVML24_128_config \ 4987ebf7443SwdenkIVML24_config: unconfig 4997ebf7443Swdenk @ >include/config.h 5007ebf7443Swdenk @[ -z "$(findstring IVML24_config,$@)" ] || \ 5017ebf7443Swdenk { echo "#define CONFIG_IVML24_16M" >>include/config.h ; \ 5027ebf7443Swdenk } 5037ebf7443Swdenk @[ -z "$(findstring IVML24_128_config,$@)" ] || \ 5047ebf7443Swdenk { echo "#define CONFIG_IVML24_32M" >>include/config.h ; \ 5057ebf7443Swdenk } 5067ebf7443Swdenk @[ -z "$(findstring IVML24_256_config,$@)" ] || \ 5077ebf7443Swdenk { echo "#define CONFIG_IVML24_64M" >>include/config.h ; \ 5087ebf7443Swdenk } 5097ebf7443Swdenk @./mkconfig -a IVML24 ppc mpc8xx ivm 5107ebf7443Swdenk 5117ebf7443SwdenkIVMS8_256_config \ 5127ebf7443SwdenkIVMS8_128_config \ 5137ebf7443SwdenkIVMS8_config: unconfig 5147ebf7443Swdenk @ >include/config.h 5157ebf7443Swdenk @[ -z "$(findstring IVMS8_config,$@)" ] || \ 5167ebf7443Swdenk { echo "#define CONFIG_IVMS8_16M" >>include/config.h ; \ 5177ebf7443Swdenk } 5187ebf7443Swdenk @[ -z "$(findstring IVMS8_128_config,$@)" ] || \ 5197ebf7443Swdenk { echo "#define CONFIG_IVMS8_32M" >>include/config.h ; \ 5207ebf7443Swdenk } 5217ebf7443Swdenk @[ -z "$(findstring IVMS8_256_config,$@)" ] || \ 5227ebf7443Swdenk { echo "#define CONFIG_IVMS8_64M" >>include/config.h ; \ 5237ebf7443Swdenk } 5247ebf7443Swdenk @./mkconfig -a IVMS8 ppc mpc8xx ivm 5257ebf7443Swdenk 52656f94be3SwdenkKUP4K_config : unconfig 5270608e04dSwdenk @./mkconfig $(@:_config=) ppc mpc8xx kup4k kup 5280608e04dSwdenk 5290608e04dSwdenkKUP4X_config : unconfig 5300608e04dSwdenk @./mkconfig $(@:_config=) ppc mpc8xx kup4x kup 53156f94be3Swdenk 5327ebf7443SwdenkLANTEC_config : unconfig 5337ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx lantec 5347ebf7443Swdenk 5357ebf7443Swdenklwmon_config: unconfig 5367ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx lwmon 5377ebf7443Swdenk 5387ebf7443SwdenkMBX_config \ 5397ebf7443SwdenkMBX860T_config: unconfig 5407ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx mbx8xx 5417ebf7443Swdenk 5427ebf7443SwdenkMHPC_config: unconfig 5437ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx mhpc eltec 5447ebf7443Swdenk 5457ebf7443SwdenkMVS1_config : unconfig 5467ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx mvs1 5477ebf7443Swdenk 548993cad93Swdenkxtract_NETVIA = $(subst _V2,,$(subst _config,,$1)) 549993cad93Swdenk 550993cad93SwdenkNETVIA_V2_config \ 5517ebf7443SwdenkNETVIA_config: unconfig 552993cad93Swdenk @ >include/config.h 553993cad93Swdenk @[ -z "$(findstring NETVIA_config,$@)" ] || \ 554993cad93Swdenk { echo "#define CONFIG_NETVIA_VERSION 1" >>include/config.h ; \ 555993cad93Swdenk echo "... Version 1" ; \ 556993cad93Swdenk } 557993cad93Swdenk @[ -z "$(findstring NETVIA_V2_config,$@)" ] || \ 558993cad93Swdenk { echo "#define CONFIG_NETVIA_VERSION 2" >>include/config.h ; \ 559993cad93Swdenk echo "... Version 2" ; \ 560993cad93Swdenk } 561993cad93Swdenk @./mkconfig -a $(call xtract_NETVIA,$@) ppc mpc8xx netvia 5627ebf7443Swdenk 563c26e454dSwdenkxtract_NETPHONE = $(subst _V2,,$(subst _config,,$1)) 564c26e454dSwdenk 565c26e454dSwdenkNETPHONE_V2_config \ 56604a85b3bSwdenkNETPHONE_config: unconfig 567c26e454dSwdenk @ >include/config.h 568c26e454dSwdenk @[ -z "$(findstring NETPHONE_config,$@)" ] || \ 569c26e454dSwdenk { echo "#define CONFIG_NETPHONE_VERSION 1" >>include/config.h ; \ 570c26e454dSwdenk } 571c26e454dSwdenk @[ -z "$(findstring NETPHONE_V2_config,$@)" ] || \ 572c26e454dSwdenk { echo "#define CONFIG_NETPHONE_VERSION 2" >>include/config.h ; \ 573c26e454dSwdenk } 574c26e454dSwdenk @./mkconfig -a $(call xtract_NETPHONE,$@) ppc mpc8xx netphone 57504a85b3bSwdenk 57679fa88f3Swdenkxtract_NETTA = $(subst _SWAPHOOK,,$(subst _6412,,$(subst _ISDN,,$(subst _config,,$1)))) 57704a85b3bSwdenk 57879fa88f3SwdenkNETTA_ISDN_6412_SWAPHOOK_config \ 57979fa88f3SwdenkNETTA_ISDN_SWAPHOOK_config \ 58079fa88f3SwdenkNETTA_6412_SWAPHOOK_config \ 58179fa88f3SwdenkNETTA_SWAPHOOK_config \ 58279fa88f3SwdenkNETTA_ISDN_6412_config \ 58304a85b3bSwdenkNETTA_ISDN_config \ 58479fa88f3SwdenkNETTA_6412_config \ 58504a85b3bSwdenkNETTA_config: unconfig 58604a85b3bSwdenk @ >include/config.h 58779fa88f3Swdenk @[ -z "$(findstring ISDN_,$@)" ] || \ 58804a85b3bSwdenk { echo "#define CONFIG_NETTA_ISDN 1" >>include/config.h ; \ 58904a85b3bSwdenk } 59079fa88f3Swdenk @[ -n "$(findstring ISDN_,$@)" ] || \ 59179fa88f3Swdenk { echo "#undef CONFIG_NETTA_ISDN" >>include/config.h ; \ 59279fa88f3Swdenk } 59379fa88f3Swdenk @[ -z "$(findstring 6412_,$@)" ] || \ 59479fa88f3Swdenk { echo "#define CONFIG_NETTA_6412 1" >>include/config.h ; \ 59579fa88f3Swdenk } 59679fa88f3Swdenk @[ -n "$(findstring 6412_,$@)" ] || \ 59779fa88f3Swdenk { echo "#undef CONFIG_NETTA_6412" >>include/config.h ; \ 59879fa88f3Swdenk } 59979fa88f3Swdenk @[ -z "$(findstring SWAPHOOK_,$@)" ] || \ 60079fa88f3Swdenk { echo "#define CONFIG_NETTA_SWAPHOOK 1" >>include/config.h ; \ 60179fa88f3Swdenk } 60279fa88f3Swdenk @[ -n "$(findstring SWAPHOOK_,$@)" ] || \ 60379fa88f3Swdenk { echo "#undef CONFIG_NETTA_SWAPHOOK" >>include/config.h ; \ 60479fa88f3Swdenk } 60504a85b3bSwdenk @./mkconfig -a $(call xtract_NETTA,$@) ppc mpc8xx netta 60604a85b3bSwdenk 60779fa88f3Swdenkxtract_NETTA2 = $(subst _V2,,$(subst _config,,$1)) 60879fa88f3Swdenk 60979fa88f3SwdenkNETTA2_V2_config \ 61079fa88f3SwdenkNETTA2_config: unconfig 61179fa88f3Swdenk @ >include/config.h 61279fa88f3Swdenk @[ -z "$(findstring NETTA2_config,$@)" ] || \ 61379fa88f3Swdenk { echo "#define CONFIG_NETTA2_VERSION 1" >>include/config.h ; \ 61479fa88f3Swdenk } 61579fa88f3Swdenk @[ -z "$(findstring NETTA2_V2_config,$@)" ] || \ 61679fa88f3Swdenk { echo "#define CONFIG_NETTA2_VERSION 2" >>include/config.h ; \ 61779fa88f3Swdenk } 61879fa88f3Swdenk @./mkconfig -a $(call xtract_NETTA2,$@) ppc mpc8xx netta2 61979fa88f3Swdenk 6207ca202f5SwdenkNC650_config: unconfig 6217ca202f5Swdenk @./mkconfig $(@:_config=) ppc mpc8xx nc650 6227ca202f5Swdenk 6237ebf7443SwdenkNX823_config: unconfig 6247ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx nx823 6257ebf7443Swdenk 6267ebf7443Swdenkpcu_e_config: unconfig 6277ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx pcu_e siemens 6287ebf7443Swdenk 6293bbc899fSwdenkQS850_config: unconfig 6303bbc899fSwdenk @./mkconfig $(@:_config=) ppc mpc8xx qs850 snmc 6313bbc899fSwdenk 6323bbc899fSwdenkQS823_config: unconfig 6333bbc899fSwdenk @./mkconfig $(@:_config=) ppc mpc8xx qs850 snmc 6343bbc899fSwdenk 6353bbc899fSwdenkQS860T_config: unconfig 6363bbc899fSwdenk @./mkconfig $(@:_config=) ppc mpc8xx qs860t snmc 6373bbc899fSwdenk 638da93ed81Swdenkquantum_config: unconfig 639da93ed81Swdenk @./mkconfig $(@:_config=) ppc mpc8xx quantum 640da93ed81Swdenk 6417ebf7443SwdenkR360MPI_config: unconfig 6427ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx r360mpi 6437ebf7443Swdenk 644682011ffSwdenkRBC823_config: unconfig 645682011ffSwdenk @./mkconfig $(@:_config=) ppc mpc8xx rbc823 646682011ffSwdenk 6477ebf7443SwdenkRPXClassic_config: unconfig 6487ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx RPXClassic 6497ebf7443Swdenk 6507ebf7443SwdenkRPXlite_config: unconfig 6517ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx RPXlite 6527ebf7443Swdenk 653e63c8ee3SwdenkRPXlite_DW_64_config \ 654e63c8ee3SwdenkRPXlite_DW_LCD_config \ 655e63c8ee3SwdenkRPXlite_DW_64_LCD_config \ 656e63c8ee3SwdenkRPXlite_DW_NVRAM_config \ 657e63c8ee3SwdenkRPXlite_DW_NVRAM_64_config \ 658e63c8ee3SwdenkRPXlite_DW_NVRAM_LCD_config \ 659e63c8ee3SwdenkRPXlite_DW_NVRAM_64_LCD_config \ 660e63c8ee3SwdenkRPXlite_DW_config: unconfig 661e63c8ee3Swdenk @ >include/config.h 662e63c8ee3Swdenk @[ -z "$(findstring _64,$@)" ] || \ 663e63c8ee3Swdenk { echo "#define RPXlite_64MHz" >>include/config.h ; \ 664e63c8ee3Swdenk echo "... with 64MHz system clock ..."; \ 665e63c8ee3Swdenk } 666e63c8ee3Swdenk @[ -z "$(findstring _LCD,$@)" ] || \ 667e63c8ee3Swdenk { echo "#define CONFIG_LCD" >>include/config.h ; \ 668e63c8ee3Swdenk echo "#define CONFIG_NEC_NL6448BC20" >>include/config.h ; \ 669e63c8ee3Swdenk echo "... with LCD display ..."; \ 670e63c8ee3Swdenk } 671e63c8ee3Swdenk @[ -z "$(findstring _NVRAM,$@)" ] || \ 672e63c8ee3Swdenk { echo "#define CFG_ENV_IS_IN_NVRAM" >>include/config.h ; \ 673e63c8ee3Swdenk echo "... with ENV in NVRAM ..."; \ 674e63c8ee3Swdenk } 675e63c8ee3Swdenk @./mkconfig -a RPXlite_DW ppc mpc8xx RPXlite_dw 676e63c8ee3Swdenk 67773a8b27cSwdenkrmu_config: unconfig 67873a8b27cSwdenk @./mkconfig $(@:_config=) ppc mpc8xx rmu 67973a8b27cSwdenk 6807ebf7443SwdenkRRvision_config: unconfig 6817ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx RRvision 6827ebf7443Swdenk 6837ebf7443SwdenkRRvision_LCD_config: unconfig 6847ebf7443Swdenk @echo "#define CONFIG_LCD" >include/config.h 6857ebf7443Swdenk @echo "#define CONFIG_SHARP_LQ104V7DS01" >>include/config.h 6867ebf7443Swdenk @./mkconfig -a RRvision ppc mpc8xx RRvision 6877ebf7443Swdenk 6887ebf7443SwdenkSM850_config : unconfig 6897ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx tqm8xx 6907ebf7443Swdenk 6917ebf7443SwdenkSPD823TS_config: unconfig 6927ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx spd8xx 6937ebf7443Swdenk 6946bdf4306SWolfgang Denkstxxtc_config: unconfig 6956bdf4306SWolfgang Denk @./mkconfig $(@:_config=) ppc mpc8xx stxxtc 6966bdf4306SWolfgang Denk 697dc7c9a1aSwdenksvm_sc8xx_config: unconfig 698dc7c9a1aSwdenk @ >include/config.h 699dc7c9a1aSwdenk @./mkconfig $(@:_config=) ppc mpc8xx svm_sc8xx 700dc7c9a1aSwdenk 7017ebf7443SwdenkSXNI855T_config: unconfig 7027ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx sixnet 7037ebf7443Swdenk 704db2f721fSwdenk# EMK MPC8xx based modules 705db2f721fSwdenkTOP860_config: unconfig 706db2f721fSwdenk @./mkconfig $(@:_config=) ppc mpc8xx top860 emk 707db2f721fSwdenk 7087ebf7443Swdenk# Play some tricks for configuration selection 709e9132ea9Swdenk# Only 855 and 860 boards may come with FEC 710e9132ea9Swdenk# and only 823 boards may have LCD support 711e9132ea9Swdenkxtract_8xx = $(subst _LCD,,$(subst _config,,$1)) 7127ebf7443Swdenk 7137ebf7443SwdenkFPS850L_config \ 714384ae025SwdenkFPS860L_config \ 715f12e568cSwdenkNSCU_config \ 7167ebf7443SwdenkTQM823L_config \ 7177ebf7443SwdenkTQM823L_LCD_config \ 7187ebf7443SwdenkTQM850L_config \ 7197ebf7443SwdenkTQM855L_config \ 7207ebf7443SwdenkTQM860L_config \ 721d126bfbdSwdenkTQM862L_config \ 722ae3af05eSwdenkTQM823M_config \ 723ae3af05eSwdenkTQM850M_config \ 724f12e568cSwdenkTQM855M_config \ 725f12e568cSwdenkTQM860M_config \ 726f12e568cSwdenkTQM862M_config \ 727c178d3daSwdenkTQM866M_config: unconfig 7287ebf7443Swdenk @ >include/config.h 7297ebf7443Swdenk @[ -z "$(findstring _LCD,$@)" ] || \ 7307ebf7443Swdenk { echo "#define CONFIG_LCD" >>include/config.h ; \ 731fd3103bbSwdenk echo "#define CONFIG_NEC_NL6448BC20" >>include/config.h ; \ 7327ebf7443Swdenk echo "... with LCD display" ; \ 7337ebf7443Swdenk } 7347ebf7443Swdenk @./mkconfig -a $(call xtract_8xx,$@) ppc mpc8xx tqm8xx 7357ebf7443Swdenk 7367ebf7443SwdenkTTTech_config: unconfig 7377ebf7443Swdenk @echo "#define CONFIG_LCD" >include/config.h 7387ebf7443Swdenk @echo "#define CONFIG_SHARP_LQ104V7DS01" >>include/config.h 7397ebf7443Swdenk @./mkconfig -a TQM823L ppc mpc8xx tqm8xx 7407ebf7443Swdenk 741ec0aee7bSwdenkuc100_config : unconfig 742f7d1572bSwdenk @./mkconfig $(@:_config=) ppc mpc8xx uc100 743f7d1572bSwdenk 744608c9146Swdenkv37_config: unconfig 745608c9146Swdenk @echo "#define CONFIG_LCD" >include/config.h 746608c9146Swdenk @echo "#define CONFIG_SHARP_LQ084V1DG21" >>include/config.h 747608c9146Swdenk @./mkconfig $(@:_config=) ppc mpc8xx v37 748608c9146Swdenk 74991e940d9Sdzuwtk_config: unconfig 75091e940d9Sdzu @echo "#define CONFIG_LCD" >include/config.h 75191e940d9Sdzu @echo "#define CONFIG_SHARP_LQ065T9DR51U" >>include/config.h 75291e940d9Sdzu @./mkconfig -a TQM823L ppc mpc8xx tqm8xx 75391e940d9Sdzu 7547ebf7443Swdenk######################################################################### 7557ebf7443Swdenk## PPC4xx Systems 7567ebf7443Swdenk######################################################################### 757e55ca7e2Swdenkxtract_4xx = $(subst _25,,$(subst _33,,$(subst _BA,,$(subst _ME,,$(subst _HI,,$(subst _config,,$1)))))) 7587ebf7443Swdenk 7597ebf7443SwdenkADCIOP_config: unconfig 7607ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx adciop esd 7617ebf7443Swdenk 7627521af1cSWolfgang DenkAP1000_config:unconfig 7637521af1cSWolfgang Denk @./mkconfig $(@:_config=) ppc ppc4xx ap1000 amirix 7647521af1cSWolfgang Denk 765c419d1d6SstroeseAPC405_config: unconfig 766c419d1d6Sstroese @./mkconfig $(@:_config=) ppc ppc4xx apc405 esd 767c419d1d6Sstroese 7687ebf7443SwdenkAR405_config: unconfig 7697ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx ar405 esd 7707ebf7443Swdenk 771549826eaSstroeseASH405_config: unconfig 772549826eaSstroese @./mkconfig $(@:_config=) ppc ppc4xx ash405 esd 773549826eaSstroese 7748a316c9bSStefan Roesebamboo_config: unconfig 7758a316c9bSStefan Roese @./mkconfig $(@:_config=) ppc ppc4xx bamboo amcc 7768a316c9bSStefan Roese 7778a316c9bSStefan Roesebubinga_config: unconfig 7788a316c9bSStefan Roese @./mkconfig $(@:_config=) ppc ppc4xx bubinga amcc 779549826eaSstroese 7807ebf7443SwdenkCANBT_config: unconfig 7817ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx canbt esd 7827ebf7443Swdenk 7831d6f9720SwdenkCATcenter_config \ 7841d6f9720SwdenkCATcenter_25_config \ 7851d6f9720SwdenkCATcenter_33_config: unconfig 78610767ccbSwdenk @ echo "/* CATcenter uses PPChameleon Model ME */" > include/config.h 78710767ccbSwdenk @ echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 1" >> include/config.h 7881d6f9720Swdenk @[ -z "$(findstring _25,$@)" ] || \ 7891d6f9720Swdenk { echo "#define CONFIG_PPCHAMELEON_CLK_25" >>include/config.h ; \ 7901d6f9720Swdenk echo "SysClk = 25MHz" ; \ 7911d6f9720Swdenk } 7921d6f9720Swdenk @[ -z "$(findstring _33,$@)" ] || \ 7931d6f9720Swdenk { echo "#define CONFIG_PPCHAMELEON_CLK_33" >>include/config.h ; \ 7941d6f9720Swdenk echo "SysClk = 33MHz" ; \ 7951d6f9720Swdenk } 79610767ccbSwdenk @./mkconfig -a $(call xtract_4xx,$@) ppc ppc4xx PPChameleonEVB dave 79710767ccbSwdenk 7987644f16fSStefan RoeseCPCI2DP_config: unconfig 7997644f16fSStefan Roese @./mkconfig $(@:_config=) ppc ppc4xx cpci2dp esd 8007644f16fSStefan Roese 8017ebf7443SwdenkCPCI405_config \ 802549826eaSstroeseCPCI4052_config \ 803c419d1d6SstroeseCPCI405DT_config \ 804549826eaSstroeseCPCI405AB_config: unconfig 8057ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx cpci405 esd 8067ebf7443Swdenk @echo "BOARD_REVISION = $(@:_config=)" >>include/config.mk 8077ebf7443Swdenk 8087ebf7443SwdenkCPCI440_config: unconfig 8097ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx cpci440 esd 8107ebf7443Swdenk 8117ebf7443SwdenkCPCIISER4_config: unconfig 8127ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx cpciiser4 esd 8137ebf7443Swdenk 8147ebf7443SwdenkCRAYL1_config: unconfig 8157ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx L1 cray 8167ebf7443Swdenk 817cd0a9de6Swdenkcsb272_config: unconfig 818cd0a9de6Swdenk @./mkconfig $(@:_config=) ppc ppc4xx csb272 819cd0a9de6Swdenk 820aa245090Swdenkcsb472_config: unconfig 821aa245090Swdenk @./mkconfig $(@:_config=) ppc ppc4xx csb472 822aa245090Swdenk 8237ebf7443SwdenkDASA_SIM_config: unconfig 8247ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx dasa_sim esd 8257ebf7443Swdenk 82672cd5aa7SstroeseDP405_config: unconfig 82772cd5aa7Sstroese @./mkconfig $(@:_config=) ppc ppc4xx dp405 esd 82872cd5aa7Sstroese 8297ebf7443SwdenkDU405_config: unconfig 8307ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx du405 esd 8317ebf7443Swdenk 8328a316c9bSStefan Roeseebony_config: unconfig 8338a316c9bSStefan Roese @./mkconfig $(@:_config=) ppc ppc4xx ebony amcc 8347ebf7443Swdenk 8357ebf7443SwdenkERIC_config: unconfig 8367ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx eric 8377ebf7443Swdenk 838d1cbe85bSwdenkEXBITGEN_config: unconfig 839d1cbe85bSwdenk @./mkconfig $(@:_config=) ppc ppc4xx exbitgen 840d1cbe85bSwdenk 841c419d1d6SstroeseG2000_config: unconfig 842c419d1d6Sstroese @./mkconfig $(@:_config=) ppc ppc4xx g2000 843c419d1d6Sstroese 844c419d1d6SstroeseHH405_config: unconfig 845c419d1d6Sstroese @./mkconfig $(@:_config=) ppc ppc4xx hh405 esd 846c419d1d6Sstroese 84772cd5aa7SstroeseHUB405_config: unconfig 84872cd5aa7Sstroese @./mkconfig $(@:_config=) ppc ppc4xx hub405 esd 84972cd5aa7Sstroese 850db01a2eaSwdenkJSE_config: unconfig 851db01a2eaSwdenk @./mkconfig $(@:_config=) ppc ppc4xx jse 852db01a2eaSwdenk 853b79316f2SStefan RoeseKAREF_config: unconfig 854b79316f2SStefan Roese @./mkconfig $(@:_config=) ppc ppc4xx karef sandburst 855b79316f2SStefan Roese 8566e7fb6eaSStefan Roeseluan_config: unconfig 8576e7fb6eaSStefan Roese @./mkconfig $(@:_config=) ppc ppc4xx luan amcc 8586e7fb6eaSStefan Roese 859b79316f2SStefan RoeseMETROBOX_config: unconfig 860b79316f2SStefan Roese @./mkconfig $(@:_config=) ppc ppc4xx metrobox sandburst 861b79316f2SStefan Roese 8627ebf7443SwdenkMIP405_config: unconfig 8637ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx mip405 mpl 8647ebf7443Swdenk 865f3e0de60SwdenkMIP405T_config: unconfig 866f3e0de60Swdenk @echo "#define CONFIG_MIP405T" >include/config.h 867f3e0de60Swdenk @echo "Enable subset config for MIP405T" 868f3e0de60Swdenk @./mkconfig -a MIP405 ppc ppc4xx mip405 mpl 869f3e0de60Swdenk 8707ebf7443SwdenkML2_config: unconfig 8717ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx ml2 8727ebf7443Swdenk 873028ab6b5Swdenkml300_config: unconfig 874028ab6b5Swdenk @./mkconfig $(@:_config=) ppc ppc4xx ml300 xilinx 875028ab6b5Swdenk 8768a316c9bSStefan Roeseocotea_config: unconfig 8778a316c9bSStefan Roese @./mkconfig $(@:_config=) ppc ppc4xx ocotea amcc 8780e6d798cSwdenk 8797ebf7443SwdenkOCRTC_config \ 8807ebf7443SwdenkORSG_config: unconfig 8817ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx ocrtc esd 8827ebf7443Swdenk 8835568e613SStefan Roesep3p440_config: unconfig 8845568e613SStefan Roese @./mkconfig $(@:_config=) ppc ppc4xx p3p440 prodrive 8855568e613SStefan Roese 8867ebf7443SwdenkPCI405_config: unconfig 8877ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx pci405 esd 8887ebf7443Swdenk 8897ebf7443SwdenkPIP405_config: unconfig 8907ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx pip405 mpl 8917ebf7443Swdenk 89272cd5aa7SstroesePLU405_config: unconfig 89372cd5aa7Sstroese @./mkconfig $(@:_config=) ppc ppc4xx plu405 esd 89472cd5aa7Sstroese 895549826eaSstroesePMC405_config: unconfig 896549826eaSstroese @./mkconfig $(@:_config=) ppc ppc4xx pmc405 esd 897549826eaSstroese 898281e00a3SwdenkPPChameleonEVB_config \ 899e55ca7e2SwdenkPPChameleonEVB_BA_25_config \ 900e55ca7e2SwdenkPPChameleonEVB_ME_25_config \ 901e55ca7e2SwdenkPPChameleonEVB_HI_25_config \ 902e55ca7e2SwdenkPPChameleonEVB_BA_33_config \ 903e55ca7e2SwdenkPPChameleonEVB_ME_33_config \ 904e55ca7e2SwdenkPPChameleonEVB_HI_33_config: unconfig 905fbe4b5cbSwdenk @ >include/config.h 9061d6f9720Swdenk @[ -z "$(findstring EVB_BA,$@)" ] || \ 907fbe4b5cbSwdenk { echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 0" >>include/config.h ; \ 908fbe4b5cbSwdenk echo "... BASIC model" ; \ 909fbe4b5cbSwdenk } 9101d6f9720Swdenk @[ -z "$(findstring EVB_ME,$@)" ] || \ 911fbe4b5cbSwdenk { echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 1" >>include/config.h ; \ 912fbe4b5cbSwdenk echo "... MEDIUM model" ; \ 913fbe4b5cbSwdenk } 9141d6f9720Swdenk @[ -z "$(findstring EVB_HI,$@)" ] || \ 915fbe4b5cbSwdenk { echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 2" >>include/config.h ; \ 916fbe4b5cbSwdenk echo "... HIGH-END model" ; \ 917fbe4b5cbSwdenk } 918e55ca7e2Swdenk @[ -z "$(findstring _25,$@)" ] || \ 919e55ca7e2Swdenk { echo "#define CONFIG_PPCHAMELEON_CLK_25" >>include/config.h ; \ 920e55ca7e2Swdenk echo "SysClk = 25MHz" ; \ 921e55ca7e2Swdenk } 922e55ca7e2Swdenk @[ -z "$(findstring _33,$@)" ] || \ 923e55ca7e2Swdenk { echo "#define CONFIG_PPCHAMELEON_CLK_33" >>include/config.h ; \ 924e55ca7e2Swdenk echo "SysClk = 33MHz" ; \ 925e55ca7e2Swdenk } 926fbe4b5cbSwdenk @./mkconfig -a $(call xtract_4xx,$@) ppc ppc4xx PPChameleonEVB dave 92712f34241Swdenk 928652a10c0Swdenksbc405_config: unconfig 929652a10c0Swdenk @./mkconfig $(@:_config=) ppc ppc4xx sbc405 930652a10c0Swdenk 9318a316c9bSStefan Roesesycamore_config: unconfig 9328a316c9bSStefan Roese @echo "Configuring for sycamore board as subset of walnut..." 9338a316c9bSStefan Roese @./mkconfig -a walnut ppc ppc4xx walnut amcc 9348a316c9bSStefan Roese 93572cd5aa7SstroeseVOH405_config: unconfig 93672cd5aa7Sstroese @./mkconfig $(@:_config=) ppc ppc4xx voh405 esd 93772cd5aa7Sstroese 938c419d1d6SstroeseVOM405_config: unconfig 939c419d1d6Sstroese @./mkconfig $(@:_config=) ppc ppc4xx vom405 esd 940c419d1d6Sstroese 941feaedfcfSStefan RoeseCMS700_config: unconfig 942feaedfcfSStefan Roese @./mkconfig $(@:_config=) ppc ppc4xx cms700 esd 943feaedfcfSStefan Roese 9447ebf7443SwdenkW7OLMC_config \ 9457ebf7443SwdenkW7OLMG_config: unconfig 9467ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx w7o 9477ebf7443Swdenk 9488a316c9bSStefan Roesewalnut_config: unconfig 9498a316c9bSStefan Roese @./mkconfig $(@:_config=) ppc ppc4xx walnut amcc 9507ebf7443Swdenk 951c419d1d6SstroeseWUH405_config: unconfig 952c419d1d6Sstroese @./mkconfig $(@:_config=) ppc ppc4xx wuh405 esd 953c419d1d6Sstroese 954ba56f625SwdenkXPEDITE1K_config: unconfig 955ba56f625Swdenk @./mkconfig $(@:_config=) ppc ppc4xx xpedite1k 956ba56f625Swdenk 9578a316c9bSStefan Roeseyosemite_config: unconfig 9588a316c9bSStefan Roese @./mkconfig $(@:_config=) ppc ppc4xx yosemite amcc 9598a316c9bSStefan Roese 9608a316c9bSStefan Roeseyellowstone_config: unconfig 9618a316c9bSStefan Roese @./mkconfig $(@:_config=) ppc ppc4xx yellowstone amcc 9628a316c9bSStefan Roese 9637ebf7443Swdenk######################################################################### 964983fda83Swdenk## MPC8220 Systems 965983fda83Swdenk######################################################################### 966dc17fb6dSWolfgang Denk 967dc17fb6dSWolfgang DenkAlaska8220_config \ 968dc17fb6dSWolfgang DenkYukon8220_config: unconfig 969983fda83Swdenk @./mkconfig $(@:_config=) ppc mpc8220 alaska 970983fda83Swdenk 97112b43d51Swdenksorcery_config: unconfig 97212b43d51Swdenk @./mkconfig $(@:_config=) ppc mpc8220 sorcery 97312b43d51Swdenk 974983fda83Swdenk######################################################################### 9757ebf7443Swdenk## MPC824x Systems 9767ebf7443Swdenk######################################################################### 977efa329cbSwdenkxtract_82xx = $(subst _BIGFLASH,,$(subst _ROMBOOT,,$(subst _L2,,$(subst _266MHz,,$(subst _300MHz,,$(subst _config,,$1)))))) 9783bac3513Swdenk 9790332990bSwdenkA3000_config: unconfig 9800332990bSwdenk @./mkconfig $(@:_config=) ppc mpc824x a3000 9810332990bSwdenk 9828e6f1a8eSWolfgang Denkbarco_config: unconfig 9838e6f1a8eSWolfgang Denk @./mkconfig $(@:_config=) ppc mpc824x barco 9848e6f1a8eSWolfgang Denk 9857ebf7443SwdenkBMW_config: unconfig 9867ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc824x bmw 9877ebf7443Swdenk 9883bac3513SwdenkCPC45_config \ 9893bac3513SwdenkCPC45_ROMBOOT_config: unconfig 9903bac3513Swdenk @./mkconfig $(call xtract_82xx,$@) ppc mpc824x cpc45 9913bac3513Swdenk @cd ./include ; \ 9923bac3513Swdenk if [ "$(findstring _ROMBOOT_,$@)" ] ; then \ 9933bac3513Swdenk echo "CONFIG_BOOT_ROM = y" >> config.mk ; \ 9943bac3513Swdenk echo "... booting from 8-bit flash" ; \ 9953bac3513Swdenk else \ 9963bac3513Swdenk echo "CONFIG_BOOT_ROM = n" >> config.mk ; \ 9973bac3513Swdenk echo "... booting from 64-bit flash" ; \ 9983bac3513Swdenk fi; \ 9993bac3513Swdenk echo "export CONFIG_BOOT_ROM" >> config.mk; 10003bac3513Swdenk 10017ebf7443SwdenkCU824_config: unconfig 10027ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc824x cu824 10037ebf7443Swdenk 10047abf0c58Swdenkdebris_config: unconfig 10057abf0c58Swdenk @./mkconfig $(@:_config=) ppc mpc824x debris etin 10067abf0c58Swdenk 100780885a9dSwdenkeXalion_config: unconfig 100880885a9dSwdenk @./mkconfig $(@:_config=) ppc mpc824x eXalion 100980885a9dSwdenk 1010756f586aSwdenkHIDDEN_DRAGON_config: unconfig 1011756f586aSwdenk @./mkconfig $(@:_config=) ppc mpc824x hidden_dragon 1012756f586aSwdenk 10137ebf7443SwdenkMOUSSE_config: unconfig 10147ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc824x mousse 10157ebf7443Swdenk 10167ebf7443SwdenkMUSENKI_config: unconfig 10177ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc824x musenki 10187ebf7443Swdenk 1019b4676a25SwdenkMVBLUE_config: unconfig 1020b4676a25Swdenk @./mkconfig $(@:_config=) ppc mpc824x mvblue 1021b4676a25Swdenk 10227ebf7443SwdenkOXC_config: unconfig 10237ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc824x oxc 10247ebf7443Swdenk 10257ebf7443SwdenkPN62_config: unconfig 10267ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc824x pn62 10277ebf7443Swdenk 10287ebf7443SwdenkSandpoint8240_config: unconfig 10297ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc824x sandpoint 10307ebf7443Swdenk 10317ebf7443SwdenkSandpoint8245_config: unconfig 10327ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc824x sandpoint 10337ebf7443Swdenk 1034466b7410Swdenksbc8240_config: unconfig 1035466b7410Swdenk @./mkconfig $(@:_config=) ppc mpc824x sbc8240 1036466b7410Swdenk 1037d1cbe85bSwdenkSL8245_config: unconfig 1038d1cbe85bSwdenk @./mkconfig $(@:_config=) ppc mpc824x sl8245 1039d1cbe85bSwdenk 10407ebf7443Swdenkutx8245_config: unconfig 10417ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc824x utx8245 10427ebf7443Swdenk 10437ebf7443Swdenk######################################################################### 10447ebf7443Swdenk## MPC8260 Systems 10457ebf7443Swdenk######################################################################### 10467ebf7443Swdenk 104754387ac9Swdenkatc_config: unconfig 104854387ac9Swdenk @./mkconfig $(@:_config=) ppc mpc8260 atc 104954387ac9Swdenk 10507ebf7443Swdenkcogent_mpc8260_config: unconfig 10517ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8260 cogent 10527ebf7443Swdenk 10537ebf7443SwdenkCPU86_config \ 10547ebf7443SwdenkCPU86_ROMBOOT_config: unconfig 10557ebf7443Swdenk @./mkconfig $(call xtract_82xx,$@) ppc mpc8260 cpu86 10567ebf7443Swdenk @cd ./include ; \ 10577ebf7443Swdenk if [ "$(findstring _ROMBOOT_,$@)" ] ; then \ 10587ebf7443Swdenk echo "CONFIG_BOOT_ROM = y" >> config.mk ; \ 10597ebf7443Swdenk echo "... booting from 8-bit flash" ; \ 10607ebf7443Swdenk else \ 10617ebf7443Swdenk echo "CONFIG_BOOT_ROM = n" >> config.mk ; \ 10627ebf7443Swdenk echo "... booting from 64-bit flash" ; \ 10637ebf7443Swdenk fi; \ 10647ebf7443Swdenk echo "export CONFIG_BOOT_ROM" >> config.mk; 10657ebf7443Swdenk 1066384cc687SwdenkCPU87_config \ 1067384cc687SwdenkCPU87_ROMBOOT_config: unconfig 1068384cc687Swdenk @./mkconfig $(call xtract_82xx,$@) ppc mpc8260 cpu87 1069384cc687Swdenk @cd ./include ; \ 1070384cc687Swdenk if [ "$(findstring _ROMBOOT_,$@)" ] ; then \ 1071384cc687Swdenk echo "CONFIG_BOOT_ROM = y" >> config.mk ; \ 1072384cc687Swdenk echo "... booting from 8-bit flash" ; \ 1073384cc687Swdenk else \ 1074384cc687Swdenk echo "CONFIG_BOOT_ROM = n" >> config.mk ; \ 1075384cc687Swdenk echo "... booting from 64-bit flash" ; \ 1076384cc687Swdenk fi; \ 1077384cc687Swdenk echo "export CONFIG_BOOT_ROM" >> config.mk; 1078384cc687Swdenk 1079f901a83bSWolfgang Denkep8248_config \ 1080f901a83bSWolfgang Denkep8248E_config : unconfig 1081f901a83bSWolfgang Denk @./mkconfig ep8248 ppc mpc8260 ep8248 1082f901a83bSWolfgang Denk 10837ebf7443Swdenkep8260_config: unconfig 10847ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8260 ep8260 10857ebf7443Swdenk 10867ebf7443Swdenkgw8260_config: unconfig 10877ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8260 gw8260 10887ebf7443Swdenk 10897ebf7443Swdenkhymod_config: unconfig 10907ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8260 hymod 10917ebf7443Swdenk 10929dd41a7bSwdenkIDS8247_config: unconfig 10939dd41a7bSwdenk @./mkconfig $(@:_config=) ppc mpc8260 ids8247 10949dd41a7bSwdenk 10957ebf7443SwdenkIPHASE4539_config: unconfig 10967ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8260 iphase4539 10977ebf7443Swdenk 1098c3c7f861SwdenkISPAN_config \ 1099c3c7f861SwdenkISPAN_REVB_config: unconfig 1100c3c7f861Swdenk @if [ "$(findstring _REVB_,$@)" ] ; then \ 1101c3c7f861Swdenk echo "#define CFG_REV_B" > include/config.h ; \ 1102c3c7f861Swdenk fi 1103c3c7f861Swdenk @./mkconfig -a ISPAN ppc mpc8260 ispan 1104c3c7f861Swdenk 110504a85b3bSwdenkMPC8260ADS_config \ 1106901787d6SwdenkMPC8260ADS_lowboot_config \ 110704a85b3bSwdenkMPC8260ADS_33MHz_config \ 1108901787d6SwdenkMPC8260ADS_33MHz_lowboot_config \ 110904a85b3bSwdenkMPC8260ADS_40MHz_config \ 1110901787d6SwdenkMPC8260ADS_40MHz_lowboot_config \ 111104a85b3bSwdenkMPC8272ADS_config \ 1112901787d6SwdenkMPC8272ADS_lowboot_config \ 111304a85b3bSwdenkPQ2FADS_config \ 1114901787d6SwdenkPQ2FADS_lowboot_config \ 111504a85b3bSwdenkPQ2FADS-VR_config \ 1116901787d6SwdenkPQ2FADS-VR_lowboot_config \ 111704a85b3bSwdenkPQ2FADS-ZU_config \ 1118901787d6SwdenkPQ2FADS-ZU_lowboot_config \ 111904a85b3bSwdenkPQ2FADS-ZU_66MHz_config \ 1120901787d6SwdenkPQ2FADS-ZU_66MHz_lowboot_config \ 112104a85b3bSwdenk : unconfig 112204a85b3bSwdenk $(if $(findstring PQ2FADS,$@), \ 112304a85b3bSwdenk @echo "#define CONFIG_ADSTYPE CFG_PQ2FADS" > include/config.h, \ 112404a85b3bSwdenk @echo "#define CONFIG_ADSTYPE CFG_"$(subst MPC,,$(word 1,$(subst _, ,$@))) > include/config.h) 112504a85b3bSwdenk $(if $(findstring MHz,$@), \ 112604a85b3bSwdenk @echo "#define CONFIG_8260_CLKIN" $(subst MHz,,$(word 2,$(subst _, ,$@)))"000000" >> include/config.h, \ 112704a85b3bSwdenk $(if $(findstring VR,$@), \ 112804a85b3bSwdenk @echo "#define CONFIG_8260_CLKIN 66000000" >> include/config.h)) 1129901787d6Swdenk @[ -z "$(findstring lowboot_,$@)" ] || \ 1130901787d6Swdenk { echo "TEXT_BASE = 0xFF800000" >board/mpc8260ads/config.tmp ; \ 1131901787d6Swdenk echo "... with lowboot configuration" ; \ 1132901787d6Swdenk } 113304a85b3bSwdenk @./mkconfig -a MPC8260ADS ppc mpc8260 mpc8260ads 11347ebf7443Swdenk 1135db2f721fSwdenkMPC8266ADS_config: unconfig 1136db2f721fSwdenk @./mkconfig $(@:_config=) ppc mpc8260 mpc8266ads 1137db2f721fSwdenk 1138efa329cbSwdenk# PM825/PM826 default configuration: small (= 8 MB) Flash / boot from 64-bit flash 113910f67017SwdenkPM825_config \ 1140efa329cbSwdenkPM825_ROMBOOT_config \ 1141efa329cbSwdenkPM825_BIGFLASH_config \ 1142efa329cbSwdenkPM825_ROMBOOT_BIGFLASH_config \ 11437ebf7443SwdenkPM826_config \ 1144efa329cbSwdenkPM826_ROMBOOT_config \ 1145efa329cbSwdenkPM826_BIGFLASH_config \ 1146efa329cbSwdenkPM826_ROMBOOT_BIGFLASH_config: unconfig 1147efa329cbSwdenk @if [ "$(findstring PM825_,$@)" ] ; then \ 1148efa329cbSwdenk echo "#define CONFIG_PCI" >include/config.h ; \ 11497ebf7443Swdenk else \ 1150efa329cbSwdenk >include/config.h ; \ 1151efa329cbSwdenk fi 1152efa329cbSwdenk @if [ "$(findstring _ROMBOOT_,$@)" ] ; then \ 1153efa329cbSwdenk echo "... booting from 8-bit flash" ; \ 1154efa329cbSwdenk echo "#define CONFIG_BOOT_ROM" >>include/config.h ; \ 1155efa329cbSwdenk echo "TEXT_BASE = 0xFF800000" >board/pm826/config.tmp ; \ 1156efa329cbSwdenk if [ "$(findstring _BIGFLASH_,$@)" ] ; then \ 1157efa329cbSwdenk echo "... with 32 MB Flash" ; \ 1158efa329cbSwdenk echo "#define CONFIG_FLASH_32MB" >>include/config.h ; \ 11597ebf7443Swdenk fi; \ 1160efa329cbSwdenk else \ 1161efa329cbSwdenk echo "... booting from 64-bit flash" ; \ 1162efa329cbSwdenk if [ "$(findstring _BIGFLASH_,$@)" ] ; then \ 1163efa329cbSwdenk echo "... with 32 MB Flash" ; \ 1164efa329cbSwdenk echo "#define CONFIG_FLASH_32MB" >>include/config.h ; \ 1165efa329cbSwdenk echo "TEXT_BASE = 0x40000000" >board/pm826/config.tmp ; \ 1166efa329cbSwdenk else \ 1167efa329cbSwdenk echo "TEXT_BASE = 0xFF000000" >board/pm826/config.tmp ; \ 1168efa329cbSwdenk fi; \ 1169efa329cbSwdenk fi 1170efa329cbSwdenk @./mkconfig -a PM826 ppc mpc8260 pm826 1171efa329cbSwdenk 1172efa329cbSwdenkPM828_config \ 1173efa329cbSwdenkPM828_PCI_config \ 1174efa329cbSwdenkPM828_ROMBOOT_config \ 1175efa329cbSwdenkPM828_ROMBOOT_PCI_config: unconfig 1176efa329cbSwdenk @if [ -z "$(findstring _PCI_,$@)" ] ; then \ 1177efa329cbSwdenk echo "#define CONFIG_PCI" >>include/config.h ; \ 1178efa329cbSwdenk echo "... with PCI enabled" ; \ 1179efa329cbSwdenk else \ 1180efa329cbSwdenk >include/config.h ; \ 1181efa329cbSwdenk fi 1182efa329cbSwdenk @if [ "$(findstring _ROMBOOT_,$@)" ] ; then \ 1183efa329cbSwdenk echo "... booting from 8-bit flash" ; \ 1184efa329cbSwdenk echo "#define CONFIG_BOOT_ROM" >>include/config.h ; \ 1185efa329cbSwdenk echo "TEXT_BASE = 0xFF800000" >board/pm826/config.tmp ; \ 1186efa329cbSwdenk fi 1187efa329cbSwdenk @./mkconfig -a PM828 ppc mpc8260 pm828 11887ebf7443Swdenk 11897ebf7443Swdenkppmc8260_config: unconfig 11907ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8260 ppmc8260 11917ebf7443Swdenk 11928b0bfc68SwdenkRattler8248_config \ 11938b0bfc68SwdenkRattler_config: unconfig 11948b0bfc68Swdenk $(if $(findstring 8248,$@), \ 11958b0bfc68Swdenk @echo "#define CONFIG_MPC8248" > include/config.h) 11968b0bfc68Swdenk @./mkconfig -a Rattler ppc mpc8260 rattler 11978b0bfc68Swdenk 11987ebf7443SwdenkRPXsuper_config: unconfig 11997ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8260 rpxsuper 12007ebf7443Swdenk 12017ebf7443Swdenkrsdproto_config: unconfig 12027ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8260 rsdproto 12037ebf7443Swdenk 12047ebf7443Swdenksacsng_config: unconfig 12057ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8260 sacsng 12067ebf7443Swdenk 12077ebf7443Swdenksbc8260_config: unconfig 12087ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8260 sbc8260 12097ebf7443Swdenk 12107ebf7443SwdenkSCM_config: unconfig 12117ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8260 SCM siemens 12127ebf7443Swdenk 121327b207fdSwdenkTQM8255_AA_config \ 121427b207fdSwdenkTQM8260_AA_config \ 121527b207fdSwdenkTQM8260_AB_config \ 121627b207fdSwdenkTQM8260_AC_config \ 121727b207fdSwdenkTQM8260_AD_config \ 121827b207fdSwdenkTQM8260_AE_config \ 121927b207fdSwdenkTQM8260_AF_config \ 122027b207fdSwdenkTQM8260_AG_config \ 122127b207fdSwdenkTQM8260_AH_config \ 12221f62bc2dSWolfgang DenkTQM8260_AI_config \ 122327b207fdSwdenkTQM8265_AA_config: unconfig 122427b207fdSwdenk @case "$@" in \ 122527b207fdSwdenk TQM8255_AA_config) CTYPE=MPC8255; CFREQ=300; CACHE=no; BMODE=8260;; \ 122627b207fdSwdenk TQM8260_AA_config) CTYPE=MPC8260; CFREQ=200; CACHE=no; BMODE=8260;; \ 122727b207fdSwdenk TQM8260_AB_config) CTYPE=MPC8260; CFREQ=200; CACHE=yes; BMODE=60x;; \ 122827b207fdSwdenk TQM8260_AC_config) CTYPE=MPC8260; CFREQ=200; CACHE=yes; BMODE=60x;; \ 122927b207fdSwdenk TQM8260_AD_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=60x;; \ 123027b207fdSwdenk TQM8260_AE_config) CTYPE=MPC8260; CFREQ=266; CACHE=no; BMODE=8260;; \ 123127b207fdSwdenk TQM8260_AF_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=60x;; \ 123227b207fdSwdenk TQM8260_AG_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=8260;; \ 123327b207fdSwdenk TQM8260_AH_config) CTYPE=MPC8260; CFREQ=300; CACHE=yes; BMODE=60x;; \ 12341f62bc2dSWolfgang Denk TQM8260_AI_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=60x;; \ 123527b207fdSwdenk TQM8265_AA_config) CTYPE=MPC8265; CFREQ=300; CACHE=no; BMODE=60x;; \ 123627b207fdSwdenk esac; \ 123727b207fdSwdenk >include/config.h ; \ 123827b207fdSwdenk if [ "$${CTYPE}" != "MPC8260" ] ; then \ 123927b207fdSwdenk echo "#define CONFIG_$${CTYPE}" >>include/config.h ; \ 124027b207fdSwdenk fi; \ 124127b207fdSwdenk echo "#define CONFIG_$${CFREQ}MHz" >>include/config.h ; \ 124227b207fdSwdenk echo "... with $${CFREQ}MHz system clock" ; \ 124327b207fdSwdenk if [ "$${CACHE}" == "yes" ] ; then \ 12447ebf7443Swdenk echo "#define CONFIG_L2_CACHE" >>include/config.h ; \ 124527b207fdSwdenk echo "... with L2 Cache support" ; \ 12467ebf7443Swdenk else \ 12477ebf7443Swdenk echo "#undef CONFIG_L2_CACHE" >>include/config.h ; \ 12487ebf7443Swdenk echo "... without L2 Cache support" ; \ 124927b207fdSwdenk fi; \ 125027b207fdSwdenk if [ "$${BMODE}" == "60x" ] ; then \ 125127b207fdSwdenk echo "#define CONFIG_BUSMODE_60x" >>include/config.h ; \ 125227b207fdSwdenk echo "... with 60x Bus Mode" ; \ 125327b207fdSwdenk else \ 125427b207fdSwdenk echo "#undef CONFIG_BUSMODE_60x" >>include/config.h ; \ 125527b207fdSwdenk echo "... without 60x Bus Mode" ; \ 12567ebf7443Swdenk fi 12574532cb69Swdenk @./mkconfig -a TQM8260 ppc mpc8260 tqm8260 12587ebf7443Swdenk 1259ba91e26aSwdenkVoVPN-GW_66MHz_config \ 1260ba91e26aSwdenkVoVPN-GW_100MHz_config: unconfig 1261ba91e26aSwdenk @echo "#define CONFIG_CLKIN_$(word 2,$(subst _, ,$@))" > include/config.h 1262ba91e26aSwdenk @./mkconfig -a VoVPN-GW ppc mpc8260 vovpn-gw funkwerk 1263ba91e26aSwdenk 126454387ac9SwdenkZPC1900_config: unconfig 126554387ac9Swdenk @./mkconfig $(@:_config=) ppc mpc8260 zpc1900 12667aa78614Swdenk 12674e5ca3ebSwdenk#======================================================================== 12684e5ca3ebSwdenk# M68K 12694e5ca3ebSwdenk#======================================================================== 12704e5ca3ebSwdenk######################################################################### 12714e5ca3ebSwdenk## Coldfire 12724e5ca3ebSwdenk######################################################################### 12734e5ca3ebSwdenk 12747481266eSWolfgang Denkcobra5272_config : unconfig 12757481266eSWolfgang Denk @./mkconfig $(@:_config=) m68k mcf52x2 cobra5272 12767481266eSWolfgang Denk 12774e5ca3ebSwdenkM5272C3_config : unconfig 1278bf9e3b38Swdenk @./mkconfig $(@:_config=) m68k mcf52x2 m5272c3 12794e5ca3ebSwdenk 12804e5ca3ebSwdenkM5282EVB_config : unconfig 1281bf9e3b38Swdenk @./mkconfig $(@:_config=) m68k mcf52x2 m5282evb 12824e5ca3ebSwdenk 1283c419d1d6SstroeseTASREG_config : unconfig 1284c419d1d6Sstroese @./mkconfig $(@:_config=) m68k mcf52x2 tasreg esd 1285c419d1d6Sstroese 12867ebf7443Swdenk######################################################################### 1287f046ccd1SEran Liberty## MPC83xx Systems 1288f046ccd1SEran Liberty######################################################################### 1289f046ccd1SEran Liberty 1290f046ccd1SEran LibertyMPC8349ADS_config: unconfig 1291f046ccd1SEran Liberty @./mkconfig $(@:_config=) ppc mpc83xx mpc8349ads 1292f046ccd1SEran Liberty 1293e6f2e902SMarian BalakowiczTQM834x_config: unconfig 1294e6f2e902SMarian Balakowicz @./mkconfig $(@:_config=) ppc mpc83xx tqm834x 1295e6f2e902SMarian Balakowicz 1296f046ccd1SEran Liberty######################################################################### 129742d1f039Swdenk## MPC85xx Systems 129842d1f039Swdenk######################################################################### 129942d1f039Swdenk 130042d1f039SwdenkMPC8540ADS_config: unconfig 130142d1f039Swdenk @./mkconfig $(@:_config=) ppc mpc85xx mpc8540ads 130242d1f039Swdenk 1303b0e32949SLunsheng WangMPC8540EVAL_config \ 1304b0e32949SLunsheng WangMPC8540EVAL_33_config \ 1305b0e32949SLunsheng WangMPC8540EVAL_66_config \ 1306b0e32949SLunsheng WangMPC8540EVAL_33_slave_config \ 1307b0e32949SLunsheng WangMPC8540EVAL_66_slave_config: unconfig 1308b0e32949SLunsheng Wang @echo "" >include/config.h ; \ 1309b0e32949SLunsheng Wang if [ "$(findstring _33_,$@)" ] ; then \ 1310b0e32949SLunsheng Wang echo -n "... 33 MHz PCI" ; \ 1311b0e32949SLunsheng Wang else \ 1312b0e32949SLunsheng Wang echo "#define CONFIG_SYSCLK_66M" >>include/config.h ; \ 1313b0e32949SLunsheng Wang echo -n "... 66 MHz PCI" ; \ 1314b0e32949SLunsheng Wang fi ; \ 1315b0e32949SLunsheng Wang if [ "$(findstring _slave_,$@)" ] ; then \ 1316b0e32949SLunsheng Wang echo "#define CONFIG_PCI_SLAVE" >>include/config.h ; \ 1317b0e32949SLunsheng Wang echo " slave" ; \ 1318b0e32949SLunsheng Wang else \ 1319b0e32949SLunsheng Wang echo " host" ; \ 1320b0e32949SLunsheng Wang fi 1321b0e32949SLunsheng Wang @./mkconfig -a MPC8540EVAL ppc mpc85xx mpc8540eval 1322b0e32949SLunsheng Wang 132342d1f039SwdenkMPC8560ADS_config: unconfig 132442d1f039Swdenk @./mkconfig $(@:_config=) ppc mpc85xx mpc8560ads 132542d1f039Swdenk 132603f5c550SwdenkMPC8541CDS_config: unconfig 132703f5c550Swdenk @./mkconfig $(@:_config=) ppc mpc85xx mpc8541cds cds 132803f5c550Swdenk 1329d9b94f28SJon LoeligerMPC8548CDS_config: unconfig 1330d9b94f28SJon Loeliger @./mkconfig $(@:_config=) ppc mpc85xx mpc8548cds cds 1331d9b94f28SJon Loeliger 133203f5c550SwdenkMPC8555CDS_config: unconfig 133303f5c550Swdenk @./mkconfig $(@:_config=) ppc mpc85xx mpc8555cds cds 13347abf0c58Swdenk 1335384cc687SwdenkPM854_config: unconfig 1336384cc687Swdenk @./mkconfig $(@:_config=) ppc mpc85xx pm854 1337384cc687Swdenk 1338b20d0032SWolfgang DenkPM856_config: unconfig 1339b20d0032SWolfgang Denk @./mkconfig $(@:_config=) ppc mpc85xx pm856 1340b20d0032SWolfgang Denk 1341c15f3120Swdenksbc8540_config \ 1342c15f3120Swdenksbc8540_33_config \ 1343c15f3120Swdenksbc8540_66_config: unconfig 1344c15f3120Swdenk @if [ "$(findstring _66_,$@)" ] ; then \ 1345c15f3120Swdenk echo "#define CONFIG_PCI_66" >>include/config.h ; \ 1346c15f3120Swdenk echo "... 66 MHz PCI" ; \ 1347c15f3120Swdenk else \ 1348c15f3120Swdenk >include/config.h ; \ 1349c15f3120Swdenk echo "... 33 MHz PCI" ; \ 1350c15f3120Swdenk fi 1351c15f3120Swdenk @./mkconfig -a SBC8540 ppc mpc85xx sbc8560 1352c15f3120Swdenk 1353466b7410Swdenksbc8560_config \ 1354466b7410Swdenksbc8560_33_config \ 1355466b7410Swdenksbc8560_66_config: unconfig 13568b07a110Swdenk @if [ "$(findstring _66_,$@)" ] ; then \ 13578b07a110Swdenk echo "#define CONFIG_PCI_66" >>include/config.h ; \ 13588b07a110Swdenk echo "... 66 MHz PCI" ; \ 13598b07a110Swdenk else \ 13608b07a110Swdenk >include/config.h ; \ 13618b07a110Swdenk echo "... 33 MHz PCI" ; \ 13628b07a110Swdenk fi 1363466b7410Swdenk @./mkconfig -a sbc8560 ppc mpc85xx sbc8560 13648b07a110Swdenk 136503f5c550Swdenkstxgp3_config: unconfig 136603f5c550Swdenk @./mkconfig $(@:_config=) ppc mpc85xx stxgp3 136703f5c550Swdenk 1368d96f41e0SStefan RoeseTQM8540_config \ 1369d96f41e0SStefan RoeseTQM8541_config \ 1370d96f41e0SStefan RoeseTQM8555_config \ 1371f5c5ef4aSwdenkTQM8560_config: unconfig 1372a889bd27SWolfgang Denk @CTYPE=$(subst TQM,,$(@:_config=)); \ 1373d96f41e0SStefan Roese >include/config.h ; \ 1374d96f41e0SStefan Roese echo "... TQM"$${CTYPE}; \ 1375d96f41e0SStefan Roese echo "#define CONFIG_MPC$${CTYPE}">>include/config.h; \ 1376d96f41e0SStefan Roese echo "#define CONFIG_TQM$${CTYPE}">>include/config.h; \ 1377d96f41e0SStefan Roese echo "#define CONFIG_HOSTNAME tqm$${CTYPE}">>include/config.h; \ 1378d96f41e0SStefan Roese echo "#define CONFIG_BOARDNAME \"TQM$${CTYPE}\"">>include/config.h; \ 1379d96f41e0SStefan Roese echo "#define CFG_BOOTFILE \"bootfile=/tftpboot/tqm$${CTYPE}/uImage\0\"">>include/config.h 1380d96f41e0SStefan Roese @./mkconfig -a TQM85xx ppc mpc85xx tqm85xx 1381f5c5ef4aSwdenk 138242d1f039Swdenk######################################################################### 13837ebf7443Swdenk## 74xx/7xx Systems 13847ebf7443Swdenk######################################################################### 13857ebf7443Swdenk 1386c7de829cSwdenkAmigaOneG3SE_config: unconfig 1387c7de829cSwdenk @./mkconfig $(@:_config=) ppc 74xx_7xx AmigaOneG3SE MAI 1388c7de829cSwdenk 138915647dc7SwdenkBAB7xx_config: unconfig 139015647dc7Swdenk @./mkconfig $(@:_config=) ppc 74xx_7xx bab7xx eltec 139115647dc7Swdenk 1392c419d1d6SstroeseCPCI750_config: unconfig 1393c419d1d6Sstroese @./mkconfig CPCI750 ppc 74xx_7xx cpci750 esd 1394c419d1d6Sstroese 13953a473b2aSwdenkDB64360_config: unconfig 13963a473b2aSwdenk @./mkconfig DB64360 ppc 74xx_7xx db64360 Marvell 13973a473b2aSwdenk 13983a473b2aSwdenkDB64460_config: unconfig 13993a473b2aSwdenk @./mkconfig DB64460 ppc 74xx_7xx db64460 Marvell 14003a473b2aSwdenk 140115647dc7SwdenkELPPC_config: unconfig 140215647dc7Swdenk @./mkconfig $(@:_config=) ppc 74xx_7xx elppc eltec 140315647dc7Swdenk 14047ebf7443SwdenkEVB64260_config \ 14057ebf7443SwdenkEVB64260_750CX_config: unconfig 14067ebf7443Swdenk @./mkconfig EVB64260 ppc 74xx_7xx evb64260 14077ebf7443Swdenk 140815647dc7SwdenkP3G4_config: unconfig 14097ebf7443Swdenk @./mkconfig $(@:_config=) ppc 74xx_7xx evb64260 14107ebf7443Swdenk 14117ebf7443SwdenkPCIPPC2_config \ 14127ebf7443SwdenkPCIPPC6_config: unconfig 14137ebf7443Swdenk @./mkconfig $(@:_config=) ppc 74xx_7xx pcippc2 14147ebf7443Swdenk 141515647dc7SwdenkZUMA_config: unconfig 141612f34241Swdenk @./mkconfig $(@:_config=) ppc 74xx_7xx evb64260 141712f34241Swdenk 14187ebf7443Swdenk#======================================================================== 14197ebf7443Swdenk# ARM 14207ebf7443Swdenk#======================================================================== 14217ebf7443Swdenk######################################################################### 14227ebf7443Swdenk## StrongARM Systems 14237ebf7443Swdenk######################################################################### 14247ebf7443Swdenk 1425ea66bc88Swdenkassabet_config : unconfig 1426ea66bc88Swdenk @./mkconfig $(@:_config=) arm sa1100 assabet 1427ea66bc88Swdenk 14287ebf7443Swdenkdnp1110_config : unconfig 14297ebf7443Swdenk @./mkconfig $(@:_config=) arm sa1100 dnp1110 14307ebf7443Swdenk 1431855a496fSwdenkgcplus_config : unconfig 1432855a496fSwdenk @./mkconfig $(@:_config=) arm sa1100 gcplus 1433855a496fSwdenk 1434855a496fSwdenklart_config : unconfig 1435855a496fSwdenk @./mkconfig $(@:_config=) arm sa1100 lart 1436855a496fSwdenk 14377ebf7443Swdenkshannon_config : unconfig 14387ebf7443Swdenk @./mkconfig $(@:_config=) arm sa1100 shannon 14397ebf7443Swdenk 14407ebf7443Swdenk######################################################################### 14412e5983d2Swdenk## ARM92xT Systems 14427ebf7443Swdenk######################################################################### 14437ebf7443Swdenk 1444b0639ca3Swdenkxtract_trab = $(subst _bigram,,$(subst _bigflash,,$(subst _old,,$(subst _config,,$1)))) 144543d9616cSwdenk 14463ff02c27Swdenkxtract_omap1610xxx = $(subst _cs0boot,,$(subst _cs3boot,,$(subst _cs_autoboot,,$(subst _config,,$1)))) 144763e73c9aSwdenk 1448a56bd922Swdenkxtract_omap730p2 = $(subst _cs0boot,,$(subst _cs3boot,, $(subst _config,,$1))) 1449a56bd922Swdenk 1450a85f9f21Swdenkat91rm9200dk_config : unconfig 1451a85f9f21Swdenk @./mkconfig $(@:_config=) arm arm920t at91rm9200dk NULL at91rm9200 1452a85f9f21Swdenk 1453a85f9f21Swdenkcmc_pu2_config : unconfig 1454a85f9f21Swdenk @./mkconfig $(@:_config=) arm arm920t cmc_pu2 NULL at91rm9200 1455a85f9f21Swdenk 1456645da510SWolfgang Denkcsb637_config : unconfig 1457645da510SWolfgang Denk @./mkconfig $(@:_config=) arm arm920t csb637 NULL at91rm9200 1458645da510SWolfgang Denk 14590e4018d2SWolfgang Denkmp2usb_config : unconfig 14600e4018d2SWolfgang Denk @./mkconfig $(@:_config=) arm arm920t mp2usb NULL at91rm9200 14610e4018d2SWolfgang Denk 146287cb6862SWolfgang Denk 146374f4304eSWolfgang Denk######################################################################## 146487cb6862SWolfgang Denk## ARM Integrator boards - see doc/README-integrator for more info. 146587cb6862SWolfgang Denkintegratorap_config \ 146687cb6862SWolfgang Denkap_config \ 146787cb6862SWolfgang Denkap966_config \ 146887cb6862SWolfgang Denkap922_config \ 146987cb6862SWolfgang Denkap922_XA10_config \ 147087cb6862SWolfgang Denkap7_config \ 147187cb6862SWolfgang Denkap720t_config \ 147287cb6862SWolfgang Denkap920t_config \ 147387cb6862SWolfgang Denkap926ejs_config \ 147487cb6862SWolfgang Denkap946es_config: unconfig 147596782c63SWolfgang Denk @board/integratorap/split_by_variant.sh $@ 14763d3befa7Swdenk 147787cb6862SWolfgang Denkintegratorcp_config \ 147887cb6862SWolfgang Denkcp_config \ 147987cb6862SWolfgang Denkcp920t_config \ 148087cb6862SWolfgang Denkcp926ejs_config \ 148187cb6862SWolfgang Denkcp946es_config \ 148287cb6862SWolfgang Denkcp1136_config \ 148387cb6862SWolfgang Denkcp966_config \ 148487cb6862SWolfgang Denkcp922_config \ 148587cb6862SWolfgang Denkcp922_XA10_config \ 148687cb6862SWolfgang Denkcp1026_config: unconfig 148796782c63SWolfgang Denk @board/integratorcp/split_by_variant.sh $@ 148825d6712aSwdenk 148999b0d285SWolfgang Denkkb9202_config : unconfig 149099b0d285SWolfgang Denk @./mkconfig $(@:_config=) arm arm920t kb9202 NULL at91rm9200 149199b0d285SWolfgang Denk 1492f832d8a1Swdenklpd7a400_config \ 1493f832d8a1Swdenklpd7a404_config: unconfig 14942d24a3a7Swdenk @./mkconfig $(@:_config=) arm lh7a40x lpd7a40x 14953d3befa7Swdenk 1496281e00a3Swdenkmx1ads_config : unconfig 14971d9f4105Swdenk @./mkconfig $(@:_config=) arm arm920t mx1ads NULL imx 1498281e00a3Swdenk 1499281e00a3Swdenkmx1fs2_config : unconfig 15001d9f4105Swdenk @./mkconfig $(@:_config=) arm arm920t mx1fs2 NULL imx 1501281e00a3Swdenk 1502ac7eb8a3SWolfgang Denknetstar_32_config \ 1503ac7eb8a3SWolfgang Denknetstar_config: unconfig 1504ac7eb8a3SWolfgang Denk @if [ "$(findstring _32_,$@)" ] ; then \ 1505ac7eb8a3SWolfgang Denk echo "... 32MB SDRAM" ; \ 1506ac7eb8a3SWolfgang Denk echo "#define PHYS_SDRAM_1_SIZE SZ_32M" >>include/config.h ; \ 1507ac7eb8a3SWolfgang Denk else \ 1508ac7eb8a3SWolfgang Denk echo "... 64MB SDRAM" ; \ 1509ac7eb8a3SWolfgang Denk echo "#define PHYS_SDRAM_1_SIZE SZ_64M" >>include/config.h ; \ 1510ac7eb8a3SWolfgang Denk fi 1511ac7eb8a3SWolfgang Denk @./mkconfig -a netstar arm arm925t netstar 1512ac7eb8a3SWolfgang Denk 15132e5983d2Swdenkomap1510inn_config : unconfig 15142e5983d2Swdenk @./mkconfig $(@:_config=) arm arm925t omap1510inn 15152e5983d2Swdenk 15161eaeb58eSwdenkomap5912osk_config : unconfig 15171eaeb58eSwdenk @./mkconfig $(@:_config=) arm arm926ejs omap5912osk 15181eaeb58eSwdenk 151963e73c9aSwdenkomap1610inn_config \ 152063e73c9aSwdenkomap1610inn_cs0boot_config \ 152163e73c9aSwdenkomap1610inn_cs3boot_config \ 15223ff02c27Swdenkomap1610inn_cs_autoboot_config \ 152363e73c9aSwdenkomap1610h2_config \ 152463e73c9aSwdenkomap1610h2_cs0boot_config \ 15253ff02c27Swdenkomap1610h2_cs3boot_config \ 15263ff02c27Swdenkomap1610h2_cs_autoboot_config: unconfig 152763e73c9aSwdenk @if [ "$(findstring _cs0boot_, $@)" ] ; then \ 152863e73c9aSwdenk echo "#define CONFIG_CS0_BOOT" >> ./include/config.h ; \ 1529b79a11ccSwdenk echo "... configured for CS0 boot"; \ 15303ff02c27Swdenk elif [ "$(findstring _cs_autoboot_, $@)" ] ; then \ 15313ff02c27Swdenk echo "#define CONFIG_CS_AUTOBOOT" >> ./include/config.h ; \ 15323ff02c27Swdenk echo "... configured for CS_AUTO boot"; \ 153363e73c9aSwdenk else \ 153463e73c9aSwdenk echo "#define CONFIG_CS3_BOOT" >> ./include/config.h ; \ 1535b79a11ccSwdenk echo "... configured for CS3 boot"; \ 153663e73c9aSwdenk fi; 153763e73c9aSwdenk @./mkconfig -a $(call xtract_omap1610xxx,$@) arm arm926ejs omap1610inn 15386f21347dSwdenk 1539a56bd922Swdenkomap730p2_config \ 1540a56bd922Swdenkomap730p2_cs0boot_config \ 1541a56bd922Swdenkomap730p2_cs3boot_config : unconfig 1542a56bd922Swdenk @if [ "$(findstring _cs0boot_, $@)" ] ; then \ 1543a56bd922Swdenk echo "#define CONFIG_CS0_BOOT" >> ./include/config.h ; \ 1544a56bd922Swdenk echo "... configured for CS0 boot"; \ 1545a56bd922Swdenk else \ 1546a56bd922Swdenk echo "#define CONFIG_CS3_BOOT" >> ./include/config.h ; \ 1547a56bd922Swdenk echo "... configured for CS3 boot"; \ 1548a56bd922Swdenk fi; 1549a56bd922Swdenk @./mkconfig -a $(call xtract_omap730p2,$@) arm arm926ejs omap730p2 1550a56bd922Swdenk 1551281e00a3Swdenkscb9328_config : unconfig 15521d9f4105Swdenk @./mkconfig $(@:_config=) arm arm920t scb9328 NULL imx 1553281e00a3Swdenk 15547ebf7443Swdenksmdk2400_config : unconfig 15551d9f4105Swdenk @./mkconfig $(@:_config=) arm arm920t smdk2400 NULL s3c24x0 15567ebf7443Swdenk 15577ebf7443Swdenksmdk2410_config : unconfig 15581d9f4105Swdenk @./mkconfig $(@:_config=) arm arm920t smdk2410 NULL s3c24x0 15597ebf7443Swdenk 15602d24a3a7SwdenkSX1_config : unconfig 15612d24a3a7Swdenk @./mkconfig $(@:_config=) arm arm925t sx1 15622d24a3a7Swdenk 1563b2001f27Swdenk# TRAB default configuration: 8 MB Flash, 32 MB RAM 156443d9616cSwdenktrab_config \ 1565b0639ca3Swdenktrab_bigram_config \ 1566b0639ca3Swdenktrab_bigflash_config \ 1567f54ebdfaSwdenktrab_old_config: unconfig 156843d9616cSwdenk @ >include/config.h 1569b0639ca3Swdenk @[ -z "$(findstring _bigram,$@)" ] || \ 1570b0639ca3Swdenk { echo "#define CONFIG_FLASH_8MB" >>include/config.h ; \ 1571b2001f27Swdenk echo "#define CONFIG_RAM_32MB" >>include/config.h ; \ 1572b0639ca3Swdenk echo "... with 8 MB Flash, 32 MB RAM" ; \ 1573b0639ca3Swdenk } 1574b0639ca3Swdenk @[ -z "$(findstring _bigflash,$@)" ] || \ 1575b2001f27Swdenk { echo "#define CONFIG_FLASH_16MB" >>include/config.h ; \ 1576b2001f27Swdenk echo "#define CONFIG_RAM_16MB" >>include/config.h ; \ 1577b0639ca3Swdenk echo "... with 16 MB Flash, 16 MB RAM" ; \ 1578a8c7c708Swdenk echo "TEXT_BASE = 0x0CF40000" >board/trab/config.tmp ; \ 1579b0639ca3Swdenk } 1580f54ebdfaSwdenk @[ -z "$(findstring _old,$@)" ] || \ 1581b2001f27Swdenk { echo "#define CONFIG_FLASH_8MB" >>include/config.h ; \ 1582b2001f27Swdenk echo "#define CONFIG_RAM_16MB" >>include/config.h ; \ 1583b2001f27Swdenk echo "... with 8 MB Flash, 16 MB RAM" ; \ 1584a8c7c708Swdenk echo "TEXT_BASE = 0x0CF40000" >board/trab/config.tmp ; \ 158543d9616cSwdenk } 15861d9f4105Swdenk @./mkconfig -a $(call xtract_trab,$@) arm arm920t trab NULL s3c24x0 15877ebf7443Swdenk 15881cb8e980SwdenkVCMA9_config : unconfig 15891d9f4105Swdenk @./mkconfig $(@:_config=) arm arm920t vcma9 mpl s3c24x0 15901cb8e980Swdenk 159187cb6862SWolfgang Denk#======================================================================== 159287cb6862SWolfgang Denk# ARM supplied Versatile development boards 159387cb6862SWolfgang Denk#======================================================================== 159487cb6862SWolfgang Denkversatile_config \ 159587cb6862SWolfgang Denkversatileab_config \ 159687cb6862SWolfgang Denkversatilepb_config : unconfig 159796782c63SWolfgang Denk @board/versatile/split_by_variant.sh $@ 1598074cff0dSwdenk 15993c2b3d45Swdenkvoiceblue_smallflash_config \ 16003c2b3d45Swdenkvoiceblue_config: unconfig 16013c2b3d45Swdenk @if [ "$(findstring _smallflash_,$@)" ] ; then \ 16023c2b3d45Swdenk echo "... boot from lower flash bank" ; \ 16033c2b3d45Swdenk echo "#define VOICEBLUE_SMALL_FLASH" >>include/config.h ; \ 16043c2b3d45Swdenk echo "VOICEBLUE_SMALL_FLASH=y" >board/voiceblue/config.tmp ; \ 16053c2b3d45Swdenk else \ 16063c2b3d45Swdenk echo "... boot from upper flash bank" ; \ 16073c2b3d45Swdenk >include/config.h ; \ 16083c2b3d45Swdenk echo "VOICEBLUE_SMALL_FLASH=n" >board/voiceblue/config.tmp ; \ 16093c2b3d45Swdenk fi 16103c2b3d45Swdenk @./mkconfig -a voiceblue arm arm925t voiceblue 16113c2b3d45Swdenk 161216b013e7Swdenkcm4008_config : unconfig 161316b013e7Swdenk @./mkconfig $(@:_config=) arm arm920t cm4008 NULL ks8695 161416b013e7Swdenk 161516b013e7Swdenkcm41xx_config : unconfig 161616b013e7Swdenk @./mkconfig $(@:_config=) arm arm920t cm41xx NULL ks8695 161716b013e7Swdenk 1618074cff0dSwdenk######################################################################### 1619074cff0dSwdenk## S3C44B0 Systems 1620074cff0dSwdenk######################################################################### 1621074cff0dSwdenk 1622074cff0dSwdenkB2_config : unconfig 1623074cff0dSwdenk @./mkconfig $(@:_config=) arm s3c44b0 B2 dave 1624074cff0dSwdenk 16257ebf7443Swdenk######################################################################### 16267ebf7443Swdenk## ARM720T Systems 16277ebf7443Swdenk######################################################################### 16287ebf7443Swdenk 1629c570b2fdSWolfgang Denkarmadillo_config: unconfig 1630c570b2fdSWolfgang Denk @./mkconfig $(@:_config=) arm arm720t armadillo 1631c570b2fdSWolfgang Denk 16327ebf7443Swdenkep7312_config : unconfig 16337ebf7443Swdenk @./mkconfig $(@:_config=) arm arm720t ep7312 16347ebf7443Swdenk 16352d24a3a7Swdenkimpa7_config : unconfig 16362d24a3a7Swdenk @./mkconfig $(@:_config=) arm arm720t impa7 16372d24a3a7Swdenk 16382d1a537dSwdenkmodnet50_config : unconfig 16392d1a537dSwdenk @./mkconfig $(@:_config=) arm arm720t modnet50 16402d1a537dSwdenk 164139539887Swdenkevb4510_config : unconfig 164239539887Swdenk @./mkconfig $(@:_config=) arm arm720t evb4510 164339539887Swdenk 16447ebf7443Swdenk######################################################################### 164543d9616cSwdenk## XScale Systems 16467ebf7443Swdenk######################################################################### 16477ebf7443Swdenk 164820787e23Swdenkadsvix_config : unconfig 164920787e23Swdenk @./mkconfig $(@:_config=) arm pxa adsvix 165020787e23Swdenk 1651fabd46acSwdenkcerf250_config : unconfig 1652fabd46acSwdenk @./mkconfig $(@:_config=) arm pxa cerf250 1653fabd46acSwdenk 16547ebf7443Swdenkcradle_config : unconfig 16554c3b21a5Swdenk @./mkconfig $(@:_config=) arm pxa cradle 16567ebf7443Swdenk 16577ebf7443Swdenkcsb226_config : unconfig 16584c3b21a5Swdenk @./mkconfig $(@:_config=) arm pxa csb226 16597ebf7443Swdenk 16600be248faSWolfgang Denkdelta_config : 16610be248faSWolfgang Denk @./mkconfig $(@:_config=) arm pxa delta 16620be248faSWolfgang Denk 166343d9616cSwdenkinnokom_config : unconfig 16644c3b21a5Swdenk @./mkconfig $(@:_config=) arm pxa innokom 166543d9616cSwdenk 16662d5b561eSwdenkixdp425_config : unconfig 16672d5b561eSwdenk @./mkconfig $(@:_config=) arm ixp ixdp425 16682d5b561eSwdenk 166943d9616cSwdenklubbock_config : unconfig 16704c3b21a5Swdenk @./mkconfig $(@:_config=) arm pxa lubbock 167143d9616cSwdenk 167252f52c14Swdenklogodl_config : unconfig 167352f52c14Swdenk @./mkconfig $(@:_config=) arm pxa logodl 167452f52c14Swdenk 1675f57f70aaSWolfgang Denkpxa255_idp_config: unconfig 1676f57f70aaSWolfgang Denk @./mkconfig $(@:_config=) arm pxa pxa255_idp 1677f57f70aaSWolfgang Denk 16783e38691eSwdenkwepep250_config : unconfig 16794c3b21a5Swdenk @./mkconfig $(@:_config=) arm pxa wepep250 16803e38691eSwdenk 16814ec3a7f0Swdenkxaeniax_config : unconfig 16824ec3a7f0Swdenk @./mkconfig $(@:_config=) arm pxa xaeniax 16834ec3a7f0Swdenk 1684efa329cbSwdenkxm250_config : unconfig 1685efa329cbSwdenk @./mkconfig $(@:_config=) arm pxa xm250 1686efa329cbSwdenk 1687ca0e7748Swdenkxsengine_config : unconfig 1688ca0e7748Swdenk @./mkconfig $(@:_config=) arm pxa xsengine 1689ca0e7748Swdenk 1690e0269579SMarkus Klotzbücherzylonite_config : 1691e0269579SMarkus Klotzbücher @./mkconfig $(@:_config=) arm pxa zylonite 1692e0269579SMarkus Klotzbücher 16938ed96046Swdenk######################################################################### 16948ed96046Swdenk## ARM1136 Systems 16958ed96046Swdenk######################################################################### 16968ed96046Swdenkomap2420h4_config : unconfig 16978ed96046Swdenk @./mkconfig $(@:_config=) arm arm1136 omap2420h4 16988ed96046Swdenk 16992262cfeeSwdenk#======================================================================== 17002262cfeeSwdenk# i386 17012262cfeeSwdenk#======================================================================== 17022262cfeeSwdenk######################################################################### 17032262cfeeSwdenk## AMD SC520 CDP 17042262cfeeSwdenk######################################################################### 17052262cfeeSwdenksc520_cdp_config : unconfig 17062262cfeeSwdenk @./mkconfig $(@:_config=) i386 i386 sc520_cdp 17072262cfeeSwdenk 17087a8e9bedSwdenksc520_spunk_config : unconfig 17097a8e9bedSwdenk @./mkconfig $(@:_config=) i386 i386 sc520_spunk 17107a8e9bedSwdenk 17117a8e9bedSwdenksc520_spunk_rel_config : unconfig 17127a8e9bedSwdenk @./mkconfig $(@:_config=) i386 i386 sc520_spunk 17137a8e9bedSwdenk 171443d9616cSwdenk#======================================================================== 171543d9616cSwdenk# MIPS 171643d9616cSwdenk#======================================================================== 17177ebf7443Swdenk######################################################################### 171843d9616cSwdenk## MIPS32 4Kc 171943d9616cSwdenk######################################################################### 172043d9616cSwdenk 1721e0ac62d7Swdenkxtract_incaip = $(subst _100MHz,,$(subst _133MHz,,$(subst _150MHz,,$(subst _config,,$1)))) 1722e0ac62d7Swdenk 1723e0ac62d7Swdenkincaip_100MHz_config \ 1724e0ac62d7Swdenkincaip_133MHz_config \ 1725e0ac62d7Swdenkincaip_150MHz_config \ 172643d9616cSwdenkincaip_config: unconfig 1727e0ac62d7Swdenk @ >include/config.h 1728e0ac62d7Swdenk @[ -z "$(findstring _100MHz,$@)" ] || \ 1729e0ac62d7Swdenk { echo "#define CPU_CLOCK_RATE 100000000" >>include/config.h ; \ 1730e0ac62d7Swdenk echo "... with 100MHz system clock" ; \ 1731e0ac62d7Swdenk } 1732e0ac62d7Swdenk @[ -z "$(findstring _133MHz,$@)" ] || \ 1733e0ac62d7Swdenk { echo "#define CPU_CLOCK_RATE 133000000" >>include/config.h ; \ 1734e0ac62d7Swdenk echo "... with 133MHz system clock" ; \ 1735e0ac62d7Swdenk } 1736e0ac62d7Swdenk @[ -z "$(findstring _150MHz,$@)" ] || \ 1737e0ac62d7Swdenk { echo "#define CPU_CLOCK_RATE 150000000" >>include/config.h ; \ 1738e0ac62d7Swdenk echo "... with 150MHz system clock" ; \ 1739e0ac62d7Swdenk } 1740e0ac62d7Swdenk @./mkconfig -a $(call xtract_incaip,$@) mips mips incaip 1741e0ac62d7Swdenk 1742f4863a7aSwdenktb0229_config: unconfig 1743f4863a7aSwdenk @./mkconfig $(@:_config=) mips mips tb0229 1744f4863a7aSwdenk 1745e0ac62d7Swdenk######################################################################### 174669459791Swdenk## MIPS32 AU1X00 174769459791Swdenk######################################################################### 174869459791Swdenkdbau1000_config : unconfig 174969459791Swdenk @ >include/config.h 175069459791Swdenk @echo "#define CONFIG_DBAU1000 1" >>include/config.h 175169459791Swdenk @./mkconfig -a dbau1x00 mips mips dbau1x00 175269459791Swdenk 175369459791Swdenkdbau1100_config : unconfig 175469459791Swdenk @ >include/config.h 175569459791Swdenk @echo "#define CONFIG_DBAU1100 1" >>include/config.h 175669459791Swdenk @./mkconfig -a dbau1x00 mips mips dbau1x00 175769459791Swdenk 175869459791Swdenkdbau1500_config : unconfig 175969459791Swdenk @ >include/config.h 176069459791Swdenk @echo "#define CONFIG_DBAU1500 1" >>include/config.h 176169459791Swdenk @./mkconfig -a dbau1x00 mips mips dbau1x00 176269459791Swdenk 1763ff36fd85Swdenkdbau1550_config : unconfig 1764ff36fd85Swdenk @ >include/config.h 1765ff36fd85Swdenk @echo "#define CONFIG_DBAU1550 1" >>include/config.h 1766ff36fd85Swdenk @./mkconfig -a dbau1x00 mips mips dbau1x00 1767ff36fd85Swdenk 1768ff36fd85Swdenkdbau1550_el_config : unconfig 1769ff36fd85Swdenk @ >include/config.h 1770ff36fd85Swdenk @echo "#define CONFIG_DBAU1550 1" >>include/config.h 177121919230SWolfgang Denk @./mkconfig -a dbau1x00 mips mips dbau1x00 1772ff36fd85Swdenk 1773265817c7SWolfgang Denkpb1000_config : unconfig 1774265817c7SWolfgang Denk @ >include/config.h 1775265817c7SWolfgang Denk @echo "#define CONFIG_PB1000 1" >>include/config.h 1776265817c7SWolfgang Denk @./mkconfig -a pb1x00 mips mips pb1x00 1777265817c7SWolfgang Denk 177869459791Swdenk######################################################################### 1779e0ac62d7Swdenk## MIPS64 5Kc 1780e0ac62d7Swdenk######################################################################### 178143d9616cSwdenk 17823e38691eSwdenkpurple_config : unconfig 17833e38691eSwdenk @./mkconfig $(@:_config=) mips mips purple 178443d9616cSwdenk 17854a551709Swdenk#======================================================================== 17864a551709Swdenk# Nios 17874a551709Swdenk#======================================================================== 17884a551709Swdenk######################################################################### 17894a551709Swdenk## Nios32 17904a551709Swdenk######################################################################### 17914a551709Swdenk 1792c935d3bdSwdenkDK1C20_safe_32_config \ 1793c935d3bdSwdenkDK1C20_standard_32_config \ 17944a551709SwdenkDK1C20_config: unconfig 1795c935d3bdSwdenk @ >include/config.h 1796c935d3bdSwdenk @[ -z "$(findstring _safe_32,$@)" ] || \ 1797c935d3bdSwdenk { echo "#define CONFIG_NIOS_SAFE_32 1" >>include/config.h ; \ 1798c935d3bdSwdenk echo "... NIOS 'safe_32' configuration" ; \ 1799c935d3bdSwdenk } 1800c935d3bdSwdenk @[ -z "$(findstring _standard_32,$@)" ] || \ 1801c935d3bdSwdenk { echo "#define CONFIG_NIOS_STANDARD_32 1" >>include/config.h ; \ 1802c935d3bdSwdenk echo "... NIOS 'standard_32' configuration" ; \ 1803c935d3bdSwdenk } 1804c935d3bdSwdenk @[ -z "$(findstring DK1C20_config,$@)" ] || \ 1805c935d3bdSwdenk { echo "#define CONFIG_NIOS_STANDARD_32 1" >>include/config.h ; \ 1806c935d3bdSwdenk echo "... NIOS 'standard_32' configuration (DEFAULT)" ; \ 1807c935d3bdSwdenk } 1808c935d3bdSwdenk @./mkconfig -a DK1C20 nios nios dk1c20 altera 1809c935d3bdSwdenk 1810c935d3bdSwdenkDK1S10_safe_32_config \ 1811c935d3bdSwdenkDK1S10_standard_32_config \ 1812ec4c544bSwdenkDK1S10_mtx_ldk_20_config \ 1813c935d3bdSwdenkDK1S10_config: unconfig 1814c935d3bdSwdenk @ >include/config.h 1815c935d3bdSwdenk @[ -z "$(findstring _safe_32,$@)" ] || \ 1816c935d3bdSwdenk { echo "#define CONFIG_NIOS_SAFE_32 1" >>include/config.h ; \ 1817c935d3bdSwdenk echo "... NIOS 'safe_32' configuration" ; \ 1818c935d3bdSwdenk } 1819c935d3bdSwdenk @[ -z "$(findstring _standard_32,$@)" ] || \ 1820c935d3bdSwdenk { echo "#define CONFIG_NIOS_STANDARD_32 1" >>include/config.h ; \ 1821c935d3bdSwdenk echo "... NIOS 'standard_32' configuration" ; \ 1822c935d3bdSwdenk } 1823ec4c544bSwdenk @[ -z "$(findstring _mtx_ldk_20,$@)" ] || \ 1824ec4c544bSwdenk { echo "#define CONFIG_NIOS_MTX_LDK_20 1" >>include/config.h ; \ 1825ec4c544bSwdenk echo "... NIOS 'mtx_ldk_20' configuration" ; \ 1826ec4c544bSwdenk } 1827c935d3bdSwdenk @[ -z "$(findstring DK1S10_config,$@)" ] || \ 1828c935d3bdSwdenk { echo "#define CONFIG_NIOS_STANDARD_32 1" >>include/config.h ; \ 1829c935d3bdSwdenk echo "... NIOS 'standard_32' configuration (DEFAULT)" ; \ 1830c935d3bdSwdenk } 1831c935d3bdSwdenk @./mkconfig -a DK1S10 nios nios dk1s10 altera 18324a551709Swdenk 1833aaf224abSwdenkADNPESC1_DNPEVA2_base_32_config \ 1834aaf224abSwdenkADNPESC1_base_32_config \ 1835aaf224abSwdenkADNPESC1_config: unconfig 1836aaf224abSwdenk @ >include/config.h 1837aaf224abSwdenk @[ -z "$(findstring _DNPEVA2,$@)" ] || \ 1838aaf224abSwdenk { echo "#define CONFIG_DNPEVA2 1" >>include/config.h ; \ 1839aaf224abSwdenk echo "... DNP/EVA2 configuration" ; \ 1840aaf224abSwdenk } 1841aaf224abSwdenk @[ -z "$(findstring _base_32,$@)" ] || \ 1842aaf224abSwdenk { echo "#define CONFIG_NIOS_BASE_32 1" >>include/config.h ; \ 1843aaf224abSwdenk echo "... NIOS 'base_32' configuration" ; \ 1844aaf224abSwdenk } 1845aaf224abSwdenk @[ -z "$(findstring ADNPESC1_config,$@)" ] || \ 1846aaf224abSwdenk { echo "#define CONFIG_NIOS_BASE_32 1" >>include/config.h ; \ 1847aaf224abSwdenk echo "... NIOS 'base_32' configuration (DEFAULT)" ; \ 1848aaf224abSwdenk } 1849aaf224abSwdenk @./mkconfig -a ADNPESC1 nios nios adnpesc1 ssv 1850aaf224abSwdenk 18515c952cf0Swdenk######################################################################### 18525c952cf0Swdenk## Nios-II 18535c952cf0Swdenk######################################################################### 18545c952cf0Swdenk 18555c952cf0SwdenkPK1C20_config : unconfig 18565c952cf0Swdenk @./mkconfig PK1C20 nios2 nios2 pk1c20 psyent 18575c952cf0Swdenk 18585c952cf0SwdenkPCI5441_config : unconfig 18595c952cf0Swdenk @./mkconfig PCI5441 nios2 nios2 pci5441 psyent 18604a551709Swdenk 1861507bbe3eSwdenk#======================================================================== 1862507bbe3eSwdenk# MicroBlaze 1863507bbe3eSwdenk#======================================================================== 1864507bbe3eSwdenk######################################################################### 1865507bbe3eSwdenk## Microblaze 1866507bbe3eSwdenk######################################################################### 1867507bbe3eSwdenksuzaku_config: unconfig 1868507bbe3eSwdenk @ >include/config.h 1869507bbe3eSwdenk @echo "#define CONFIG_SUZAKU 1" >> include/config.h 1870507bbe3eSwdenk @./mkconfig -a $(@:_config=) microblaze microblaze suzaku AtmarkTechno 1871507bbe3eSwdenk 18723e38691eSwdenk######################################################################### 18730afe519aSWolfgang Denk## Blackfin 18740afe519aSWolfgang Denk######################################################################### 18750afe519aSWolfgang Denkezkit533_config : unconfig 18760afe519aSWolfgang Denk @./mkconfig $(@:_config=) blackfin bf533 ezkit533 18770afe519aSWolfgang Denk 18780afe519aSWolfgang Denkstamp_config : unconfig 18790afe519aSWolfgang Denk @./mkconfig $(@:_config=) blackfin bf533 stamp 18800afe519aSWolfgang Denk 18810afe519aSWolfgang Denkdspstamp_config : unconfig 18820afe519aSWolfgang Denk @./mkconfig $(@:_config=) blackfin bf533 dsp_stamp 18830afe519aSWolfgang Denk 18840afe519aSWolfgang Denk######################################################################### 18850afe519aSWolfgang Denk######################################################################### 18863e38691eSwdenk######################################################################### 18877ebf7443Swdenk 18887ebf7443Swdenkclean: 18897ebf7443Swdenk find . -type f \ 18907ebf7443Swdenk \( -name 'core' -o -name '*.bak' -o -name '*~' \ 18917ebf7443Swdenk -o -name '*.o' -o -name '*.a' \) -print \ 18927ebf7443Swdenk | xargs rm -f 189385ec0bccSwdenk rm -f examples/hello_world examples/timer \ 18943e38691eSwdenk examples/eepro100_eeprom examples/sched \ 1895ed16fefcSwdenk examples/mem_to_mem_idma2intr examples/82559_eeprom \ 18960afe519aSWolfgang Denk examples/smc91111_eeprom \ 1897ed16fefcSwdenk examples/test_burst 18987ebf7443Swdenk rm -f tools/img2srec tools/mkimage tools/envcrc tools/gen_eth_addr 1899eedcd078Swdenk rm -f tools/mpc86x_clk tools/ncb 19007ebf7443Swdenk rm -f tools/easylogo/easylogo tools/bmp_logo 19017ebf7443Swdenk rm -f tools/gdb/astest tools/gdb/gdbcont tools/gdb/gdbsend 1902228f29acSwdenk rm -f tools/env/fw_printenv tools/env/fw_setenv 19037f70e853Swdenk rm -f board/cray/L1/bootscript.c board/cray/L1/bootscript.image 190484ef51a6SWolfgang Denk rm -f board/netstar/eeprom board/netstar/crcek 190584ef51a6SWolfgang Denk rm -f board/netstar/*.srec board/netstar/*.bin 19060e1fb5eeSWolfgang Denk rm -f board/trab/trab_fkt board/voiceblue/eeprom 190787cb6862SWolfgang Denk rm -f board/integratorap/u-boot.lds board/integratorcp/u-boot.lds 19087ebf7443Swdenk 19097ebf7443Swdenkclobber: clean 19104c0d4c3bSwdenk find . -type f \( -name .depend \ 19114c0d4c3bSwdenk -o -name '*.srec' -o -name '*.bin' -o -name u-boot.img \) \ 19124c0d4c3bSwdenk -print0 \ 19134c0d4c3bSwdenk | xargs -0 rm -f 1914881a87ecSWolfgang Denk rm -f $(OBJS) *.bak tags TAGS include/version_autogenerated.h 19157ebf7443Swdenk rm -fr *.*~ 19166310eb9dSwdenk rm -f u-boot u-boot.map u-boot.hex $(ALL) 1917228f29acSwdenk rm -f tools/crc32.c tools/environment.c tools/env/crc32.c 19183e38691eSwdenk rm -f tools/inca-swap-bytes cpu/mpc824x/bedbug_603e.c 1919b783edaeSwdenk rm -f include/asm/proc include/asm/arch include/asm 19207ebf7443Swdenk 19217ebf7443Swdenkmrproper \ 19227ebf7443Swdenkdistclean: clobber unconfig 19237ebf7443Swdenk 19247ebf7443Swdenkbackup: 19257ebf7443Swdenk F=`basename $(TOPDIR)` ; cd .. ; \ 19267ebf7443Swdenk gtar --force-local -zcvf `date "+$$F-%Y-%m-%d-%T.tar.gz"` $$F 19277ebf7443Swdenk 19287ebf7443Swdenk######################################################################### 1929