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 1319fd5e31fSwdenk.PHONY : $(LIBS) 132a8c7c708Swdenk 1334f7cb08eSwdenk# Add GCC lib 1341a344f29SwdenkPLATFORM_LIBS += -L $(shell dirname `$(CC) $(CFLAGS) -print-libgcc-file-name`) -lgcc 1353d3befa7Swdenk 1367ebf7443Swdenk 137a8c7c708Swdenk# The "tools" are needed early, so put this first 138a8c7c708Swdenk# Don't include stuff already done in $(LIBS) 139a8c7c708SwdenkSUBDIRS = tools \ 140a8c7c708Swdenk examples \ 141a8c7c708Swdenk post \ 142a8c7c708Swdenk post/cpu 143b028f715Swdenk.PHONY : $(SUBDIRS) 144a8c7c708Swdenk 1457ebf7443Swdenk######################################################################### 146bdccc4feSwdenk######################################################################### 1477ebf7443Swdenk 148bdccc4feSwdenkALL = u-boot.srec u-boot.bin System.map 1497ebf7443Swdenk 150bdccc4feSwdenkall: $(ALL) 1517ebf7443Swdenk 1526310eb9dSwdenku-boot.hex: u-boot 1536310eb9dSwdenk $(OBJCOPY) ${OBJCFLAGS} -O ihex $< $@ 1546310eb9dSwdenk 1557ebf7443Swdenku-boot.srec: u-boot 1567ebf7443Swdenk $(OBJCOPY) ${OBJCFLAGS} -O srec $< $@ 1577ebf7443Swdenk 1587ebf7443Swdenku-boot.bin: u-boot 1597ebf7443Swdenk $(OBJCOPY) ${OBJCFLAGS} -O binary $< $@ 1607ebf7443Swdenk 161bdccc4feSwdenku-boot.img: u-boot.bin 162bdccc4feSwdenk ./tools/mkimage -A $(ARCH) -T firmware -C none \ 163bdccc4feSwdenk -a $(TEXT_BASE) -e 0 \ 164881a87ecSWolfgang Denk -n $(shell sed -n -e 's/.*U_BOOT_VERSION//p' $(VERSION_FILE) | \ 165bdccc4feSwdenk sed -e 's/"[ ]*$$/ for $(BOARD) board"/') \ 166bdccc4feSwdenk -d $< $@ 167bdccc4feSwdenk 1687ebf7443Swdenku-boot.dis: u-boot 1697ebf7443Swdenk $(OBJDUMP) -d $< > $@ 1707ebf7443Swdenk 171881a87ecSWolfgang Denku-boot: depend version $(SUBDIRS) $(OBJS) $(LIBS) $(LDSCRIPT) 1728bde7f77Swdenk UNDEF_SYM=`$(OBJDUMP) -x $(LIBS) |sed -n -e 's/.*\(__u_boot_cmd_.*\)/-u\1/p'|sort|uniq`;\ 1738bde7f77Swdenk $(LD) $(LDFLAGS) $$UNDEF_SYM $(OBJS) \ 1741a344f29Swdenk --start-group $(LIBS) --end-group $(PLATFORM_LIBS) \ 175b2184c31Swdenk -Map u-boot.map -o u-boot 1767ebf7443Swdenk 177a8c7c708Swdenk$(LIBS): 178a8c7c708Swdenk $(MAKE) -C `dirname $@` 179a8c7c708Swdenk 180a8c7c708Swdenk$(SUBDIRS): 181b028f715Swdenk $(MAKE) -C $@ all 1827ebf7443Swdenk 183881a87ecSWolfgang Denkversion: 184881a87ecSWolfgang Denk @echo -n "#define U_BOOT_VERSION \"U-Boot " > $(VERSION_FILE); \ 185881a87ecSWolfgang Denk echo -n "$(U_BOOT_VERSION)" >> $(VERSION_FILE); \ 186881a87ecSWolfgang Denk echo -n $(shell $(CONFIG_SHELL) $(TOPDIR)/tools/setlocalversion \ 187881a87ecSWolfgang Denk $(TOPDIR)) >> $(VERSION_FILE); \ 188881a87ecSWolfgang Denk echo "\"" >> $(VERSION_FILE) 189881a87ecSWolfgang Denk 1908f713fdfSdzugdbtools: 1918f713fdfSdzu $(MAKE) -C tools/gdb || exit 1 1928f713fdfSdzu 1937ebf7443Swdenkdepend dep: 1947ebf7443Swdenk @for dir in $(SUBDIRS) ; do $(MAKE) -C $$dir .depend ; done 1957ebf7443Swdenk 1967ebf7443Swdenktags: 1977ebf7443Swdenk ctags -w `find $(SUBDIRS) include \ 198bda6c8aeSwdenk lib_generic board/$(BOARDDIR) cpu/$(CPU) lib_$(ARCH) \ 199bda6c8aeSwdenk fs/cramfs fs/fat fs/fdos fs/jffs2 \ 200bda6c8aeSwdenk net disk rtc dtt drivers drivers/sk98lin common \ 2017ebf7443Swdenk \( -name CVS -prune \) -o \( -name '*.[ch]' -print \)` 2027ebf7443Swdenk 2037ebf7443Swdenketags: 2047ebf7443Swdenk etags -a `find $(SUBDIRS) include \ 205eedcd078Swdenk lib_generic board/$(BOARDDIR) cpu/$(CPU) lib_$(ARCH) \ 206eedcd078Swdenk fs/cramfs fs/fat fs/fdos fs/jffs2 \ 207eedcd078Swdenk net disk rtc dtt drivers drivers/sk98lin common \ 2087ebf7443Swdenk \( -name CVS -prune \) -o \( -name '*.[ch]' -print \)` 2097ebf7443Swdenk 2107ebf7443SwdenkSystem.map: u-boot 2117ebf7443Swdenk @$(NM) $< | \ 2127ebf7443Swdenk grep -v '\(compiled\)\|\(\.o$$\)\|\( [aUw] \)\|\(\.\.ng$$\)\|\(LASH[RL]DI\)' | \ 2137ebf7443Swdenk sort > System.map 2147ebf7443Swdenk 2157ebf7443Swdenk######################################################################### 2167ebf7443Swdenkelse 2177ebf7443Swdenkall install u-boot u-boot.srec depend dep: 2187ebf7443Swdenk @echo "System not configured - see README" >&2 2197ebf7443Swdenk @ exit 1 2207ebf7443Swdenkendif 2217ebf7443Swdenk 2227ebf7443Swdenk######################################################################### 2237ebf7443Swdenk 2247ebf7443Swdenkunconfig: 22517d704ebSwdenk @rm -f include/config.h include/config.mk board/*/config.tmp 2267ebf7443Swdenk 2277ebf7443Swdenk#======================================================================== 2287ebf7443Swdenk# PowerPC 2297ebf7443Swdenk#======================================================================== 2300db5bca8Swdenk 2310db5bca8Swdenk######################################################################### 2320db5bca8Swdenk## MPC5xx Systems 2330db5bca8Swdenk######################################################################### 2340db5bca8Swdenk 2355e5f9ed2Swdenkcanmb_config: unconfig 2365e5f9ed2Swdenk @./mkconfig -a canmb ppc mpc5xxx canmb 2375e5f9ed2Swdenk 2380db5bca8Swdenkcmi_mpc5xx_config: unconfig 2390db5bca8Swdenk @./mkconfig $(@:_config=) ppc mpc5xx cmi 2400db5bca8Swdenk 241b6e4c403SwdenkPATI_config: unconfig 242b6e4c403Swdenk @./mkconfig $(@:_config=) ppc mpc5xx pati mpl 243b6e4c403Swdenk 2447ebf7443Swdenk######################################################################### 245945af8d7Swdenk## MPC5xxx Systems 246945af8d7Swdenk######################################################################### 247a87589daSwdenk 248dafba16eSWolfgang Denkaev_config: unconfig 249dafba16eSWolfgang Denk @./mkconfig -a aev ppc mpc5xxx tqm5200 250dafba16eSWolfgang Denk 2515e4b3361SStefan Roesecpci5200_config: unconfig 2525e4b3361SStefan Roese @./mkconfig -a cpci5200 ppc mpc5xxx cpci5200 esd 2535e4b3361SStefan Roese 254a87589daSwdenkhmi1001_config: unconfig 255a87589daSwdenk @./mkconfig hmi1001 ppc mpc5xxx hmi1001 256a87589daSwdenk 257e35745bbSwdenkLite5200_config \ 258e35745bbSwdenkLite5200_LOWBOOT_config \ 259e35745bbSwdenkLite5200_LOWBOOT08_config \ 260e35745bbSwdenkicecube_5200_config \ 261e35745bbSwdenkicecube_5200_LOWBOOT_config \ 262e35745bbSwdenkicecube_5200_LOWBOOT08_config \ 263b2001f27Swdenkicecube_5200_DDR_config \ 26479d696fcSwdenkicecube_5200_DDR_LOWBOOT_config \ 26579d696fcSwdenkicecube_5200_DDR_LOWBOOT08_config \ 266e35745bbSwdenkicecube_5100_config: unconfig 267945af8d7Swdenk @ >include/config.h 26817d704ebSwdenk @[ -z "$(findstring LOWBOOT_,$@)" ] || \ 26917d704ebSwdenk { if [ "$(findstring DDR,$@)" ] ; \ 27017d704ebSwdenk then echo "TEXT_BASE = 0xFF800000" >board/icecube/config.tmp ; \ 27117d704ebSwdenk else echo "TEXT_BASE = 0xFF000000" >board/icecube/config.tmp ; \ 27217d704ebSwdenk fi ; \ 2735cf9da48Swdenk echo "... with LOWBOOT configuration" ; \ 2745cf9da48Swdenk } 2755cf9da48Swdenk @[ -z "$(findstring LOWBOOT08,$@)" ] || \ 2765cf9da48Swdenk { echo "TEXT_BASE = 0xFF800000" >board/icecube/config.tmp ; \ 2775cf9da48Swdenk echo "... with 8 MB flash only" ; \ 27817d704ebSwdenk echo "... with LOWBOOT configuration" ; \ 2795cf9da48Swdenk } 280b2001f27Swdenk @[ -z "$(findstring DDR,$@)" ] || \ 281b2001f27Swdenk { echo "#define CONFIG_MPC5200_DDR" >>include/config.h ; \ 282b2001f27Swdenk echo "... DDR memory revision" ; \ 283b2001f27Swdenk } 284d4ca31c4Swdenk @[ -z "$(findstring 5200,$@)" ] || \ 285d4ca31c4Swdenk { echo "#define CONFIG_MPC5200" >>include/config.h ; \ 286d4ca31c4Swdenk echo "... with MPC5200 processor" ; \ 287d4ca31c4Swdenk } 288a0f2fe52Swdenk @[ -z "$(findstring 5100,$@)" ] || \ 289945af8d7Swdenk { echo "#define CONFIG_MGT5100" >>include/config.h ; \ 290945af8d7Swdenk echo "... with MGT5100 processor" ; \ 291945af8d7Swdenk } 292945af8d7Swdenk @./mkconfig -a IceCube ppc mpc5xxx icecube 293945af8d7Swdenk 294138ff60cSwdenkinka4x0_config: unconfig 295138ff60cSwdenk @./mkconfig inka4x0 ppc mpc5xxx inka4x0 296138ff60cSwdenk 297*f1ee9825SStefan Roesemcc200_config \ 298*f1ee9825SStefan Roesemcc200_lowboot_config: unconfig 299*f1ee9825SStefan Roese @ >include/config.h 300*f1ee9825SStefan Roese @[ -z "$(findstring lowboot_,$@)" ] || \ 301*f1ee9825SStefan Roese { echo "TEXT_BASE = 0xFE000000" >board/mcc200/config.tmp ; \ 302*f1ee9825SStefan Roese echo "... with lowboot configuration" ; \ 303*f1ee9825SStefan Roese } 30486ea5f93SWolfgang Denk @./mkconfig mcc200 ppc mpc5xxx mcc200 30586ea5f93SWolfgang Denk 306df04a3dfSWolfgang Denko2dnt_config: 30786ea5f93SWolfgang Denk @./mkconfig o2dnt ppc mpc5xxx o2dnt 308df04a3dfSWolfgang Denk 3095e4b3361SStefan Roesepf5200_config: unconfig 31086ea5f93SWolfgang Denk @./mkconfig pf5200 ppc mpc5xxx pf5200 esd 3115e4b3361SStefan Roese 31289394047SwdenkPM520_config \ 31389394047SwdenkPM520_DDR_config \ 31489394047SwdenkPM520_ROMBOOT_config \ 31589394047SwdenkPM520_ROMBOOT_DDR_config: unconfig 31689394047Swdenk @ >include/config.h 31789394047Swdenk @[ -z "$(findstring DDR,$@)" ] || \ 31889394047Swdenk { echo "#define CONFIG_MPC5200_DDR" >>include/config.h ; \ 31989394047Swdenk echo "... DDR memory revision" ; \ 32089394047Swdenk } 32189394047Swdenk @[ -z "$(findstring ROMBOOT,$@)" ] || \ 32289394047Swdenk { echo "#define CONFIG_BOOT_ROM" >>include/config.h ; \ 32389394047Swdenk echo "... booting from 8-bit flash" ; \ 32489394047Swdenk } 32589394047Swdenk @./mkconfig -a PM520 ppc mpc5xxx pm520 32689394047Swdenk 3276624b687SWolfgang Denksmmaco4_config: unconfig 3286624b687SWolfgang Denk @./mkconfig -a smmaco4 ppc mpc5xxx tqm5200 3299cdc8386SWolfgang Denk 3309cdc8386SWolfgang Denkspieval_config: unconfig 3319cdc8386SWolfgang Denk echo "#define CONFIG_CS_AUTOCONF">>include/config.h 3329cdc8386SWolfgang Denk echo "... with automatic CS configuration" 3339cdc8386SWolfgang Denk @./mkconfig -a spieval ppc mpc5xxx tqm5200 3349cdc8386SWolfgang Denk 335d4ca31c4SwdenkMINI5200_config \ 336d4ca31c4SwdenkEVAL5200_config \ 337d4ca31c4SwdenkTOP5200_config: unconfig 338d4ca31c4Swdenk @ echo "#define CONFIG_$(@:_config=) 1" >include/config.h 339d4ca31c4Swdenk @./mkconfig -a TOP5200 ppc mpc5xxx top5200 emk 340d4ca31c4Swdenk 3416c7a1408SwdenkTotal5100_config \ 3426c7a1408SwdenkTotal5200_config \ 3436c7a1408SwdenkTotal5200_lowboot_config \ 3446c7a1408SwdenkTotal5200_Rev2_config \ 3456c7a1408SwdenkTotal5200_Rev2_lowboot_config: unconfig 3466c7a1408Swdenk @ >include/config.h 3476c7a1408Swdenk @[ -z "$(findstring 5100,$@)" ] || \ 3486c7a1408Swdenk { echo "#define CONFIG_MGT5100" >>include/config.h ; \ 3496c7a1408Swdenk echo "... with MGT5100 processor" ; \ 3506c7a1408Swdenk } 3516c7a1408Swdenk @[ -z "$(findstring 5200,$@)" ] || \ 3526c7a1408Swdenk { echo "#define CONFIG_MPC5200" >>include/config.h ; \ 3536c7a1408Swdenk echo "... with MPC5200 processor" ; \ 3546c7a1408Swdenk } 3556c7a1408Swdenk @[ -n "$(findstring Rev,$@)" ] || \ 3566c7a1408Swdenk { echo "#define CONFIG_TOTAL5200_REV 1" >>include/config.h ; \ 3576c7a1408Swdenk echo "... revision 1 board" ; \ 3586c7a1408Swdenk } 3596c7a1408Swdenk @[ -z "$(findstring Rev2_,$@)" ] || \ 3606c7a1408Swdenk { echo "#define CONFIG_TOTAL5200_REV 2" >>include/config.h ; \ 3616c7a1408Swdenk echo "... revision 2 board" ; \ 3626c7a1408Swdenk } 3636c7a1408Swdenk @[ -z "$(findstring lowboot_,$@)" ] || \ 3646c7a1408Swdenk { echo "TEXT_BASE = 0xFE000000" >board/total5200/config.tmp ; \ 3656c7a1408Swdenk echo "... with lowboot configuration" ; \ 3666c7a1408Swdenk } 3676c7a1408Swdenk @./mkconfig -a Total5200 ppc mpc5xxx total5200 3686c7a1408Swdenk 3697e6bf358SwdenkTQM5200_auto_config \ 37056523f12SwdenkTQM5200_AA_config \ 37156523f12SwdenkTQM5200_AB_config \ 37256523f12SwdenkTQM5200_AC_config \ 37356523f12SwdenkMiniFAP_config: unconfig 37456523f12Swdenk @ >include/config.h 37589394047Swdenk @[ -z "$(findstring MiniFAP,$@)" ] || \ 37656523f12Swdenk { echo "#define CONFIG_MINIFAP" >>include/config.h ; \ 37756523f12Swdenk echo "#define CONFIG_TQM5200_AC" >>include/config.h ; \ 37889394047Swdenk echo "... TQM5200_AC on MiniFAP" ; \ 37956523f12Swdenk } 38056523f12Swdenk @[ -z "$(findstring AA,$@)" ] || \ 38156523f12Swdenk { echo "#define CONFIG_TQM5200_AA" >>include/config.h ; \ 38256523f12Swdenk echo "... with 4 MB Flash, 16 MB SDRAM, 32 kB EEPROM" ; \ 38356523f12Swdenk } 38456523f12Swdenk @[ -z "$(findstring AB,$@)" ] || \ 38556523f12Swdenk { echo "#define CONFIG_TQM5200_AB" >>include/config.h ; \ 38656523f12Swdenk echo "... with 64 MB Flash, 64 MB SDRAM, 32 kB EEPROM, 512 kB SRAM" ; \ 38731a64923Swdenk echo "... with Graphics Controller"; \ 38856523f12Swdenk } 38956523f12Swdenk @[ -z "$(findstring AC,$@)" ] || \ 39056523f12Swdenk { echo "#define CONFIG_TQM5200_AC" >>include/config.h ; \ 39156523f12Swdenk echo "... with 4 MB Flash, 128 MB SDRAM" ; \ 39231a64923Swdenk echo "... with Graphics Controller"; \ 39356523f12Swdenk } 3947e6bf358Swdenk @[ -z "$(findstring auto,$@)" ] || \ 3957e6bf358Swdenk { echo "#define CONFIG_CS_AUTOCONF" >>include/config.h ; \ 3967e6bf358Swdenk echo "... with automatic CS configuration" ; \ 3977e6bf358Swdenk } 39856523f12Swdenk @./mkconfig -a TQM5200 ppc mpc5xxx tqm5200 39956523f12Swdenk 400945af8d7Swdenk######################################################################### 4017ebf7443Swdenk## MPC8xx Systems 4027ebf7443Swdenk######################################################################### 4037ebf7443Swdenk 4042d24a3a7SwdenkAdder_config \ 4052d24a3a7SwdenkAdder87x_config \ 40626238132SwdenkAdderII_config \ 4072d24a3a7Swdenk : unconfig 40826238132Swdenk $(if $(findstring AdderII,$@), \ 4092d24a3a7Swdenk @echo "#define CONFIG_MPC852T" > include/config.h) 4102d24a3a7Swdenk @./mkconfig -a Adder ppc mpc8xx adder 4112d24a3a7Swdenk 412180d3f74SwdenkADS860_config \ 413180d3f74SwdenkFADS823_config \ 414180d3f74SwdenkFADS850SAR_config \ 415180d3f74SwdenkMPC86xADS_config \ 4161114257cSwdenkMPC885ADS_config \ 417180d3f74SwdenkFADS860T_config: unconfig 4187ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx fads 4197ebf7443Swdenk 4207ebf7443SwdenkAMX860_config : unconfig 4217ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx amx860 westel 4227ebf7443Swdenk 4237ebf7443Swdenkc2mon_config: unconfig 4247ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx c2mon 4257ebf7443Swdenk 4267ebf7443SwdenkCCM_config: unconfig 4277ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx CCM siemens 4287ebf7443Swdenk 4297ebf7443Swdenkcogent_mpc8xx_config: unconfig 4307ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx cogent 4317ebf7443Swdenk 4323bac3513SwdenkELPT860_config: unconfig 4333bac3513Swdenk @./mkconfig $(@:_config=) ppc mpc8xx elpt860 LEOX 4343bac3513Swdenk 4357ebf7443SwdenkESTEEM192E_config: unconfig 4367ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx esteem192e 4377ebf7443Swdenk 4387ebf7443SwdenkETX094_config : unconfig 4397ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx etx094 4407ebf7443Swdenk 4417ebf7443SwdenkFLAGADM_config: unconfig 4427ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx flagadm 4437ebf7443Swdenk 4447aa78614Swdenkxtract_GEN860T = $(subst _SC,,$(subst _config,,$1)) 4457aa78614Swdenk 4467aa78614SwdenkGEN860T_SC_config \ 4477ebf7443SwdenkGEN860T_config: unconfig 4487aa78614Swdenk @ >include/config.h 4497aa78614Swdenk @[ -z "$(findstring _SC,$@)" ] || \ 4507aa78614Swdenk { echo "#define CONFIG_SC" >>include/config.h ; \ 4517aa78614Swdenk echo "With reduced H/W feature set (SC)..." ; \ 4527aa78614Swdenk } 4537aa78614Swdenk @./mkconfig -a $(call xtract_GEN860T,$@) ppc mpc8xx gen860t 4547ebf7443Swdenk 4557ebf7443SwdenkGENIETV_config: unconfig 4567ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx genietv 4577ebf7443Swdenk 4587ebf7443SwdenkGTH_config: unconfig 4597ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx gth 4607ebf7443Swdenk 4617ebf7443Swdenkhermes_config : unconfig 4627ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx hermes 4637ebf7443Swdenk 464c40b2956SwdenkHMI10_config : unconfig 465c40b2956Swdenk @./mkconfig $(@:_config=) ppc mpc8xx tqm8xx 466c40b2956Swdenk 4677ebf7443SwdenkIAD210_config: unconfig 4687ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx IAD210 siemens 4697ebf7443Swdenk 4707ebf7443Swdenkxtract_ICU862 = $(subst _100MHz,,$(subst _config,,$1)) 4717ebf7443Swdenk 4727ebf7443SwdenkICU862_100MHz_config \ 4737ebf7443SwdenkICU862_config: unconfig 4747ebf7443Swdenk @ >include/config.h 4757ebf7443Swdenk @[ -z "$(findstring _100MHz,$@)" ] || \ 4767ebf7443Swdenk { echo "#define CONFIG_100MHz" >>include/config.h ; \ 4777ebf7443Swdenk echo "... with 100MHz system clock" ; \ 4787ebf7443Swdenk } 4797ebf7443Swdenk @./mkconfig -a $(call xtract_ICU862,$@) ppc mpc8xx icu862 4807ebf7443Swdenk 4817ebf7443SwdenkIP860_config : unconfig 4827ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx ip860 4837ebf7443Swdenk 4847ebf7443SwdenkIVML24_256_config \ 4857ebf7443SwdenkIVML24_128_config \ 4867ebf7443SwdenkIVML24_config: unconfig 4877ebf7443Swdenk @ >include/config.h 4887ebf7443Swdenk @[ -z "$(findstring IVML24_config,$@)" ] || \ 4897ebf7443Swdenk { echo "#define CONFIG_IVML24_16M" >>include/config.h ; \ 4907ebf7443Swdenk } 4917ebf7443Swdenk @[ -z "$(findstring IVML24_128_config,$@)" ] || \ 4927ebf7443Swdenk { echo "#define CONFIG_IVML24_32M" >>include/config.h ; \ 4937ebf7443Swdenk } 4947ebf7443Swdenk @[ -z "$(findstring IVML24_256_config,$@)" ] || \ 4957ebf7443Swdenk { echo "#define CONFIG_IVML24_64M" >>include/config.h ; \ 4967ebf7443Swdenk } 4977ebf7443Swdenk @./mkconfig -a IVML24 ppc mpc8xx ivm 4987ebf7443Swdenk 4997ebf7443SwdenkIVMS8_256_config \ 5007ebf7443SwdenkIVMS8_128_config \ 5017ebf7443SwdenkIVMS8_config: unconfig 5027ebf7443Swdenk @ >include/config.h 5037ebf7443Swdenk @[ -z "$(findstring IVMS8_config,$@)" ] || \ 5047ebf7443Swdenk { echo "#define CONFIG_IVMS8_16M" >>include/config.h ; \ 5057ebf7443Swdenk } 5067ebf7443Swdenk @[ -z "$(findstring IVMS8_128_config,$@)" ] || \ 5077ebf7443Swdenk { echo "#define CONFIG_IVMS8_32M" >>include/config.h ; \ 5087ebf7443Swdenk } 5097ebf7443Swdenk @[ -z "$(findstring IVMS8_256_config,$@)" ] || \ 5107ebf7443Swdenk { echo "#define CONFIG_IVMS8_64M" >>include/config.h ; \ 5117ebf7443Swdenk } 5127ebf7443Swdenk @./mkconfig -a IVMS8 ppc mpc8xx ivm 5137ebf7443Swdenk 51456f94be3SwdenkKUP4K_config : unconfig 5150608e04dSwdenk @./mkconfig $(@:_config=) ppc mpc8xx kup4k kup 5160608e04dSwdenk 5170608e04dSwdenkKUP4X_config : unconfig 5180608e04dSwdenk @./mkconfig $(@:_config=) ppc mpc8xx kup4x kup 51956f94be3Swdenk 5207ebf7443SwdenkLANTEC_config : unconfig 5217ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx lantec 5227ebf7443Swdenk 5237ebf7443Swdenklwmon_config: unconfig 5247ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx lwmon 5257ebf7443Swdenk 5267ebf7443SwdenkMBX_config \ 5277ebf7443SwdenkMBX860T_config: unconfig 5287ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx mbx8xx 5297ebf7443Swdenk 5307ebf7443SwdenkMHPC_config: unconfig 5317ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx mhpc eltec 5327ebf7443Swdenk 5337ebf7443SwdenkMVS1_config : unconfig 5347ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx mvs1 5357ebf7443Swdenk 536993cad93Swdenkxtract_NETVIA = $(subst _V2,,$(subst _config,,$1)) 537993cad93Swdenk 538993cad93SwdenkNETVIA_V2_config \ 5397ebf7443SwdenkNETVIA_config: unconfig 540993cad93Swdenk @ >include/config.h 541993cad93Swdenk @[ -z "$(findstring NETVIA_config,$@)" ] || \ 542993cad93Swdenk { echo "#define CONFIG_NETVIA_VERSION 1" >>include/config.h ; \ 543993cad93Swdenk echo "... Version 1" ; \ 544993cad93Swdenk } 545993cad93Swdenk @[ -z "$(findstring NETVIA_V2_config,$@)" ] || \ 546993cad93Swdenk { echo "#define CONFIG_NETVIA_VERSION 2" >>include/config.h ; \ 547993cad93Swdenk echo "... Version 2" ; \ 548993cad93Swdenk } 549993cad93Swdenk @./mkconfig -a $(call xtract_NETVIA,$@) ppc mpc8xx netvia 5507ebf7443Swdenk 551c26e454dSwdenkxtract_NETPHONE = $(subst _V2,,$(subst _config,,$1)) 552c26e454dSwdenk 553c26e454dSwdenkNETPHONE_V2_config \ 55404a85b3bSwdenkNETPHONE_config: unconfig 555c26e454dSwdenk @ >include/config.h 556c26e454dSwdenk @[ -z "$(findstring NETPHONE_config,$@)" ] || \ 557c26e454dSwdenk { echo "#define CONFIG_NETPHONE_VERSION 1" >>include/config.h ; \ 558c26e454dSwdenk } 559c26e454dSwdenk @[ -z "$(findstring NETPHONE_V2_config,$@)" ] || \ 560c26e454dSwdenk { echo "#define CONFIG_NETPHONE_VERSION 2" >>include/config.h ; \ 561c26e454dSwdenk } 562c26e454dSwdenk @./mkconfig -a $(call xtract_NETPHONE,$@) ppc mpc8xx netphone 56304a85b3bSwdenk 56479fa88f3Swdenkxtract_NETTA = $(subst _SWAPHOOK,,$(subst _6412,,$(subst _ISDN,,$(subst _config,,$1)))) 56504a85b3bSwdenk 56679fa88f3SwdenkNETTA_ISDN_6412_SWAPHOOK_config \ 56779fa88f3SwdenkNETTA_ISDN_SWAPHOOK_config \ 56879fa88f3SwdenkNETTA_6412_SWAPHOOK_config \ 56979fa88f3SwdenkNETTA_SWAPHOOK_config \ 57079fa88f3SwdenkNETTA_ISDN_6412_config \ 57104a85b3bSwdenkNETTA_ISDN_config \ 57279fa88f3SwdenkNETTA_6412_config \ 57304a85b3bSwdenkNETTA_config: unconfig 57404a85b3bSwdenk @ >include/config.h 57579fa88f3Swdenk @[ -z "$(findstring ISDN_,$@)" ] || \ 57604a85b3bSwdenk { echo "#define CONFIG_NETTA_ISDN 1" >>include/config.h ; \ 57704a85b3bSwdenk } 57879fa88f3Swdenk @[ -n "$(findstring ISDN_,$@)" ] || \ 57979fa88f3Swdenk { echo "#undef CONFIG_NETTA_ISDN" >>include/config.h ; \ 58079fa88f3Swdenk } 58179fa88f3Swdenk @[ -z "$(findstring 6412_,$@)" ] || \ 58279fa88f3Swdenk { echo "#define CONFIG_NETTA_6412 1" >>include/config.h ; \ 58379fa88f3Swdenk } 58479fa88f3Swdenk @[ -n "$(findstring 6412_,$@)" ] || \ 58579fa88f3Swdenk { echo "#undef CONFIG_NETTA_6412" >>include/config.h ; \ 58679fa88f3Swdenk } 58779fa88f3Swdenk @[ -z "$(findstring SWAPHOOK_,$@)" ] || \ 58879fa88f3Swdenk { echo "#define CONFIG_NETTA_SWAPHOOK 1" >>include/config.h ; \ 58979fa88f3Swdenk } 59079fa88f3Swdenk @[ -n "$(findstring SWAPHOOK_,$@)" ] || \ 59179fa88f3Swdenk { echo "#undef CONFIG_NETTA_SWAPHOOK" >>include/config.h ; \ 59279fa88f3Swdenk } 59304a85b3bSwdenk @./mkconfig -a $(call xtract_NETTA,$@) ppc mpc8xx netta 59404a85b3bSwdenk 59579fa88f3Swdenkxtract_NETTA2 = $(subst _V2,,$(subst _config,,$1)) 59679fa88f3Swdenk 59779fa88f3SwdenkNETTA2_V2_config \ 59879fa88f3SwdenkNETTA2_config: unconfig 59979fa88f3Swdenk @ >include/config.h 60079fa88f3Swdenk @[ -z "$(findstring NETTA2_config,$@)" ] || \ 60179fa88f3Swdenk { echo "#define CONFIG_NETTA2_VERSION 1" >>include/config.h ; \ 60279fa88f3Swdenk } 60379fa88f3Swdenk @[ -z "$(findstring NETTA2_V2_config,$@)" ] || \ 60479fa88f3Swdenk { echo "#define CONFIG_NETTA2_VERSION 2" >>include/config.h ; \ 60579fa88f3Swdenk } 60679fa88f3Swdenk @./mkconfig -a $(call xtract_NETTA2,$@) ppc mpc8xx netta2 60779fa88f3Swdenk 6087ca202f5SwdenkNC650_config: unconfig 6097ca202f5Swdenk @./mkconfig $(@:_config=) ppc mpc8xx nc650 6107ca202f5Swdenk 6117ebf7443SwdenkNX823_config: unconfig 6127ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx nx823 6137ebf7443Swdenk 6147ebf7443Swdenkpcu_e_config: unconfig 6157ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx pcu_e siemens 6167ebf7443Swdenk 6173bbc899fSwdenkQS850_config: unconfig 6183bbc899fSwdenk @./mkconfig $(@:_config=) ppc mpc8xx qs850 snmc 6193bbc899fSwdenk 6203bbc899fSwdenkQS823_config: unconfig 6213bbc899fSwdenk @./mkconfig $(@:_config=) ppc mpc8xx qs850 snmc 6223bbc899fSwdenk 6233bbc899fSwdenkQS860T_config: unconfig 6243bbc899fSwdenk @./mkconfig $(@:_config=) ppc mpc8xx qs860t snmc 6253bbc899fSwdenk 626da93ed81Swdenkquantum_config: unconfig 627da93ed81Swdenk @./mkconfig $(@:_config=) ppc mpc8xx quantum 628da93ed81Swdenk 6297ebf7443SwdenkR360MPI_config: unconfig 6307ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx r360mpi 6317ebf7443Swdenk 632682011ffSwdenkRBC823_config: unconfig 633682011ffSwdenk @./mkconfig $(@:_config=) ppc mpc8xx rbc823 634682011ffSwdenk 6357ebf7443SwdenkRPXClassic_config: unconfig 6367ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx RPXClassic 6377ebf7443Swdenk 6387ebf7443SwdenkRPXlite_config: unconfig 6397ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx RPXlite 6407ebf7443Swdenk 641e63c8ee3SwdenkRPXlite_DW_64_config \ 642e63c8ee3SwdenkRPXlite_DW_LCD_config \ 643e63c8ee3SwdenkRPXlite_DW_64_LCD_config \ 644e63c8ee3SwdenkRPXlite_DW_NVRAM_config \ 645e63c8ee3SwdenkRPXlite_DW_NVRAM_64_config \ 646e63c8ee3SwdenkRPXlite_DW_NVRAM_LCD_config \ 647e63c8ee3SwdenkRPXlite_DW_NVRAM_64_LCD_config \ 648e63c8ee3SwdenkRPXlite_DW_config: unconfig 649e63c8ee3Swdenk @ >include/config.h 650e63c8ee3Swdenk @[ -z "$(findstring _64,$@)" ] || \ 651e63c8ee3Swdenk { echo "#define RPXlite_64MHz" >>include/config.h ; \ 652e63c8ee3Swdenk echo "... with 64MHz system clock ..."; \ 653e63c8ee3Swdenk } 654e63c8ee3Swdenk @[ -z "$(findstring _LCD,$@)" ] || \ 655e63c8ee3Swdenk { echo "#define CONFIG_LCD" >>include/config.h ; \ 656e63c8ee3Swdenk echo "#define CONFIG_NEC_NL6448BC20" >>include/config.h ; \ 657e63c8ee3Swdenk echo "... with LCD display ..."; \ 658e63c8ee3Swdenk } 659e63c8ee3Swdenk @[ -z "$(findstring _NVRAM,$@)" ] || \ 660e63c8ee3Swdenk { echo "#define CFG_ENV_IS_IN_NVRAM" >>include/config.h ; \ 661e63c8ee3Swdenk echo "... with ENV in NVRAM ..."; \ 662e63c8ee3Swdenk } 663e63c8ee3Swdenk @./mkconfig -a RPXlite_DW ppc mpc8xx RPXlite_dw 664e63c8ee3Swdenk 66573a8b27cSwdenkrmu_config: unconfig 66673a8b27cSwdenk @./mkconfig $(@:_config=) ppc mpc8xx rmu 66773a8b27cSwdenk 6687ebf7443SwdenkRRvision_config: unconfig 6697ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx RRvision 6707ebf7443Swdenk 6717ebf7443SwdenkRRvision_LCD_config: unconfig 6727ebf7443Swdenk @echo "#define CONFIG_LCD" >include/config.h 6737ebf7443Swdenk @echo "#define CONFIG_SHARP_LQ104V7DS01" >>include/config.h 6747ebf7443Swdenk @./mkconfig -a RRvision ppc mpc8xx RRvision 6757ebf7443Swdenk 6767ebf7443SwdenkSM850_config : unconfig 6777ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx tqm8xx 6787ebf7443Swdenk 6797ebf7443SwdenkSPD823TS_config: unconfig 6807ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx spd8xx 6817ebf7443Swdenk 6826bdf4306SWolfgang Denkstxxtc_config: unconfig 6836bdf4306SWolfgang Denk @./mkconfig $(@:_config=) ppc mpc8xx stxxtc 6846bdf4306SWolfgang Denk 685dc7c9a1aSwdenksvm_sc8xx_config: unconfig 686dc7c9a1aSwdenk @ >include/config.h 687dc7c9a1aSwdenk @./mkconfig $(@:_config=) ppc mpc8xx svm_sc8xx 688dc7c9a1aSwdenk 6897ebf7443SwdenkSXNI855T_config: unconfig 6907ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx sixnet 6917ebf7443Swdenk 692db2f721fSwdenk# EMK MPC8xx based modules 693db2f721fSwdenkTOP860_config: unconfig 694db2f721fSwdenk @./mkconfig $(@:_config=) ppc mpc8xx top860 emk 695db2f721fSwdenk 6967ebf7443Swdenk# Play some tricks for configuration selection 697e9132ea9Swdenk# Only 855 and 860 boards may come with FEC 698e9132ea9Swdenk# and only 823 boards may have LCD support 699e9132ea9Swdenkxtract_8xx = $(subst _LCD,,$(subst _config,,$1)) 7007ebf7443Swdenk 7017ebf7443SwdenkFPS850L_config \ 702384ae025SwdenkFPS860L_config \ 703f12e568cSwdenkNSCU_config \ 7047ebf7443SwdenkTQM823L_config \ 7057ebf7443SwdenkTQM823L_LCD_config \ 7067ebf7443SwdenkTQM850L_config \ 7077ebf7443SwdenkTQM855L_config \ 7087ebf7443SwdenkTQM860L_config \ 709d126bfbdSwdenkTQM862L_config \ 710ae3af05eSwdenkTQM823M_config \ 711ae3af05eSwdenkTQM850M_config \ 712f12e568cSwdenkTQM855M_config \ 713f12e568cSwdenkTQM860M_config \ 714f12e568cSwdenkTQM862M_config \ 715c178d3daSwdenkTQM866M_config: unconfig 7167ebf7443Swdenk @ >include/config.h 7177ebf7443Swdenk @[ -z "$(findstring _LCD,$@)" ] || \ 7187ebf7443Swdenk { echo "#define CONFIG_LCD" >>include/config.h ; \ 719fd3103bbSwdenk echo "#define CONFIG_NEC_NL6448BC20" >>include/config.h ; \ 7207ebf7443Swdenk echo "... with LCD display" ; \ 7217ebf7443Swdenk } 7227ebf7443Swdenk @./mkconfig -a $(call xtract_8xx,$@) ppc mpc8xx tqm8xx 7237ebf7443Swdenk 7247ebf7443SwdenkTTTech_config: unconfig 7257ebf7443Swdenk @echo "#define CONFIG_LCD" >include/config.h 7267ebf7443Swdenk @echo "#define CONFIG_SHARP_LQ104V7DS01" >>include/config.h 7277ebf7443Swdenk @./mkconfig -a TQM823L ppc mpc8xx tqm8xx 7287ebf7443Swdenk 729ec0aee7bSwdenkuc100_config : unconfig 730f7d1572bSwdenk @./mkconfig $(@:_config=) ppc mpc8xx uc100 731f7d1572bSwdenk 732608c9146Swdenkv37_config: unconfig 733608c9146Swdenk @echo "#define CONFIG_LCD" >include/config.h 734608c9146Swdenk @echo "#define CONFIG_SHARP_LQ084V1DG21" >>include/config.h 735608c9146Swdenk @./mkconfig $(@:_config=) ppc mpc8xx v37 736608c9146Swdenk 73791e940d9Sdzuwtk_config: unconfig 73891e940d9Sdzu @echo "#define CONFIG_LCD" >include/config.h 73991e940d9Sdzu @echo "#define CONFIG_SHARP_LQ065T9DR51U" >>include/config.h 74091e940d9Sdzu @./mkconfig -a TQM823L ppc mpc8xx tqm8xx 74191e940d9Sdzu 7427ebf7443Swdenk######################################################################### 7437ebf7443Swdenk## PPC4xx Systems 7447ebf7443Swdenk######################################################################### 745e55ca7e2Swdenkxtract_4xx = $(subst _25,,$(subst _33,,$(subst _BA,,$(subst _ME,,$(subst _HI,,$(subst _config,,$1)))))) 7467ebf7443Swdenk 7477ebf7443SwdenkADCIOP_config: unconfig 7487ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx adciop esd 7497ebf7443Swdenk 7507521af1cSWolfgang DenkAP1000_config:unconfig 7517521af1cSWolfgang Denk @./mkconfig $(@:_config=) ppc ppc4xx ap1000 amirix 7527521af1cSWolfgang Denk 753c419d1d6SstroeseAPC405_config: unconfig 754c419d1d6Sstroese @./mkconfig $(@:_config=) ppc ppc4xx apc405 esd 755c419d1d6Sstroese 7567ebf7443SwdenkAR405_config: unconfig 7577ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx ar405 esd 7587ebf7443Swdenk 759549826eaSstroeseASH405_config: unconfig 760549826eaSstroese @./mkconfig $(@:_config=) ppc ppc4xx ash405 esd 761549826eaSstroese 7628a316c9bSStefan Roesebamboo_config: unconfig 7638a316c9bSStefan Roese @./mkconfig $(@:_config=) ppc ppc4xx bamboo amcc 7648a316c9bSStefan Roese 7658a316c9bSStefan Roesebubinga_config: unconfig 7668a316c9bSStefan Roese @./mkconfig $(@:_config=) ppc ppc4xx bubinga amcc 767549826eaSstroese 7687ebf7443SwdenkCANBT_config: unconfig 7697ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx canbt esd 7707ebf7443Swdenk 7711d6f9720SwdenkCATcenter_config \ 7721d6f9720SwdenkCATcenter_25_config \ 7731d6f9720SwdenkCATcenter_33_config: unconfig 77410767ccbSwdenk @ echo "/* CATcenter uses PPChameleon Model ME */" > include/config.h 77510767ccbSwdenk @ echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 1" >> include/config.h 7761d6f9720Swdenk @[ -z "$(findstring _25,$@)" ] || \ 7771d6f9720Swdenk { echo "#define CONFIG_PPCHAMELEON_CLK_25" >>include/config.h ; \ 7781d6f9720Swdenk echo "SysClk = 25MHz" ; \ 7791d6f9720Swdenk } 7801d6f9720Swdenk @[ -z "$(findstring _33,$@)" ] || \ 7811d6f9720Swdenk { echo "#define CONFIG_PPCHAMELEON_CLK_33" >>include/config.h ; \ 7821d6f9720Swdenk echo "SysClk = 33MHz" ; \ 7831d6f9720Swdenk } 78410767ccbSwdenk @./mkconfig -a $(call xtract_4xx,$@) ppc ppc4xx PPChameleonEVB dave 78510767ccbSwdenk 7867644f16fSStefan RoeseCPCI2DP_config: unconfig 7877644f16fSStefan Roese @./mkconfig $(@:_config=) ppc ppc4xx cpci2dp esd 7887644f16fSStefan Roese 7897ebf7443SwdenkCPCI405_config \ 790549826eaSstroeseCPCI4052_config \ 791c419d1d6SstroeseCPCI405DT_config \ 792549826eaSstroeseCPCI405AB_config: unconfig 7937ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx cpci405 esd 7947ebf7443Swdenk @echo "BOARD_REVISION = $(@:_config=)" >>include/config.mk 7957ebf7443Swdenk 7967ebf7443SwdenkCPCI440_config: unconfig 7977ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx cpci440 esd 7987ebf7443Swdenk 7997ebf7443SwdenkCPCIISER4_config: unconfig 8007ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx cpciiser4 esd 8017ebf7443Swdenk 8027ebf7443SwdenkCRAYL1_config: unconfig 8037ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx L1 cray 8047ebf7443Swdenk 805cd0a9de6Swdenkcsb272_config: unconfig 806cd0a9de6Swdenk @./mkconfig $(@:_config=) ppc ppc4xx csb272 807cd0a9de6Swdenk 808aa245090Swdenkcsb472_config: unconfig 809aa245090Swdenk @./mkconfig $(@:_config=) ppc ppc4xx csb472 810aa245090Swdenk 8117ebf7443SwdenkDASA_SIM_config: unconfig 8127ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx dasa_sim esd 8137ebf7443Swdenk 81472cd5aa7SstroeseDP405_config: unconfig 81572cd5aa7Sstroese @./mkconfig $(@:_config=) ppc ppc4xx dp405 esd 81672cd5aa7Sstroese 8177ebf7443SwdenkDU405_config: unconfig 8187ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx du405 esd 8197ebf7443Swdenk 8208a316c9bSStefan Roeseebony_config: unconfig 8218a316c9bSStefan Roese @./mkconfig $(@:_config=) ppc ppc4xx ebony amcc 8227ebf7443Swdenk 8237ebf7443SwdenkERIC_config: unconfig 8247ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx eric 8257ebf7443Swdenk 826d1cbe85bSwdenkEXBITGEN_config: unconfig 827d1cbe85bSwdenk @./mkconfig $(@:_config=) ppc ppc4xx exbitgen 828d1cbe85bSwdenk 829c419d1d6SstroeseG2000_config: unconfig 830c419d1d6Sstroese @./mkconfig $(@:_config=) ppc ppc4xx g2000 831c419d1d6Sstroese 832c419d1d6SstroeseHH405_config: unconfig 833c419d1d6Sstroese @./mkconfig $(@:_config=) ppc ppc4xx hh405 esd 834c419d1d6Sstroese 83572cd5aa7SstroeseHUB405_config: unconfig 83672cd5aa7Sstroese @./mkconfig $(@:_config=) ppc ppc4xx hub405 esd 83772cd5aa7Sstroese 838db01a2eaSwdenkJSE_config: unconfig 839db01a2eaSwdenk @./mkconfig $(@:_config=) ppc ppc4xx jse 840db01a2eaSwdenk 841b79316f2SStefan RoeseKAREF_config: unconfig 842b79316f2SStefan Roese @./mkconfig $(@:_config=) ppc ppc4xx karef sandburst 843b79316f2SStefan Roese 8446e7fb6eaSStefan Roeseluan_config: unconfig 8456e7fb6eaSStefan Roese @./mkconfig $(@:_config=) ppc ppc4xx luan amcc 8466e7fb6eaSStefan Roese 847b79316f2SStefan RoeseMETROBOX_config: unconfig 848b79316f2SStefan Roese @./mkconfig $(@:_config=) ppc ppc4xx metrobox sandburst 849b79316f2SStefan Roese 8507ebf7443SwdenkMIP405_config: unconfig 8517ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx mip405 mpl 8527ebf7443Swdenk 853f3e0de60SwdenkMIP405T_config: unconfig 854f3e0de60Swdenk @echo "#define CONFIG_MIP405T" >include/config.h 855f3e0de60Swdenk @echo "Enable subset config for MIP405T" 856f3e0de60Swdenk @./mkconfig -a MIP405 ppc ppc4xx mip405 mpl 857f3e0de60Swdenk 8587ebf7443SwdenkML2_config: unconfig 8597ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx ml2 8607ebf7443Swdenk 861028ab6b5Swdenkml300_config: unconfig 862028ab6b5Swdenk @./mkconfig $(@:_config=) ppc ppc4xx ml300 xilinx 863028ab6b5Swdenk 8648a316c9bSStefan Roeseocotea_config: unconfig 8658a316c9bSStefan Roese @./mkconfig $(@:_config=) ppc ppc4xx ocotea amcc 8660e6d798cSwdenk 8677ebf7443SwdenkOCRTC_config \ 8687ebf7443SwdenkORSG_config: unconfig 8697ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx ocrtc esd 8707ebf7443Swdenk 8715568e613SStefan Roesep3p440_config: unconfig 8725568e613SStefan Roese @./mkconfig $(@:_config=) ppc ppc4xx p3p440 prodrive 8735568e613SStefan Roese 8747ebf7443SwdenkPCI405_config: unconfig 8757ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx pci405 esd 8767ebf7443Swdenk 8777ebf7443SwdenkPIP405_config: unconfig 8787ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx pip405 mpl 8797ebf7443Swdenk 88072cd5aa7SstroesePLU405_config: unconfig 88172cd5aa7Sstroese @./mkconfig $(@:_config=) ppc ppc4xx plu405 esd 88272cd5aa7Sstroese 883549826eaSstroesePMC405_config: unconfig 884549826eaSstroese @./mkconfig $(@:_config=) ppc ppc4xx pmc405 esd 885549826eaSstroese 886281e00a3SwdenkPPChameleonEVB_config \ 887e55ca7e2SwdenkPPChameleonEVB_BA_25_config \ 888e55ca7e2SwdenkPPChameleonEVB_ME_25_config \ 889e55ca7e2SwdenkPPChameleonEVB_HI_25_config \ 890e55ca7e2SwdenkPPChameleonEVB_BA_33_config \ 891e55ca7e2SwdenkPPChameleonEVB_ME_33_config \ 892e55ca7e2SwdenkPPChameleonEVB_HI_33_config: unconfig 893fbe4b5cbSwdenk @ >include/config.h 8941d6f9720Swdenk @[ -z "$(findstring EVB_BA,$@)" ] || \ 895fbe4b5cbSwdenk { echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 0" >>include/config.h ; \ 896fbe4b5cbSwdenk echo "... BASIC model" ; \ 897fbe4b5cbSwdenk } 8981d6f9720Swdenk @[ -z "$(findstring EVB_ME,$@)" ] || \ 899fbe4b5cbSwdenk { echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 1" >>include/config.h ; \ 900fbe4b5cbSwdenk echo "... MEDIUM model" ; \ 901fbe4b5cbSwdenk } 9021d6f9720Swdenk @[ -z "$(findstring EVB_HI,$@)" ] || \ 903fbe4b5cbSwdenk { echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 2" >>include/config.h ; \ 904fbe4b5cbSwdenk echo "... HIGH-END model" ; \ 905fbe4b5cbSwdenk } 906e55ca7e2Swdenk @[ -z "$(findstring _25,$@)" ] || \ 907e55ca7e2Swdenk { echo "#define CONFIG_PPCHAMELEON_CLK_25" >>include/config.h ; \ 908e55ca7e2Swdenk echo "SysClk = 25MHz" ; \ 909e55ca7e2Swdenk } 910e55ca7e2Swdenk @[ -z "$(findstring _33,$@)" ] || \ 911e55ca7e2Swdenk { echo "#define CONFIG_PPCHAMELEON_CLK_33" >>include/config.h ; \ 912e55ca7e2Swdenk echo "SysClk = 33MHz" ; \ 913e55ca7e2Swdenk } 914fbe4b5cbSwdenk @./mkconfig -a $(call xtract_4xx,$@) ppc ppc4xx PPChameleonEVB dave 91512f34241Swdenk 916652a10c0Swdenksbc405_config: unconfig 917652a10c0Swdenk @./mkconfig $(@:_config=) ppc ppc4xx sbc405 918652a10c0Swdenk 9198a316c9bSStefan Roesesycamore_config: unconfig 9208a316c9bSStefan Roese @echo "Configuring for sycamore board as subset of walnut..." 9218a316c9bSStefan Roese @./mkconfig -a walnut ppc ppc4xx walnut amcc 9228a316c9bSStefan Roese 92372cd5aa7SstroeseVOH405_config: unconfig 92472cd5aa7Sstroese @./mkconfig $(@:_config=) ppc ppc4xx voh405 esd 92572cd5aa7Sstroese 926c419d1d6SstroeseVOM405_config: unconfig 927c419d1d6Sstroese @./mkconfig $(@:_config=) ppc ppc4xx vom405 esd 928c419d1d6Sstroese 929feaedfcfSStefan RoeseCMS700_config: unconfig 930feaedfcfSStefan Roese @./mkconfig $(@:_config=) ppc ppc4xx cms700 esd 931feaedfcfSStefan Roese 9327ebf7443SwdenkW7OLMC_config \ 9337ebf7443SwdenkW7OLMG_config: unconfig 9347ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx w7o 9357ebf7443Swdenk 9368a316c9bSStefan Roesewalnut_config: unconfig 9378a316c9bSStefan Roese @./mkconfig $(@:_config=) ppc ppc4xx walnut amcc 9387ebf7443Swdenk 939c419d1d6SstroeseWUH405_config: unconfig 940c419d1d6Sstroese @./mkconfig $(@:_config=) ppc ppc4xx wuh405 esd 941c419d1d6Sstroese 942ba56f625SwdenkXPEDITE1K_config: unconfig 943ba56f625Swdenk @./mkconfig $(@:_config=) ppc ppc4xx xpedite1k 944ba56f625Swdenk 9458a316c9bSStefan Roeseyosemite_config: unconfig 9468a316c9bSStefan Roese @./mkconfig $(@:_config=) ppc ppc4xx yosemite amcc 9478a316c9bSStefan Roese 9488a316c9bSStefan Roeseyellowstone_config: unconfig 9498a316c9bSStefan Roese @./mkconfig $(@:_config=) ppc ppc4xx yellowstone amcc 9508a316c9bSStefan Roese 9517ebf7443Swdenk######################################################################### 952983fda83Swdenk## MPC8220 Systems 953983fda83Swdenk######################################################################### 954dc17fb6dSWolfgang Denk 955dc17fb6dSWolfgang DenkAlaska8220_config \ 956dc17fb6dSWolfgang DenkYukon8220_config: unconfig 957983fda83Swdenk @./mkconfig $(@:_config=) ppc mpc8220 alaska 958983fda83Swdenk 95912b43d51Swdenksorcery_config: unconfig 96012b43d51Swdenk @./mkconfig $(@:_config=) ppc mpc8220 sorcery 96112b43d51Swdenk 962983fda83Swdenk######################################################################### 9637ebf7443Swdenk## MPC824x Systems 9647ebf7443Swdenk######################################################################### 965efa329cbSwdenkxtract_82xx = $(subst _BIGFLASH,,$(subst _ROMBOOT,,$(subst _L2,,$(subst _266MHz,,$(subst _300MHz,,$(subst _config,,$1)))))) 9663bac3513Swdenk 9670332990bSwdenkA3000_config: unconfig 9680332990bSwdenk @./mkconfig $(@:_config=) ppc mpc824x a3000 9690332990bSwdenk 9708e6f1a8eSWolfgang Denkbarco_config: unconfig 9718e6f1a8eSWolfgang Denk @./mkconfig $(@:_config=) ppc mpc824x barco 9728e6f1a8eSWolfgang Denk 9737ebf7443SwdenkBMW_config: unconfig 9747ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc824x bmw 9757ebf7443Swdenk 9763bac3513SwdenkCPC45_config \ 9773bac3513SwdenkCPC45_ROMBOOT_config: unconfig 9783bac3513Swdenk @./mkconfig $(call xtract_82xx,$@) ppc mpc824x cpc45 9793bac3513Swdenk @cd ./include ; \ 9803bac3513Swdenk if [ "$(findstring _ROMBOOT_,$@)" ] ; then \ 9813bac3513Swdenk echo "CONFIG_BOOT_ROM = y" >> config.mk ; \ 9823bac3513Swdenk echo "... booting from 8-bit flash" ; \ 9833bac3513Swdenk else \ 9843bac3513Swdenk echo "CONFIG_BOOT_ROM = n" >> config.mk ; \ 9853bac3513Swdenk echo "... booting from 64-bit flash" ; \ 9863bac3513Swdenk fi; \ 9873bac3513Swdenk echo "export CONFIG_BOOT_ROM" >> config.mk; 9883bac3513Swdenk 9897ebf7443SwdenkCU824_config: unconfig 9907ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc824x cu824 9917ebf7443Swdenk 9927abf0c58Swdenkdebris_config: unconfig 9937abf0c58Swdenk @./mkconfig $(@:_config=) ppc mpc824x debris etin 9947abf0c58Swdenk 99580885a9dSwdenkeXalion_config: unconfig 99680885a9dSwdenk @./mkconfig $(@:_config=) ppc mpc824x eXalion 99780885a9dSwdenk 998756f586aSwdenkHIDDEN_DRAGON_config: unconfig 999756f586aSwdenk @./mkconfig $(@:_config=) ppc mpc824x hidden_dragon 1000756f586aSwdenk 10017ebf7443SwdenkMOUSSE_config: unconfig 10027ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc824x mousse 10037ebf7443Swdenk 10047ebf7443SwdenkMUSENKI_config: unconfig 10057ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc824x musenki 10067ebf7443Swdenk 1007b4676a25SwdenkMVBLUE_config: unconfig 1008b4676a25Swdenk @./mkconfig $(@:_config=) ppc mpc824x mvblue 1009b4676a25Swdenk 10107ebf7443SwdenkOXC_config: unconfig 10117ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc824x oxc 10127ebf7443Swdenk 10137ebf7443SwdenkPN62_config: unconfig 10147ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc824x pn62 10157ebf7443Swdenk 10167ebf7443SwdenkSandpoint8240_config: unconfig 10177ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc824x sandpoint 10187ebf7443Swdenk 10197ebf7443SwdenkSandpoint8245_config: unconfig 10207ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc824x sandpoint 10217ebf7443Swdenk 1022466b7410Swdenksbc8240_config: unconfig 1023466b7410Swdenk @./mkconfig $(@:_config=) ppc mpc824x sbc8240 1024466b7410Swdenk 1025d1cbe85bSwdenkSL8245_config: unconfig 1026d1cbe85bSwdenk @./mkconfig $(@:_config=) ppc mpc824x sl8245 1027d1cbe85bSwdenk 10287ebf7443Swdenkutx8245_config: unconfig 10297ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc824x utx8245 10307ebf7443Swdenk 10317ebf7443Swdenk######################################################################### 10327ebf7443Swdenk## MPC8260 Systems 10337ebf7443Swdenk######################################################################### 10347ebf7443Swdenk 103554387ac9Swdenkatc_config: unconfig 103654387ac9Swdenk @./mkconfig $(@:_config=) ppc mpc8260 atc 103754387ac9Swdenk 10387ebf7443Swdenkcogent_mpc8260_config: unconfig 10397ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8260 cogent 10407ebf7443Swdenk 10417ebf7443SwdenkCPU86_config \ 10427ebf7443SwdenkCPU86_ROMBOOT_config: unconfig 10437ebf7443Swdenk @./mkconfig $(call xtract_82xx,$@) ppc mpc8260 cpu86 10447ebf7443Swdenk @cd ./include ; \ 10457ebf7443Swdenk if [ "$(findstring _ROMBOOT_,$@)" ] ; then \ 10467ebf7443Swdenk echo "CONFIG_BOOT_ROM = y" >> config.mk ; \ 10477ebf7443Swdenk echo "... booting from 8-bit flash" ; \ 10487ebf7443Swdenk else \ 10497ebf7443Swdenk echo "CONFIG_BOOT_ROM = n" >> config.mk ; \ 10507ebf7443Swdenk echo "... booting from 64-bit flash" ; \ 10517ebf7443Swdenk fi; \ 10527ebf7443Swdenk echo "export CONFIG_BOOT_ROM" >> config.mk; 10537ebf7443Swdenk 1054384cc687SwdenkCPU87_config \ 1055384cc687SwdenkCPU87_ROMBOOT_config: unconfig 1056384cc687Swdenk @./mkconfig $(call xtract_82xx,$@) ppc mpc8260 cpu87 1057384cc687Swdenk @cd ./include ; \ 1058384cc687Swdenk if [ "$(findstring _ROMBOOT_,$@)" ] ; then \ 1059384cc687Swdenk echo "CONFIG_BOOT_ROM = y" >> config.mk ; \ 1060384cc687Swdenk echo "... booting from 8-bit flash" ; \ 1061384cc687Swdenk else \ 1062384cc687Swdenk echo "CONFIG_BOOT_ROM = n" >> config.mk ; \ 1063384cc687Swdenk echo "... booting from 64-bit flash" ; \ 1064384cc687Swdenk fi; \ 1065384cc687Swdenk echo "export CONFIG_BOOT_ROM" >> config.mk; 1066384cc687Swdenk 1067f901a83bSWolfgang Denkep8248_config \ 1068f901a83bSWolfgang Denkep8248E_config : unconfig 1069f901a83bSWolfgang Denk @./mkconfig ep8248 ppc mpc8260 ep8248 1070f901a83bSWolfgang Denk 10717ebf7443Swdenkep8260_config: unconfig 10727ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8260 ep8260 10737ebf7443Swdenk 10747ebf7443Swdenkgw8260_config: unconfig 10757ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8260 gw8260 10767ebf7443Swdenk 10777ebf7443Swdenkhymod_config: unconfig 10787ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8260 hymod 10797ebf7443Swdenk 10809dd41a7bSwdenkIDS8247_config: unconfig 10819dd41a7bSwdenk @./mkconfig $(@:_config=) ppc mpc8260 ids8247 10829dd41a7bSwdenk 10837ebf7443SwdenkIPHASE4539_config: unconfig 10847ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8260 iphase4539 10857ebf7443Swdenk 1086c3c7f861SwdenkISPAN_config \ 1087c3c7f861SwdenkISPAN_REVB_config: unconfig 1088c3c7f861Swdenk @if [ "$(findstring _REVB_,$@)" ] ; then \ 1089c3c7f861Swdenk echo "#define CFG_REV_B" > include/config.h ; \ 1090c3c7f861Swdenk fi 1091c3c7f861Swdenk @./mkconfig -a ISPAN ppc mpc8260 ispan 1092c3c7f861Swdenk 109304a85b3bSwdenkMPC8260ADS_config \ 1094901787d6SwdenkMPC8260ADS_lowboot_config \ 109504a85b3bSwdenkMPC8260ADS_33MHz_config \ 1096901787d6SwdenkMPC8260ADS_33MHz_lowboot_config \ 109704a85b3bSwdenkMPC8260ADS_40MHz_config \ 1098901787d6SwdenkMPC8260ADS_40MHz_lowboot_config \ 109904a85b3bSwdenkMPC8272ADS_config \ 1100901787d6SwdenkMPC8272ADS_lowboot_config \ 110104a85b3bSwdenkPQ2FADS_config \ 1102901787d6SwdenkPQ2FADS_lowboot_config \ 110304a85b3bSwdenkPQ2FADS-VR_config \ 1104901787d6SwdenkPQ2FADS-VR_lowboot_config \ 110504a85b3bSwdenkPQ2FADS-ZU_config \ 1106901787d6SwdenkPQ2FADS-ZU_lowboot_config \ 110704a85b3bSwdenkPQ2FADS-ZU_66MHz_config \ 1108901787d6SwdenkPQ2FADS-ZU_66MHz_lowboot_config \ 110904a85b3bSwdenk : unconfig 111004a85b3bSwdenk $(if $(findstring PQ2FADS,$@), \ 111104a85b3bSwdenk @echo "#define CONFIG_ADSTYPE CFG_PQ2FADS" > include/config.h, \ 111204a85b3bSwdenk @echo "#define CONFIG_ADSTYPE CFG_"$(subst MPC,,$(word 1,$(subst _, ,$@))) > include/config.h) 111304a85b3bSwdenk $(if $(findstring MHz,$@), \ 111404a85b3bSwdenk @echo "#define CONFIG_8260_CLKIN" $(subst MHz,,$(word 2,$(subst _, ,$@)))"000000" >> include/config.h, \ 111504a85b3bSwdenk $(if $(findstring VR,$@), \ 111604a85b3bSwdenk @echo "#define CONFIG_8260_CLKIN 66000000" >> include/config.h)) 1117901787d6Swdenk @[ -z "$(findstring lowboot_,$@)" ] || \ 1118901787d6Swdenk { echo "TEXT_BASE = 0xFF800000" >board/mpc8260ads/config.tmp ; \ 1119901787d6Swdenk echo "... with lowboot configuration" ; \ 1120901787d6Swdenk } 112104a85b3bSwdenk @./mkconfig -a MPC8260ADS ppc mpc8260 mpc8260ads 11227ebf7443Swdenk 1123db2f721fSwdenkMPC8266ADS_config: unconfig 1124db2f721fSwdenk @./mkconfig $(@:_config=) ppc mpc8260 mpc8266ads 1125db2f721fSwdenk 1126efa329cbSwdenk# PM825/PM826 default configuration: small (= 8 MB) Flash / boot from 64-bit flash 112710f67017SwdenkPM825_config \ 1128efa329cbSwdenkPM825_ROMBOOT_config \ 1129efa329cbSwdenkPM825_BIGFLASH_config \ 1130efa329cbSwdenkPM825_ROMBOOT_BIGFLASH_config \ 11317ebf7443SwdenkPM826_config \ 1132efa329cbSwdenkPM826_ROMBOOT_config \ 1133efa329cbSwdenkPM826_BIGFLASH_config \ 1134efa329cbSwdenkPM826_ROMBOOT_BIGFLASH_config: unconfig 1135efa329cbSwdenk @if [ "$(findstring PM825_,$@)" ] ; then \ 1136efa329cbSwdenk echo "#define CONFIG_PCI" >include/config.h ; \ 11377ebf7443Swdenk else \ 1138efa329cbSwdenk >include/config.h ; \ 1139efa329cbSwdenk fi 1140efa329cbSwdenk @if [ "$(findstring _ROMBOOT_,$@)" ] ; then \ 1141efa329cbSwdenk echo "... booting from 8-bit flash" ; \ 1142efa329cbSwdenk echo "#define CONFIG_BOOT_ROM" >>include/config.h ; \ 1143efa329cbSwdenk echo "TEXT_BASE = 0xFF800000" >board/pm826/config.tmp ; \ 1144efa329cbSwdenk if [ "$(findstring _BIGFLASH_,$@)" ] ; then \ 1145efa329cbSwdenk echo "... with 32 MB Flash" ; \ 1146efa329cbSwdenk echo "#define CONFIG_FLASH_32MB" >>include/config.h ; \ 11477ebf7443Swdenk fi; \ 1148efa329cbSwdenk else \ 1149efa329cbSwdenk echo "... booting from 64-bit flash" ; \ 1150efa329cbSwdenk if [ "$(findstring _BIGFLASH_,$@)" ] ; then \ 1151efa329cbSwdenk echo "... with 32 MB Flash" ; \ 1152efa329cbSwdenk echo "#define CONFIG_FLASH_32MB" >>include/config.h ; \ 1153efa329cbSwdenk echo "TEXT_BASE = 0x40000000" >board/pm826/config.tmp ; \ 1154efa329cbSwdenk else \ 1155efa329cbSwdenk echo "TEXT_BASE = 0xFF000000" >board/pm826/config.tmp ; \ 1156efa329cbSwdenk fi; \ 1157efa329cbSwdenk fi 1158efa329cbSwdenk @./mkconfig -a PM826 ppc mpc8260 pm826 1159efa329cbSwdenk 1160efa329cbSwdenkPM828_config \ 1161efa329cbSwdenkPM828_PCI_config \ 1162efa329cbSwdenkPM828_ROMBOOT_config \ 1163efa329cbSwdenkPM828_ROMBOOT_PCI_config: unconfig 1164efa329cbSwdenk @if [ -z "$(findstring _PCI_,$@)" ] ; then \ 1165efa329cbSwdenk echo "#define CONFIG_PCI" >>include/config.h ; \ 1166efa329cbSwdenk echo "... with PCI enabled" ; \ 1167efa329cbSwdenk else \ 1168efa329cbSwdenk >include/config.h ; \ 1169efa329cbSwdenk fi 1170efa329cbSwdenk @if [ "$(findstring _ROMBOOT_,$@)" ] ; then \ 1171efa329cbSwdenk echo "... booting from 8-bit flash" ; \ 1172efa329cbSwdenk echo "#define CONFIG_BOOT_ROM" >>include/config.h ; \ 1173efa329cbSwdenk echo "TEXT_BASE = 0xFF800000" >board/pm826/config.tmp ; \ 1174efa329cbSwdenk fi 1175efa329cbSwdenk @./mkconfig -a PM828 ppc mpc8260 pm828 11767ebf7443Swdenk 11777ebf7443Swdenkppmc8260_config: unconfig 11787ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8260 ppmc8260 11797ebf7443Swdenk 11808b0bfc68SwdenkRattler8248_config \ 11818b0bfc68SwdenkRattler_config: unconfig 11828b0bfc68Swdenk $(if $(findstring 8248,$@), \ 11838b0bfc68Swdenk @echo "#define CONFIG_MPC8248" > include/config.h) 11848b0bfc68Swdenk @./mkconfig -a Rattler ppc mpc8260 rattler 11858b0bfc68Swdenk 11867ebf7443SwdenkRPXsuper_config: unconfig 11877ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8260 rpxsuper 11887ebf7443Swdenk 11897ebf7443Swdenkrsdproto_config: unconfig 11907ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8260 rsdproto 11917ebf7443Swdenk 11927ebf7443Swdenksacsng_config: unconfig 11937ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8260 sacsng 11947ebf7443Swdenk 11957ebf7443Swdenksbc8260_config: unconfig 11967ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8260 sbc8260 11977ebf7443Swdenk 11987ebf7443SwdenkSCM_config: unconfig 11997ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8260 SCM siemens 12007ebf7443Swdenk 120127b207fdSwdenkTQM8255_AA_config \ 120227b207fdSwdenkTQM8260_AA_config \ 120327b207fdSwdenkTQM8260_AB_config \ 120427b207fdSwdenkTQM8260_AC_config \ 120527b207fdSwdenkTQM8260_AD_config \ 120627b207fdSwdenkTQM8260_AE_config \ 120727b207fdSwdenkTQM8260_AF_config \ 120827b207fdSwdenkTQM8260_AG_config \ 120927b207fdSwdenkTQM8260_AH_config \ 121027b207fdSwdenkTQM8265_AA_config: unconfig 121127b207fdSwdenk @case "$@" in \ 121227b207fdSwdenk TQM8255_AA_config) CTYPE=MPC8255; CFREQ=300; CACHE=no; BMODE=8260;; \ 121327b207fdSwdenk TQM8260_AA_config) CTYPE=MPC8260; CFREQ=200; CACHE=no; BMODE=8260;; \ 121427b207fdSwdenk TQM8260_AB_config) CTYPE=MPC8260; CFREQ=200; CACHE=yes; BMODE=60x;; \ 121527b207fdSwdenk TQM8260_AC_config) CTYPE=MPC8260; CFREQ=200; CACHE=yes; BMODE=60x;; \ 121627b207fdSwdenk TQM8260_AD_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=60x;; \ 121727b207fdSwdenk TQM8260_AE_config) CTYPE=MPC8260; CFREQ=266; CACHE=no; BMODE=8260;; \ 121827b207fdSwdenk TQM8260_AF_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=60x;; \ 121927b207fdSwdenk TQM8260_AG_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=8260;; \ 122027b207fdSwdenk TQM8260_AH_config) CTYPE=MPC8260; CFREQ=300; CACHE=yes; BMODE=60x;; \ 122127b207fdSwdenk TQM8265_AA_config) CTYPE=MPC8265; CFREQ=300; CACHE=no; BMODE=60x;; \ 122227b207fdSwdenk esac; \ 122327b207fdSwdenk >include/config.h ; \ 122427b207fdSwdenk if [ "$${CTYPE}" != "MPC8260" ] ; then \ 122527b207fdSwdenk echo "#define CONFIG_$${CTYPE}" >>include/config.h ; \ 122627b207fdSwdenk fi; \ 122727b207fdSwdenk echo "#define CONFIG_$${CFREQ}MHz" >>include/config.h ; \ 122827b207fdSwdenk echo "... with $${CFREQ}MHz system clock" ; \ 122927b207fdSwdenk if [ "$${CACHE}" == "yes" ] ; then \ 12307ebf7443Swdenk echo "#define CONFIG_L2_CACHE" >>include/config.h ; \ 123127b207fdSwdenk echo "... with L2 Cache support" ; \ 12327ebf7443Swdenk else \ 12337ebf7443Swdenk echo "#undef CONFIG_L2_CACHE" >>include/config.h ; \ 12347ebf7443Swdenk echo "... without L2 Cache support" ; \ 123527b207fdSwdenk fi; \ 123627b207fdSwdenk if [ "$${BMODE}" == "60x" ] ; then \ 123727b207fdSwdenk echo "#define CONFIG_BUSMODE_60x" >>include/config.h ; \ 123827b207fdSwdenk echo "... with 60x Bus Mode" ; \ 123927b207fdSwdenk else \ 124027b207fdSwdenk echo "#undef CONFIG_BUSMODE_60x" >>include/config.h ; \ 124127b207fdSwdenk echo "... without 60x Bus Mode" ; \ 12427ebf7443Swdenk fi 12434532cb69Swdenk @./mkconfig -a TQM8260 ppc mpc8260 tqm8260 12447ebf7443Swdenk 1245ba91e26aSwdenkVoVPN-GW_66MHz_config \ 1246ba91e26aSwdenkVoVPN-GW_100MHz_config: unconfig 1247ba91e26aSwdenk @echo "#define CONFIG_CLKIN_$(word 2,$(subst _, ,$@))" > include/config.h 1248ba91e26aSwdenk @./mkconfig -a VoVPN-GW ppc mpc8260 vovpn-gw funkwerk 1249ba91e26aSwdenk 125054387ac9SwdenkZPC1900_config: unconfig 125154387ac9Swdenk @./mkconfig $(@:_config=) ppc mpc8260 zpc1900 12527aa78614Swdenk 12534e5ca3ebSwdenk#======================================================================== 12544e5ca3ebSwdenk# M68K 12554e5ca3ebSwdenk#======================================================================== 12564e5ca3ebSwdenk######################################################################### 12574e5ca3ebSwdenk## Coldfire 12584e5ca3ebSwdenk######################################################################### 12594e5ca3ebSwdenk 12607481266eSWolfgang Denkcobra5272_config : unconfig 12617481266eSWolfgang Denk @./mkconfig $(@:_config=) m68k mcf52x2 cobra5272 12627481266eSWolfgang Denk 12634e5ca3ebSwdenkM5272C3_config : unconfig 1264bf9e3b38Swdenk @./mkconfig $(@:_config=) m68k mcf52x2 m5272c3 12654e5ca3ebSwdenk 12664e5ca3ebSwdenkM5282EVB_config : unconfig 1267bf9e3b38Swdenk @./mkconfig $(@:_config=) m68k mcf52x2 m5282evb 12684e5ca3ebSwdenk 1269c419d1d6SstroeseTASREG_config : unconfig 1270c419d1d6Sstroese @./mkconfig $(@:_config=) m68k mcf52x2 tasreg esd 1271c419d1d6Sstroese 12727ebf7443Swdenk######################################################################### 1273f046ccd1SEran Liberty## MPC83xx Systems 1274f046ccd1SEran Liberty######################################################################### 1275f046ccd1SEran Liberty 1276f046ccd1SEran LibertyMPC8349ADS_config: unconfig 1277f046ccd1SEran Liberty @./mkconfig $(@:_config=) ppc mpc83xx mpc8349ads 1278f046ccd1SEran Liberty 1279e6f2e902SMarian BalakowiczTQM834x_config: unconfig 1280e6f2e902SMarian Balakowicz @./mkconfig $(@:_config=) ppc mpc83xx tqm834x 1281e6f2e902SMarian Balakowicz 1282f046ccd1SEran Liberty######################################################################### 128342d1f039Swdenk## MPC85xx Systems 128442d1f039Swdenk######################################################################### 128542d1f039Swdenk 128642d1f039SwdenkMPC8540ADS_config: unconfig 128742d1f039Swdenk @./mkconfig $(@:_config=) ppc mpc85xx mpc8540ads 128842d1f039Swdenk 1289b0e32949SLunsheng WangMPC8540EVAL_config \ 1290b0e32949SLunsheng WangMPC8540EVAL_33_config \ 1291b0e32949SLunsheng WangMPC8540EVAL_66_config \ 1292b0e32949SLunsheng WangMPC8540EVAL_33_slave_config \ 1293b0e32949SLunsheng WangMPC8540EVAL_66_slave_config: unconfig 1294b0e32949SLunsheng Wang @echo "" >include/config.h ; \ 1295b0e32949SLunsheng Wang if [ "$(findstring _33_,$@)" ] ; then \ 1296b0e32949SLunsheng Wang echo -n "... 33 MHz PCI" ; \ 1297b0e32949SLunsheng Wang else \ 1298b0e32949SLunsheng Wang echo "#define CONFIG_SYSCLK_66M" >>include/config.h ; \ 1299b0e32949SLunsheng Wang echo -n "... 66 MHz PCI" ; \ 1300b0e32949SLunsheng Wang fi ; \ 1301b0e32949SLunsheng Wang if [ "$(findstring _slave_,$@)" ] ; then \ 1302b0e32949SLunsheng Wang echo "#define CONFIG_PCI_SLAVE" >>include/config.h ; \ 1303b0e32949SLunsheng Wang echo " slave" ; \ 1304b0e32949SLunsheng Wang else \ 1305b0e32949SLunsheng Wang echo " host" ; \ 1306b0e32949SLunsheng Wang fi 1307b0e32949SLunsheng Wang @./mkconfig -a MPC8540EVAL ppc mpc85xx mpc8540eval 1308b0e32949SLunsheng Wang 130942d1f039SwdenkMPC8560ADS_config: unconfig 131042d1f039Swdenk @./mkconfig $(@:_config=) ppc mpc85xx mpc8560ads 131142d1f039Swdenk 131203f5c550SwdenkMPC8541CDS_config: unconfig 131303f5c550Swdenk @./mkconfig $(@:_config=) ppc mpc85xx mpc8541cds cds 131403f5c550Swdenk 1315d9b94f28SJon LoeligerMPC8548CDS_config: unconfig 1316d9b94f28SJon Loeliger @./mkconfig $(@:_config=) ppc mpc85xx mpc8548cds cds 1317d9b94f28SJon Loeliger 131803f5c550SwdenkMPC8555CDS_config: unconfig 131903f5c550Swdenk @./mkconfig $(@:_config=) ppc mpc85xx mpc8555cds cds 13207abf0c58Swdenk 1321384cc687SwdenkPM854_config: unconfig 1322384cc687Swdenk @./mkconfig $(@:_config=) ppc mpc85xx pm854 1323384cc687Swdenk 1324b20d0032SWolfgang DenkPM856_config: unconfig 1325b20d0032SWolfgang Denk @./mkconfig $(@:_config=) ppc mpc85xx pm856 1326b20d0032SWolfgang Denk 1327c15f3120Swdenksbc8540_config \ 1328c15f3120Swdenksbc8540_33_config \ 1329c15f3120Swdenksbc8540_66_config: unconfig 1330c15f3120Swdenk @if [ "$(findstring _66_,$@)" ] ; then \ 1331c15f3120Swdenk echo "#define CONFIG_PCI_66" >>include/config.h ; \ 1332c15f3120Swdenk echo "... 66 MHz PCI" ; \ 1333c15f3120Swdenk else \ 1334c15f3120Swdenk >include/config.h ; \ 1335c15f3120Swdenk echo "... 33 MHz PCI" ; \ 1336c15f3120Swdenk fi 1337c15f3120Swdenk @./mkconfig -a SBC8540 ppc mpc85xx sbc8560 1338c15f3120Swdenk 1339466b7410Swdenksbc8560_config \ 1340466b7410Swdenksbc8560_33_config \ 1341466b7410Swdenksbc8560_66_config: unconfig 13428b07a110Swdenk @if [ "$(findstring _66_,$@)" ] ; then \ 13438b07a110Swdenk echo "#define CONFIG_PCI_66" >>include/config.h ; \ 13448b07a110Swdenk echo "... 66 MHz PCI" ; \ 13458b07a110Swdenk else \ 13468b07a110Swdenk >include/config.h ; \ 13478b07a110Swdenk echo "... 33 MHz PCI" ; \ 13488b07a110Swdenk fi 1349466b7410Swdenk @./mkconfig -a sbc8560 ppc mpc85xx sbc8560 13508b07a110Swdenk 135103f5c550Swdenkstxgp3_config: unconfig 135203f5c550Swdenk @./mkconfig $(@:_config=) ppc mpc85xx stxgp3 135303f5c550Swdenk 1354d96f41e0SStefan RoeseTQM8540_config \ 1355d96f41e0SStefan RoeseTQM8541_config \ 1356d96f41e0SStefan RoeseTQM8555_config \ 1357f5c5ef4aSwdenkTQM8560_config: unconfig 1358a889bd27SWolfgang Denk @CTYPE=$(subst TQM,,$(@:_config=)); \ 1359d96f41e0SStefan Roese >include/config.h ; \ 1360d96f41e0SStefan Roese echo "... TQM"$${CTYPE}; \ 1361d96f41e0SStefan Roese echo "#define CONFIG_MPC$${CTYPE}">>include/config.h; \ 1362d96f41e0SStefan Roese echo "#define CONFIG_TQM$${CTYPE}">>include/config.h; \ 1363d96f41e0SStefan Roese echo "#define CONFIG_HOSTNAME tqm$${CTYPE}">>include/config.h; \ 1364d96f41e0SStefan Roese echo "#define CONFIG_BOARDNAME \"TQM$${CTYPE}\"">>include/config.h; \ 1365d96f41e0SStefan Roese echo "#define CFG_BOOTFILE \"bootfile=/tftpboot/tqm$${CTYPE}/uImage\0\"">>include/config.h 1366d96f41e0SStefan Roese @./mkconfig -a TQM85xx ppc mpc85xx tqm85xx 1367f5c5ef4aSwdenk 136842d1f039Swdenk######################################################################### 13697ebf7443Swdenk## 74xx/7xx Systems 13707ebf7443Swdenk######################################################################### 13717ebf7443Swdenk 1372c7de829cSwdenkAmigaOneG3SE_config: unconfig 1373c7de829cSwdenk @./mkconfig $(@:_config=) ppc 74xx_7xx AmigaOneG3SE MAI 1374c7de829cSwdenk 137515647dc7SwdenkBAB7xx_config: unconfig 137615647dc7Swdenk @./mkconfig $(@:_config=) ppc 74xx_7xx bab7xx eltec 137715647dc7Swdenk 1378c419d1d6SstroeseCPCI750_config: unconfig 1379c419d1d6Sstroese @./mkconfig CPCI750 ppc 74xx_7xx cpci750 esd 1380c419d1d6Sstroese 13813a473b2aSwdenkDB64360_config: unconfig 13823a473b2aSwdenk @./mkconfig DB64360 ppc 74xx_7xx db64360 Marvell 13833a473b2aSwdenk 13843a473b2aSwdenkDB64460_config: unconfig 13853a473b2aSwdenk @./mkconfig DB64460 ppc 74xx_7xx db64460 Marvell 13863a473b2aSwdenk 138715647dc7SwdenkELPPC_config: unconfig 138815647dc7Swdenk @./mkconfig $(@:_config=) ppc 74xx_7xx elppc eltec 138915647dc7Swdenk 13907ebf7443SwdenkEVB64260_config \ 13917ebf7443SwdenkEVB64260_750CX_config: unconfig 13927ebf7443Swdenk @./mkconfig EVB64260 ppc 74xx_7xx evb64260 13937ebf7443Swdenk 139415647dc7SwdenkP3G4_config: unconfig 13957ebf7443Swdenk @./mkconfig $(@:_config=) ppc 74xx_7xx evb64260 13967ebf7443Swdenk 13977ebf7443SwdenkPCIPPC2_config \ 13987ebf7443SwdenkPCIPPC6_config: unconfig 13997ebf7443Swdenk @./mkconfig $(@:_config=) ppc 74xx_7xx pcippc2 14007ebf7443Swdenk 140115647dc7SwdenkZUMA_config: unconfig 140212f34241Swdenk @./mkconfig $(@:_config=) ppc 74xx_7xx evb64260 140312f34241Swdenk 14047ebf7443Swdenk#======================================================================== 14057ebf7443Swdenk# ARM 14067ebf7443Swdenk#======================================================================== 14077ebf7443Swdenk######################################################################### 14087ebf7443Swdenk## StrongARM Systems 14097ebf7443Swdenk######################################################################### 14107ebf7443Swdenk 1411ea66bc88Swdenkassabet_config : unconfig 1412ea66bc88Swdenk @./mkconfig $(@:_config=) arm sa1100 assabet 1413ea66bc88Swdenk 14147ebf7443Swdenkdnp1110_config : unconfig 14157ebf7443Swdenk @./mkconfig $(@:_config=) arm sa1100 dnp1110 14167ebf7443Swdenk 1417855a496fSwdenkgcplus_config : unconfig 1418855a496fSwdenk @./mkconfig $(@:_config=) arm sa1100 gcplus 1419855a496fSwdenk 1420855a496fSwdenklart_config : unconfig 1421855a496fSwdenk @./mkconfig $(@:_config=) arm sa1100 lart 1422855a496fSwdenk 14237ebf7443Swdenkshannon_config : unconfig 14247ebf7443Swdenk @./mkconfig $(@:_config=) arm sa1100 shannon 14257ebf7443Swdenk 14267ebf7443Swdenk######################################################################### 14272e5983d2Swdenk## ARM92xT Systems 14287ebf7443Swdenk######################################################################### 14297ebf7443Swdenk 1430b0639ca3Swdenkxtract_trab = $(subst _bigram,,$(subst _bigflash,,$(subst _old,,$(subst _config,,$1)))) 143143d9616cSwdenk 14323ff02c27Swdenkxtract_omap1610xxx = $(subst _cs0boot,,$(subst _cs3boot,,$(subst _cs_autoboot,,$(subst _config,,$1)))) 143363e73c9aSwdenk 1434a56bd922Swdenkxtract_omap730p2 = $(subst _cs0boot,,$(subst _cs3boot,, $(subst _config,,$1))) 1435a56bd922Swdenk 1436a85f9f21Swdenkat91rm9200dk_config : unconfig 1437a85f9f21Swdenk @./mkconfig $(@:_config=) arm arm920t at91rm9200dk NULL at91rm9200 1438a85f9f21Swdenk 1439a85f9f21Swdenkcmc_pu2_config : unconfig 1440a85f9f21Swdenk @./mkconfig $(@:_config=) arm arm920t cmc_pu2 NULL at91rm9200 1441a85f9f21Swdenk 1442645da510SWolfgang Denkcsb637_config : unconfig 1443645da510SWolfgang Denk @./mkconfig $(@:_config=) arm arm920t csb637 NULL at91rm9200 1444645da510SWolfgang Denk 14450e4018d2SWolfgang Denkmp2usb_config : unconfig 14460e4018d2SWolfgang Denk @./mkconfig $(@:_config=) arm arm920t mp2usb NULL at91rm9200 14470e4018d2SWolfgang Denk 144887cb6862SWolfgang Denk 144974f4304eSWolfgang Denk######################################################################## 145087cb6862SWolfgang Denk## ARM Integrator boards - see doc/README-integrator for more info. 145187cb6862SWolfgang Denkintegratorap_config \ 145287cb6862SWolfgang Denkap_config \ 145387cb6862SWolfgang Denkap966_config \ 145487cb6862SWolfgang Denkap922_config \ 145587cb6862SWolfgang Denkap922_XA10_config \ 145687cb6862SWolfgang Denkap7_config \ 145787cb6862SWolfgang Denkap720t_config \ 145887cb6862SWolfgang Denkap920t_config \ 145987cb6862SWolfgang Denkap926ejs_config \ 146087cb6862SWolfgang Denkap946es_config: unconfig 146196782c63SWolfgang Denk @board/integratorap/split_by_variant.sh $@ 14623d3befa7Swdenk 146387cb6862SWolfgang Denkintegratorcp_config \ 146487cb6862SWolfgang Denkcp_config \ 146587cb6862SWolfgang Denkcp920t_config \ 146687cb6862SWolfgang Denkcp926ejs_config \ 146787cb6862SWolfgang Denkcp946es_config \ 146887cb6862SWolfgang Denkcp1136_config \ 146987cb6862SWolfgang Denkcp966_config \ 147087cb6862SWolfgang Denkcp922_config \ 147187cb6862SWolfgang Denkcp922_XA10_config \ 147287cb6862SWolfgang Denkcp1026_config: unconfig 147396782c63SWolfgang Denk @board/integratorcp/split_by_variant.sh $@ 147425d6712aSwdenk 147599b0d285SWolfgang Denkkb9202_config : unconfig 147699b0d285SWolfgang Denk @./mkconfig $(@:_config=) arm arm920t kb9202 NULL at91rm9200 147799b0d285SWolfgang Denk 1478f832d8a1Swdenklpd7a400_config \ 1479f832d8a1Swdenklpd7a404_config: unconfig 14802d24a3a7Swdenk @./mkconfig $(@:_config=) arm lh7a40x lpd7a40x 14813d3befa7Swdenk 1482281e00a3Swdenkmx1ads_config : unconfig 14831d9f4105Swdenk @./mkconfig $(@:_config=) arm arm920t mx1ads NULL imx 1484281e00a3Swdenk 1485281e00a3Swdenkmx1fs2_config : unconfig 14861d9f4105Swdenk @./mkconfig $(@:_config=) arm arm920t mx1fs2 NULL imx 1487281e00a3Swdenk 14882e5983d2Swdenkomap1510inn_config : unconfig 14892e5983d2Swdenk @./mkconfig $(@:_config=) arm arm925t omap1510inn 14902e5983d2Swdenk 14911eaeb58eSwdenkomap5912osk_config : unconfig 14921eaeb58eSwdenk @./mkconfig $(@:_config=) arm arm926ejs omap5912osk 14931eaeb58eSwdenk 149463e73c9aSwdenkomap1610inn_config \ 149563e73c9aSwdenkomap1610inn_cs0boot_config \ 149663e73c9aSwdenkomap1610inn_cs3boot_config \ 14973ff02c27Swdenkomap1610inn_cs_autoboot_config \ 149863e73c9aSwdenkomap1610h2_config \ 149963e73c9aSwdenkomap1610h2_cs0boot_config \ 15003ff02c27Swdenkomap1610h2_cs3boot_config \ 15013ff02c27Swdenkomap1610h2_cs_autoboot_config: unconfig 150263e73c9aSwdenk @if [ "$(findstring _cs0boot_, $@)" ] ; then \ 150363e73c9aSwdenk echo "#define CONFIG_CS0_BOOT" >> ./include/config.h ; \ 1504b79a11ccSwdenk echo "... configured for CS0 boot"; \ 15053ff02c27Swdenk elif [ "$(findstring _cs_autoboot_, $@)" ] ; then \ 15063ff02c27Swdenk echo "#define CONFIG_CS_AUTOBOOT" >> ./include/config.h ; \ 15073ff02c27Swdenk echo "... configured for CS_AUTO boot"; \ 150863e73c9aSwdenk else \ 150963e73c9aSwdenk echo "#define CONFIG_CS3_BOOT" >> ./include/config.h ; \ 1510b79a11ccSwdenk echo "... configured for CS3 boot"; \ 151163e73c9aSwdenk fi; 151263e73c9aSwdenk @./mkconfig -a $(call xtract_omap1610xxx,$@) arm arm926ejs omap1610inn 15136f21347dSwdenk 1514a56bd922Swdenkomap730p2_config \ 1515a56bd922Swdenkomap730p2_cs0boot_config \ 1516a56bd922Swdenkomap730p2_cs3boot_config : unconfig 1517a56bd922Swdenk @if [ "$(findstring _cs0boot_, $@)" ] ; then \ 1518a56bd922Swdenk echo "#define CONFIG_CS0_BOOT" >> ./include/config.h ; \ 1519a56bd922Swdenk echo "... configured for CS0 boot"; \ 1520a56bd922Swdenk else \ 1521a56bd922Swdenk echo "#define CONFIG_CS3_BOOT" >> ./include/config.h ; \ 1522a56bd922Swdenk echo "... configured for CS3 boot"; \ 1523a56bd922Swdenk fi; 1524a56bd922Swdenk @./mkconfig -a $(call xtract_omap730p2,$@) arm arm926ejs omap730p2 1525a56bd922Swdenk 1526281e00a3Swdenkscb9328_config : unconfig 15271d9f4105Swdenk @./mkconfig $(@:_config=) arm arm920t scb9328 NULL imx 1528281e00a3Swdenk 15297ebf7443Swdenksmdk2400_config : unconfig 15301d9f4105Swdenk @./mkconfig $(@:_config=) arm arm920t smdk2400 NULL s3c24x0 15317ebf7443Swdenk 15327ebf7443Swdenksmdk2410_config : unconfig 15331d9f4105Swdenk @./mkconfig $(@:_config=) arm arm920t smdk2410 NULL s3c24x0 15347ebf7443Swdenk 15352d24a3a7SwdenkSX1_config : unconfig 15362d24a3a7Swdenk @./mkconfig $(@:_config=) arm arm925t sx1 15372d24a3a7Swdenk 1538b2001f27Swdenk# TRAB default configuration: 8 MB Flash, 32 MB RAM 153943d9616cSwdenktrab_config \ 1540b0639ca3Swdenktrab_bigram_config \ 1541b0639ca3Swdenktrab_bigflash_config \ 1542f54ebdfaSwdenktrab_old_config: unconfig 154343d9616cSwdenk @ >include/config.h 1544b0639ca3Swdenk @[ -z "$(findstring _bigram,$@)" ] || \ 1545b0639ca3Swdenk { echo "#define CONFIG_FLASH_8MB" >>include/config.h ; \ 1546b2001f27Swdenk echo "#define CONFIG_RAM_32MB" >>include/config.h ; \ 1547b0639ca3Swdenk echo "... with 8 MB Flash, 32 MB RAM" ; \ 1548b0639ca3Swdenk } 1549b0639ca3Swdenk @[ -z "$(findstring _bigflash,$@)" ] || \ 1550b2001f27Swdenk { echo "#define CONFIG_FLASH_16MB" >>include/config.h ; \ 1551b2001f27Swdenk echo "#define CONFIG_RAM_16MB" >>include/config.h ; \ 1552b0639ca3Swdenk echo "... with 16 MB Flash, 16 MB RAM" ; \ 1553a8c7c708Swdenk echo "TEXT_BASE = 0x0CF40000" >board/trab/config.tmp ; \ 1554b0639ca3Swdenk } 1555f54ebdfaSwdenk @[ -z "$(findstring _old,$@)" ] || \ 1556b2001f27Swdenk { echo "#define CONFIG_FLASH_8MB" >>include/config.h ; \ 1557b2001f27Swdenk echo "#define CONFIG_RAM_16MB" >>include/config.h ; \ 1558b2001f27Swdenk echo "... with 8 MB Flash, 16 MB RAM" ; \ 1559a8c7c708Swdenk echo "TEXT_BASE = 0x0CF40000" >board/trab/config.tmp ; \ 156043d9616cSwdenk } 15611d9f4105Swdenk @./mkconfig -a $(call xtract_trab,$@) arm arm920t trab NULL s3c24x0 15627ebf7443Swdenk 15631cb8e980SwdenkVCMA9_config : unconfig 15641d9f4105Swdenk @./mkconfig $(@:_config=) arm arm920t vcma9 mpl s3c24x0 15651cb8e980Swdenk 156687cb6862SWolfgang Denk#======================================================================== 156787cb6862SWolfgang Denk# ARM supplied Versatile development boards 156887cb6862SWolfgang Denk#======================================================================== 156987cb6862SWolfgang Denkversatile_config \ 157087cb6862SWolfgang Denkversatileab_config \ 157187cb6862SWolfgang Denkversatilepb_config : unconfig 157296782c63SWolfgang Denk @board/versatile/split_by_variant.sh $@ 1573074cff0dSwdenk 15743c2b3d45Swdenkvoiceblue_smallflash_config \ 15753c2b3d45Swdenkvoiceblue_config: unconfig 15763c2b3d45Swdenk @if [ "$(findstring _smallflash_,$@)" ] ; then \ 15773c2b3d45Swdenk echo "... boot from lower flash bank" ; \ 15783c2b3d45Swdenk echo "#define VOICEBLUE_SMALL_FLASH" >>include/config.h ; \ 15793c2b3d45Swdenk echo "VOICEBLUE_SMALL_FLASH=y" >board/voiceblue/config.tmp ; \ 15803c2b3d45Swdenk else \ 15813c2b3d45Swdenk echo "... boot from upper flash bank" ; \ 15823c2b3d45Swdenk >include/config.h ; \ 15833c2b3d45Swdenk echo "VOICEBLUE_SMALL_FLASH=n" >board/voiceblue/config.tmp ; \ 15843c2b3d45Swdenk fi 15853c2b3d45Swdenk @./mkconfig -a voiceblue arm arm925t voiceblue 15863c2b3d45Swdenk 158716b013e7Swdenkcm4008_config : unconfig 158816b013e7Swdenk @./mkconfig $(@:_config=) arm arm920t cm4008 NULL ks8695 158916b013e7Swdenk 159016b013e7Swdenkcm41xx_config : unconfig 159116b013e7Swdenk @./mkconfig $(@:_config=) arm arm920t cm41xx NULL ks8695 159216b013e7Swdenk 1593074cff0dSwdenk######################################################################### 1594074cff0dSwdenk## S3C44B0 Systems 1595074cff0dSwdenk######################################################################### 1596074cff0dSwdenk 1597074cff0dSwdenkB2_config : unconfig 1598074cff0dSwdenk @./mkconfig $(@:_config=) arm s3c44b0 B2 dave 1599074cff0dSwdenk 16007ebf7443Swdenk######################################################################### 16017ebf7443Swdenk## ARM720T Systems 16027ebf7443Swdenk######################################################################### 16037ebf7443Swdenk 1604c570b2fdSWolfgang Denkarmadillo_config: unconfig 1605c570b2fdSWolfgang Denk @./mkconfig $(@:_config=) arm arm720t armadillo 1606c570b2fdSWolfgang Denk 16077ebf7443Swdenkep7312_config : unconfig 16087ebf7443Swdenk @./mkconfig $(@:_config=) arm arm720t ep7312 16097ebf7443Swdenk 16102d24a3a7Swdenkimpa7_config : unconfig 16112d24a3a7Swdenk @./mkconfig $(@:_config=) arm arm720t impa7 16122d24a3a7Swdenk 16132d1a537dSwdenkmodnet50_config : unconfig 16142d1a537dSwdenk @./mkconfig $(@:_config=) arm arm720t modnet50 16152d1a537dSwdenk 161639539887Swdenkevb4510_config : unconfig 161739539887Swdenk @./mkconfig $(@:_config=) arm arm720t evb4510 161839539887Swdenk 16197ebf7443Swdenk######################################################################### 162043d9616cSwdenk## XScale Systems 16217ebf7443Swdenk######################################################################### 16227ebf7443Swdenk 162320787e23Swdenkadsvix_config : unconfig 162420787e23Swdenk @./mkconfig $(@:_config=) arm pxa adsvix 162520787e23Swdenk 1626fabd46acSwdenkcerf250_config : unconfig 1627fabd46acSwdenk @./mkconfig $(@:_config=) arm pxa cerf250 1628fabd46acSwdenk 16297ebf7443Swdenkcradle_config : unconfig 16304c3b21a5Swdenk @./mkconfig $(@:_config=) arm pxa cradle 16317ebf7443Swdenk 16327ebf7443Swdenkcsb226_config : unconfig 16334c3b21a5Swdenk @./mkconfig $(@:_config=) arm pxa csb226 16347ebf7443Swdenk 163543d9616cSwdenkinnokom_config : unconfig 16364c3b21a5Swdenk @./mkconfig $(@:_config=) arm pxa innokom 163743d9616cSwdenk 16382d5b561eSwdenkixdp425_config : unconfig 16392d5b561eSwdenk @./mkconfig $(@:_config=) arm ixp ixdp425 16402d5b561eSwdenk 164143d9616cSwdenklubbock_config : unconfig 16424c3b21a5Swdenk @./mkconfig $(@:_config=) arm pxa lubbock 164343d9616cSwdenk 164452f52c14Swdenklogodl_config : unconfig 164552f52c14Swdenk @./mkconfig $(@:_config=) arm pxa logodl 164652f52c14Swdenk 1647f57f70aaSWolfgang Denkpxa255_idp_config: unconfig 1648f57f70aaSWolfgang Denk @./mkconfig $(@:_config=) arm pxa pxa255_idp 1649f57f70aaSWolfgang Denk 16503e38691eSwdenkwepep250_config : unconfig 16514c3b21a5Swdenk @./mkconfig $(@:_config=) arm pxa wepep250 16523e38691eSwdenk 16534ec3a7f0Swdenkxaeniax_config : unconfig 16544ec3a7f0Swdenk @./mkconfig $(@:_config=) arm pxa xaeniax 16554ec3a7f0Swdenk 1656efa329cbSwdenkxm250_config : unconfig 1657efa329cbSwdenk @./mkconfig $(@:_config=) arm pxa xm250 1658efa329cbSwdenk 1659ca0e7748Swdenkxsengine_config : unconfig 1660ca0e7748Swdenk @./mkconfig $(@:_config=) arm pxa xsengine 1661ca0e7748Swdenk 16628ed96046Swdenk######################################################################### 16638ed96046Swdenk## ARM1136 Systems 16648ed96046Swdenk######################################################################### 16658ed96046Swdenkomap2420h4_config : unconfig 16668ed96046Swdenk @./mkconfig $(@:_config=) arm arm1136 omap2420h4 16678ed96046Swdenk 16682262cfeeSwdenk#======================================================================== 16692262cfeeSwdenk# i386 16702262cfeeSwdenk#======================================================================== 16712262cfeeSwdenk######################################################################### 16722262cfeeSwdenk## AMD SC520 CDP 16732262cfeeSwdenk######################################################################### 16742262cfeeSwdenksc520_cdp_config : unconfig 16752262cfeeSwdenk @./mkconfig $(@:_config=) i386 i386 sc520_cdp 16762262cfeeSwdenk 16777a8e9bedSwdenksc520_spunk_config : unconfig 16787a8e9bedSwdenk @./mkconfig $(@:_config=) i386 i386 sc520_spunk 16797a8e9bedSwdenk 16807a8e9bedSwdenksc520_spunk_rel_config : unconfig 16817a8e9bedSwdenk @./mkconfig $(@:_config=) i386 i386 sc520_spunk 16827a8e9bedSwdenk 168343d9616cSwdenk#======================================================================== 168443d9616cSwdenk# MIPS 168543d9616cSwdenk#======================================================================== 16867ebf7443Swdenk######################################################################### 168743d9616cSwdenk## MIPS32 4Kc 168843d9616cSwdenk######################################################################### 168943d9616cSwdenk 1690e0ac62d7Swdenkxtract_incaip = $(subst _100MHz,,$(subst _133MHz,,$(subst _150MHz,,$(subst _config,,$1)))) 1691e0ac62d7Swdenk 1692e0ac62d7Swdenkincaip_100MHz_config \ 1693e0ac62d7Swdenkincaip_133MHz_config \ 1694e0ac62d7Swdenkincaip_150MHz_config \ 169543d9616cSwdenkincaip_config: unconfig 1696e0ac62d7Swdenk @ >include/config.h 1697e0ac62d7Swdenk @[ -z "$(findstring _100MHz,$@)" ] || \ 1698e0ac62d7Swdenk { echo "#define CPU_CLOCK_RATE 100000000" >>include/config.h ; \ 1699e0ac62d7Swdenk echo "... with 100MHz system clock" ; \ 1700e0ac62d7Swdenk } 1701e0ac62d7Swdenk @[ -z "$(findstring _133MHz,$@)" ] || \ 1702e0ac62d7Swdenk { echo "#define CPU_CLOCK_RATE 133000000" >>include/config.h ; \ 1703e0ac62d7Swdenk echo "... with 133MHz system clock" ; \ 1704e0ac62d7Swdenk } 1705e0ac62d7Swdenk @[ -z "$(findstring _150MHz,$@)" ] || \ 1706e0ac62d7Swdenk { echo "#define CPU_CLOCK_RATE 150000000" >>include/config.h ; \ 1707e0ac62d7Swdenk echo "... with 150MHz system clock" ; \ 1708e0ac62d7Swdenk } 1709e0ac62d7Swdenk @./mkconfig -a $(call xtract_incaip,$@) mips mips incaip 1710e0ac62d7Swdenk 1711f4863a7aSwdenktb0229_config: unconfig 1712f4863a7aSwdenk @./mkconfig $(@:_config=) mips mips tb0229 1713f4863a7aSwdenk 1714e0ac62d7Swdenk######################################################################### 171569459791Swdenk## MIPS32 AU1X00 171669459791Swdenk######################################################################### 171769459791Swdenkdbau1000_config : unconfig 171869459791Swdenk @ >include/config.h 171969459791Swdenk @echo "#define CONFIG_DBAU1000 1" >>include/config.h 172069459791Swdenk @./mkconfig -a dbau1x00 mips mips dbau1x00 172169459791Swdenk 172269459791Swdenkdbau1100_config : unconfig 172369459791Swdenk @ >include/config.h 172469459791Swdenk @echo "#define CONFIG_DBAU1100 1" >>include/config.h 172569459791Swdenk @./mkconfig -a dbau1x00 mips mips dbau1x00 172669459791Swdenk 172769459791Swdenkdbau1500_config : unconfig 172869459791Swdenk @ >include/config.h 172969459791Swdenk @echo "#define CONFIG_DBAU1500 1" >>include/config.h 173069459791Swdenk @./mkconfig -a dbau1x00 mips mips dbau1x00 173169459791Swdenk 1732ff36fd85Swdenkdbau1550_config : unconfig 1733ff36fd85Swdenk @ >include/config.h 1734ff36fd85Swdenk @echo "#define CONFIG_DBAU1550 1" >>include/config.h 1735ff36fd85Swdenk @./mkconfig -a dbau1x00 mips mips dbau1x00 1736ff36fd85Swdenk 1737ff36fd85Swdenkdbau1550_el_config : unconfig 1738ff36fd85Swdenk @ >include/config.h 1739ff36fd85Swdenk @echo "#define CONFIG_DBAU1550 1" >>include/config.h 174021919230SWolfgang Denk @./mkconfig -a dbau1x00 mips mips dbau1x00 1741ff36fd85Swdenk 1742265817c7SWolfgang Denkpb1000_config : unconfig 1743265817c7SWolfgang Denk @ >include/config.h 1744265817c7SWolfgang Denk @echo "#define CONFIG_PB1000 1" >>include/config.h 1745265817c7SWolfgang Denk @./mkconfig -a pb1x00 mips mips pb1x00 1746265817c7SWolfgang Denk 174769459791Swdenk######################################################################### 1748e0ac62d7Swdenk## MIPS64 5Kc 1749e0ac62d7Swdenk######################################################################### 175043d9616cSwdenk 17513e38691eSwdenkpurple_config : unconfig 17523e38691eSwdenk @./mkconfig $(@:_config=) mips mips purple 175343d9616cSwdenk 17544a551709Swdenk#======================================================================== 17554a551709Swdenk# Nios 17564a551709Swdenk#======================================================================== 17574a551709Swdenk######################################################################### 17584a551709Swdenk## Nios32 17594a551709Swdenk######################################################################### 17604a551709Swdenk 1761c935d3bdSwdenkDK1C20_safe_32_config \ 1762c935d3bdSwdenkDK1C20_standard_32_config \ 17634a551709SwdenkDK1C20_config: unconfig 1764c935d3bdSwdenk @ >include/config.h 1765c935d3bdSwdenk @[ -z "$(findstring _safe_32,$@)" ] || \ 1766c935d3bdSwdenk { echo "#define CONFIG_NIOS_SAFE_32 1" >>include/config.h ; \ 1767c935d3bdSwdenk echo "... NIOS 'safe_32' configuration" ; \ 1768c935d3bdSwdenk } 1769c935d3bdSwdenk @[ -z "$(findstring _standard_32,$@)" ] || \ 1770c935d3bdSwdenk { echo "#define CONFIG_NIOS_STANDARD_32 1" >>include/config.h ; \ 1771c935d3bdSwdenk echo "... NIOS 'standard_32' configuration" ; \ 1772c935d3bdSwdenk } 1773c935d3bdSwdenk @[ -z "$(findstring DK1C20_config,$@)" ] || \ 1774c935d3bdSwdenk { echo "#define CONFIG_NIOS_STANDARD_32 1" >>include/config.h ; \ 1775c935d3bdSwdenk echo "... NIOS 'standard_32' configuration (DEFAULT)" ; \ 1776c935d3bdSwdenk } 1777c935d3bdSwdenk @./mkconfig -a DK1C20 nios nios dk1c20 altera 1778c935d3bdSwdenk 1779c935d3bdSwdenkDK1S10_safe_32_config \ 1780c935d3bdSwdenkDK1S10_standard_32_config \ 1781ec4c544bSwdenkDK1S10_mtx_ldk_20_config \ 1782c935d3bdSwdenkDK1S10_config: unconfig 1783c935d3bdSwdenk @ >include/config.h 1784c935d3bdSwdenk @[ -z "$(findstring _safe_32,$@)" ] || \ 1785c935d3bdSwdenk { echo "#define CONFIG_NIOS_SAFE_32 1" >>include/config.h ; \ 1786c935d3bdSwdenk echo "... NIOS 'safe_32' configuration" ; \ 1787c935d3bdSwdenk } 1788c935d3bdSwdenk @[ -z "$(findstring _standard_32,$@)" ] || \ 1789c935d3bdSwdenk { echo "#define CONFIG_NIOS_STANDARD_32 1" >>include/config.h ; \ 1790c935d3bdSwdenk echo "... NIOS 'standard_32' configuration" ; \ 1791c935d3bdSwdenk } 1792ec4c544bSwdenk @[ -z "$(findstring _mtx_ldk_20,$@)" ] || \ 1793ec4c544bSwdenk { echo "#define CONFIG_NIOS_MTX_LDK_20 1" >>include/config.h ; \ 1794ec4c544bSwdenk echo "... NIOS 'mtx_ldk_20' configuration" ; \ 1795ec4c544bSwdenk } 1796c935d3bdSwdenk @[ -z "$(findstring DK1S10_config,$@)" ] || \ 1797c935d3bdSwdenk { echo "#define CONFIG_NIOS_STANDARD_32 1" >>include/config.h ; \ 1798c935d3bdSwdenk echo "... NIOS 'standard_32' configuration (DEFAULT)" ; \ 1799c935d3bdSwdenk } 1800c935d3bdSwdenk @./mkconfig -a DK1S10 nios nios dk1s10 altera 18014a551709Swdenk 1802aaf224abSwdenkADNPESC1_DNPEVA2_base_32_config \ 1803aaf224abSwdenkADNPESC1_base_32_config \ 1804aaf224abSwdenkADNPESC1_config: unconfig 1805aaf224abSwdenk @ >include/config.h 1806aaf224abSwdenk @[ -z "$(findstring _DNPEVA2,$@)" ] || \ 1807aaf224abSwdenk { echo "#define CONFIG_DNPEVA2 1" >>include/config.h ; \ 1808aaf224abSwdenk echo "... DNP/EVA2 configuration" ; \ 1809aaf224abSwdenk } 1810aaf224abSwdenk @[ -z "$(findstring _base_32,$@)" ] || \ 1811aaf224abSwdenk { echo "#define CONFIG_NIOS_BASE_32 1" >>include/config.h ; \ 1812aaf224abSwdenk echo "... NIOS 'base_32' configuration" ; \ 1813aaf224abSwdenk } 1814aaf224abSwdenk @[ -z "$(findstring ADNPESC1_config,$@)" ] || \ 1815aaf224abSwdenk { echo "#define CONFIG_NIOS_BASE_32 1" >>include/config.h ; \ 1816aaf224abSwdenk echo "... NIOS 'base_32' configuration (DEFAULT)" ; \ 1817aaf224abSwdenk } 1818aaf224abSwdenk @./mkconfig -a ADNPESC1 nios nios adnpesc1 ssv 1819aaf224abSwdenk 18205c952cf0Swdenk######################################################################### 18215c952cf0Swdenk## Nios-II 18225c952cf0Swdenk######################################################################### 18235c952cf0Swdenk 18245c952cf0SwdenkPK1C20_config : unconfig 18255c952cf0Swdenk @./mkconfig PK1C20 nios2 nios2 pk1c20 psyent 18265c952cf0Swdenk 18275c952cf0SwdenkPCI5441_config : unconfig 18285c952cf0Swdenk @./mkconfig PCI5441 nios2 nios2 pci5441 psyent 18294a551709Swdenk 1830507bbe3eSwdenk#======================================================================== 1831507bbe3eSwdenk# MicroBlaze 1832507bbe3eSwdenk#======================================================================== 1833507bbe3eSwdenk######################################################################### 1834507bbe3eSwdenk## Microblaze 1835507bbe3eSwdenk######################################################################### 1836507bbe3eSwdenksuzaku_config: unconfig 1837507bbe3eSwdenk @ >include/config.h 1838507bbe3eSwdenk @echo "#define CONFIG_SUZAKU 1" >> include/config.h 1839507bbe3eSwdenk @./mkconfig -a $(@:_config=) microblaze microblaze suzaku AtmarkTechno 1840507bbe3eSwdenk 18413e38691eSwdenk######################################################################### 18423e38691eSwdenk######################################################################### 18437ebf7443Swdenk 18447ebf7443Swdenkclean: 18457ebf7443Swdenk find . -type f \ 18467ebf7443Swdenk \( -name 'core' -o -name '*.bak' -o -name '*~' \ 18477ebf7443Swdenk -o -name '*.o' -o -name '*.a' \) -print \ 18487ebf7443Swdenk | xargs rm -f 184985ec0bccSwdenk rm -f examples/hello_world examples/timer \ 18503e38691eSwdenk examples/eepro100_eeprom examples/sched \ 1851ed16fefcSwdenk examples/mem_to_mem_idma2intr examples/82559_eeprom \ 1852ed16fefcSwdenk examples/test_burst 18537ebf7443Swdenk rm -f tools/img2srec tools/mkimage tools/envcrc tools/gen_eth_addr 1854eedcd078Swdenk rm -f tools/mpc86x_clk tools/ncb 18557ebf7443Swdenk rm -f tools/easylogo/easylogo tools/bmp_logo 18567ebf7443Swdenk rm -f tools/gdb/astest tools/gdb/gdbcont tools/gdb/gdbsend 1857228f29acSwdenk rm -f tools/env/fw_printenv tools/env/fw_setenv 18587f70e853Swdenk rm -f board/cray/L1/bootscript.c board/cray/L1/bootscript.image 18590e1fb5eeSWolfgang Denk rm -f board/trab/trab_fkt board/voiceblue/eeprom 186087cb6862SWolfgang Denk rm -f board/integratorap/u-boot.lds board/integratorcp/u-boot.lds 18617ebf7443Swdenk 18627ebf7443Swdenkclobber: clean 18634c0d4c3bSwdenk find . -type f \( -name .depend \ 18644c0d4c3bSwdenk -o -name '*.srec' -o -name '*.bin' -o -name u-boot.img \) \ 18654c0d4c3bSwdenk -print0 \ 18664c0d4c3bSwdenk | xargs -0 rm -f 1867881a87ecSWolfgang Denk rm -f $(OBJS) *.bak tags TAGS include/version_autogenerated.h 18687ebf7443Swdenk rm -fr *.*~ 18696310eb9dSwdenk rm -f u-boot u-boot.map u-boot.hex $(ALL) 1870228f29acSwdenk rm -f tools/crc32.c tools/environment.c tools/env/crc32.c 18713e38691eSwdenk rm -f tools/inca-swap-bytes cpu/mpc824x/bedbug_603e.c 1872b783edaeSwdenk rm -f include/asm/proc include/asm/arch include/asm 18737ebf7443Swdenk 18747ebf7443Swdenkmrproper \ 18757ebf7443Swdenkdistclean: clobber unconfig 18767ebf7443Swdenk 18777ebf7443Swdenkbackup: 18787ebf7443Swdenk F=`basename $(TOPDIR)` ; cd .. ; \ 18797ebf7443Swdenk gtar --force-local -zcvf `date "+$$F-%Y-%m-%d-%T.tar.gz"` $$F 18807ebf7443Swdenk 18817ebf7443Swdenk######################################################################### 1882