17ebf7443Swdenk# 25e5f9ed2Swdenk# (C) Copyright 2000-2005 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 247ebf7443SwdenkHOSTARCH := $(shell uname -m | \ 257ebf7443Swdenk sed -e s/i.86/i386/ \ 267ebf7443Swdenk -e s/sun4u/sparc64/ \ 277ebf7443Swdenk -e s/arm.*/arm/ \ 287ebf7443Swdenk -e s/sa110/arm/ \ 297ebf7443Swdenk -e s/powerpc/ppc/ \ 307ebf7443Swdenk -e s/macppc/ppc/) 317ebf7443Swdenk 32f9d77ed3SWolfgang DenkHOSTOS := $(shell uname -s | tr '[:upper:]' '[:lower:]' | \ 337ebf7443Swdenk sed -e 's/\(cygwin\).*/cygwin/') 347ebf7443Swdenk 35f9d77ed3SWolfgang Denkexport HOSTARCH HOSTOS 367ebf7443Swdenk 377ebf7443Swdenk# Deal with colliding definitions from tcsh etc. 387ebf7443SwdenkVENDOR= 397ebf7443Swdenk 407ebf7443Swdenk######################################################################### 417ebf7443Swdenk 427ebf7443SwdenkTOPDIR := $(shell if [ "$$PWD" != "" ]; then echo $$PWD; else pwd; fi) 437ebf7443Swdenkexport TOPDIR 447ebf7443Swdenk 457ebf7443Swdenkifeq (include/config.mk,$(wildcard include/config.mk)) 467ebf7443Swdenk# load ARCH, BOARD, and CPU configuration 477ebf7443Swdenkinclude include/config.mk 481d9f4105Swdenkexport ARCH CPU BOARD VENDOR SOC 497ebf7443Swdenk# load other configuration 507ebf7443Swdenkinclude $(TOPDIR)/config.mk 517ebf7443Swdenk 527ebf7443Swdenkifndef CROSS_COMPILE 537ebf7443Swdenkifeq ($(HOSTARCH),ppc) 547ebf7443SwdenkCROSS_COMPILE = 557ebf7443Swdenkelse 567ebf7443Swdenkifeq ($(ARCH),ppc) 57f046ccd1SEran LibertyCROSS_COMPILE = powerpc-linux- 587ebf7443Swdenkendif 597ebf7443Swdenkifeq ($(ARCH),arm) 60dc7c9a1aSwdenkCROSS_COMPILE = arm-linux- 617ebf7443Swdenkendif 622262cfeeSwdenkifeq ($(ARCH),i386) 637a8e9bedSwdenkifeq ($(HOSTARCH),i386) 647a8e9bedSwdenkCROSS_COMPILE = 657a8e9bedSwdenkelse 667a8e9bedSwdenkCROSS_COMPILE = i386-linux- 677a8e9bedSwdenkendif 682262cfeeSwdenkendif 6943d9616cSwdenkifeq ($(ARCH),mips) 7043d9616cSwdenkCROSS_COMPILE = mips_4KC- 7143d9616cSwdenkendif 724a551709Swdenkifeq ($(ARCH),nios) 734a551709SwdenkCROSS_COMPILE = nios-elf- 744a551709Swdenkendif 755c952cf0Swdenkifeq ($(ARCH),nios2) 765c952cf0SwdenkCROSS_COMPILE = nios2-elf- 775c952cf0Swdenkendif 784e5ca3ebSwdenkifeq ($(ARCH),m68k) 794e5ca3ebSwdenkCROSS_COMPILE = m68k-elf- 804e5ca3ebSwdenkendif 81507bbe3eSwdenkifeq ($(ARCH),microblaze) 82507bbe3eSwdenkCROSS_COMPILE = mb- 83507bbe3eSwdenkendif 847ebf7443Swdenkendif 857ebf7443Swdenkendif 867ebf7443Swdenk 877ebf7443Swdenkexport CROSS_COMPILE 887ebf7443Swdenk 897ebf7443Swdenk######################################################################### 907ebf7443Swdenk# U-Boot objects....order is important (i.e. start must be first) 917ebf7443Swdenk 927ebf7443SwdenkOBJS = cpu/$(CPU)/start.o 932262cfeeSwdenkifeq ($(CPU),i386) 942262cfeeSwdenkOBJS += cpu/$(CPU)/start16.o 952262cfeeSwdenkOBJS += cpu/$(CPU)/reset.o 962262cfeeSwdenkendif 977ebf7443Swdenkifeq ($(CPU),ppc4xx) 987ebf7443SwdenkOBJS += cpu/$(CPU)/resetvec.o 997ebf7443Swdenkendif 100f046ccd1SEran Libertyifeq ($(CPU),mpc83xx) 101f046ccd1SEran LibertyOBJS += cpu/$(CPU)/resetvec.o 102f046ccd1SEran Libertyendif 10342d1f039Swdenkifeq ($(CPU),mpc85xx) 10442d1f039SwdenkOBJS += cpu/$(CPU)/resetvec.o 10542d1f039Swdenkendif 1067ebf7443Swdenk 1079fd5e31fSwdenkLIBS = lib_generic/libgeneric.a 1089fd5e31fSwdenkLIBS += board/$(BOARDDIR)/lib$(BOARD).a 1097ebf7443SwdenkLIBS += cpu/$(CPU)/lib$(CPU).a 1101d9f4105Swdenkifdef SOC 1111d9f4105SwdenkLIBS += cpu/$(CPU)/$(SOC)/lib$(SOC).a 1121d9f4105Swdenkendif 1137ebf7443SwdenkLIBS += lib_$(ARCH)/lib$(ARCH).a 114518e2e1aSwdenkLIBS += fs/cramfs/libcramfs.a fs/fat/libfat.a fs/fdos/libfdos.a fs/jffs2/libjffs2.a \ 115c419d1d6Sstroese fs/reiserfs/libreiserfs.a fs/ext2/libext2fs.a 1167ebf7443SwdenkLIBS += net/libnet.a 1177ebf7443SwdenkLIBS += disk/libdisk.a 1187ebf7443SwdenkLIBS += rtc/librtc.a 1197ebf7443SwdenkLIBS += dtt/libdtt.a 1207ebf7443SwdenkLIBS += drivers/libdrivers.a 1217152b1d0SwdenkLIBS += drivers/sk98lin/libsk98lin.a 1227ebf7443SwdenkLIBS += post/libpost.a post/cpu/libcpu.a 1237ebf7443SwdenkLIBS += common/libcommon.a 124*038ccac5SBartlomiej SiekaLIBS += $(BOARDLIBS) 1259fd5e31fSwdenk.PHONY : $(LIBS) 126a8c7c708Swdenk 1274f7cb08eSwdenk# Add GCC lib 1281a344f29SwdenkPLATFORM_LIBS += -L $(shell dirname `$(CC) $(CFLAGS) -print-libgcc-file-name`) -lgcc 1293d3befa7Swdenk 1307ebf7443Swdenk 131a8c7c708Swdenk# The "tools" are needed early, so put this first 132a8c7c708Swdenk# Don't include stuff already done in $(LIBS) 133a8c7c708SwdenkSUBDIRS = tools \ 134a8c7c708Swdenk examples \ 135a8c7c708Swdenk post \ 136a8c7c708Swdenk post/cpu 137b028f715Swdenk.PHONY : $(SUBDIRS) 138a8c7c708Swdenk 1397ebf7443Swdenk######################################################################### 140bdccc4feSwdenk######################################################################### 1417ebf7443Swdenk 142bdccc4feSwdenkALL = u-boot.srec u-boot.bin System.map 1437ebf7443Swdenk 144bdccc4feSwdenkall: $(ALL) 1457ebf7443Swdenk 1466310eb9dSwdenku-boot.hex: u-boot 1476310eb9dSwdenk $(OBJCOPY) ${OBJCFLAGS} -O ihex $< $@ 1486310eb9dSwdenk 1497ebf7443Swdenku-boot.srec: u-boot 1507ebf7443Swdenk $(OBJCOPY) ${OBJCFLAGS} -O srec $< $@ 1517ebf7443Swdenk 1527ebf7443Swdenku-boot.bin: u-boot 1537ebf7443Swdenk $(OBJCOPY) ${OBJCFLAGS} -O binary $< $@ 1547ebf7443Swdenk 155bdccc4feSwdenku-boot.img: u-boot.bin 156bdccc4feSwdenk ./tools/mkimage -A $(ARCH) -T firmware -C none \ 157bdccc4feSwdenk -a $(TEXT_BASE) -e 0 \ 158bdccc4feSwdenk -n $(shell sed -n -e 's/.*U_BOOT_VERSION//p' include/version.h | \ 159bdccc4feSwdenk sed -e 's/"[ ]*$$/ for $(BOARD) board"/') \ 160bdccc4feSwdenk -d $< $@ 161bdccc4feSwdenk 1627ebf7443Swdenku-boot.dis: u-boot 1637ebf7443Swdenk $(OBJDUMP) -d $< > $@ 1647ebf7443Swdenk 165a8c7c708Swdenku-boot: depend $(SUBDIRS) $(OBJS) $(LIBS) $(LDSCRIPT) 1668bde7f77Swdenk UNDEF_SYM=`$(OBJDUMP) -x $(LIBS) |sed -n -e 's/.*\(__u_boot_cmd_.*\)/-u\1/p'|sort|uniq`;\ 1678bde7f77Swdenk $(LD) $(LDFLAGS) $$UNDEF_SYM $(OBJS) \ 1681a344f29Swdenk --start-group $(LIBS) --end-group $(PLATFORM_LIBS) \ 169b2184c31Swdenk -Map u-boot.map -o u-boot 1707ebf7443Swdenk 171a8c7c708Swdenk$(LIBS): 172a8c7c708Swdenk $(MAKE) -C `dirname $@` 173a8c7c708Swdenk 174a8c7c708Swdenk$(SUBDIRS): 175b028f715Swdenk $(MAKE) -C $@ all 1767ebf7443Swdenk 1778f713fdfSdzugdbtools: 1788f713fdfSdzu $(MAKE) -C tools/gdb || exit 1 1798f713fdfSdzu 1807ebf7443Swdenkdepend dep: 1817ebf7443Swdenk @for dir in $(SUBDIRS) ; do $(MAKE) -C $$dir .depend ; done 1827ebf7443Swdenk 1837ebf7443Swdenktags: 1847ebf7443Swdenk ctags -w `find $(SUBDIRS) include \ 185bda6c8aeSwdenk lib_generic board/$(BOARDDIR) cpu/$(CPU) lib_$(ARCH) \ 186bda6c8aeSwdenk fs/cramfs fs/fat fs/fdos fs/jffs2 \ 187bda6c8aeSwdenk net disk rtc dtt drivers drivers/sk98lin common \ 1887ebf7443Swdenk \( -name CVS -prune \) -o \( -name '*.[ch]' -print \)` 1897ebf7443Swdenk 1907ebf7443Swdenketags: 1917ebf7443Swdenk etags -a `find $(SUBDIRS) include \ 192eedcd078Swdenk lib_generic board/$(BOARDDIR) cpu/$(CPU) lib_$(ARCH) \ 193eedcd078Swdenk fs/cramfs fs/fat fs/fdos fs/jffs2 \ 194eedcd078Swdenk net disk rtc dtt drivers drivers/sk98lin common \ 1957ebf7443Swdenk \( -name CVS -prune \) -o \( -name '*.[ch]' -print \)` 1967ebf7443Swdenk 1977ebf7443SwdenkSystem.map: u-boot 1987ebf7443Swdenk @$(NM) $< | \ 1997ebf7443Swdenk grep -v '\(compiled\)\|\(\.o$$\)\|\( [aUw] \)\|\(\.\.ng$$\)\|\(LASH[RL]DI\)' | \ 2007ebf7443Swdenk sort > System.map 2017ebf7443Swdenk 2027ebf7443Swdenk######################################################################### 2037ebf7443Swdenkelse 2047ebf7443Swdenkall install u-boot u-boot.srec depend dep: 2057ebf7443Swdenk @echo "System not configured - see README" >&2 2067ebf7443Swdenk @ exit 1 2077ebf7443Swdenkendif 2087ebf7443Swdenk 2097ebf7443Swdenk######################################################################### 2107ebf7443Swdenk 2117ebf7443Swdenkunconfig: 21217d704ebSwdenk @rm -f include/config.h include/config.mk board/*/config.tmp 2137ebf7443Swdenk 2147ebf7443Swdenk#======================================================================== 2157ebf7443Swdenk# PowerPC 2167ebf7443Swdenk#======================================================================== 2170db5bca8Swdenk 2180db5bca8Swdenk######################################################################### 2190db5bca8Swdenk## MPC5xx Systems 2200db5bca8Swdenk######################################################################### 2210db5bca8Swdenk 2225e5f9ed2Swdenkcanmb_config: unconfig 2235e5f9ed2Swdenk @./mkconfig -a canmb ppc mpc5xxx canmb 2245e5f9ed2Swdenk 2250db5bca8Swdenkcmi_mpc5xx_config: unconfig 2260db5bca8Swdenk @./mkconfig $(@:_config=) ppc mpc5xx cmi 2270db5bca8Swdenk 228b6e4c403SwdenkPATI_config: unconfig 229b6e4c403Swdenk @./mkconfig $(@:_config=) ppc mpc5xx pati mpl 230b6e4c403Swdenk 2317ebf7443Swdenk######################################################################### 232945af8d7Swdenk## MPC5xxx Systems 233945af8d7Swdenk######################################################################### 234a87589daSwdenk 235dafba16eSWolfgang Denkaev_config: unconfig 236dafba16eSWolfgang Denk @./mkconfig -a aev ppc mpc5xxx tqm5200 237dafba16eSWolfgang Denk 2385e4b3361SStefan Roesecpci5200_config: unconfig 2395e4b3361SStefan Roese @./mkconfig -a cpci5200 ppc mpc5xxx cpci5200 esd 2405e4b3361SStefan Roese 241a87589daSwdenkhmi1001_config: unconfig 242a87589daSwdenk @./mkconfig hmi1001 ppc mpc5xxx hmi1001 243a87589daSwdenk 244e35745bbSwdenkLite5200_config \ 245e35745bbSwdenkLite5200_LOWBOOT_config \ 246e35745bbSwdenkLite5200_LOWBOOT08_config \ 247e35745bbSwdenkicecube_5200_config \ 248e35745bbSwdenkicecube_5200_LOWBOOT_config \ 249e35745bbSwdenkicecube_5200_LOWBOOT08_config \ 250b2001f27Swdenkicecube_5200_DDR_config \ 25179d696fcSwdenkicecube_5200_DDR_LOWBOOT_config \ 25279d696fcSwdenkicecube_5200_DDR_LOWBOOT08_config \ 253e35745bbSwdenkicecube_5100_config: unconfig 254945af8d7Swdenk @ >include/config.h 25517d704ebSwdenk @[ -z "$(findstring LOWBOOT_,$@)" ] || \ 25617d704ebSwdenk { if [ "$(findstring DDR,$@)" ] ; \ 25717d704ebSwdenk then echo "TEXT_BASE = 0xFF800000" >board/icecube/config.tmp ; \ 25817d704ebSwdenk else echo "TEXT_BASE = 0xFF000000" >board/icecube/config.tmp ; \ 25917d704ebSwdenk fi ; \ 2605cf9da48Swdenk echo "... with LOWBOOT configuration" ; \ 2615cf9da48Swdenk } 2625cf9da48Swdenk @[ -z "$(findstring LOWBOOT08,$@)" ] || \ 2635cf9da48Swdenk { echo "TEXT_BASE = 0xFF800000" >board/icecube/config.tmp ; \ 2645cf9da48Swdenk echo "... with 8 MB flash only" ; \ 26517d704ebSwdenk echo "... with LOWBOOT configuration" ; \ 2665cf9da48Swdenk } 267b2001f27Swdenk @[ -z "$(findstring DDR,$@)" ] || \ 268b2001f27Swdenk { echo "#define CONFIG_MPC5200_DDR" >>include/config.h ; \ 269b2001f27Swdenk echo "... DDR memory revision" ; \ 270b2001f27Swdenk } 271d4ca31c4Swdenk @[ -z "$(findstring 5200,$@)" ] || \ 272d4ca31c4Swdenk { echo "#define CONFIG_MPC5200" >>include/config.h ; \ 273d4ca31c4Swdenk echo "... with MPC5200 processor" ; \ 274d4ca31c4Swdenk } 275a0f2fe52Swdenk @[ -z "$(findstring 5100,$@)" ] || \ 276945af8d7Swdenk { echo "#define CONFIG_MGT5100" >>include/config.h ; \ 277945af8d7Swdenk echo "... with MGT5100 processor" ; \ 278945af8d7Swdenk } 279945af8d7Swdenk @./mkconfig -a IceCube ppc mpc5xxx icecube 280945af8d7Swdenk 281138ff60cSwdenkinka4x0_config: unconfig 282138ff60cSwdenk @./mkconfig inka4x0 ppc mpc5xxx inka4x0 283138ff60cSwdenk 284df04a3dfSWolfgang Denko2dnt_config: 285df04a3dfSWolfgang Denk @./mkconfig -a o2dnt ppc mpc5xxx o2dnt 286df04a3dfSWolfgang Denk 2875e4b3361SStefan Roesepf5200_config: unconfig 2885e4b3361SStefan Roese @./mkconfig -a pf5200 ppc mpc5xxx pf5200 esd 2895e4b3361SStefan Roese 29089394047SwdenkPM520_config \ 29189394047SwdenkPM520_DDR_config \ 29289394047SwdenkPM520_ROMBOOT_config \ 29389394047SwdenkPM520_ROMBOOT_DDR_config: unconfig 29489394047Swdenk @ >include/config.h 29589394047Swdenk @[ -z "$(findstring DDR,$@)" ] || \ 29689394047Swdenk { echo "#define CONFIG_MPC5200_DDR" >>include/config.h ; \ 29789394047Swdenk echo "... DDR memory revision" ; \ 29889394047Swdenk } 29989394047Swdenk @[ -z "$(findstring ROMBOOT,$@)" ] || \ 30089394047Swdenk { echo "#define CONFIG_BOOT_ROM" >>include/config.h ; \ 30189394047Swdenk echo "... booting from 8-bit flash" ; \ 30289394047Swdenk } 30389394047Swdenk @./mkconfig -a PM520 ppc mpc5xxx pm520 30489394047Swdenk 305d4ca31c4SwdenkMINI5200_config \ 306d4ca31c4SwdenkEVAL5200_config \ 307d4ca31c4SwdenkTOP5200_config: unconfig 308d4ca31c4Swdenk @ echo "#define CONFIG_$(@:_config=) 1" >include/config.h 309d4ca31c4Swdenk @./mkconfig -a TOP5200 ppc mpc5xxx top5200 emk 310d4ca31c4Swdenk 3116c7a1408SwdenkTotal5100_config \ 3126c7a1408SwdenkTotal5200_config \ 3136c7a1408SwdenkTotal5200_lowboot_config \ 3146c7a1408SwdenkTotal5200_Rev2_config \ 3156c7a1408SwdenkTotal5200_Rev2_lowboot_config: unconfig 3166c7a1408Swdenk @ >include/config.h 3176c7a1408Swdenk @[ -z "$(findstring 5100,$@)" ] || \ 3186c7a1408Swdenk { echo "#define CONFIG_MGT5100" >>include/config.h ; \ 3196c7a1408Swdenk echo "... with MGT5100 processor" ; \ 3206c7a1408Swdenk } 3216c7a1408Swdenk @[ -z "$(findstring 5200,$@)" ] || \ 3226c7a1408Swdenk { echo "#define CONFIG_MPC5200" >>include/config.h ; \ 3236c7a1408Swdenk echo "... with MPC5200 processor" ; \ 3246c7a1408Swdenk } 3256c7a1408Swdenk @[ -n "$(findstring Rev,$@)" ] || \ 3266c7a1408Swdenk { echo "#define CONFIG_TOTAL5200_REV 1" >>include/config.h ; \ 3276c7a1408Swdenk echo "... revision 1 board" ; \ 3286c7a1408Swdenk } 3296c7a1408Swdenk @[ -z "$(findstring Rev2_,$@)" ] || \ 3306c7a1408Swdenk { echo "#define CONFIG_TOTAL5200_REV 2" >>include/config.h ; \ 3316c7a1408Swdenk echo "... revision 2 board" ; \ 3326c7a1408Swdenk } 3336c7a1408Swdenk @[ -z "$(findstring lowboot_,$@)" ] || \ 3346c7a1408Swdenk { echo "TEXT_BASE = 0xFE000000" >board/total5200/config.tmp ; \ 3356c7a1408Swdenk echo "... with lowboot configuration" ; \ 3366c7a1408Swdenk } 3376c7a1408Swdenk @./mkconfig -a Total5200 ppc mpc5xxx total5200 3386c7a1408Swdenk 3397e6bf358SwdenkTQM5200_auto_config \ 34056523f12SwdenkTQM5200_AA_config \ 34156523f12SwdenkTQM5200_AB_config \ 34256523f12SwdenkTQM5200_AC_config \ 34356523f12SwdenkMiniFAP_config: unconfig 34456523f12Swdenk @ >include/config.h 34589394047Swdenk @[ -z "$(findstring MiniFAP,$@)" ] || \ 34656523f12Swdenk { echo "#define CONFIG_MINIFAP" >>include/config.h ; \ 34756523f12Swdenk echo "#define CONFIG_TQM5200_AC" >>include/config.h ; \ 34889394047Swdenk echo "... TQM5200_AC on MiniFAP" ; \ 34956523f12Swdenk } 35056523f12Swdenk @[ -z "$(findstring AA,$@)" ] || \ 35156523f12Swdenk { echo "#define CONFIG_TQM5200_AA" >>include/config.h ; \ 35256523f12Swdenk echo "... with 4 MB Flash, 16 MB SDRAM, 32 kB EEPROM" ; \ 35356523f12Swdenk } 35456523f12Swdenk @[ -z "$(findstring AB,$@)" ] || \ 35556523f12Swdenk { echo "#define CONFIG_TQM5200_AB" >>include/config.h ; \ 35656523f12Swdenk echo "... with 64 MB Flash, 64 MB SDRAM, 32 kB EEPROM, 512 kB SRAM" ; \ 35731a64923Swdenk echo "... with Graphics Controller"; \ 35856523f12Swdenk } 35956523f12Swdenk @[ -z "$(findstring AC,$@)" ] || \ 36056523f12Swdenk { echo "#define CONFIG_TQM5200_AC" >>include/config.h ; \ 36156523f12Swdenk echo "... with 4 MB Flash, 128 MB SDRAM" ; \ 36231a64923Swdenk echo "... with Graphics Controller"; \ 36356523f12Swdenk } 3647e6bf358Swdenk @[ -z "$(findstring auto,$@)" ] || \ 3657e6bf358Swdenk { echo "#define CONFIG_CS_AUTOCONF" >>include/config.h ; \ 3667e6bf358Swdenk echo "... with automatic CS configuration" ; \ 3677e6bf358Swdenk } 36856523f12Swdenk @./mkconfig -a TQM5200 ppc mpc5xxx tqm5200 36956523f12Swdenk 370eece159cSWolfgang Denkspieval_config: unconfig 371eece159cSWolfgang Denk echo "#define CONFIG_CS_AUTOCONF">>include/config.h 372eece159cSWolfgang Denk echo "... with automatic CS configuration" 373eece159cSWolfgang Denk @./mkconfig -a spieval ppc mpc5xxx tqm5200 374eece159cSWolfgang Denk 375945af8d7Swdenk######################################################################### 3767ebf7443Swdenk## MPC8xx Systems 3777ebf7443Swdenk######################################################################### 3787ebf7443Swdenk 3792d24a3a7SwdenkAdder_config \ 3802d24a3a7SwdenkAdder87x_config \ 38126238132SwdenkAdderII_config \ 3822d24a3a7Swdenk : unconfig 38326238132Swdenk $(if $(findstring AdderII,$@), \ 3842d24a3a7Swdenk @echo "#define CONFIG_MPC852T" > include/config.h) 3852d24a3a7Swdenk @./mkconfig -a Adder ppc mpc8xx adder 3862d24a3a7Swdenk 387180d3f74SwdenkADS860_config \ 388180d3f74SwdenkFADS823_config \ 389180d3f74SwdenkFADS850SAR_config \ 390180d3f74SwdenkMPC86xADS_config \ 3911114257cSwdenkMPC885ADS_config \ 392180d3f74SwdenkFADS860T_config: unconfig 3937ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx fads 3947ebf7443Swdenk 3957ebf7443SwdenkAMX860_config : unconfig 3967ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx amx860 westel 3977ebf7443Swdenk 3987ebf7443Swdenkc2mon_config: unconfig 3997ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx c2mon 4007ebf7443Swdenk 4017ebf7443SwdenkCCM_config: unconfig 4027ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx CCM siemens 4037ebf7443Swdenk 4047ebf7443Swdenkcogent_mpc8xx_config: unconfig 4057ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx cogent 4067ebf7443Swdenk 4073bac3513SwdenkELPT860_config: unconfig 4083bac3513Swdenk @./mkconfig $(@:_config=) ppc mpc8xx elpt860 LEOX 4093bac3513Swdenk 4107ebf7443SwdenkESTEEM192E_config: unconfig 4117ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx esteem192e 4127ebf7443Swdenk 4137ebf7443SwdenkETX094_config : unconfig 4147ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx etx094 4157ebf7443Swdenk 4167ebf7443SwdenkFLAGADM_config: unconfig 4177ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx flagadm 4187ebf7443Swdenk 4197aa78614Swdenkxtract_GEN860T = $(subst _SC,,$(subst _config,,$1)) 4207aa78614Swdenk 4217aa78614SwdenkGEN860T_SC_config \ 4227ebf7443SwdenkGEN860T_config: unconfig 4237aa78614Swdenk @ >include/config.h 4247aa78614Swdenk @[ -z "$(findstring _SC,$@)" ] || \ 4257aa78614Swdenk { echo "#define CONFIG_SC" >>include/config.h ; \ 4267aa78614Swdenk echo "With reduced H/W feature set (SC)..." ; \ 4277aa78614Swdenk } 4287aa78614Swdenk @./mkconfig -a $(call xtract_GEN860T,$@) ppc mpc8xx gen860t 4297ebf7443Swdenk 4307ebf7443SwdenkGENIETV_config: unconfig 4317ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx genietv 4327ebf7443Swdenk 4337ebf7443SwdenkGTH_config: unconfig 4347ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx gth 4357ebf7443Swdenk 4367ebf7443Swdenkhermes_config : unconfig 4377ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx hermes 4387ebf7443Swdenk 439c40b2956SwdenkHMI10_config : unconfig 440c40b2956Swdenk @./mkconfig $(@:_config=) ppc mpc8xx tqm8xx 441c40b2956Swdenk 4427ebf7443SwdenkIAD210_config: unconfig 4437ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx IAD210 siemens 4447ebf7443Swdenk 4457ebf7443Swdenkxtract_ICU862 = $(subst _100MHz,,$(subst _config,,$1)) 4467ebf7443Swdenk 4477ebf7443SwdenkICU862_100MHz_config \ 4487ebf7443SwdenkICU862_config: unconfig 4497ebf7443Swdenk @ >include/config.h 4507ebf7443Swdenk @[ -z "$(findstring _100MHz,$@)" ] || \ 4517ebf7443Swdenk { echo "#define CONFIG_100MHz" >>include/config.h ; \ 4527ebf7443Swdenk echo "... with 100MHz system clock" ; \ 4537ebf7443Swdenk } 4547ebf7443Swdenk @./mkconfig -a $(call xtract_ICU862,$@) ppc mpc8xx icu862 4557ebf7443Swdenk 4567ebf7443SwdenkIP860_config : unconfig 4577ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx ip860 4587ebf7443Swdenk 4597ebf7443SwdenkIVML24_256_config \ 4607ebf7443SwdenkIVML24_128_config \ 4617ebf7443SwdenkIVML24_config: unconfig 4627ebf7443Swdenk @ >include/config.h 4637ebf7443Swdenk @[ -z "$(findstring IVML24_config,$@)" ] || \ 4647ebf7443Swdenk { echo "#define CONFIG_IVML24_16M" >>include/config.h ; \ 4657ebf7443Swdenk } 4667ebf7443Swdenk @[ -z "$(findstring IVML24_128_config,$@)" ] || \ 4677ebf7443Swdenk { echo "#define CONFIG_IVML24_32M" >>include/config.h ; \ 4687ebf7443Swdenk } 4697ebf7443Swdenk @[ -z "$(findstring IVML24_256_config,$@)" ] || \ 4707ebf7443Swdenk { echo "#define CONFIG_IVML24_64M" >>include/config.h ; \ 4717ebf7443Swdenk } 4727ebf7443Swdenk @./mkconfig -a IVML24 ppc mpc8xx ivm 4737ebf7443Swdenk 4747ebf7443SwdenkIVMS8_256_config \ 4757ebf7443SwdenkIVMS8_128_config \ 4767ebf7443SwdenkIVMS8_config: unconfig 4777ebf7443Swdenk @ >include/config.h 4787ebf7443Swdenk @[ -z "$(findstring IVMS8_config,$@)" ] || \ 4797ebf7443Swdenk { echo "#define CONFIG_IVMS8_16M" >>include/config.h ; \ 4807ebf7443Swdenk } 4817ebf7443Swdenk @[ -z "$(findstring IVMS8_128_config,$@)" ] || \ 4827ebf7443Swdenk { echo "#define CONFIG_IVMS8_32M" >>include/config.h ; \ 4837ebf7443Swdenk } 4847ebf7443Swdenk @[ -z "$(findstring IVMS8_256_config,$@)" ] || \ 4857ebf7443Swdenk { echo "#define CONFIG_IVMS8_64M" >>include/config.h ; \ 4867ebf7443Swdenk } 4877ebf7443Swdenk @./mkconfig -a IVMS8 ppc mpc8xx ivm 4887ebf7443Swdenk 48956f94be3SwdenkKUP4K_config : unconfig 4900608e04dSwdenk @./mkconfig $(@:_config=) ppc mpc8xx kup4k kup 4910608e04dSwdenk 4920608e04dSwdenkKUP4X_config : unconfig 4930608e04dSwdenk @./mkconfig $(@:_config=) ppc mpc8xx kup4x kup 49456f94be3Swdenk 4957ebf7443SwdenkLANTEC_config : unconfig 4967ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx lantec 4977ebf7443Swdenk 4987ebf7443Swdenklwmon_config: unconfig 4997ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx lwmon 5007ebf7443Swdenk 5017ebf7443SwdenkMBX_config \ 5027ebf7443SwdenkMBX860T_config: unconfig 5037ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx mbx8xx 5047ebf7443Swdenk 5057ebf7443SwdenkMHPC_config: unconfig 5067ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx mhpc eltec 5077ebf7443Swdenk 5087ebf7443SwdenkMVS1_config : unconfig 5097ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx mvs1 5107ebf7443Swdenk 511993cad93Swdenkxtract_NETVIA = $(subst _V2,,$(subst _config,,$1)) 512993cad93Swdenk 513993cad93SwdenkNETVIA_V2_config \ 5147ebf7443SwdenkNETVIA_config: unconfig 515993cad93Swdenk @ >include/config.h 516993cad93Swdenk @[ -z "$(findstring NETVIA_config,$@)" ] || \ 517993cad93Swdenk { echo "#define CONFIG_NETVIA_VERSION 1" >>include/config.h ; \ 518993cad93Swdenk echo "... Version 1" ; \ 519993cad93Swdenk } 520993cad93Swdenk @[ -z "$(findstring NETVIA_V2_config,$@)" ] || \ 521993cad93Swdenk { echo "#define CONFIG_NETVIA_VERSION 2" >>include/config.h ; \ 522993cad93Swdenk echo "... Version 2" ; \ 523993cad93Swdenk } 524993cad93Swdenk @./mkconfig -a $(call xtract_NETVIA,$@) ppc mpc8xx netvia 5257ebf7443Swdenk 526c26e454dSwdenkxtract_NETPHONE = $(subst _V2,,$(subst _config,,$1)) 527c26e454dSwdenk 528c26e454dSwdenkNETPHONE_V2_config \ 52904a85b3bSwdenkNETPHONE_config: unconfig 530c26e454dSwdenk @ >include/config.h 531c26e454dSwdenk @[ -z "$(findstring NETPHONE_config,$@)" ] || \ 532c26e454dSwdenk { echo "#define CONFIG_NETPHONE_VERSION 1" >>include/config.h ; \ 533c26e454dSwdenk } 534c26e454dSwdenk @[ -z "$(findstring NETPHONE_V2_config,$@)" ] || \ 535c26e454dSwdenk { echo "#define CONFIG_NETPHONE_VERSION 2" >>include/config.h ; \ 536c26e454dSwdenk } 537c26e454dSwdenk @./mkconfig -a $(call xtract_NETPHONE,$@) ppc mpc8xx netphone 53804a85b3bSwdenk 53979fa88f3Swdenkxtract_NETTA = $(subst _SWAPHOOK,,$(subst _6412,,$(subst _ISDN,,$(subst _config,,$1)))) 54004a85b3bSwdenk 54179fa88f3SwdenkNETTA_ISDN_6412_SWAPHOOK_config \ 54279fa88f3SwdenkNETTA_ISDN_SWAPHOOK_config \ 54379fa88f3SwdenkNETTA_6412_SWAPHOOK_config \ 54479fa88f3SwdenkNETTA_SWAPHOOK_config \ 54579fa88f3SwdenkNETTA_ISDN_6412_config \ 54604a85b3bSwdenkNETTA_ISDN_config \ 54779fa88f3SwdenkNETTA_6412_config \ 54804a85b3bSwdenkNETTA_config: unconfig 54904a85b3bSwdenk @ >include/config.h 55079fa88f3Swdenk @[ -z "$(findstring ISDN_,$@)" ] || \ 55104a85b3bSwdenk { echo "#define CONFIG_NETTA_ISDN 1" >>include/config.h ; \ 55204a85b3bSwdenk } 55379fa88f3Swdenk @[ -n "$(findstring ISDN_,$@)" ] || \ 55479fa88f3Swdenk { echo "#undef CONFIG_NETTA_ISDN" >>include/config.h ; \ 55579fa88f3Swdenk } 55679fa88f3Swdenk @[ -z "$(findstring 6412_,$@)" ] || \ 55779fa88f3Swdenk { echo "#define CONFIG_NETTA_6412 1" >>include/config.h ; \ 55879fa88f3Swdenk } 55979fa88f3Swdenk @[ -n "$(findstring 6412_,$@)" ] || \ 56079fa88f3Swdenk { echo "#undef CONFIG_NETTA_6412" >>include/config.h ; \ 56179fa88f3Swdenk } 56279fa88f3Swdenk @[ -z "$(findstring SWAPHOOK_,$@)" ] || \ 56379fa88f3Swdenk { echo "#define CONFIG_NETTA_SWAPHOOK 1" >>include/config.h ; \ 56479fa88f3Swdenk } 56579fa88f3Swdenk @[ -n "$(findstring SWAPHOOK_,$@)" ] || \ 56679fa88f3Swdenk { echo "#undef CONFIG_NETTA_SWAPHOOK" >>include/config.h ; \ 56779fa88f3Swdenk } 56804a85b3bSwdenk @./mkconfig -a $(call xtract_NETTA,$@) ppc mpc8xx netta 56904a85b3bSwdenk 57079fa88f3Swdenkxtract_NETTA2 = $(subst _V2,,$(subst _config,,$1)) 57179fa88f3Swdenk 57279fa88f3SwdenkNETTA2_V2_config \ 57379fa88f3SwdenkNETTA2_config: unconfig 57479fa88f3Swdenk @ >include/config.h 57579fa88f3Swdenk @[ -z "$(findstring NETTA2_config,$@)" ] || \ 57679fa88f3Swdenk { echo "#define CONFIG_NETTA2_VERSION 1" >>include/config.h ; \ 57779fa88f3Swdenk } 57879fa88f3Swdenk @[ -z "$(findstring NETTA2_V2_config,$@)" ] || \ 57979fa88f3Swdenk { echo "#define CONFIG_NETTA2_VERSION 2" >>include/config.h ; \ 58079fa88f3Swdenk } 58179fa88f3Swdenk @./mkconfig -a $(call xtract_NETTA2,$@) ppc mpc8xx netta2 58279fa88f3Swdenk 5837ca202f5SwdenkNC650_config: unconfig 5847ca202f5Swdenk @./mkconfig $(@:_config=) ppc mpc8xx nc650 5857ca202f5Swdenk 5867ebf7443SwdenkNX823_config: unconfig 5877ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx nx823 5887ebf7443Swdenk 5897ebf7443Swdenkpcu_e_config: unconfig 5907ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx pcu_e siemens 5917ebf7443Swdenk 5923bbc899fSwdenkQS850_config: unconfig 5933bbc899fSwdenk @./mkconfig $(@:_config=) ppc mpc8xx qs850 snmc 5943bbc899fSwdenk 5953bbc899fSwdenkQS823_config: unconfig 5963bbc899fSwdenk @./mkconfig $(@:_config=) ppc mpc8xx qs850 snmc 5973bbc899fSwdenk 5983bbc899fSwdenkQS860T_config: unconfig 5993bbc899fSwdenk @./mkconfig $(@:_config=) ppc mpc8xx qs860t snmc 6003bbc899fSwdenk 601da93ed81Swdenkquantum_config: unconfig 602da93ed81Swdenk @./mkconfig $(@:_config=) ppc mpc8xx quantum 603da93ed81Swdenk 6047ebf7443SwdenkR360MPI_config: unconfig 6057ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx r360mpi 6067ebf7443Swdenk 607682011ffSwdenkRBC823_config: unconfig 608682011ffSwdenk @./mkconfig $(@:_config=) ppc mpc8xx rbc823 609682011ffSwdenk 6107ebf7443SwdenkRPXClassic_config: unconfig 6117ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx RPXClassic 6127ebf7443Swdenk 6137ebf7443SwdenkRPXlite_config: unconfig 6147ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx RPXlite 6157ebf7443Swdenk 616e63c8ee3SwdenkRPXlite_DW_64_config \ 617e63c8ee3SwdenkRPXlite_DW_LCD_config \ 618e63c8ee3SwdenkRPXlite_DW_64_LCD_config \ 619e63c8ee3SwdenkRPXlite_DW_NVRAM_config \ 620e63c8ee3SwdenkRPXlite_DW_NVRAM_64_config \ 621e63c8ee3SwdenkRPXlite_DW_NVRAM_LCD_config \ 622e63c8ee3SwdenkRPXlite_DW_NVRAM_64_LCD_config \ 623e63c8ee3SwdenkRPXlite_DW_config: unconfig 624e63c8ee3Swdenk @ >include/config.h 625e63c8ee3Swdenk @[ -z "$(findstring _64,$@)" ] || \ 626e63c8ee3Swdenk { echo "#define RPXlite_64MHz" >>include/config.h ; \ 627e63c8ee3Swdenk echo "... with 64MHz system clock ..."; \ 628e63c8ee3Swdenk } 629e63c8ee3Swdenk @[ -z "$(findstring _LCD,$@)" ] || \ 630e63c8ee3Swdenk { echo "#define CONFIG_LCD" >>include/config.h ; \ 631e63c8ee3Swdenk echo "#define CONFIG_NEC_NL6448BC20" >>include/config.h ; \ 632e63c8ee3Swdenk echo "... with LCD display ..."; \ 633e63c8ee3Swdenk } 634e63c8ee3Swdenk @[ -z "$(findstring _NVRAM,$@)" ] || \ 635e63c8ee3Swdenk { echo "#define CFG_ENV_IS_IN_NVRAM" >>include/config.h ; \ 636e63c8ee3Swdenk echo "... with ENV in NVRAM ..."; \ 637e63c8ee3Swdenk } 638e63c8ee3Swdenk @./mkconfig -a RPXlite_DW ppc mpc8xx RPXlite_dw 639e63c8ee3Swdenk 64073a8b27cSwdenkrmu_config: unconfig 64173a8b27cSwdenk @./mkconfig $(@:_config=) ppc mpc8xx rmu 64273a8b27cSwdenk 6437ebf7443SwdenkRRvision_config: unconfig 6447ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx RRvision 6457ebf7443Swdenk 6467ebf7443SwdenkRRvision_LCD_config: unconfig 6477ebf7443Swdenk @echo "#define CONFIG_LCD" >include/config.h 6487ebf7443Swdenk @echo "#define CONFIG_SHARP_LQ104V7DS01" >>include/config.h 6497ebf7443Swdenk @./mkconfig -a RRvision ppc mpc8xx RRvision 6507ebf7443Swdenk 6517ebf7443SwdenkSM850_config : unconfig 6527ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx tqm8xx 6537ebf7443Swdenk 6547ebf7443SwdenkSPD823TS_config: unconfig 6557ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx spd8xx 6567ebf7443Swdenk 6576bdf4306SWolfgang Denkstxxtc_config: unconfig 6586bdf4306SWolfgang Denk @./mkconfig $(@:_config=) ppc mpc8xx stxxtc 6596bdf4306SWolfgang Denk 660dc7c9a1aSwdenksvm_sc8xx_config: unconfig 661dc7c9a1aSwdenk @ >include/config.h 662dc7c9a1aSwdenk @./mkconfig $(@:_config=) ppc mpc8xx svm_sc8xx 663dc7c9a1aSwdenk 6647ebf7443SwdenkSXNI855T_config: unconfig 6657ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx sixnet 6667ebf7443Swdenk 667db2f721fSwdenk# EMK MPC8xx based modules 668db2f721fSwdenkTOP860_config: unconfig 669db2f721fSwdenk @./mkconfig $(@:_config=) ppc mpc8xx top860 emk 670db2f721fSwdenk 6717ebf7443Swdenk# Play some tricks for configuration selection 672e9132ea9Swdenk# Only 855 and 860 boards may come with FEC 673e9132ea9Swdenk# and only 823 boards may have LCD support 674e9132ea9Swdenkxtract_8xx = $(subst _LCD,,$(subst _config,,$1)) 6757ebf7443Swdenk 6767ebf7443SwdenkFPS850L_config \ 677384ae025SwdenkFPS860L_config \ 678f12e568cSwdenkNSCU_config \ 6797ebf7443SwdenkTQM823L_config \ 6807ebf7443SwdenkTQM823L_LCD_config \ 6817ebf7443SwdenkTQM850L_config \ 6827ebf7443SwdenkTQM855L_config \ 6837ebf7443SwdenkTQM860L_config \ 684d126bfbdSwdenkTQM862L_config \ 685ae3af05eSwdenkTQM823M_config \ 686ae3af05eSwdenkTQM850M_config \ 687f12e568cSwdenkTQM855M_config \ 688f12e568cSwdenkTQM860M_config \ 689f12e568cSwdenkTQM862M_config \ 690c178d3daSwdenkTQM866M_config: unconfig 6917ebf7443Swdenk @ >include/config.h 6927ebf7443Swdenk @[ -z "$(findstring _LCD,$@)" ] || \ 6937ebf7443Swdenk { echo "#define CONFIG_LCD" >>include/config.h ; \ 694fd3103bbSwdenk echo "#define CONFIG_NEC_NL6448BC20" >>include/config.h ; \ 6957ebf7443Swdenk echo "... with LCD display" ; \ 6967ebf7443Swdenk } 6977ebf7443Swdenk @./mkconfig -a $(call xtract_8xx,$@) ppc mpc8xx tqm8xx 6987ebf7443Swdenk 6997ebf7443SwdenkTTTech_config: unconfig 7007ebf7443Swdenk @echo "#define CONFIG_LCD" >include/config.h 7017ebf7443Swdenk @echo "#define CONFIG_SHARP_LQ104V7DS01" >>include/config.h 7027ebf7443Swdenk @./mkconfig -a TQM823L ppc mpc8xx tqm8xx 7037ebf7443Swdenk 704ec0aee7bSwdenkuc100_config : unconfig 705f7d1572bSwdenk @./mkconfig $(@:_config=) ppc mpc8xx uc100 706f7d1572bSwdenk 707608c9146Swdenkv37_config: unconfig 708608c9146Swdenk @echo "#define CONFIG_LCD" >include/config.h 709608c9146Swdenk @echo "#define CONFIG_SHARP_LQ084V1DG21" >>include/config.h 710608c9146Swdenk @./mkconfig $(@:_config=) ppc mpc8xx v37 711608c9146Swdenk 71291e940d9Sdzuwtk_config: unconfig 71391e940d9Sdzu @echo "#define CONFIG_LCD" >include/config.h 71491e940d9Sdzu @echo "#define CONFIG_SHARP_LQ065T9DR51U" >>include/config.h 71591e940d9Sdzu @./mkconfig -a TQM823L ppc mpc8xx tqm8xx 71691e940d9Sdzu 7177ebf7443Swdenk######################################################################### 7187ebf7443Swdenk## PPC4xx Systems 7197ebf7443Swdenk######################################################################### 720e55ca7e2Swdenkxtract_4xx = $(subst _25,,$(subst _33,,$(subst _BA,,$(subst _ME,,$(subst _HI,,$(subst _config,,$1)))))) 7217ebf7443Swdenk 7227ebf7443SwdenkADCIOP_config: unconfig 7237ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx adciop esd 7247ebf7443Swdenk 7257521af1cSWolfgang DenkAP1000_config:unconfig 7267521af1cSWolfgang Denk @./mkconfig $(@:_config=) ppc ppc4xx ap1000 amirix 7277521af1cSWolfgang Denk 728c419d1d6SstroeseAPC405_config: unconfig 729c419d1d6Sstroese @./mkconfig $(@:_config=) ppc ppc4xx apc405 esd 730c419d1d6Sstroese 7317ebf7443SwdenkAR405_config: unconfig 7327ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx ar405 esd 7337ebf7443Swdenk 734549826eaSstroeseASH405_config: unconfig 735549826eaSstroese @./mkconfig $(@:_config=) ppc ppc4xx ash405 esd 736549826eaSstroese 7378a316c9bSStefan Roesebamboo_config: unconfig 7388a316c9bSStefan Roese @./mkconfig $(@:_config=) ppc ppc4xx bamboo amcc 7398a316c9bSStefan Roese 7408a316c9bSStefan Roesebubinga_config: unconfig 7418a316c9bSStefan Roese @./mkconfig $(@:_config=) ppc ppc4xx bubinga amcc 742549826eaSstroese 7437ebf7443SwdenkCANBT_config: unconfig 7447ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx canbt esd 7457ebf7443Swdenk 7461d6f9720SwdenkCATcenter_config \ 7471d6f9720SwdenkCATcenter_25_config \ 7481d6f9720SwdenkCATcenter_33_config: unconfig 74910767ccbSwdenk @ echo "/* CATcenter uses PPChameleon Model ME */" > include/config.h 75010767ccbSwdenk @ echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 1" >> include/config.h 7511d6f9720Swdenk @[ -z "$(findstring _25,$@)" ] || \ 7521d6f9720Swdenk { echo "#define CONFIG_PPCHAMELEON_CLK_25" >>include/config.h ; \ 7531d6f9720Swdenk echo "SysClk = 25MHz" ; \ 7541d6f9720Swdenk } 7551d6f9720Swdenk @[ -z "$(findstring _33,$@)" ] || \ 7561d6f9720Swdenk { echo "#define CONFIG_PPCHAMELEON_CLK_33" >>include/config.h ; \ 7571d6f9720Swdenk echo "SysClk = 33MHz" ; \ 7581d6f9720Swdenk } 75910767ccbSwdenk @./mkconfig -a $(call xtract_4xx,$@) ppc ppc4xx PPChameleonEVB dave 76010767ccbSwdenk 7617644f16fSStefan RoeseCPCI2DP_config: unconfig 7627644f16fSStefan Roese @./mkconfig $(@:_config=) ppc ppc4xx cpci2dp esd 7637644f16fSStefan Roese 7647ebf7443SwdenkCPCI405_config \ 765549826eaSstroeseCPCI4052_config \ 766c419d1d6SstroeseCPCI405DT_config \ 767549826eaSstroeseCPCI405AB_config: unconfig 7687ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx cpci405 esd 7697ebf7443Swdenk @echo "BOARD_REVISION = $(@:_config=)" >>include/config.mk 7707ebf7443Swdenk 7717ebf7443SwdenkCPCI440_config: unconfig 7727ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx cpci440 esd 7737ebf7443Swdenk 7747ebf7443SwdenkCPCIISER4_config: unconfig 7757ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx cpciiser4 esd 7767ebf7443Swdenk 7777ebf7443SwdenkCRAYL1_config: unconfig 7787ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx L1 cray 7797ebf7443Swdenk 780cd0a9de6Swdenkcsb272_config: unconfig 781cd0a9de6Swdenk @./mkconfig $(@:_config=) ppc ppc4xx csb272 782cd0a9de6Swdenk 783aa245090Swdenkcsb472_config: unconfig 784aa245090Swdenk @./mkconfig $(@:_config=) ppc ppc4xx csb472 785aa245090Swdenk 7867ebf7443SwdenkDASA_SIM_config: unconfig 7877ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx dasa_sim esd 7887ebf7443Swdenk 78972cd5aa7SstroeseDP405_config: unconfig 79072cd5aa7Sstroese @./mkconfig $(@:_config=) ppc ppc4xx dp405 esd 79172cd5aa7Sstroese 7927ebf7443SwdenkDU405_config: unconfig 7937ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx du405 esd 7947ebf7443Swdenk 7958a316c9bSStefan Roeseebony_config: unconfig 7968a316c9bSStefan Roese @./mkconfig $(@:_config=) ppc ppc4xx ebony amcc 7977ebf7443Swdenk 7987ebf7443SwdenkERIC_config: unconfig 7997ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx eric 8007ebf7443Swdenk 801d1cbe85bSwdenkEXBITGEN_config: unconfig 802d1cbe85bSwdenk @./mkconfig $(@:_config=) ppc ppc4xx exbitgen 803d1cbe85bSwdenk 804c419d1d6SstroeseG2000_config: unconfig 805c419d1d6Sstroese @./mkconfig $(@:_config=) ppc ppc4xx g2000 806c419d1d6Sstroese 807c419d1d6SstroeseHH405_config: unconfig 808c419d1d6Sstroese @./mkconfig $(@:_config=) ppc ppc4xx hh405 esd 809c419d1d6Sstroese 81072cd5aa7SstroeseHUB405_config: unconfig 81172cd5aa7Sstroese @./mkconfig $(@:_config=) ppc ppc4xx hub405 esd 81272cd5aa7Sstroese 813db01a2eaSwdenkJSE_config: unconfig 814db01a2eaSwdenk @./mkconfig $(@:_config=) ppc ppc4xx jse 815db01a2eaSwdenk 816b79316f2SStefan RoeseKAREF_config: unconfig 817b79316f2SStefan Roese @./mkconfig $(@:_config=) ppc ppc4xx karef sandburst 818b79316f2SStefan Roese 8196e7fb6eaSStefan Roeseluan_config: unconfig 8206e7fb6eaSStefan Roese @./mkconfig $(@:_config=) ppc ppc4xx luan amcc 8216e7fb6eaSStefan Roese 822b79316f2SStefan RoeseMETROBOX_config: unconfig 823b79316f2SStefan Roese @./mkconfig $(@:_config=) ppc ppc4xx metrobox sandburst 824b79316f2SStefan Roese 8257ebf7443SwdenkMIP405_config: unconfig 8267ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx mip405 mpl 8277ebf7443Swdenk 828f3e0de60SwdenkMIP405T_config: unconfig 829f3e0de60Swdenk @echo "#define CONFIG_MIP405T" >include/config.h 830f3e0de60Swdenk @echo "Enable subset config for MIP405T" 831f3e0de60Swdenk @./mkconfig -a MIP405 ppc ppc4xx mip405 mpl 832f3e0de60Swdenk 8337ebf7443SwdenkML2_config: unconfig 8347ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx ml2 8357ebf7443Swdenk 836028ab6b5Swdenkml300_config: unconfig 837028ab6b5Swdenk @./mkconfig $(@:_config=) ppc ppc4xx ml300 xilinx 838028ab6b5Swdenk 8398a316c9bSStefan Roeseocotea_config: unconfig 8408a316c9bSStefan Roese @./mkconfig $(@:_config=) ppc ppc4xx ocotea amcc 8410e6d798cSwdenk 8427ebf7443SwdenkOCRTC_config \ 8437ebf7443SwdenkORSG_config: unconfig 8447ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx ocrtc esd 8457ebf7443Swdenk 8465568e613SStefan Roesep3p440_config: unconfig 8475568e613SStefan Roese @./mkconfig $(@:_config=) ppc ppc4xx p3p440 prodrive 8485568e613SStefan Roese 8497ebf7443SwdenkPCI405_config: unconfig 8507ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx pci405 esd 8517ebf7443Swdenk 8527ebf7443SwdenkPIP405_config: unconfig 8537ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx pip405 mpl 8547ebf7443Swdenk 85572cd5aa7SstroesePLU405_config: unconfig 85672cd5aa7Sstroese @./mkconfig $(@:_config=) ppc ppc4xx plu405 esd 85772cd5aa7Sstroese 858549826eaSstroesePMC405_config: unconfig 859549826eaSstroese @./mkconfig $(@:_config=) ppc ppc4xx pmc405 esd 860549826eaSstroese 861281e00a3SwdenkPPChameleonEVB_config \ 862e55ca7e2SwdenkPPChameleonEVB_BA_25_config \ 863e55ca7e2SwdenkPPChameleonEVB_ME_25_config \ 864e55ca7e2SwdenkPPChameleonEVB_HI_25_config \ 865e55ca7e2SwdenkPPChameleonEVB_BA_33_config \ 866e55ca7e2SwdenkPPChameleonEVB_ME_33_config \ 867e55ca7e2SwdenkPPChameleonEVB_HI_33_config: unconfig 868fbe4b5cbSwdenk @ >include/config.h 8691d6f9720Swdenk @[ -z "$(findstring EVB_BA,$@)" ] || \ 870fbe4b5cbSwdenk { echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 0" >>include/config.h ; \ 871fbe4b5cbSwdenk echo "... BASIC model" ; \ 872fbe4b5cbSwdenk } 8731d6f9720Swdenk @[ -z "$(findstring EVB_ME,$@)" ] || \ 874fbe4b5cbSwdenk { echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 1" >>include/config.h ; \ 875fbe4b5cbSwdenk echo "... MEDIUM model" ; \ 876fbe4b5cbSwdenk } 8771d6f9720Swdenk @[ -z "$(findstring EVB_HI,$@)" ] || \ 878fbe4b5cbSwdenk { echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 2" >>include/config.h ; \ 879fbe4b5cbSwdenk echo "... HIGH-END model" ; \ 880fbe4b5cbSwdenk } 881e55ca7e2Swdenk @[ -z "$(findstring _25,$@)" ] || \ 882e55ca7e2Swdenk { echo "#define CONFIG_PPCHAMELEON_CLK_25" >>include/config.h ; \ 883e55ca7e2Swdenk echo "SysClk = 25MHz" ; \ 884e55ca7e2Swdenk } 885e55ca7e2Swdenk @[ -z "$(findstring _33,$@)" ] || \ 886e55ca7e2Swdenk { echo "#define CONFIG_PPCHAMELEON_CLK_33" >>include/config.h ; \ 887e55ca7e2Swdenk echo "SysClk = 33MHz" ; \ 888e55ca7e2Swdenk } 889fbe4b5cbSwdenk @./mkconfig -a $(call xtract_4xx,$@) ppc ppc4xx PPChameleonEVB dave 89012f34241Swdenk 891652a10c0Swdenksbc405_config: unconfig 892652a10c0Swdenk @./mkconfig $(@:_config=) ppc ppc4xx sbc405 893652a10c0Swdenk 8948a316c9bSStefan Roesesycamore_config: unconfig 8958a316c9bSStefan Roese @echo "Configuring for sycamore board as subset of walnut..." 8968a316c9bSStefan Roese @./mkconfig -a walnut ppc ppc4xx walnut amcc 8978a316c9bSStefan Roese 89872cd5aa7SstroeseVOH405_config: unconfig 89972cd5aa7Sstroese @./mkconfig $(@:_config=) ppc ppc4xx voh405 esd 90072cd5aa7Sstroese 901c419d1d6SstroeseVOM405_config: unconfig 902c419d1d6Sstroese @./mkconfig $(@:_config=) ppc ppc4xx vom405 esd 903c419d1d6Sstroese 904feaedfcfSStefan RoeseCMS700_config: unconfig 905feaedfcfSStefan Roese @./mkconfig $(@:_config=) ppc ppc4xx cms700 esd 906feaedfcfSStefan Roese 9077ebf7443SwdenkW7OLMC_config \ 9087ebf7443SwdenkW7OLMG_config: unconfig 9097ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx w7o 9107ebf7443Swdenk 9118a316c9bSStefan Roesewalnut_config: unconfig 9128a316c9bSStefan Roese @./mkconfig $(@:_config=) ppc ppc4xx walnut amcc 9137ebf7443Swdenk 914c419d1d6SstroeseWUH405_config: unconfig 915c419d1d6Sstroese @./mkconfig $(@:_config=) ppc ppc4xx wuh405 esd 916c419d1d6Sstroese 917ba56f625SwdenkXPEDITE1K_config: unconfig 918ba56f625Swdenk @./mkconfig $(@:_config=) ppc ppc4xx xpedite1k 919ba56f625Swdenk 9208a316c9bSStefan Roeseyosemite_config: unconfig 9218a316c9bSStefan Roese @./mkconfig $(@:_config=) ppc ppc4xx yosemite amcc 9228a316c9bSStefan Roese 9238a316c9bSStefan Roeseyellowstone_config: unconfig 9248a316c9bSStefan Roese @./mkconfig $(@:_config=) ppc ppc4xx yellowstone amcc 9258a316c9bSStefan Roese 9267ebf7443Swdenk######################################################################### 927983fda83Swdenk## MPC8220 Systems 928983fda83Swdenk######################################################################### 929dc17fb6dSWolfgang Denk 930dc17fb6dSWolfgang DenkAlaska8220_config \ 931dc17fb6dSWolfgang DenkYukon8220_config: unconfig 932983fda83Swdenk @./mkconfig $(@:_config=) ppc mpc8220 alaska 933983fda83Swdenk 93412b43d51Swdenksorcery_config: unconfig 93512b43d51Swdenk @./mkconfig $(@:_config=) ppc mpc8220 sorcery 93612b43d51Swdenk 937983fda83Swdenk######################################################################### 9387ebf7443Swdenk## MPC824x Systems 9397ebf7443Swdenk######################################################################### 940efa329cbSwdenkxtract_82xx = $(subst _BIGFLASH,,$(subst _ROMBOOT,,$(subst _L2,,$(subst _266MHz,,$(subst _300MHz,,$(subst _config,,$1)))))) 9413bac3513Swdenk 9420332990bSwdenkA3000_config: unconfig 9430332990bSwdenk @./mkconfig $(@:_config=) ppc mpc824x a3000 9440332990bSwdenk 9458e6f1a8eSWolfgang Denkbarco_config: unconfig 9468e6f1a8eSWolfgang Denk @./mkconfig $(@:_config=) ppc mpc824x barco 9478e6f1a8eSWolfgang Denk 9487ebf7443SwdenkBMW_config: unconfig 9497ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc824x bmw 9507ebf7443Swdenk 9513bac3513SwdenkCPC45_config \ 9523bac3513SwdenkCPC45_ROMBOOT_config: unconfig 9533bac3513Swdenk @./mkconfig $(call xtract_82xx,$@) ppc mpc824x cpc45 9543bac3513Swdenk @cd ./include ; \ 9553bac3513Swdenk if [ "$(findstring _ROMBOOT_,$@)" ] ; then \ 9563bac3513Swdenk echo "CONFIG_BOOT_ROM = y" >> config.mk ; \ 9573bac3513Swdenk echo "... booting from 8-bit flash" ; \ 9583bac3513Swdenk else \ 9593bac3513Swdenk echo "CONFIG_BOOT_ROM = n" >> config.mk ; \ 9603bac3513Swdenk echo "... booting from 64-bit flash" ; \ 9613bac3513Swdenk fi; \ 9623bac3513Swdenk echo "export CONFIG_BOOT_ROM" >> config.mk; 9633bac3513Swdenk 9647ebf7443SwdenkCU824_config: unconfig 9657ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc824x cu824 9667ebf7443Swdenk 9677abf0c58Swdenkdebris_config: unconfig 9687abf0c58Swdenk @./mkconfig $(@:_config=) ppc mpc824x debris etin 9697abf0c58Swdenk 97080885a9dSwdenkeXalion_config: unconfig 97180885a9dSwdenk @./mkconfig $(@:_config=) ppc mpc824x eXalion 97280885a9dSwdenk 973756f586aSwdenkHIDDEN_DRAGON_config: unconfig 974756f586aSwdenk @./mkconfig $(@:_config=) ppc mpc824x hidden_dragon 975756f586aSwdenk 9767ebf7443SwdenkMOUSSE_config: unconfig 9777ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc824x mousse 9787ebf7443Swdenk 9797ebf7443SwdenkMUSENKI_config: unconfig 9807ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc824x musenki 9817ebf7443Swdenk 982b4676a25SwdenkMVBLUE_config: unconfig 983b4676a25Swdenk @./mkconfig $(@:_config=) ppc mpc824x mvblue 984b4676a25Swdenk 9857ebf7443SwdenkOXC_config: unconfig 9867ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc824x oxc 9877ebf7443Swdenk 9887ebf7443SwdenkPN62_config: unconfig 9897ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc824x pn62 9907ebf7443Swdenk 9917ebf7443SwdenkSandpoint8240_config: unconfig 9927ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc824x sandpoint 9937ebf7443Swdenk 9947ebf7443SwdenkSandpoint8245_config: unconfig 9957ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc824x sandpoint 9967ebf7443Swdenk 997466b7410Swdenksbc8240_config: unconfig 998466b7410Swdenk @./mkconfig $(@:_config=) ppc mpc824x sbc8240 999466b7410Swdenk 1000d1cbe85bSwdenkSL8245_config: unconfig 1001d1cbe85bSwdenk @./mkconfig $(@:_config=) ppc mpc824x sl8245 1002d1cbe85bSwdenk 10037ebf7443Swdenkutx8245_config: unconfig 10047ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc824x utx8245 10057ebf7443Swdenk 10067ebf7443Swdenk######################################################################### 10077ebf7443Swdenk## MPC8260 Systems 10087ebf7443Swdenk######################################################################### 10097ebf7443Swdenk 101054387ac9Swdenkatc_config: unconfig 101154387ac9Swdenk @./mkconfig $(@:_config=) ppc mpc8260 atc 101254387ac9Swdenk 10137ebf7443Swdenkcogent_mpc8260_config: unconfig 10147ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8260 cogent 10157ebf7443Swdenk 10167ebf7443SwdenkCPU86_config \ 10177ebf7443SwdenkCPU86_ROMBOOT_config: unconfig 10187ebf7443Swdenk @./mkconfig $(call xtract_82xx,$@) ppc mpc8260 cpu86 10197ebf7443Swdenk @cd ./include ; \ 10207ebf7443Swdenk if [ "$(findstring _ROMBOOT_,$@)" ] ; then \ 10217ebf7443Swdenk echo "CONFIG_BOOT_ROM = y" >> config.mk ; \ 10227ebf7443Swdenk echo "... booting from 8-bit flash" ; \ 10237ebf7443Swdenk else \ 10247ebf7443Swdenk echo "CONFIG_BOOT_ROM = n" >> config.mk ; \ 10257ebf7443Swdenk echo "... booting from 64-bit flash" ; \ 10267ebf7443Swdenk fi; \ 10277ebf7443Swdenk echo "export CONFIG_BOOT_ROM" >> config.mk; 10287ebf7443Swdenk 1029384cc687SwdenkCPU87_config \ 1030384cc687SwdenkCPU87_ROMBOOT_config: unconfig 1031384cc687Swdenk @./mkconfig $(call xtract_82xx,$@) ppc mpc8260 cpu87 1032384cc687Swdenk @cd ./include ; \ 1033384cc687Swdenk if [ "$(findstring _ROMBOOT_,$@)" ] ; then \ 1034384cc687Swdenk echo "CONFIG_BOOT_ROM = y" >> config.mk ; \ 1035384cc687Swdenk echo "... booting from 8-bit flash" ; \ 1036384cc687Swdenk else \ 1037384cc687Swdenk echo "CONFIG_BOOT_ROM = n" >> config.mk ; \ 1038384cc687Swdenk echo "... booting from 64-bit flash" ; \ 1039384cc687Swdenk fi; \ 1040384cc687Swdenk echo "export CONFIG_BOOT_ROM" >> config.mk; 1041384cc687Swdenk 1042f901a83bSWolfgang Denkep8248_config \ 1043f901a83bSWolfgang Denkep8248E_config : unconfig 1044f901a83bSWolfgang Denk @./mkconfig ep8248 ppc mpc8260 ep8248 1045f901a83bSWolfgang Denk 10467ebf7443Swdenkep8260_config: unconfig 10477ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8260 ep8260 10487ebf7443Swdenk 10497ebf7443Swdenkgw8260_config: unconfig 10507ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8260 gw8260 10517ebf7443Swdenk 10527ebf7443Swdenkhymod_config: unconfig 10537ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8260 hymod 10547ebf7443Swdenk 10559dd41a7bSwdenkIDS8247_config: unconfig 10569dd41a7bSwdenk @./mkconfig $(@:_config=) ppc mpc8260 ids8247 10579dd41a7bSwdenk 10587ebf7443SwdenkIPHASE4539_config: unconfig 10597ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8260 iphase4539 10607ebf7443Swdenk 1061c3c7f861SwdenkISPAN_config \ 1062c3c7f861SwdenkISPAN_REVB_config: unconfig 1063c3c7f861Swdenk @if [ "$(findstring _REVB_,$@)" ] ; then \ 1064c3c7f861Swdenk echo "#define CFG_REV_B" > include/config.h ; \ 1065c3c7f861Swdenk fi 1066c3c7f861Swdenk @./mkconfig -a ISPAN ppc mpc8260 ispan 1067c3c7f861Swdenk 106804a85b3bSwdenkMPC8260ADS_config \ 1069901787d6SwdenkMPC8260ADS_lowboot_config \ 107004a85b3bSwdenkMPC8260ADS_33MHz_config \ 1071901787d6SwdenkMPC8260ADS_33MHz_lowboot_config \ 107204a85b3bSwdenkMPC8260ADS_40MHz_config \ 1073901787d6SwdenkMPC8260ADS_40MHz_lowboot_config \ 107404a85b3bSwdenkMPC8272ADS_config \ 1075901787d6SwdenkMPC8272ADS_lowboot_config \ 107604a85b3bSwdenkPQ2FADS_config \ 1077901787d6SwdenkPQ2FADS_lowboot_config \ 107804a85b3bSwdenkPQ2FADS-VR_config \ 1079901787d6SwdenkPQ2FADS-VR_lowboot_config \ 108004a85b3bSwdenkPQ2FADS-ZU_config \ 1081901787d6SwdenkPQ2FADS-ZU_lowboot_config \ 108204a85b3bSwdenkPQ2FADS-ZU_66MHz_config \ 1083901787d6SwdenkPQ2FADS-ZU_66MHz_lowboot_config \ 108404a85b3bSwdenk : unconfig 108504a85b3bSwdenk $(if $(findstring PQ2FADS,$@), \ 108604a85b3bSwdenk @echo "#define CONFIG_ADSTYPE CFG_PQ2FADS" > include/config.h, \ 108704a85b3bSwdenk @echo "#define CONFIG_ADSTYPE CFG_"$(subst MPC,,$(word 1,$(subst _, ,$@))) > include/config.h) 108804a85b3bSwdenk $(if $(findstring MHz,$@), \ 108904a85b3bSwdenk @echo "#define CONFIG_8260_CLKIN" $(subst MHz,,$(word 2,$(subst _, ,$@)))"000000" >> include/config.h, \ 109004a85b3bSwdenk $(if $(findstring VR,$@), \ 109104a85b3bSwdenk @echo "#define CONFIG_8260_CLKIN 66000000" >> include/config.h)) 1092901787d6Swdenk @[ -z "$(findstring lowboot_,$@)" ] || \ 1093901787d6Swdenk { echo "TEXT_BASE = 0xFF800000" >board/mpc8260ads/config.tmp ; \ 1094901787d6Swdenk echo "... with lowboot configuration" ; \ 1095901787d6Swdenk } 109604a85b3bSwdenk @./mkconfig -a MPC8260ADS ppc mpc8260 mpc8260ads 10977ebf7443Swdenk 1098db2f721fSwdenkMPC8266ADS_config: unconfig 1099db2f721fSwdenk @./mkconfig $(@:_config=) ppc mpc8260 mpc8266ads 1100db2f721fSwdenk 1101efa329cbSwdenk# PM825/PM826 default configuration: small (= 8 MB) Flash / boot from 64-bit flash 110210f67017SwdenkPM825_config \ 1103efa329cbSwdenkPM825_ROMBOOT_config \ 1104efa329cbSwdenkPM825_BIGFLASH_config \ 1105efa329cbSwdenkPM825_ROMBOOT_BIGFLASH_config \ 11067ebf7443SwdenkPM826_config \ 1107efa329cbSwdenkPM826_ROMBOOT_config \ 1108efa329cbSwdenkPM826_BIGFLASH_config \ 1109efa329cbSwdenkPM826_ROMBOOT_BIGFLASH_config: unconfig 1110efa329cbSwdenk @if [ "$(findstring PM825_,$@)" ] ; then \ 1111efa329cbSwdenk echo "#define CONFIG_PCI" >include/config.h ; \ 11127ebf7443Swdenk else \ 1113efa329cbSwdenk >include/config.h ; \ 1114efa329cbSwdenk fi 1115efa329cbSwdenk @if [ "$(findstring _ROMBOOT_,$@)" ] ; then \ 1116efa329cbSwdenk echo "... booting from 8-bit flash" ; \ 1117efa329cbSwdenk echo "#define CONFIG_BOOT_ROM" >>include/config.h ; \ 1118efa329cbSwdenk echo "TEXT_BASE = 0xFF800000" >board/pm826/config.tmp ; \ 1119efa329cbSwdenk if [ "$(findstring _BIGFLASH_,$@)" ] ; then \ 1120efa329cbSwdenk echo "... with 32 MB Flash" ; \ 1121efa329cbSwdenk echo "#define CONFIG_FLASH_32MB" >>include/config.h ; \ 11227ebf7443Swdenk fi; \ 1123efa329cbSwdenk else \ 1124efa329cbSwdenk echo "... booting from 64-bit flash" ; \ 1125efa329cbSwdenk if [ "$(findstring _BIGFLASH_,$@)" ] ; then \ 1126efa329cbSwdenk echo "... with 32 MB Flash" ; \ 1127efa329cbSwdenk echo "#define CONFIG_FLASH_32MB" >>include/config.h ; \ 1128efa329cbSwdenk echo "TEXT_BASE = 0x40000000" >board/pm826/config.tmp ; \ 1129efa329cbSwdenk else \ 1130efa329cbSwdenk echo "TEXT_BASE = 0xFF000000" >board/pm826/config.tmp ; \ 1131efa329cbSwdenk fi; \ 1132efa329cbSwdenk fi 1133efa329cbSwdenk @./mkconfig -a PM826 ppc mpc8260 pm826 1134efa329cbSwdenk 1135efa329cbSwdenkPM828_config \ 1136efa329cbSwdenkPM828_PCI_config \ 1137efa329cbSwdenkPM828_ROMBOOT_config \ 1138efa329cbSwdenkPM828_ROMBOOT_PCI_config: unconfig 1139efa329cbSwdenk @if [ -z "$(findstring _PCI_,$@)" ] ; then \ 1140efa329cbSwdenk echo "#define CONFIG_PCI" >>include/config.h ; \ 1141efa329cbSwdenk echo "... with PCI enabled" ; \ 1142efa329cbSwdenk else \ 1143efa329cbSwdenk >include/config.h ; \ 1144efa329cbSwdenk fi 1145efa329cbSwdenk @if [ "$(findstring _ROMBOOT_,$@)" ] ; then \ 1146efa329cbSwdenk echo "... booting from 8-bit flash" ; \ 1147efa329cbSwdenk echo "#define CONFIG_BOOT_ROM" >>include/config.h ; \ 1148efa329cbSwdenk echo "TEXT_BASE = 0xFF800000" >board/pm826/config.tmp ; \ 1149efa329cbSwdenk fi 1150efa329cbSwdenk @./mkconfig -a PM828 ppc mpc8260 pm828 11517ebf7443Swdenk 11527ebf7443Swdenkppmc8260_config: unconfig 11537ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8260 ppmc8260 11547ebf7443Swdenk 11558b0bfc68SwdenkRattler8248_config \ 11568b0bfc68SwdenkRattler_config: unconfig 11578b0bfc68Swdenk $(if $(findstring 8248,$@), \ 11588b0bfc68Swdenk @echo "#define CONFIG_MPC8248" > include/config.h) 11598b0bfc68Swdenk @./mkconfig -a Rattler ppc mpc8260 rattler 11608b0bfc68Swdenk 11617ebf7443SwdenkRPXsuper_config: unconfig 11627ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8260 rpxsuper 11637ebf7443Swdenk 11647ebf7443Swdenkrsdproto_config: unconfig 11657ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8260 rsdproto 11667ebf7443Swdenk 11677ebf7443Swdenksacsng_config: unconfig 11687ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8260 sacsng 11697ebf7443Swdenk 11707ebf7443Swdenksbc8260_config: unconfig 11717ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8260 sbc8260 11727ebf7443Swdenk 11737ebf7443SwdenkSCM_config: unconfig 11747ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8260 SCM siemens 11757ebf7443Swdenk 117627b207fdSwdenkTQM8255_AA_config \ 117727b207fdSwdenkTQM8260_AA_config \ 117827b207fdSwdenkTQM8260_AB_config \ 117927b207fdSwdenkTQM8260_AC_config \ 118027b207fdSwdenkTQM8260_AD_config \ 118127b207fdSwdenkTQM8260_AE_config \ 118227b207fdSwdenkTQM8260_AF_config \ 118327b207fdSwdenkTQM8260_AG_config \ 118427b207fdSwdenkTQM8260_AH_config \ 118527b207fdSwdenkTQM8265_AA_config: unconfig 118627b207fdSwdenk @case "$@" in \ 118727b207fdSwdenk TQM8255_AA_config) CTYPE=MPC8255; CFREQ=300; CACHE=no; BMODE=8260;; \ 118827b207fdSwdenk TQM8260_AA_config) CTYPE=MPC8260; CFREQ=200; CACHE=no; BMODE=8260;; \ 118927b207fdSwdenk TQM8260_AB_config) CTYPE=MPC8260; CFREQ=200; CACHE=yes; BMODE=60x;; \ 119027b207fdSwdenk TQM8260_AC_config) CTYPE=MPC8260; CFREQ=200; CACHE=yes; BMODE=60x;; \ 119127b207fdSwdenk TQM8260_AD_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=60x;; \ 119227b207fdSwdenk TQM8260_AE_config) CTYPE=MPC8260; CFREQ=266; CACHE=no; BMODE=8260;; \ 119327b207fdSwdenk TQM8260_AF_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=60x;; \ 119427b207fdSwdenk TQM8260_AG_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=8260;; \ 119527b207fdSwdenk TQM8260_AH_config) CTYPE=MPC8260; CFREQ=300; CACHE=yes; BMODE=60x;; \ 119627b207fdSwdenk TQM8265_AA_config) CTYPE=MPC8265; CFREQ=300; CACHE=no; BMODE=60x;; \ 119727b207fdSwdenk esac; \ 119827b207fdSwdenk >include/config.h ; \ 119927b207fdSwdenk if [ "$${CTYPE}" != "MPC8260" ] ; then \ 120027b207fdSwdenk echo "#define CONFIG_$${CTYPE}" >>include/config.h ; \ 120127b207fdSwdenk fi; \ 120227b207fdSwdenk echo "#define CONFIG_$${CFREQ}MHz" >>include/config.h ; \ 120327b207fdSwdenk echo "... with $${CFREQ}MHz system clock" ; \ 120427b207fdSwdenk if [ "$${CACHE}" == "yes" ] ; then \ 12057ebf7443Swdenk echo "#define CONFIG_L2_CACHE" >>include/config.h ; \ 120627b207fdSwdenk echo "... with L2 Cache support" ; \ 12077ebf7443Swdenk else \ 12087ebf7443Swdenk echo "#undef CONFIG_L2_CACHE" >>include/config.h ; \ 12097ebf7443Swdenk echo "... without L2 Cache support" ; \ 121027b207fdSwdenk fi; \ 121127b207fdSwdenk if [ "$${BMODE}" == "60x" ] ; then \ 121227b207fdSwdenk echo "#define CONFIG_BUSMODE_60x" >>include/config.h ; \ 121327b207fdSwdenk echo "... with 60x Bus Mode" ; \ 121427b207fdSwdenk else \ 121527b207fdSwdenk echo "#undef CONFIG_BUSMODE_60x" >>include/config.h ; \ 121627b207fdSwdenk echo "... without 60x Bus Mode" ; \ 12177ebf7443Swdenk fi 12184532cb69Swdenk @./mkconfig -a TQM8260 ppc mpc8260 tqm8260 12197ebf7443Swdenk 1220ba91e26aSwdenkVoVPN-GW_66MHz_config \ 1221ba91e26aSwdenkVoVPN-GW_100MHz_config: unconfig 1222ba91e26aSwdenk @echo "#define CONFIG_CLKIN_$(word 2,$(subst _, ,$@))" > include/config.h 1223ba91e26aSwdenk @./mkconfig -a VoVPN-GW ppc mpc8260 vovpn-gw funkwerk 1224ba91e26aSwdenk 122554387ac9SwdenkZPC1900_config: unconfig 122654387ac9Swdenk @./mkconfig $(@:_config=) ppc mpc8260 zpc1900 12277aa78614Swdenk 12284e5ca3ebSwdenk#======================================================================== 12294e5ca3ebSwdenk# M68K 12304e5ca3ebSwdenk#======================================================================== 12314e5ca3ebSwdenk######################################################################### 12324e5ca3ebSwdenk## Coldfire 12334e5ca3ebSwdenk######################################################################### 12344e5ca3ebSwdenk 12357481266eSWolfgang Denkcobra5272_config : unconfig 12367481266eSWolfgang Denk @./mkconfig $(@:_config=) m68k mcf52x2 cobra5272 12377481266eSWolfgang Denk 12384e5ca3ebSwdenkM5272C3_config : unconfig 1239bf9e3b38Swdenk @./mkconfig $(@:_config=) m68k mcf52x2 m5272c3 12404e5ca3ebSwdenk 12414e5ca3ebSwdenkM5282EVB_config : unconfig 1242bf9e3b38Swdenk @./mkconfig $(@:_config=) m68k mcf52x2 m5282evb 12434e5ca3ebSwdenk 1244c419d1d6SstroeseTASREG_config : unconfig 1245c419d1d6Sstroese @./mkconfig $(@:_config=) m68k mcf52x2 tasreg esd 1246c419d1d6Sstroese 12477ebf7443Swdenk######################################################################### 1248f046ccd1SEran Liberty## MPC83xx Systems 1249f046ccd1SEran Liberty######################################################################### 1250f046ccd1SEran Liberty 1251f046ccd1SEran LibertyMPC8349ADS_config: unconfig 1252f046ccd1SEran Liberty @./mkconfig $(@:_config=) ppc mpc83xx mpc8349ads 1253f046ccd1SEran Liberty 1254e6f2e902SMarian BalakowiczTQM834x_config: unconfig 1255e6f2e902SMarian Balakowicz @./mkconfig $(@:_config=) ppc mpc83xx tqm834x 1256e6f2e902SMarian Balakowicz 1257f046ccd1SEran Liberty######################################################################### 125842d1f039Swdenk## MPC85xx Systems 125942d1f039Swdenk######################################################################### 126042d1f039Swdenk 126142d1f039SwdenkMPC8540ADS_config: unconfig 126242d1f039Swdenk @./mkconfig $(@:_config=) ppc mpc85xx mpc8540ads 126342d1f039Swdenk 1264b0e32949SLunsheng WangMPC8540EVAL_config \ 1265b0e32949SLunsheng WangMPC8540EVAL_33_config \ 1266b0e32949SLunsheng WangMPC8540EVAL_66_config \ 1267b0e32949SLunsheng WangMPC8540EVAL_33_slave_config \ 1268b0e32949SLunsheng WangMPC8540EVAL_66_slave_config: unconfig 1269b0e32949SLunsheng Wang @echo "" >include/config.h ; \ 1270b0e32949SLunsheng Wang if [ "$(findstring _33_,$@)" ] ; then \ 1271b0e32949SLunsheng Wang echo -n "... 33 MHz PCI" ; \ 1272b0e32949SLunsheng Wang else \ 1273b0e32949SLunsheng Wang echo "#define CONFIG_SYSCLK_66M" >>include/config.h ; \ 1274b0e32949SLunsheng Wang echo -n "... 66 MHz PCI" ; \ 1275b0e32949SLunsheng Wang fi ; \ 1276b0e32949SLunsheng Wang if [ "$(findstring _slave_,$@)" ] ; then \ 1277b0e32949SLunsheng Wang echo "#define CONFIG_PCI_SLAVE" >>include/config.h ; \ 1278b0e32949SLunsheng Wang echo " slave" ; \ 1279b0e32949SLunsheng Wang else \ 1280b0e32949SLunsheng Wang echo " host" ; \ 1281b0e32949SLunsheng Wang fi 1282b0e32949SLunsheng Wang @./mkconfig -a MPC8540EVAL ppc mpc85xx mpc8540eval 1283b0e32949SLunsheng Wang 128442d1f039SwdenkMPC8560ADS_config: unconfig 128542d1f039Swdenk @./mkconfig $(@:_config=) ppc mpc85xx mpc8560ads 128642d1f039Swdenk 128703f5c550SwdenkMPC8541CDS_config: unconfig 128803f5c550Swdenk @./mkconfig $(@:_config=) ppc mpc85xx mpc8541cds cds 128903f5c550Swdenk 1290d9b94f28SJon LoeligerMPC8548CDS_config: unconfig 1291d9b94f28SJon Loeliger @./mkconfig $(@:_config=) ppc mpc85xx mpc8548cds cds 1292d9b94f28SJon Loeliger 129303f5c550SwdenkMPC8555CDS_config: unconfig 129403f5c550Swdenk @./mkconfig $(@:_config=) ppc mpc85xx mpc8555cds cds 12957abf0c58Swdenk 1296384cc687SwdenkPM854_config: unconfig 1297384cc687Swdenk @./mkconfig $(@:_config=) ppc mpc85xx pm854 1298384cc687Swdenk 1299b20d0032SWolfgang DenkPM856_config: unconfig 1300b20d0032SWolfgang Denk @./mkconfig $(@:_config=) ppc mpc85xx pm856 1301b20d0032SWolfgang Denk 1302c15f3120Swdenksbc8540_config \ 1303c15f3120Swdenksbc8540_33_config \ 1304c15f3120Swdenksbc8540_66_config: unconfig 1305c15f3120Swdenk @if [ "$(findstring _66_,$@)" ] ; then \ 1306c15f3120Swdenk echo "#define CONFIG_PCI_66" >>include/config.h ; \ 1307c15f3120Swdenk echo "... 66 MHz PCI" ; \ 1308c15f3120Swdenk else \ 1309c15f3120Swdenk >include/config.h ; \ 1310c15f3120Swdenk echo "... 33 MHz PCI" ; \ 1311c15f3120Swdenk fi 1312c15f3120Swdenk @./mkconfig -a SBC8540 ppc mpc85xx sbc8560 1313c15f3120Swdenk 1314466b7410Swdenksbc8560_config \ 1315466b7410Swdenksbc8560_33_config \ 1316466b7410Swdenksbc8560_66_config: unconfig 13178b07a110Swdenk @if [ "$(findstring _66_,$@)" ] ; then \ 13188b07a110Swdenk echo "#define CONFIG_PCI_66" >>include/config.h ; \ 13198b07a110Swdenk echo "... 66 MHz PCI" ; \ 13208b07a110Swdenk else \ 13218b07a110Swdenk >include/config.h ; \ 13228b07a110Swdenk echo "... 33 MHz PCI" ; \ 13238b07a110Swdenk fi 1324466b7410Swdenk @./mkconfig -a sbc8560 ppc mpc85xx sbc8560 13258b07a110Swdenk 132603f5c550Swdenkstxgp3_config: unconfig 132703f5c550Swdenk @./mkconfig $(@:_config=) ppc mpc85xx stxgp3 132803f5c550Swdenk 1329d96f41e0SStefan RoeseTQM8540_config \ 1330d96f41e0SStefan RoeseTQM8541_config \ 1331d96f41e0SStefan RoeseTQM8555_config \ 1332f5c5ef4aSwdenkTQM8560_config: unconfig 1333a889bd27SWolfgang Denk @CTYPE=$(subst TQM,,$(@:_config=)); \ 1334d96f41e0SStefan Roese >include/config.h ; \ 1335d96f41e0SStefan Roese echo "... TQM"$${CTYPE}; \ 1336d96f41e0SStefan Roese echo "#define CONFIG_MPC$${CTYPE}">>include/config.h; \ 1337d96f41e0SStefan Roese echo "#define CONFIG_TQM$${CTYPE}">>include/config.h; \ 1338d96f41e0SStefan Roese echo "#define CONFIG_HOSTNAME tqm$${CTYPE}">>include/config.h; \ 1339d96f41e0SStefan Roese echo "#define CONFIG_BOARDNAME \"TQM$${CTYPE}\"">>include/config.h; \ 1340d96f41e0SStefan Roese echo "#define CFG_BOOTFILE \"bootfile=/tftpboot/tqm$${CTYPE}/uImage\0\"">>include/config.h 1341d96f41e0SStefan Roese @./mkconfig -a TQM85xx ppc mpc85xx tqm85xx 1342f5c5ef4aSwdenk 134342d1f039Swdenk######################################################################### 13447ebf7443Swdenk## 74xx/7xx Systems 13457ebf7443Swdenk######################################################################### 13467ebf7443Swdenk 1347c7de829cSwdenkAmigaOneG3SE_config: unconfig 1348c7de829cSwdenk @./mkconfig $(@:_config=) ppc 74xx_7xx AmigaOneG3SE MAI 1349c7de829cSwdenk 135015647dc7SwdenkBAB7xx_config: unconfig 135115647dc7Swdenk @./mkconfig $(@:_config=) ppc 74xx_7xx bab7xx eltec 135215647dc7Swdenk 1353c419d1d6SstroeseCPCI750_config: unconfig 1354c419d1d6Sstroese @./mkconfig CPCI750 ppc 74xx_7xx cpci750 esd 1355c419d1d6Sstroese 13563a473b2aSwdenkDB64360_config: unconfig 13573a473b2aSwdenk @./mkconfig DB64360 ppc 74xx_7xx db64360 Marvell 13583a473b2aSwdenk 13593a473b2aSwdenkDB64460_config: unconfig 13603a473b2aSwdenk @./mkconfig DB64460 ppc 74xx_7xx db64460 Marvell 13613a473b2aSwdenk 136215647dc7SwdenkELPPC_config: unconfig 136315647dc7Swdenk @./mkconfig $(@:_config=) ppc 74xx_7xx elppc eltec 136415647dc7Swdenk 13657ebf7443SwdenkEVB64260_config \ 13667ebf7443SwdenkEVB64260_750CX_config: unconfig 13677ebf7443Swdenk @./mkconfig EVB64260 ppc 74xx_7xx evb64260 13687ebf7443Swdenk 136915647dc7SwdenkP3G4_config: unconfig 13707ebf7443Swdenk @./mkconfig $(@:_config=) ppc 74xx_7xx evb64260 13717ebf7443Swdenk 13727ebf7443SwdenkPCIPPC2_config \ 13737ebf7443SwdenkPCIPPC6_config: unconfig 13747ebf7443Swdenk @./mkconfig $(@:_config=) ppc 74xx_7xx pcippc2 13757ebf7443Swdenk 137615647dc7SwdenkZUMA_config: unconfig 137712f34241Swdenk @./mkconfig $(@:_config=) ppc 74xx_7xx evb64260 137812f34241Swdenk 13797ebf7443Swdenk#======================================================================== 13807ebf7443Swdenk# ARM 13817ebf7443Swdenk#======================================================================== 13827ebf7443Swdenk######################################################################### 13837ebf7443Swdenk## StrongARM Systems 13847ebf7443Swdenk######################################################################### 13857ebf7443Swdenk 1386ea66bc88Swdenkassabet_config : unconfig 1387ea66bc88Swdenk @./mkconfig $(@:_config=) arm sa1100 assabet 1388ea66bc88Swdenk 13897ebf7443Swdenkdnp1110_config : unconfig 13907ebf7443Swdenk @./mkconfig $(@:_config=) arm sa1100 dnp1110 13917ebf7443Swdenk 1392855a496fSwdenkgcplus_config : unconfig 1393855a496fSwdenk @./mkconfig $(@:_config=) arm sa1100 gcplus 1394855a496fSwdenk 1395855a496fSwdenklart_config : unconfig 1396855a496fSwdenk @./mkconfig $(@:_config=) arm sa1100 lart 1397855a496fSwdenk 13987ebf7443Swdenkshannon_config : unconfig 13997ebf7443Swdenk @./mkconfig $(@:_config=) arm sa1100 shannon 14007ebf7443Swdenk 14017ebf7443Swdenk######################################################################### 14022e5983d2Swdenk## ARM92xT Systems 14037ebf7443Swdenk######################################################################### 14047ebf7443Swdenk 1405b0639ca3Swdenkxtract_trab = $(subst _bigram,,$(subst _bigflash,,$(subst _old,,$(subst _config,,$1)))) 140643d9616cSwdenk 14073ff02c27Swdenkxtract_omap1610xxx = $(subst _cs0boot,,$(subst _cs3boot,,$(subst _cs_autoboot,,$(subst _config,,$1)))) 140863e73c9aSwdenk 1409a56bd922Swdenkxtract_omap730p2 = $(subst _cs0boot,,$(subst _cs3boot,, $(subst _config,,$1))) 1410a56bd922Swdenk 1411a85f9f21Swdenkat91rm9200dk_config : unconfig 1412a85f9f21Swdenk @./mkconfig $(@:_config=) arm arm920t at91rm9200dk NULL at91rm9200 1413a85f9f21Swdenk 1414a85f9f21Swdenkcmc_pu2_config : unconfig 1415a85f9f21Swdenk @./mkconfig $(@:_config=) arm arm920t cmc_pu2 NULL at91rm9200 1416a85f9f21Swdenk 1417645da510SWolfgang Denkcsb637_config : unconfig 1418645da510SWolfgang Denk @./mkconfig $(@:_config=) arm arm920t csb637 NULL at91rm9200 1419645da510SWolfgang Denk 14200e4018d2SWolfgang Denkmp2usb_config : unconfig 14210e4018d2SWolfgang Denk @./mkconfig $(@:_config=) arm arm920t mp2usb NULL at91rm9200 14220e4018d2SWolfgang Denk 142387cb6862SWolfgang Denk 142474f4304eSWolfgang Denk######################################################################## 142587cb6862SWolfgang Denk## ARM Integrator boards - see doc/README-integrator for more info. 142687cb6862SWolfgang Denkintegratorap_config \ 142787cb6862SWolfgang Denkap_config \ 142887cb6862SWolfgang Denkap966_config \ 142987cb6862SWolfgang Denkap922_config \ 143087cb6862SWolfgang Denkap922_XA10_config \ 143187cb6862SWolfgang Denkap7_config \ 143287cb6862SWolfgang Denkap720t_config \ 143387cb6862SWolfgang Denkap920t_config \ 143487cb6862SWolfgang Denkap926ejs_config \ 143587cb6862SWolfgang Denkap946es_config: unconfig 143696782c63SWolfgang Denk @board/integratorap/split_by_variant.sh $@ 14373d3befa7Swdenk 143887cb6862SWolfgang Denkintegratorcp_config \ 143987cb6862SWolfgang Denkcp_config \ 144087cb6862SWolfgang Denkcp920t_config \ 144187cb6862SWolfgang Denkcp926ejs_config \ 144287cb6862SWolfgang Denkcp946es_config \ 144387cb6862SWolfgang Denkcp1136_config \ 144487cb6862SWolfgang Denkcp966_config \ 144587cb6862SWolfgang Denkcp922_config \ 144687cb6862SWolfgang Denkcp922_XA10_config \ 144787cb6862SWolfgang Denkcp1026_config: unconfig 144896782c63SWolfgang Denk @board/integratorcp/split_by_variant.sh $@ 144925d6712aSwdenk 145099b0d285SWolfgang Denkkb9202_config : unconfig 145199b0d285SWolfgang Denk @./mkconfig $(@:_config=) arm arm920t kb9202 NULL at91rm9200 145299b0d285SWolfgang Denk 1453f832d8a1Swdenklpd7a400_config \ 1454f832d8a1Swdenklpd7a404_config: unconfig 14552d24a3a7Swdenk @./mkconfig $(@:_config=) arm lh7a40x lpd7a40x 14563d3befa7Swdenk 1457281e00a3Swdenkmx1ads_config : unconfig 14581d9f4105Swdenk @./mkconfig $(@:_config=) arm arm920t mx1ads NULL imx 1459281e00a3Swdenk 1460281e00a3Swdenkmx1fs2_config : unconfig 14611d9f4105Swdenk @./mkconfig $(@:_config=) arm arm920t mx1fs2 NULL imx 1462281e00a3Swdenk 1463ac7eb8a3SWolfgang Denknetstar_32_config \ 1464ac7eb8a3SWolfgang Denknetstar_config: unconfig 1465ac7eb8a3SWolfgang Denk @if [ "$(findstring _32_,$@)" ] ; then \ 1466ac7eb8a3SWolfgang Denk echo "... 32MB SDRAM" ; \ 1467ac7eb8a3SWolfgang Denk echo "#define PHYS_SDRAM_1_SIZE SZ_32M" >>include/config.h ; \ 1468ac7eb8a3SWolfgang Denk else \ 1469ac7eb8a3SWolfgang Denk echo "... 64MB SDRAM" ; \ 1470ac7eb8a3SWolfgang Denk echo "#define PHYS_SDRAM_1_SIZE SZ_64M" >>include/config.h ; \ 1471ac7eb8a3SWolfgang Denk fi 1472ac7eb8a3SWolfgang Denk @./mkconfig -a netstar arm arm925t netstar 1473ac7eb8a3SWolfgang Denk 14742e5983d2Swdenkomap1510inn_config : unconfig 14752e5983d2Swdenk @./mkconfig $(@:_config=) arm arm925t omap1510inn 14762e5983d2Swdenk 14771eaeb58eSwdenkomap5912osk_config : unconfig 14781eaeb58eSwdenk @./mkconfig $(@:_config=) arm arm926ejs omap5912osk 14791eaeb58eSwdenk 148063e73c9aSwdenkomap1610inn_config \ 148163e73c9aSwdenkomap1610inn_cs0boot_config \ 148263e73c9aSwdenkomap1610inn_cs3boot_config \ 14833ff02c27Swdenkomap1610inn_cs_autoboot_config \ 148463e73c9aSwdenkomap1610h2_config \ 148563e73c9aSwdenkomap1610h2_cs0boot_config \ 14863ff02c27Swdenkomap1610h2_cs3boot_config \ 14873ff02c27Swdenkomap1610h2_cs_autoboot_config: unconfig 148863e73c9aSwdenk @if [ "$(findstring _cs0boot_, $@)" ] ; then \ 148963e73c9aSwdenk echo "#define CONFIG_CS0_BOOT" >> ./include/config.h ; \ 1490b79a11ccSwdenk echo "... configured for CS0 boot"; \ 14913ff02c27Swdenk elif [ "$(findstring _cs_autoboot_, $@)" ] ; then \ 14923ff02c27Swdenk echo "#define CONFIG_CS_AUTOBOOT" >> ./include/config.h ; \ 14933ff02c27Swdenk echo "... configured for CS_AUTO boot"; \ 149463e73c9aSwdenk else \ 149563e73c9aSwdenk echo "#define CONFIG_CS3_BOOT" >> ./include/config.h ; \ 1496b79a11ccSwdenk echo "... configured for CS3 boot"; \ 149763e73c9aSwdenk fi; 149863e73c9aSwdenk @./mkconfig -a $(call xtract_omap1610xxx,$@) arm arm926ejs omap1610inn 14996f21347dSwdenk 1500a56bd922Swdenkomap730p2_config \ 1501a56bd922Swdenkomap730p2_cs0boot_config \ 1502a56bd922Swdenkomap730p2_cs3boot_config : unconfig 1503a56bd922Swdenk @if [ "$(findstring _cs0boot_, $@)" ] ; then \ 1504a56bd922Swdenk echo "#define CONFIG_CS0_BOOT" >> ./include/config.h ; \ 1505a56bd922Swdenk echo "... configured for CS0 boot"; \ 1506a56bd922Swdenk else \ 1507a56bd922Swdenk echo "#define CONFIG_CS3_BOOT" >> ./include/config.h ; \ 1508a56bd922Swdenk echo "... configured for CS3 boot"; \ 1509a56bd922Swdenk fi; 1510a56bd922Swdenk @./mkconfig -a $(call xtract_omap730p2,$@) arm arm926ejs omap730p2 1511a56bd922Swdenk 1512281e00a3Swdenkscb9328_config : unconfig 15131d9f4105Swdenk @./mkconfig $(@:_config=) arm arm920t scb9328 NULL imx 1514281e00a3Swdenk 15157ebf7443Swdenksmdk2400_config : unconfig 15161d9f4105Swdenk @./mkconfig $(@:_config=) arm arm920t smdk2400 NULL s3c24x0 15177ebf7443Swdenk 15187ebf7443Swdenksmdk2410_config : unconfig 15191d9f4105Swdenk @./mkconfig $(@:_config=) arm arm920t smdk2410 NULL s3c24x0 15207ebf7443Swdenk 15212d24a3a7SwdenkSX1_config : unconfig 15222d24a3a7Swdenk @./mkconfig $(@:_config=) arm arm925t sx1 15232d24a3a7Swdenk 1524b2001f27Swdenk# TRAB default configuration: 8 MB Flash, 32 MB RAM 152543d9616cSwdenktrab_config \ 1526b0639ca3Swdenktrab_bigram_config \ 1527b0639ca3Swdenktrab_bigflash_config \ 1528f54ebdfaSwdenktrab_old_config: unconfig 152943d9616cSwdenk @ >include/config.h 1530b0639ca3Swdenk @[ -z "$(findstring _bigram,$@)" ] || \ 1531b0639ca3Swdenk { echo "#define CONFIG_FLASH_8MB" >>include/config.h ; \ 1532b2001f27Swdenk echo "#define CONFIG_RAM_32MB" >>include/config.h ; \ 1533b0639ca3Swdenk echo "... with 8 MB Flash, 32 MB RAM" ; \ 1534b0639ca3Swdenk } 1535b0639ca3Swdenk @[ -z "$(findstring _bigflash,$@)" ] || \ 1536b2001f27Swdenk { echo "#define CONFIG_FLASH_16MB" >>include/config.h ; \ 1537b2001f27Swdenk echo "#define CONFIG_RAM_16MB" >>include/config.h ; \ 1538b0639ca3Swdenk echo "... with 16 MB Flash, 16 MB RAM" ; \ 1539a8c7c708Swdenk echo "TEXT_BASE = 0x0CF40000" >board/trab/config.tmp ; \ 1540b0639ca3Swdenk } 1541f54ebdfaSwdenk @[ -z "$(findstring _old,$@)" ] || \ 1542b2001f27Swdenk { echo "#define CONFIG_FLASH_8MB" >>include/config.h ; \ 1543b2001f27Swdenk echo "#define CONFIG_RAM_16MB" >>include/config.h ; \ 1544b2001f27Swdenk echo "... with 8 MB Flash, 16 MB RAM" ; \ 1545a8c7c708Swdenk echo "TEXT_BASE = 0x0CF40000" >board/trab/config.tmp ; \ 154643d9616cSwdenk } 15471d9f4105Swdenk @./mkconfig -a $(call xtract_trab,$@) arm arm920t trab NULL s3c24x0 15487ebf7443Swdenk 15491cb8e980SwdenkVCMA9_config : unconfig 15501d9f4105Swdenk @./mkconfig $(@:_config=) arm arm920t vcma9 mpl s3c24x0 15511cb8e980Swdenk 155287cb6862SWolfgang Denk#======================================================================== 155387cb6862SWolfgang Denk# ARM supplied Versatile development boards 155487cb6862SWolfgang Denk#======================================================================== 155587cb6862SWolfgang Denkversatile_config \ 155687cb6862SWolfgang Denkversatileab_config \ 155787cb6862SWolfgang Denkversatilepb_config : unconfig 155896782c63SWolfgang Denk @board/versatile/split_by_variant.sh $@ 1559074cff0dSwdenk 15603c2b3d45Swdenkvoiceblue_smallflash_config \ 15613c2b3d45Swdenkvoiceblue_config: unconfig 15623c2b3d45Swdenk @if [ "$(findstring _smallflash_,$@)" ] ; then \ 15633c2b3d45Swdenk echo "... boot from lower flash bank" ; \ 15643c2b3d45Swdenk echo "#define VOICEBLUE_SMALL_FLASH" >>include/config.h ; \ 15653c2b3d45Swdenk echo "VOICEBLUE_SMALL_FLASH=y" >board/voiceblue/config.tmp ; \ 15663c2b3d45Swdenk else \ 15673c2b3d45Swdenk echo "... boot from upper flash bank" ; \ 15683c2b3d45Swdenk >include/config.h ; \ 15693c2b3d45Swdenk echo "VOICEBLUE_SMALL_FLASH=n" >board/voiceblue/config.tmp ; \ 15703c2b3d45Swdenk fi 15713c2b3d45Swdenk @./mkconfig -a voiceblue arm arm925t voiceblue 15723c2b3d45Swdenk 157316b013e7Swdenkcm4008_config : unconfig 157416b013e7Swdenk @./mkconfig $(@:_config=) arm arm920t cm4008 NULL ks8695 157516b013e7Swdenk 157616b013e7Swdenkcm41xx_config : unconfig 157716b013e7Swdenk @./mkconfig $(@:_config=) arm arm920t cm41xx NULL ks8695 157816b013e7Swdenk 1579074cff0dSwdenk######################################################################### 1580074cff0dSwdenk## S3C44B0 Systems 1581074cff0dSwdenk######################################################################### 1582074cff0dSwdenk 1583074cff0dSwdenkB2_config : unconfig 1584074cff0dSwdenk @./mkconfig $(@:_config=) arm s3c44b0 B2 dave 1585074cff0dSwdenk 15867ebf7443Swdenk######################################################################### 15877ebf7443Swdenk## ARM720T Systems 15887ebf7443Swdenk######################################################################### 15897ebf7443Swdenk 1590c570b2fdSWolfgang Denkarmadillo_config: unconfig 1591c570b2fdSWolfgang Denk @./mkconfig $(@:_config=) arm arm720t armadillo 1592c570b2fdSWolfgang Denk 15937ebf7443Swdenkep7312_config : unconfig 15947ebf7443Swdenk @./mkconfig $(@:_config=) arm arm720t ep7312 15957ebf7443Swdenk 15962d24a3a7Swdenkimpa7_config : unconfig 15972d24a3a7Swdenk @./mkconfig $(@:_config=) arm arm720t impa7 15982d24a3a7Swdenk 15992d1a537dSwdenkmodnet50_config : unconfig 16002d1a537dSwdenk @./mkconfig $(@:_config=) arm arm720t modnet50 16012d1a537dSwdenk 160239539887Swdenkevb4510_config : unconfig 160339539887Swdenk @./mkconfig $(@:_config=) arm arm720t evb4510 160439539887Swdenk 16057ebf7443Swdenk######################################################################### 160643d9616cSwdenk## XScale Systems 16077ebf7443Swdenk######################################################################### 16087ebf7443Swdenk 160920787e23Swdenkadsvix_config : unconfig 161020787e23Swdenk @./mkconfig $(@:_config=) arm pxa adsvix 161120787e23Swdenk 1612fabd46acSwdenkcerf250_config : unconfig 1613fabd46acSwdenk @./mkconfig $(@:_config=) arm pxa cerf250 1614fabd46acSwdenk 16157ebf7443Swdenkcradle_config : unconfig 16164c3b21a5Swdenk @./mkconfig $(@:_config=) arm pxa cradle 16177ebf7443Swdenk 16187ebf7443Swdenkcsb226_config : unconfig 16194c3b21a5Swdenk @./mkconfig $(@:_config=) arm pxa csb226 16207ebf7443Swdenk 162143d9616cSwdenkinnokom_config : unconfig 16224c3b21a5Swdenk @./mkconfig $(@:_config=) arm pxa innokom 162343d9616cSwdenk 16242d5b561eSwdenkixdp425_config : unconfig 16252d5b561eSwdenk @./mkconfig $(@:_config=) arm ixp ixdp425 16262d5b561eSwdenk 162743d9616cSwdenklubbock_config : unconfig 16284c3b21a5Swdenk @./mkconfig $(@:_config=) arm pxa lubbock 162943d9616cSwdenk 163052f52c14Swdenklogodl_config : unconfig 163152f52c14Swdenk @./mkconfig $(@:_config=) arm pxa logodl 163252f52c14Swdenk 1633f57f70aaSWolfgang Denkpxa255_idp_config: unconfig 1634f57f70aaSWolfgang Denk @./mkconfig $(@:_config=) arm pxa pxa255_idp 1635f57f70aaSWolfgang Denk 16363e38691eSwdenkwepep250_config : unconfig 16374c3b21a5Swdenk @./mkconfig $(@:_config=) arm pxa wepep250 16383e38691eSwdenk 16394ec3a7f0Swdenkxaeniax_config : unconfig 16404ec3a7f0Swdenk @./mkconfig $(@:_config=) arm pxa xaeniax 16414ec3a7f0Swdenk 1642efa329cbSwdenkxm250_config : unconfig 1643efa329cbSwdenk @./mkconfig $(@:_config=) arm pxa xm250 1644efa329cbSwdenk 1645ca0e7748Swdenkxsengine_config : unconfig 1646ca0e7748Swdenk @./mkconfig $(@:_config=) arm pxa xsengine 1647ca0e7748Swdenk 16488ed96046Swdenk######################################################################### 16498ed96046Swdenk## ARM1136 Systems 16508ed96046Swdenk######################################################################### 16518ed96046Swdenkomap2420h4_config : unconfig 16528ed96046Swdenk @./mkconfig $(@:_config=) arm arm1136 omap2420h4 16538ed96046Swdenk 16542262cfeeSwdenk#======================================================================== 16552262cfeeSwdenk# i386 16562262cfeeSwdenk#======================================================================== 16572262cfeeSwdenk######################################################################### 16582262cfeeSwdenk## AMD SC520 CDP 16592262cfeeSwdenk######################################################################### 16602262cfeeSwdenksc520_cdp_config : unconfig 16612262cfeeSwdenk @./mkconfig $(@:_config=) i386 i386 sc520_cdp 16622262cfeeSwdenk 16637a8e9bedSwdenksc520_spunk_config : unconfig 16647a8e9bedSwdenk @./mkconfig $(@:_config=) i386 i386 sc520_spunk 16657a8e9bedSwdenk 16667a8e9bedSwdenksc520_spunk_rel_config : unconfig 16677a8e9bedSwdenk @./mkconfig $(@:_config=) i386 i386 sc520_spunk 16687a8e9bedSwdenk 166943d9616cSwdenk#======================================================================== 167043d9616cSwdenk# MIPS 167143d9616cSwdenk#======================================================================== 16727ebf7443Swdenk######################################################################### 167343d9616cSwdenk## MIPS32 4Kc 167443d9616cSwdenk######################################################################### 167543d9616cSwdenk 1676e0ac62d7Swdenkxtract_incaip = $(subst _100MHz,,$(subst _133MHz,,$(subst _150MHz,,$(subst _config,,$1)))) 1677e0ac62d7Swdenk 1678e0ac62d7Swdenkincaip_100MHz_config \ 1679e0ac62d7Swdenkincaip_133MHz_config \ 1680e0ac62d7Swdenkincaip_150MHz_config \ 168143d9616cSwdenkincaip_config: unconfig 1682e0ac62d7Swdenk @ >include/config.h 1683e0ac62d7Swdenk @[ -z "$(findstring _100MHz,$@)" ] || \ 1684e0ac62d7Swdenk { echo "#define CPU_CLOCK_RATE 100000000" >>include/config.h ; \ 1685e0ac62d7Swdenk echo "... with 100MHz system clock" ; \ 1686e0ac62d7Swdenk } 1687e0ac62d7Swdenk @[ -z "$(findstring _133MHz,$@)" ] || \ 1688e0ac62d7Swdenk { echo "#define CPU_CLOCK_RATE 133000000" >>include/config.h ; \ 1689e0ac62d7Swdenk echo "... with 133MHz system clock" ; \ 1690e0ac62d7Swdenk } 1691e0ac62d7Swdenk @[ -z "$(findstring _150MHz,$@)" ] || \ 1692e0ac62d7Swdenk { echo "#define CPU_CLOCK_RATE 150000000" >>include/config.h ; \ 1693e0ac62d7Swdenk echo "... with 150MHz system clock" ; \ 1694e0ac62d7Swdenk } 1695e0ac62d7Swdenk @./mkconfig -a $(call xtract_incaip,$@) mips mips incaip 1696e0ac62d7Swdenk 1697f4863a7aSwdenktb0229_config: unconfig 1698f4863a7aSwdenk @./mkconfig $(@:_config=) mips mips tb0229 1699f4863a7aSwdenk 1700e0ac62d7Swdenk######################################################################### 170169459791Swdenk## MIPS32 AU1X00 170269459791Swdenk######################################################################### 170369459791Swdenkdbau1000_config : unconfig 170469459791Swdenk @ >include/config.h 170569459791Swdenk @echo "#define CONFIG_DBAU1000 1" >>include/config.h 170669459791Swdenk @./mkconfig -a dbau1x00 mips mips dbau1x00 170769459791Swdenk 170869459791Swdenkdbau1100_config : unconfig 170969459791Swdenk @ >include/config.h 171069459791Swdenk @echo "#define CONFIG_DBAU1100 1" >>include/config.h 171169459791Swdenk @./mkconfig -a dbau1x00 mips mips dbau1x00 171269459791Swdenk 171369459791Swdenkdbau1500_config : unconfig 171469459791Swdenk @ >include/config.h 171569459791Swdenk @echo "#define CONFIG_DBAU1500 1" >>include/config.h 171669459791Swdenk @./mkconfig -a dbau1x00 mips mips dbau1x00 171769459791Swdenk 1718ff36fd85Swdenkdbau1550_config : unconfig 1719ff36fd85Swdenk @ >include/config.h 1720ff36fd85Swdenk @echo "#define CONFIG_DBAU1550 1" >>include/config.h 1721ff36fd85Swdenk @./mkconfig -a dbau1x00 mips mips dbau1x00 1722ff36fd85Swdenk 1723ff36fd85Swdenkdbau1550_el_config : unconfig 1724ff36fd85Swdenk @ >include/config.h 1725ff36fd85Swdenk @echo "#define CONFIG_DBAU1550 1" >>include/config.h 172621919230SWolfgang Denk @./mkconfig -a dbau1x00 mips mips dbau1x00 1727ff36fd85Swdenk 1728265817c7SWolfgang Denkpb1000_config : unconfig 1729265817c7SWolfgang Denk @ >include/config.h 1730265817c7SWolfgang Denk @echo "#define CONFIG_PB1000 1" >>include/config.h 1731265817c7SWolfgang Denk @./mkconfig -a pb1x00 mips mips pb1x00 1732265817c7SWolfgang Denk 173369459791Swdenk######################################################################### 1734e0ac62d7Swdenk## MIPS64 5Kc 1735e0ac62d7Swdenk######################################################################### 173643d9616cSwdenk 17373e38691eSwdenkpurple_config : unconfig 17383e38691eSwdenk @./mkconfig $(@:_config=) mips mips purple 173943d9616cSwdenk 17404a551709Swdenk#======================================================================== 17414a551709Swdenk# Nios 17424a551709Swdenk#======================================================================== 17434a551709Swdenk######################################################################### 17444a551709Swdenk## Nios32 17454a551709Swdenk######################################################################### 17464a551709Swdenk 1747c935d3bdSwdenkDK1C20_safe_32_config \ 1748c935d3bdSwdenkDK1C20_standard_32_config \ 17494a551709SwdenkDK1C20_config: unconfig 1750c935d3bdSwdenk @ >include/config.h 1751c935d3bdSwdenk @[ -z "$(findstring _safe_32,$@)" ] || \ 1752c935d3bdSwdenk { echo "#define CONFIG_NIOS_SAFE_32 1" >>include/config.h ; \ 1753c935d3bdSwdenk echo "... NIOS 'safe_32' configuration" ; \ 1754c935d3bdSwdenk } 1755c935d3bdSwdenk @[ -z "$(findstring _standard_32,$@)" ] || \ 1756c935d3bdSwdenk { echo "#define CONFIG_NIOS_STANDARD_32 1" >>include/config.h ; \ 1757c935d3bdSwdenk echo "... NIOS 'standard_32' configuration" ; \ 1758c935d3bdSwdenk } 1759c935d3bdSwdenk @[ -z "$(findstring DK1C20_config,$@)" ] || \ 1760c935d3bdSwdenk { echo "#define CONFIG_NIOS_STANDARD_32 1" >>include/config.h ; \ 1761c935d3bdSwdenk echo "... NIOS 'standard_32' configuration (DEFAULT)" ; \ 1762c935d3bdSwdenk } 1763c935d3bdSwdenk @./mkconfig -a DK1C20 nios nios dk1c20 altera 1764c935d3bdSwdenk 1765c935d3bdSwdenkDK1S10_safe_32_config \ 1766c935d3bdSwdenkDK1S10_standard_32_config \ 1767ec4c544bSwdenkDK1S10_mtx_ldk_20_config \ 1768c935d3bdSwdenkDK1S10_config: unconfig 1769c935d3bdSwdenk @ >include/config.h 1770c935d3bdSwdenk @[ -z "$(findstring _safe_32,$@)" ] || \ 1771c935d3bdSwdenk { echo "#define CONFIG_NIOS_SAFE_32 1" >>include/config.h ; \ 1772c935d3bdSwdenk echo "... NIOS 'safe_32' configuration" ; \ 1773c935d3bdSwdenk } 1774c935d3bdSwdenk @[ -z "$(findstring _standard_32,$@)" ] || \ 1775c935d3bdSwdenk { echo "#define CONFIG_NIOS_STANDARD_32 1" >>include/config.h ; \ 1776c935d3bdSwdenk echo "... NIOS 'standard_32' configuration" ; \ 1777c935d3bdSwdenk } 1778ec4c544bSwdenk @[ -z "$(findstring _mtx_ldk_20,$@)" ] || \ 1779ec4c544bSwdenk { echo "#define CONFIG_NIOS_MTX_LDK_20 1" >>include/config.h ; \ 1780ec4c544bSwdenk echo "... NIOS 'mtx_ldk_20' configuration" ; \ 1781ec4c544bSwdenk } 1782c935d3bdSwdenk @[ -z "$(findstring DK1S10_config,$@)" ] || \ 1783c935d3bdSwdenk { echo "#define CONFIG_NIOS_STANDARD_32 1" >>include/config.h ; \ 1784c935d3bdSwdenk echo "... NIOS 'standard_32' configuration (DEFAULT)" ; \ 1785c935d3bdSwdenk } 1786c935d3bdSwdenk @./mkconfig -a DK1S10 nios nios dk1s10 altera 17874a551709Swdenk 1788aaf224abSwdenkADNPESC1_DNPEVA2_base_32_config \ 1789aaf224abSwdenkADNPESC1_base_32_config \ 1790aaf224abSwdenkADNPESC1_config: unconfig 1791aaf224abSwdenk @ >include/config.h 1792aaf224abSwdenk @[ -z "$(findstring _DNPEVA2,$@)" ] || \ 1793aaf224abSwdenk { echo "#define CONFIG_DNPEVA2 1" >>include/config.h ; \ 1794aaf224abSwdenk echo "... DNP/EVA2 configuration" ; \ 1795aaf224abSwdenk } 1796aaf224abSwdenk @[ -z "$(findstring _base_32,$@)" ] || \ 1797aaf224abSwdenk { echo "#define CONFIG_NIOS_BASE_32 1" >>include/config.h ; \ 1798aaf224abSwdenk echo "... NIOS 'base_32' configuration" ; \ 1799aaf224abSwdenk } 1800aaf224abSwdenk @[ -z "$(findstring ADNPESC1_config,$@)" ] || \ 1801aaf224abSwdenk { echo "#define CONFIG_NIOS_BASE_32 1" >>include/config.h ; \ 1802aaf224abSwdenk echo "... NIOS 'base_32' configuration (DEFAULT)" ; \ 1803aaf224abSwdenk } 1804aaf224abSwdenk @./mkconfig -a ADNPESC1 nios nios adnpesc1 ssv 1805aaf224abSwdenk 18065c952cf0Swdenk######################################################################### 18075c952cf0Swdenk## Nios-II 18085c952cf0Swdenk######################################################################### 18095c952cf0Swdenk 18105c952cf0SwdenkPK1C20_config : unconfig 18115c952cf0Swdenk @./mkconfig PK1C20 nios2 nios2 pk1c20 psyent 18125c952cf0Swdenk 18135c952cf0SwdenkPCI5441_config : unconfig 18145c952cf0Swdenk @./mkconfig PCI5441 nios2 nios2 pci5441 psyent 18154a551709Swdenk 1816507bbe3eSwdenk#======================================================================== 1817507bbe3eSwdenk# MicroBlaze 1818507bbe3eSwdenk#======================================================================== 1819507bbe3eSwdenk######################################################################### 1820507bbe3eSwdenk## Microblaze 1821507bbe3eSwdenk######################################################################### 1822507bbe3eSwdenksuzaku_config: unconfig 1823507bbe3eSwdenk @ >include/config.h 1824507bbe3eSwdenk @echo "#define CONFIG_SUZAKU 1" >> include/config.h 1825507bbe3eSwdenk @./mkconfig -a $(@:_config=) microblaze microblaze suzaku AtmarkTechno 1826507bbe3eSwdenk 18273e38691eSwdenk######################################################################### 18283e38691eSwdenk######################################################################### 18297ebf7443Swdenk 18307ebf7443Swdenkclean: 18317ebf7443Swdenk find . -type f \ 18327ebf7443Swdenk \( -name 'core' -o -name '*.bak' -o -name '*~' \ 18337ebf7443Swdenk -o -name '*.o' -o -name '*.a' \) -print \ 18347ebf7443Swdenk | xargs rm -f 183585ec0bccSwdenk rm -f examples/hello_world examples/timer \ 18363e38691eSwdenk examples/eepro100_eeprom examples/sched \ 1837ed16fefcSwdenk examples/mem_to_mem_idma2intr examples/82559_eeprom \ 1838ed16fefcSwdenk examples/test_burst 18397ebf7443Swdenk rm -f tools/img2srec tools/mkimage tools/envcrc tools/gen_eth_addr 1840eedcd078Swdenk rm -f tools/mpc86x_clk tools/ncb 18417ebf7443Swdenk rm -f tools/easylogo/easylogo tools/bmp_logo 18427ebf7443Swdenk rm -f tools/gdb/astest tools/gdb/gdbcont tools/gdb/gdbsend 1843228f29acSwdenk rm -f tools/env/fw_printenv tools/env/fw_setenv 18447f70e853Swdenk rm -f board/cray/L1/bootscript.c board/cray/L1/bootscript.image 18450e1fb5eeSWolfgang Denk rm -f board/trab/trab_fkt board/voiceblue/eeprom 184687cb6862SWolfgang Denk rm -f board/integratorap/u-boot.lds board/integratorcp/u-boot.lds 18477ebf7443Swdenk 18487ebf7443Swdenkclobber: clean 18494c0d4c3bSwdenk find . -type f \( -name .depend \ 18504c0d4c3bSwdenk -o -name '*.srec' -o -name '*.bin' -o -name u-boot.img \) \ 18514c0d4c3bSwdenk -print0 \ 18524c0d4c3bSwdenk | xargs -0 rm -f 18537ebf7443Swdenk rm -f $(OBJS) *.bak tags TAGS 18547ebf7443Swdenk rm -fr *.*~ 18556310eb9dSwdenk rm -f u-boot u-boot.map u-boot.hex $(ALL) 1856228f29acSwdenk rm -f tools/crc32.c tools/environment.c tools/env/crc32.c 18573e38691eSwdenk rm -f tools/inca-swap-bytes cpu/mpc824x/bedbug_603e.c 1858b783edaeSwdenk rm -f include/asm/proc include/asm/arch include/asm 18597ebf7443Swdenk 18607ebf7443Swdenkmrproper \ 18617ebf7443Swdenkdistclean: clobber unconfig 18627ebf7443Swdenk 18637ebf7443Swdenkbackup: 18647ebf7443Swdenk F=`basename $(TOPDIR)` ; cd .. ; \ 18657ebf7443Swdenk gtar --force-local -zcvf `date "+$$F-%Y-%m-%d-%T.tar.gz"` $$F 18667ebf7443Swdenk 18677ebf7443Swdenk######################################################################### 1868