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 567ebf7443Swdenk# load other configuration 577ebf7443Swdenkinclude $(TOPDIR)/config.mk 587ebf7443Swdenk 597ebf7443Swdenkifndef CROSS_COMPILE 607ebf7443Swdenkifeq ($(HOSTARCH),ppc) 617ebf7443SwdenkCROSS_COMPILE = 627ebf7443Swdenkelse 637ebf7443Swdenkifeq ($(ARCH),ppc) 64f046ccd1SEran LibertyCROSS_COMPILE = powerpc-linux- 657ebf7443Swdenkendif 667ebf7443Swdenkifeq ($(ARCH),arm) 67dc7c9a1aSwdenkCROSS_COMPILE = arm-linux- 687ebf7443Swdenkendif 692262cfeeSwdenkifeq ($(ARCH),i386) 707a8e9bedSwdenkifeq ($(HOSTARCH),i386) 717a8e9bedSwdenkCROSS_COMPILE = 727a8e9bedSwdenkelse 737a8e9bedSwdenkCROSS_COMPILE = i386-linux- 747a8e9bedSwdenkendif 752262cfeeSwdenkendif 7643d9616cSwdenkifeq ($(ARCH),mips) 7743d9616cSwdenkCROSS_COMPILE = mips_4KC- 7843d9616cSwdenkendif 794a551709Swdenkifeq ($(ARCH),nios) 804a551709SwdenkCROSS_COMPILE = nios-elf- 814a551709Swdenkendif 825c952cf0Swdenkifeq ($(ARCH),nios2) 835c952cf0SwdenkCROSS_COMPILE = nios2-elf- 845c952cf0Swdenkendif 854e5ca3ebSwdenkifeq ($(ARCH),m68k) 864e5ca3ebSwdenkCROSS_COMPILE = m68k-elf- 874e5ca3ebSwdenkendif 88507bbe3eSwdenkifeq ($(ARCH),microblaze) 89507bbe3eSwdenkCROSS_COMPILE = mb- 90507bbe3eSwdenkendif 917ebf7443Swdenkendif 927ebf7443Swdenkendif 937ebf7443Swdenk 947ebf7443Swdenkexport CROSS_COMPILE 957ebf7443Swdenk 967ebf7443Swdenk######################################################################### 977ebf7443Swdenk# U-Boot objects....order is important (i.e. start must be first) 987ebf7443Swdenk 997ebf7443SwdenkOBJS = cpu/$(CPU)/start.o 1002262cfeeSwdenkifeq ($(CPU),i386) 1012262cfeeSwdenkOBJS += cpu/$(CPU)/start16.o 1022262cfeeSwdenkOBJS += cpu/$(CPU)/reset.o 1032262cfeeSwdenkendif 1047ebf7443Swdenkifeq ($(CPU),ppc4xx) 1057ebf7443SwdenkOBJS += cpu/$(CPU)/resetvec.o 1067ebf7443Swdenkendif 107f046ccd1SEran Libertyifeq ($(CPU),mpc83xx) 108f046ccd1SEran LibertyOBJS += cpu/$(CPU)/resetvec.o 109f046ccd1SEran Libertyendif 11042d1f039Swdenkifeq ($(CPU),mpc85xx) 11142d1f039SwdenkOBJS += cpu/$(CPU)/resetvec.o 11242d1f039Swdenkendif 1137ebf7443Swdenk 1149fd5e31fSwdenkLIBS = lib_generic/libgeneric.a 1159fd5e31fSwdenkLIBS += board/$(BOARDDIR)/lib$(BOARD).a 1167ebf7443SwdenkLIBS += cpu/$(CPU)/lib$(CPU).a 1171d9f4105Swdenkifdef SOC 1181d9f4105SwdenkLIBS += cpu/$(CPU)/$(SOC)/lib$(SOC).a 1191d9f4105Swdenkendif 1207ebf7443SwdenkLIBS += lib_$(ARCH)/lib$(ARCH).a 121518e2e1aSwdenkLIBS += fs/cramfs/libcramfs.a fs/fat/libfat.a fs/fdos/libfdos.a fs/jffs2/libjffs2.a \ 122c419d1d6Sstroese fs/reiserfs/libreiserfs.a fs/ext2/libext2fs.a 1237ebf7443SwdenkLIBS += net/libnet.a 1247ebf7443SwdenkLIBS += disk/libdisk.a 1257ebf7443SwdenkLIBS += rtc/librtc.a 1267ebf7443SwdenkLIBS += dtt/libdtt.a 1277ebf7443SwdenkLIBS += drivers/libdrivers.a 1287152b1d0SwdenkLIBS += drivers/sk98lin/libsk98lin.a 1297ebf7443SwdenkLIBS += post/libpost.a post/cpu/libcpu.a 1307ebf7443SwdenkLIBS += common/libcommon.a 131038ccac5SBartlomiej SiekaLIBS += $(BOARDLIBS) 1329fd5e31fSwdenk.PHONY : $(LIBS) 133a8c7c708Swdenk 1344f7cb08eSwdenk# Add GCC lib 1351a344f29SwdenkPLATFORM_LIBS += -L $(shell dirname `$(CC) $(CFLAGS) -print-libgcc-file-name`) -lgcc 1363d3befa7Swdenk 1377ebf7443Swdenk 138a8c7c708Swdenk# The "tools" are needed early, so put this first 139a8c7c708Swdenk# Don't include stuff already done in $(LIBS) 140a8c7c708SwdenkSUBDIRS = tools \ 141a8c7c708Swdenk examples \ 142a8c7c708Swdenk post \ 143a8c7c708Swdenk post/cpu 144b028f715Swdenk.PHONY : $(SUBDIRS) 145a8c7c708Swdenk 1467ebf7443Swdenk######################################################################### 147bdccc4feSwdenk######################################################################### 1487ebf7443Swdenk 149bdccc4feSwdenkALL = u-boot.srec u-boot.bin System.map 1507ebf7443Swdenk 151bdccc4feSwdenkall: $(ALL) 1527ebf7443Swdenk 1536310eb9dSwdenku-boot.hex: u-boot 1546310eb9dSwdenk $(OBJCOPY) ${OBJCFLAGS} -O ihex $< $@ 1556310eb9dSwdenk 1567ebf7443Swdenku-boot.srec: u-boot 1577ebf7443Swdenk $(OBJCOPY) ${OBJCFLAGS} -O srec $< $@ 1587ebf7443Swdenk 1597ebf7443Swdenku-boot.bin: u-boot 1607ebf7443Swdenk $(OBJCOPY) ${OBJCFLAGS} -O binary $< $@ 1617ebf7443Swdenk 162bdccc4feSwdenku-boot.img: u-boot.bin 163bdccc4feSwdenk ./tools/mkimage -A $(ARCH) -T firmware -C none \ 164bdccc4feSwdenk -a $(TEXT_BASE) -e 0 \ 165881a87ecSWolfgang Denk -n $(shell sed -n -e 's/.*U_BOOT_VERSION//p' $(VERSION_FILE) | \ 166bdccc4feSwdenk sed -e 's/"[ ]*$$/ for $(BOARD) board"/') \ 167bdccc4feSwdenk -d $< $@ 168bdccc4feSwdenk 1697ebf7443Swdenku-boot.dis: u-boot 1707ebf7443Swdenk $(OBJDUMP) -d $< > $@ 1717ebf7443Swdenk 172881a87ecSWolfgang Denku-boot: depend version $(SUBDIRS) $(OBJS) $(LIBS) $(LDSCRIPT) 1738bde7f77Swdenk UNDEF_SYM=`$(OBJDUMP) -x $(LIBS) |sed -n -e 's/.*\(__u_boot_cmd_.*\)/-u\1/p'|sort|uniq`;\ 1748bde7f77Swdenk $(LD) $(LDFLAGS) $$UNDEF_SYM $(OBJS) \ 1751a344f29Swdenk --start-group $(LIBS) --end-group $(PLATFORM_LIBS) \ 176b2184c31Swdenk -Map u-boot.map -o u-boot 1777ebf7443Swdenk 178a8c7c708Swdenk$(LIBS): 179a8c7c708Swdenk $(MAKE) -C `dirname $@` 180a8c7c708Swdenk 181a8c7c708Swdenk$(SUBDIRS): 182b028f715Swdenk $(MAKE) -C $@ all 1837ebf7443Swdenk 184881a87ecSWolfgang Denkversion: 185881a87ecSWolfgang Denk @echo -n "#define U_BOOT_VERSION \"U-Boot " > $(VERSION_FILE); \ 186881a87ecSWolfgang Denk echo -n "$(U_BOOT_VERSION)" >> $(VERSION_FILE); \ 187881a87ecSWolfgang Denk echo -n $(shell $(CONFIG_SHELL) $(TOPDIR)/tools/setlocalversion \ 188881a87ecSWolfgang Denk $(TOPDIR)) >> $(VERSION_FILE); \ 189881a87ecSWolfgang Denk echo "\"" >> $(VERSION_FILE) 190881a87ecSWolfgang Denk 1918f713fdfSdzugdbtools: 1928f713fdfSdzu $(MAKE) -C tools/gdb || exit 1 1938f713fdfSdzu 1947ebf7443Swdenkdepend dep: 1957ebf7443Swdenk @for dir in $(SUBDIRS) ; do $(MAKE) -C $$dir .depend ; done 1967ebf7443Swdenk 1977ebf7443Swdenktags: 1987ebf7443Swdenk ctags -w `find $(SUBDIRS) include \ 199bda6c8aeSwdenk lib_generic board/$(BOARDDIR) cpu/$(CPU) lib_$(ARCH) \ 200bda6c8aeSwdenk fs/cramfs fs/fat fs/fdos fs/jffs2 \ 201bda6c8aeSwdenk net disk rtc dtt drivers drivers/sk98lin common \ 2027ebf7443Swdenk \( -name CVS -prune \) -o \( -name '*.[ch]' -print \)` 2037ebf7443Swdenk 2047ebf7443Swdenketags: 2057ebf7443Swdenk etags -a `find $(SUBDIRS) include \ 206eedcd078Swdenk lib_generic board/$(BOARDDIR) cpu/$(CPU) lib_$(ARCH) \ 207eedcd078Swdenk fs/cramfs fs/fat fs/fdos fs/jffs2 \ 208eedcd078Swdenk net disk rtc dtt drivers drivers/sk98lin common \ 2097ebf7443Swdenk \( -name CVS -prune \) -o \( -name '*.[ch]' -print \)` 2107ebf7443Swdenk 2117ebf7443SwdenkSystem.map: u-boot 2127ebf7443Swdenk @$(NM) $< | \ 2137ebf7443Swdenk grep -v '\(compiled\)\|\(\.o$$\)\|\( [aUw] \)\|\(\.\.ng$$\)\|\(LASH[RL]DI\)' | \ 2147ebf7443Swdenk sort > System.map 2157ebf7443Swdenk 2167ebf7443Swdenk######################################################################### 2177ebf7443Swdenkelse 2187ebf7443Swdenkall install u-boot u-boot.srec depend dep: 2197ebf7443Swdenk @echo "System not configured - see README" >&2 2207ebf7443Swdenk @ exit 1 2217ebf7443Swdenkendif 2227ebf7443Swdenk 2237ebf7443Swdenk######################################################################### 2247ebf7443Swdenk 2257ebf7443Swdenkunconfig: 22617d704ebSwdenk @rm -f include/config.h include/config.mk board/*/config.tmp 2277ebf7443Swdenk 2287ebf7443Swdenk#======================================================================== 2297ebf7443Swdenk# PowerPC 2307ebf7443Swdenk#======================================================================== 2310db5bca8Swdenk 2320db5bca8Swdenk######################################################################### 2330db5bca8Swdenk## MPC5xx Systems 2340db5bca8Swdenk######################################################################### 2350db5bca8Swdenk 2365e5f9ed2Swdenkcanmb_config: unconfig 2375e5f9ed2Swdenk @./mkconfig -a canmb ppc mpc5xxx canmb 2385e5f9ed2Swdenk 2390db5bca8Swdenkcmi_mpc5xx_config: unconfig 2400db5bca8Swdenk @./mkconfig $(@:_config=) ppc mpc5xx cmi 2410db5bca8Swdenk 242b6e4c403SwdenkPATI_config: unconfig 243b6e4c403Swdenk @./mkconfig $(@:_config=) ppc mpc5xx pati mpl 244b6e4c403Swdenk 2457ebf7443Swdenk######################################################################### 246945af8d7Swdenk## MPC5xxx Systems 247945af8d7Swdenk######################################################################### 248a87589daSwdenk 249dafba16eSWolfgang Denkaev_config: unconfig 250dafba16eSWolfgang Denk @./mkconfig -a aev ppc mpc5xxx tqm5200 251dafba16eSWolfgang Denk 2525e4b3361SStefan Roesecpci5200_config: unconfig 2535e4b3361SStefan Roese @./mkconfig -a cpci5200 ppc mpc5xxx cpci5200 esd 2545e4b3361SStefan Roese 255a87589daSwdenkhmi1001_config: unconfig 256a87589daSwdenk @./mkconfig hmi1001 ppc mpc5xxx hmi1001 257a87589daSwdenk 258e35745bbSwdenkLite5200_config \ 259e35745bbSwdenkLite5200_LOWBOOT_config \ 260e35745bbSwdenkLite5200_LOWBOOT08_config \ 261e35745bbSwdenkicecube_5200_config \ 262e35745bbSwdenkicecube_5200_LOWBOOT_config \ 263e35745bbSwdenkicecube_5200_LOWBOOT08_config \ 264b2001f27Swdenkicecube_5200_DDR_config \ 26579d696fcSwdenkicecube_5200_DDR_LOWBOOT_config \ 26679d696fcSwdenkicecube_5200_DDR_LOWBOOT08_config \ 267e35745bbSwdenkicecube_5100_config: unconfig 268945af8d7Swdenk @ >include/config.h 26917d704ebSwdenk @[ -z "$(findstring LOWBOOT_,$@)" ] || \ 27017d704ebSwdenk { if [ "$(findstring DDR,$@)" ] ; \ 27117d704ebSwdenk then echo "TEXT_BASE = 0xFF800000" >board/icecube/config.tmp ; \ 27217d704ebSwdenk else echo "TEXT_BASE = 0xFF000000" >board/icecube/config.tmp ; \ 27317d704ebSwdenk fi ; \ 2745cf9da48Swdenk echo "... with LOWBOOT configuration" ; \ 2755cf9da48Swdenk } 2765cf9da48Swdenk @[ -z "$(findstring LOWBOOT08,$@)" ] || \ 2775cf9da48Swdenk { echo "TEXT_BASE = 0xFF800000" >board/icecube/config.tmp ; \ 2785cf9da48Swdenk echo "... with 8 MB flash only" ; \ 27917d704ebSwdenk echo "... with LOWBOOT configuration" ; \ 2805cf9da48Swdenk } 281b2001f27Swdenk @[ -z "$(findstring DDR,$@)" ] || \ 282b2001f27Swdenk { echo "#define CONFIG_MPC5200_DDR" >>include/config.h ; \ 283b2001f27Swdenk echo "... DDR memory revision" ; \ 284b2001f27Swdenk } 285d4ca31c4Swdenk @[ -z "$(findstring 5200,$@)" ] || \ 286d4ca31c4Swdenk { echo "#define CONFIG_MPC5200" >>include/config.h ; \ 287d4ca31c4Swdenk echo "... with MPC5200 processor" ; \ 288d4ca31c4Swdenk } 289a0f2fe52Swdenk @[ -z "$(findstring 5100,$@)" ] || \ 290945af8d7Swdenk { echo "#define CONFIG_MGT5100" >>include/config.h ; \ 291945af8d7Swdenk echo "... with MGT5100 processor" ; \ 292945af8d7Swdenk } 293945af8d7Swdenk @./mkconfig -a IceCube ppc mpc5xxx icecube 294945af8d7Swdenk 295138ff60cSwdenkinka4x0_config: unconfig 296138ff60cSwdenk @./mkconfig inka4x0 ppc mpc5xxx inka4x0 297138ff60cSwdenk 298f1ee9825SStefan Roesemcc200_config \ 299f1ee9825SStefan Roesemcc200_lowboot_config: unconfig 300f1ee9825SStefan Roese @ >include/config.h 301f1ee9825SStefan Roese @[ -z "$(findstring lowboot_,$@)" ] || \ 302f1ee9825SStefan Roese { echo "TEXT_BASE = 0xFE000000" >board/mcc200/config.tmp ; \ 303f1ee9825SStefan Roese echo "... with lowboot configuration" ; \ 304f1ee9825SStefan Roese } 30586ea5f93SWolfgang Denk @./mkconfig mcc200 ppc mpc5xxx mcc200 30686ea5f93SWolfgang Denk 307df04a3dfSWolfgang Denko2dnt_config: 30886ea5f93SWolfgang Denk @./mkconfig o2dnt ppc mpc5xxx o2dnt 309df04a3dfSWolfgang Denk 3105e4b3361SStefan Roesepf5200_config: unconfig 31186ea5f93SWolfgang Denk @./mkconfig pf5200 ppc mpc5xxx pf5200 esd 3125e4b3361SStefan Roese 31389394047SwdenkPM520_config \ 31489394047SwdenkPM520_DDR_config \ 31589394047SwdenkPM520_ROMBOOT_config \ 31689394047SwdenkPM520_ROMBOOT_DDR_config: unconfig 31789394047Swdenk @ >include/config.h 31889394047Swdenk @[ -z "$(findstring DDR,$@)" ] || \ 31989394047Swdenk { echo "#define CONFIG_MPC5200_DDR" >>include/config.h ; \ 32089394047Swdenk echo "... DDR memory revision" ; \ 32189394047Swdenk } 32289394047Swdenk @[ -z "$(findstring ROMBOOT,$@)" ] || \ 32389394047Swdenk { echo "#define CONFIG_BOOT_ROM" >>include/config.h ; \ 32489394047Swdenk echo "... booting from 8-bit flash" ; \ 32589394047Swdenk } 32689394047Swdenk @./mkconfig -a PM520 ppc mpc5xxx pm520 32789394047Swdenk 3286624b687SWolfgang Denksmmaco4_config: unconfig 3296624b687SWolfgang Denk @./mkconfig -a smmaco4 ppc mpc5xxx tqm5200 3309cdc8386SWolfgang Denk 3319cdc8386SWolfgang Denkspieval_config: unconfig 3329cdc8386SWolfgang Denk echo "#define CONFIG_CS_AUTOCONF">>include/config.h 3339cdc8386SWolfgang Denk echo "... with automatic CS configuration" 3349cdc8386SWolfgang Denk @./mkconfig -a spieval ppc mpc5xxx tqm5200 3359cdc8386SWolfgang Denk 336d4ca31c4SwdenkMINI5200_config \ 337d4ca31c4SwdenkEVAL5200_config \ 338d4ca31c4SwdenkTOP5200_config: unconfig 339d4ca31c4Swdenk @ echo "#define CONFIG_$(@:_config=) 1" >include/config.h 340d4ca31c4Swdenk @./mkconfig -a TOP5200 ppc mpc5xxx top5200 emk 341d4ca31c4Swdenk 3426c7a1408SwdenkTotal5100_config \ 3436c7a1408SwdenkTotal5200_config \ 3446c7a1408SwdenkTotal5200_lowboot_config \ 3456c7a1408SwdenkTotal5200_Rev2_config \ 3466c7a1408SwdenkTotal5200_Rev2_lowboot_config: unconfig 3476c7a1408Swdenk @ >include/config.h 3486c7a1408Swdenk @[ -z "$(findstring 5100,$@)" ] || \ 3496c7a1408Swdenk { echo "#define CONFIG_MGT5100" >>include/config.h ; \ 3506c7a1408Swdenk echo "... with MGT5100 processor" ; \ 3516c7a1408Swdenk } 3526c7a1408Swdenk @[ -z "$(findstring 5200,$@)" ] || \ 3536c7a1408Swdenk { echo "#define CONFIG_MPC5200" >>include/config.h ; \ 3546c7a1408Swdenk echo "... with MPC5200 processor" ; \ 3556c7a1408Swdenk } 3566c7a1408Swdenk @[ -n "$(findstring Rev,$@)" ] || \ 3576c7a1408Swdenk { echo "#define CONFIG_TOTAL5200_REV 1" >>include/config.h ; \ 3586c7a1408Swdenk echo "... revision 1 board" ; \ 3596c7a1408Swdenk } 3606c7a1408Swdenk @[ -z "$(findstring Rev2_,$@)" ] || \ 3616c7a1408Swdenk { echo "#define CONFIG_TOTAL5200_REV 2" >>include/config.h ; \ 3626c7a1408Swdenk echo "... revision 2 board" ; \ 3636c7a1408Swdenk } 3646c7a1408Swdenk @[ -z "$(findstring lowboot_,$@)" ] || \ 3656c7a1408Swdenk { echo "TEXT_BASE = 0xFE000000" >board/total5200/config.tmp ; \ 3666c7a1408Swdenk echo "... with lowboot configuration" ; \ 3676c7a1408Swdenk } 3686c7a1408Swdenk @./mkconfig -a Total5200 ppc mpc5xxx total5200 3696c7a1408Swdenk 3707e6bf358SwdenkTQM5200_auto_config \ 37156523f12SwdenkTQM5200_AA_config \ 37256523f12SwdenkTQM5200_AB_config \ 37356523f12SwdenkTQM5200_AC_config \ 37456523f12SwdenkMiniFAP_config: unconfig 37556523f12Swdenk @ >include/config.h 37689394047Swdenk @[ -z "$(findstring MiniFAP,$@)" ] || \ 37756523f12Swdenk { echo "#define CONFIG_MINIFAP" >>include/config.h ; \ 37856523f12Swdenk echo "#define CONFIG_TQM5200_AC" >>include/config.h ; \ 37989394047Swdenk echo "... TQM5200_AC on MiniFAP" ; \ 38056523f12Swdenk } 38156523f12Swdenk @[ -z "$(findstring AA,$@)" ] || \ 38256523f12Swdenk { echo "#define CONFIG_TQM5200_AA" >>include/config.h ; \ 38356523f12Swdenk echo "... with 4 MB Flash, 16 MB SDRAM, 32 kB EEPROM" ; \ 38456523f12Swdenk } 38556523f12Swdenk @[ -z "$(findstring AB,$@)" ] || \ 38656523f12Swdenk { echo "#define CONFIG_TQM5200_AB" >>include/config.h ; \ 38756523f12Swdenk echo "... with 64 MB Flash, 64 MB SDRAM, 32 kB EEPROM, 512 kB SRAM" ; \ 38831a64923Swdenk echo "... with Graphics Controller"; \ 38956523f12Swdenk } 39056523f12Swdenk @[ -z "$(findstring AC,$@)" ] || \ 39156523f12Swdenk { echo "#define CONFIG_TQM5200_AC" >>include/config.h ; \ 39256523f12Swdenk echo "... with 4 MB Flash, 128 MB SDRAM" ; \ 39331a64923Swdenk echo "... with Graphics Controller"; \ 39456523f12Swdenk } 3957e6bf358Swdenk @[ -z "$(findstring auto,$@)" ] || \ 3967e6bf358Swdenk { echo "#define CONFIG_CS_AUTOCONF" >>include/config.h ; \ 3977e6bf358Swdenk echo "... with automatic CS configuration" ; \ 3987e6bf358Swdenk } 39956523f12Swdenk @./mkconfig -a TQM5200 ppc mpc5xxx tqm5200 40056523f12Swdenk 401945af8d7Swdenk######################################################################### 4027ebf7443Swdenk## MPC8xx Systems 4037ebf7443Swdenk######################################################################### 4047ebf7443Swdenk 4052d24a3a7SwdenkAdder_config \ 4062d24a3a7SwdenkAdder87x_config \ 40726238132SwdenkAdderII_config \ 4082d24a3a7Swdenk : unconfig 40926238132Swdenk $(if $(findstring AdderII,$@), \ 4102d24a3a7Swdenk @echo "#define CONFIG_MPC852T" > include/config.h) 4112d24a3a7Swdenk @./mkconfig -a Adder ppc mpc8xx adder 4122d24a3a7Swdenk 413180d3f74SwdenkADS860_config \ 414180d3f74SwdenkFADS823_config \ 415180d3f74SwdenkFADS850SAR_config \ 416180d3f74SwdenkMPC86xADS_config \ 4171114257cSwdenkMPC885ADS_config \ 418180d3f74SwdenkFADS860T_config: unconfig 4197ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx fads 4207ebf7443Swdenk 4217ebf7443SwdenkAMX860_config : unconfig 4227ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx amx860 westel 4237ebf7443Swdenk 4247ebf7443Swdenkc2mon_config: unconfig 4257ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx c2mon 4267ebf7443Swdenk 4277ebf7443SwdenkCCM_config: unconfig 4287ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx CCM siemens 4297ebf7443Swdenk 4307ebf7443Swdenkcogent_mpc8xx_config: unconfig 4317ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx cogent 4327ebf7443Swdenk 4333bac3513SwdenkELPT860_config: unconfig 4343bac3513Swdenk @./mkconfig $(@:_config=) ppc mpc8xx elpt860 LEOX 4353bac3513Swdenk 4367ebf7443SwdenkESTEEM192E_config: unconfig 4377ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx esteem192e 4387ebf7443Swdenk 4397ebf7443SwdenkETX094_config : unconfig 4407ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx etx094 4417ebf7443Swdenk 4427ebf7443SwdenkFLAGADM_config: unconfig 4437ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx flagadm 4447ebf7443Swdenk 4457aa78614Swdenkxtract_GEN860T = $(subst _SC,,$(subst _config,,$1)) 4467aa78614Swdenk 4477aa78614SwdenkGEN860T_SC_config \ 4487ebf7443SwdenkGEN860T_config: unconfig 4497aa78614Swdenk @ >include/config.h 4507aa78614Swdenk @[ -z "$(findstring _SC,$@)" ] || \ 4517aa78614Swdenk { echo "#define CONFIG_SC" >>include/config.h ; \ 4527aa78614Swdenk echo "With reduced H/W feature set (SC)..." ; \ 4537aa78614Swdenk } 4547aa78614Swdenk @./mkconfig -a $(call xtract_GEN860T,$@) ppc mpc8xx gen860t 4557ebf7443Swdenk 4567ebf7443SwdenkGENIETV_config: unconfig 4577ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx genietv 4587ebf7443Swdenk 4597ebf7443SwdenkGTH_config: unconfig 4607ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx gth 4617ebf7443Swdenk 4627ebf7443Swdenkhermes_config : unconfig 4637ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx hermes 4647ebf7443Swdenk 465c40b2956SwdenkHMI10_config : unconfig 466c40b2956Swdenk @./mkconfig $(@:_config=) ppc mpc8xx tqm8xx 467c40b2956Swdenk 4687ebf7443SwdenkIAD210_config: unconfig 4697ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx IAD210 siemens 4707ebf7443Swdenk 4717ebf7443Swdenkxtract_ICU862 = $(subst _100MHz,,$(subst _config,,$1)) 4727ebf7443Swdenk 4737ebf7443SwdenkICU862_100MHz_config \ 4747ebf7443SwdenkICU862_config: unconfig 4757ebf7443Swdenk @ >include/config.h 4767ebf7443Swdenk @[ -z "$(findstring _100MHz,$@)" ] || \ 4777ebf7443Swdenk { echo "#define CONFIG_100MHz" >>include/config.h ; \ 4787ebf7443Swdenk echo "... with 100MHz system clock" ; \ 4797ebf7443Swdenk } 4807ebf7443Swdenk @./mkconfig -a $(call xtract_ICU862,$@) ppc mpc8xx icu862 4817ebf7443Swdenk 4827ebf7443SwdenkIP860_config : unconfig 4837ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx ip860 4847ebf7443Swdenk 4857ebf7443SwdenkIVML24_256_config \ 4867ebf7443SwdenkIVML24_128_config \ 4877ebf7443SwdenkIVML24_config: unconfig 4887ebf7443Swdenk @ >include/config.h 4897ebf7443Swdenk @[ -z "$(findstring IVML24_config,$@)" ] || \ 4907ebf7443Swdenk { echo "#define CONFIG_IVML24_16M" >>include/config.h ; \ 4917ebf7443Swdenk } 4927ebf7443Swdenk @[ -z "$(findstring IVML24_128_config,$@)" ] || \ 4937ebf7443Swdenk { echo "#define CONFIG_IVML24_32M" >>include/config.h ; \ 4947ebf7443Swdenk } 4957ebf7443Swdenk @[ -z "$(findstring IVML24_256_config,$@)" ] || \ 4967ebf7443Swdenk { echo "#define CONFIG_IVML24_64M" >>include/config.h ; \ 4977ebf7443Swdenk } 4987ebf7443Swdenk @./mkconfig -a IVML24 ppc mpc8xx ivm 4997ebf7443Swdenk 5007ebf7443SwdenkIVMS8_256_config \ 5017ebf7443SwdenkIVMS8_128_config \ 5027ebf7443SwdenkIVMS8_config: unconfig 5037ebf7443Swdenk @ >include/config.h 5047ebf7443Swdenk @[ -z "$(findstring IVMS8_config,$@)" ] || \ 5057ebf7443Swdenk { echo "#define CONFIG_IVMS8_16M" >>include/config.h ; \ 5067ebf7443Swdenk } 5077ebf7443Swdenk @[ -z "$(findstring IVMS8_128_config,$@)" ] || \ 5087ebf7443Swdenk { echo "#define CONFIG_IVMS8_32M" >>include/config.h ; \ 5097ebf7443Swdenk } 5107ebf7443Swdenk @[ -z "$(findstring IVMS8_256_config,$@)" ] || \ 5117ebf7443Swdenk { echo "#define CONFIG_IVMS8_64M" >>include/config.h ; \ 5127ebf7443Swdenk } 5137ebf7443Swdenk @./mkconfig -a IVMS8 ppc mpc8xx ivm 5147ebf7443Swdenk 51556f94be3SwdenkKUP4K_config : unconfig 5160608e04dSwdenk @./mkconfig $(@:_config=) ppc mpc8xx kup4k kup 5170608e04dSwdenk 5180608e04dSwdenkKUP4X_config : unconfig 5190608e04dSwdenk @./mkconfig $(@:_config=) ppc mpc8xx kup4x kup 52056f94be3Swdenk 5217ebf7443SwdenkLANTEC_config : unconfig 5227ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx lantec 5237ebf7443Swdenk 5247ebf7443Swdenklwmon_config: unconfig 5257ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx lwmon 5267ebf7443Swdenk 5277ebf7443SwdenkMBX_config \ 5287ebf7443SwdenkMBX860T_config: unconfig 5297ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx mbx8xx 5307ebf7443Swdenk 5317ebf7443SwdenkMHPC_config: unconfig 5327ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx mhpc eltec 5337ebf7443Swdenk 5347ebf7443SwdenkMVS1_config : unconfig 5357ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx mvs1 5367ebf7443Swdenk 537993cad93Swdenkxtract_NETVIA = $(subst _V2,,$(subst _config,,$1)) 538993cad93Swdenk 539993cad93SwdenkNETVIA_V2_config \ 5407ebf7443SwdenkNETVIA_config: unconfig 541993cad93Swdenk @ >include/config.h 542993cad93Swdenk @[ -z "$(findstring NETVIA_config,$@)" ] || \ 543993cad93Swdenk { echo "#define CONFIG_NETVIA_VERSION 1" >>include/config.h ; \ 544993cad93Swdenk echo "... Version 1" ; \ 545993cad93Swdenk } 546993cad93Swdenk @[ -z "$(findstring NETVIA_V2_config,$@)" ] || \ 547993cad93Swdenk { echo "#define CONFIG_NETVIA_VERSION 2" >>include/config.h ; \ 548993cad93Swdenk echo "... Version 2" ; \ 549993cad93Swdenk } 550993cad93Swdenk @./mkconfig -a $(call xtract_NETVIA,$@) ppc mpc8xx netvia 5517ebf7443Swdenk 552c26e454dSwdenkxtract_NETPHONE = $(subst _V2,,$(subst _config,,$1)) 553c26e454dSwdenk 554c26e454dSwdenkNETPHONE_V2_config \ 55504a85b3bSwdenkNETPHONE_config: unconfig 556c26e454dSwdenk @ >include/config.h 557c26e454dSwdenk @[ -z "$(findstring NETPHONE_config,$@)" ] || \ 558c26e454dSwdenk { echo "#define CONFIG_NETPHONE_VERSION 1" >>include/config.h ; \ 559c26e454dSwdenk } 560c26e454dSwdenk @[ -z "$(findstring NETPHONE_V2_config,$@)" ] || \ 561c26e454dSwdenk { echo "#define CONFIG_NETPHONE_VERSION 2" >>include/config.h ; \ 562c26e454dSwdenk } 563c26e454dSwdenk @./mkconfig -a $(call xtract_NETPHONE,$@) ppc mpc8xx netphone 56404a85b3bSwdenk 56579fa88f3Swdenkxtract_NETTA = $(subst _SWAPHOOK,,$(subst _6412,,$(subst _ISDN,,$(subst _config,,$1)))) 56604a85b3bSwdenk 56779fa88f3SwdenkNETTA_ISDN_6412_SWAPHOOK_config \ 56879fa88f3SwdenkNETTA_ISDN_SWAPHOOK_config \ 56979fa88f3SwdenkNETTA_6412_SWAPHOOK_config \ 57079fa88f3SwdenkNETTA_SWAPHOOK_config \ 57179fa88f3SwdenkNETTA_ISDN_6412_config \ 57204a85b3bSwdenkNETTA_ISDN_config \ 57379fa88f3SwdenkNETTA_6412_config \ 57404a85b3bSwdenkNETTA_config: unconfig 57504a85b3bSwdenk @ >include/config.h 57679fa88f3Swdenk @[ -z "$(findstring ISDN_,$@)" ] || \ 57704a85b3bSwdenk { echo "#define CONFIG_NETTA_ISDN 1" >>include/config.h ; \ 57804a85b3bSwdenk } 57979fa88f3Swdenk @[ -n "$(findstring ISDN_,$@)" ] || \ 58079fa88f3Swdenk { echo "#undef CONFIG_NETTA_ISDN" >>include/config.h ; \ 58179fa88f3Swdenk } 58279fa88f3Swdenk @[ -z "$(findstring 6412_,$@)" ] || \ 58379fa88f3Swdenk { echo "#define CONFIG_NETTA_6412 1" >>include/config.h ; \ 58479fa88f3Swdenk } 58579fa88f3Swdenk @[ -n "$(findstring 6412_,$@)" ] || \ 58679fa88f3Swdenk { echo "#undef CONFIG_NETTA_6412" >>include/config.h ; \ 58779fa88f3Swdenk } 58879fa88f3Swdenk @[ -z "$(findstring SWAPHOOK_,$@)" ] || \ 58979fa88f3Swdenk { echo "#define CONFIG_NETTA_SWAPHOOK 1" >>include/config.h ; \ 59079fa88f3Swdenk } 59179fa88f3Swdenk @[ -n "$(findstring SWAPHOOK_,$@)" ] || \ 59279fa88f3Swdenk { echo "#undef CONFIG_NETTA_SWAPHOOK" >>include/config.h ; \ 59379fa88f3Swdenk } 59404a85b3bSwdenk @./mkconfig -a $(call xtract_NETTA,$@) ppc mpc8xx netta 59504a85b3bSwdenk 59679fa88f3Swdenkxtract_NETTA2 = $(subst _V2,,$(subst _config,,$1)) 59779fa88f3Swdenk 59879fa88f3SwdenkNETTA2_V2_config \ 59979fa88f3SwdenkNETTA2_config: unconfig 60079fa88f3Swdenk @ >include/config.h 60179fa88f3Swdenk @[ -z "$(findstring NETTA2_config,$@)" ] || \ 60279fa88f3Swdenk { echo "#define CONFIG_NETTA2_VERSION 1" >>include/config.h ; \ 60379fa88f3Swdenk } 60479fa88f3Swdenk @[ -z "$(findstring NETTA2_V2_config,$@)" ] || \ 60579fa88f3Swdenk { echo "#define CONFIG_NETTA2_VERSION 2" >>include/config.h ; \ 60679fa88f3Swdenk } 60779fa88f3Swdenk @./mkconfig -a $(call xtract_NETTA2,$@) ppc mpc8xx netta2 60879fa88f3Swdenk 6097ca202f5SwdenkNC650_config: unconfig 6107ca202f5Swdenk @./mkconfig $(@:_config=) ppc mpc8xx nc650 6117ca202f5Swdenk 6127ebf7443SwdenkNX823_config: unconfig 6137ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx nx823 6147ebf7443Swdenk 6157ebf7443Swdenkpcu_e_config: unconfig 6167ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx pcu_e siemens 6177ebf7443Swdenk 6183bbc899fSwdenkQS850_config: unconfig 6193bbc899fSwdenk @./mkconfig $(@:_config=) ppc mpc8xx qs850 snmc 6203bbc899fSwdenk 6213bbc899fSwdenkQS823_config: unconfig 6223bbc899fSwdenk @./mkconfig $(@:_config=) ppc mpc8xx qs850 snmc 6233bbc899fSwdenk 6243bbc899fSwdenkQS860T_config: unconfig 6253bbc899fSwdenk @./mkconfig $(@:_config=) ppc mpc8xx qs860t snmc 6263bbc899fSwdenk 627da93ed81Swdenkquantum_config: unconfig 628da93ed81Swdenk @./mkconfig $(@:_config=) ppc mpc8xx quantum 629da93ed81Swdenk 6307ebf7443SwdenkR360MPI_config: unconfig 6317ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx r360mpi 6327ebf7443Swdenk 633682011ffSwdenkRBC823_config: unconfig 634682011ffSwdenk @./mkconfig $(@:_config=) ppc mpc8xx rbc823 635682011ffSwdenk 6367ebf7443SwdenkRPXClassic_config: unconfig 6377ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx RPXClassic 6387ebf7443Swdenk 6397ebf7443SwdenkRPXlite_config: unconfig 6407ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx RPXlite 6417ebf7443Swdenk 642e63c8ee3SwdenkRPXlite_DW_64_config \ 643e63c8ee3SwdenkRPXlite_DW_LCD_config \ 644e63c8ee3SwdenkRPXlite_DW_64_LCD_config \ 645e63c8ee3SwdenkRPXlite_DW_NVRAM_config \ 646e63c8ee3SwdenkRPXlite_DW_NVRAM_64_config \ 647e63c8ee3SwdenkRPXlite_DW_NVRAM_LCD_config \ 648e63c8ee3SwdenkRPXlite_DW_NVRAM_64_LCD_config \ 649e63c8ee3SwdenkRPXlite_DW_config: unconfig 650e63c8ee3Swdenk @ >include/config.h 651e63c8ee3Swdenk @[ -z "$(findstring _64,$@)" ] || \ 652e63c8ee3Swdenk { echo "#define RPXlite_64MHz" >>include/config.h ; \ 653e63c8ee3Swdenk echo "... with 64MHz system clock ..."; \ 654e63c8ee3Swdenk } 655e63c8ee3Swdenk @[ -z "$(findstring _LCD,$@)" ] || \ 656e63c8ee3Swdenk { echo "#define CONFIG_LCD" >>include/config.h ; \ 657e63c8ee3Swdenk echo "#define CONFIG_NEC_NL6448BC20" >>include/config.h ; \ 658e63c8ee3Swdenk echo "... with LCD display ..."; \ 659e63c8ee3Swdenk } 660e63c8ee3Swdenk @[ -z "$(findstring _NVRAM,$@)" ] || \ 661e63c8ee3Swdenk { echo "#define CFG_ENV_IS_IN_NVRAM" >>include/config.h ; \ 662e63c8ee3Swdenk echo "... with ENV in NVRAM ..."; \ 663e63c8ee3Swdenk } 664e63c8ee3Swdenk @./mkconfig -a RPXlite_DW ppc mpc8xx RPXlite_dw 665e63c8ee3Swdenk 66673a8b27cSwdenkrmu_config: unconfig 66773a8b27cSwdenk @./mkconfig $(@:_config=) ppc mpc8xx rmu 66873a8b27cSwdenk 6697ebf7443SwdenkRRvision_config: unconfig 6707ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx RRvision 6717ebf7443Swdenk 6727ebf7443SwdenkRRvision_LCD_config: unconfig 6737ebf7443Swdenk @echo "#define CONFIG_LCD" >include/config.h 6747ebf7443Swdenk @echo "#define CONFIG_SHARP_LQ104V7DS01" >>include/config.h 6757ebf7443Swdenk @./mkconfig -a RRvision ppc mpc8xx RRvision 6767ebf7443Swdenk 6777ebf7443SwdenkSM850_config : unconfig 6787ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx tqm8xx 6797ebf7443Swdenk 6807ebf7443SwdenkSPD823TS_config: unconfig 6817ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx spd8xx 6827ebf7443Swdenk 6836bdf4306SWolfgang Denkstxxtc_config: unconfig 6846bdf4306SWolfgang Denk @./mkconfig $(@:_config=) ppc mpc8xx stxxtc 6856bdf4306SWolfgang Denk 686dc7c9a1aSwdenksvm_sc8xx_config: unconfig 687dc7c9a1aSwdenk @ >include/config.h 688dc7c9a1aSwdenk @./mkconfig $(@:_config=) ppc mpc8xx svm_sc8xx 689dc7c9a1aSwdenk 6907ebf7443SwdenkSXNI855T_config: unconfig 6917ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx sixnet 6927ebf7443Swdenk 693db2f721fSwdenk# EMK MPC8xx based modules 694db2f721fSwdenkTOP860_config: unconfig 695db2f721fSwdenk @./mkconfig $(@:_config=) ppc mpc8xx top860 emk 696db2f721fSwdenk 6977ebf7443Swdenk# Play some tricks for configuration selection 698e9132ea9Swdenk# Only 855 and 860 boards may come with FEC 699e9132ea9Swdenk# and only 823 boards may have LCD support 700e9132ea9Swdenkxtract_8xx = $(subst _LCD,,$(subst _config,,$1)) 7017ebf7443Swdenk 7027ebf7443SwdenkFPS850L_config \ 703384ae025SwdenkFPS860L_config \ 704f12e568cSwdenkNSCU_config \ 7057ebf7443SwdenkTQM823L_config \ 7067ebf7443SwdenkTQM823L_LCD_config \ 7077ebf7443SwdenkTQM850L_config \ 7087ebf7443SwdenkTQM855L_config \ 7097ebf7443SwdenkTQM860L_config \ 710d126bfbdSwdenkTQM862L_config \ 711ae3af05eSwdenkTQM823M_config \ 712ae3af05eSwdenkTQM850M_config \ 713f12e568cSwdenkTQM855M_config \ 714f12e568cSwdenkTQM860M_config \ 715f12e568cSwdenkTQM862M_config \ 716c178d3daSwdenkTQM866M_config: unconfig 7177ebf7443Swdenk @ >include/config.h 7187ebf7443Swdenk @[ -z "$(findstring _LCD,$@)" ] || \ 7197ebf7443Swdenk { echo "#define CONFIG_LCD" >>include/config.h ; \ 720fd3103bbSwdenk echo "#define CONFIG_NEC_NL6448BC20" >>include/config.h ; \ 7217ebf7443Swdenk echo "... with LCD display" ; \ 7227ebf7443Swdenk } 7237ebf7443Swdenk @./mkconfig -a $(call xtract_8xx,$@) ppc mpc8xx tqm8xx 7247ebf7443Swdenk 7257ebf7443SwdenkTTTech_config: unconfig 7267ebf7443Swdenk @echo "#define CONFIG_LCD" >include/config.h 7277ebf7443Swdenk @echo "#define CONFIG_SHARP_LQ104V7DS01" >>include/config.h 7287ebf7443Swdenk @./mkconfig -a TQM823L ppc mpc8xx tqm8xx 7297ebf7443Swdenk 730ec0aee7bSwdenkuc100_config : unconfig 731f7d1572bSwdenk @./mkconfig $(@:_config=) ppc mpc8xx uc100 732f7d1572bSwdenk 733608c9146Swdenkv37_config: unconfig 734608c9146Swdenk @echo "#define CONFIG_LCD" >include/config.h 735608c9146Swdenk @echo "#define CONFIG_SHARP_LQ084V1DG21" >>include/config.h 736608c9146Swdenk @./mkconfig $(@:_config=) ppc mpc8xx v37 737608c9146Swdenk 73891e940d9Sdzuwtk_config: unconfig 73991e940d9Sdzu @echo "#define CONFIG_LCD" >include/config.h 74091e940d9Sdzu @echo "#define CONFIG_SHARP_LQ065T9DR51U" >>include/config.h 74191e940d9Sdzu @./mkconfig -a TQM823L ppc mpc8xx tqm8xx 74291e940d9Sdzu 7437ebf7443Swdenk######################################################################### 7447ebf7443Swdenk## PPC4xx Systems 7457ebf7443Swdenk######################################################################### 746e55ca7e2Swdenkxtract_4xx = $(subst _25,,$(subst _33,,$(subst _BA,,$(subst _ME,,$(subst _HI,,$(subst _config,,$1)))))) 7477ebf7443Swdenk 7487ebf7443SwdenkADCIOP_config: unconfig 7497ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx adciop esd 7507ebf7443Swdenk 7517521af1cSWolfgang DenkAP1000_config:unconfig 7527521af1cSWolfgang Denk @./mkconfig $(@:_config=) ppc ppc4xx ap1000 amirix 7537521af1cSWolfgang Denk 754c419d1d6SstroeseAPC405_config: unconfig 755c419d1d6Sstroese @./mkconfig $(@:_config=) ppc ppc4xx apc405 esd 756c419d1d6Sstroese 7577ebf7443SwdenkAR405_config: unconfig 7587ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx ar405 esd 7597ebf7443Swdenk 760549826eaSstroeseASH405_config: unconfig 761549826eaSstroese @./mkconfig $(@:_config=) ppc ppc4xx ash405 esd 762549826eaSstroese 7638a316c9bSStefan Roesebamboo_config: unconfig 7648a316c9bSStefan Roese @./mkconfig $(@:_config=) ppc ppc4xx bamboo amcc 7658a316c9bSStefan Roese 7668a316c9bSStefan Roesebubinga_config: unconfig 7678a316c9bSStefan Roese @./mkconfig $(@:_config=) ppc ppc4xx bubinga amcc 768549826eaSstroese 7697ebf7443SwdenkCANBT_config: unconfig 7707ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx canbt esd 7717ebf7443Swdenk 7721d6f9720SwdenkCATcenter_config \ 7731d6f9720SwdenkCATcenter_25_config \ 7741d6f9720SwdenkCATcenter_33_config: unconfig 77510767ccbSwdenk @ echo "/* CATcenter uses PPChameleon Model ME */" > include/config.h 77610767ccbSwdenk @ echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 1" >> include/config.h 7771d6f9720Swdenk @[ -z "$(findstring _25,$@)" ] || \ 7781d6f9720Swdenk { echo "#define CONFIG_PPCHAMELEON_CLK_25" >>include/config.h ; \ 7791d6f9720Swdenk echo "SysClk = 25MHz" ; \ 7801d6f9720Swdenk } 7811d6f9720Swdenk @[ -z "$(findstring _33,$@)" ] || \ 7821d6f9720Swdenk { echo "#define CONFIG_PPCHAMELEON_CLK_33" >>include/config.h ; \ 7831d6f9720Swdenk echo "SysClk = 33MHz" ; \ 7841d6f9720Swdenk } 78510767ccbSwdenk @./mkconfig -a $(call xtract_4xx,$@) ppc ppc4xx PPChameleonEVB dave 78610767ccbSwdenk 7877644f16fSStefan RoeseCPCI2DP_config: unconfig 7887644f16fSStefan Roese @./mkconfig $(@:_config=) ppc ppc4xx cpci2dp esd 7897644f16fSStefan Roese 7907ebf7443SwdenkCPCI405_config \ 791549826eaSstroeseCPCI4052_config \ 792c419d1d6SstroeseCPCI405DT_config \ 793549826eaSstroeseCPCI405AB_config: unconfig 7947ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx cpci405 esd 7957ebf7443Swdenk @echo "BOARD_REVISION = $(@:_config=)" >>include/config.mk 7967ebf7443Swdenk 7977ebf7443SwdenkCPCI440_config: unconfig 7987ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx cpci440 esd 7997ebf7443Swdenk 8007ebf7443SwdenkCPCIISER4_config: unconfig 8017ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx cpciiser4 esd 8027ebf7443Swdenk 8037ebf7443SwdenkCRAYL1_config: unconfig 8047ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx L1 cray 8057ebf7443Swdenk 806cd0a9de6Swdenkcsb272_config: unconfig 807cd0a9de6Swdenk @./mkconfig $(@:_config=) ppc ppc4xx csb272 808cd0a9de6Swdenk 809aa245090Swdenkcsb472_config: unconfig 810aa245090Swdenk @./mkconfig $(@:_config=) ppc ppc4xx csb472 811aa245090Swdenk 8127ebf7443SwdenkDASA_SIM_config: unconfig 8137ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx dasa_sim esd 8147ebf7443Swdenk 81572cd5aa7SstroeseDP405_config: unconfig 81672cd5aa7Sstroese @./mkconfig $(@:_config=) ppc ppc4xx dp405 esd 81772cd5aa7Sstroese 8187ebf7443SwdenkDU405_config: unconfig 8197ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx du405 esd 8207ebf7443Swdenk 8218a316c9bSStefan Roeseebony_config: unconfig 8228a316c9bSStefan Roese @./mkconfig $(@:_config=) ppc ppc4xx ebony amcc 8237ebf7443Swdenk 8247ebf7443SwdenkERIC_config: unconfig 8257ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx eric 8267ebf7443Swdenk 827d1cbe85bSwdenkEXBITGEN_config: unconfig 828d1cbe85bSwdenk @./mkconfig $(@:_config=) ppc ppc4xx exbitgen 829d1cbe85bSwdenk 830c419d1d6SstroeseG2000_config: unconfig 831c419d1d6Sstroese @./mkconfig $(@:_config=) ppc ppc4xx g2000 832c419d1d6Sstroese 833c419d1d6SstroeseHH405_config: unconfig 834c419d1d6Sstroese @./mkconfig $(@:_config=) ppc ppc4xx hh405 esd 835c419d1d6Sstroese 83672cd5aa7SstroeseHUB405_config: unconfig 83772cd5aa7Sstroese @./mkconfig $(@:_config=) ppc ppc4xx hub405 esd 83872cd5aa7Sstroese 839db01a2eaSwdenkJSE_config: unconfig 840db01a2eaSwdenk @./mkconfig $(@:_config=) ppc ppc4xx jse 841db01a2eaSwdenk 842b79316f2SStefan RoeseKAREF_config: unconfig 843b79316f2SStefan Roese @./mkconfig $(@:_config=) ppc ppc4xx karef sandburst 844b79316f2SStefan Roese 8456e7fb6eaSStefan Roeseluan_config: unconfig 8466e7fb6eaSStefan Roese @./mkconfig $(@:_config=) ppc ppc4xx luan amcc 8476e7fb6eaSStefan Roese 848b79316f2SStefan RoeseMETROBOX_config: unconfig 849b79316f2SStefan Roese @./mkconfig $(@:_config=) ppc ppc4xx metrobox sandburst 850b79316f2SStefan Roese 8517ebf7443SwdenkMIP405_config: unconfig 8527ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx mip405 mpl 8537ebf7443Swdenk 854f3e0de60SwdenkMIP405T_config: unconfig 855f3e0de60Swdenk @echo "#define CONFIG_MIP405T" >include/config.h 856f3e0de60Swdenk @echo "Enable subset config for MIP405T" 857f3e0de60Swdenk @./mkconfig -a MIP405 ppc ppc4xx mip405 mpl 858f3e0de60Swdenk 8597ebf7443SwdenkML2_config: unconfig 8607ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx ml2 8617ebf7443Swdenk 862028ab6b5Swdenkml300_config: unconfig 863028ab6b5Swdenk @./mkconfig $(@:_config=) ppc ppc4xx ml300 xilinx 864028ab6b5Swdenk 8658a316c9bSStefan Roeseocotea_config: unconfig 8668a316c9bSStefan Roese @./mkconfig $(@:_config=) ppc ppc4xx ocotea amcc 8670e6d798cSwdenk 8687ebf7443SwdenkOCRTC_config \ 8697ebf7443SwdenkORSG_config: unconfig 8707ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx ocrtc esd 8717ebf7443Swdenk 8725568e613SStefan Roesep3p440_config: unconfig 8735568e613SStefan Roese @./mkconfig $(@:_config=) ppc ppc4xx p3p440 prodrive 8745568e613SStefan Roese 8757ebf7443SwdenkPCI405_config: unconfig 8767ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx pci405 esd 8777ebf7443Swdenk 8787ebf7443SwdenkPIP405_config: unconfig 8797ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx pip405 mpl 8807ebf7443Swdenk 88172cd5aa7SstroesePLU405_config: unconfig 88272cd5aa7Sstroese @./mkconfig $(@:_config=) ppc ppc4xx plu405 esd 88372cd5aa7Sstroese 884549826eaSstroesePMC405_config: unconfig 885549826eaSstroese @./mkconfig $(@:_config=) ppc ppc4xx pmc405 esd 886549826eaSstroese 887281e00a3SwdenkPPChameleonEVB_config \ 888e55ca7e2SwdenkPPChameleonEVB_BA_25_config \ 889e55ca7e2SwdenkPPChameleonEVB_ME_25_config \ 890e55ca7e2SwdenkPPChameleonEVB_HI_25_config \ 891e55ca7e2SwdenkPPChameleonEVB_BA_33_config \ 892e55ca7e2SwdenkPPChameleonEVB_ME_33_config \ 893e55ca7e2SwdenkPPChameleonEVB_HI_33_config: unconfig 894fbe4b5cbSwdenk @ >include/config.h 8951d6f9720Swdenk @[ -z "$(findstring EVB_BA,$@)" ] || \ 896fbe4b5cbSwdenk { echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 0" >>include/config.h ; \ 897fbe4b5cbSwdenk echo "... BASIC model" ; \ 898fbe4b5cbSwdenk } 8991d6f9720Swdenk @[ -z "$(findstring EVB_ME,$@)" ] || \ 900fbe4b5cbSwdenk { echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 1" >>include/config.h ; \ 901fbe4b5cbSwdenk echo "... MEDIUM model" ; \ 902fbe4b5cbSwdenk } 9031d6f9720Swdenk @[ -z "$(findstring EVB_HI,$@)" ] || \ 904fbe4b5cbSwdenk { echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 2" >>include/config.h ; \ 905fbe4b5cbSwdenk echo "... HIGH-END model" ; \ 906fbe4b5cbSwdenk } 907e55ca7e2Swdenk @[ -z "$(findstring _25,$@)" ] || \ 908e55ca7e2Swdenk { echo "#define CONFIG_PPCHAMELEON_CLK_25" >>include/config.h ; \ 909e55ca7e2Swdenk echo "SysClk = 25MHz" ; \ 910e55ca7e2Swdenk } 911e55ca7e2Swdenk @[ -z "$(findstring _33,$@)" ] || \ 912e55ca7e2Swdenk { echo "#define CONFIG_PPCHAMELEON_CLK_33" >>include/config.h ; \ 913e55ca7e2Swdenk echo "SysClk = 33MHz" ; \ 914e55ca7e2Swdenk } 915fbe4b5cbSwdenk @./mkconfig -a $(call xtract_4xx,$@) ppc ppc4xx PPChameleonEVB dave 91612f34241Swdenk 917652a10c0Swdenksbc405_config: unconfig 918652a10c0Swdenk @./mkconfig $(@:_config=) ppc ppc4xx sbc405 919652a10c0Swdenk 9208a316c9bSStefan Roesesycamore_config: unconfig 9218a316c9bSStefan Roese @echo "Configuring for sycamore board as subset of walnut..." 9228a316c9bSStefan Roese @./mkconfig -a walnut ppc ppc4xx walnut amcc 9238a316c9bSStefan Roese 92472cd5aa7SstroeseVOH405_config: unconfig 92572cd5aa7Sstroese @./mkconfig $(@:_config=) ppc ppc4xx voh405 esd 92672cd5aa7Sstroese 927c419d1d6SstroeseVOM405_config: unconfig 928c419d1d6Sstroese @./mkconfig $(@:_config=) ppc ppc4xx vom405 esd 929c419d1d6Sstroese 930feaedfcfSStefan RoeseCMS700_config: unconfig 931feaedfcfSStefan Roese @./mkconfig $(@:_config=) ppc ppc4xx cms700 esd 932feaedfcfSStefan Roese 9337ebf7443SwdenkW7OLMC_config \ 9347ebf7443SwdenkW7OLMG_config: unconfig 9357ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx w7o 9367ebf7443Swdenk 9378a316c9bSStefan Roesewalnut_config: unconfig 9388a316c9bSStefan Roese @./mkconfig $(@:_config=) ppc ppc4xx walnut amcc 9397ebf7443Swdenk 940c419d1d6SstroeseWUH405_config: unconfig 941c419d1d6Sstroese @./mkconfig $(@:_config=) ppc ppc4xx wuh405 esd 942c419d1d6Sstroese 943ba56f625SwdenkXPEDITE1K_config: unconfig 944ba56f625Swdenk @./mkconfig $(@:_config=) ppc ppc4xx xpedite1k 945ba56f625Swdenk 9468a316c9bSStefan Roeseyosemite_config: unconfig 9478a316c9bSStefan Roese @./mkconfig $(@:_config=) ppc ppc4xx yosemite amcc 9488a316c9bSStefan Roese 9498a316c9bSStefan Roeseyellowstone_config: unconfig 9508a316c9bSStefan Roese @./mkconfig $(@:_config=) ppc ppc4xx yellowstone amcc 9518a316c9bSStefan Roese 9527ebf7443Swdenk######################################################################### 953983fda83Swdenk## MPC8220 Systems 954983fda83Swdenk######################################################################### 955dc17fb6dSWolfgang Denk 956dc17fb6dSWolfgang DenkAlaska8220_config \ 957dc17fb6dSWolfgang DenkYukon8220_config: unconfig 958983fda83Swdenk @./mkconfig $(@:_config=) ppc mpc8220 alaska 959983fda83Swdenk 96012b43d51Swdenksorcery_config: unconfig 96112b43d51Swdenk @./mkconfig $(@:_config=) ppc mpc8220 sorcery 96212b43d51Swdenk 963983fda83Swdenk######################################################################### 9647ebf7443Swdenk## MPC824x Systems 9657ebf7443Swdenk######################################################################### 966efa329cbSwdenkxtract_82xx = $(subst _BIGFLASH,,$(subst _ROMBOOT,,$(subst _L2,,$(subst _266MHz,,$(subst _300MHz,,$(subst _config,,$1)))))) 9673bac3513Swdenk 9680332990bSwdenkA3000_config: unconfig 9690332990bSwdenk @./mkconfig $(@:_config=) ppc mpc824x a3000 9700332990bSwdenk 9718e6f1a8eSWolfgang Denkbarco_config: unconfig 9728e6f1a8eSWolfgang Denk @./mkconfig $(@:_config=) ppc mpc824x barco 9738e6f1a8eSWolfgang Denk 9747ebf7443SwdenkBMW_config: unconfig 9757ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc824x bmw 9767ebf7443Swdenk 9773bac3513SwdenkCPC45_config \ 9783bac3513SwdenkCPC45_ROMBOOT_config: unconfig 9793bac3513Swdenk @./mkconfig $(call xtract_82xx,$@) ppc mpc824x cpc45 9803bac3513Swdenk @cd ./include ; \ 9813bac3513Swdenk if [ "$(findstring _ROMBOOT_,$@)" ] ; then \ 9823bac3513Swdenk echo "CONFIG_BOOT_ROM = y" >> config.mk ; \ 9833bac3513Swdenk echo "... booting from 8-bit flash" ; \ 9843bac3513Swdenk else \ 9853bac3513Swdenk echo "CONFIG_BOOT_ROM = n" >> config.mk ; \ 9863bac3513Swdenk echo "... booting from 64-bit flash" ; \ 9873bac3513Swdenk fi; \ 9883bac3513Swdenk echo "export CONFIG_BOOT_ROM" >> config.mk; 9893bac3513Swdenk 9907ebf7443SwdenkCU824_config: unconfig 9917ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc824x cu824 9927ebf7443Swdenk 9937abf0c58Swdenkdebris_config: unconfig 9947abf0c58Swdenk @./mkconfig $(@:_config=) ppc mpc824x debris etin 9957abf0c58Swdenk 99680885a9dSwdenkeXalion_config: unconfig 99780885a9dSwdenk @./mkconfig $(@:_config=) ppc mpc824x eXalion 99880885a9dSwdenk 999756f586aSwdenkHIDDEN_DRAGON_config: unconfig 1000756f586aSwdenk @./mkconfig $(@:_config=) ppc mpc824x hidden_dragon 1001756f586aSwdenk 10027ebf7443SwdenkMOUSSE_config: unconfig 10037ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc824x mousse 10047ebf7443Swdenk 10057ebf7443SwdenkMUSENKI_config: unconfig 10067ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc824x musenki 10077ebf7443Swdenk 1008b4676a25SwdenkMVBLUE_config: unconfig 1009b4676a25Swdenk @./mkconfig $(@:_config=) ppc mpc824x mvblue 1010b4676a25Swdenk 10117ebf7443SwdenkOXC_config: unconfig 10127ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc824x oxc 10137ebf7443Swdenk 10147ebf7443SwdenkPN62_config: unconfig 10157ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc824x pn62 10167ebf7443Swdenk 10177ebf7443SwdenkSandpoint8240_config: unconfig 10187ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc824x sandpoint 10197ebf7443Swdenk 10207ebf7443SwdenkSandpoint8245_config: unconfig 10217ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc824x sandpoint 10227ebf7443Swdenk 1023466b7410Swdenksbc8240_config: unconfig 1024466b7410Swdenk @./mkconfig $(@:_config=) ppc mpc824x sbc8240 1025466b7410Swdenk 1026d1cbe85bSwdenkSL8245_config: unconfig 1027d1cbe85bSwdenk @./mkconfig $(@:_config=) ppc mpc824x sl8245 1028d1cbe85bSwdenk 10297ebf7443Swdenkutx8245_config: unconfig 10307ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc824x utx8245 10317ebf7443Swdenk 10327ebf7443Swdenk######################################################################### 10337ebf7443Swdenk## MPC8260 Systems 10347ebf7443Swdenk######################################################################### 10357ebf7443Swdenk 103654387ac9Swdenkatc_config: unconfig 103754387ac9Swdenk @./mkconfig $(@:_config=) ppc mpc8260 atc 103854387ac9Swdenk 10397ebf7443Swdenkcogent_mpc8260_config: unconfig 10407ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8260 cogent 10417ebf7443Swdenk 10427ebf7443SwdenkCPU86_config \ 10437ebf7443SwdenkCPU86_ROMBOOT_config: unconfig 10447ebf7443Swdenk @./mkconfig $(call xtract_82xx,$@) ppc mpc8260 cpu86 10457ebf7443Swdenk @cd ./include ; \ 10467ebf7443Swdenk if [ "$(findstring _ROMBOOT_,$@)" ] ; then \ 10477ebf7443Swdenk echo "CONFIG_BOOT_ROM = y" >> config.mk ; \ 10487ebf7443Swdenk echo "... booting from 8-bit flash" ; \ 10497ebf7443Swdenk else \ 10507ebf7443Swdenk echo "CONFIG_BOOT_ROM = n" >> config.mk ; \ 10517ebf7443Swdenk echo "... booting from 64-bit flash" ; \ 10527ebf7443Swdenk fi; \ 10537ebf7443Swdenk echo "export CONFIG_BOOT_ROM" >> config.mk; 10547ebf7443Swdenk 1055384cc687SwdenkCPU87_config \ 1056384cc687SwdenkCPU87_ROMBOOT_config: unconfig 1057384cc687Swdenk @./mkconfig $(call xtract_82xx,$@) ppc mpc8260 cpu87 1058384cc687Swdenk @cd ./include ; \ 1059384cc687Swdenk if [ "$(findstring _ROMBOOT_,$@)" ] ; then \ 1060384cc687Swdenk echo "CONFIG_BOOT_ROM = y" >> config.mk ; \ 1061384cc687Swdenk echo "... booting from 8-bit flash" ; \ 1062384cc687Swdenk else \ 1063384cc687Swdenk echo "CONFIG_BOOT_ROM = n" >> config.mk ; \ 1064384cc687Swdenk echo "... booting from 64-bit flash" ; \ 1065384cc687Swdenk fi; \ 1066384cc687Swdenk echo "export CONFIG_BOOT_ROM" >> config.mk; 1067384cc687Swdenk 1068f901a83bSWolfgang Denkep8248_config \ 1069f901a83bSWolfgang Denkep8248E_config : unconfig 1070f901a83bSWolfgang Denk @./mkconfig ep8248 ppc mpc8260 ep8248 1071f901a83bSWolfgang Denk 10727ebf7443Swdenkep8260_config: unconfig 10737ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8260 ep8260 10747ebf7443Swdenk 10757ebf7443Swdenkgw8260_config: unconfig 10767ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8260 gw8260 10777ebf7443Swdenk 10787ebf7443Swdenkhymod_config: unconfig 10797ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8260 hymod 10807ebf7443Swdenk 10819dd41a7bSwdenkIDS8247_config: unconfig 10829dd41a7bSwdenk @./mkconfig $(@:_config=) ppc mpc8260 ids8247 10839dd41a7bSwdenk 10847ebf7443SwdenkIPHASE4539_config: unconfig 10857ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8260 iphase4539 10867ebf7443Swdenk 1087c3c7f861SwdenkISPAN_config \ 1088c3c7f861SwdenkISPAN_REVB_config: unconfig 1089c3c7f861Swdenk @if [ "$(findstring _REVB_,$@)" ] ; then \ 1090c3c7f861Swdenk echo "#define CFG_REV_B" > include/config.h ; \ 1091c3c7f861Swdenk fi 1092c3c7f861Swdenk @./mkconfig -a ISPAN ppc mpc8260 ispan 1093c3c7f861Swdenk 109404a85b3bSwdenkMPC8260ADS_config \ 1095901787d6SwdenkMPC8260ADS_lowboot_config \ 109604a85b3bSwdenkMPC8260ADS_33MHz_config \ 1097901787d6SwdenkMPC8260ADS_33MHz_lowboot_config \ 109804a85b3bSwdenkMPC8260ADS_40MHz_config \ 1099901787d6SwdenkMPC8260ADS_40MHz_lowboot_config \ 110004a85b3bSwdenkMPC8272ADS_config \ 1101901787d6SwdenkMPC8272ADS_lowboot_config \ 110204a85b3bSwdenkPQ2FADS_config \ 1103901787d6SwdenkPQ2FADS_lowboot_config \ 110404a85b3bSwdenkPQ2FADS-VR_config \ 1105901787d6SwdenkPQ2FADS-VR_lowboot_config \ 110604a85b3bSwdenkPQ2FADS-ZU_config \ 1107901787d6SwdenkPQ2FADS-ZU_lowboot_config \ 110804a85b3bSwdenkPQ2FADS-ZU_66MHz_config \ 1109901787d6SwdenkPQ2FADS-ZU_66MHz_lowboot_config \ 111004a85b3bSwdenk : unconfig 111104a85b3bSwdenk $(if $(findstring PQ2FADS,$@), \ 111204a85b3bSwdenk @echo "#define CONFIG_ADSTYPE CFG_PQ2FADS" > include/config.h, \ 111304a85b3bSwdenk @echo "#define CONFIG_ADSTYPE CFG_"$(subst MPC,,$(word 1,$(subst _, ,$@))) > include/config.h) 111404a85b3bSwdenk $(if $(findstring MHz,$@), \ 111504a85b3bSwdenk @echo "#define CONFIG_8260_CLKIN" $(subst MHz,,$(word 2,$(subst _, ,$@)))"000000" >> include/config.h, \ 111604a85b3bSwdenk $(if $(findstring VR,$@), \ 111704a85b3bSwdenk @echo "#define CONFIG_8260_CLKIN 66000000" >> include/config.h)) 1118901787d6Swdenk @[ -z "$(findstring lowboot_,$@)" ] || \ 1119901787d6Swdenk { echo "TEXT_BASE = 0xFF800000" >board/mpc8260ads/config.tmp ; \ 1120901787d6Swdenk echo "... with lowboot configuration" ; \ 1121901787d6Swdenk } 112204a85b3bSwdenk @./mkconfig -a MPC8260ADS ppc mpc8260 mpc8260ads 11237ebf7443Swdenk 1124db2f721fSwdenkMPC8266ADS_config: unconfig 1125db2f721fSwdenk @./mkconfig $(@:_config=) ppc mpc8260 mpc8266ads 1126db2f721fSwdenk 1127efa329cbSwdenk# PM825/PM826 default configuration: small (= 8 MB) Flash / boot from 64-bit flash 112810f67017SwdenkPM825_config \ 1129efa329cbSwdenkPM825_ROMBOOT_config \ 1130efa329cbSwdenkPM825_BIGFLASH_config \ 1131efa329cbSwdenkPM825_ROMBOOT_BIGFLASH_config \ 11327ebf7443SwdenkPM826_config \ 1133efa329cbSwdenkPM826_ROMBOOT_config \ 1134efa329cbSwdenkPM826_BIGFLASH_config \ 1135efa329cbSwdenkPM826_ROMBOOT_BIGFLASH_config: unconfig 1136efa329cbSwdenk @if [ "$(findstring PM825_,$@)" ] ; then \ 1137efa329cbSwdenk echo "#define CONFIG_PCI" >include/config.h ; \ 11387ebf7443Swdenk else \ 1139efa329cbSwdenk >include/config.h ; \ 1140efa329cbSwdenk fi 1141efa329cbSwdenk @if [ "$(findstring _ROMBOOT_,$@)" ] ; then \ 1142efa329cbSwdenk echo "... booting from 8-bit flash" ; \ 1143efa329cbSwdenk echo "#define CONFIG_BOOT_ROM" >>include/config.h ; \ 1144efa329cbSwdenk echo "TEXT_BASE = 0xFF800000" >board/pm826/config.tmp ; \ 1145efa329cbSwdenk if [ "$(findstring _BIGFLASH_,$@)" ] ; then \ 1146efa329cbSwdenk echo "... with 32 MB Flash" ; \ 1147efa329cbSwdenk echo "#define CONFIG_FLASH_32MB" >>include/config.h ; \ 11487ebf7443Swdenk fi; \ 1149efa329cbSwdenk else \ 1150efa329cbSwdenk echo "... booting from 64-bit flash" ; \ 1151efa329cbSwdenk if [ "$(findstring _BIGFLASH_,$@)" ] ; then \ 1152efa329cbSwdenk echo "... with 32 MB Flash" ; \ 1153efa329cbSwdenk echo "#define CONFIG_FLASH_32MB" >>include/config.h ; \ 1154efa329cbSwdenk echo "TEXT_BASE = 0x40000000" >board/pm826/config.tmp ; \ 1155efa329cbSwdenk else \ 1156efa329cbSwdenk echo "TEXT_BASE = 0xFF000000" >board/pm826/config.tmp ; \ 1157efa329cbSwdenk fi; \ 1158efa329cbSwdenk fi 1159efa329cbSwdenk @./mkconfig -a PM826 ppc mpc8260 pm826 1160efa329cbSwdenk 1161efa329cbSwdenkPM828_config \ 1162efa329cbSwdenkPM828_PCI_config \ 1163efa329cbSwdenkPM828_ROMBOOT_config \ 1164efa329cbSwdenkPM828_ROMBOOT_PCI_config: unconfig 1165efa329cbSwdenk @if [ -z "$(findstring _PCI_,$@)" ] ; then \ 1166efa329cbSwdenk echo "#define CONFIG_PCI" >>include/config.h ; \ 1167efa329cbSwdenk echo "... with PCI enabled" ; \ 1168efa329cbSwdenk else \ 1169efa329cbSwdenk >include/config.h ; \ 1170efa329cbSwdenk fi 1171efa329cbSwdenk @if [ "$(findstring _ROMBOOT_,$@)" ] ; then \ 1172efa329cbSwdenk echo "... booting from 8-bit flash" ; \ 1173efa329cbSwdenk echo "#define CONFIG_BOOT_ROM" >>include/config.h ; \ 1174efa329cbSwdenk echo "TEXT_BASE = 0xFF800000" >board/pm826/config.tmp ; \ 1175efa329cbSwdenk fi 1176efa329cbSwdenk @./mkconfig -a PM828 ppc mpc8260 pm828 11777ebf7443Swdenk 11787ebf7443Swdenkppmc8260_config: unconfig 11797ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8260 ppmc8260 11807ebf7443Swdenk 11818b0bfc68SwdenkRattler8248_config \ 11828b0bfc68SwdenkRattler_config: unconfig 11838b0bfc68Swdenk $(if $(findstring 8248,$@), \ 11848b0bfc68Swdenk @echo "#define CONFIG_MPC8248" > include/config.h) 11858b0bfc68Swdenk @./mkconfig -a Rattler ppc mpc8260 rattler 11868b0bfc68Swdenk 11877ebf7443SwdenkRPXsuper_config: unconfig 11887ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8260 rpxsuper 11897ebf7443Swdenk 11907ebf7443Swdenkrsdproto_config: unconfig 11917ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8260 rsdproto 11927ebf7443Swdenk 11937ebf7443Swdenksacsng_config: unconfig 11947ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8260 sacsng 11957ebf7443Swdenk 11967ebf7443Swdenksbc8260_config: unconfig 11977ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8260 sbc8260 11987ebf7443Swdenk 11997ebf7443SwdenkSCM_config: unconfig 12007ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8260 SCM siemens 12017ebf7443Swdenk 120227b207fdSwdenkTQM8255_AA_config \ 120327b207fdSwdenkTQM8260_AA_config \ 120427b207fdSwdenkTQM8260_AB_config \ 120527b207fdSwdenkTQM8260_AC_config \ 120627b207fdSwdenkTQM8260_AD_config \ 120727b207fdSwdenkTQM8260_AE_config \ 120827b207fdSwdenkTQM8260_AF_config \ 120927b207fdSwdenkTQM8260_AG_config \ 121027b207fdSwdenkTQM8260_AH_config \ 121127b207fdSwdenkTQM8265_AA_config: unconfig 121227b207fdSwdenk @case "$@" in \ 121327b207fdSwdenk TQM8255_AA_config) CTYPE=MPC8255; CFREQ=300; CACHE=no; BMODE=8260;; \ 121427b207fdSwdenk TQM8260_AA_config) CTYPE=MPC8260; CFREQ=200; CACHE=no; BMODE=8260;; \ 121527b207fdSwdenk TQM8260_AB_config) CTYPE=MPC8260; CFREQ=200; CACHE=yes; BMODE=60x;; \ 121627b207fdSwdenk TQM8260_AC_config) CTYPE=MPC8260; CFREQ=200; CACHE=yes; BMODE=60x;; \ 121727b207fdSwdenk TQM8260_AD_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=60x;; \ 121827b207fdSwdenk TQM8260_AE_config) CTYPE=MPC8260; CFREQ=266; CACHE=no; BMODE=8260;; \ 121927b207fdSwdenk TQM8260_AF_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=60x;; \ 122027b207fdSwdenk TQM8260_AG_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=8260;; \ 122127b207fdSwdenk TQM8260_AH_config) CTYPE=MPC8260; CFREQ=300; CACHE=yes; BMODE=60x;; \ 122227b207fdSwdenk TQM8265_AA_config) CTYPE=MPC8265; CFREQ=300; CACHE=no; BMODE=60x;; \ 122327b207fdSwdenk esac; \ 122427b207fdSwdenk >include/config.h ; \ 122527b207fdSwdenk if [ "$${CTYPE}" != "MPC8260" ] ; then \ 122627b207fdSwdenk echo "#define CONFIG_$${CTYPE}" >>include/config.h ; \ 122727b207fdSwdenk fi; \ 122827b207fdSwdenk echo "#define CONFIG_$${CFREQ}MHz" >>include/config.h ; \ 122927b207fdSwdenk echo "... with $${CFREQ}MHz system clock" ; \ 123027b207fdSwdenk if [ "$${CACHE}" == "yes" ] ; then \ 12317ebf7443Swdenk echo "#define CONFIG_L2_CACHE" >>include/config.h ; \ 123227b207fdSwdenk echo "... with L2 Cache support" ; \ 12337ebf7443Swdenk else \ 12347ebf7443Swdenk echo "#undef CONFIG_L2_CACHE" >>include/config.h ; \ 12357ebf7443Swdenk echo "... without L2 Cache support" ; \ 123627b207fdSwdenk fi; \ 123727b207fdSwdenk if [ "$${BMODE}" == "60x" ] ; then \ 123827b207fdSwdenk echo "#define CONFIG_BUSMODE_60x" >>include/config.h ; \ 123927b207fdSwdenk echo "... with 60x Bus Mode" ; \ 124027b207fdSwdenk else \ 124127b207fdSwdenk echo "#undef CONFIG_BUSMODE_60x" >>include/config.h ; \ 124227b207fdSwdenk echo "... without 60x Bus Mode" ; \ 12437ebf7443Swdenk fi 12444532cb69Swdenk @./mkconfig -a TQM8260 ppc mpc8260 tqm8260 12457ebf7443Swdenk 1246ba91e26aSwdenkVoVPN-GW_66MHz_config \ 1247ba91e26aSwdenkVoVPN-GW_100MHz_config: unconfig 1248ba91e26aSwdenk @echo "#define CONFIG_CLKIN_$(word 2,$(subst _, ,$@))" > include/config.h 1249ba91e26aSwdenk @./mkconfig -a VoVPN-GW ppc mpc8260 vovpn-gw funkwerk 1250ba91e26aSwdenk 125154387ac9SwdenkZPC1900_config: unconfig 125254387ac9Swdenk @./mkconfig $(@:_config=) ppc mpc8260 zpc1900 12537aa78614Swdenk 12544e5ca3ebSwdenk#======================================================================== 12554e5ca3ebSwdenk# M68K 12564e5ca3ebSwdenk#======================================================================== 12574e5ca3ebSwdenk######################################################################### 12584e5ca3ebSwdenk## Coldfire 12594e5ca3ebSwdenk######################################################################### 12604e5ca3ebSwdenk 12617481266eSWolfgang Denkcobra5272_config : unconfig 12627481266eSWolfgang Denk @./mkconfig $(@:_config=) m68k mcf52x2 cobra5272 12637481266eSWolfgang Denk 12644e5ca3ebSwdenkM5272C3_config : unconfig 1265bf9e3b38Swdenk @./mkconfig $(@:_config=) m68k mcf52x2 m5272c3 12664e5ca3ebSwdenk 12674e5ca3ebSwdenkM5282EVB_config : unconfig 1268bf9e3b38Swdenk @./mkconfig $(@:_config=) m68k mcf52x2 m5282evb 12694e5ca3ebSwdenk 1270c419d1d6SstroeseTASREG_config : unconfig 1271c419d1d6Sstroese @./mkconfig $(@:_config=) m68k mcf52x2 tasreg esd 1272c419d1d6Sstroese 12737ebf7443Swdenk######################################################################### 1274f046ccd1SEran Liberty## MPC83xx Systems 1275f046ccd1SEran Liberty######################################################################### 1276f046ccd1SEran Liberty 1277f046ccd1SEran LibertyMPC8349ADS_config: unconfig 1278f046ccd1SEran Liberty @./mkconfig $(@:_config=) ppc mpc83xx mpc8349ads 1279f046ccd1SEran Liberty 1280e6f2e902SMarian BalakowiczTQM834x_config: unconfig 1281e6f2e902SMarian Balakowicz @./mkconfig $(@:_config=) ppc mpc83xx tqm834x 1282e6f2e902SMarian Balakowicz 1283f046ccd1SEran Liberty######################################################################### 128442d1f039Swdenk## MPC85xx Systems 128542d1f039Swdenk######################################################################### 128642d1f039Swdenk 128742d1f039SwdenkMPC8540ADS_config: unconfig 128842d1f039Swdenk @./mkconfig $(@:_config=) ppc mpc85xx mpc8540ads 128942d1f039Swdenk 1290b0e32949SLunsheng WangMPC8540EVAL_config \ 1291b0e32949SLunsheng WangMPC8540EVAL_33_config \ 1292b0e32949SLunsheng WangMPC8540EVAL_66_config \ 1293b0e32949SLunsheng WangMPC8540EVAL_33_slave_config \ 1294b0e32949SLunsheng WangMPC8540EVAL_66_slave_config: unconfig 1295b0e32949SLunsheng Wang @echo "" >include/config.h ; \ 1296b0e32949SLunsheng Wang if [ "$(findstring _33_,$@)" ] ; then \ 1297b0e32949SLunsheng Wang echo -n "... 33 MHz PCI" ; \ 1298b0e32949SLunsheng Wang else \ 1299b0e32949SLunsheng Wang echo "#define CONFIG_SYSCLK_66M" >>include/config.h ; \ 1300b0e32949SLunsheng Wang echo -n "... 66 MHz PCI" ; \ 1301b0e32949SLunsheng Wang fi ; \ 1302b0e32949SLunsheng Wang if [ "$(findstring _slave_,$@)" ] ; then \ 1303b0e32949SLunsheng Wang echo "#define CONFIG_PCI_SLAVE" >>include/config.h ; \ 1304b0e32949SLunsheng Wang echo " slave" ; \ 1305b0e32949SLunsheng Wang else \ 1306b0e32949SLunsheng Wang echo " host" ; \ 1307b0e32949SLunsheng Wang fi 1308b0e32949SLunsheng Wang @./mkconfig -a MPC8540EVAL ppc mpc85xx mpc8540eval 1309b0e32949SLunsheng Wang 131042d1f039SwdenkMPC8560ADS_config: unconfig 131142d1f039Swdenk @./mkconfig $(@:_config=) ppc mpc85xx mpc8560ads 131242d1f039Swdenk 131303f5c550SwdenkMPC8541CDS_config: unconfig 131403f5c550Swdenk @./mkconfig $(@:_config=) ppc mpc85xx mpc8541cds cds 131503f5c550Swdenk 1316d9b94f28SJon LoeligerMPC8548CDS_config: unconfig 1317d9b94f28SJon Loeliger @./mkconfig $(@:_config=) ppc mpc85xx mpc8548cds cds 1318d9b94f28SJon Loeliger 131903f5c550SwdenkMPC8555CDS_config: unconfig 132003f5c550Swdenk @./mkconfig $(@:_config=) ppc mpc85xx mpc8555cds cds 13217abf0c58Swdenk 1322384cc687SwdenkPM854_config: unconfig 1323384cc687Swdenk @./mkconfig $(@:_config=) ppc mpc85xx pm854 1324384cc687Swdenk 1325b20d0032SWolfgang DenkPM856_config: unconfig 1326b20d0032SWolfgang Denk @./mkconfig $(@:_config=) ppc mpc85xx pm856 1327b20d0032SWolfgang Denk 1328c15f3120Swdenksbc8540_config \ 1329c15f3120Swdenksbc8540_33_config \ 1330c15f3120Swdenksbc8540_66_config: unconfig 1331c15f3120Swdenk @if [ "$(findstring _66_,$@)" ] ; then \ 1332c15f3120Swdenk echo "#define CONFIG_PCI_66" >>include/config.h ; \ 1333c15f3120Swdenk echo "... 66 MHz PCI" ; \ 1334c15f3120Swdenk else \ 1335c15f3120Swdenk >include/config.h ; \ 1336c15f3120Swdenk echo "... 33 MHz PCI" ; \ 1337c15f3120Swdenk fi 1338c15f3120Swdenk @./mkconfig -a SBC8540 ppc mpc85xx sbc8560 1339c15f3120Swdenk 1340466b7410Swdenksbc8560_config \ 1341466b7410Swdenksbc8560_33_config \ 1342466b7410Swdenksbc8560_66_config: unconfig 13438b07a110Swdenk @if [ "$(findstring _66_,$@)" ] ; then \ 13448b07a110Swdenk echo "#define CONFIG_PCI_66" >>include/config.h ; \ 13458b07a110Swdenk echo "... 66 MHz PCI" ; \ 13468b07a110Swdenk else \ 13478b07a110Swdenk >include/config.h ; \ 13488b07a110Swdenk echo "... 33 MHz PCI" ; \ 13498b07a110Swdenk fi 1350466b7410Swdenk @./mkconfig -a sbc8560 ppc mpc85xx sbc8560 13518b07a110Swdenk 135203f5c550Swdenkstxgp3_config: unconfig 135303f5c550Swdenk @./mkconfig $(@:_config=) ppc mpc85xx stxgp3 135403f5c550Swdenk 1355d96f41e0SStefan RoeseTQM8540_config \ 1356d96f41e0SStefan RoeseTQM8541_config \ 1357d96f41e0SStefan RoeseTQM8555_config \ 1358f5c5ef4aSwdenkTQM8560_config: unconfig 1359a889bd27SWolfgang Denk @CTYPE=$(subst TQM,,$(@:_config=)); \ 1360d96f41e0SStefan Roese >include/config.h ; \ 1361d96f41e0SStefan Roese echo "... TQM"$${CTYPE}; \ 1362d96f41e0SStefan Roese echo "#define CONFIG_MPC$${CTYPE}">>include/config.h; \ 1363d96f41e0SStefan Roese echo "#define CONFIG_TQM$${CTYPE}">>include/config.h; \ 1364d96f41e0SStefan Roese echo "#define CONFIG_HOSTNAME tqm$${CTYPE}">>include/config.h; \ 1365d96f41e0SStefan Roese echo "#define CONFIG_BOARDNAME \"TQM$${CTYPE}\"">>include/config.h; \ 1366d96f41e0SStefan Roese echo "#define CFG_BOOTFILE \"bootfile=/tftpboot/tqm$${CTYPE}/uImage\0\"">>include/config.h 1367d96f41e0SStefan Roese @./mkconfig -a TQM85xx ppc mpc85xx tqm85xx 1368f5c5ef4aSwdenk 136942d1f039Swdenk######################################################################### 13707ebf7443Swdenk## 74xx/7xx Systems 13717ebf7443Swdenk######################################################################### 13727ebf7443Swdenk 1373c7de829cSwdenkAmigaOneG3SE_config: unconfig 1374c7de829cSwdenk @./mkconfig $(@:_config=) ppc 74xx_7xx AmigaOneG3SE MAI 1375c7de829cSwdenk 137615647dc7SwdenkBAB7xx_config: unconfig 137715647dc7Swdenk @./mkconfig $(@:_config=) ppc 74xx_7xx bab7xx eltec 137815647dc7Swdenk 1379c419d1d6SstroeseCPCI750_config: unconfig 1380c419d1d6Sstroese @./mkconfig CPCI750 ppc 74xx_7xx cpci750 esd 1381c419d1d6Sstroese 13823a473b2aSwdenkDB64360_config: unconfig 13833a473b2aSwdenk @./mkconfig DB64360 ppc 74xx_7xx db64360 Marvell 13843a473b2aSwdenk 13853a473b2aSwdenkDB64460_config: unconfig 13863a473b2aSwdenk @./mkconfig DB64460 ppc 74xx_7xx db64460 Marvell 13873a473b2aSwdenk 138815647dc7SwdenkELPPC_config: unconfig 138915647dc7Swdenk @./mkconfig $(@:_config=) ppc 74xx_7xx elppc eltec 139015647dc7Swdenk 13917ebf7443SwdenkEVB64260_config \ 13927ebf7443SwdenkEVB64260_750CX_config: unconfig 13937ebf7443Swdenk @./mkconfig EVB64260 ppc 74xx_7xx evb64260 13947ebf7443Swdenk 139515647dc7SwdenkP3G4_config: unconfig 13967ebf7443Swdenk @./mkconfig $(@:_config=) ppc 74xx_7xx evb64260 13977ebf7443Swdenk 13987ebf7443SwdenkPCIPPC2_config \ 13997ebf7443SwdenkPCIPPC6_config: unconfig 14007ebf7443Swdenk @./mkconfig $(@:_config=) ppc 74xx_7xx pcippc2 14017ebf7443Swdenk 140215647dc7SwdenkZUMA_config: unconfig 140312f34241Swdenk @./mkconfig $(@:_config=) ppc 74xx_7xx evb64260 140412f34241Swdenk 14057ebf7443Swdenk#======================================================================== 14067ebf7443Swdenk# ARM 14077ebf7443Swdenk#======================================================================== 14087ebf7443Swdenk######################################################################### 14097ebf7443Swdenk## StrongARM Systems 14107ebf7443Swdenk######################################################################### 14117ebf7443Swdenk 1412ea66bc88Swdenkassabet_config : unconfig 1413ea66bc88Swdenk @./mkconfig $(@:_config=) arm sa1100 assabet 1414ea66bc88Swdenk 14157ebf7443Swdenkdnp1110_config : unconfig 14167ebf7443Swdenk @./mkconfig $(@:_config=) arm sa1100 dnp1110 14177ebf7443Swdenk 1418855a496fSwdenkgcplus_config : unconfig 1419855a496fSwdenk @./mkconfig $(@:_config=) arm sa1100 gcplus 1420855a496fSwdenk 1421855a496fSwdenklart_config : unconfig 1422855a496fSwdenk @./mkconfig $(@:_config=) arm sa1100 lart 1423855a496fSwdenk 14247ebf7443Swdenkshannon_config : unconfig 14257ebf7443Swdenk @./mkconfig $(@:_config=) arm sa1100 shannon 14267ebf7443Swdenk 14277ebf7443Swdenk######################################################################### 14282e5983d2Swdenk## ARM92xT Systems 14297ebf7443Swdenk######################################################################### 14307ebf7443Swdenk 1431b0639ca3Swdenkxtract_trab = $(subst _bigram,,$(subst _bigflash,,$(subst _old,,$(subst _config,,$1)))) 143243d9616cSwdenk 14333ff02c27Swdenkxtract_omap1610xxx = $(subst _cs0boot,,$(subst _cs3boot,,$(subst _cs_autoboot,,$(subst _config,,$1)))) 143463e73c9aSwdenk 1435a56bd922Swdenkxtract_omap730p2 = $(subst _cs0boot,,$(subst _cs3boot,, $(subst _config,,$1))) 1436a56bd922Swdenk 1437a85f9f21Swdenkat91rm9200dk_config : unconfig 1438a85f9f21Swdenk @./mkconfig $(@:_config=) arm arm920t at91rm9200dk NULL at91rm9200 1439a85f9f21Swdenk 1440a85f9f21Swdenkcmc_pu2_config : unconfig 1441a85f9f21Swdenk @./mkconfig $(@:_config=) arm arm920t cmc_pu2 NULL at91rm9200 1442a85f9f21Swdenk 1443645da510SWolfgang Denkcsb637_config : unconfig 1444645da510SWolfgang Denk @./mkconfig $(@:_config=) arm arm920t csb637 NULL at91rm9200 1445645da510SWolfgang Denk 14460e4018d2SWolfgang Denkmp2usb_config : unconfig 14470e4018d2SWolfgang Denk @./mkconfig $(@:_config=) arm arm920t mp2usb NULL at91rm9200 14480e4018d2SWolfgang Denk 144987cb6862SWolfgang Denk 145074f4304eSWolfgang Denk######################################################################## 145187cb6862SWolfgang Denk## ARM Integrator boards - see doc/README-integrator for more info. 145287cb6862SWolfgang Denkintegratorap_config \ 145387cb6862SWolfgang Denkap_config \ 145487cb6862SWolfgang Denkap966_config \ 145587cb6862SWolfgang Denkap922_config \ 145687cb6862SWolfgang Denkap922_XA10_config \ 145787cb6862SWolfgang Denkap7_config \ 145887cb6862SWolfgang Denkap720t_config \ 145987cb6862SWolfgang Denkap920t_config \ 146087cb6862SWolfgang Denkap926ejs_config \ 146187cb6862SWolfgang Denkap946es_config: unconfig 146296782c63SWolfgang Denk @board/integratorap/split_by_variant.sh $@ 14633d3befa7Swdenk 146487cb6862SWolfgang Denkintegratorcp_config \ 146587cb6862SWolfgang Denkcp_config \ 146687cb6862SWolfgang Denkcp920t_config \ 146787cb6862SWolfgang Denkcp926ejs_config \ 146887cb6862SWolfgang Denkcp946es_config \ 146987cb6862SWolfgang Denkcp1136_config \ 147087cb6862SWolfgang Denkcp966_config \ 147187cb6862SWolfgang Denkcp922_config \ 147287cb6862SWolfgang Denkcp922_XA10_config \ 147387cb6862SWolfgang Denkcp1026_config: unconfig 147496782c63SWolfgang Denk @board/integratorcp/split_by_variant.sh $@ 147525d6712aSwdenk 147699b0d285SWolfgang Denkkb9202_config : unconfig 147799b0d285SWolfgang Denk @./mkconfig $(@:_config=) arm arm920t kb9202 NULL at91rm9200 147899b0d285SWolfgang Denk 1479f832d8a1Swdenklpd7a400_config \ 1480f832d8a1Swdenklpd7a404_config: unconfig 14812d24a3a7Swdenk @./mkconfig $(@:_config=) arm lh7a40x lpd7a40x 14823d3befa7Swdenk 1483281e00a3Swdenkmx1ads_config : unconfig 14841d9f4105Swdenk @./mkconfig $(@:_config=) arm arm920t mx1ads NULL imx 1485281e00a3Swdenk 1486281e00a3Swdenkmx1fs2_config : unconfig 14871d9f4105Swdenk @./mkconfig $(@:_config=) arm arm920t mx1fs2 NULL imx 1488281e00a3Swdenk 1489ac7eb8a3SWolfgang Denknetstar_32_config \ 1490ac7eb8a3SWolfgang Denknetstar_config: unconfig 1491ac7eb8a3SWolfgang Denk @if [ "$(findstring _32_,$@)" ] ; then \ 1492ac7eb8a3SWolfgang Denk echo "... 32MB SDRAM" ; \ 1493ac7eb8a3SWolfgang Denk echo "#define PHYS_SDRAM_1_SIZE SZ_32M" >>include/config.h ; \ 1494ac7eb8a3SWolfgang Denk else \ 1495ac7eb8a3SWolfgang Denk echo "... 64MB SDRAM" ; \ 1496ac7eb8a3SWolfgang Denk echo "#define PHYS_SDRAM_1_SIZE SZ_64M" >>include/config.h ; \ 1497ac7eb8a3SWolfgang Denk fi 1498ac7eb8a3SWolfgang Denk @./mkconfig -a netstar arm arm925t netstar 1499ac7eb8a3SWolfgang Denk 15002e5983d2Swdenkomap1510inn_config : unconfig 15012e5983d2Swdenk @./mkconfig $(@:_config=) arm arm925t omap1510inn 15022e5983d2Swdenk 15031eaeb58eSwdenkomap5912osk_config : unconfig 15041eaeb58eSwdenk @./mkconfig $(@:_config=) arm arm926ejs omap5912osk 15051eaeb58eSwdenk 150663e73c9aSwdenkomap1610inn_config \ 150763e73c9aSwdenkomap1610inn_cs0boot_config \ 150863e73c9aSwdenkomap1610inn_cs3boot_config \ 15093ff02c27Swdenkomap1610inn_cs_autoboot_config \ 151063e73c9aSwdenkomap1610h2_config \ 151163e73c9aSwdenkomap1610h2_cs0boot_config \ 15123ff02c27Swdenkomap1610h2_cs3boot_config \ 15133ff02c27Swdenkomap1610h2_cs_autoboot_config: unconfig 151463e73c9aSwdenk @if [ "$(findstring _cs0boot_, $@)" ] ; then \ 151563e73c9aSwdenk echo "#define CONFIG_CS0_BOOT" >> ./include/config.h ; \ 1516b79a11ccSwdenk echo "... configured for CS0 boot"; \ 15173ff02c27Swdenk elif [ "$(findstring _cs_autoboot_, $@)" ] ; then \ 15183ff02c27Swdenk echo "#define CONFIG_CS_AUTOBOOT" >> ./include/config.h ; \ 15193ff02c27Swdenk echo "... configured for CS_AUTO boot"; \ 152063e73c9aSwdenk else \ 152163e73c9aSwdenk echo "#define CONFIG_CS3_BOOT" >> ./include/config.h ; \ 1522b79a11ccSwdenk echo "... configured for CS3 boot"; \ 152363e73c9aSwdenk fi; 152463e73c9aSwdenk @./mkconfig -a $(call xtract_omap1610xxx,$@) arm arm926ejs omap1610inn 15256f21347dSwdenk 1526a56bd922Swdenkomap730p2_config \ 1527a56bd922Swdenkomap730p2_cs0boot_config \ 1528a56bd922Swdenkomap730p2_cs3boot_config : unconfig 1529a56bd922Swdenk @if [ "$(findstring _cs0boot_, $@)" ] ; then \ 1530a56bd922Swdenk echo "#define CONFIG_CS0_BOOT" >> ./include/config.h ; \ 1531a56bd922Swdenk echo "... configured for CS0 boot"; \ 1532a56bd922Swdenk else \ 1533a56bd922Swdenk echo "#define CONFIG_CS3_BOOT" >> ./include/config.h ; \ 1534a56bd922Swdenk echo "... configured for CS3 boot"; \ 1535a56bd922Swdenk fi; 1536a56bd922Swdenk @./mkconfig -a $(call xtract_omap730p2,$@) arm arm926ejs omap730p2 1537a56bd922Swdenk 1538281e00a3Swdenkscb9328_config : unconfig 15391d9f4105Swdenk @./mkconfig $(@:_config=) arm arm920t scb9328 NULL imx 1540281e00a3Swdenk 15417ebf7443Swdenksmdk2400_config : unconfig 15421d9f4105Swdenk @./mkconfig $(@:_config=) arm arm920t smdk2400 NULL s3c24x0 15437ebf7443Swdenk 15447ebf7443Swdenksmdk2410_config : unconfig 15451d9f4105Swdenk @./mkconfig $(@:_config=) arm arm920t smdk2410 NULL s3c24x0 15467ebf7443Swdenk 15472d24a3a7SwdenkSX1_config : unconfig 15482d24a3a7Swdenk @./mkconfig $(@:_config=) arm arm925t sx1 15492d24a3a7Swdenk 1550b2001f27Swdenk# TRAB default configuration: 8 MB Flash, 32 MB RAM 155143d9616cSwdenktrab_config \ 1552b0639ca3Swdenktrab_bigram_config \ 1553b0639ca3Swdenktrab_bigflash_config \ 1554f54ebdfaSwdenktrab_old_config: unconfig 155543d9616cSwdenk @ >include/config.h 1556b0639ca3Swdenk @[ -z "$(findstring _bigram,$@)" ] || \ 1557b0639ca3Swdenk { echo "#define CONFIG_FLASH_8MB" >>include/config.h ; \ 1558b2001f27Swdenk echo "#define CONFIG_RAM_32MB" >>include/config.h ; \ 1559b0639ca3Swdenk echo "... with 8 MB Flash, 32 MB RAM" ; \ 1560b0639ca3Swdenk } 1561b0639ca3Swdenk @[ -z "$(findstring _bigflash,$@)" ] || \ 1562b2001f27Swdenk { echo "#define CONFIG_FLASH_16MB" >>include/config.h ; \ 1563b2001f27Swdenk echo "#define CONFIG_RAM_16MB" >>include/config.h ; \ 1564b0639ca3Swdenk echo "... with 16 MB Flash, 16 MB RAM" ; \ 1565a8c7c708Swdenk echo "TEXT_BASE = 0x0CF40000" >board/trab/config.tmp ; \ 1566b0639ca3Swdenk } 1567f54ebdfaSwdenk @[ -z "$(findstring _old,$@)" ] || \ 1568b2001f27Swdenk { echo "#define CONFIG_FLASH_8MB" >>include/config.h ; \ 1569b2001f27Swdenk echo "#define CONFIG_RAM_16MB" >>include/config.h ; \ 1570b2001f27Swdenk echo "... with 8 MB Flash, 16 MB RAM" ; \ 1571a8c7c708Swdenk echo "TEXT_BASE = 0x0CF40000" >board/trab/config.tmp ; \ 157243d9616cSwdenk } 15731d9f4105Swdenk @./mkconfig -a $(call xtract_trab,$@) arm arm920t trab NULL s3c24x0 15747ebf7443Swdenk 15751cb8e980SwdenkVCMA9_config : unconfig 15761d9f4105Swdenk @./mkconfig $(@:_config=) arm arm920t vcma9 mpl s3c24x0 15771cb8e980Swdenk 157887cb6862SWolfgang Denk#======================================================================== 157987cb6862SWolfgang Denk# ARM supplied Versatile development boards 158087cb6862SWolfgang Denk#======================================================================== 158187cb6862SWolfgang Denkversatile_config \ 158287cb6862SWolfgang Denkversatileab_config \ 158387cb6862SWolfgang Denkversatilepb_config : unconfig 158496782c63SWolfgang Denk @board/versatile/split_by_variant.sh $@ 1585074cff0dSwdenk 15863c2b3d45Swdenkvoiceblue_smallflash_config \ 15873c2b3d45Swdenkvoiceblue_config: unconfig 15883c2b3d45Swdenk @if [ "$(findstring _smallflash_,$@)" ] ; then \ 15893c2b3d45Swdenk echo "... boot from lower flash bank" ; \ 15903c2b3d45Swdenk echo "#define VOICEBLUE_SMALL_FLASH" >>include/config.h ; \ 15913c2b3d45Swdenk echo "VOICEBLUE_SMALL_FLASH=y" >board/voiceblue/config.tmp ; \ 15923c2b3d45Swdenk else \ 15933c2b3d45Swdenk echo "... boot from upper flash bank" ; \ 15943c2b3d45Swdenk >include/config.h ; \ 15953c2b3d45Swdenk echo "VOICEBLUE_SMALL_FLASH=n" >board/voiceblue/config.tmp ; \ 15963c2b3d45Swdenk fi 15973c2b3d45Swdenk @./mkconfig -a voiceblue arm arm925t voiceblue 15983c2b3d45Swdenk 159916b013e7Swdenkcm4008_config : unconfig 160016b013e7Swdenk @./mkconfig $(@:_config=) arm arm920t cm4008 NULL ks8695 160116b013e7Swdenk 160216b013e7Swdenkcm41xx_config : unconfig 160316b013e7Swdenk @./mkconfig $(@:_config=) arm arm920t cm41xx NULL ks8695 160416b013e7Swdenk 1605074cff0dSwdenk######################################################################### 1606074cff0dSwdenk## S3C44B0 Systems 1607074cff0dSwdenk######################################################################### 1608074cff0dSwdenk 1609074cff0dSwdenkB2_config : unconfig 1610074cff0dSwdenk @./mkconfig $(@:_config=) arm s3c44b0 B2 dave 1611074cff0dSwdenk 16127ebf7443Swdenk######################################################################### 16137ebf7443Swdenk## ARM720T Systems 16147ebf7443Swdenk######################################################################### 16157ebf7443Swdenk 1616c570b2fdSWolfgang Denkarmadillo_config: unconfig 1617c570b2fdSWolfgang Denk @./mkconfig $(@:_config=) arm arm720t armadillo 1618c570b2fdSWolfgang Denk 16197ebf7443Swdenkep7312_config : unconfig 16207ebf7443Swdenk @./mkconfig $(@:_config=) arm arm720t ep7312 16217ebf7443Swdenk 16222d24a3a7Swdenkimpa7_config : unconfig 16232d24a3a7Swdenk @./mkconfig $(@:_config=) arm arm720t impa7 16242d24a3a7Swdenk 16252d1a537dSwdenkmodnet50_config : unconfig 16262d1a537dSwdenk @./mkconfig $(@:_config=) arm arm720t modnet50 16272d1a537dSwdenk 162839539887Swdenkevb4510_config : unconfig 162939539887Swdenk @./mkconfig $(@:_config=) arm arm720t evb4510 163039539887Swdenk 16317ebf7443Swdenk######################################################################### 163243d9616cSwdenk## XScale Systems 16337ebf7443Swdenk######################################################################### 16347ebf7443Swdenk 163520787e23Swdenkadsvix_config : unconfig 163620787e23Swdenk @./mkconfig $(@:_config=) arm pxa adsvix 163720787e23Swdenk 1638fabd46acSwdenkcerf250_config : unconfig 1639fabd46acSwdenk @./mkconfig $(@:_config=) arm pxa cerf250 1640fabd46acSwdenk 16417ebf7443Swdenkcradle_config : unconfig 16424c3b21a5Swdenk @./mkconfig $(@:_config=) arm pxa cradle 16437ebf7443Swdenk 16447ebf7443Swdenkcsb226_config : unconfig 16454c3b21a5Swdenk @./mkconfig $(@:_config=) arm pxa csb226 16467ebf7443Swdenk 1647*0be248faSWolfgang Denkdelta_config : 1648*0be248faSWolfgang Denk @./mkconfig $(@:_config=) arm pxa delta 1649*0be248faSWolfgang Denk 165043d9616cSwdenkinnokom_config : unconfig 16514c3b21a5Swdenk @./mkconfig $(@:_config=) arm pxa innokom 165243d9616cSwdenk 16532d5b561eSwdenkixdp425_config : unconfig 16542d5b561eSwdenk @./mkconfig $(@:_config=) arm ixp ixdp425 16552d5b561eSwdenk 165643d9616cSwdenklubbock_config : unconfig 16574c3b21a5Swdenk @./mkconfig $(@:_config=) arm pxa lubbock 165843d9616cSwdenk 165952f52c14Swdenklogodl_config : unconfig 166052f52c14Swdenk @./mkconfig $(@:_config=) arm pxa logodl 166152f52c14Swdenk 1662f57f70aaSWolfgang Denkpxa255_idp_config: unconfig 1663f57f70aaSWolfgang Denk @./mkconfig $(@:_config=) arm pxa pxa255_idp 1664f57f70aaSWolfgang Denk 16653e38691eSwdenkwepep250_config : unconfig 16664c3b21a5Swdenk @./mkconfig $(@:_config=) arm pxa wepep250 16673e38691eSwdenk 16684ec3a7f0Swdenkxaeniax_config : unconfig 16694ec3a7f0Swdenk @./mkconfig $(@:_config=) arm pxa xaeniax 16704ec3a7f0Swdenk 1671efa329cbSwdenkxm250_config : unconfig 1672efa329cbSwdenk @./mkconfig $(@:_config=) arm pxa xm250 1673efa329cbSwdenk 1674ca0e7748Swdenkxsengine_config : unconfig 1675ca0e7748Swdenk @./mkconfig $(@:_config=) arm pxa xsengine 1676ca0e7748Swdenk 1677e0269579SMarkus Klotzbücherzylonite_config : 1678e0269579SMarkus Klotzbücher @./mkconfig $(@:_config=) arm pxa zylonite 1679e0269579SMarkus Klotzbücher 16808ed96046Swdenk######################################################################### 16818ed96046Swdenk## ARM1136 Systems 16828ed96046Swdenk######################################################################### 16838ed96046Swdenkomap2420h4_config : unconfig 16848ed96046Swdenk @./mkconfig $(@:_config=) arm arm1136 omap2420h4 16858ed96046Swdenk 16862262cfeeSwdenk#======================================================================== 16872262cfeeSwdenk# i386 16882262cfeeSwdenk#======================================================================== 16892262cfeeSwdenk######################################################################### 16902262cfeeSwdenk## AMD SC520 CDP 16912262cfeeSwdenk######################################################################### 16922262cfeeSwdenksc520_cdp_config : unconfig 16932262cfeeSwdenk @./mkconfig $(@:_config=) i386 i386 sc520_cdp 16942262cfeeSwdenk 16957a8e9bedSwdenksc520_spunk_config : unconfig 16967a8e9bedSwdenk @./mkconfig $(@:_config=) i386 i386 sc520_spunk 16977a8e9bedSwdenk 16987a8e9bedSwdenksc520_spunk_rel_config : unconfig 16997a8e9bedSwdenk @./mkconfig $(@:_config=) i386 i386 sc520_spunk 17007a8e9bedSwdenk 170143d9616cSwdenk#======================================================================== 170243d9616cSwdenk# MIPS 170343d9616cSwdenk#======================================================================== 17047ebf7443Swdenk######################################################################### 170543d9616cSwdenk## MIPS32 4Kc 170643d9616cSwdenk######################################################################### 170743d9616cSwdenk 1708e0ac62d7Swdenkxtract_incaip = $(subst _100MHz,,$(subst _133MHz,,$(subst _150MHz,,$(subst _config,,$1)))) 1709e0ac62d7Swdenk 1710e0ac62d7Swdenkincaip_100MHz_config \ 1711e0ac62d7Swdenkincaip_133MHz_config \ 1712e0ac62d7Swdenkincaip_150MHz_config \ 171343d9616cSwdenkincaip_config: unconfig 1714e0ac62d7Swdenk @ >include/config.h 1715e0ac62d7Swdenk @[ -z "$(findstring _100MHz,$@)" ] || \ 1716e0ac62d7Swdenk { echo "#define CPU_CLOCK_RATE 100000000" >>include/config.h ; \ 1717e0ac62d7Swdenk echo "... with 100MHz system clock" ; \ 1718e0ac62d7Swdenk } 1719e0ac62d7Swdenk @[ -z "$(findstring _133MHz,$@)" ] || \ 1720e0ac62d7Swdenk { echo "#define CPU_CLOCK_RATE 133000000" >>include/config.h ; \ 1721e0ac62d7Swdenk echo "... with 133MHz system clock" ; \ 1722e0ac62d7Swdenk } 1723e0ac62d7Swdenk @[ -z "$(findstring _150MHz,$@)" ] || \ 1724e0ac62d7Swdenk { echo "#define CPU_CLOCK_RATE 150000000" >>include/config.h ; \ 1725e0ac62d7Swdenk echo "... with 150MHz system clock" ; \ 1726e0ac62d7Swdenk } 1727e0ac62d7Swdenk @./mkconfig -a $(call xtract_incaip,$@) mips mips incaip 1728e0ac62d7Swdenk 1729f4863a7aSwdenktb0229_config: unconfig 1730f4863a7aSwdenk @./mkconfig $(@:_config=) mips mips tb0229 1731f4863a7aSwdenk 1732e0ac62d7Swdenk######################################################################### 173369459791Swdenk## MIPS32 AU1X00 173469459791Swdenk######################################################################### 173569459791Swdenkdbau1000_config : unconfig 173669459791Swdenk @ >include/config.h 173769459791Swdenk @echo "#define CONFIG_DBAU1000 1" >>include/config.h 173869459791Swdenk @./mkconfig -a dbau1x00 mips mips dbau1x00 173969459791Swdenk 174069459791Swdenkdbau1100_config : unconfig 174169459791Swdenk @ >include/config.h 174269459791Swdenk @echo "#define CONFIG_DBAU1100 1" >>include/config.h 174369459791Swdenk @./mkconfig -a dbau1x00 mips mips dbau1x00 174469459791Swdenk 174569459791Swdenkdbau1500_config : unconfig 174669459791Swdenk @ >include/config.h 174769459791Swdenk @echo "#define CONFIG_DBAU1500 1" >>include/config.h 174869459791Swdenk @./mkconfig -a dbau1x00 mips mips dbau1x00 174969459791Swdenk 1750ff36fd85Swdenkdbau1550_config : unconfig 1751ff36fd85Swdenk @ >include/config.h 1752ff36fd85Swdenk @echo "#define CONFIG_DBAU1550 1" >>include/config.h 1753ff36fd85Swdenk @./mkconfig -a dbau1x00 mips mips dbau1x00 1754ff36fd85Swdenk 1755ff36fd85Swdenkdbau1550_el_config : unconfig 1756ff36fd85Swdenk @ >include/config.h 1757ff36fd85Swdenk @echo "#define CONFIG_DBAU1550 1" >>include/config.h 175821919230SWolfgang Denk @./mkconfig -a dbau1x00 mips mips dbau1x00 1759ff36fd85Swdenk 1760265817c7SWolfgang Denkpb1000_config : unconfig 1761265817c7SWolfgang Denk @ >include/config.h 1762265817c7SWolfgang Denk @echo "#define CONFIG_PB1000 1" >>include/config.h 1763265817c7SWolfgang Denk @./mkconfig -a pb1x00 mips mips pb1x00 1764265817c7SWolfgang Denk 176569459791Swdenk######################################################################### 1766e0ac62d7Swdenk## MIPS64 5Kc 1767e0ac62d7Swdenk######################################################################### 176843d9616cSwdenk 17693e38691eSwdenkpurple_config : unconfig 17703e38691eSwdenk @./mkconfig $(@:_config=) mips mips purple 177143d9616cSwdenk 17724a551709Swdenk#======================================================================== 17734a551709Swdenk# Nios 17744a551709Swdenk#======================================================================== 17754a551709Swdenk######################################################################### 17764a551709Swdenk## Nios32 17774a551709Swdenk######################################################################### 17784a551709Swdenk 1779c935d3bdSwdenkDK1C20_safe_32_config \ 1780c935d3bdSwdenkDK1C20_standard_32_config \ 17814a551709SwdenkDK1C20_config: unconfig 1782c935d3bdSwdenk @ >include/config.h 1783c935d3bdSwdenk @[ -z "$(findstring _safe_32,$@)" ] || \ 1784c935d3bdSwdenk { echo "#define CONFIG_NIOS_SAFE_32 1" >>include/config.h ; \ 1785c935d3bdSwdenk echo "... NIOS 'safe_32' configuration" ; \ 1786c935d3bdSwdenk } 1787c935d3bdSwdenk @[ -z "$(findstring _standard_32,$@)" ] || \ 1788c935d3bdSwdenk { echo "#define CONFIG_NIOS_STANDARD_32 1" >>include/config.h ; \ 1789c935d3bdSwdenk echo "... NIOS 'standard_32' configuration" ; \ 1790c935d3bdSwdenk } 1791c935d3bdSwdenk @[ -z "$(findstring DK1C20_config,$@)" ] || \ 1792c935d3bdSwdenk { echo "#define CONFIG_NIOS_STANDARD_32 1" >>include/config.h ; \ 1793c935d3bdSwdenk echo "... NIOS 'standard_32' configuration (DEFAULT)" ; \ 1794c935d3bdSwdenk } 1795c935d3bdSwdenk @./mkconfig -a DK1C20 nios nios dk1c20 altera 1796c935d3bdSwdenk 1797c935d3bdSwdenkDK1S10_safe_32_config \ 1798c935d3bdSwdenkDK1S10_standard_32_config \ 1799ec4c544bSwdenkDK1S10_mtx_ldk_20_config \ 1800c935d3bdSwdenkDK1S10_config: unconfig 1801c935d3bdSwdenk @ >include/config.h 1802c935d3bdSwdenk @[ -z "$(findstring _safe_32,$@)" ] || \ 1803c935d3bdSwdenk { echo "#define CONFIG_NIOS_SAFE_32 1" >>include/config.h ; \ 1804c935d3bdSwdenk echo "... NIOS 'safe_32' configuration" ; \ 1805c935d3bdSwdenk } 1806c935d3bdSwdenk @[ -z "$(findstring _standard_32,$@)" ] || \ 1807c935d3bdSwdenk { echo "#define CONFIG_NIOS_STANDARD_32 1" >>include/config.h ; \ 1808c935d3bdSwdenk echo "... NIOS 'standard_32' configuration" ; \ 1809c935d3bdSwdenk } 1810ec4c544bSwdenk @[ -z "$(findstring _mtx_ldk_20,$@)" ] || \ 1811ec4c544bSwdenk { echo "#define CONFIG_NIOS_MTX_LDK_20 1" >>include/config.h ; \ 1812ec4c544bSwdenk echo "... NIOS 'mtx_ldk_20' configuration" ; \ 1813ec4c544bSwdenk } 1814c935d3bdSwdenk @[ -z "$(findstring DK1S10_config,$@)" ] || \ 1815c935d3bdSwdenk { echo "#define CONFIG_NIOS_STANDARD_32 1" >>include/config.h ; \ 1816c935d3bdSwdenk echo "... NIOS 'standard_32' configuration (DEFAULT)" ; \ 1817c935d3bdSwdenk } 1818c935d3bdSwdenk @./mkconfig -a DK1S10 nios nios dk1s10 altera 18194a551709Swdenk 1820aaf224abSwdenkADNPESC1_DNPEVA2_base_32_config \ 1821aaf224abSwdenkADNPESC1_base_32_config \ 1822aaf224abSwdenkADNPESC1_config: unconfig 1823aaf224abSwdenk @ >include/config.h 1824aaf224abSwdenk @[ -z "$(findstring _DNPEVA2,$@)" ] || \ 1825aaf224abSwdenk { echo "#define CONFIG_DNPEVA2 1" >>include/config.h ; \ 1826aaf224abSwdenk echo "... DNP/EVA2 configuration" ; \ 1827aaf224abSwdenk } 1828aaf224abSwdenk @[ -z "$(findstring _base_32,$@)" ] || \ 1829aaf224abSwdenk { echo "#define CONFIG_NIOS_BASE_32 1" >>include/config.h ; \ 1830aaf224abSwdenk echo "... NIOS 'base_32' configuration" ; \ 1831aaf224abSwdenk } 1832aaf224abSwdenk @[ -z "$(findstring ADNPESC1_config,$@)" ] || \ 1833aaf224abSwdenk { echo "#define CONFIG_NIOS_BASE_32 1" >>include/config.h ; \ 1834aaf224abSwdenk echo "... NIOS 'base_32' configuration (DEFAULT)" ; \ 1835aaf224abSwdenk } 1836aaf224abSwdenk @./mkconfig -a ADNPESC1 nios nios adnpesc1 ssv 1837aaf224abSwdenk 18385c952cf0Swdenk######################################################################### 18395c952cf0Swdenk## Nios-II 18405c952cf0Swdenk######################################################################### 18415c952cf0Swdenk 18425c952cf0SwdenkPK1C20_config : unconfig 18435c952cf0Swdenk @./mkconfig PK1C20 nios2 nios2 pk1c20 psyent 18445c952cf0Swdenk 18455c952cf0SwdenkPCI5441_config : unconfig 18465c952cf0Swdenk @./mkconfig PCI5441 nios2 nios2 pci5441 psyent 18474a551709Swdenk 1848507bbe3eSwdenk#======================================================================== 1849507bbe3eSwdenk# MicroBlaze 1850507bbe3eSwdenk#======================================================================== 1851507bbe3eSwdenk######################################################################### 1852507bbe3eSwdenk## Microblaze 1853507bbe3eSwdenk######################################################################### 1854507bbe3eSwdenksuzaku_config: unconfig 1855507bbe3eSwdenk @ >include/config.h 1856507bbe3eSwdenk @echo "#define CONFIG_SUZAKU 1" >> include/config.h 1857507bbe3eSwdenk @./mkconfig -a $(@:_config=) microblaze microblaze suzaku AtmarkTechno 1858507bbe3eSwdenk 18593e38691eSwdenk######################################################################### 18603e38691eSwdenk######################################################################### 18617ebf7443Swdenk 18627ebf7443Swdenkclean: 18637ebf7443Swdenk find . -type f \ 18647ebf7443Swdenk \( -name 'core' -o -name '*.bak' -o -name '*~' \ 18657ebf7443Swdenk -o -name '*.o' -o -name '*.a' \) -print \ 18667ebf7443Swdenk | xargs rm -f 186785ec0bccSwdenk rm -f examples/hello_world examples/timer \ 18683e38691eSwdenk examples/eepro100_eeprom examples/sched \ 1869ed16fefcSwdenk examples/mem_to_mem_idma2intr examples/82559_eeprom \ 1870ed16fefcSwdenk examples/test_burst 18717ebf7443Swdenk rm -f tools/img2srec tools/mkimage tools/envcrc tools/gen_eth_addr 1872eedcd078Swdenk rm -f tools/mpc86x_clk tools/ncb 18737ebf7443Swdenk rm -f tools/easylogo/easylogo tools/bmp_logo 18747ebf7443Swdenk rm -f tools/gdb/astest tools/gdb/gdbcont tools/gdb/gdbsend 1875228f29acSwdenk rm -f tools/env/fw_printenv tools/env/fw_setenv 18767f70e853Swdenk rm -f board/cray/L1/bootscript.c board/cray/L1/bootscript.image 18770e1fb5eeSWolfgang Denk rm -f board/trab/trab_fkt board/voiceblue/eeprom 187887cb6862SWolfgang Denk rm -f board/integratorap/u-boot.lds board/integratorcp/u-boot.lds 18797ebf7443Swdenk 18807ebf7443Swdenkclobber: clean 18814c0d4c3bSwdenk find . -type f \( -name .depend \ 18824c0d4c3bSwdenk -o -name '*.srec' -o -name '*.bin' -o -name u-boot.img \) \ 18834c0d4c3bSwdenk -print0 \ 18844c0d4c3bSwdenk | xargs -0 rm -f 1885881a87ecSWolfgang Denk rm -f $(OBJS) *.bak tags TAGS include/version_autogenerated.h 18867ebf7443Swdenk rm -fr *.*~ 18876310eb9dSwdenk rm -f u-boot u-boot.map u-boot.hex $(ALL) 1888228f29acSwdenk rm -f tools/crc32.c tools/environment.c tools/env/crc32.c 18893e38691eSwdenk rm -f tools/inca-swap-bytes cpu/mpc824x/bedbug_603e.c 1890b783edaeSwdenk rm -f include/asm/proc include/asm/arch include/asm 18917ebf7443Swdenk 18927ebf7443Swdenkmrproper \ 18937ebf7443Swdenkdistclean: clobber unconfig 18947ebf7443Swdenk 18957ebf7443Swdenkbackup: 18967ebf7443Swdenk F=`basename $(TOPDIR)` ; cd .. ; \ 18977ebf7443Swdenk gtar --force-local -zcvf `date "+$$F-%Y-%m-%d-%T.tar.gz"` $$F 18987ebf7443Swdenk 18997ebf7443Swdenk######################################################################### 1900