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 297df04a3dfSWolfgang Denko2dnt_config: 298df04a3dfSWolfgang Denk @./mkconfig -a o2dnt ppc mpc5xxx o2dnt 299df04a3dfSWolfgang Denk 3005e4b3361SStefan Roesepf5200_config: unconfig 3015e4b3361SStefan Roese @./mkconfig -a pf5200 ppc mpc5xxx pf5200 esd 3025e4b3361SStefan Roese 30389394047SwdenkPM520_config \ 30489394047SwdenkPM520_DDR_config \ 30589394047SwdenkPM520_ROMBOOT_config \ 30689394047SwdenkPM520_ROMBOOT_DDR_config: unconfig 30789394047Swdenk @ >include/config.h 30889394047Swdenk @[ -z "$(findstring DDR,$@)" ] || \ 30989394047Swdenk { echo "#define CONFIG_MPC5200_DDR" >>include/config.h ; \ 31089394047Swdenk echo "... DDR memory revision" ; \ 31189394047Swdenk } 31289394047Swdenk @[ -z "$(findstring ROMBOOT,$@)" ] || \ 31389394047Swdenk { echo "#define CONFIG_BOOT_ROM" >>include/config.h ; \ 31489394047Swdenk echo "... booting from 8-bit flash" ; \ 31589394047Swdenk } 31689394047Swdenk @./mkconfig -a PM520 ppc mpc5xxx pm520 31789394047Swdenk 318*9cdc8386SWolfgang DenkSMMACO4_config: unconfig 319*9cdc8386SWolfgang Denk @./mkconfig -a SMMACO4 ppc mpc5xxx tqm5200 320*9cdc8386SWolfgang Denk 321*9cdc8386SWolfgang Denkspieval_config: unconfig 322*9cdc8386SWolfgang Denk echo "#define CONFIG_CS_AUTOCONF">>include/config.h 323*9cdc8386SWolfgang Denk echo "... with automatic CS configuration" 324*9cdc8386SWolfgang Denk @./mkconfig -a spieval ppc mpc5xxx tqm5200 325*9cdc8386SWolfgang Denk 326d4ca31c4SwdenkMINI5200_config \ 327d4ca31c4SwdenkEVAL5200_config \ 328d4ca31c4SwdenkTOP5200_config: unconfig 329d4ca31c4Swdenk @ echo "#define CONFIG_$(@:_config=) 1" >include/config.h 330d4ca31c4Swdenk @./mkconfig -a TOP5200 ppc mpc5xxx top5200 emk 331d4ca31c4Swdenk 3326c7a1408SwdenkTotal5100_config \ 3336c7a1408SwdenkTotal5200_config \ 3346c7a1408SwdenkTotal5200_lowboot_config \ 3356c7a1408SwdenkTotal5200_Rev2_config \ 3366c7a1408SwdenkTotal5200_Rev2_lowboot_config: unconfig 3376c7a1408Swdenk @ >include/config.h 3386c7a1408Swdenk @[ -z "$(findstring 5100,$@)" ] || \ 3396c7a1408Swdenk { echo "#define CONFIG_MGT5100" >>include/config.h ; \ 3406c7a1408Swdenk echo "... with MGT5100 processor" ; \ 3416c7a1408Swdenk } 3426c7a1408Swdenk @[ -z "$(findstring 5200,$@)" ] || \ 3436c7a1408Swdenk { echo "#define CONFIG_MPC5200" >>include/config.h ; \ 3446c7a1408Swdenk echo "... with MPC5200 processor" ; \ 3456c7a1408Swdenk } 3466c7a1408Swdenk @[ -n "$(findstring Rev,$@)" ] || \ 3476c7a1408Swdenk { echo "#define CONFIG_TOTAL5200_REV 1" >>include/config.h ; \ 3486c7a1408Swdenk echo "... revision 1 board" ; \ 3496c7a1408Swdenk } 3506c7a1408Swdenk @[ -z "$(findstring Rev2_,$@)" ] || \ 3516c7a1408Swdenk { echo "#define CONFIG_TOTAL5200_REV 2" >>include/config.h ; \ 3526c7a1408Swdenk echo "... revision 2 board" ; \ 3536c7a1408Swdenk } 3546c7a1408Swdenk @[ -z "$(findstring lowboot_,$@)" ] || \ 3556c7a1408Swdenk { echo "TEXT_BASE = 0xFE000000" >board/total5200/config.tmp ; \ 3566c7a1408Swdenk echo "... with lowboot configuration" ; \ 3576c7a1408Swdenk } 3586c7a1408Swdenk @./mkconfig -a Total5200 ppc mpc5xxx total5200 3596c7a1408Swdenk 3607e6bf358SwdenkTQM5200_auto_config \ 36156523f12SwdenkTQM5200_AA_config \ 36256523f12SwdenkTQM5200_AB_config \ 36356523f12SwdenkTQM5200_AC_config \ 36456523f12SwdenkMiniFAP_config: unconfig 36556523f12Swdenk @ >include/config.h 36689394047Swdenk @[ -z "$(findstring MiniFAP,$@)" ] || \ 36756523f12Swdenk { echo "#define CONFIG_MINIFAP" >>include/config.h ; \ 36856523f12Swdenk echo "#define CONFIG_TQM5200_AC" >>include/config.h ; \ 36989394047Swdenk echo "... TQM5200_AC on MiniFAP" ; \ 37056523f12Swdenk } 37156523f12Swdenk @[ -z "$(findstring AA,$@)" ] || \ 37256523f12Swdenk { echo "#define CONFIG_TQM5200_AA" >>include/config.h ; \ 37356523f12Swdenk echo "... with 4 MB Flash, 16 MB SDRAM, 32 kB EEPROM" ; \ 37456523f12Swdenk } 37556523f12Swdenk @[ -z "$(findstring AB,$@)" ] || \ 37656523f12Swdenk { echo "#define CONFIG_TQM5200_AB" >>include/config.h ; \ 37756523f12Swdenk echo "... with 64 MB Flash, 64 MB SDRAM, 32 kB EEPROM, 512 kB SRAM" ; \ 37831a64923Swdenk echo "... with Graphics Controller"; \ 37956523f12Swdenk } 38056523f12Swdenk @[ -z "$(findstring AC,$@)" ] || \ 38156523f12Swdenk { echo "#define CONFIG_TQM5200_AC" >>include/config.h ; \ 38256523f12Swdenk echo "... with 4 MB Flash, 128 MB SDRAM" ; \ 38331a64923Swdenk echo "... with Graphics Controller"; \ 38456523f12Swdenk } 3857e6bf358Swdenk @[ -z "$(findstring auto,$@)" ] || \ 3867e6bf358Swdenk { echo "#define CONFIG_CS_AUTOCONF" >>include/config.h ; \ 3877e6bf358Swdenk echo "... with automatic CS configuration" ; \ 3887e6bf358Swdenk } 38956523f12Swdenk @./mkconfig -a TQM5200 ppc mpc5xxx tqm5200 39056523f12Swdenk 391945af8d7Swdenk######################################################################### 3927ebf7443Swdenk## MPC8xx Systems 3937ebf7443Swdenk######################################################################### 3947ebf7443Swdenk 3952d24a3a7SwdenkAdder_config \ 3962d24a3a7SwdenkAdder87x_config \ 39726238132SwdenkAdderII_config \ 3982d24a3a7Swdenk : unconfig 39926238132Swdenk $(if $(findstring AdderII,$@), \ 4002d24a3a7Swdenk @echo "#define CONFIG_MPC852T" > include/config.h) 4012d24a3a7Swdenk @./mkconfig -a Adder ppc mpc8xx adder 4022d24a3a7Swdenk 403180d3f74SwdenkADS860_config \ 404180d3f74SwdenkFADS823_config \ 405180d3f74SwdenkFADS850SAR_config \ 406180d3f74SwdenkMPC86xADS_config \ 4071114257cSwdenkMPC885ADS_config \ 408180d3f74SwdenkFADS860T_config: unconfig 4097ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx fads 4107ebf7443Swdenk 4117ebf7443SwdenkAMX860_config : unconfig 4127ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx amx860 westel 4137ebf7443Swdenk 4147ebf7443Swdenkc2mon_config: unconfig 4157ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx c2mon 4167ebf7443Swdenk 4177ebf7443SwdenkCCM_config: unconfig 4187ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx CCM siemens 4197ebf7443Swdenk 4207ebf7443Swdenkcogent_mpc8xx_config: unconfig 4217ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx cogent 4227ebf7443Swdenk 4233bac3513SwdenkELPT860_config: unconfig 4243bac3513Swdenk @./mkconfig $(@:_config=) ppc mpc8xx elpt860 LEOX 4253bac3513Swdenk 4267ebf7443SwdenkESTEEM192E_config: unconfig 4277ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx esteem192e 4287ebf7443Swdenk 4297ebf7443SwdenkETX094_config : unconfig 4307ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx etx094 4317ebf7443Swdenk 4327ebf7443SwdenkFLAGADM_config: unconfig 4337ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx flagadm 4347ebf7443Swdenk 4357aa78614Swdenkxtract_GEN860T = $(subst _SC,,$(subst _config,,$1)) 4367aa78614Swdenk 4377aa78614SwdenkGEN860T_SC_config \ 4387ebf7443SwdenkGEN860T_config: unconfig 4397aa78614Swdenk @ >include/config.h 4407aa78614Swdenk @[ -z "$(findstring _SC,$@)" ] || \ 4417aa78614Swdenk { echo "#define CONFIG_SC" >>include/config.h ; \ 4427aa78614Swdenk echo "With reduced H/W feature set (SC)..." ; \ 4437aa78614Swdenk } 4447aa78614Swdenk @./mkconfig -a $(call xtract_GEN860T,$@) ppc mpc8xx gen860t 4457ebf7443Swdenk 4467ebf7443SwdenkGENIETV_config: unconfig 4477ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx genietv 4487ebf7443Swdenk 4497ebf7443SwdenkGTH_config: unconfig 4507ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx gth 4517ebf7443Swdenk 4527ebf7443Swdenkhermes_config : unconfig 4537ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx hermes 4547ebf7443Swdenk 455c40b2956SwdenkHMI10_config : unconfig 456c40b2956Swdenk @./mkconfig $(@:_config=) ppc mpc8xx tqm8xx 457c40b2956Swdenk 4587ebf7443SwdenkIAD210_config: unconfig 4597ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx IAD210 siemens 4607ebf7443Swdenk 4617ebf7443Swdenkxtract_ICU862 = $(subst _100MHz,,$(subst _config,,$1)) 4627ebf7443Swdenk 4637ebf7443SwdenkICU862_100MHz_config \ 4647ebf7443SwdenkICU862_config: unconfig 4657ebf7443Swdenk @ >include/config.h 4667ebf7443Swdenk @[ -z "$(findstring _100MHz,$@)" ] || \ 4677ebf7443Swdenk { echo "#define CONFIG_100MHz" >>include/config.h ; \ 4687ebf7443Swdenk echo "... with 100MHz system clock" ; \ 4697ebf7443Swdenk } 4707ebf7443Swdenk @./mkconfig -a $(call xtract_ICU862,$@) ppc mpc8xx icu862 4717ebf7443Swdenk 4727ebf7443SwdenkIP860_config : unconfig 4737ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx ip860 4747ebf7443Swdenk 4757ebf7443SwdenkIVML24_256_config \ 4767ebf7443SwdenkIVML24_128_config \ 4777ebf7443SwdenkIVML24_config: unconfig 4787ebf7443Swdenk @ >include/config.h 4797ebf7443Swdenk @[ -z "$(findstring IVML24_config,$@)" ] || \ 4807ebf7443Swdenk { echo "#define CONFIG_IVML24_16M" >>include/config.h ; \ 4817ebf7443Swdenk } 4827ebf7443Swdenk @[ -z "$(findstring IVML24_128_config,$@)" ] || \ 4837ebf7443Swdenk { echo "#define CONFIG_IVML24_32M" >>include/config.h ; \ 4847ebf7443Swdenk } 4857ebf7443Swdenk @[ -z "$(findstring IVML24_256_config,$@)" ] || \ 4867ebf7443Swdenk { echo "#define CONFIG_IVML24_64M" >>include/config.h ; \ 4877ebf7443Swdenk } 4887ebf7443Swdenk @./mkconfig -a IVML24 ppc mpc8xx ivm 4897ebf7443Swdenk 4907ebf7443SwdenkIVMS8_256_config \ 4917ebf7443SwdenkIVMS8_128_config \ 4927ebf7443SwdenkIVMS8_config: unconfig 4937ebf7443Swdenk @ >include/config.h 4947ebf7443Swdenk @[ -z "$(findstring IVMS8_config,$@)" ] || \ 4957ebf7443Swdenk { echo "#define CONFIG_IVMS8_16M" >>include/config.h ; \ 4967ebf7443Swdenk } 4977ebf7443Swdenk @[ -z "$(findstring IVMS8_128_config,$@)" ] || \ 4987ebf7443Swdenk { echo "#define CONFIG_IVMS8_32M" >>include/config.h ; \ 4997ebf7443Swdenk } 5007ebf7443Swdenk @[ -z "$(findstring IVMS8_256_config,$@)" ] || \ 5017ebf7443Swdenk { echo "#define CONFIG_IVMS8_64M" >>include/config.h ; \ 5027ebf7443Swdenk } 5037ebf7443Swdenk @./mkconfig -a IVMS8 ppc mpc8xx ivm 5047ebf7443Swdenk 50556f94be3SwdenkKUP4K_config : unconfig 5060608e04dSwdenk @./mkconfig $(@:_config=) ppc mpc8xx kup4k kup 5070608e04dSwdenk 5080608e04dSwdenkKUP4X_config : unconfig 5090608e04dSwdenk @./mkconfig $(@:_config=) ppc mpc8xx kup4x kup 51056f94be3Swdenk 5117ebf7443SwdenkLANTEC_config : unconfig 5127ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx lantec 5137ebf7443Swdenk 5147ebf7443Swdenklwmon_config: unconfig 5157ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx lwmon 5167ebf7443Swdenk 5177ebf7443SwdenkMBX_config \ 5187ebf7443SwdenkMBX860T_config: unconfig 5197ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx mbx8xx 5207ebf7443Swdenk 5217ebf7443SwdenkMHPC_config: unconfig 5227ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx mhpc eltec 5237ebf7443Swdenk 5247ebf7443SwdenkMVS1_config : unconfig 5257ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx mvs1 5267ebf7443Swdenk 527993cad93Swdenkxtract_NETVIA = $(subst _V2,,$(subst _config,,$1)) 528993cad93Swdenk 529993cad93SwdenkNETVIA_V2_config \ 5307ebf7443SwdenkNETVIA_config: unconfig 531993cad93Swdenk @ >include/config.h 532993cad93Swdenk @[ -z "$(findstring NETVIA_config,$@)" ] || \ 533993cad93Swdenk { echo "#define CONFIG_NETVIA_VERSION 1" >>include/config.h ; \ 534993cad93Swdenk echo "... Version 1" ; \ 535993cad93Swdenk } 536993cad93Swdenk @[ -z "$(findstring NETVIA_V2_config,$@)" ] || \ 537993cad93Swdenk { echo "#define CONFIG_NETVIA_VERSION 2" >>include/config.h ; \ 538993cad93Swdenk echo "... Version 2" ; \ 539993cad93Swdenk } 540993cad93Swdenk @./mkconfig -a $(call xtract_NETVIA,$@) ppc mpc8xx netvia 5417ebf7443Swdenk 542c26e454dSwdenkxtract_NETPHONE = $(subst _V2,,$(subst _config,,$1)) 543c26e454dSwdenk 544c26e454dSwdenkNETPHONE_V2_config \ 54504a85b3bSwdenkNETPHONE_config: unconfig 546c26e454dSwdenk @ >include/config.h 547c26e454dSwdenk @[ -z "$(findstring NETPHONE_config,$@)" ] || \ 548c26e454dSwdenk { echo "#define CONFIG_NETPHONE_VERSION 1" >>include/config.h ; \ 549c26e454dSwdenk } 550c26e454dSwdenk @[ -z "$(findstring NETPHONE_V2_config,$@)" ] || \ 551c26e454dSwdenk { echo "#define CONFIG_NETPHONE_VERSION 2" >>include/config.h ; \ 552c26e454dSwdenk } 553c26e454dSwdenk @./mkconfig -a $(call xtract_NETPHONE,$@) ppc mpc8xx netphone 55404a85b3bSwdenk 55579fa88f3Swdenkxtract_NETTA = $(subst _SWAPHOOK,,$(subst _6412,,$(subst _ISDN,,$(subst _config,,$1)))) 55604a85b3bSwdenk 55779fa88f3SwdenkNETTA_ISDN_6412_SWAPHOOK_config \ 55879fa88f3SwdenkNETTA_ISDN_SWAPHOOK_config \ 55979fa88f3SwdenkNETTA_6412_SWAPHOOK_config \ 56079fa88f3SwdenkNETTA_SWAPHOOK_config \ 56179fa88f3SwdenkNETTA_ISDN_6412_config \ 56204a85b3bSwdenkNETTA_ISDN_config \ 56379fa88f3SwdenkNETTA_6412_config \ 56404a85b3bSwdenkNETTA_config: unconfig 56504a85b3bSwdenk @ >include/config.h 56679fa88f3Swdenk @[ -z "$(findstring ISDN_,$@)" ] || \ 56704a85b3bSwdenk { echo "#define CONFIG_NETTA_ISDN 1" >>include/config.h ; \ 56804a85b3bSwdenk } 56979fa88f3Swdenk @[ -n "$(findstring ISDN_,$@)" ] || \ 57079fa88f3Swdenk { echo "#undef CONFIG_NETTA_ISDN" >>include/config.h ; \ 57179fa88f3Swdenk } 57279fa88f3Swdenk @[ -z "$(findstring 6412_,$@)" ] || \ 57379fa88f3Swdenk { echo "#define CONFIG_NETTA_6412 1" >>include/config.h ; \ 57479fa88f3Swdenk } 57579fa88f3Swdenk @[ -n "$(findstring 6412_,$@)" ] || \ 57679fa88f3Swdenk { echo "#undef CONFIG_NETTA_6412" >>include/config.h ; \ 57779fa88f3Swdenk } 57879fa88f3Swdenk @[ -z "$(findstring SWAPHOOK_,$@)" ] || \ 57979fa88f3Swdenk { echo "#define CONFIG_NETTA_SWAPHOOK 1" >>include/config.h ; \ 58079fa88f3Swdenk } 58179fa88f3Swdenk @[ -n "$(findstring SWAPHOOK_,$@)" ] || \ 58279fa88f3Swdenk { echo "#undef CONFIG_NETTA_SWAPHOOK" >>include/config.h ; \ 58379fa88f3Swdenk } 58404a85b3bSwdenk @./mkconfig -a $(call xtract_NETTA,$@) ppc mpc8xx netta 58504a85b3bSwdenk 58679fa88f3Swdenkxtract_NETTA2 = $(subst _V2,,$(subst _config,,$1)) 58779fa88f3Swdenk 58879fa88f3SwdenkNETTA2_V2_config \ 58979fa88f3SwdenkNETTA2_config: unconfig 59079fa88f3Swdenk @ >include/config.h 59179fa88f3Swdenk @[ -z "$(findstring NETTA2_config,$@)" ] || \ 59279fa88f3Swdenk { echo "#define CONFIG_NETTA2_VERSION 1" >>include/config.h ; \ 59379fa88f3Swdenk } 59479fa88f3Swdenk @[ -z "$(findstring NETTA2_V2_config,$@)" ] || \ 59579fa88f3Swdenk { echo "#define CONFIG_NETTA2_VERSION 2" >>include/config.h ; \ 59679fa88f3Swdenk } 59779fa88f3Swdenk @./mkconfig -a $(call xtract_NETTA2,$@) ppc mpc8xx netta2 59879fa88f3Swdenk 5997ca202f5SwdenkNC650_config: unconfig 6007ca202f5Swdenk @./mkconfig $(@:_config=) ppc mpc8xx nc650 6017ca202f5Swdenk 6027ebf7443SwdenkNX823_config: unconfig 6037ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx nx823 6047ebf7443Swdenk 6057ebf7443Swdenkpcu_e_config: unconfig 6067ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx pcu_e siemens 6077ebf7443Swdenk 6083bbc899fSwdenkQS850_config: unconfig 6093bbc899fSwdenk @./mkconfig $(@:_config=) ppc mpc8xx qs850 snmc 6103bbc899fSwdenk 6113bbc899fSwdenkQS823_config: unconfig 6123bbc899fSwdenk @./mkconfig $(@:_config=) ppc mpc8xx qs850 snmc 6133bbc899fSwdenk 6143bbc899fSwdenkQS860T_config: unconfig 6153bbc899fSwdenk @./mkconfig $(@:_config=) ppc mpc8xx qs860t snmc 6163bbc899fSwdenk 617da93ed81Swdenkquantum_config: unconfig 618da93ed81Swdenk @./mkconfig $(@:_config=) ppc mpc8xx quantum 619da93ed81Swdenk 6207ebf7443SwdenkR360MPI_config: unconfig 6217ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx r360mpi 6227ebf7443Swdenk 623682011ffSwdenkRBC823_config: unconfig 624682011ffSwdenk @./mkconfig $(@:_config=) ppc mpc8xx rbc823 625682011ffSwdenk 6267ebf7443SwdenkRPXClassic_config: unconfig 6277ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx RPXClassic 6287ebf7443Swdenk 6297ebf7443SwdenkRPXlite_config: unconfig 6307ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx RPXlite 6317ebf7443Swdenk 632e63c8ee3SwdenkRPXlite_DW_64_config \ 633e63c8ee3SwdenkRPXlite_DW_LCD_config \ 634e63c8ee3SwdenkRPXlite_DW_64_LCD_config \ 635e63c8ee3SwdenkRPXlite_DW_NVRAM_config \ 636e63c8ee3SwdenkRPXlite_DW_NVRAM_64_config \ 637e63c8ee3SwdenkRPXlite_DW_NVRAM_LCD_config \ 638e63c8ee3SwdenkRPXlite_DW_NVRAM_64_LCD_config \ 639e63c8ee3SwdenkRPXlite_DW_config: unconfig 640e63c8ee3Swdenk @ >include/config.h 641e63c8ee3Swdenk @[ -z "$(findstring _64,$@)" ] || \ 642e63c8ee3Swdenk { echo "#define RPXlite_64MHz" >>include/config.h ; \ 643e63c8ee3Swdenk echo "... with 64MHz system clock ..."; \ 644e63c8ee3Swdenk } 645e63c8ee3Swdenk @[ -z "$(findstring _LCD,$@)" ] || \ 646e63c8ee3Swdenk { echo "#define CONFIG_LCD" >>include/config.h ; \ 647e63c8ee3Swdenk echo "#define CONFIG_NEC_NL6448BC20" >>include/config.h ; \ 648e63c8ee3Swdenk echo "... with LCD display ..."; \ 649e63c8ee3Swdenk } 650e63c8ee3Swdenk @[ -z "$(findstring _NVRAM,$@)" ] || \ 651e63c8ee3Swdenk { echo "#define CFG_ENV_IS_IN_NVRAM" >>include/config.h ; \ 652e63c8ee3Swdenk echo "... with ENV in NVRAM ..."; \ 653e63c8ee3Swdenk } 654e63c8ee3Swdenk @./mkconfig -a RPXlite_DW ppc mpc8xx RPXlite_dw 655e63c8ee3Swdenk 65673a8b27cSwdenkrmu_config: unconfig 65773a8b27cSwdenk @./mkconfig $(@:_config=) ppc mpc8xx rmu 65873a8b27cSwdenk 6597ebf7443SwdenkRRvision_config: unconfig 6607ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx RRvision 6617ebf7443Swdenk 6627ebf7443SwdenkRRvision_LCD_config: unconfig 6637ebf7443Swdenk @echo "#define CONFIG_LCD" >include/config.h 6647ebf7443Swdenk @echo "#define CONFIG_SHARP_LQ104V7DS01" >>include/config.h 6657ebf7443Swdenk @./mkconfig -a RRvision ppc mpc8xx RRvision 6667ebf7443Swdenk 6677ebf7443SwdenkSM850_config : unconfig 6687ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx tqm8xx 6697ebf7443Swdenk 6707ebf7443SwdenkSPD823TS_config: unconfig 6717ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx spd8xx 6727ebf7443Swdenk 6736bdf4306SWolfgang Denkstxxtc_config: unconfig 6746bdf4306SWolfgang Denk @./mkconfig $(@:_config=) ppc mpc8xx stxxtc 6756bdf4306SWolfgang Denk 676dc7c9a1aSwdenksvm_sc8xx_config: unconfig 677dc7c9a1aSwdenk @ >include/config.h 678dc7c9a1aSwdenk @./mkconfig $(@:_config=) ppc mpc8xx svm_sc8xx 679dc7c9a1aSwdenk 6807ebf7443SwdenkSXNI855T_config: unconfig 6817ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8xx sixnet 6827ebf7443Swdenk 683db2f721fSwdenk# EMK MPC8xx based modules 684db2f721fSwdenkTOP860_config: unconfig 685db2f721fSwdenk @./mkconfig $(@:_config=) ppc mpc8xx top860 emk 686db2f721fSwdenk 6877ebf7443Swdenk# Play some tricks for configuration selection 688e9132ea9Swdenk# Only 855 and 860 boards may come with FEC 689e9132ea9Swdenk# and only 823 boards may have LCD support 690e9132ea9Swdenkxtract_8xx = $(subst _LCD,,$(subst _config,,$1)) 6917ebf7443Swdenk 6927ebf7443SwdenkFPS850L_config \ 693384ae025SwdenkFPS860L_config \ 694f12e568cSwdenkNSCU_config \ 6957ebf7443SwdenkTQM823L_config \ 6967ebf7443SwdenkTQM823L_LCD_config \ 6977ebf7443SwdenkTQM850L_config \ 6987ebf7443SwdenkTQM855L_config \ 6997ebf7443SwdenkTQM860L_config \ 700d126bfbdSwdenkTQM862L_config \ 701ae3af05eSwdenkTQM823M_config \ 702ae3af05eSwdenkTQM850M_config \ 703f12e568cSwdenkTQM855M_config \ 704f12e568cSwdenkTQM860M_config \ 705f12e568cSwdenkTQM862M_config \ 706c178d3daSwdenkTQM866M_config: unconfig 7077ebf7443Swdenk @ >include/config.h 7087ebf7443Swdenk @[ -z "$(findstring _LCD,$@)" ] || \ 7097ebf7443Swdenk { echo "#define CONFIG_LCD" >>include/config.h ; \ 710fd3103bbSwdenk echo "#define CONFIG_NEC_NL6448BC20" >>include/config.h ; \ 7117ebf7443Swdenk echo "... with LCD display" ; \ 7127ebf7443Swdenk } 7137ebf7443Swdenk @./mkconfig -a $(call xtract_8xx,$@) ppc mpc8xx tqm8xx 7147ebf7443Swdenk 7157ebf7443SwdenkTTTech_config: unconfig 7167ebf7443Swdenk @echo "#define CONFIG_LCD" >include/config.h 7177ebf7443Swdenk @echo "#define CONFIG_SHARP_LQ104V7DS01" >>include/config.h 7187ebf7443Swdenk @./mkconfig -a TQM823L ppc mpc8xx tqm8xx 7197ebf7443Swdenk 720ec0aee7bSwdenkuc100_config : unconfig 721f7d1572bSwdenk @./mkconfig $(@:_config=) ppc mpc8xx uc100 722f7d1572bSwdenk 723608c9146Swdenkv37_config: unconfig 724608c9146Swdenk @echo "#define CONFIG_LCD" >include/config.h 725608c9146Swdenk @echo "#define CONFIG_SHARP_LQ084V1DG21" >>include/config.h 726608c9146Swdenk @./mkconfig $(@:_config=) ppc mpc8xx v37 727608c9146Swdenk 72891e940d9Sdzuwtk_config: unconfig 72991e940d9Sdzu @echo "#define CONFIG_LCD" >include/config.h 73091e940d9Sdzu @echo "#define CONFIG_SHARP_LQ065T9DR51U" >>include/config.h 73191e940d9Sdzu @./mkconfig -a TQM823L ppc mpc8xx tqm8xx 73291e940d9Sdzu 7337ebf7443Swdenk######################################################################### 7347ebf7443Swdenk## PPC4xx Systems 7357ebf7443Swdenk######################################################################### 736e55ca7e2Swdenkxtract_4xx = $(subst _25,,$(subst _33,,$(subst _BA,,$(subst _ME,,$(subst _HI,,$(subst _config,,$1)))))) 7377ebf7443Swdenk 7387ebf7443SwdenkADCIOP_config: unconfig 7397ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx adciop esd 7407ebf7443Swdenk 7417521af1cSWolfgang DenkAP1000_config:unconfig 7427521af1cSWolfgang Denk @./mkconfig $(@:_config=) ppc ppc4xx ap1000 amirix 7437521af1cSWolfgang Denk 744c419d1d6SstroeseAPC405_config: unconfig 745c419d1d6Sstroese @./mkconfig $(@:_config=) ppc ppc4xx apc405 esd 746c419d1d6Sstroese 7477ebf7443SwdenkAR405_config: unconfig 7487ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx ar405 esd 7497ebf7443Swdenk 750549826eaSstroeseASH405_config: unconfig 751549826eaSstroese @./mkconfig $(@:_config=) ppc ppc4xx ash405 esd 752549826eaSstroese 7538a316c9bSStefan Roesebamboo_config: unconfig 7548a316c9bSStefan Roese @./mkconfig $(@:_config=) ppc ppc4xx bamboo amcc 7558a316c9bSStefan Roese 7568a316c9bSStefan Roesebubinga_config: unconfig 7578a316c9bSStefan Roese @./mkconfig $(@:_config=) ppc ppc4xx bubinga amcc 758549826eaSstroese 7597ebf7443SwdenkCANBT_config: unconfig 7607ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx canbt esd 7617ebf7443Swdenk 7621d6f9720SwdenkCATcenter_config \ 7631d6f9720SwdenkCATcenter_25_config \ 7641d6f9720SwdenkCATcenter_33_config: unconfig 76510767ccbSwdenk @ echo "/* CATcenter uses PPChameleon Model ME */" > include/config.h 76610767ccbSwdenk @ echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 1" >> include/config.h 7671d6f9720Swdenk @[ -z "$(findstring _25,$@)" ] || \ 7681d6f9720Swdenk { echo "#define CONFIG_PPCHAMELEON_CLK_25" >>include/config.h ; \ 7691d6f9720Swdenk echo "SysClk = 25MHz" ; \ 7701d6f9720Swdenk } 7711d6f9720Swdenk @[ -z "$(findstring _33,$@)" ] || \ 7721d6f9720Swdenk { echo "#define CONFIG_PPCHAMELEON_CLK_33" >>include/config.h ; \ 7731d6f9720Swdenk echo "SysClk = 33MHz" ; \ 7741d6f9720Swdenk } 77510767ccbSwdenk @./mkconfig -a $(call xtract_4xx,$@) ppc ppc4xx PPChameleonEVB dave 77610767ccbSwdenk 7777644f16fSStefan RoeseCPCI2DP_config: unconfig 7787644f16fSStefan Roese @./mkconfig $(@:_config=) ppc ppc4xx cpci2dp esd 7797644f16fSStefan Roese 7807ebf7443SwdenkCPCI405_config \ 781549826eaSstroeseCPCI4052_config \ 782c419d1d6SstroeseCPCI405DT_config \ 783549826eaSstroeseCPCI405AB_config: unconfig 7847ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx cpci405 esd 7857ebf7443Swdenk @echo "BOARD_REVISION = $(@:_config=)" >>include/config.mk 7867ebf7443Swdenk 7877ebf7443SwdenkCPCI440_config: unconfig 7887ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx cpci440 esd 7897ebf7443Swdenk 7907ebf7443SwdenkCPCIISER4_config: unconfig 7917ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx cpciiser4 esd 7927ebf7443Swdenk 7937ebf7443SwdenkCRAYL1_config: unconfig 7947ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx L1 cray 7957ebf7443Swdenk 796cd0a9de6Swdenkcsb272_config: unconfig 797cd0a9de6Swdenk @./mkconfig $(@:_config=) ppc ppc4xx csb272 798cd0a9de6Swdenk 799aa245090Swdenkcsb472_config: unconfig 800aa245090Swdenk @./mkconfig $(@:_config=) ppc ppc4xx csb472 801aa245090Swdenk 8027ebf7443SwdenkDASA_SIM_config: unconfig 8037ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx dasa_sim esd 8047ebf7443Swdenk 80572cd5aa7SstroeseDP405_config: unconfig 80672cd5aa7Sstroese @./mkconfig $(@:_config=) ppc ppc4xx dp405 esd 80772cd5aa7Sstroese 8087ebf7443SwdenkDU405_config: unconfig 8097ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx du405 esd 8107ebf7443Swdenk 8118a316c9bSStefan Roeseebony_config: unconfig 8128a316c9bSStefan Roese @./mkconfig $(@:_config=) ppc ppc4xx ebony amcc 8137ebf7443Swdenk 8147ebf7443SwdenkERIC_config: unconfig 8157ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx eric 8167ebf7443Swdenk 817d1cbe85bSwdenkEXBITGEN_config: unconfig 818d1cbe85bSwdenk @./mkconfig $(@:_config=) ppc ppc4xx exbitgen 819d1cbe85bSwdenk 820c419d1d6SstroeseG2000_config: unconfig 821c419d1d6Sstroese @./mkconfig $(@:_config=) ppc ppc4xx g2000 822c419d1d6Sstroese 823c419d1d6SstroeseHH405_config: unconfig 824c419d1d6Sstroese @./mkconfig $(@:_config=) ppc ppc4xx hh405 esd 825c419d1d6Sstroese 82672cd5aa7SstroeseHUB405_config: unconfig 82772cd5aa7Sstroese @./mkconfig $(@:_config=) ppc ppc4xx hub405 esd 82872cd5aa7Sstroese 829db01a2eaSwdenkJSE_config: unconfig 830db01a2eaSwdenk @./mkconfig $(@:_config=) ppc ppc4xx jse 831db01a2eaSwdenk 832b79316f2SStefan RoeseKAREF_config: unconfig 833b79316f2SStefan Roese @./mkconfig $(@:_config=) ppc ppc4xx karef sandburst 834b79316f2SStefan Roese 8356e7fb6eaSStefan Roeseluan_config: unconfig 8366e7fb6eaSStefan Roese @./mkconfig $(@:_config=) ppc ppc4xx luan amcc 8376e7fb6eaSStefan Roese 838b79316f2SStefan RoeseMETROBOX_config: unconfig 839b79316f2SStefan Roese @./mkconfig $(@:_config=) ppc ppc4xx metrobox sandburst 840b79316f2SStefan Roese 8417ebf7443SwdenkMIP405_config: unconfig 8427ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx mip405 mpl 8437ebf7443Swdenk 844f3e0de60SwdenkMIP405T_config: unconfig 845f3e0de60Swdenk @echo "#define CONFIG_MIP405T" >include/config.h 846f3e0de60Swdenk @echo "Enable subset config for MIP405T" 847f3e0de60Swdenk @./mkconfig -a MIP405 ppc ppc4xx mip405 mpl 848f3e0de60Swdenk 8497ebf7443SwdenkML2_config: unconfig 8507ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx ml2 8517ebf7443Swdenk 852028ab6b5Swdenkml300_config: unconfig 853028ab6b5Swdenk @./mkconfig $(@:_config=) ppc ppc4xx ml300 xilinx 854028ab6b5Swdenk 8558a316c9bSStefan Roeseocotea_config: unconfig 8568a316c9bSStefan Roese @./mkconfig $(@:_config=) ppc ppc4xx ocotea amcc 8570e6d798cSwdenk 8587ebf7443SwdenkOCRTC_config \ 8597ebf7443SwdenkORSG_config: unconfig 8607ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx ocrtc esd 8617ebf7443Swdenk 8625568e613SStefan Roesep3p440_config: unconfig 8635568e613SStefan Roese @./mkconfig $(@:_config=) ppc ppc4xx p3p440 prodrive 8645568e613SStefan Roese 8657ebf7443SwdenkPCI405_config: unconfig 8667ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx pci405 esd 8677ebf7443Swdenk 8687ebf7443SwdenkPIP405_config: unconfig 8697ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx pip405 mpl 8707ebf7443Swdenk 87172cd5aa7SstroesePLU405_config: unconfig 87272cd5aa7Sstroese @./mkconfig $(@:_config=) ppc ppc4xx plu405 esd 87372cd5aa7Sstroese 874549826eaSstroesePMC405_config: unconfig 875549826eaSstroese @./mkconfig $(@:_config=) ppc ppc4xx pmc405 esd 876549826eaSstroese 877281e00a3SwdenkPPChameleonEVB_config \ 878e55ca7e2SwdenkPPChameleonEVB_BA_25_config \ 879e55ca7e2SwdenkPPChameleonEVB_ME_25_config \ 880e55ca7e2SwdenkPPChameleonEVB_HI_25_config \ 881e55ca7e2SwdenkPPChameleonEVB_BA_33_config \ 882e55ca7e2SwdenkPPChameleonEVB_ME_33_config \ 883e55ca7e2SwdenkPPChameleonEVB_HI_33_config: unconfig 884fbe4b5cbSwdenk @ >include/config.h 8851d6f9720Swdenk @[ -z "$(findstring EVB_BA,$@)" ] || \ 886fbe4b5cbSwdenk { echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 0" >>include/config.h ; \ 887fbe4b5cbSwdenk echo "... BASIC model" ; \ 888fbe4b5cbSwdenk } 8891d6f9720Swdenk @[ -z "$(findstring EVB_ME,$@)" ] || \ 890fbe4b5cbSwdenk { echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 1" >>include/config.h ; \ 891fbe4b5cbSwdenk echo "... MEDIUM model" ; \ 892fbe4b5cbSwdenk } 8931d6f9720Swdenk @[ -z "$(findstring EVB_HI,$@)" ] || \ 894fbe4b5cbSwdenk { echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 2" >>include/config.h ; \ 895fbe4b5cbSwdenk echo "... HIGH-END model" ; \ 896fbe4b5cbSwdenk } 897e55ca7e2Swdenk @[ -z "$(findstring _25,$@)" ] || \ 898e55ca7e2Swdenk { echo "#define CONFIG_PPCHAMELEON_CLK_25" >>include/config.h ; \ 899e55ca7e2Swdenk echo "SysClk = 25MHz" ; \ 900e55ca7e2Swdenk } 901e55ca7e2Swdenk @[ -z "$(findstring _33,$@)" ] || \ 902e55ca7e2Swdenk { echo "#define CONFIG_PPCHAMELEON_CLK_33" >>include/config.h ; \ 903e55ca7e2Swdenk echo "SysClk = 33MHz" ; \ 904e55ca7e2Swdenk } 905fbe4b5cbSwdenk @./mkconfig -a $(call xtract_4xx,$@) ppc ppc4xx PPChameleonEVB dave 90612f34241Swdenk 907652a10c0Swdenksbc405_config: unconfig 908652a10c0Swdenk @./mkconfig $(@:_config=) ppc ppc4xx sbc405 909652a10c0Swdenk 9108a316c9bSStefan Roesesycamore_config: unconfig 9118a316c9bSStefan Roese @echo "Configuring for sycamore board as subset of walnut..." 9128a316c9bSStefan Roese @./mkconfig -a walnut ppc ppc4xx walnut amcc 9138a316c9bSStefan Roese 91472cd5aa7SstroeseVOH405_config: unconfig 91572cd5aa7Sstroese @./mkconfig $(@:_config=) ppc ppc4xx voh405 esd 91672cd5aa7Sstroese 917c419d1d6SstroeseVOM405_config: unconfig 918c419d1d6Sstroese @./mkconfig $(@:_config=) ppc ppc4xx vom405 esd 919c419d1d6Sstroese 920feaedfcfSStefan RoeseCMS700_config: unconfig 921feaedfcfSStefan Roese @./mkconfig $(@:_config=) ppc ppc4xx cms700 esd 922feaedfcfSStefan Roese 9237ebf7443SwdenkW7OLMC_config \ 9247ebf7443SwdenkW7OLMG_config: unconfig 9257ebf7443Swdenk @./mkconfig $(@:_config=) ppc ppc4xx w7o 9267ebf7443Swdenk 9278a316c9bSStefan Roesewalnut_config: unconfig 9288a316c9bSStefan Roese @./mkconfig $(@:_config=) ppc ppc4xx walnut amcc 9297ebf7443Swdenk 930c419d1d6SstroeseWUH405_config: unconfig 931c419d1d6Sstroese @./mkconfig $(@:_config=) ppc ppc4xx wuh405 esd 932c419d1d6Sstroese 933ba56f625SwdenkXPEDITE1K_config: unconfig 934ba56f625Swdenk @./mkconfig $(@:_config=) ppc ppc4xx xpedite1k 935ba56f625Swdenk 9368a316c9bSStefan Roeseyosemite_config: unconfig 9378a316c9bSStefan Roese @./mkconfig $(@:_config=) ppc ppc4xx yosemite amcc 9388a316c9bSStefan Roese 9398a316c9bSStefan Roeseyellowstone_config: unconfig 9408a316c9bSStefan Roese @./mkconfig $(@:_config=) ppc ppc4xx yellowstone amcc 9418a316c9bSStefan Roese 9427ebf7443Swdenk######################################################################### 943983fda83Swdenk## MPC8220 Systems 944983fda83Swdenk######################################################################### 945dc17fb6dSWolfgang Denk 946dc17fb6dSWolfgang DenkAlaska8220_config \ 947dc17fb6dSWolfgang DenkYukon8220_config: unconfig 948983fda83Swdenk @./mkconfig $(@:_config=) ppc mpc8220 alaska 949983fda83Swdenk 95012b43d51Swdenksorcery_config: unconfig 95112b43d51Swdenk @./mkconfig $(@:_config=) ppc mpc8220 sorcery 95212b43d51Swdenk 953983fda83Swdenk######################################################################### 9547ebf7443Swdenk## MPC824x Systems 9557ebf7443Swdenk######################################################################### 956efa329cbSwdenkxtract_82xx = $(subst _BIGFLASH,,$(subst _ROMBOOT,,$(subst _L2,,$(subst _266MHz,,$(subst _300MHz,,$(subst _config,,$1)))))) 9573bac3513Swdenk 9580332990bSwdenkA3000_config: unconfig 9590332990bSwdenk @./mkconfig $(@:_config=) ppc mpc824x a3000 9600332990bSwdenk 9618e6f1a8eSWolfgang Denkbarco_config: unconfig 9628e6f1a8eSWolfgang Denk @./mkconfig $(@:_config=) ppc mpc824x barco 9638e6f1a8eSWolfgang Denk 9647ebf7443SwdenkBMW_config: unconfig 9657ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc824x bmw 9667ebf7443Swdenk 9673bac3513SwdenkCPC45_config \ 9683bac3513SwdenkCPC45_ROMBOOT_config: unconfig 9693bac3513Swdenk @./mkconfig $(call xtract_82xx,$@) ppc mpc824x cpc45 9703bac3513Swdenk @cd ./include ; \ 9713bac3513Swdenk if [ "$(findstring _ROMBOOT_,$@)" ] ; then \ 9723bac3513Swdenk echo "CONFIG_BOOT_ROM = y" >> config.mk ; \ 9733bac3513Swdenk echo "... booting from 8-bit flash" ; \ 9743bac3513Swdenk else \ 9753bac3513Swdenk echo "CONFIG_BOOT_ROM = n" >> config.mk ; \ 9763bac3513Swdenk echo "... booting from 64-bit flash" ; \ 9773bac3513Swdenk fi; \ 9783bac3513Swdenk echo "export CONFIG_BOOT_ROM" >> config.mk; 9793bac3513Swdenk 9807ebf7443SwdenkCU824_config: unconfig 9817ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc824x cu824 9827ebf7443Swdenk 9837abf0c58Swdenkdebris_config: unconfig 9847abf0c58Swdenk @./mkconfig $(@:_config=) ppc mpc824x debris etin 9857abf0c58Swdenk 98680885a9dSwdenkeXalion_config: unconfig 98780885a9dSwdenk @./mkconfig $(@:_config=) ppc mpc824x eXalion 98880885a9dSwdenk 989756f586aSwdenkHIDDEN_DRAGON_config: unconfig 990756f586aSwdenk @./mkconfig $(@:_config=) ppc mpc824x hidden_dragon 991756f586aSwdenk 9927ebf7443SwdenkMOUSSE_config: unconfig 9937ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc824x mousse 9947ebf7443Swdenk 9957ebf7443SwdenkMUSENKI_config: unconfig 9967ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc824x musenki 9977ebf7443Swdenk 998b4676a25SwdenkMVBLUE_config: unconfig 999b4676a25Swdenk @./mkconfig $(@:_config=) ppc mpc824x mvblue 1000b4676a25Swdenk 10017ebf7443SwdenkOXC_config: unconfig 10027ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc824x oxc 10037ebf7443Swdenk 10047ebf7443SwdenkPN62_config: unconfig 10057ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc824x pn62 10067ebf7443Swdenk 10077ebf7443SwdenkSandpoint8240_config: unconfig 10087ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc824x sandpoint 10097ebf7443Swdenk 10107ebf7443SwdenkSandpoint8245_config: unconfig 10117ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc824x sandpoint 10127ebf7443Swdenk 1013466b7410Swdenksbc8240_config: unconfig 1014466b7410Swdenk @./mkconfig $(@:_config=) ppc mpc824x sbc8240 1015466b7410Swdenk 1016d1cbe85bSwdenkSL8245_config: unconfig 1017d1cbe85bSwdenk @./mkconfig $(@:_config=) ppc mpc824x sl8245 1018d1cbe85bSwdenk 10197ebf7443Swdenkutx8245_config: unconfig 10207ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc824x utx8245 10217ebf7443Swdenk 10227ebf7443Swdenk######################################################################### 10237ebf7443Swdenk## MPC8260 Systems 10247ebf7443Swdenk######################################################################### 10257ebf7443Swdenk 102654387ac9Swdenkatc_config: unconfig 102754387ac9Swdenk @./mkconfig $(@:_config=) ppc mpc8260 atc 102854387ac9Swdenk 10297ebf7443Swdenkcogent_mpc8260_config: unconfig 10307ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8260 cogent 10317ebf7443Swdenk 10327ebf7443SwdenkCPU86_config \ 10337ebf7443SwdenkCPU86_ROMBOOT_config: unconfig 10347ebf7443Swdenk @./mkconfig $(call xtract_82xx,$@) ppc mpc8260 cpu86 10357ebf7443Swdenk @cd ./include ; \ 10367ebf7443Swdenk if [ "$(findstring _ROMBOOT_,$@)" ] ; then \ 10377ebf7443Swdenk echo "CONFIG_BOOT_ROM = y" >> config.mk ; \ 10387ebf7443Swdenk echo "... booting from 8-bit flash" ; \ 10397ebf7443Swdenk else \ 10407ebf7443Swdenk echo "CONFIG_BOOT_ROM = n" >> config.mk ; \ 10417ebf7443Swdenk echo "... booting from 64-bit flash" ; \ 10427ebf7443Swdenk fi; \ 10437ebf7443Swdenk echo "export CONFIG_BOOT_ROM" >> config.mk; 10447ebf7443Swdenk 1045384cc687SwdenkCPU87_config \ 1046384cc687SwdenkCPU87_ROMBOOT_config: unconfig 1047384cc687Swdenk @./mkconfig $(call xtract_82xx,$@) ppc mpc8260 cpu87 1048384cc687Swdenk @cd ./include ; \ 1049384cc687Swdenk if [ "$(findstring _ROMBOOT_,$@)" ] ; then \ 1050384cc687Swdenk echo "CONFIG_BOOT_ROM = y" >> config.mk ; \ 1051384cc687Swdenk echo "... booting from 8-bit flash" ; \ 1052384cc687Swdenk else \ 1053384cc687Swdenk echo "CONFIG_BOOT_ROM = n" >> config.mk ; \ 1054384cc687Swdenk echo "... booting from 64-bit flash" ; \ 1055384cc687Swdenk fi; \ 1056384cc687Swdenk echo "export CONFIG_BOOT_ROM" >> config.mk; 1057384cc687Swdenk 1058f901a83bSWolfgang Denkep8248_config \ 1059f901a83bSWolfgang Denkep8248E_config : unconfig 1060f901a83bSWolfgang Denk @./mkconfig ep8248 ppc mpc8260 ep8248 1061f901a83bSWolfgang Denk 10627ebf7443Swdenkep8260_config: unconfig 10637ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8260 ep8260 10647ebf7443Swdenk 10657ebf7443Swdenkgw8260_config: unconfig 10667ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8260 gw8260 10677ebf7443Swdenk 10687ebf7443Swdenkhymod_config: unconfig 10697ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8260 hymod 10707ebf7443Swdenk 10719dd41a7bSwdenkIDS8247_config: unconfig 10729dd41a7bSwdenk @./mkconfig $(@:_config=) ppc mpc8260 ids8247 10739dd41a7bSwdenk 10747ebf7443SwdenkIPHASE4539_config: unconfig 10757ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8260 iphase4539 10767ebf7443Swdenk 1077c3c7f861SwdenkISPAN_config \ 1078c3c7f861SwdenkISPAN_REVB_config: unconfig 1079c3c7f861Swdenk @if [ "$(findstring _REVB_,$@)" ] ; then \ 1080c3c7f861Swdenk echo "#define CFG_REV_B" > include/config.h ; \ 1081c3c7f861Swdenk fi 1082c3c7f861Swdenk @./mkconfig -a ISPAN ppc mpc8260 ispan 1083c3c7f861Swdenk 108404a85b3bSwdenkMPC8260ADS_config \ 1085901787d6SwdenkMPC8260ADS_lowboot_config \ 108604a85b3bSwdenkMPC8260ADS_33MHz_config \ 1087901787d6SwdenkMPC8260ADS_33MHz_lowboot_config \ 108804a85b3bSwdenkMPC8260ADS_40MHz_config \ 1089901787d6SwdenkMPC8260ADS_40MHz_lowboot_config \ 109004a85b3bSwdenkMPC8272ADS_config \ 1091901787d6SwdenkMPC8272ADS_lowboot_config \ 109204a85b3bSwdenkPQ2FADS_config \ 1093901787d6SwdenkPQ2FADS_lowboot_config \ 109404a85b3bSwdenkPQ2FADS-VR_config \ 1095901787d6SwdenkPQ2FADS-VR_lowboot_config \ 109604a85b3bSwdenkPQ2FADS-ZU_config \ 1097901787d6SwdenkPQ2FADS-ZU_lowboot_config \ 109804a85b3bSwdenkPQ2FADS-ZU_66MHz_config \ 1099901787d6SwdenkPQ2FADS-ZU_66MHz_lowboot_config \ 110004a85b3bSwdenk : unconfig 110104a85b3bSwdenk $(if $(findstring PQ2FADS,$@), \ 110204a85b3bSwdenk @echo "#define CONFIG_ADSTYPE CFG_PQ2FADS" > include/config.h, \ 110304a85b3bSwdenk @echo "#define CONFIG_ADSTYPE CFG_"$(subst MPC,,$(word 1,$(subst _, ,$@))) > include/config.h) 110404a85b3bSwdenk $(if $(findstring MHz,$@), \ 110504a85b3bSwdenk @echo "#define CONFIG_8260_CLKIN" $(subst MHz,,$(word 2,$(subst _, ,$@)))"000000" >> include/config.h, \ 110604a85b3bSwdenk $(if $(findstring VR,$@), \ 110704a85b3bSwdenk @echo "#define CONFIG_8260_CLKIN 66000000" >> include/config.h)) 1108901787d6Swdenk @[ -z "$(findstring lowboot_,$@)" ] || \ 1109901787d6Swdenk { echo "TEXT_BASE = 0xFF800000" >board/mpc8260ads/config.tmp ; \ 1110901787d6Swdenk echo "... with lowboot configuration" ; \ 1111901787d6Swdenk } 111204a85b3bSwdenk @./mkconfig -a MPC8260ADS ppc mpc8260 mpc8260ads 11137ebf7443Swdenk 1114db2f721fSwdenkMPC8266ADS_config: unconfig 1115db2f721fSwdenk @./mkconfig $(@:_config=) ppc mpc8260 mpc8266ads 1116db2f721fSwdenk 1117efa329cbSwdenk# PM825/PM826 default configuration: small (= 8 MB) Flash / boot from 64-bit flash 111810f67017SwdenkPM825_config \ 1119efa329cbSwdenkPM825_ROMBOOT_config \ 1120efa329cbSwdenkPM825_BIGFLASH_config \ 1121efa329cbSwdenkPM825_ROMBOOT_BIGFLASH_config \ 11227ebf7443SwdenkPM826_config \ 1123efa329cbSwdenkPM826_ROMBOOT_config \ 1124efa329cbSwdenkPM826_BIGFLASH_config \ 1125efa329cbSwdenkPM826_ROMBOOT_BIGFLASH_config: unconfig 1126efa329cbSwdenk @if [ "$(findstring PM825_,$@)" ] ; then \ 1127efa329cbSwdenk echo "#define CONFIG_PCI" >include/config.h ; \ 11287ebf7443Swdenk else \ 1129efa329cbSwdenk >include/config.h ; \ 1130efa329cbSwdenk fi 1131efa329cbSwdenk @if [ "$(findstring _ROMBOOT_,$@)" ] ; then \ 1132efa329cbSwdenk echo "... booting from 8-bit flash" ; \ 1133efa329cbSwdenk echo "#define CONFIG_BOOT_ROM" >>include/config.h ; \ 1134efa329cbSwdenk echo "TEXT_BASE = 0xFF800000" >board/pm826/config.tmp ; \ 1135efa329cbSwdenk if [ "$(findstring _BIGFLASH_,$@)" ] ; then \ 1136efa329cbSwdenk echo "... with 32 MB Flash" ; \ 1137efa329cbSwdenk echo "#define CONFIG_FLASH_32MB" >>include/config.h ; \ 11387ebf7443Swdenk fi; \ 1139efa329cbSwdenk else \ 1140efa329cbSwdenk echo "... booting from 64-bit flash" ; \ 1141efa329cbSwdenk if [ "$(findstring _BIGFLASH_,$@)" ] ; then \ 1142efa329cbSwdenk echo "... with 32 MB Flash" ; \ 1143efa329cbSwdenk echo "#define CONFIG_FLASH_32MB" >>include/config.h ; \ 1144efa329cbSwdenk echo "TEXT_BASE = 0x40000000" >board/pm826/config.tmp ; \ 1145efa329cbSwdenk else \ 1146efa329cbSwdenk echo "TEXT_BASE = 0xFF000000" >board/pm826/config.tmp ; \ 1147efa329cbSwdenk fi; \ 1148efa329cbSwdenk fi 1149efa329cbSwdenk @./mkconfig -a PM826 ppc mpc8260 pm826 1150efa329cbSwdenk 1151efa329cbSwdenkPM828_config \ 1152efa329cbSwdenkPM828_PCI_config \ 1153efa329cbSwdenkPM828_ROMBOOT_config \ 1154efa329cbSwdenkPM828_ROMBOOT_PCI_config: unconfig 1155efa329cbSwdenk @if [ -z "$(findstring _PCI_,$@)" ] ; then \ 1156efa329cbSwdenk echo "#define CONFIG_PCI" >>include/config.h ; \ 1157efa329cbSwdenk echo "... with PCI enabled" ; \ 1158efa329cbSwdenk else \ 1159efa329cbSwdenk >include/config.h ; \ 1160efa329cbSwdenk fi 1161efa329cbSwdenk @if [ "$(findstring _ROMBOOT_,$@)" ] ; then \ 1162efa329cbSwdenk echo "... booting from 8-bit flash" ; \ 1163efa329cbSwdenk echo "#define CONFIG_BOOT_ROM" >>include/config.h ; \ 1164efa329cbSwdenk echo "TEXT_BASE = 0xFF800000" >board/pm826/config.tmp ; \ 1165efa329cbSwdenk fi 1166efa329cbSwdenk @./mkconfig -a PM828 ppc mpc8260 pm828 11677ebf7443Swdenk 11687ebf7443Swdenkppmc8260_config: unconfig 11697ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8260 ppmc8260 11707ebf7443Swdenk 11718b0bfc68SwdenkRattler8248_config \ 11728b0bfc68SwdenkRattler_config: unconfig 11738b0bfc68Swdenk $(if $(findstring 8248,$@), \ 11748b0bfc68Swdenk @echo "#define CONFIG_MPC8248" > include/config.h) 11758b0bfc68Swdenk @./mkconfig -a Rattler ppc mpc8260 rattler 11768b0bfc68Swdenk 11777ebf7443SwdenkRPXsuper_config: unconfig 11787ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8260 rpxsuper 11797ebf7443Swdenk 11807ebf7443Swdenkrsdproto_config: unconfig 11817ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8260 rsdproto 11827ebf7443Swdenk 11837ebf7443Swdenksacsng_config: unconfig 11847ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8260 sacsng 11857ebf7443Swdenk 11867ebf7443Swdenksbc8260_config: unconfig 11877ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8260 sbc8260 11887ebf7443Swdenk 11897ebf7443SwdenkSCM_config: unconfig 11907ebf7443Swdenk @./mkconfig $(@:_config=) ppc mpc8260 SCM siemens 11917ebf7443Swdenk 119227b207fdSwdenkTQM8255_AA_config \ 119327b207fdSwdenkTQM8260_AA_config \ 119427b207fdSwdenkTQM8260_AB_config \ 119527b207fdSwdenkTQM8260_AC_config \ 119627b207fdSwdenkTQM8260_AD_config \ 119727b207fdSwdenkTQM8260_AE_config \ 119827b207fdSwdenkTQM8260_AF_config \ 119927b207fdSwdenkTQM8260_AG_config \ 120027b207fdSwdenkTQM8260_AH_config \ 120127b207fdSwdenkTQM8265_AA_config: unconfig 120227b207fdSwdenk @case "$@" in \ 120327b207fdSwdenk TQM8255_AA_config) CTYPE=MPC8255; CFREQ=300; CACHE=no; BMODE=8260;; \ 120427b207fdSwdenk TQM8260_AA_config) CTYPE=MPC8260; CFREQ=200; CACHE=no; BMODE=8260;; \ 120527b207fdSwdenk TQM8260_AB_config) CTYPE=MPC8260; CFREQ=200; CACHE=yes; BMODE=60x;; \ 120627b207fdSwdenk TQM8260_AC_config) CTYPE=MPC8260; CFREQ=200; CACHE=yes; BMODE=60x;; \ 120727b207fdSwdenk TQM8260_AD_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=60x;; \ 120827b207fdSwdenk TQM8260_AE_config) CTYPE=MPC8260; CFREQ=266; CACHE=no; BMODE=8260;; \ 120927b207fdSwdenk TQM8260_AF_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=60x;; \ 121027b207fdSwdenk TQM8260_AG_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=8260;; \ 121127b207fdSwdenk TQM8260_AH_config) CTYPE=MPC8260; CFREQ=300; CACHE=yes; BMODE=60x;; \ 121227b207fdSwdenk TQM8265_AA_config) CTYPE=MPC8265; CFREQ=300; CACHE=no; BMODE=60x;; \ 121327b207fdSwdenk esac; \ 121427b207fdSwdenk >include/config.h ; \ 121527b207fdSwdenk if [ "$${CTYPE}" != "MPC8260" ] ; then \ 121627b207fdSwdenk echo "#define CONFIG_$${CTYPE}" >>include/config.h ; \ 121727b207fdSwdenk fi; \ 121827b207fdSwdenk echo "#define CONFIG_$${CFREQ}MHz" >>include/config.h ; \ 121927b207fdSwdenk echo "... with $${CFREQ}MHz system clock" ; \ 122027b207fdSwdenk if [ "$${CACHE}" == "yes" ] ; then \ 12217ebf7443Swdenk echo "#define CONFIG_L2_CACHE" >>include/config.h ; \ 122227b207fdSwdenk echo "... with L2 Cache support" ; \ 12237ebf7443Swdenk else \ 12247ebf7443Swdenk echo "#undef CONFIG_L2_CACHE" >>include/config.h ; \ 12257ebf7443Swdenk echo "... without L2 Cache support" ; \ 122627b207fdSwdenk fi; \ 122727b207fdSwdenk if [ "$${BMODE}" == "60x" ] ; then \ 122827b207fdSwdenk echo "#define CONFIG_BUSMODE_60x" >>include/config.h ; \ 122927b207fdSwdenk echo "... with 60x Bus Mode" ; \ 123027b207fdSwdenk else \ 123127b207fdSwdenk echo "#undef CONFIG_BUSMODE_60x" >>include/config.h ; \ 123227b207fdSwdenk echo "... without 60x Bus Mode" ; \ 12337ebf7443Swdenk fi 12344532cb69Swdenk @./mkconfig -a TQM8260 ppc mpc8260 tqm8260 12357ebf7443Swdenk 1236ba91e26aSwdenkVoVPN-GW_66MHz_config \ 1237ba91e26aSwdenkVoVPN-GW_100MHz_config: unconfig 1238ba91e26aSwdenk @echo "#define CONFIG_CLKIN_$(word 2,$(subst _, ,$@))" > include/config.h 1239ba91e26aSwdenk @./mkconfig -a VoVPN-GW ppc mpc8260 vovpn-gw funkwerk 1240ba91e26aSwdenk 124154387ac9SwdenkZPC1900_config: unconfig 124254387ac9Swdenk @./mkconfig $(@:_config=) ppc mpc8260 zpc1900 12437aa78614Swdenk 12444e5ca3ebSwdenk#======================================================================== 12454e5ca3ebSwdenk# M68K 12464e5ca3ebSwdenk#======================================================================== 12474e5ca3ebSwdenk######################################################################### 12484e5ca3ebSwdenk## Coldfire 12494e5ca3ebSwdenk######################################################################### 12504e5ca3ebSwdenk 12517481266eSWolfgang Denkcobra5272_config : unconfig 12527481266eSWolfgang Denk @./mkconfig $(@:_config=) m68k mcf52x2 cobra5272 12537481266eSWolfgang Denk 12544e5ca3ebSwdenkM5272C3_config : unconfig 1255bf9e3b38Swdenk @./mkconfig $(@:_config=) m68k mcf52x2 m5272c3 12564e5ca3ebSwdenk 12574e5ca3ebSwdenkM5282EVB_config : unconfig 1258bf9e3b38Swdenk @./mkconfig $(@:_config=) m68k mcf52x2 m5282evb 12594e5ca3ebSwdenk 1260c419d1d6SstroeseTASREG_config : unconfig 1261c419d1d6Sstroese @./mkconfig $(@:_config=) m68k mcf52x2 tasreg esd 1262c419d1d6Sstroese 12637ebf7443Swdenk######################################################################### 1264f046ccd1SEran Liberty## MPC83xx Systems 1265f046ccd1SEran Liberty######################################################################### 1266f046ccd1SEran Liberty 1267f046ccd1SEran LibertyMPC8349ADS_config: unconfig 1268f046ccd1SEran Liberty @./mkconfig $(@:_config=) ppc mpc83xx mpc8349ads 1269f046ccd1SEran Liberty 1270e6f2e902SMarian BalakowiczTQM834x_config: unconfig 1271e6f2e902SMarian Balakowicz @./mkconfig $(@:_config=) ppc mpc83xx tqm834x 1272e6f2e902SMarian Balakowicz 1273f046ccd1SEran Liberty######################################################################### 127442d1f039Swdenk## MPC85xx Systems 127542d1f039Swdenk######################################################################### 127642d1f039Swdenk 127742d1f039SwdenkMPC8540ADS_config: unconfig 127842d1f039Swdenk @./mkconfig $(@:_config=) ppc mpc85xx mpc8540ads 127942d1f039Swdenk 1280b0e32949SLunsheng WangMPC8540EVAL_config \ 1281b0e32949SLunsheng WangMPC8540EVAL_33_config \ 1282b0e32949SLunsheng WangMPC8540EVAL_66_config \ 1283b0e32949SLunsheng WangMPC8540EVAL_33_slave_config \ 1284b0e32949SLunsheng WangMPC8540EVAL_66_slave_config: unconfig 1285b0e32949SLunsheng Wang @echo "" >include/config.h ; \ 1286b0e32949SLunsheng Wang if [ "$(findstring _33_,$@)" ] ; then \ 1287b0e32949SLunsheng Wang echo -n "... 33 MHz PCI" ; \ 1288b0e32949SLunsheng Wang else \ 1289b0e32949SLunsheng Wang echo "#define CONFIG_SYSCLK_66M" >>include/config.h ; \ 1290b0e32949SLunsheng Wang echo -n "... 66 MHz PCI" ; \ 1291b0e32949SLunsheng Wang fi ; \ 1292b0e32949SLunsheng Wang if [ "$(findstring _slave_,$@)" ] ; then \ 1293b0e32949SLunsheng Wang echo "#define CONFIG_PCI_SLAVE" >>include/config.h ; \ 1294b0e32949SLunsheng Wang echo " slave" ; \ 1295b0e32949SLunsheng Wang else \ 1296b0e32949SLunsheng Wang echo " host" ; \ 1297b0e32949SLunsheng Wang fi 1298b0e32949SLunsheng Wang @./mkconfig -a MPC8540EVAL ppc mpc85xx mpc8540eval 1299b0e32949SLunsheng Wang 130042d1f039SwdenkMPC8560ADS_config: unconfig 130142d1f039Swdenk @./mkconfig $(@:_config=) ppc mpc85xx mpc8560ads 130242d1f039Swdenk 130303f5c550SwdenkMPC8541CDS_config: unconfig 130403f5c550Swdenk @./mkconfig $(@:_config=) ppc mpc85xx mpc8541cds cds 130503f5c550Swdenk 1306d9b94f28SJon LoeligerMPC8548CDS_config: unconfig 1307d9b94f28SJon Loeliger @./mkconfig $(@:_config=) ppc mpc85xx mpc8548cds cds 1308d9b94f28SJon Loeliger 130903f5c550SwdenkMPC8555CDS_config: unconfig 131003f5c550Swdenk @./mkconfig $(@:_config=) ppc mpc85xx mpc8555cds cds 13117abf0c58Swdenk 1312384cc687SwdenkPM854_config: unconfig 1313384cc687Swdenk @./mkconfig $(@:_config=) ppc mpc85xx pm854 1314384cc687Swdenk 1315b20d0032SWolfgang DenkPM856_config: unconfig 1316b20d0032SWolfgang Denk @./mkconfig $(@:_config=) ppc mpc85xx pm856 1317b20d0032SWolfgang Denk 1318c15f3120Swdenksbc8540_config \ 1319c15f3120Swdenksbc8540_33_config \ 1320c15f3120Swdenksbc8540_66_config: unconfig 1321c15f3120Swdenk @if [ "$(findstring _66_,$@)" ] ; then \ 1322c15f3120Swdenk echo "#define CONFIG_PCI_66" >>include/config.h ; \ 1323c15f3120Swdenk echo "... 66 MHz PCI" ; \ 1324c15f3120Swdenk else \ 1325c15f3120Swdenk >include/config.h ; \ 1326c15f3120Swdenk echo "... 33 MHz PCI" ; \ 1327c15f3120Swdenk fi 1328c15f3120Swdenk @./mkconfig -a SBC8540 ppc mpc85xx sbc8560 1329c15f3120Swdenk 1330466b7410Swdenksbc8560_config \ 1331466b7410Swdenksbc8560_33_config \ 1332466b7410Swdenksbc8560_66_config: unconfig 13338b07a110Swdenk @if [ "$(findstring _66_,$@)" ] ; then \ 13348b07a110Swdenk echo "#define CONFIG_PCI_66" >>include/config.h ; \ 13358b07a110Swdenk echo "... 66 MHz PCI" ; \ 13368b07a110Swdenk else \ 13378b07a110Swdenk >include/config.h ; \ 13388b07a110Swdenk echo "... 33 MHz PCI" ; \ 13398b07a110Swdenk fi 1340466b7410Swdenk @./mkconfig -a sbc8560 ppc mpc85xx sbc8560 13418b07a110Swdenk 134203f5c550Swdenkstxgp3_config: unconfig 134303f5c550Swdenk @./mkconfig $(@:_config=) ppc mpc85xx stxgp3 134403f5c550Swdenk 1345d96f41e0SStefan RoeseTQM8540_config \ 1346d96f41e0SStefan RoeseTQM8541_config \ 1347d96f41e0SStefan RoeseTQM8555_config \ 1348f5c5ef4aSwdenkTQM8560_config: unconfig 1349a889bd27SWolfgang Denk @CTYPE=$(subst TQM,,$(@:_config=)); \ 1350d96f41e0SStefan Roese >include/config.h ; \ 1351d96f41e0SStefan Roese echo "... TQM"$${CTYPE}; \ 1352d96f41e0SStefan Roese echo "#define CONFIG_MPC$${CTYPE}">>include/config.h; \ 1353d96f41e0SStefan Roese echo "#define CONFIG_TQM$${CTYPE}">>include/config.h; \ 1354d96f41e0SStefan Roese echo "#define CONFIG_HOSTNAME tqm$${CTYPE}">>include/config.h; \ 1355d96f41e0SStefan Roese echo "#define CONFIG_BOARDNAME \"TQM$${CTYPE}\"">>include/config.h; \ 1356d96f41e0SStefan Roese echo "#define CFG_BOOTFILE \"bootfile=/tftpboot/tqm$${CTYPE}/uImage\0\"">>include/config.h 1357d96f41e0SStefan Roese @./mkconfig -a TQM85xx ppc mpc85xx tqm85xx 1358f5c5ef4aSwdenk 135942d1f039Swdenk######################################################################### 13607ebf7443Swdenk## 74xx/7xx Systems 13617ebf7443Swdenk######################################################################### 13627ebf7443Swdenk 1363c7de829cSwdenkAmigaOneG3SE_config: unconfig 1364c7de829cSwdenk @./mkconfig $(@:_config=) ppc 74xx_7xx AmigaOneG3SE MAI 1365c7de829cSwdenk 136615647dc7SwdenkBAB7xx_config: unconfig 136715647dc7Swdenk @./mkconfig $(@:_config=) ppc 74xx_7xx bab7xx eltec 136815647dc7Swdenk 1369c419d1d6SstroeseCPCI750_config: unconfig 1370c419d1d6Sstroese @./mkconfig CPCI750 ppc 74xx_7xx cpci750 esd 1371c419d1d6Sstroese 13723a473b2aSwdenkDB64360_config: unconfig 13733a473b2aSwdenk @./mkconfig DB64360 ppc 74xx_7xx db64360 Marvell 13743a473b2aSwdenk 13753a473b2aSwdenkDB64460_config: unconfig 13763a473b2aSwdenk @./mkconfig DB64460 ppc 74xx_7xx db64460 Marvell 13773a473b2aSwdenk 137815647dc7SwdenkELPPC_config: unconfig 137915647dc7Swdenk @./mkconfig $(@:_config=) ppc 74xx_7xx elppc eltec 138015647dc7Swdenk 13817ebf7443SwdenkEVB64260_config \ 13827ebf7443SwdenkEVB64260_750CX_config: unconfig 13837ebf7443Swdenk @./mkconfig EVB64260 ppc 74xx_7xx evb64260 13847ebf7443Swdenk 138515647dc7SwdenkP3G4_config: unconfig 13867ebf7443Swdenk @./mkconfig $(@:_config=) ppc 74xx_7xx evb64260 13877ebf7443Swdenk 13887ebf7443SwdenkPCIPPC2_config \ 13897ebf7443SwdenkPCIPPC6_config: unconfig 13907ebf7443Swdenk @./mkconfig $(@:_config=) ppc 74xx_7xx pcippc2 13917ebf7443Swdenk 139215647dc7SwdenkZUMA_config: unconfig 139312f34241Swdenk @./mkconfig $(@:_config=) ppc 74xx_7xx evb64260 139412f34241Swdenk 13957ebf7443Swdenk#======================================================================== 13967ebf7443Swdenk# ARM 13977ebf7443Swdenk#======================================================================== 13987ebf7443Swdenk######################################################################### 13997ebf7443Swdenk## StrongARM Systems 14007ebf7443Swdenk######################################################################### 14017ebf7443Swdenk 1402ea66bc88Swdenkassabet_config : unconfig 1403ea66bc88Swdenk @./mkconfig $(@:_config=) arm sa1100 assabet 1404ea66bc88Swdenk 14057ebf7443Swdenkdnp1110_config : unconfig 14067ebf7443Swdenk @./mkconfig $(@:_config=) arm sa1100 dnp1110 14077ebf7443Swdenk 1408855a496fSwdenkgcplus_config : unconfig 1409855a496fSwdenk @./mkconfig $(@:_config=) arm sa1100 gcplus 1410855a496fSwdenk 1411855a496fSwdenklart_config : unconfig 1412855a496fSwdenk @./mkconfig $(@:_config=) arm sa1100 lart 1413855a496fSwdenk 14147ebf7443Swdenkshannon_config : unconfig 14157ebf7443Swdenk @./mkconfig $(@:_config=) arm sa1100 shannon 14167ebf7443Swdenk 14177ebf7443Swdenk######################################################################### 14182e5983d2Swdenk## ARM92xT Systems 14197ebf7443Swdenk######################################################################### 14207ebf7443Swdenk 1421b0639ca3Swdenkxtract_trab = $(subst _bigram,,$(subst _bigflash,,$(subst _old,,$(subst _config,,$1)))) 142243d9616cSwdenk 14233ff02c27Swdenkxtract_omap1610xxx = $(subst _cs0boot,,$(subst _cs3boot,,$(subst _cs_autoboot,,$(subst _config,,$1)))) 142463e73c9aSwdenk 1425a56bd922Swdenkxtract_omap730p2 = $(subst _cs0boot,,$(subst _cs3boot,, $(subst _config,,$1))) 1426a56bd922Swdenk 1427a85f9f21Swdenkat91rm9200dk_config : unconfig 1428a85f9f21Swdenk @./mkconfig $(@:_config=) arm arm920t at91rm9200dk NULL at91rm9200 1429a85f9f21Swdenk 1430a85f9f21Swdenkcmc_pu2_config : unconfig 1431a85f9f21Swdenk @./mkconfig $(@:_config=) arm arm920t cmc_pu2 NULL at91rm9200 1432a85f9f21Swdenk 1433645da510SWolfgang Denkcsb637_config : unconfig 1434645da510SWolfgang Denk @./mkconfig $(@:_config=) arm arm920t csb637 NULL at91rm9200 1435645da510SWolfgang Denk 14360e4018d2SWolfgang Denkmp2usb_config : unconfig 14370e4018d2SWolfgang Denk @./mkconfig $(@:_config=) arm arm920t mp2usb NULL at91rm9200 14380e4018d2SWolfgang Denk 143987cb6862SWolfgang Denk 144074f4304eSWolfgang Denk######################################################################## 144187cb6862SWolfgang Denk## ARM Integrator boards - see doc/README-integrator for more info. 144287cb6862SWolfgang Denkintegratorap_config \ 144387cb6862SWolfgang Denkap_config \ 144487cb6862SWolfgang Denkap966_config \ 144587cb6862SWolfgang Denkap922_config \ 144687cb6862SWolfgang Denkap922_XA10_config \ 144787cb6862SWolfgang Denkap7_config \ 144887cb6862SWolfgang Denkap720t_config \ 144987cb6862SWolfgang Denkap920t_config \ 145087cb6862SWolfgang Denkap926ejs_config \ 145187cb6862SWolfgang Denkap946es_config: unconfig 145296782c63SWolfgang Denk @board/integratorap/split_by_variant.sh $@ 14533d3befa7Swdenk 145487cb6862SWolfgang Denkintegratorcp_config \ 145587cb6862SWolfgang Denkcp_config \ 145687cb6862SWolfgang Denkcp920t_config \ 145787cb6862SWolfgang Denkcp926ejs_config \ 145887cb6862SWolfgang Denkcp946es_config \ 145987cb6862SWolfgang Denkcp1136_config \ 146087cb6862SWolfgang Denkcp966_config \ 146187cb6862SWolfgang Denkcp922_config \ 146287cb6862SWolfgang Denkcp922_XA10_config \ 146387cb6862SWolfgang Denkcp1026_config: unconfig 146496782c63SWolfgang Denk @board/integratorcp/split_by_variant.sh $@ 146525d6712aSwdenk 146699b0d285SWolfgang Denkkb9202_config : unconfig 146799b0d285SWolfgang Denk @./mkconfig $(@:_config=) arm arm920t kb9202 NULL at91rm9200 146899b0d285SWolfgang Denk 1469f832d8a1Swdenklpd7a400_config \ 1470f832d8a1Swdenklpd7a404_config: unconfig 14712d24a3a7Swdenk @./mkconfig $(@:_config=) arm lh7a40x lpd7a40x 14723d3befa7Swdenk 1473281e00a3Swdenkmx1ads_config : unconfig 14741d9f4105Swdenk @./mkconfig $(@:_config=) arm arm920t mx1ads NULL imx 1475281e00a3Swdenk 1476281e00a3Swdenkmx1fs2_config : unconfig 14771d9f4105Swdenk @./mkconfig $(@:_config=) arm arm920t mx1fs2 NULL imx 1478281e00a3Swdenk 14792e5983d2Swdenkomap1510inn_config : unconfig 14802e5983d2Swdenk @./mkconfig $(@:_config=) arm arm925t omap1510inn 14812e5983d2Swdenk 14821eaeb58eSwdenkomap5912osk_config : unconfig 14831eaeb58eSwdenk @./mkconfig $(@:_config=) arm arm926ejs omap5912osk 14841eaeb58eSwdenk 148563e73c9aSwdenkomap1610inn_config \ 148663e73c9aSwdenkomap1610inn_cs0boot_config \ 148763e73c9aSwdenkomap1610inn_cs3boot_config \ 14883ff02c27Swdenkomap1610inn_cs_autoboot_config \ 148963e73c9aSwdenkomap1610h2_config \ 149063e73c9aSwdenkomap1610h2_cs0boot_config \ 14913ff02c27Swdenkomap1610h2_cs3boot_config \ 14923ff02c27Swdenkomap1610h2_cs_autoboot_config: unconfig 149363e73c9aSwdenk @if [ "$(findstring _cs0boot_, $@)" ] ; then \ 149463e73c9aSwdenk echo "#define CONFIG_CS0_BOOT" >> ./include/config.h ; \ 1495b79a11ccSwdenk echo "... configured for CS0 boot"; \ 14963ff02c27Swdenk elif [ "$(findstring _cs_autoboot_, $@)" ] ; then \ 14973ff02c27Swdenk echo "#define CONFIG_CS_AUTOBOOT" >> ./include/config.h ; \ 14983ff02c27Swdenk echo "... configured for CS_AUTO boot"; \ 149963e73c9aSwdenk else \ 150063e73c9aSwdenk echo "#define CONFIG_CS3_BOOT" >> ./include/config.h ; \ 1501b79a11ccSwdenk echo "... configured for CS3 boot"; \ 150263e73c9aSwdenk fi; 150363e73c9aSwdenk @./mkconfig -a $(call xtract_omap1610xxx,$@) arm arm926ejs omap1610inn 15046f21347dSwdenk 1505a56bd922Swdenkomap730p2_config \ 1506a56bd922Swdenkomap730p2_cs0boot_config \ 1507a56bd922Swdenkomap730p2_cs3boot_config : unconfig 1508a56bd922Swdenk @if [ "$(findstring _cs0boot_, $@)" ] ; then \ 1509a56bd922Swdenk echo "#define CONFIG_CS0_BOOT" >> ./include/config.h ; \ 1510a56bd922Swdenk echo "... configured for CS0 boot"; \ 1511a56bd922Swdenk else \ 1512a56bd922Swdenk echo "#define CONFIG_CS3_BOOT" >> ./include/config.h ; \ 1513a56bd922Swdenk echo "... configured for CS3 boot"; \ 1514a56bd922Swdenk fi; 1515a56bd922Swdenk @./mkconfig -a $(call xtract_omap730p2,$@) arm arm926ejs omap730p2 1516a56bd922Swdenk 1517281e00a3Swdenkscb9328_config : unconfig 15181d9f4105Swdenk @./mkconfig $(@:_config=) arm arm920t scb9328 NULL imx 1519281e00a3Swdenk 15207ebf7443Swdenksmdk2400_config : unconfig 15211d9f4105Swdenk @./mkconfig $(@:_config=) arm arm920t smdk2400 NULL s3c24x0 15227ebf7443Swdenk 15237ebf7443Swdenksmdk2410_config : unconfig 15241d9f4105Swdenk @./mkconfig $(@:_config=) arm arm920t smdk2410 NULL s3c24x0 15257ebf7443Swdenk 15262d24a3a7SwdenkSX1_config : unconfig 15272d24a3a7Swdenk @./mkconfig $(@:_config=) arm arm925t sx1 15282d24a3a7Swdenk 1529b2001f27Swdenk# TRAB default configuration: 8 MB Flash, 32 MB RAM 153043d9616cSwdenktrab_config \ 1531b0639ca3Swdenktrab_bigram_config \ 1532b0639ca3Swdenktrab_bigflash_config \ 1533f54ebdfaSwdenktrab_old_config: unconfig 153443d9616cSwdenk @ >include/config.h 1535b0639ca3Swdenk @[ -z "$(findstring _bigram,$@)" ] || \ 1536b0639ca3Swdenk { echo "#define CONFIG_FLASH_8MB" >>include/config.h ; \ 1537b2001f27Swdenk echo "#define CONFIG_RAM_32MB" >>include/config.h ; \ 1538b0639ca3Swdenk echo "... with 8 MB Flash, 32 MB RAM" ; \ 1539b0639ca3Swdenk } 1540b0639ca3Swdenk @[ -z "$(findstring _bigflash,$@)" ] || \ 1541b2001f27Swdenk { echo "#define CONFIG_FLASH_16MB" >>include/config.h ; \ 1542b2001f27Swdenk echo "#define CONFIG_RAM_16MB" >>include/config.h ; \ 1543b0639ca3Swdenk echo "... with 16 MB Flash, 16 MB RAM" ; \ 1544a8c7c708Swdenk echo "TEXT_BASE = 0x0CF40000" >board/trab/config.tmp ; \ 1545b0639ca3Swdenk } 1546f54ebdfaSwdenk @[ -z "$(findstring _old,$@)" ] || \ 1547b2001f27Swdenk { echo "#define CONFIG_FLASH_8MB" >>include/config.h ; \ 1548b2001f27Swdenk echo "#define CONFIG_RAM_16MB" >>include/config.h ; \ 1549b2001f27Swdenk echo "... with 8 MB Flash, 16 MB RAM" ; \ 1550a8c7c708Swdenk echo "TEXT_BASE = 0x0CF40000" >board/trab/config.tmp ; \ 155143d9616cSwdenk } 15521d9f4105Swdenk @./mkconfig -a $(call xtract_trab,$@) arm arm920t trab NULL s3c24x0 15537ebf7443Swdenk 15541cb8e980SwdenkVCMA9_config : unconfig 15551d9f4105Swdenk @./mkconfig $(@:_config=) arm arm920t vcma9 mpl s3c24x0 15561cb8e980Swdenk 155787cb6862SWolfgang Denk#======================================================================== 155887cb6862SWolfgang Denk# ARM supplied Versatile development boards 155987cb6862SWolfgang Denk#======================================================================== 156087cb6862SWolfgang Denkversatile_config \ 156187cb6862SWolfgang Denkversatileab_config \ 156287cb6862SWolfgang Denkversatilepb_config : unconfig 156396782c63SWolfgang Denk @board/versatile/split_by_variant.sh $@ 1564074cff0dSwdenk 15653c2b3d45Swdenkvoiceblue_smallflash_config \ 15663c2b3d45Swdenkvoiceblue_config: unconfig 15673c2b3d45Swdenk @if [ "$(findstring _smallflash_,$@)" ] ; then \ 15683c2b3d45Swdenk echo "... boot from lower flash bank" ; \ 15693c2b3d45Swdenk echo "#define VOICEBLUE_SMALL_FLASH" >>include/config.h ; \ 15703c2b3d45Swdenk echo "VOICEBLUE_SMALL_FLASH=y" >board/voiceblue/config.tmp ; \ 15713c2b3d45Swdenk else \ 15723c2b3d45Swdenk echo "... boot from upper flash bank" ; \ 15733c2b3d45Swdenk >include/config.h ; \ 15743c2b3d45Swdenk echo "VOICEBLUE_SMALL_FLASH=n" >board/voiceblue/config.tmp ; \ 15753c2b3d45Swdenk fi 15763c2b3d45Swdenk @./mkconfig -a voiceblue arm arm925t voiceblue 15773c2b3d45Swdenk 157816b013e7Swdenkcm4008_config : unconfig 157916b013e7Swdenk @./mkconfig $(@:_config=) arm arm920t cm4008 NULL ks8695 158016b013e7Swdenk 158116b013e7Swdenkcm41xx_config : unconfig 158216b013e7Swdenk @./mkconfig $(@:_config=) arm arm920t cm41xx NULL ks8695 158316b013e7Swdenk 1584074cff0dSwdenk######################################################################### 1585074cff0dSwdenk## S3C44B0 Systems 1586074cff0dSwdenk######################################################################### 1587074cff0dSwdenk 1588074cff0dSwdenkB2_config : unconfig 1589074cff0dSwdenk @./mkconfig $(@:_config=) arm s3c44b0 B2 dave 1590074cff0dSwdenk 15917ebf7443Swdenk######################################################################### 15927ebf7443Swdenk## ARM720T Systems 15937ebf7443Swdenk######################################################################### 15947ebf7443Swdenk 1595c570b2fdSWolfgang Denkarmadillo_config: unconfig 1596c570b2fdSWolfgang Denk @./mkconfig $(@:_config=) arm arm720t armadillo 1597c570b2fdSWolfgang Denk 15987ebf7443Swdenkep7312_config : unconfig 15997ebf7443Swdenk @./mkconfig $(@:_config=) arm arm720t ep7312 16007ebf7443Swdenk 16012d24a3a7Swdenkimpa7_config : unconfig 16022d24a3a7Swdenk @./mkconfig $(@:_config=) arm arm720t impa7 16032d24a3a7Swdenk 16042d1a537dSwdenkmodnet50_config : unconfig 16052d1a537dSwdenk @./mkconfig $(@:_config=) arm arm720t modnet50 16062d1a537dSwdenk 160739539887Swdenkevb4510_config : unconfig 160839539887Swdenk @./mkconfig $(@:_config=) arm arm720t evb4510 160939539887Swdenk 16107ebf7443Swdenk######################################################################### 161143d9616cSwdenk## XScale Systems 16127ebf7443Swdenk######################################################################### 16137ebf7443Swdenk 161420787e23Swdenkadsvix_config : unconfig 161520787e23Swdenk @./mkconfig $(@:_config=) arm pxa adsvix 161620787e23Swdenk 1617fabd46acSwdenkcerf250_config : unconfig 1618fabd46acSwdenk @./mkconfig $(@:_config=) arm pxa cerf250 1619fabd46acSwdenk 16207ebf7443Swdenkcradle_config : unconfig 16214c3b21a5Swdenk @./mkconfig $(@:_config=) arm pxa cradle 16227ebf7443Swdenk 16237ebf7443Swdenkcsb226_config : unconfig 16244c3b21a5Swdenk @./mkconfig $(@:_config=) arm pxa csb226 16257ebf7443Swdenk 162643d9616cSwdenkinnokom_config : unconfig 16274c3b21a5Swdenk @./mkconfig $(@:_config=) arm pxa innokom 162843d9616cSwdenk 16292d5b561eSwdenkixdp425_config : unconfig 16302d5b561eSwdenk @./mkconfig $(@:_config=) arm ixp ixdp425 16312d5b561eSwdenk 163243d9616cSwdenklubbock_config : unconfig 16334c3b21a5Swdenk @./mkconfig $(@:_config=) arm pxa lubbock 163443d9616cSwdenk 163552f52c14Swdenklogodl_config : unconfig 163652f52c14Swdenk @./mkconfig $(@:_config=) arm pxa logodl 163752f52c14Swdenk 1638f57f70aaSWolfgang Denkpxa255_idp_config: unconfig 1639f57f70aaSWolfgang Denk @./mkconfig $(@:_config=) arm pxa pxa255_idp 1640f57f70aaSWolfgang Denk 16413e38691eSwdenkwepep250_config : unconfig 16424c3b21a5Swdenk @./mkconfig $(@:_config=) arm pxa wepep250 16433e38691eSwdenk 16444ec3a7f0Swdenkxaeniax_config : unconfig 16454ec3a7f0Swdenk @./mkconfig $(@:_config=) arm pxa xaeniax 16464ec3a7f0Swdenk 1647efa329cbSwdenkxm250_config : unconfig 1648efa329cbSwdenk @./mkconfig $(@:_config=) arm pxa xm250 1649efa329cbSwdenk 1650ca0e7748Swdenkxsengine_config : unconfig 1651ca0e7748Swdenk @./mkconfig $(@:_config=) arm pxa xsengine 1652ca0e7748Swdenk 16538ed96046Swdenk######################################################################### 16548ed96046Swdenk## ARM1136 Systems 16558ed96046Swdenk######################################################################### 16568ed96046Swdenkomap2420h4_config : unconfig 16578ed96046Swdenk @./mkconfig $(@:_config=) arm arm1136 omap2420h4 16588ed96046Swdenk 16592262cfeeSwdenk#======================================================================== 16602262cfeeSwdenk# i386 16612262cfeeSwdenk#======================================================================== 16622262cfeeSwdenk######################################################################### 16632262cfeeSwdenk## AMD SC520 CDP 16642262cfeeSwdenk######################################################################### 16652262cfeeSwdenksc520_cdp_config : unconfig 16662262cfeeSwdenk @./mkconfig $(@:_config=) i386 i386 sc520_cdp 16672262cfeeSwdenk 16687a8e9bedSwdenksc520_spunk_config : unconfig 16697a8e9bedSwdenk @./mkconfig $(@:_config=) i386 i386 sc520_spunk 16707a8e9bedSwdenk 16717a8e9bedSwdenksc520_spunk_rel_config : unconfig 16727a8e9bedSwdenk @./mkconfig $(@:_config=) i386 i386 sc520_spunk 16737a8e9bedSwdenk 167443d9616cSwdenk#======================================================================== 167543d9616cSwdenk# MIPS 167643d9616cSwdenk#======================================================================== 16777ebf7443Swdenk######################################################################### 167843d9616cSwdenk## MIPS32 4Kc 167943d9616cSwdenk######################################################################### 168043d9616cSwdenk 1681e0ac62d7Swdenkxtract_incaip = $(subst _100MHz,,$(subst _133MHz,,$(subst _150MHz,,$(subst _config,,$1)))) 1682e0ac62d7Swdenk 1683e0ac62d7Swdenkincaip_100MHz_config \ 1684e0ac62d7Swdenkincaip_133MHz_config \ 1685e0ac62d7Swdenkincaip_150MHz_config \ 168643d9616cSwdenkincaip_config: unconfig 1687e0ac62d7Swdenk @ >include/config.h 1688e0ac62d7Swdenk @[ -z "$(findstring _100MHz,$@)" ] || \ 1689e0ac62d7Swdenk { echo "#define CPU_CLOCK_RATE 100000000" >>include/config.h ; \ 1690e0ac62d7Swdenk echo "... with 100MHz system clock" ; \ 1691e0ac62d7Swdenk } 1692e0ac62d7Swdenk @[ -z "$(findstring _133MHz,$@)" ] || \ 1693e0ac62d7Swdenk { echo "#define CPU_CLOCK_RATE 133000000" >>include/config.h ; \ 1694e0ac62d7Swdenk echo "... with 133MHz system clock" ; \ 1695e0ac62d7Swdenk } 1696e0ac62d7Swdenk @[ -z "$(findstring _150MHz,$@)" ] || \ 1697e0ac62d7Swdenk { echo "#define CPU_CLOCK_RATE 150000000" >>include/config.h ; \ 1698e0ac62d7Swdenk echo "... with 150MHz system clock" ; \ 1699e0ac62d7Swdenk } 1700e0ac62d7Swdenk @./mkconfig -a $(call xtract_incaip,$@) mips mips incaip 1701e0ac62d7Swdenk 1702f4863a7aSwdenktb0229_config: unconfig 1703f4863a7aSwdenk @./mkconfig $(@:_config=) mips mips tb0229 1704f4863a7aSwdenk 1705e0ac62d7Swdenk######################################################################### 170669459791Swdenk## MIPS32 AU1X00 170769459791Swdenk######################################################################### 170869459791Swdenkdbau1000_config : unconfig 170969459791Swdenk @ >include/config.h 171069459791Swdenk @echo "#define CONFIG_DBAU1000 1" >>include/config.h 171169459791Swdenk @./mkconfig -a dbau1x00 mips mips dbau1x00 171269459791Swdenk 171369459791Swdenkdbau1100_config : unconfig 171469459791Swdenk @ >include/config.h 171569459791Swdenk @echo "#define CONFIG_DBAU1100 1" >>include/config.h 171669459791Swdenk @./mkconfig -a dbau1x00 mips mips dbau1x00 171769459791Swdenk 171869459791Swdenkdbau1500_config : unconfig 171969459791Swdenk @ >include/config.h 172069459791Swdenk @echo "#define CONFIG_DBAU1500 1" >>include/config.h 172169459791Swdenk @./mkconfig -a dbau1x00 mips mips dbau1x00 172269459791Swdenk 1723ff36fd85Swdenkdbau1550_config : unconfig 1724ff36fd85Swdenk @ >include/config.h 1725ff36fd85Swdenk @echo "#define CONFIG_DBAU1550 1" >>include/config.h 1726ff36fd85Swdenk @./mkconfig -a dbau1x00 mips mips dbau1x00 1727ff36fd85Swdenk 1728ff36fd85Swdenkdbau1550_el_config : unconfig 1729ff36fd85Swdenk @ >include/config.h 1730ff36fd85Swdenk @echo "#define CONFIG_DBAU1550 1" >>include/config.h 173121919230SWolfgang Denk @./mkconfig -a dbau1x00 mips mips dbau1x00 1732ff36fd85Swdenk 1733265817c7SWolfgang Denkpb1000_config : unconfig 1734265817c7SWolfgang Denk @ >include/config.h 1735265817c7SWolfgang Denk @echo "#define CONFIG_PB1000 1" >>include/config.h 1736265817c7SWolfgang Denk @./mkconfig -a pb1x00 mips mips pb1x00 1737265817c7SWolfgang Denk 173869459791Swdenk######################################################################### 1739e0ac62d7Swdenk## MIPS64 5Kc 1740e0ac62d7Swdenk######################################################################### 174143d9616cSwdenk 17423e38691eSwdenkpurple_config : unconfig 17433e38691eSwdenk @./mkconfig $(@:_config=) mips mips purple 174443d9616cSwdenk 17454a551709Swdenk#======================================================================== 17464a551709Swdenk# Nios 17474a551709Swdenk#======================================================================== 17484a551709Swdenk######################################################################### 17494a551709Swdenk## Nios32 17504a551709Swdenk######################################################################### 17514a551709Swdenk 1752c935d3bdSwdenkDK1C20_safe_32_config \ 1753c935d3bdSwdenkDK1C20_standard_32_config \ 17544a551709SwdenkDK1C20_config: unconfig 1755c935d3bdSwdenk @ >include/config.h 1756c935d3bdSwdenk @[ -z "$(findstring _safe_32,$@)" ] || \ 1757c935d3bdSwdenk { echo "#define CONFIG_NIOS_SAFE_32 1" >>include/config.h ; \ 1758c935d3bdSwdenk echo "... NIOS 'safe_32' configuration" ; \ 1759c935d3bdSwdenk } 1760c935d3bdSwdenk @[ -z "$(findstring _standard_32,$@)" ] || \ 1761c935d3bdSwdenk { echo "#define CONFIG_NIOS_STANDARD_32 1" >>include/config.h ; \ 1762c935d3bdSwdenk echo "... NIOS 'standard_32' configuration" ; \ 1763c935d3bdSwdenk } 1764c935d3bdSwdenk @[ -z "$(findstring DK1C20_config,$@)" ] || \ 1765c935d3bdSwdenk { echo "#define CONFIG_NIOS_STANDARD_32 1" >>include/config.h ; \ 1766c935d3bdSwdenk echo "... NIOS 'standard_32' configuration (DEFAULT)" ; \ 1767c935d3bdSwdenk } 1768c935d3bdSwdenk @./mkconfig -a DK1C20 nios nios dk1c20 altera 1769c935d3bdSwdenk 1770c935d3bdSwdenkDK1S10_safe_32_config \ 1771c935d3bdSwdenkDK1S10_standard_32_config \ 1772ec4c544bSwdenkDK1S10_mtx_ldk_20_config \ 1773c935d3bdSwdenkDK1S10_config: unconfig 1774c935d3bdSwdenk @ >include/config.h 1775c935d3bdSwdenk @[ -z "$(findstring _safe_32,$@)" ] || \ 1776c935d3bdSwdenk { echo "#define CONFIG_NIOS_SAFE_32 1" >>include/config.h ; \ 1777c935d3bdSwdenk echo "... NIOS 'safe_32' configuration" ; \ 1778c935d3bdSwdenk } 1779c935d3bdSwdenk @[ -z "$(findstring _standard_32,$@)" ] || \ 1780c935d3bdSwdenk { echo "#define CONFIG_NIOS_STANDARD_32 1" >>include/config.h ; \ 1781c935d3bdSwdenk echo "... NIOS 'standard_32' configuration" ; \ 1782c935d3bdSwdenk } 1783ec4c544bSwdenk @[ -z "$(findstring _mtx_ldk_20,$@)" ] || \ 1784ec4c544bSwdenk { echo "#define CONFIG_NIOS_MTX_LDK_20 1" >>include/config.h ; \ 1785ec4c544bSwdenk echo "... NIOS 'mtx_ldk_20' configuration" ; \ 1786ec4c544bSwdenk } 1787c935d3bdSwdenk @[ -z "$(findstring DK1S10_config,$@)" ] || \ 1788c935d3bdSwdenk { echo "#define CONFIG_NIOS_STANDARD_32 1" >>include/config.h ; \ 1789c935d3bdSwdenk echo "... NIOS 'standard_32' configuration (DEFAULT)" ; \ 1790c935d3bdSwdenk } 1791c935d3bdSwdenk @./mkconfig -a DK1S10 nios nios dk1s10 altera 17924a551709Swdenk 1793aaf224abSwdenkADNPESC1_DNPEVA2_base_32_config \ 1794aaf224abSwdenkADNPESC1_base_32_config \ 1795aaf224abSwdenkADNPESC1_config: unconfig 1796aaf224abSwdenk @ >include/config.h 1797aaf224abSwdenk @[ -z "$(findstring _DNPEVA2,$@)" ] || \ 1798aaf224abSwdenk { echo "#define CONFIG_DNPEVA2 1" >>include/config.h ; \ 1799aaf224abSwdenk echo "... DNP/EVA2 configuration" ; \ 1800aaf224abSwdenk } 1801aaf224abSwdenk @[ -z "$(findstring _base_32,$@)" ] || \ 1802aaf224abSwdenk { echo "#define CONFIG_NIOS_BASE_32 1" >>include/config.h ; \ 1803aaf224abSwdenk echo "... NIOS 'base_32' configuration" ; \ 1804aaf224abSwdenk } 1805aaf224abSwdenk @[ -z "$(findstring ADNPESC1_config,$@)" ] || \ 1806aaf224abSwdenk { echo "#define CONFIG_NIOS_BASE_32 1" >>include/config.h ; \ 1807aaf224abSwdenk echo "... NIOS 'base_32' configuration (DEFAULT)" ; \ 1808aaf224abSwdenk } 1809aaf224abSwdenk @./mkconfig -a ADNPESC1 nios nios adnpesc1 ssv 1810aaf224abSwdenk 18115c952cf0Swdenk######################################################################### 18125c952cf0Swdenk## Nios-II 18135c952cf0Swdenk######################################################################### 18145c952cf0Swdenk 18155c952cf0SwdenkPK1C20_config : unconfig 18165c952cf0Swdenk @./mkconfig PK1C20 nios2 nios2 pk1c20 psyent 18175c952cf0Swdenk 18185c952cf0SwdenkPCI5441_config : unconfig 18195c952cf0Swdenk @./mkconfig PCI5441 nios2 nios2 pci5441 psyent 18204a551709Swdenk 1821507bbe3eSwdenk#======================================================================== 1822507bbe3eSwdenk# MicroBlaze 1823507bbe3eSwdenk#======================================================================== 1824507bbe3eSwdenk######################################################################### 1825507bbe3eSwdenk## Microblaze 1826507bbe3eSwdenk######################################################################### 1827507bbe3eSwdenksuzaku_config: unconfig 1828507bbe3eSwdenk @ >include/config.h 1829507bbe3eSwdenk @echo "#define CONFIG_SUZAKU 1" >> include/config.h 1830507bbe3eSwdenk @./mkconfig -a $(@:_config=) microblaze microblaze suzaku AtmarkTechno 1831507bbe3eSwdenk 18323e38691eSwdenk######################################################################### 18333e38691eSwdenk######################################################################### 18347ebf7443Swdenk 18357ebf7443Swdenkclean: 18367ebf7443Swdenk find . -type f \ 18377ebf7443Swdenk \( -name 'core' -o -name '*.bak' -o -name '*~' \ 18387ebf7443Swdenk -o -name '*.o' -o -name '*.a' \) -print \ 18397ebf7443Swdenk | xargs rm -f 184085ec0bccSwdenk rm -f examples/hello_world examples/timer \ 18413e38691eSwdenk examples/eepro100_eeprom examples/sched \ 1842ed16fefcSwdenk examples/mem_to_mem_idma2intr examples/82559_eeprom \ 1843ed16fefcSwdenk examples/test_burst 18447ebf7443Swdenk rm -f tools/img2srec tools/mkimage tools/envcrc tools/gen_eth_addr 1845eedcd078Swdenk rm -f tools/mpc86x_clk tools/ncb 18467ebf7443Swdenk rm -f tools/easylogo/easylogo tools/bmp_logo 18477ebf7443Swdenk rm -f tools/gdb/astest tools/gdb/gdbcont tools/gdb/gdbsend 1848228f29acSwdenk rm -f tools/env/fw_printenv tools/env/fw_setenv 18497f70e853Swdenk rm -f board/cray/L1/bootscript.c board/cray/L1/bootscript.image 18500e1fb5eeSWolfgang Denk rm -f board/trab/trab_fkt board/voiceblue/eeprom 185187cb6862SWolfgang Denk rm -f board/integratorap/u-boot.lds board/integratorcp/u-boot.lds 18527ebf7443Swdenk 18537ebf7443Swdenkclobber: clean 18544c0d4c3bSwdenk find . -type f \( -name .depend \ 18554c0d4c3bSwdenk -o -name '*.srec' -o -name '*.bin' -o -name u-boot.img \) \ 18564c0d4c3bSwdenk -print0 \ 18574c0d4c3bSwdenk | xargs -0 rm -f 1858881a87ecSWolfgang Denk rm -f $(OBJS) *.bak tags TAGS include/version_autogenerated.h 18597ebf7443Swdenk rm -fr *.*~ 18606310eb9dSwdenk rm -f u-boot u-boot.map u-boot.hex $(ALL) 1861228f29acSwdenk rm -f tools/crc32.c tools/environment.c tools/env/crc32.c 18623e38691eSwdenk rm -f tools/inca-swap-bytes cpu/mpc824x/bedbug_603e.c 1863b783edaeSwdenk rm -f include/asm/proc include/asm/arch include/asm 18647ebf7443Swdenk 18657ebf7443Swdenkmrproper \ 18667ebf7443Swdenkdistclean: clobber unconfig 18677ebf7443Swdenk 18687ebf7443Swdenkbackup: 18697ebf7443Swdenk F=`basename $(TOPDIR)` ; cd .. ; \ 18707ebf7443Swdenk gtar --force-local -zcvf `date "+$$F-%Y-%m-%d-%T.tar.gz"` $$F 18717ebf7443Swdenk 18727ebf7443Swdenk######################################################################### 1873