1# 2# (C) Copyright 2000-2008 3# Wolfgang Denk, DENX Software Engineering, wd@denx.de. 4# 5# See file CREDITS for list of people who contributed to this 6# project. 7# 8# This program is free software; you can redistribute it and/or 9# modify it under the terms of the GNU General Public License as 10# published by the Free Software Foundatio; either version 2 of 11# the License, or (at your option) any later version. 12# 13# This program is distributed in the hope that it will be useful, 14# but WITHOUT ANY WARRANTY; without even the implied warranty of 15# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16# GNU General Public License for more details. 17# 18# You should have received a copy of the GNU General Public License 19# along with this program; if not, write to the Free Software 20# Foundation, Inc., 59 Temple Place, Suite 330, Boston, 21# MA 02111-1307 USA 22# 23 24VERSION = 2009 25PATCHLEVEL = 01 26SUBLEVEL = 27EXTRAVERSION = 28ifneq "$(SUBLEVEL)" "" 29U_BOOT_VERSION = $(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION) 30else 31U_BOOT_VERSION = $(VERSION).$(PATCHLEVEL)$(EXTRAVERSION) 32endif 33TIMESTAMP_FILE = $(obj)include/timestamp_autogenerated.h 34VERSION_FILE = $(obj)include/version_autogenerated.h 35 36HOSTARCH := $(shell uname -m | \ 37 sed -e s/i.86/i386/ \ 38 -e s/sun4u/sparc64/ \ 39 -e s/arm.*/arm/ \ 40 -e s/sa110/arm/ \ 41 -e s/powerpc/ppc/ \ 42 -e s/ppc64/ppc/ \ 43 -e s/macppc/ppc/) 44 45HOSTOS := $(shell uname -s | tr '[:upper:]' '[:lower:]' | \ 46 sed -e 's/\(cygwin\).*/cygwin/') 47 48# Set shell to bash if possible, otherwise fall back to sh 49SHELL := $(shell if [ -x "$$BASH" ]; then echo $$BASH; \ 50 else if [ -x /bin/bash ]; then echo /bin/bash; \ 51 else echo sh; fi; fi) 52 53export HOSTARCH HOSTOS SHELL 54 55# Deal with colliding definitions from tcsh etc. 56VENDOR= 57 58######################################################################### 59# Allow for silent builds 60ifeq (,$(findstring s,$(MAKEFLAGS))) 61XECHO = echo 62else 63XECHO = : 64endif 65 66######################################################################### 67# 68# U-boot build supports producing a object files to the separate external 69# directory. Two use cases are supported: 70# 71# 1) Add O= to the make command line 72# 'make O=/tmp/build all' 73# 74# 2) Set environement variable BUILD_DIR to point to the desired location 75# 'export BUILD_DIR=/tmp/build' 76# 'make' 77# 78# The second approach can also be used with a MAKEALL script 79# 'export BUILD_DIR=/tmp/build' 80# './MAKEALL' 81# 82# Command line 'O=' setting overrides BUILD_DIR environent variable. 83# 84# When none of the above methods is used the local build is performed and 85# the object files are placed in the source directory. 86# 87 88ifdef O 89ifeq ("$(origin O)", "command line") 90BUILD_DIR := $(O) 91endif 92endif 93 94ifneq ($(BUILD_DIR),) 95saved-output := $(BUILD_DIR) 96 97# Attempt to create a output directory. 98$(shell [ -d ${BUILD_DIR} ] || mkdir -p ${BUILD_DIR}) 99 100# Verify if it was successful. 101BUILD_DIR := $(shell cd $(BUILD_DIR) && /bin/pwd) 102$(if $(BUILD_DIR),,$(error output directory "$(saved-output)" does not exist)) 103endif # ifneq ($(BUILD_DIR),) 104 105OBJTREE := $(if $(BUILD_DIR),$(BUILD_DIR),$(CURDIR)) 106SRCTREE := $(CURDIR) 107TOPDIR := $(SRCTREE) 108LNDIR := $(OBJTREE) 109export TOPDIR SRCTREE OBJTREE 110 111MKCONFIG := $(SRCTREE)/mkconfig 112export MKCONFIG 113 114ifneq ($(OBJTREE),$(SRCTREE)) 115REMOTE_BUILD := 1 116export REMOTE_BUILD 117endif 118 119# $(obj) and (src) are defined in config.mk but here in main Makefile 120# we also need them before config.mk is included which is the case for 121# some targets like unconfig, clean, clobber, distclean, etc. 122ifneq ($(OBJTREE),$(SRCTREE)) 123obj := $(OBJTREE)/ 124src := $(SRCTREE)/ 125else 126obj := 127src := 128endif 129export obj src 130 131# Make sure CDPATH settings don't interfere 132unexport CDPATH 133 134######################################################################### 135 136ifeq ($(ARCH),powerpc) 137ARCH = ppc 138endif 139 140ifeq ($(obj)include/config.mk,$(wildcard $(obj)include/config.mk)) 141 142# load ARCH, BOARD, and CPU configuration 143include $(obj)include/config.mk 144export ARCH CPU BOARD VENDOR SOC 145 146ifndef CROSS_COMPILE 147ifeq ($(HOSTARCH),$(ARCH)) 148CROSS_COMPILE = 149else 150ifeq ($(ARCH),ppc) 151CROSS_COMPILE = ppc_8xx- 152endif 153ifeq ($(ARCH),arm) 154CROSS_COMPILE = arm-linux- 155endif 156ifeq ($(ARCH),i386) 157CROSS_COMPILE = i386-linux- 158endif 159ifeq ($(ARCH),mips) 160CROSS_COMPILE = mips_4KC- 161endif 162ifeq ($(ARCH),nios) 163CROSS_COMPILE = nios-elf- 164endif 165ifeq ($(ARCH),nios2) 166CROSS_COMPILE = nios2-elf- 167endif 168ifeq ($(ARCH),m68k) 169CROSS_COMPILE = m68k-elf- 170endif 171ifeq ($(ARCH),microblaze) 172CROSS_COMPILE = mb- 173endif 174ifeq ($(ARCH),blackfin) 175CROSS_COMPILE = bfin-uclinux- 176endif 177ifeq ($(ARCH),avr32) 178CROSS_COMPILE = avr32-linux- 179endif 180ifeq ($(ARCH),sh) 181CROSS_COMPILE = sh4-linux- 182endif 183ifeq ($(ARCH),sparc) 184CROSS_COMPILE = sparc-elf- 185endif # sparc 186endif # HOSTARCH,ARCH 187endif # CROSS_COMPILE 188 189export CROSS_COMPILE 190 191# load other configuration 192include $(TOPDIR)/config.mk 193 194######################################################################### 195# U-Boot objects....order is important (i.e. start must be first) 196 197OBJS = cpu/$(CPU)/start.o 198ifeq ($(CPU),i386) 199OBJS += cpu/$(CPU)/start16.o 200OBJS += cpu/$(CPU)/reset.o 201endif 202ifeq ($(CPU),ppc4xx) 203OBJS += cpu/$(CPU)/resetvec.o 204endif 205ifeq ($(CPU),mpc85xx) 206OBJS += cpu/$(CPU)/resetvec.o 207endif 208 209OBJS := $(addprefix $(obj),$(OBJS)) 210 211LIBS = lib_generic/libgeneric.a 212LIBS += lib_generic/lzma/liblzma.a 213LIBS += $(shell if [ -f board/$(VENDOR)/common/Makefile ]; then echo \ 214 "board/$(VENDOR)/common/lib$(VENDOR).a"; fi) 215LIBS += cpu/$(CPU)/lib$(CPU).a 216ifdef SOC 217LIBS += cpu/$(CPU)/$(SOC)/lib$(SOC).a 218endif 219ifeq ($(CPU),ixp) 220LIBS += cpu/ixp/npe/libnpe.a 221endif 222LIBS += lib_$(ARCH)/lib$(ARCH).a 223LIBS += fs/cramfs/libcramfs.a fs/fat/libfat.a fs/fdos/libfdos.a fs/jffs2/libjffs2.a \ 224 fs/reiserfs/libreiserfs.a fs/ext2/libext2fs.a fs/yaffs2/libyaffs2.a 225LIBS += net/libnet.a 226LIBS += disk/libdisk.a 227LIBS += drivers/bios_emulator/libatibiosemu.a 228LIBS += drivers/block/libblock.a 229LIBS += drivers/dma/libdma.a 230LIBS += drivers/fpga/libfpga.a 231LIBS += drivers/gpio/libgpio.a 232LIBS += drivers/hwmon/libhwmon.a 233LIBS += drivers/i2c/libi2c.a 234LIBS += drivers/input/libinput.a 235LIBS += drivers/misc/libmisc.a 236LIBS += drivers/mmc/libmmc.a 237LIBS += drivers/mtd/libmtd.a 238LIBS += drivers/mtd/nand/libnand.a 239LIBS += drivers/mtd/nand_legacy/libnand_legacy.a 240LIBS += drivers/mtd/onenand/libonenand.a 241LIBS += drivers/mtd/ubi/libubi.a 242LIBS += drivers/mtd/spi/libspi_flash.a 243LIBS += drivers/net/libnet.a 244LIBS += drivers/net/phy/libphy.a 245LIBS += drivers/net/sk98lin/libsk98lin.a 246LIBS += drivers/pci/libpci.a 247LIBS += drivers/pcmcia/libpcmcia.a 248LIBS += drivers/spi/libspi.a 249ifeq ($(CPU),mpc83xx) 250LIBS += drivers/qe/qe.a 251endif 252ifeq ($(CPU),mpc85xx) 253LIBS += drivers/qe/qe.a 254LIBS += cpu/mpc8xxx/ddr/libddr.a 255TAG_SUBDIRS += cpu/mpc8xxx 256endif 257ifeq ($(CPU),mpc86xx) 258LIBS += cpu/mpc8xxx/ddr/libddr.a 259TAG_SUBDIRS += cpu/mpc8xxx 260endif 261LIBS += drivers/rtc/librtc.a 262LIBS += drivers/serial/libserial.a 263LIBS += drivers/usb/libusb.a 264LIBS += drivers/video/libvideo.a 265LIBS += common/libcommon.a 266LIBS += libfdt/libfdt.a 267LIBS += api/libapi.a 268LIBS += post/libpost.a 269 270LIBS := $(addprefix $(obj),$(LIBS)) 271.PHONY : $(LIBS) $(TIMESTAMP_FILE) $(VERSION_FILE) 272 273LIBBOARD = board/$(BOARDDIR)/lib$(BOARD).a 274LIBBOARD := $(addprefix $(obj),$(LIBBOARD)) 275 276# Add GCC lib 277PLATFORM_LIBS += -L $(shell dirname `$(CC) $(CFLAGS) -print-libgcc-file-name`) -lgcc 278 279# The "tools" are needed early, so put this first 280# Don't include stuff already done in $(LIBS) 281SUBDIRS = tools \ 282 examples \ 283 api_examples 284 285.PHONY : $(SUBDIRS) 286 287ifeq ($(CONFIG_NAND_U_BOOT),y) 288NAND_SPL = nand_spl 289U_BOOT_NAND = $(obj)u-boot-nand.bin 290endif 291 292ifeq ($(CONFIG_ONENAND_U_BOOT),y) 293ONENAND_IPL = onenand_ipl 294U_BOOT_ONENAND = $(obj)u-boot-onenand.bin 295endif 296 297__OBJS := $(subst $(obj),,$(OBJS)) 298__LIBS := $(subst $(obj),,$(LIBS)) $(subst $(obj),,$(LIBBOARD)) 299 300######################################################################### 301######################################################################### 302 303ALL += $(obj)u-boot.srec $(obj)u-boot.bin $(obj)System.map $(U_BOOT_NAND) $(U_BOOT_ONENAND) 304ifeq ($(ARCH),blackfin) 305ALL += $(obj)u-boot.ldr 306endif 307 308all: $(ALL) 309 310$(obj)u-boot.hex: $(obj)u-boot 311 $(OBJCOPY) ${OBJCFLAGS} -O ihex $< $@ 312 313$(obj)u-boot.srec: $(obj)u-boot 314 $(OBJCOPY) -O srec $< $@ 315 316$(obj)u-boot.bin: $(obj)u-boot 317 $(OBJCOPY) ${OBJCFLAGS} -O binary $< $@ 318 319$(obj)u-boot.ldr: $(obj)u-boot 320 $(LDR) -T $(CONFIG_BFIN_CPU) -f -c $@ $< $(LDR_FLAGS) 321 322$(obj)u-boot.ldr.hex: $(obj)u-boot.ldr 323 $(OBJCOPY) ${OBJCFLAGS} -O ihex $< $@ -I binary 324 325$(obj)u-boot.ldr.srec: $(obj)u-boot.ldr 326 $(OBJCOPY) ${OBJCFLAGS} -O srec $< $@ -I binary 327 328$(obj)u-boot.img: $(obj)u-boot.bin 329 ./tools/mkimage -A $(ARCH) -T firmware -C none \ 330 -a $(TEXT_BASE) -e 0 \ 331 -n $(shell sed -n -e 's/.*U_BOOT_VERSION//p' $(VERSION_FILE) | \ 332 sed -e 's/"[ ]*$$/ for $(BOARD) board"/') \ 333 -d $< $@ 334 335$(obj)u-boot.sha1: $(obj)u-boot.bin 336 $(obj)tools/ubsha1 $(obj)u-boot.bin 337 338$(obj)u-boot.dis: $(obj)u-boot 339 $(OBJDUMP) -d $< > $@ 340 341$(obj)u-boot: depend $(SUBDIRS) $(OBJS) $(LIBBOARD) $(LIBS) $(LDSCRIPT) 342 UNDEF_SYM=`$(OBJDUMP) -x $(LIBBOARD) $(LIBS) | \ 343 sed -n -e 's/.*\($(SYM_PREFIX)__u_boot_cmd_.*\)/-u\1/p'|sort|uniq`;\ 344 cd $(LNDIR) && $(LD) $(LDFLAGS) $$UNDEF_SYM $(__OBJS) \ 345 --start-group $(__LIBS) --end-group $(PLATFORM_LIBS) \ 346 -Map u-boot.map -o u-boot 347 348$(OBJS): depend $(obj)include/autoconf.mk 349 $(MAKE) -C cpu/$(CPU) $(if $(REMOTE_BUILD),$@,$(notdir $@)) 350 351$(LIBS): depend $(obj)include/autoconf.mk $(SUBDIRS) 352 $(MAKE) -C $(dir $(subst $(obj),,$@)) 353 354$(LIBBOARD): depend $(LIBS) $(obj)include/autoconf.mk 355 $(MAKE) -C $(dir $(subst $(obj),,$@)) 356 357$(SUBDIRS): depend $(obj)include/autoconf.mk 358 $(MAKE) -C $@ all 359 360$(LDSCRIPT): depend $(obj)include/autoconf.mk 361 $(MAKE) -C $(dir $@) $(notdir $@) 362 363$(NAND_SPL): $(TIMESTAMP_FILE) $(VERSION_FILE) $(obj)include/autoconf.mk 364 $(MAKE) -C nand_spl/board/$(BOARDDIR) all 365 366$(U_BOOT_NAND): $(NAND_SPL) $(obj)u-boot.bin $(obj)include/autoconf.mk 367 cat $(obj)nand_spl/u-boot-spl-16k.bin $(obj)u-boot.bin > $(obj)u-boot-nand.bin 368 369$(ONENAND_IPL): $(TIMESTAMP_FILE) $(VERSION_FILE) $(obj)include/autoconf.mk 370 $(MAKE) -C onenand_ipl/board/$(BOARDDIR) all 371 372$(U_BOOT_ONENAND): $(ONENAND_IPL) $(obj)u-boot.bin $(obj)include/autoconf.mk 373 cat $(obj)onenand_ipl/onenand-ipl-2k.bin $(obj)u-boot.bin > $(obj)u-boot-onenand.bin 374 cat $(obj)onenand_ipl/onenand-ipl-4k.bin $(obj)u-boot.bin > $(obj)u-boot-flexonenand.bin 375 376$(VERSION_FILE): 377 @( printf '#define U_BOOT_VERSION "U-Boot %s%s"\n' "$(U_BOOT_VERSION)" \ 378 '$(shell $(TOPDIR)/tools/setlocalversion $(TOPDIR))' ) > $@.tmp 379 @cmp -s $@ $@.tmp && rm -f $@.tmp || mv -f $@.tmp $@ 380 381$(TIMESTAMP_FILE): 382 @date +'#define U_BOOT_DATE "%b %d %C%y"' > $@ 383 @date +'#define U_BOOT_TIME "%T"' >> $@ 384 385gdbtools: 386 $(MAKE) -C tools/gdb all || exit 1 387 388updater: 389 $(MAKE) -C tools/updater all || exit 1 390 391env: 392 $(MAKE) -C tools/env all MTD_VERSION=${MTD_VERSION} || exit 1 393 394depend dep: $(TIMESTAMP_FILE) $(VERSION_FILE) 395 for dir in $(SUBDIRS) ; do $(MAKE) -C $$dir _depend ; done 396 397TAG_SUBDIRS += include 398TAG_SUBDIRS += lib_generic board/$(BOARDDIR) 399TAG_SUBDIRS += cpu/$(CPU) 400TAG_SUBDIRS += lib_$(ARCH) 401TAG_SUBDIRS += fs/cramfs 402TAG_SUBDIRS += fs/fat 403TAG_SUBDIRS += fs/fdos 404TAG_SUBDIRS += fs/jffs2 405TAG_SUBDIRS += fs/yaffs2 406TAG_SUBDIRS += net 407TAG_SUBDIRS += disk 408TAG_SUBDIRS += common 409TAG_SUBDIRS += drivers/bios_emulator 410TAG_SUBDIRS += drivers/block 411TAG_SUBDIRS += drivers/gpio 412TAG_SUBDIRS += drivers/hwmon 413TAG_SUBDIRS += drivers/i2c 414TAG_SUBDIRS += drivers/input 415TAG_SUBDIRS += drivers/misc 416TAG_SUBDIRS += drivers/mmc 417TAG_SUBDIRS += drivers/mtd 418TAG_SUBDIRS += drivers/mtd/nand 419TAG_SUBDIRS += drivers/mtd/nand_legacy 420TAG_SUBDIRS += drivers/mtd/onenand 421TAG_SUBDIRS += drivers/mtd/spi 422TAG_SUBDIRS += drivers/net 423TAG_SUBDIRS += drivers/net/sk98lin 424TAG_SUBDIRS += drivers/pci 425TAG_SUBDIRS += drivers/pcmcia 426TAG_SUBDIRS += drivers/qe 427TAG_SUBDIRS += drivers/rtc 428TAG_SUBDIRS += drivers/serial 429TAG_SUBDIRS += drivers/spi 430TAG_SUBDIRS += drivers/usb 431TAG_SUBDIRS += drivers/video 432 433tags ctags: 434 ctags -w -o $(obj)ctags `find $(SUBDIRS) $(TAG_SUBDIRS) \ 435 -name '*.[ch]' -print` 436 437etags: 438 etags -a -o $(obj)etags `find $(SUBDIRS) $(TAG_SUBDIRS) \ 439 -name '*.[ch]' -print` 440cscope: 441 find $(SUBDIRS) $(TAG_SUBDIRS) -name '*.[ch]' -print \ 442 > cscope.files 443 cscope -b -q -k 444 445$(obj)System.map: $(obj)u-boot 446 @$(NM) $< | \ 447 grep -v '\(compiled\)\|\(\.o$$\)\|\( [aUw] \)\|\(\.\.ng$$\)\|\(LASH[RL]DI\)' | \ 448 sort > $(obj)System.map 449 450# 451# Auto-generate the autoconf.mk file (which is included by all makefiles) 452# 453# This target actually generates 2 files; autoconf.mk and autoconf.mk.dep. 454# the dep file is only include in this top level makefile to determine when 455# to regenerate the autoconf.mk file. 456$(obj)include/autoconf.mk.dep: $(obj)include/config.h include/common.h 457 @$(XECHO) Generating $@ ; \ 458 set -e ; \ 459 : Generate the dependancies ; \ 460 $(CC) -x c -DDO_DEPS_ONLY -M $(HOST_CFLAGS) $(CPPFLAGS) \ 461 -MQ $(obj)include/autoconf.mk include/common.h > $@ 462 463$(obj)include/autoconf.mk: $(obj)include/config.h 464 @$(XECHO) Generating $@ ; \ 465 set -e ; \ 466 : Extract the config macros ; \ 467 $(CPP) $(CFLAGS) -DDO_DEPS_ONLY -dM include/common.h | \ 468 sed -n -f tools/scripts/define2mk.sed > $@.tmp && \ 469 mv $@.tmp $@ 470 471sinclude $(obj)include/autoconf.mk.dep 472 473######################################################################### 474else # !config.mk 475all $(obj)u-boot.hex $(obj)u-boot.srec $(obj)u-boot.bin \ 476$(obj)u-boot.img $(obj)u-boot.dis $(obj)u-boot \ 477$(SUBDIRS) $(TIMESTAMP_FILE) $(VERSION_FILE) gdbtools updater env depend \ 478dep tags ctags etags cscope $(obj)System.map: 479 @echo "System not configured - see README" >&2 480 @ exit 1 481endif # config.mk 482 483.PHONY : CHANGELOG 484CHANGELOG: 485 git log --no-merges U-Boot-1_1_5.. | \ 486 unexpand -a | sed -e 's/\s\s*$$//' > $@ 487 488include/license.h: tools/bin2header COPYING 489 cat COPYING | gzip -9 -c | ./tools/bin2header license_gzip > include/license.h 490######################################################################### 491 492unconfig: 493 @rm -f $(obj)include/config.h $(obj)include/config.mk \ 494 $(obj)board/*/config.tmp $(obj)board/*/*/config.tmp \ 495 $(obj)include/autoconf.mk $(obj)include/autoconf.mk.dep 496 497#======================================================================== 498# PowerPC 499#======================================================================== 500 501######################################################################### 502## MPC5xx Systems 503######################################################################### 504 505canmb_config: unconfig 506 @$(MKCONFIG) -a canmb ppc mpc5xxx canmb 507 508cmi_mpc5xx_config: unconfig 509 @$(MKCONFIG) $(@:_config=) ppc mpc5xx cmi 510 511PATI_config: unconfig 512 @$(MKCONFIG) $(@:_config=) ppc mpc5xx pati mpl 513 514######################################################################### 515## MPC5xxx Systems 516######################################################################### 517 518aev_config: unconfig 519 @$(MKCONFIG) -a aev ppc mpc5xxx tqm5200 tqc 520 521BC3450_config: unconfig 522 @$(MKCONFIG) -a BC3450 ppc mpc5xxx bc3450 523 524cm5200_config: unconfig 525 @$(MKCONFIG) -a cm5200 ppc mpc5xxx cm5200 526 527cpci5200_config: unconfig 528 @$(MKCONFIG) -a cpci5200 ppc mpc5xxx cpci5200 esd 529 530hmi1001_config: unconfig 531 @$(MKCONFIG) hmi1001 ppc mpc5xxx hmi1001 532 533Lite5200_config \ 534Lite5200_LOWBOOT_config \ 535Lite5200_LOWBOOT08_config \ 536icecube_5200_config \ 537icecube_5200_LOWBOOT_config \ 538icecube_5200_LOWBOOT08_config \ 539icecube_5200_DDR_config \ 540icecube_5200_DDR_LOWBOOT_config \ 541icecube_5200_DDR_LOWBOOT08_config \ 542icecube_5100_config: unconfig 543 @mkdir -p $(obj)include 544 @mkdir -p $(obj)board/icecube 545 @[ -z "$(findstring LOWBOOT_,$@)" ] || \ 546 { if [ "$(findstring DDR,$@)" ] ; \ 547 then echo "TEXT_BASE = 0xFF800000" >$(obj)board/icecube/config.tmp ; \ 548 else echo "TEXT_BASE = 0xFF000000" >$(obj)board/icecube/config.tmp ; \ 549 fi ; \ 550 $(XECHO) "... with LOWBOOT configuration" ; \ 551 } 552 @[ -z "$(findstring LOWBOOT08,$@)" ] || \ 553 { echo "TEXT_BASE = 0xFF800000" >$(obj)board/icecube/config.tmp ; \ 554 echo "... with 8 MB flash only" ; \ 555 $(XECHO) "... with LOWBOOT configuration" ; \ 556 } 557 @[ -z "$(findstring DDR,$@)" ] || \ 558 { echo "#define CONFIG_MPC5200_DDR" >>$(obj)include/config.h ; \ 559 $(XECHO) "... DDR memory revision" ; \ 560 } 561 @[ -z "$(findstring 5200,$@)" ] || \ 562 { echo "#define CONFIG_MPC5200" >>$(obj)include/config.h ; \ 563 $(XECHO) "... with MPC5200 processor" ; \ 564 } 565 @[ -z "$(findstring 5100,$@)" ] || \ 566 { echo "#define CONFIG_MGT5100" >>$(obj)include/config.h ; \ 567 $(XECHO) "... with MGT5100 processor" ; \ 568 } 569 @$(MKCONFIG) -a IceCube ppc mpc5xxx icecube 570 571jupiter_config: unconfig 572 @$(MKCONFIG) jupiter ppc mpc5xxx jupiter 573 574inka4x0_config: unconfig 575 @$(MKCONFIG) inka4x0 ppc mpc5xxx inka4x0 576 577lite5200b_config \ 578lite5200b_PM_config \ 579lite5200b_LOWBOOT_config: unconfig 580 @mkdir -p $(obj)include 581 @mkdir -p $(obj)board/icecube 582 @ echo "#define CONFIG_MPC5200_DDR" >>$(obj)include/config.h 583 @ $(XECHO) "... DDR memory revision" 584 @ echo "#define CONFIG_MPC5200" >>$(obj)include/config.h 585 @ echo "#define CONFIG_LITE5200B" >>$(obj)include/config.h 586 @[ -z "$(findstring _PM_,$@)" ] || \ 587 { echo "#define CONFIG_LITE5200B_PM" >>$(obj)include/config.h ; \ 588 $(XECHO) "... with power management (low-power mode) support" ; \ 589 } 590 @[ -z "$(findstring LOWBOOT_,$@)" ] || \ 591 { echo "TEXT_BASE = 0xFF000000" >$(obj)board/icecube/config.tmp ; \ 592 $(XECHO) "... with LOWBOOT configuration" ; \ 593 } 594 @ $(XECHO) "... with MPC5200B processor" 595 @$(MKCONFIG) -a IceCube ppc mpc5xxx icecube 596 597mcc200_config \ 598mcc200_SDRAM_config \ 599mcc200_highboot_config \ 600mcc200_COM12_config \ 601mcc200_COM12_SDRAM_config \ 602mcc200_COM12_highboot_config \ 603mcc200_COM12_highboot_SDRAM_config \ 604mcc200_highboot_SDRAM_config \ 605prs200_config \ 606prs200_DDR_config \ 607prs200_highboot_config \ 608prs200_highboot_DDR_config: unconfig 609 @mkdir -p $(obj)include 610 @mkdir -p $(obj)board/mcc200 611 @[ -n "$(findstring highboot,$@)" ] || \ 612 { $(XECHO) "... with lowboot configuration" ; \ 613 } 614 @[ -z "$(findstring highboot,$@)" ] || \ 615 { echo "TEXT_BASE = 0xFFF00000" >$(obj)board/mcc200/config.tmp ; \ 616 $(XECHO) "... with highboot configuration" ; \ 617 } 618 @[ -n "$(findstring _SDRAM,$@)" ] || \ 619 { if [ -n "$(findstring mcc200,$@)" ]; \ 620 then \ 621 $(XECHO) "... with DDR" ; \ 622 else \ 623 if [ -n "$(findstring _DDR,$@)" ];\ 624 then \ 625 $(XECHO) "... with DDR" ; \ 626 else \ 627 echo "#define CONFIG_MCC200_SDRAM" >>$(obj)include/config.h ;\ 628 $(XECHO) "... with SDRAM" ; \ 629 fi; \ 630 fi; \ 631 } 632 @[ -z "$(findstring _SDRAM,$@)" ] || \ 633 { echo "#define CONFIG_MCC200_SDRAM" >>$(obj)include/config.h ; \ 634 $(XECHO) "... with SDRAM" ; \ 635 } 636 @[ -z "$(findstring COM12,$@)" ] || \ 637 { echo "#define CONFIG_CONSOLE_COM12" >>$(obj)include/config.h ; \ 638 $(XECHO) "... with console on COM12" ; \ 639 } 640 @[ -z "$(findstring prs200,$@)" ] || \ 641 { echo "#define CONFIG_PRS200" >>$(obj)include/config.h ;\ 642 } 643 @$(MKCONFIG) -n $@ -a mcc200 ppc mpc5xxx mcc200 644 645mecp5200_config: unconfig 646 @$(MKCONFIG) mecp5200 ppc mpc5xxx mecp5200 esd 647 648motionpro_config: unconfig 649 @$(MKCONFIG) motionpro ppc mpc5xxx motionpro 650 651mucmc52_config: unconfig 652 @$(MKCONFIG) mucmc52 ppc mpc5xxx mucmc52 653 654munices_config: unconfig 655 @$(MKCONFIG) munices ppc mpc5xxx munices 656 657MVBC_P_config: unconfig 658 @mkdir -p $(obj)include 659 @mkdir -p $(obj)board/mvbc_p 660 @ >$(obj)include/config.h 661 @[ -z "$(findstring MVBC_P,$@)" ] || \ 662 { echo "#define CONFIG_MVBC_P" >>$(obj)include/config.h; } 663 @$(MKCONFIG) -n $@ -a MVBC_P ppc mpc5xxx mvbc_p matrix_vision 664 665o2dnt_config: unconfig 666 @$(MKCONFIG) o2dnt ppc mpc5xxx o2dnt 667 668pf5200_config: unconfig 669 @$(MKCONFIG) pf5200 ppc mpc5xxx pf5200 esd 670 671PM520_config \ 672PM520_DDR_config \ 673PM520_ROMBOOT_config \ 674PM520_ROMBOOT_DDR_config: unconfig 675 @mkdir -p $(obj)include 676 @[ -z "$(findstring DDR,$@)" ] || \ 677 { echo "#define CONFIG_MPC5200_DDR" >>$(obj)include/config.h ; \ 678 $(XECHO) "... DDR memory revision" ; \ 679 } 680 @[ -z "$(findstring ROMBOOT,$@)" ] || \ 681 { echo "#define CONFIG_BOOT_ROM" >>$(obj)include/config.h ; \ 682 $(XECHO) "... booting from 8-bit flash" ; \ 683 } 684 @$(MKCONFIG) -a PM520 ppc mpc5xxx pm520 685 686smmaco4_config: unconfig 687 @$(MKCONFIG) -a smmaco4 ppc mpc5xxx tqm5200 tqc 688 689spieval_config: unconfig 690 @$(MKCONFIG) -a spieval ppc mpc5xxx tqm5200 tqc 691 692TB5200_B_config \ 693TB5200_config: unconfig 694 @mkdir -p $(obj)include 695 @[ -z "$(findstring _B,$@)" ] || \ 696 { echo "#define CONFIG_TQM5200_B" >>$(obj)include/config.h ; \ 697 $(XECHO) "... with MPC5200B processor" ; \ 698 } 699 @$(MKCONFIG) -n $@ -a TB5200 ppc mpc5xxx tqm5200 tqc 700 701MINI5200_config \ 702EVAL5200_config \ 703TOP5200_config: unconfig 704 @mkdir -p $(obj)include 705 @ echo "#define CONFIG_$(@:_config=) 1" >$(obj)include/config.h 706 @$(MKCONFIG) -n $@ -a TOP5200 ppc mpc5xxx top5200 emk 707 708Total5100_config \ 709Total5200_config \ 710Total5200_lowboot_config \ 711Total5200_Rev2_config \ 712Total5200_Rev2_lowboot_config: unconfig 713 @mkdir -p $(obj)include 714 @mkdir -p $(obj)board/total5200 715 @[ -z "$(findstring 5100,$@)" ] || \ 716 { echo "#define CONFIG_MGT5100" >>$(obj)include/config.h ; \ 717 $(XECHO) "... with MGT5100 processor" ; \ 718 } 719 @[ -z "$(findstring 5200,$@)" ] || \ 720 { echo "#define CONFIG_MPC5200" >>$(obj)include/config.h ; \ 721 $(XECHO) "... with MPC5200 processor" ; \ 722 } 723 @[ -n "$(findstring Rev,$@)" ] || \ 724 { echo "#define CONFIG_TOTAL5200_REV 1" >>$(obj)include/config.h ; \ 725 $(XECHO) "... revision 1 board" ; \ 726 } 727 @[ -z "$(findstring Rev2_,$@)" ] || \ 728 { echo "#define CONFIG_TOTAL5200_REV 2" >>$(obj)include/config.h ; \ 729 $(XECHO) "... revision 2 board" ; \ 730 } 731 @[ -z "$(findstring lowboot_,$@)" ] || \ 732 { echo "TEXT_BASE = 0xFE000000" >$(obj)board/total5200/config.tmp ; \ 733 $(XECHO) "... with lowboot configuration" ; \ 734 } 735 @$(MKCONFIG) -a Total5200 ppc mpc5xxx total5200 736 737cam5200_config \ 738cam5200_niosflash_config \ 739fo300_config \ 740MiniFAP_config \ 741TQM5200S_config \ 742TQM5200S_HIGHBOOT_config \ 743TQM5200_B_config \ 744TQM5200_B_HIGHBOOT_config \ 745TQM5200_config \ 746TQM5200_STK100_config: unconfig 747 @mkdir -p $(obj)include 748 @mkdir -p $(obj)board/tqc/tqm5200 749 @[ -z "$(findstring cam5200,$@)" ] || \ 750 { echo "#define CONFIG_CAM5200" >>$(obj)include/config.h ; \ 751 echo "#define CONFIG_TQM5200S" >>$(obj)include/config.h ; \ 752 echo "#define CONFIG_TQM5200_B" >>$(obj)include/config.h ; \ 753 $(XECHO) "... TQM5200S on Cam5200" ; \ 754 } 755 @[ -z "$(findstring niosflash,$@)" ] || \ 756 { echo "#define CONFIG_CAM5200_NIOSFLASH" >>$(obj)include/config.h ; \ 757 $(XECHO) "... with NIOS flash driver" ; \ 758 } 759 @[ -z "$(findstring fo300,$@)" ] || \ 760 { echo "#define CONFIG_FO300" >>$(obj)include/config.h ; \ 761 $(XECHO) "... TQM5200 on FO300" ; \ 762 } 763 @[ -z "$(findstring MiniFAP,$@)" ] || \ 764 { echo "#define CONFIG_MINIFAP" >>$(obj)include/config.h ; \ 765 $(XECHO) "... TQM5200_AC on MiniFAP" ; \ 766 } 767 @[ -z "$(findstring STK100,$@)" ] || \ 768 { echo "#define CONFIG_STK52XX_REV100" >>$(obj)include/config.h ; \ 769 $(XECHO) "... on a STK52XX.100 base board" ; \ 770 } 771 @[ -z "$(findstring TQM5200_B,$@)" ] || \ 772 { echo "#define CONFIG_TQM5200_B" >>$(obj)include/config.h ; \ 773 } 774 @[ -z "$(findstring TQM5200S,$@)" ] || \ 775 { echo "#define CONFIG_TQM5200S" >>$(obj)include/config.h ; \ 776 echo "#define CONFIG_TQM5200_B" >>$(obj)include/config.h ; \ 777 } 778 @[ -z "$(findstring HIGHBOOT,$@)" ] || \ 779 { echo "TEXT_BASE = 0xFFF00000" >$(obj)board/tqm5200/config.tmp ; \ 780 } 781 @$(MKCONFIG) -n $@ -a TQM5200 ppc mpc5xxx tqm5200 tqc 782 783uc101_config: unconfig 784 @$(MKCONFIG) uc101 ppc mpc5xxx uc101 785 786v38b_config: unconfig 787 @$(MKCONFIG) -a v38b ppc mpc5xxx v38b 788 789######################################################################### 790## MPC512x Systems 791######################################################################### 792 793ads5121_config \ 794ads5121_rev2_config \ 795 : unconfig 796 @mkdir -p $(obj)include 797 @if [ "$(findstring rev2,$@)" ] ; then \ 798 echo "#define CONFIG_ADS5121_REV2 1" > $(obj)include/config.h; \ 799 fi 800 @$(MKCONFIG) -a ads5121 ppc mpc512x ads5121 801 802 803######################################################################### 804## MPC8xx Systems 805######################################################################### 806 807Adder_config \ 808Adder87x_config \ 809AdderII_config \ 810 : unconfig 811 @mkdir -p $(obj)include 812 $(if $(findstring AdderII,$@), \ 813 @echo "#define CONFIG_MPC852T" > $(obj)include/config.h) 814 @$(MKCONFIG) -a Adder ppc mpc8xx adder 815 816AdderUSB_config: unconfig 817 @$(MKCONFIG) -a AdderUSB ppc mpc8xx adder 818 819ADS860_config \ 820FADS823_config \ 821FADS850SAR_config \ 822MPC86xADS_config \ 823MPC885ADS_config \ 824FADS860T_config: unconfig 825 @$(MKCONFIG) $(@:_config=) ppc mpc8xx fads 826 827AMX860_config : unconfig 828 @$(MKCONFIG) $(@:_config=) ppc mpc8xx amx860 westel 829 830c2mon_config: unconfig 831 @$(MKCONFIG) $(@:_config=) ppc mpc8xx c2mon 832 833CCM_config: unconfig 834 @$(MKCONFIG) $(@:_config=) ppc mpc8xx CCM siemens 835 836cogent_mpc8xx_config: unconfig 837 @$(MKCONFIG) $(@:_config=) ppc mpc8xx cogent 838 839ELPT860_config: unconfig 840 @$(MKCONFIG) $(@:_config=) ppc mpc8xx elpt860 LEOX 841 842EP88x_config: unconfig 843 @$(MKCONFIG) $(@:_config=) ppc mpc8xx ep88x 844 845ESTEEM192E_config: unconfig 846 @$(MKCONFIG) $(@:_config=) ppc mpc8xx esteem192e 847 848ETX094_config : unconfig 849 @$(MKCONFIG) $(@:_config=) ppc mpc8xx etx094 850 851FLAGADM_config: unconfig 852 @$(MKCONFIG) $(@:_config=) ppc mpc8xx flagadm 853 854xtract_GEN860T = $(subst _SC,,$(subst _config,,$1)) 855 856GEN860T_SC_config \ 857GEN860T_config: unconfig 858 @mkdir -p $(obj)include 859 @[ -z "$(findstring _SC,$@)" ] || \ 860 { echo "#define CONFIG_SC" >>$(obj)include/config.h ; \ 861 $(XECHO) "With reduced H/W feature set (SC)..." ; \ 862 } 863 @$(MKCONFIG) -a $(call xtract_GEN860T,$@) ppc mpc8xx gen860t 864 865GENIETV_config: unconfig 866 @$(MKCONFIG) $(@:_config=) ppc mpc8xx genietv 867 868GTH_config: unconfig 869 @$(MKCONFIG) $(@:_config=) ppc mpc8xx gth 870 871hermes_config : unconfig 872 @$(MKCONFIG) $(@:_config=) ppc mpc8xx hermes 873 874HMI10_config : unconfig 875 @$(MKCONFIG) $(@:_config=) ppc mpc8xx tqm8xx tqc 876 877IAD210_config: unconfig 878 @$(MKCONFIG) $(@:_config=) ppc mpc8xx IAD210 siemens 879 880xtract_ICU862 = $(subst _100MHz,,$(subst _config,,$1)) 881 882ICU862_100MHz_config \ 883ICU862_config: unconfig 884 @mkdir -p $(obj)include 885 @[ -z "$(findstring _100MHz,$@)" ] || \ 886 { echo "#define CONFIG_100MHz" >>$(obj)include/config.h ; \ 887 $(XECHO) "... with 100MHz system clock" ; \ 888 } 889 @$(MKCONFIG) -a $(call xtract_ICU862,$@) ppc mpc8xx icu862 890 891IP860_config : unconfig 892 @$(MKCONFIG) $(@:_config=) ppc mpc8xx ip860 893 894IVML24_256_config \ 895IVML24_128_config \ 896IVML24_config: unconfig 897 @mkdir -p $(obj)include 898 @[ -z "$(findstring IVML24_config,$@)" ] || \ 899 { echo "#define CONFIG_IVML24_16M" >>$(obj)include/config.h ; \ 900 } 901 @[ -z "$(findstring IVML24_128_config,$@)" ] || \ 902 { echo "#define CONFIG_IVML24_32M" >>$(obj)include/config.h ; \ 903 } 904 @[ -z "$(findstring IVML24_256_config,$@)" ] || \ 905 { echo "#define CONFIG_IVML24_64M" >>$(obj)include/config.h ; \ 906 } 907 @$(MKCONFIG) -a IVML24 ppc mpc8xx ivm 908 909IVMS8_256_config \ 910IVMS8_128_config \ 911IVMS8_config: unconfig 912 @mkdir -p $(obj)include 913 @[ -z "$(findstring IVMS8_config,$@)" ] || \ 914 { echo "#define CONFIG_IVMS8_16M" >>$(obj)include/config.h ; \ 915 } 916 @[ -z "$(findstring IVMS8_128_config,$@)" ] || \ 917 { echo "#define CONFIG_IVMS8_32M" >>$(obj)include/config.h ; \ 918 } 919 @[ -z "$(findstring IVMS8_256_config,$@)" ] || \ 920 { echo "#define CONFIG_IVMS8_64M" >>$(obj)include/config.h ; \ 921 } 922 @$(MKCONFIG) -a IVMS8 ppc mpc8xx ivm 923 924KUP4K_config : unconfig 925 @$(MKCONFIG) $(@:_config=) ppc mpc8xx kup4k kup 926 927KUP4X_config : unconfig 928 @$(MKCONFIG) $(@:_config=) ppc mpc8xx kup4x kup 929 930LANTEC_config : unconfig 931 @$(MKCONFIG) $(@:_config=) ppc mpc8xx lantec 932 933lwmon_config: unconfig 934 @$(MKCONFIG) $(@:_config=) ppc mpc8xx lwmon 935 936MBX_config \ 937MBX860T_config: unconfig 938 @$(MKCONFIG) $(@:_config=) ppc mpc8xx mbx8xx 939 940mgsuvd_config: unconfig 941 @$(MKCONFIG) $(@:_config=) ppc mpc8xx mgsuvd keymile 942 943MHPC_config: unconfig 944 @$(MKCONFIG) $(@:_config=) ppc mpc8xx mhpc eltec 945 946xtract_NETVIA = $(subst _V2,,$(subst _config,,$1)) 947 948NETVIA_V2_config \ 949NETVIA_config: unconfig 950 @mkdir -p $(obj)include 951 @[ -z "$(findstring NETVIA_config,$@)" ] || \ 952 { echo "#define CONFIG_NETVIA_VERSION 1" >>$(obj)include/config.h ; \ 953 $(XECHO) "... Version 1" ; \ 954 } 955 @[ -z "$(findstring NETVIA_V2_config,$@)" ] || \ 956 { echo "#define CONFIG_NETVIA_VERSION 2" >>$(obj)include/config.h ; \ 957 $(XECHO) "... Version 2" ; \ 958 } 959 @$(MKCONFIG) -a $(call xtract_NETVIA,$@) ppc mpc8xx netvia 960 961xtract_NETPHONE = $(subst _V2,,$(subst _config,,$1)) 962 963NETPHONE_V2_config \ 964NETPHONE_config: unconfig 965 @mkdir -p $(obj)include 966 @[ -z "$(findstring NETPHONE_config,$@)" ] || \ 967 { echo "#define CONFIG_NETPHONE_VERSION 1" >>$(obj)include/config.h ; \ 968 } 969 @[ -z "$(findstring NETPHONE_V2_config,$@)" ] || \ 970 { echo "#define CONFIG_NETPHONE_VERSION 2" >>$(obj)include/config.h ; \ 971 } 972 @$(MKCONFIG) -a $(call xtract_NETPHONE,$@) ppc mpc8xx netphone 973 974xtract_NETTA = $(subst _SWAPHOOK,,$(subst _6412,,$(subst _ISDN,,$(subst _config,,$1)))) 975 976NETTA_ISDN_6412_SWAPHOOK_config \ 977NETTA_ISDN_SWAPHOOK_config \ 978NETTA_6412_SWAPHOOK_config \ 979NETTA_SWAPHOOK_config \ 980NETTA_ISDN_6412_config \ 981NETTA_ISDN_config \ 982NETTA_6412_config \ 983NETTA_config: unconfig 984 @mkdir -p $(obj)include 985 @[ -z "$(findstring ISDN_,$@)" ] || \ 986 { echo "#define CONFIG_NETTA_ISDN 1" >>$(obj)include/config.h ; \ 987 } 988 @[ -n "$(findstring ISDN_,$@)" ] || \ 989 { echo "#undef CONFIG_NETTA_ISDN" >>$(obj)include/config.h ; \ 990 } 991 @[ -z "$(findstring 6412_,$@)" ] || \ 992 { echo "#define CONFIG_NETTA_6412 1" >>$(obj)include/config.h ; \ 993 } 994 @[ -n "$(findstring 6412_,$@)" ] || \ 995 { echo "#undef CONFIG_NETTA_6412" >>$(obj)include/config.h ; \ 996 } 997 @[ -z "$(findstring SWAPHOOK_,$@)" ] || \ 998 { echo "#define CONFIG_NETTA_SWAPHOOK 1" >>$(obj)include/config.h ; \ 999 } 1000 @[ -n "$(findstring SWAPHOOK_,$@)" ] || \ 1001 { echo "#undef CONFIG_NETTA_SWAPHOOK" >>$(obj)include/config.h ; \ 1002 } 1003 @$(MKCONFIG) -a $(call xtract_NETTA,$@) ppc mpc8xx netta 1004 1005xtract_NETTA2 = $(subst _V2,,$(subst _config,,$1)) 1006 1007NETTA2_V2_config \ 1008NETTA2_config: unconfig 1009 @mkdir -p $(obj)include 1010 @[ -z "$(findstring NETTA2_config,$@)" ] || \ 1011 { echo "#define CONFIG_NETTA2_VERSION 1" >>$(obj)include/config.h ; \ 1012 } 1013 @[ -z "$(findstring NETTA2_V2_config,$@)" ] || \ 1014 { echo "#define CONFIG_NETTA2_VERSION 2" >>$(obj)include/config.h ; \ 1015 } 1016 @$(MKCONFIG) -a $(call xtract_NETTA2,$@) ppc mpc8xx netta2 1017 1018NC650_Rev1_config \ 1019NC650_Rev2_config \ 1020CP850_config: unconfig 1021 @mkdir -p $(obj)include 1022 @[ -z "$(findstring CP850,$@)" ] || \ 1023 { echo "#define CONFIG_CP850 1" >>$(obj)include/config.h ; \ 1024 echo "#define CONFIG_IDS852_REV2 1" >>$(obj)include/config.h ; \ 1025 } 1026 @[ -z "$(findstring Rev1,$@)" ] || \ 1027 { echo "#define CONFIG_IDS852_REV1 1" >>$(obj)include/config.h ; \ 1028 } 1029 @[ -z "$(findstring Rev2,$@)" ] || \ 1030 { echo "#define CONFIG_IDS852_REV2 1" >>$(obj)include/config.h ; \ 1031 } 1032 @$(MKCONFIG) -a NC650 ppc mpc8xx nc650 1033 1034NX823_config: unconfig 1035 @$(MKCONFIG) $(@:_config=) ppc mpc8xx nx823 1036 1037pcu_e_config: unconfig 1038 @$(MKCONFIG) $(@:_config=) ppc mpc8xx pcu_e siemens 1039 1040QS850_config: unconfig 1041 @$(MKCONFIG) $(@:_config=) ppc mpc8xx qs850 snmc 1042 1043QS823_config: unconfig 1044 @$(MKCONFIG) $(@:_config=) ppc mpc8xx qs850 snmc 1045 1046QS860T_config: unconfig 1047 @$(MKCONFIG) $(@:_config=) ppc mpc8xx qs860t snmc 1048 1049quantum_config: unconfig 1050 @$(MKCONFIG) $(@:_config=) ppc mpc8xx quantum 1051 1052R360MPI_config: unconfig 1053 @$(MKCONFIG) $(@:_config=) ppc mpc8xx r360mpi 1054 1055RBC823_config: unconfig 1056 @$(MKCONFIG) $(@:_config=) ppc mpc8xx rbc823 1057 1058RPXClassic_config: unconfig 1059 @$(MKCONFIG) $(@:_config=) ppc mpc8xx RPXClassic 1060 1061RPXlite_config: unconfig 1062 @$(MKCONFIG) $(@:_config=) ppc mpc8xx RPXlite 1063 1064RPXlite_DW_64_config \ 1065RPXlite_DW_LCD_config \ 1066RPXlite_DW_64_LCD_config \ 1067RPXlite_DW_NVRAM_config \ 1068RPXlite_DW_NVRAM_64_config \ 1069RPXlite_DW_NVRAM_LCD_config \ 1070RPXlite_DW_NVRAM_64_LCD_config \ 1071RPXlite_DW_config: unconfig 1072 @mkdir -p $(obj)include 1073 @[ -z "$(findstring _64,$@)" ] || \ 1074 { echo "#define RPXlite_64MHz" >>$(obj)include/config.h ; \ 1075 $(XECHO) "... with 64MHz system clock ..."; \ 1076 } 1077 @[ -z "$(findstring _LCD,$@)" ] || \ 1078 { echo "#define CONFIG_LCD" >>$(obj)include/config.h ; \ 1079 echo "#define CONFIG_NEC_NL6448BC20" >>$(obj)include/config.h ; \ 1080 $(XECHO) "... with LCD display ..."; \ 1081 } 1082 @[ -z "$(findstring _NVRAM,$@)" ] || \ 1083 { echo "#define CONFIG_ENV_IS_IN_NVRAM" >>$(obj)include/config.h ; \ 1084 $(XECHO) "... with ENV in NVRAM ..."; \ 1085 } 1086 @$(MKCONFIG) -a RPXlite_DW ppc mpc8xx RPXlite_dw 1087 1088rmu_config: unconfig 1089 @$(MKCONFIG) $(@:_config=) ppc mpc8xx rmu 1090 1091RRvision_config: unconfig 1092 @$(MKCONFIG) $(@:_config=) ppc mpc8xx RRvision 1093 1094RRvision_LCD_config: unconfig 1095 @mkdir -p $(obj)include 1096 @echo "#define CONFIG_LCD" >$(obj)include/config.h 1097 @echo "#define CONFIG_SHARP_LQ104V7DS01" >>$(obj)include/config.h 1098 @$(MKCONFIG) -a RRvision ppc mpc8xx RRvision 1099 1100SM850_config : unconfig 1101 @$(MKCONFIG) $(@:_config=) ppc mpc8xx tqm8xx tqc 1102 1103spc1920_config: unconfig 1104 @$(MKCONFIG) $(@:_config=) ppc mpc8xx spc1920 1105 1106SPD823TS_config: unconfig 1107 @$(MKCONFIG) $(@:_config=) ppc mpc8xx spd8xx 1108 1109stxxtc_config: unconfig 1110 @$(MKCONFIG) $(@:_config=) ppc mpc8xx stxxtc 1111 1112svm_sc8xx_config: unconfig 1113 @$(MKCONFIG) $(@:_config=) ppc mpc8xx svm_sc8xx 1114 1115SXNI855T_config: unconfig 1116 @$(MKCONFIG) $(@:_config=) ppc mpc8xx sixnet 1117 1118# EMK MPC8xx based modules 1119TOP860_config: unconfig 1120 @$(MKCONFIG) $(@:_config=) ppc mpc8xx top860 emk 1121 1122# Play some tricks for configuration selection 1123# Only 855 and 860 boards may come with FEC 1124# and only 823 boards may have LCD support 1125xtract_8xx = $(subst _LCD,,$(subst _config,,$1)) 1126 1127FPS850L_config \ 1128FPS860L_config \ 1129NSCU_config \ 1130TQM823L_config \ 1131TQM823L_LCD_config \ 1132TQM850L_config \ 1133TQM855L_config \ 1134TQM860L_config \ 1135TQM862L_config \ 1136TQM823M_config \ 1137TQM850M_config \ 1138TQM855M_config \ 1139TQM860M_config \ 1140TQM862M_config \ 1141TQM866M_config \ 1142TQM885D_config \ 1143TK885D_config \ 1144virtlab2_config: unconfig 1145 @mkdir -p $(obj)include 1146 @[ -z "$(findstring _LCD,$@)" ] || \ 1147 { echo "#define CONFIG_LCD" >>$(obj)include/config.h ; \ 1148 echo "#define CONFIG_NEC_NL6448BC20" >>$(obj)include/config.h ; \ 1149 $(XECHO) "... with LCD display" ; \ 1150 } 1151 @$(MKCONFIG) -a $(call xtract_8xx,$@) ppc mpc8xx tqm8xx tqc 1152 1153TTTech_config: unconfig 1154 @mkdir -p $(obj)include 1155 @echo "#define CONFIG_LCD" >$(obj)include/config.h 1156 @echo "#define CONFIG_SHARP_LQ104V7DS01" >>$(obj)include/config.h 1157 @$(MKCONFIG) -a TQM823L ppc mpc8xx tqm8xx tqc 1158 1159uc100_config : unconfig 1160 @$(MKCONFIG) $(@:_config=) ppc mpc8xx uc100 1161 1162v37_config: unconfig 1163 @mkdir -p $(obj)include 1164 @echo "#define CONFIG_LCD" >$(obj)include/config.h 1165 @echo "#define CONFIG_SHARP_LQ084V1DG21" >>$(obj)include/config.h 1166 @$(MKCONFIG) $(@:_config=) ppc mpc8xx v37 1167 1168wtk_config: unconfig 1169 @mkdir -p $(obj)include 1170 @echo "#define CONFIG_LCD" >$(obj)include/config.h 1171 @echo "#define CONFIG_SHARP_LQ065T9DR51U" >>$(obj)include/config.h 1172 @$(MKCONFIG) -a TQM823L ppc mpc8xx tqm8xx tqc 1173 1174######################################################################### 1175## PPC4xx Systems 1176######################################################################### 1177xtract_4xx = $(subst _25,,$(subst _33,,$(subst _BA,,$(subst _ME,,$(subst _HI,,$(subst _config,,$1)))))) 1178 1179acadia_config: unconfig 1180 @$(MKCONFIG) $(@:_config=) ppc ppc4xx acadia amcc 1181 1182acadia_nand_config: unconfig 1183 @mkdir -p $(obj)include $(obj)board/amcc/acadia 1184 @mkdir -p $(obj)nand_spl/board/amcc/acadia 1185 @echo "#define CONFIG_NAND_U_BOOT" > $(obj)include/config.h 1186 @$(MKCONFIG) -n $@ -a acadia ppc ppc4xx acadia amcc 1187 @echo "TEXT_BASE = 0x01000000" > $(obj)board/amcc/acadia/config.tmp 1188 @echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk 1189 1190ADCIOP_config: unconfig 1191 @$(MKCONFIG) $(@:_config=) ppc ppc4xx adciop esd 1192 1193alpr_config: unconfig 1194 @$(MKCONFIG) $(@:_config=) ppc ppc4xx alpr prodrive 1195 1196AP1000_config:unconfig 1197 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ap1000 amirix 1198 1199APC405_config: unconfig 1200 @$(MKCONFIG) $(@:_config=) ppc ppc4xx apc405 esd 1201 1202AR405_config: unconfig 1203 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ar405 esd 1204 1205ASH405_config: unconfig 1206 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ash405 esd 1207 1208bamboo_config: unconfig 1209 @$(MKCONFIG) $(@:_config=) ppc ppc4xx bamboo amcc 1210 1211bamboo_nand_config: unconfig 1212 @mkdir -p $(obj)include $(obj)board/amcc/bamboo 1213 @mkdir -p $(obj)nand_spl/board/amcc/bamboo 1214 @echo "#define CONFIG_NAND_U_BOOT" > $(obj)include/config.h 1215 @$(MKCONFIG) -n $@ -a bamboo ppc ppc4xx bamboo amcc 1216 @echo "TEXT_BASE = 0x01000000" > $(obj)board/amcc/bamboo/config.tmp 1217 @echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk 1218 1219bubinga_config: unconfig 1220 @$(MKCONFIG) $(@:_config=) ppc ppc4xx bubinga amcc 1221 1222CANBT_config: unconfig 1223 @$(MKCONFIG) $(@:_config=) ppc ppc4xx canbt esd 1224 1225# Arches, Canyonlands & Glacier use different U-Boot images 1226arches_config \ 1227canyonlands_config \ 1228glacier_config: unconfig 1229 @mkdir -p $(obj)include 1230 @echo "#define CONFIG_$$(echo $(subst ,,$(@:_config=)) | \ 1231 tr '[:lower:]' '[:upper:]')" >$(obj)include/config.h 1232 @$(MKCONFIG) -n $@ -a canyonlands ppc ppc4xx canyonlands amcc 1233 1234canyonlands_nand_config \ 1235glacier_nand_config: unconfig 1236 @mkdir -p $(obj)include $(obj)board/amcc/canyonlands 1237 @mkdir -p $(obj)nand_spl/board/amcc/canyonlands 1238 @echo "#define CONFIG_NAND_U_BOOT" > $(obj)include/config.h 1239 @echo "#define CONFIG_$$(echo $(subst ,,$(@:_nand_config=)) | \ 1240 tr '[:lower:]' '[:upper:]')" >> $(obj)include/config.h 1241 @$(MKCONFIG) -n $@ -a canyonlands ppc ppc4xx canyonlands amcc 1242 @echo "TEXT_BASE = 0x01000000" > $(obj)board/amcc/canyonlands/config.tmp 1243 @echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk 1244 1245CATcenter_config \ 1246CATcenter_25_config \ 1247CATcenter_33_config: unconfig 1248 @mkdir -p $(obj)include 1249 @ echo "/* CATcenter uses PPChameleon Model ME */" > $(obj)include/config.h 1250 @ echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 1" >> $(obj)include/config.h 1251 @[ -z "$(findstring _25,$@)" ] || \ 1252 { echo "#define CONFIG_PPCHAMELEON_CLK_25" >> $(obj)include/config.h ; \ 1253 $(XECHO) "SysClk = 25MHz" ; \ 1254 } 1255 @[ -z "$(findstring _33,$@)" ] || \ 1256 { echo "#define CONFIG_PPCHAMELEON_CLK_33" >> $(obj)include/config.h ; \ 1257 $(XECHO) "SysClk = 33MHz" ; \ 1258 } 1259 @$(MKCONFIG) -a $(call xtract_4xx,$@) ppc ppc4xx PPChameleonEVB dave 1260 1261CMS700_config: unconfig 1262 @$(MKCONFIG) $(@:_config=) ppc ppc4xx cms700 esd 1263 1264CPCI2DP_config: unconfig 1265 @$(MKCONFIG) $(@:_config=) ppc ppc4xx cpci2dp esd 1266 1267CPCI405_config \ 1268CPCI4052_config \ 1269CPCI405DT_config \ 1270CPCI405AB_config: unconfig 1271 @mkdir -p $(obj)board/esd/cpci405 1272 @$(MKCONFIG) $(@:_config=) ppc ppc4xx cpci405 esd 1273 1274CPCIISER4_config: unconfig 1275 @$(MKCONFIG) $(@:_config=) ppc ppc4xx cpciiser4 esd 1276 1277CRAYL1_config: unconfig 1278 @$(MKCONFIG) $(@:_config=) ppc ppc4xx L1 cray 1279 1280csb272_config: unconfig 1281 @$(MKCONFIG) $(@:_config=) ppc ppc4xx csb272 1282 1283csb472_config: unconfig 1284 @$(MKCONFIG) $(@:_config=) ppc ppc4xx csb472 1285 1286DASA_SIM_config: unconfig 1287 @$(MKCONFIG) $(@:_config=) ppc ppc4xx dasa_sim esd 1288 1289DP405_config: unconfig 1290 @$(MKCONFIG) $(@:_config=) ppc ppc4xx dp405 esd 1291 1292DU405_config: unconfig 1293 @$(MKCONFIG) $(@:_config=) ppc ppc4xx du405 esd 1294 1295DU440_config: unconfig 1296 @$(MKCONFIG) $(@:_config=) ppc ppc4xx du440 esd 1297 1298ebony_config: unconfig 1299 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ebony amcc 1300 1301ERIC_config: unconfig 1302 @$(MKCONFIG) $(@:_config=) ppc ppc4xx eric 1303 1304EXBITGEN_config: unconfig 1305 @$(MKCONFIG) $(@:_config=) ppc ppc4xx exbitgen 1306 1307fx12mm_flash_config: unconfig 1308 @mkdir -p $(obj)include $(obj)board/xilinx/ppc405-generic 1309 @mkdir -p $(obj)include $(obj)board/avnet/fx12mm 1310 @echo "LDSCRIPT:=$(SRCTREE)/board/xilinx/ppc405-generic/u-boot-rom.lds"\ 1311 > $(obj)board/avnet/fx12mm/config.tmp 1312 @echo "TEXT_BASE := 0xFFCB0000" \ 1313 >> $(obj)board/avnet/fx12mm/config.tmp 1314 @$(MKCONFIG) fx12mm ppc ppc4xx fx12mm avnet 1315 1316fx12mm_config: unconfig 1317 @mkdir -p $(obj)include $(obj)board/xilinx/ppc405-generic 1318 @mkdir -p $(obj)include $(obj)board/avnet/fx12mm 1319 @echo "LDSCRIPT:=$(SRCTREE)/board/xilinx/ppc405-generic/u-boot-ram.lds"\ 1320 > $(obj)board/avnet/fx12mm/config.tmp 1321 @echo "TEXT_BASE := 0x03000000" \ 1322 >> $(obj)board/avnet/fx12mm/config.tmp 1323 @$(MKCONFIG) fx12mm ppc ppc4xx fx12mm avnet 1324 1325G2000_config: unconfig 1326 @$(MKCONFIG) $(@:_config=) ppc ppc4xx g2000 1327 1328hcu4_config: unconfig 1329 @mkdir -p $(obj)board/netstal/common 1330 @$(MKCONFIG) $(@:_config=) ppc ppc4xx hcu4 netstal 1331 1332hcu5_config: unconfig 1333 @mkdir -p $(obj)board/netstal/common 1334 @$(MKCONFIG) $(@:_config=) ppc ppc4xx hcu5 netstal 1335 1336HH405_config: unconfig 1337 @$(MKCONFIG) $(@:_config=) ppc ppc4xx hh405 esd 1338 1339HUB405_config: unconfig 1340 @$(MKCONFIG) $(@:_config=) ppc ppc4xx hub405 esd 1341 1342JSE_config: unconfig 1343 @$(MKCONFIG) $(@:_config=) ppc ppc4xx jse 1344 1345KAREF_config: unconfig 1346 @$(MKCONFIG) $(@:_config=) ppc ppc4xx karef sandburst 1347 1348katmai_config: unconfig 1349 @$(MKCONFIG) $(@:_config=) ppc ppc4xx katmai amcc 1350 1351# Kilauea & Haleakala images are identical (recognized via PVR) 1352kilauea_config \ 1353haleakala_config: unconfig 1354 @$(MKCONFIG) -n $@ -a kilauea ppc ppc4xx kilauea amcc 1355 1356kilauea_nand_config \ 1357haleakala_nand_config: unconfig 1358 @mkdir -p $(obj)include $(obj)board/amcc/kilauea 1359 @mkdir -p $(obj)nand_spl/board/amcc/kilauea 1360 @echo "#define CONFIG_NAND_U_BOOT" > $(obj)include/config.h 1361 @$(MKCONFIG) -n $@ -a kilauea ppc ppc4xx kilauea amcc 1362 @echo "TEXT_BASE = 0x01000000" > $(obj)board/amcc/kilauea/config.tmp 1363 @echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk 1364 1365korat_config: unconfig 1366 @$(MKCONFIG) $(@:_config=) ppc ppc4xx korat 1367 1368luan_config: unconfig 1369 @$(MKCONFIG) $(@:_config=) ppc ppc4xx luan amcc 1370 1371lwmon5_config: unconfig 1372 @$(MKCONFIG) $(@:_config=) ppc ppc4xx lwmon5 1373 1374makalu_config: unconfig 1375 @$(MKCONFIG) $(@:_config=) ppc ppc4xx makalu amcc 1376 1377mcu25_config: unconfig 1378 @mkdir -p $(obj)board/netstal/common 1379 @$(MKCONFIG) $(@:_config=) ppc ppc4xx mcu25 netstal 1380 1381METROBOX_config: unconfig 1382 @$(MKCONFIG) $(@:_config=) ppc ppc4xx metrobox sandburst 1383 1384MIP405_config: unconfig 1385 @$(MKCONFIG) $(@:_config=) ppc ppc4xx mip405 mpl 1386 1387MIP405T_config: unconfig 1388 @mkdir -p $(obj)include 1389 @echo "#define CONFIG_MIP405T" >$(obj)include/config.h 1390 @$(XECHO) "Enable subset config for MIP405T" 1391 @$(MKCONFIG) -a MIP405 ppc ppc4xx mip405 mpl 1392 1393ML2_config: unconfig 1394 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ml2 1395 1396ml300_config: unconfig 1397 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ml300 xilinx 1398 1399ml507_flash_config: unconfig 1400 @mkdir -p $(obj)include $(obj)board/xilinx/ppc440-generic 1401 @mkdir -p $(obj)include $(obj)board/xilinx/ml507 1402 @echo "LDSCRIPT:=$(SRCTREE)/board/xilinx/ppc440-generic/u-boot-rom.lds"\ 1403 > $(obj)board/xilinx/ml507/config.tmp 1404 @echo "TEXT_BASE := 0xFE360000" \ 1405 >> $(obj)board/xilinx/ml507/config.tmp 1406 @$(MKCONFIG) ml507 ppc ppc4xx ml507 xilinx 1407 1408ml507_config: unconfig 1409 @mkdir -p $(obj)include $(obj)board/xilinx/ppc440-generic 1410 @mkdir -p $(obj)include $(obj)board/xilinx/ml507 1411 @echo "LDSCRIPT:=$(SRCTREE)/board/xilinx/ppc440-generic/u-boot-ram.lds"\ 1412 > $(obj)board/xilinx/ml507/config.tmp 1413 @echo "TEXT_BASE := 0x04000000" \ 1414 >> $(obj)board/xilinx/ml507/config.tmp 1415 @$(MKCONFIG) ml507 ppc ppc4xx ml507 xilinx 1416 1417neo_config: unconfig 1418 @$(MKCONFIG) $(@:_config=) ppc ppc4xx neo gdsys 1419 1420ocotea_config: unconfig 1421 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ocotea amcc 1422 1423OCRTC_config \ 1424ORSG_config: unconfig 1425 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ocrtc esd 1426 1427p3p440_config: unconfig 1428 @$(MKCONFIG) $(@:_config=) ppc ppc4xx p3p440 prodrive 1429 1430PCI405_config: unconfig 1431 @$(MKCONFIG) $(@:_config=) ppc ppc4xx pci405 esd 1432 1433pcs440ep_config: unconfig 1434 @$(MKCONFIG) $(@:_config=) ppc ppc4xx pcs440ep 1435 1436PIP405_config: unconfig 1437 @$(MKCONFIG) $(@:_config=) ppc ppc4xx pip405 mpl 1438 1439PLU405_config: unconfig 1440 @$(MKCONFIG) $(@:_config=) ppc ppc4xx plu405 esd 1441 1442PMC405_config: unconfig 1443 @$(MKCONFIG) $(@:_config=) ppc ppc4xx pmc405 esd 1444 1445PMC440_config: unconfig 1446 @$(MKCONFIG) $(@:_config=) ppc ppc4xx pmc440 esd 1447 1448PPChameleonEVB_config \ 1449PPChameleonEVB_BA_25_config \ 1450PPChameleonEVB_ME_25_config \ 1451PPChameleonEVB_HI_25_config \ 1452PPChameleonEVB_BA_33_config \ 1453PPChameleonEVB_ME_33_config \ 1454PPChameleonEVB_HI_33_config: unconfig 1455 @mkdir -p $(obj)include 1456 @[ -z "$(findstring EVB_BA,$@)" ] || \ 1457 { echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 0" >>$(obj)include/config.h ; \ 1458 $(XECHO) "... BASIC model" ; \ 1459 } 1460 @[ -z "$(findstring EVB_ME,$@)" ] || \ 1461 { echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 1" >>$(obj)include/config.h ; \ 1462 $(XECHO) "... MEDIUM model" ; \ 1463 } 1464 @[ -z "$(findstring EVB_HI,$@)" ] || \ 1465 { echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 2" >>$(obj)include/config.h ; \ 1466 $(XECHO) "... HIGH-END model" ; \ 1467 } 1468 @[ -z "$(findstring _25,$@)" ] || \ 1469 { echo "#define CONFIG_PPCHAMELEON_CLK_25" >>$(obj)include/config.h ; \ 1470 $(XECHO) "SysClk = 25MHz" ; \ 1471 } 1472 @[ -z "$(findstring _33,$@)" ] || \ 1473 { echo "#define CONFIG_PPCHAMELEON_CLK_33" >>$(obj)include/config.h ; \ 1474 $(XECHO) "SysClk = 33MHz" ; \ 1475 } 1476 @$(MKCONFIG) -a $(call xtract_4xx,$@) ppc ppc4xx PPChameleonEVB dave 1477 1478quad100hd_config: unconfig 1479 @$(MKCONFIG) $(@:_config=) ppc ppc4xx quad100hd 1480 1481redwood_config: unconfig 1482 @$(MKCONFIG) $(@:_config=) ppc ppc4xx redwood amcc 1483 1484sbc405_config: unconfig 1485 @$(MKCONFIG) $(@:_config=) ppc ppc4xx sbc405 1486 1487sc3_config:unconfig 1488 @$(MKCONFIG) $(@:_config=) ppc ppc4xx sc3 1489 1490sequoia_config \ 1491rainier_config: unconfig 1492 @mkdir -p $(obj)include 1493 @echo "#define CONFIG_$$(echo $(subst ,,$(@:_config=)) | \ 1494 tr '[:lower:]' '[:upper:]')" >$(obj)include/config.h 1495 @$(MKCONFIG) -n $@ -a sequoia ppc ppc4xx sequoia amcc 1496 1497sequoia_nand_config \ 1498rainier_nand_config: unconfig 1499 @mkdir -p $(obj)include $(obj)board/amcc/sequoia 1500 @mkdir -p $(obj)nand_spl/board/amcc/sequoia 1501 @echo "#define CONFIG_NAND_U_BOOT" > $(obj)include/config.h 1502 @echo "#define CONFIG_$$(echo $(subst ,,$(@:_config=)) | \ 1503 tr '[:lower:]' '[:upper:]')" >> $(obj)include/config.h 1504 @$(MKCONFIG) -n $@ -a sequoia ppc ppc4xx sequoia amcc 1505 @echo "TEXT_BASE = 0x01000000" > $(obj)board/amcc/sequoia/config.tmp 1506 @echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk 1507 1508taihu_config: unconfig 1509 @$(MKCONFIG) $(@:_config=) ppc ppc4xx taihu amcc 1510 1511taishan_config: unconfig 1512 @$(MKCONFIG) $(@:_config=) ppc ppc4xx taishan amcc 1513 1514v5fx30teval_config: unconfig 1515 @mkdir -p $(obj)include $(obj)board/xilinx/ppc440-generic 1516 @mkdir -p $(obj)include $(obj)board/avnet/v5fx30teval 1517 @echo "LDSCRIPT:=$(SRCTREE)/board/xilinx/ppc440-generic/u-boot-ram.lds"\ 1518 > $(obj)board/avnet/v5fx30teval/config.tmp 1519 @echo "TEXT_BASE := 0x03000000" \ 1520 >> $(obj)board/avnet/v5fx30teval/config.tmp 1521 @$(MKCONFIG) v5fx30teval ppc ppc4xx v5fx30teval avnet 1522 1523v5fx30teval_flash_config: unconfig 1524 @mkdir -p $(obj)include $(obj)board/xilinx/ppc440-generic 1525 @mkdir -p $(obj)include $(obj)board/avnet/v5fx30teval 1526 @echo "LDSCRIPT:=$(SRCTREE)/board/xilinx/ppc440-generic/u-boot-rom.lds"\ 1527 > $(obj)board/avnet/v5fx30teval/config.tmp 1528 @echo "TEXT_BASE := 0xFF1C0000" \ 1529 >> $(obj)board/avnet/v5fx30teval/config.tmp 1530 @$(MKCONFIG) v5fx30teval ppc ppc4xx v5fx30teval avnet 1531 1532VOH405_config: unconfig 1533 @$(MKCONFIG) $(@:_config=) ppc ppc4xx voh405 esd 1534 1535VOM405_config: unconfig 1536 @$(MKCONFIG) $(@:_config=) ppc ppc4xx vom405 esd 1537 1538W7OLMC_config \ 1539W7OLMG_config: unconfig 1540 @$(MKCONFIG) $(@:_config=) ppc ppc4xx w7o 1541 1542# Walnut & Sycamore images are identical (recognized via PVR) 1543walnut_config \ 1544sycamore_config: unconfig 1545 @$(MKCONFIG) -n $@ -a walnut ppc ppc4xx walnut amcc 1546 1547WUH405_config: unconfig 1548 @$(MKCONFIG) $(@:_config=) ppc ppc4xx wuh405 esd 1549 1550xilinx-ppc405-generic_flash_config: unconfig 1551 @mkdir -p $(obj)include $(obj)board/xilinx/ppc405-generic 1552 @echo "LDSCRIPT:=$(SRCTREE)/board/xilinx/ppc405-generic/u-boot-rom.lds"\ 1553 > $(obj)board/xilinx/ppc405-generic/config.tmp 1554 @echo "TEXT_BASE := 0xFE360000" \ 1555 >> $(obj)board/xilinx/ppc405-generic/config.tmp 1556 @$(MKCONFIG) xilinx-ppc405-generic ppc ppc4xx ppc405-generic xilinx 1557 1558xilinx-ppc405-generic_config: unconfig 1559 @mkdir -p $(obj)include $(obj)board/xilinx/ppc405-generic 1560 @echo "LDSCRIPT:=$(SRCTREE)/board/xilinx/ppc405-generic/u-boot-ram.lds"\ 1561 > $(obj)board/xilinx/ppc405-generic/config.tmp 1562 @echo "TEXT_BASE := 0x04000000" \ 1563 >> $(obj)board/xilinx/ppc405-generic/config.tmp 1564 @$(MKCONFIG) xilinx-ppc405-generic ppc ppc4xx ppc405-generic xilinx 1565 1566xilinx-ppc440-generic_flash_config: unconfig 1567 @mkdir -p $(obj)include $(obj)board/xilinx/ppc440-generic 1568 @echo "LDSCRIPT:=$(SRCTREE)/board/xilinx/ppc440-generic/u-boot-rom.lds"\ 1569 > $(obj)board/xilinx/ppc440-generic/config.tmp 1570 @echo "TEXT_BASE := 0xFE360000" \ 1571 >> $(obj)board/xilinx/ppc440-generic/config.tmp 1572 @$(MKCONFIG) xilinx-ppc440-generic ppc ppc4xx ppc440-generic xilinx 1573 1574xilinx-ppc440-generic_config: unconfig 1575 @mkdir -p $(obj)include $(obj)board/xilinx/ppc440-generic 1576 @echo "LDSCRIPT:=$(SRCTREE)/board/xilinx/ppc440-generic/u-boot-ram.lds"\ 1577 > $(obj)board/xilinx/ppc440-generic/config.tmp 1578 @echo "TEXT_BASE := 0x04000000" \ 1579 >> $(obj)board/xilinx/ppc440-generic/config.tmp 1580 @$(MKCONFIG) xilinx-ppc440-generic ppc ppc4xx ppc440-generic xilinx 1581 1582XPEDITE1K_config: unconfig 1583 @$(MKCONFIG) $(@:_config=) ppc ppc4xx xpedite1k 1584 1585yosemite_config \ 1586yellowstone_config: unconfig 1587 @mkdir -p $(obj)include 1588 @echo "#define CONFIG_$$(echo $(subst ,,$(@:_config=)) | \ 1589 tr '[:lower:]' '[:upper:]')" >$(obj)include/config.h 1590 @$(MKCONFIG) -n $@ -a yosemite ppc ppc4xx yosemite amcc 1591 1592yucca_config: unconfig 1593 @$(MKCONFIG) $(@:_config=) ppc ppc4xx yucca amcc 1594 1595zeus_config: unconfig 1596 @$(MKCONFIG) $(@:_config=) ppc ppc4xx zeus 1597 1598######################################################################### 1599## MPC8220 Systems 1600######################################################################### 1601 1602Alaska8220_config \ 1603Yukon8220_config: unconfig 1604 @$(MKCONFIG) $(@:_config=) ppc mpc8220 alaska 1605 1606sorcery_config: unconfig 1607 @$(MKCONFIG) $(@:_config=) ppc mpc8220 sorcery 1608 1609######################################################################### 1610## MPC824x Systems 1611######################################################################### 1612xtract_82xx = $(subst _BIGFLASH,,$(subst _ROMBOOT,,$(subst _L2,,$(subst _266MHz,,$(subst _300MHz,,$(subst _config,,$1)))))) 1613 1614A3000_config: unconfig 1615 @$(MKCONFIG) $(@:_config=) ppc mpc824x a3000 1616 1617barco_config: unconfig 1618 @$(MKCONFIG) $(@:_config=) ppc mpc824x barco 1619 1620BMW_config: unconfig 1621 @$(MKCONFIG) $(@:_config=) ppc mpc824x bmw 1622 1623CPC45_config \ 1624CPC45_ROMBOOT_config: unconfig 1625 @$(MKCONFIG) $(call xtract_82xx,$@) ppc mpc824x cpc45 1626 @cd $(obj)include ; \ 1627 if [ "$(findstring _ROMBOOT_,$@)" ] ; then \ 1628 echo "CONFIG_BOOT_ROM = y" >> config.mk ; \ 1629 $(XECHO) "... booting from 8-bit flash" ; \ 1630 else \ 1631 echo "CONFIG_BOOT_ROM = n" >> config.mk ; \ 1632 $(XECHO) "... booting from 64-bit flash" ; \ 1633 fi; \ 1634 echo "export CONFIG_BOOT_ROM" >> config.mk; 1635 1636CU824_config: unconfig 1637 @$(MKCONFIG) $(@:_config=) ppc mpc824x cu824 1638 1639debris_config: unconfig 1640 @$(MKCONFIG) $(@:_config=) ppc mpc824x debris etin 1641 1642eXalion_config: unconfig 1643 @$(MKCONFIG) $(@:_config=) ppc mpc824x eXalion 1644 1645HIDDEN_DRAGON_config: unconfig 1646 @$(MKCONFIG) $(@:_config=) ppc mpc824x hidden_dragon 1647 1648kvme080_config: unconfig 1649 @$(MKCONFIG) $(@:_config=) ppc mpc824x kvme080 etin 1650 1651# HDLAN is broken ATM. Should be fixed as soon as hardware is available and as 1652# time permits. 1653#linkstation_HDLAN_config \ 1654# Remove this line when HDLAN is fixed 1655linkstation_HGLAN_config: unconfig 1656 @mkdir -p $(obj)include 1657 @case $@ in \ 1658 *HGLAN*) echo "#define CONFIG_HGLAN 1" >$(obj)include/config.h; ;; \ 1659 *HDLAN*) echo "#define CONFIG_HLAN 1" >$(obj)include/config.h; ;; \ 1660 esac 1661 @$(MKCONFIG) -n $@ -a linkstation ppc mpc824x linkstation 1662 1663MOUSSE_config: unconfig 1664 @$(MKCONFIG) $(@:_config=) ppc mpc824x mousse 1665 1666MUSENKI_config: unconfig 1667 @$(MKCONFIG) $(@:_config=) ppc mpc824x musenki 1668 1669MVBLUE_config: unconfig 1670 @$(MKCONFIG) $(@:_config=) ppc mpc824x mvblue 1671 1672OXC_config: unconfig 1673 @$(MKCONFIG) $(@:_config=) ppc mpc824x oxc 1674 1675PN62_config: unconfig 1676 @$(MKCONFIG) $(@:_config=) ppc mpc824x pn62 1677 1678Sandpoint8240_config: unconfig 1679 @$(MKCONFIG) $(@:_config=) ppc mpc824x sandpoint 1680 1681Sandpoint8245_config: unconfig 1682 @$(MKCONFIG) $(@:_config=) ppc mpc824x sandpoint 1683 1684sbc8240_config: unconfig 1685 @$(MKCONFIG) $(@:_config=) ppc mpc824x sbc8240 1686 1687SL8245_config: unconfig 1688 @$(MKCONFIG) $(@:_config=) ppc mpc824x sl8245 1689 1690utx8245_config: unconfig 1691 @$(MKCONFIG) $(@:_config=) ppc mpc824x utx8245 1692 1693######################################################################### 1694## MPC8260 Systems 1695######################################################################### 1696 1697atc_config: unconfig 1698 @$(MKCONFIG) $(@:_config=) ppc mpc8260 atc 1699 1700cogent_mpc8260_config: unconfig 1701 @$(MKCONFIG) $(@:_config=) ppc mpc8260 cogent 1702 1703CPU86_config \ 1704CPU86_ROMBOOT_config: unconfig 1705 @$(MKCONFIG) $(call xtract_82xx,$@) ppc mpc8260 cpu86 1706 @cd $(obj)include ; \ 1707 if [ "$(findstring _ROMBOOT_,$@)" ] ; then \ 1708 echo "CONFIG_BOOT_ROM = y" >> config.mk ; \ 1709 $(XECHO) "... booting from 8-bit flash" ; \ 1710 else \ 1711 echo "CONFIG_BOOT_ROM = n" >> config.mk ; \ 1712 $(XECHO) "... booting from 64-bit flash" ; \ 1713 fi; \ 1714 echo "export CONFIG_BOOT_ROM" >> config.mk; 1715 1716CPU87_config \ 1717CPU87_ROMBOOT_config: unconfig 1718 @$(MKCONFIG) $(call xtract_82xx,$@) ppc mpc8260 cpu87 1719 @cd $(obj)include ; \ 1720 if [ "$(findstring _ROMBOOT_,$@)" ] ; then \ 1721 echo "CONFIG_BOOT_ROM = y" >> config.mk ; \ 1722 $(XECHO) "... booting from 8-bit flash" ; \ 1723 else \ 1724 echo "CONFIG_BOOT_ROM = n" >> config.mk ; \ 1725 $(XECHO) "... booting from 64-bit flash" ; \ 1726 fi; \ 1727 echo "export CONFIG_BOOT_ROM" >> config.mk; 1728 1729ep8248_config \ 1730ep8248E_config : unconfig 1731 @$(MKCONFIG) ep8248 ppc mpc8260 ep8248 1732 1733ep8260_config: unconfig 1734 @$(MKCONFIG) $(@:_config=) ppc mpc8260 ep8260 1735 1736ep82xxm_config: unconfig 1737 @$(MKCONFIG) $(@:_config=) ppc mpc8260 ep82xxm 1738 1739gw8260_config: unconfig 1740 @$(MKCONFIG) $(@:_config=) ppc mpc8260 gw8260 1741 1742hymod_config: unconfig 1743 @$(MKCONFIG) $(@:_config=) ppc mpc8260 hymod 1744 1745IDS8247_config: unconfig 1746 @$(MKCONFIG) $(@:_config=) ppc mpc8260 ids8247 1747 1748IPHASE4539_config: unconfig 1749 @$(MKCONFIG) $(@:_config=) ppc mpc8260 iphase4539 1750 1751ISPAN_config \ 1752ISPAN_REVB_config: unconfig 1753 @mkdir -p $(obj)include 1754 @if [ "$(findstring _REVB_,$@)" ] ; then \ 1755 echo "#define CONFIG_SYS_REV_B" > $(obj)include/config.h ; \ 1756 fi 1757 @$(MKCONFIG) -a ISPAN ppc mpc8260 ispan 1758 1759mgcoge_config : unconfig 1760 @$(MKCONFIG) mgcoge ppc mpc8260 mgcoge keymile 1761 1762MPC8260ADS_config \ 1763MPC8260ADS_lowboot_config \ 1764MPC8260ADS_33MHz_config \ 1765MPC8260ADS_33MHz_lowboot_config \ 1766MPC8260ADS_40MHz_config \ 1767MPC8260ADS_40MHz_lowboot_config \ 1768MPC8272ADS_config \ 1769MPC8272ADS_lowboot_config \ 1770PQ2FADS_config \ 1771PQ2FADS_lowboot_config \ 1772PQ2FADS-VR_config \ 1773PQ2FADS-VR_lowboot_config \ 1774PQ2FADS-ZU_config \ 1775PQ2FADS-ZU_lowboot_config \ 1776PQ2FADS-ZU_66MHz_config \ 1777PQ2FADS-ZU_66MHz_lowboot_config \ 1778 : unconfig 1779 @mkdir -p $(obj)include 1780 @mkdir -p $(obj)board/freescale/mpc8260ads 1781 $(if $(findstring PQ2FADS,$@), \ 1782 @echo "#define CONFIG_ADSTYPE CONFIG_SYS_PQ2FADS" > $(obj)include/config.h, \ 1783 @echo "#define CONFIG_ADSTYPE CONFIG_SYS_"$(subst MPC,,$(word 1,$(subst _, ,$@))) > $(obj)include/config.h) 1784 $(if $(findstring MHz,$@), \ 1785 @echo "#define CONFIG_8260_CLKIN" $(subst MHz,,$(word 2,$(subst _, ,$@)))"000000" >> $(obj)include/config.h, \ 1786 $(if $(findstring VR,$@), \ 1787 @echo "#define CONFIG_8260_CLKIN 66000000" >> $(obj)include/config.h)) 1788 @[ -z "$(findstring lowboot_,$@)" ] || \ 1789 { echo "TEXT_BASE = 0xFF800000" >$(obj)board/freescale/mpc8260ads/config.tmp ; \ 1790 $(XECHO) "... with lowboot configuration" ; \ 1791 } 1792 @$(MKCONFIG) -a MPC8260ADS ppc mpc8260 mpc8260ads freescale 1793 1794MPC8266ADS_config: unconfig 1795 @$(MKCONFIG) $(@:_config=) ppc mpc8260 mpc8266ads freescale 1796 1797muas3001_dev_config \ 1798muas3001_config : unconfig 1799 @mkdir -p $(obj)include 1800 @mkdir -p $(obj)board/muas3001 1801 @if [ "$(findstring dev,$@)" ] ; then \ 1802 echo "#define CONFIG_MUAS_DEV_BOARD" > $(obj)include/config.h ; \ 1803 fi 1804 @$(MKCONFIG) -a muas3001 ppc mpc8260 muas3001 1805 1806# PM825/PM826 default configuration: small (= 8 MB) Flash / boot from 64-bit flash 1807PM825_config \ 1808PM825_ROMBOOT_config \ 1809PM825_BIGFLASH_config \ 1810PM825_ROMBOOT_BIGFLASH_config \ 1811PM826_config \ 1812PM826_ROMBOOT_config \ 1813PM826_BIGFLASH_config \ 1814PM826_ROMBOOT_BIGFLASH_config: unconfig 1815 @mkdir -p $(obj)include 1816 @mkdir -p $(obj)board/pm826 1817 @if [ "$(findstring PM825_,$@)" ] ; then \ 1818 echo "#define CONFIG_PCI" >$(obj)include/config.h ; \ 1819 else \ 1820 >$(obj)include/config.h ; \ 1821 fi 1822 @if [ "$(findstring _ROMBOOT_,$@)" ] ; then \ 1823 $(XECHO) "... booting from 8-bit flash" ; \ 1824 echo "#define CONFIG_BOOT_ROM" >>$(obj)include/config.h ; \ 1825 echo "TEXT_BASE = 0xFF800000" >$(obj)board/pm826/config.tmp ; \ 1826 if [ "$(findstring _BIGFLASH_,$@)" ] ; then \ 1827 $(XECHO) "... with 32 MB Flash" ; \ 1828 echo "#define CONFIG_FLASH_32MB" >>$(obj)include/config.h ; \ 1829 fi; \ 1830 else \ 1831 $(XECHO) "... booting from 64-bit flash" ; \ 1832 if [ "$(findstring _BIGFLASH_,$@)" ] ; then \ 1833 $(XECHO) "... with 32 MB Flash" ; \ 1834 echo "#define CONFIG_FLASH_32MB" >>$(obj)include/config.h ; \ 1835 echo "TEXT_BASE = 0x40000000" >$(obj)board/pm826/config.tmp ; \ 1836 else \ 1837 echo "TEXT_BASE = 0xFF000000" >$(obj)board/pm826/config.tmp ; \ 1838 fi; \ 1839 fi 1840 @$(MKCONFIG) -a PM826 ppc mpc8260 pm826 1841 1842PM828_config \ 1843PM828_PCI_config \ 1844PM828_ROMBOOT_config \ 1845PM828_ROMBOOT_PCI_config: unconfig 1846 @mkdir -p $(obj)include 1847 @mkdir -p $(obj)board/pm826 1848 @if [ "$(findstring _PCI_,$@)" ] ; then \ 1849 echo "#define CONFIG_PCI" >>$(obj)include/config.h ; \ 1850 $(XECHO) "... with PCI enabled" ; \ 1851 fi 1852 @if [ "$(findstring _ROMBOOT_,$@)" ] ; then \ 1853 $(XECHO) "... booting from 8-bit flash" ; \ 1854 echo "#define CONFIG_BOOT_ROM" >>$(obj)include/config.h ; \ 1855 echo "TEXT_BASE = 0xFF800000" >$(obj)board/pm826/config.tmp ; \ 1856 fi 1857 @$(MKCONFIG) -a PM828 ppc mpc8260 pm828 1858 1859ppmc8260_config: unconfig 1860 @$(MKCONFIG) $(@:_config=) ppc mpc8260 ppmc8260 1861 1862Rattler8248_config \ 1863Rattler_config: unconfig 1864 @mkdir -p $(obj)include 1865 $(if $(findstring 8248,$@), \ 1866 @echo "#define CONFIG_MPC8248" > $(obj)include/config.h) 1867 @$(MKCONFIG) -a Rattler ppc mpc8260 rattler 1868 1869RPXsuper_config: unconfig 1870 @$(MKCONFIG) $(@:_config=) ppc mpc8260 rpxsuper 1871 1872rsdproto_config: unconfig 1873 @$(MKCONFIG) $(@:_config=) ppc mpc8260 rsdproto 1874 1875sacsng_config: unconfig 1876 @$(MKCONFIG) $(@:_config=) ppc mpc8260 sacsng 1877 1878sbc8260_config: unconfig 1879 @$(MKCONFIG) $(@:_config=) ppc mpc8260 sbc8260 1880 1881SCM_config: unconfig 1882 @$(MKCONFIG) $(@:_config=) ppc mpc8260 SCM siemens 1883 1884TQM8255_AA_config \ 1885TQM8260_AA_config \ 1886TQM8260_AB_config \ 1887TQM8260_AC_config \ 1888TQM8260_AD_config \ 1889TQM8260_AE_config \ 1890TQM8260_AF_config \ 1891TQM8260_AG_config \ 1892TQM8260_AH_config \ 1893TQM8260_AI_config \ 1894TQM8265_AA_config: unconfig 1895 @mkdir -p $(obj)include 1896 @case "$@" in \ 1897 TQM8255_AA_config) CTYPE=MPC8255; CFREQ=300; CACHE=no; BMODE=8260;; \ 1898 TQM8260_AA_config) CTYPE=MPC8260; CFREQ=200; CACHE=no; BMODE=8260;; \ 1899 TQM8260_AB_config) CTYPE=MPC8260; CFREQ=200; CACHE=yes; BMODE=60x;; \ 1900 TQM8260_AC_config) CTYPE=MPC8260; CFREQ=200; CACHE=yes; BMODE=60x;; \ 1901 TQM8260_AD_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=60x;; \ 1902 TQM8260_AE_config) CTYPE=MPC8260; CFREQ=266; CACHE=no; BMODE=8260;; \ 1903 TQM8260_AF_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=60x;; \ 1904 TQM8260_AG_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=8260;; \ 1905 TQM8260_AH_config) CTYPE=MPC8260; CFREQ=300; CACHE=yes; BMODE=60x;; \ 1906 TQM8260_AI_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=60x;; \ 1907 TQM8265_AA_config) CTYPE=MPC8265; CFREQ=300; CACHE=no; BMODE=60x;; \ 1908 esac; \ 1909 if [ "$${CTYPE}" != "MPC8260" ] ; then \ 1910 echo "#define CONFIG_$${CTYPE}" >>$(obj)include/config.h ; \ 1911 fi; \ 1912 echo "#define CONFIG_$${CFREQ}MHz" >>$(obj)include/config.h ; \ 1913 echo "... with $${CFREQ}MHz system clock" ; \ 1914 if [ "$${CACHE}" = "yes" ] ; then \ 1915 echo "#define CONFIG_L2_CACHE" >>$(obj)include/config.h ; \ 1916 $(XECHO) "... with L2 Cache support" ; \ 1917 else \ 1918 echo "#undef CONFIG_L2_CACHE" >>$(obj)include/config.h ; \ 1919 $(XECHO) "... without L2 Cache support" ; \ 1920 fi; \ 1921 if [ "$${BMODE}" = "60x" ] ; then \ 1922 echo "#define CONFIG_BUSMODE_60x" >>$(obj)include/config.h ; \ 1923 $(XECHO) "... with 60x Bus Mode" ; \ 1924 else \ 1925 echo "#undef CONFIG_BUSMODE_60x" >>$(obj)include/config.h ; \ 1926 $(XECHO) "... without 60x Bus Mode" ; \ 1927 fi 1928 @$(MKCONFIG) -a TQM8260 ppc mpc8260 tqm8260 tqc 1929 1930TQM8272_config: unconfig 1931 @$(MKCONFIG) TQM8272 ppc mpc8260 tqm8272 tqc 1932 1933VoVPN-GW_66MHz_config \ 1934VoVPN-GW_100MHz_config: unconfig 1935 @mkdir -p $(obj)include 1936 @echo "#define CONFIG_CLKIN_$(word 2,$(subst _, ,$@))" > $(obj)include/config.h 1937 @$(MKCONFIG) -a VoVPN-GW ppc mpc8260 vovpn-gw funkwerk 1938 1939ZPC1900_config: unconfig 1940 @$(MKCONFIG) $(@:_config=) ppc mpc8260 zpc1900 1941 1942######################################################################### 1943## Coldfire 1944######################################################################### 1945 1946M52277EVB_config \ 1947M52277EVB_spansion_config \ 1948M52277EVB_stmicro_config : unconfig 1949 @case "$@" in \ 1950 M52277EVB_config) FLASH=SPANSION;; \ 1951 M52277EVB_spansion_config) FLASH=SPANSION;; \ 1952 M52277EVB_stmicro_config) FLASH=STMICRO;; \ 1953 esac; \ 1954 if [ "$${FLASH}" = "SPANSION" ] ; then \ 1955 echo "#define CONFIG_SYS_SPANSION_BOOT" >> $(obj)include/config.h ; \ 1956 echo "TEXT_BASE = 0x00000000" > $(obj)board/freescale/m52277evb/config.tmp ; \ 1957 cp $(obj)board/freescale/m52277evb/u-boot.spa $(obj)board/freescale/m52277evb/u-boot.lds ; \ 1958 $(XECHO) "... with SPANSION boot..." ; \ 1959 fi; \ 1960 if [ "$${FLASH}" = "STMICRO" ] ; then \ 1961 echo "#define CONFIG_CF_SBF" >> $(obj)include/config.h ; \ 1962 echo "#define CONFIG_SYS_STMICRO_BOOT" >> $(obj)include/config.h ; \ 1963 echo "TEXT_BASE = 0x43E00000" > $(obj)board/freescale/m52277evb/config.tmp ; \ 1964 cp $(obj)board/freescale/m52277evb/u-boot.stm $(obj)board/freescale/m52277evb/u-boot.lds ; \ 1965 $(XECHO) "... with ST Micro boot..." ; \ 1966 fi 1967 @$(MKCONFIG) -a M52277EVB m68k mcf5227x m52277evb freescale 1968 1969M5235EVB_config \ 1970M5235EVB_Flash16_config \ 1971M5235EVB_Flash32_config: unconfig 1972 @case "$@" in \ 1973 M5235EVB_config) FLASH=16;; \ 1974 M5235EVB_Flash16_config) FLASH=16;; \ 1975 M5235EVB_Flash32_config) FLASH=32;; \ 1976 esac; \ 1977 if [ "$${FLASH}" != "16" ] ; then \ 1978 echo "#define NORFLASH_PS32BIT 1" >> $(obj)include/config.h ; \ 1979 echo "TEXT_BASE = 0xFFC00000" > $(obj)board/freescale/m5235evb/config.tmp ; \ 1980 cp $(obj)board/freescale/m5235evb/u-boot.32 $(obj)board/freescale/m5235evb/u-boot.lds ; \ 1981 else \ 1982 echo "TEXT_BASE = 0xFFE00000" > $(obj)board/freescale/m5235evb/config.tmp ; \ 1983 cp $(obj)board/freescale/m5235evb/u-boot.16 $(obj)board/freescale/m5235evb/u-boot.lds ; \ 1984 fi 1985 @$(MKCONFIG) -a M5235EVB m68k mcf523x m5235evb freescale 1986 1987M5249EVB_config : unconfig 1988 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5249evb freescale 1989 1990M5253DEMO_config : unconfig 1991 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5253demo freescale 1992 1993M5253EVBE_config : unconfig 1994 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5253evbe freescale 1995 1996cobra5272_config : unconfig 1997 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 cobra5272 1998 1999EB+MCF-EV123_config : unconfig 2000 @mkdir -p $(obj)include 2001 @mkdir -p $(obj)board/BuS/EB+MCF-EV123 2002 @echo "TEXT_BASE = 0xFFE00000"|tee $(obj)board/BuS/EB+MCF-EV123/textbase.mk 2003 @$(MKCONFIG) EB+MCF-EV123 m68k mcf52x2 EB+MCF-EV123 BuS 2004 2005EB+MCF-EV123_internal_config : unconfig 2006 @mkdir -p $(obj)include 2007 @mkdir -p $(obj)board/BuS/EB+MCF-EV123 2008 @echo "TEXT_BASE = 0xF0000000"|tee $(obj)board/BuS/EB+MCF-EV123/textbase.mk 2009 @$(MKCONFIG) EB+MCF-EV123 m68k mcf52x2 EB+MCF-EV123 BuS 2010 2011idmr_config : unconfig 2012 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 idmr 2013 2014M5271EVB_config : unconfig 2015 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5271evb freescale 2016 2017M5272C3_config : unconfig 2018 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5272c3 freescale 2019 2020M5275EVB_config : unconfig 2021 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5275evb freescale 2022 2023M5282EVB_config : unconfig 2024 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5282evb freescale 2025 2026M53017EVB_config : unconfig 2027 @$(MKCONFIG) $(@:_config=) m68k mcf532x m53017evb freescale 2028 2029M5329AFEE_config \ 2030M5329BFEE_config : unconfig 2031 @case "$@" in \ 2032 M5329AFEE_config) NAND=0;; \ 2033 M5329BFEE_config) NAND=16;; \ 2034 esac; \ 2035 if [ "$${NAND}" != "0" ] ; then \ 2036 echo "#define NANDFLASH_SIZE $${NAND}" > $(obj)include/config.h ; \ 2037 fi 2038 @$(MKCONFIG) -a M5329EVB m68k mcf532x m5329evb freescale 2039 2040M5373EVB_config : unconfig 2041 @case "$@" in \ 2042 M5373EVB_config) NAND=16;; \ 2043 esac; \ 2044 if [ "$${NAND}" != "0" ] ; then \ 2045 echo "#define NANDFLASH_SIZE $${NAND}" > $(obj)include/config.h ; \ 2046 fi 2047 @$(MKCONFIG) -a M5373EVB m68k mcf532x m5373evb freescale 2048 2049M54451EVB_config \ 2050M54451EVB_spansion_config \ 2051M54451EVB_stmicro_config : unconfig 2052 @case "$@" in \ 2053 M54451EVB_config) FLASH=SPANSION;; \ 2054 M54451EVB_spansion_config) FLASH=SPANSION;; \ 2055 M54451EVB_stmicro_config) FLASH=STMICRO;; \ 2056 esac; \ 2057 if [ "$${FLASH}" = "SPANSION" ] ; then \ 2058 echo "#define CONFIG_SYS_SPANSION_BOOT" >> $(obj)include/config.h ; \ 2059 echo "TEXT_BASE = 0x00000000" > $(obj)board/freescale/m54451evb/config.tmp ; \ 2060 cp $(obj)board/freescale/m54451evb/u-boot.spa $(obj)board/freescale/m54451evb/u-boot.lds ; \ 2061 $(XECHO) "... with SPANSION boot..." ; \ 2062 fi; \ 2063 if [ "$${FLASH}" = "STMICRO" ] ; then \ 2064 echo "#define CONFIG_CF_SBF" >> $(obj)include/config.h ; \ 2065 echo "#define CONFIG_SYS_STMICRO_BOOT" >> $(obj)include/config.h ; \ 2066 echo "TEXT_BASE = 0x47E00000" > $(obj)board/freescale/m54451evb/config.tmp ; \ 2067 cp $(obj)board/freescale/m54451evb/u-boot.stm $(obj)board/freescale/m54451evb/u-boot.lds ; \ 2068 $(XECHO) "... with ST Micro boot..." ; \ 2069 fi; \ 2070 echo "#define CONFIG_SYS_INPUT_CLKSRC 24000000" >> $(obj)include/config.h ; 2071 @$(MKCONFIG) -a M54451EVB m68k mcf5445x m54451evb freescale 2072 2073M54455EVB_config \ 2074M54455EVB_atmel_config \ 2075M54455EVB_intel_config \ 2076M54455EVB_a33_config \ 2077M54455EVB_a66_config \ 2078M54455EVB_i33_config \ 2079M54455EVB_i66_config \ 2080M54455EVB_stm33_config : unconfig 2081 @case "$@" in \ 2082 M54455EVB_config) FLASH=ATMEL; FREQ=33333333;; \ 2083 M54455EVB_atmel_config) FLASH=ATMEL; FREQ=33333333;; \ 2084 M54455EVB_intel_config) FLASH=INTEL; FREQ=33333333;; \ 2085 M54455EVB_a33_config) FLASH=ATMEL; FREQ=33333333;; \ 2086 M54455EVB_a66_config) FLASH=ATMEL; FREQ=66666666;; \ 2087 M54455EVB_i33_config) FLASH=INTEL; FREQ=33333333;; \ 2088 M54455EVB_i66_config) FLASH=INTEL; FREQ=66666666;; \ 2089 M54455EVB_stm33_config) FLASH=STMICRO; FREQ=33333333;; \ 2090 esac; \ 2091 if [ "$${FLASH}" = "INTEL" ] ; then \ 2092 echo "#define CONFIG_SYS_INTEL_BOOT" >> $(obj)include/config.h ; \ 2093 echo "TEXT_BASE = 0x00000000" > $(obj)board/freescale/m54455evb/config.tmp ; \ 2094 cp $(obj)board/freescale/m54455evb/u-boot.int $(obj)board/freescale/m54455evb/u-boot.lds ; \ 2095 $(XECHO) "... with INTEL boot..." ; \ 2096 fi; \ 2097 if [ "$${FLASH}" = "ATMEL" ] ; then \ 2098 echo "#define CONFIG_SYS_ATMEL_BOOT" >> $(obj)include/config.h ; \ 2099 echo "TEXT_BASE = 0x04000000" > $(obj)board/freescale/m54455evb/config.tmp ; \ 2100 cp $(obj)board/freescale/m54455evb/u-boot.atm $(obj)board/freescale/m54455evb/u-boot.lds ; \ 2101 $(XECHO) "... with ATMEL boot..." ; \ 2102 fi; \ 2103 if [ "$${FLASH}" = "STMICRO" ] ; then \ 2104 echo "#define CONFIG_CF_SBF" >> $(obj)include/config.h ; \ 2105 echo "#define CONFIG_SYS_STMICRO_BOOT" >> $(obj)include/config.h ; \ 2106 echo "TEXT_BASE = 0x4FE00000" > $(obj)board/freescale/m54455evb/config.tmp ; \ 2107 cp $(obj)board/freescale/m54455evb/u-boot.stm $(obj)board/freescale/m54455evb/u-boot.lds ; \ 2108 $(XECHO) "... with ST Micro boot..." ; \ 2109 fi; \ 2110 echo "#define CONFIG_SYS_INPUT_CLKSRC $${FREQ}" >> $(obj)include/config.h ; \ 2111 $(XECHO) "... with $${FREQ}Hz input clock" 2112 @$(MKCONFIG) -a M54455EVB m68k mcf5445x m54455evb freescale 2113 2114M5475AFE_config \ 2115M5475BFE_config \ 2116M5475CFE_config \ 2117M5475DFE_config \ 2118M5475EFE_config \ 2119M5475FFE_config \ 2120M5475GFE_config : unconfig 2121 @case "$@" in \ 2122 M5475AFE_config) BOOT=2;CODE=0;VID=0;USB=0;RAM=64;RAM1=0;; \ 2123 M5475BFE_config) BOOT=2;CODE=16;VID=0;USB=0;RAM=64;RAM1=0;; \ 2124 M5475CFE_config) BOOT=2;CODE=16;VID=1;USB=1;RAM=64;RAM1=0;; \ 2125 M5475DFE_config) BOOT=2;CODE=0;VID=0;USB=1;RAM=64;RAM1=0;; \ 2126 M5475EFE_config) BOOT=2;CODE=0;VID=1;USB=1;RAM=64;RAM1=0;; \ 2127 M5475FFE_config) BOOT=2;CODE=32;VID=1;USB=1;RAM=64;RAM1=64;; \ 2128 M5475GFE_config) BOOT=4;CODE=0;VID=0;USB=0;RAM=64;RAM1=0;; \ 2129 esac; \ 2130 echo "#define CONFIG_SYS_BUSCLK 133333333" > $(obj)include/config.h ; \ 2131 echo "#define CONFIG_SYS_BOOTSZ $${BOOT}" >> $(obj)include/config.h ; \ 2132 echo "#define CONFIG_SYS_DRAMSZ $${RAM}" >> $(obj)include/config.h ; \ 2133 if [ "$${RAM1}" != "0" ] ; then \ 2134 echo "#define CONFIG_SYS_DRAMSZ1 $${RAM1}" >> $(obj)include/config.h ; \ 2135 fi; \ 2136 if [ "$${CODE}" != "0" ] ; then \ 2137 echo "#define CONFIG_SYS_NOR1SZ $${CODE}" >> $(obj)include/config.h ; \ 2138 fi; \ 2139 if [ "$${VID}" == "1" ] ; then \ 2140 echo "#define CONFIG_SYS_VIDEO" >> $(obj)include/config.h ; \ 2141 fi; \ 2142 if [ "$${USB}" == "1" ] ; then \ 2143 echo "#define CONFIG_SYS_USBCTRL" >> $(obj)include/config.h ; \ 2144 fi 2145 @$(MKCONFIG) -a M5475EVB m68k mcf547x_8x m547xevb freescale 2146 2147M5485AFE_config \ 2148M5485BFE_config \ 2149M5485CFE_config \ 2150M5485DFE_config \ 2151M5485EFE_config \ 2152M5485FFE_config \ 2153M5485GFE_config \ 2154M5485HFE_config : unconfig 2155 @case "$@" in \ 2156 M5485AFE_config) BOOT=2;CODE=0;VID=0;USB=0;RAM=64;RAM1=0;; \ 2157 M5485BFE_config) BOOT=2;CODE=16;VID=0;USB=0;RAM=64;RAM1=0;; \ 2158 M5485CFE_config) BOOT=2;CODE=16;VID=1;USB=1;RAM=64;RAM1=0;; \ 2159 M5485DFE_config) BOOT=2;CODE=0;VID=0;USB=1;RAM=64;RAM1=0;; \ 2160 M5485EFE_config) BOOT=2;CODE=0;VID=1;USB=1;RAM=64;RAM1=0;; \ 2161 M5485FFE_config) BOOT=2;CODE=32;VID=1;USB=1;RAM=64;RAM1=64;; \ 2162 M5485GFE_config) BOOT=4;CODE=0;VID=0;USB=0;RAM=64;RAM1=0;; \ 2163 M5485HFE_config) BOOT=2;CODE=16;VID=1;USB=0;RAM=64;RAM1=0;; \ 2164 esac; \ 2165 echo "#define CONFIG_SYS_BUSCLK 100000000" > $(obj)include/config.h ; \ 2166 echo "#define CONFIG_SYS_BOOTSZ $${BOOT}" >> $(obj)include/config.h ; \ 2167 echo "#define CONFIG_SYS_DRAMSZ $${RAM}" >> $(obj)include/config.h ; \ 2168 if [ "$${RAM1}" != "0" ] ; then \ 2169 echo "#define CONFIG_SYS_DRAMSZ1 $${RAM1}" >> $(obj)include/config.h ; \ 2170 fi; \ 2171 if [ "$${CODE}" != "0" ] ; then \ 2172 echo "#define CONFIG_SYS_NOR1SZ $${CODE}" >> $(obj)include/config.h ; \ 2173 fi; \ 2174 if [ "$${VID}" == "1" ] ; then \ 2175 echo "#define CONFIG_SYS_VIDEO" >> $(obj)include/config.h ; \ 2176 fi; \ 2177 if [ "$${USB}" == "1" ] ; then \ 2178 echo "#define CONFIG_SYS_USBCTRL" >> $(obj)include/config.h ; \ 2179 fi 2180 @$(MKCONFIG) -a M5485EVB m68k mcf547x_8x m548xevb freescale 2181 2182TASREG_config : unconfig 2183 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 tasreg esd 2184 2185######################################################################### 2186## MPC83xx Systems 2187######################################################################### 2188 2189MPC8313ERDB_33_config \ 2190MPC8313ERDB_66_config \ 2191MPC8313ERDB_NAND_33_config \ 2192MPC8313ERDB_NAND_66_config: unconfig 2193 @mkdir -p $(obj)include 2194 @mkdir -p $(obj)board/freescale/mpc8313erdb 2195 @if [ "$(findstring _33_,$@)" ] ; then \ 2196 $(XECHO) -n "...33M ..." ; \ 2197 echo "#define CONFIG_SYS_33MHZ" >>$(obj)include/config.h ; \ 2198 fi ; \ 2199 if [ "$(findstring _66_,$@)" ] ; then \ 2200 $(XECHO) -n "...66M..." ; \ 2201 echo "#define CONFIG_SYS_66MHZ" >>$(obj)include/config.h ; \ 2202 fi ; \ 2203 if [ "$(findstring _NAND_,$@)" ] ; then \ 2204 $(XECHO) -n "...NAND..." ; \ 2205 echo "TEXT_BASE = 0x00100000" > $(obj)board/freescale/mpc8313erdb/config.tmp ; \ 2206 echo "#define CONFIG_NAND_U_BOOT" >>$(obj)include/config.h ; \ 2207 fi ; 2208 @$(MKCONFIG) -a MPC8313ERDB ppc mpc83xx mpc8313erdb freescale 2209 @if [ "$(findstring _NAND_,$@)" ] ; then \ 2210 echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk ; \ 2211 fi ; 2212 2213MPC8315ERDB_config: unconfig 2214 @$(MKCONFIG) -a MPC8315ERDB ppc mpc83xx mpc8315erdb freescale 2215 2216MPC8323ERDB_config: unconfig 2217 @$(MKCONFIG) -a MPC8323ERDB ppc mpc83xx mpc8323erdb freescale 2218 2219MPC832XEMDS_config \ 2220MPC832XEMDS_HOST_33_config \ 2221MPC832XEMDS_HOST_66_config \ 2222MPC832XEMDS_SLAVE_config \ 2223MPC832XEMDS_ATM_config: unconfig 2224 @mkdir -p $(obj)include 2225 @if [ "$(findstring _HOST_,$@)" ] ; then \ 2226 $(XECHO) -n "... PCI HOST " ; \ 2227 echo "#define CONFIG_PCI" >>$(obj)include/config.h ; \ 2228 fi ; \ 2229 if [ "$(findstring _SLAVE_,$@)" ] ; then \ 2230 $(XECHO) "...PCI SLAVE 66M" ; \ 2231 echo "#define CONFIG_PCI" >>$(obj)include/config.h ; \ 2232 echo "#define CONFIG_PCISLAVE" >>$(obj)include/config.h ; \ 2233 fi ; \ 2234 if [ "$(findstring _33_,$@)" ] ; then \ 2235 $(XECHO) -n "...33M ..." ; \ 2236 echo "#define PCI_33M" >>$(obj)include/config.h ; \ 2237 echo "#define CONFIG_PQ_MDS_PIB 1" >>$(obj)include/config.h ; \ 2238 fi ; \ 2239 if [ "$(findstring _66_,$@)" ] ; then \ 2240 $(XECHO) -n "...66M..." ; \ 2241 echo "#define PCI_66M" >>$(obj)include/config.h ; \ 2242 echo "#define CONFIG_PQ_MDS_PIB 1" >>$(obj)include/config.h ; \ 2243 fi ; \ 2244 if [ "$(findstring _ATM_,$@)" ] ; then \ 2245 $(XECHO) -n "...ATM..." ; \ 2246 echo "#define CONFIG_PQ_MDS_PIB 1" >>$(obj)include/config.h ; \ 2247 echo "#define CONFIG_PQ_MDS_PIB_ATM 1" >>$(obj)include/config.h ; \ 2248 fi ; 2249 @$(MKCONFIG) -a MPC832XEMDS ppc mpc83xx mpc832xemds freescale 2250 2251MPC8349EMDS_config: unconfig 2252 @$(MKCONFIG) $(@:_config=) ppc mpc83xx mpc8349emds freescale 2253 2254MPC8349ITX_config \ 2255MPC8349ITX_LOWBOOT_config \ 2256MPC8349ITXGP_config: unconfig 2257 @mkdir -p $(obj)include 2258 @mkdir -p $(obj)board/freescale/mpc8349itx 2259 @echo "#define CONFIG_$(subst _LOWBOOT,,$(@:_config=))" >> $(obj)include/config.h 2260 @if [ "$(findstring GP,$@)" ] ; then \ 2261 echo "TEXT_BASE = 0xFE000000" >$(obj)board/freescale/mpc8349itx/config.tmp ; \ 2262 fi 2263 @if [ "$(findstring LOWBOOT,$@)" ] ; then \ 2264 echo "TEXT_BASE = 0xFE000000" >$(obj)board/freescale/mpc8349itx/config.tmp ; \ 2265 fi 2266 @$(MKCONFIG) -a -n $(@:_config=) MPC8349ITX ppc mpc83xx mpc8349itx freescale 2267 2268MPC8360EMDS_config \ 2269MPC8360EMDS_HOST_33_config \ 2270MPC8360EMDS_HOST_66_config \ 2271MPC8360EMDS_SLAVE_config \ 2272MPC8360EMDS_ATM_config: unconfig 2273 @mkdir -p $(obj)include 2274 @if [ "$(findstring _HOST_,$@)" ] ; then \ 2275 $(XECHO) -n "... PCI HOST " ; \ 2276 echo "#define CONFIG_PCI" >>$(obj)include/config.h ; \ 2277 fi ; \ 2278 if [ "$(findstring _SLAVE_,$@)" ] ; then \ 2279 $(XECHO) "...PCI SLAVE 66M" ; \ 2280 echo "#define CONFIG_PCI" >>$(obj)include/config.h ; \ 2281 echo "#define CONFIG_PCISLAVE" >>$(obj)include/config.h ; \ 2282 fi ; \ 2283 if [ "$(findstring _33_,$@)" ] ; then \ 2284 $(XECHO) -n "...33M ..." ; \ 2285 echo "#define PCI_33M" >>$(obj)include/config.h ; \ 2286 echo "#define CONFIG_PQ_MDS_PIB 1" >>$(obj)include/config.h ; \ 2287 fi ; \ 2288 if [ "$(findstring _66_,$@)" ] ; then \ 2289 $(XECHO) -n "...66M..." ; \ 2290 echo "#define PCI_66M" >>$(obj)include/config.h ; \ 2291 echo "#define CONFIG_PQ_MDS_PIB 1" >>$(obj)include/config.h ; \ 2292 fi ; \ 2293 if [ "$(findstring _ATM_,$@)" ] ; then \ 2294 $(XECHO) -n "...ATM..." ; \ 2295 echo "#define CONFIG_PQ_MDS_PIB 1" >>$(obj)include/config.h ; \ 2296 echo "#define CONFIG_PQ_MDS_PIB_ATM 1" >>$(obj)include/config.h ; \ 2297 fi ; 2298 @$(MKCONFIG) -a MPC8360EMDS ppc mpc83xx mpc8360emds freescale 2299 2300MPC8360ERDK_33_config \ 2301MPC8360ERDK_66_config \ 2302MPC8360ERDK_config: unconfig 2303 @mkdir -p $(obj)include 2304 @if [ "$(findstring _33_,$@)" ] ; then \ 2305 $(XECHO) -n "... CLKIN 33MHz " ; \ 2306 echo "#define CONFIG_CLKIN_33MHZ" >>$(obj)include/config.h ;\ 2307 fi ; 2308 @$(MKCONFIG) -a MPC8360ERDK ppc mpc83xx mpc8360erdk freescale 2309 2310MPC837XEMDS_config \ 2311MPC837XEMDS_HOST_config: unconfig 2312 @mkdir -p $(obj)include 2313 @if [ "$(findstring _HOST_,$@)" ] ; then \ 2314 $(XECHO) -n "... PCI HOST " ; \ 2315 echo "#define CONFIG_PCI" >>$(obj)include/config.h ; \ 2316 fi ; 2317 @$(MKCONFIG) -a MPC837XEMDS ppc mpc83xx mpc837xemds freescale 2318 2319MPC837XERDB_config: unconfig 2320 @$(MKCONFIG) -a MPC837XERDB ppc mpc83xx mpc837xerdb freescale 2321 2322MVBLM7_config: unconfig 2323 @$(MKCONFIG) $(@:_config=) ppc mpc83xx mvblm7 matrix_vision 2324 2325sbc8349_config: unconfig 2326 @$(MKCONFIG) $(@:_config=) ppc mpc83xx sbc8349 2327 2328TQM834x_config: unconfig 2329 @$(MKCONFIG) $(@:_config=) ppc mpc83xx tqm834x tqc 2330 2331 2332######################################################################### 2333## MPC85xx Systems 2334######################################################################### 2335 2336ATUM8548_config: unconfig 2337 @$(MKCONFIG) $(@:_config=) ppc mpc85xx atum8548 2338 2339MPC8536DS_config: unconfig 2340 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8536ds freescale 2341 2342MPC8540ADS_config: unconfig 2343 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8540ads freescale 2344 2345MPC8540EVAL_config \ 2346MPC8540EVAL_33_config \ 2347MPC8540EVAL_66_config \ 2348MPC8540EVAL_33_slave_config \ 2349MPC8540EVAL_66_slave_config: unconfig 2350 @mkdir -p $(obj)include 2351 @if [ "$(findstring _33_,$@)" ] ; then \ 2352 $(XECHO) "... 33 MHz PCI" ; \ 2353 else \ 2354 echo "#define CONFIG_SYSCLK_66M" >>$(obj)include/config.h ; \ 2355 $(XECHO) "... 66 MHz PCI" ; \ 2356 fi ; \ 2357 if [ "$(findstring _slave_,$@)" ] ; then \ 2358 echo "#define CONFIG_PCI_SLAVE" >>$(obj)include/config.h ; \ 2359 $(XECHO) " slave" ; \ 2360 else \ 2361 $(XECHO) " host" ; \ 2362 fi 2363 @$(MKCONFIG) -a MPC8540EVAL ppc mpc85xx mpc8540eval 2364 2365MPC8560ADS_config: unconfig 2366 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8560ads freescale 2367 2368MPC8541CDS_legacy_config \ 2369MPC8541CDS_config: unconfig 2370 @mkdir -p $(obj)include 2371 @if [ "$(findstring _legacy_,$@)" ] ; then \ 2372 echo "#define CONFIG_LEGACY" >>$(obj)include/config.h ; \ 2373 $(XECHO) "... legacy" ; \ 2374 fi 2375 @$(MKCONFIG) -a MPC8541CDS ppc mpc85xx mpc8541cds freescale 2376 2377MPC8544DS_config: unconfig 2378 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8544ds freescale 2379 2380MPC8548CDS_legacy_config \ 2381MPC8548CDS_config: unconfig 2382 @mkdir -p $(obj)include 2383 @if [ "$(findstring _legacy_,$@)" ] ; then \ 2384 echo "#define CONFIG_LEGACY" >>$(obj)include/config.h ; \ 2385 $(XECHO) "... legacy" ; \ 2386 fi 2387 @$(MKCONFIG) -a MPC8548CDS ppc mpc85xx mpc8548cds freescale 2388 2389MPC8555CDS_legacy_config \ 2390MPC8555CDS_config: unconfig 2391 @mkdir -p $(obj)include 2392 @if [ "$(findstring _legacy_,$@)" ] ; then \ 2393 echo "#define CONFIG_LEGACY" >>$(obj)include/config.h ; \ 2394 $(XECHO) "... legacy" ; \ 2395 fi 2396 @$(MKCONFIG) -a MPC8555CDS ppc mpc85xx mpc8555cds freescale 2397 2398MPC8568MDS_config: unconfig 2399 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8568mds freescale 2400 2401MPC8572DS_config: unconfig 2402 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8572ds freescale 2403 2404PM854_config: unconfig 2405 @$(MKCONFIG) $(@:_config=) ppc mpc85xx pm854 2406 2407PM856_config: unconfig 2408 @$(MKCONFIG) $(@:_config=) ppc mpc85xx pm856 2409 2410sbc8540_config \ 2411sbc8540_33_config \ 2412sbc8540_66_config: unconfig 2413 @mkdir -p $(obj)include 2414 @if [ "$(findstring _66_,$@)" ] ; then \ 2415 echo "#define CONFIG_PCI_66" >>$(obj)include/config.h ; \ 2416 $(XECHO) "... 66 MHz PCI" ; \ 2417 else \ 2418 $(XECHO) "... 33 MHz PCI" ; \ 2419 fi 2420 @$(MKCONFIG) -a SBC8540 ppc mpc85xx sbc8560 2421 2422sbc8548_config: unconfig 2423 @$(MKCONFIG) $(@:_config=) ppc mpc85xx sbc8548 2424 2425sbc8560_config \ 2426sbc8560_33_config \ 2427sbc8560_66_config: unconfig 2428 @mkdir -p $(obj)include 2429 @if [ "$(findstring _66_,$@)" ] ; then \ 2430 echo "#define CONFIG_PCI_66" >>$(obj)include/config.h ; \ 2431 $(XECHO) "... 66 MHz PCI" ; \ 2432 else \ 2433 $(XECHO) "... 33 MHz PCI" ; \ 2434 fi 2435 @$(MKCONFIG) -a sbc8560 ppc mpc85xx sbc8560 2436 2437socrates_config: unconfig 2438 @$(MKCONFIG) $(@:_config=) ppc mpc85xx socrates 2439 2440stxgp3_config: unconfig 2441 @$(MKCONFIG) $(@:_config=) ppc mpc85xx stxgp3 2442 2443stxssa_config \ 2444stxssa_4M_config: unconfig 2445 @mkdir -p $(obj)include 2446 @if [ "$(findstring _4M_,$@)" ] ; then \ 2447 echo "#define CONFIG_STXSSA_4M" >>$(obj)include/config.h ; \ 2448 $(XECHO) "... with 4 MiB flash memory" ; \ 2449 fi 2450 @$(MKCONFIG) -a stxssa ppc mpc85xx stxssa 2451 2452TQM8540_config \ 2453TQM8541_config \ 2454TQM8548_config \ 2455TQM8555_config \ 2456TQM8560_config: unconfig 2457 @mkdir -p $(obj)include 2458 @CTYPE=$(subst TQM,,$(@:_config=)); \ 2459 $(XECHO) "... TQM"$${CTYPE}; \ 2460 echo "#define CONFIG_MPC$${CTYPE}">>$(obj)include/config.h; \ 2461 echo "#define CONFIG_TQM$${CTYPE}">>$(obj)include/config.h; \ 2462 echo "#define CONFIG_HOSTNAME tqm$${CTYPE}">>$(obj)include/config.h; \ 2463 echo "#define CONFIG_BOARDNAME \"TQM$${CTYPE}\"">>$(obj)include/config.h; 2464 @$(MKCONFIG) -a TQM85xx ppc mpc85xx tqm85xx tqc 2465 2466XPEDITE5200_config: unconfig 2467 @$(MKCONFIG) $(@:_config=) ppc mpc85xx xpedite5200 xes 2468 2469XPEDITE5370_config: unconfig 2470 @$(MKCONFIG) $(@:_config=) ppc mpc85xx xpedite5370 xes 2471 2472######################################################################### 2473## MPC86xx Systems 2474######################################################################### 2475 2476MPC8610HPCD_config: unconfig 2477 @$(MKCONFIG) $(@:_config=) ppc mpc86xx mpc8610hpcd freescale 2478 2479MPC8641HPCN_36BIT_config \ 2480MPC8641HPCN_config: unconfig 2481 @mkdir -p $(obj)include 2482 @if [ "$(findstring _36BIT_,$@)" ] ; then \ 2483 echo "#define CONFIG_PHYS_64BIT" >>$(obj)include/config.h ; \ 2484 $(XECHO) "... enabling 36-bit physical addressing." ; \ 2485 fi 2486 @$(MKCONFIG) -a MPC8641HPCN ppc mpc86xx mpc8641hpcn freescale 2487 2488sbc8641d_config: unconfig 2489 @$(MKCONFIG) $(@:_config=) ppc mpc86xx sbc8641d 2490 2491######################################################################### 2492## 74xx/7xx Systems 2493######################################################################### 2494 2495AmigaOneG3SE_config: unconfig 2496 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx AmigaOneG3SE MAI 2497 2498BAB7xx_config: unconfig 2499 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx bab7xx eltec 2500 2501CPCI750_config: unconfig 2502 @$(MKCONFIG) CPCI750 ppc 74xx_7xx cpci750 esd 2503 2504DB64360_config: unconfig 2505 @$(MKCONFIG) DB64360 ppc 74xx_7xx db64360 Marvell 2506 2507DB64460_config: unconfig 2508 @$(MKCONFIG) DB64460 ppc 74xx_7xx db64460 Marvell 2509 2510ELPPC_config: unconfig 2511 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx elppc eltec 2512 2513EVB64260_config \ 2514EVB64260_750CX_config: unconfig 2515 @$(MKCONFIG) EVB64260 ppc 74xx_7xx evb64260 2516 2517mpc7448hpc2_config: unconfig 2518 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx mpc7448hpc2 freescale 2519 2520P3G4_config: unconfig 2521 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx evb64260 2522 2523p3m750_config \ 2524p3m7448_config: unconfig 2525 @mkdir -p $(obj)include 2526 @if [ "$(findstring 750_,$@)" ] ; then \ 2527 echo "#define CONFIG_P3M750" >>$(obj)include/config.h ; \ 2528 else \ 2529 echo "#define CONFIG_P3M7448" >>$(obj)include/config.h ; \ 2530 fi 2531 @$(MKCONFIG) -a p3mx ppc 74xx_7xx p3mx prodrive 2532 2533PCIPPC2_config \ 2534PCIPPC6_config: unconfig 2535 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx pcippc2 2536 2537ppmc7xx_config: unconfig 2538 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx ppmc7xx 2539 2540ZUMA_config: unconfig 2541 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx evb64260 2542 2543#======================================================================== 2544# ARM 2545#======================================================================== 2546######################################################################### 2547## StrongARM Systems 2548######################################################################### 2549 2550assabet_config : unconfig 2551 @$(MKCONFIG) $(@:_config=) arm sa1100 assabet 2552 2553dnp1110_config : unconfig 2554 @$(MKCONFIG) $(@:_config=) arm sa1100 dnp1110 2555 2556gcplus_config : unconfig 2557 @$(MKCONFIG) $(@:_config=) arm sa1100 gcplus 2558 2559lart_config : unconfig 2560 @$(MKCONFIG) $(@:_config=) arm sa1100 lart 2561 2562shannon_config : unconfig 2563 @$(MKCONFIG) $(@:_config=) arm sa1100 shannon 2564 2565######################################################################### 2566## ARM92xT Systems 2567######################################################################### 2568 2569######################################################################### 2570## Atmel AT91RM9200 Systems 2571######################################################################### 2572 2573at91rm9200dk_config : unconfig 2574 @$(MKCONFIG) $(@:_config=) arm arm920t at91rm9200dk atmel at91rm9200 2575 2576cmc_pu2_config : unconfig 2577 @$(MKCONFIG) $(@:_config=) arm arm920t cmc_pu2 NULL at91rm9200 2578 2579csb637_config : unconfig 2580 @$(MKCONFIG) $(@:_config=) arm arm920t csb637 NULL at91rm9200 2581 2582kb9202_config : unconfig 2583 @$(MKCONFIG) $(@:_config=) arm arm920t kb9202 NULL at91rm9200 2584 2585m501sk_config : unconfig 2586 @$(MKCONFIG) $(@:_config=) arm arm920t m501sk NULL at91rm9200 2587 2588mp2usb_config : unconfig 2589 @$(MKCONFIG) $(@:_config=) arm arm920t mp2usb NULL at91rm9200 2590 2591######################################################################### 2592## Atmel ARM926EJ-S Systems 2593######################################################################### 2594 2595afeb9260_config: unconfig 2596 @$(MKCONFIG) $(@:_config=) arm arm926ejs afeb9260 NULL at91 2597 2598at91cap9adk_config : unconfig 2599 @$(MKCONFIG) $(@:_config=) arm arm926ejs at91cap9adk atmel at91 2600 2601at91sam9260ek_nandflash_config \ 2602at91sam9260ek_dataflash_cs0_config \ 2603at91sam9260ek_dataflash_cs1_config \ 2604at91sam9260ek_config : unconfig 2605 @mkdir -p $(obj)include 2606 @if [ "$(findstring _nandflash,$@)" ] ; then \ 2607 echo "#define CONFIG_SYS_USE_NANDFLASH 1" >>$(obj)include/config.h ; \ 2608 $(XECHO) "... with environment variable in NAND FLASH" ; \ 2609 elif [ "$(findstring dataflash_cs0,$@)" ] ; then \ 2610 echo "#define CONFIG_SYS_USE_DATAFLASH_CS0 1" >>$(obj)include/config.h ; \ 2611 $(XECHO) "... with environment variable in SPI DATAFLASH CS0" ; \ 2612 else \ 2613 echo "#define CONFIG_SYS_USE_DATAFLASH_CS1 1" >>$(obj)include/config.h ; \ 2614 $(XECHO) "... with environment variable in SPI DATAFLASH CS1" ; \ 2615 fi; 2616 @$(MKCONFIG) -a at91sam9260ek arm arm926ejs at91sam9260ek atmel at91 2617 2618at91sam9xeek_nandflash_config \ 2619at91sam9xeek_dataflash_cs0_config \ 2620at91sam9xeek_dataflash_cs1_config \ 2621at91sam9xeek_config : unconfig 2622 @mkdir -p $(obj)include 2623 @if [ "$(findstring _nandflash,$@)" ] ; then \ 2624 echo "#define CONFIG_SYS_USE_NANDFLASH 1" >>$(obj)include/config.h ; \ 2625 $(XECHO) "... with environment variable in NAND FLASH" ; \ 2626 elif [ "$(findstring dataflash_cs0,$@)" ] ; then \ 2627 echo "#define CONFIG_SYS_USE_DATAFLASH_CS0 1" >>$(obj)include/config.h ; \ 2628 $(XECHO) "... with environment variable in SPI DATAFLASH CS0" ; \ 2629 else \ 2630 echo "#define CONFIG_SYS_USE_DATAFLASH_CS1 1" >>$(obj)include/config.h ; \ 2631 $(XECHO) "... with environment variable in SPI DATAFLASH CS1" ; \ 2632 fi; 2633 @$(MKCONFIG) -n at91sam9xeek -a at91sam9260ek arm arm926ejs at91sam9260ek atmel at91sam9 2634 2635at91sam9261ek_nandflash_config \ 2636at91sam9261ek_dataflash_cs0_config \ 2637at91sam9261ek_dataflash_cs3_config \ 2638at91sam9261ek_config : unconfig 2639 @mkdir -p $(obj)include 2640 @if [ "$(findstring _nandflash,$@)" ] ; then \ 2641 echo "#define CONFIG_SYS_USE_NANDFLASH 1" >>$(obj)include/config.h ; \ 2642 $(XECHO) "... with environment variable in NAND FLASH" ; \ 2643 elif [ "$(findstring dataflash_cs3,$@)" ] ; then \ 2644 echo "#define CONFIG_SYS_USE_DATAFLASH_CS3 1" >>$(obj)include/config.h ; \ 2645 $(XECHO) "... with environment variable in SPI DATAFLASH CS3" ; \ 2646 else \ 2647 echo "#define CONFIG_SYS_USE_DATAFLASH_CS0 1" >>$(obj)include/config.h ; \ 2648 $(XECHO) "... with environment variable in SPI DATAFLASH CS0" ; \ 2649 fi; 2650 @$(MKCONFIG) -a at91sam9261ek arm arm926ejs at91sam9261ek atmel at91 2651 2652at91sam9263ek_nandflash_config \ 2653at91sam9263ek_dataflash_config \ 2654at91sam9263ek_dataflash_cs0_config \ 2655at91sam9263ek_config : unconfig 2656 @mkdir -p $(obj)include 2657 @if [ "$(findstring _nandflash,$@)" ] ; then \ 2658 echo "#define CONFIG_SYS_USE_NANDFLASH 1" >>$(obj)include/config.h ; \ 2659 $(XECHO) "... with environment variable in NAND FLASH" ; \ 2660 else \ 2661 echo "#define CONFIG_SYS_USE_DATAFLASH 1" >>$(obj)include/config.h ; \ 2662 $(XECHO) "... with environment variable in SPI DATAFLASH CS0" ; \ 2663 fi; 2664 @$(MKCONFIG) -a at91sam9263ek arm arm926ejs at91sam9263ek atmel at91 2665 2666at91sam9rlek_nandflash_config \ 2667at91sam9rlek_dataflash_config \ 2668at91sam9rlek_dataflash_cs0_config \ 2669at91sam9rlek_config : unconfig 2670 @mkdir -p $(obj)include 2671 @if [ "$(findstring _nandflash,$@)" ] ; then \ 2672 echo "#define CONFIG_SYS_USE_NANDFLASH 1" >>$(obj)include/config.h ; \ 2673 $(XECHO) "... with environment variable in NAND FLASH" ; \ 2674 else \ 2675 echo "#define CONFIG_SYS_USE_DATAFLASH 1" >>$(obj)include/config.h ; \ 2676 $(XECHO) "... with environment variable in SPI DATAFLASH CS0" ; \ 2677 fi; 2678 @$(MKCONFIG) -a at91sam9rlek arm arm926ejs at91sam9rlek atmel at91 2679 2680######################################################################## 2681## ARM Integrator boards - see doc/README-integrator for more info. 2682integratorap_config \ 2683ap_config \ 2684ap966_config \ 2685ap922_config \ 2686ap922_XA10_config \ 2687ap7_config \ 2688ap720t_config \ 2689ap920t_config \ 2690ap926ejs_config \ 2691ap946es_config: unconfig 2692 @board/integratorap/split_by_variant.sh $@ 2693 2694integratorcp_config \ 2695cp_config \ 2696cp920t_config \ 2697cp926ejs_config \ 2698cp946es_config \ 2699cp1136_config \ 2700cp966_config \ 2701cp922_config \ 2702cp922_XA10_config \ 2703cp1026_config: unconfig 2704 @board/integratorcp/split_by_variant.sh $@ 2705 2706davinci_dvevm_config : unconfig 2707 @$(MKCONFIG) $(@:_config=) arm arm926ejs dvevm davinci davinci 2708 2709davinci_schmoogie_config : unconfig 2710 @$(MKCONFIG) $(@:_config=) arm arm926ejs schmoogie davinci davinci 2711 2712davinci_sffsdr_config : unconfig 2713 @$(MKCONFIG) $(@:_config=) arm arm926ejs sffsdr davinci davinci 2714 2715davinci_sonata_config : unconfig 2716 @$(MKCONFIG) $(@:_config=) arm arm926ejs sonata davinci davinci 2717 2718lpd7a400_config \ 2719lpd7a404_config: unconfig 2720 @$(MKCONFIG) $(@:_config=) arm lh7a40x lpd7a40x 2721 2722mx1ads_config : unconfig 2723 @$(MKCONFIG) $(@:_config=) arm arm920t mx1ads NULL imx 2724 2725mx1fs2_config : unconfig 2726 @$(MKCONFIG) $(@:_config=) arm arm920t mx1fs2 NULL imx 2727 2728netstar_config: unconfig 2729 @$(MKCONFIG) $(@:_config=) arm arm925t netstar 2730 2731omap1510inn_config : unconfig 2732 @$(MKCONFIG) $(@:_config=) arm arm925t omap1510inn 2733 2734xtract_omap1610xxx = $(subst _cs0boot,,$(subst _cs3boot,,$(subst _cs_autoboot,,$(subst _config,,$1)))) 2735 2736omap1610inn_config \ 2737omap1610inn_cs0boot_config \ 2738omap1610inn_cs3boot_config \ 2739omap1610inn_cs_autoboot_config \ 2740omap1610h2_config \ 2741omap1610h2_cs0boot_config \ 2742omap1610h2_cs3boot_config \ 2743omap1610h2_cs_autoboot_config: unconfig 2744 @mkdir -p $(obj)include 2745 @if [ "$(findstring _cs0boot_, $@)" ] ; then \ 2746 echo "#define CONFIG_CS0_BOOT" >> .$(obj)include/config.h ; \ 2747 $(XECHO) "... configured for CS0 boot"; \ 2748 elif [ "$(findstring _cs_autoboot_, $@)" ] ; then \ 2749 echo "#define CONFIG_CS_AUTOBOOT" >> $(obj)include/config.h ; \ 2750 $(XECHO) "... configured for CS_AUTO boot"; \ 2751 else \ 2752 echo "#define CONFIG_CS3_BOOT" >> $(obj)include/config.h ; \ 2753 $(XECHO) "... configured for CS3 boot"; \ 2754 fi; 2755 @$(MKCONFIG) -a $(call xtract_omap1610xxx,$@) arm arm926ejs omap1610inn NULL omap 2756 2757omap5912osk_config : unconfig 2758 @$(MKCONFIG) $(@:_config=) arm arm926ejs omap5912osk NULL omap 2759 2760xtract_omap730p2 = $(subst _cs0boot,,$(subst _cs3boot,, $(subst _config,,$1))) 2761 2762omap730p2_config \ 2763omap730p2_cs0boot_config \ 2764omap730p2_cs3boot_config : unconfig 2765 @mkdir -p $(obj)include 2766 @if [ "$(findstring _cs0boot_, $@)" ] ; then \ 2767 echo "#define CONFIG_CS0_BOOT" >> $(obj)include/config.h ; \ 2768 $(XECHO) "... configured for CS0 boot"; \ 2769 else \ 2770 echo "#define CONFIG_CS3_BOOT" >> $(obj)include/config.h ; \ 2771 $(XECHO) "... configured for CS3 boot"; \ 2772 fi; 2773 @$(MKCONFIG) -a $(call xtract_omap730p2,$@) arm arm926ejs omap730p2 NULL omap 2774 2775sbc2410x_config: unconfig 2776 @$(MKCONFIG) $(@:_config=) arm arm920t sbc2410x NULL s3c24x0 2777 2778scb9328_config : unconfig 2779 @$(MKCONFIG) $(@:_config=) arm arm920t scb9328 NULL imx 2780 2781smdk2400_config : unconfig 2782 @$(MKCONFIG) $(@:_config=) arm arm920t smdk2400 NULL s3c24x0 2783 2784smdk2410_config : unconfig 2785 @$(MKCONFIG) $(@:_config=) arm arm920t smdk2410 NULL s3c24x0 2786 2787SX1_config : unconfig 2788 @$(MKCONFIG) $(@:_config=) arm arm925t sx1 2789 2790# TRAB default configuration: 8 MB Flash, 32 MB RAM 2791xtract_trab = $(subst _bigram,,$(subst _bigflash,,$(subst _old,,$(subst _config,,$1)))) 2792 2793trab_config \ 2794trab_bigram_config \ 2795trab_bigflash_config \ 2796trab_old_config: unconfig 2797 @mkdir -p $(obj)include 2798 @mkdir -p $(obj)board/trab 2799 @[ -z "$(findstring _bigram,$@)" ] || \ 2800 { echo "#define CONFIG_FLASH_8MB" >>$(obj)include/config.h ; \ 2801 echo "#define CONFIG_RAM_32MB" >>$(obj)include/config.h ; \ 2802 $(XECHO) "... with 8 MB Flash, 32 MB RAM" ; \ 2803 } 2804 @[ -z "$(findstring _bigflash,$@)" ] || \ 2805 { echo "#define CONFIG_FLASH_16MB" >>$(obj)include/config.h ; \ 2806 echo "#define CONFIG_RAM_16MB" >>$(obj)include/config.h ; \ 2807 $(XECHO) "... with 16 MB Flash, 16 MB RAM" ; \ 2808 echo "TEXT_BASE = 0x0CF40000" >$(obj)board/trab/config.tmp ; \ 2809 } 2810 @[ -z "$(findstring _old,$@)" ] || \ 2811 { echo "#define CONFIG_FLASH_8MB" >>$(obj)include/config.h ; \ 2812 echo "#define CONFIG_RAM_16MB" >>$(obj)include/config.h ; \ 2813 $(XECHO) "... with 8 MB Flash, 16 MB RAM" ; \ 2814 echo "TEXT_BASE = 0x0CF40000" >$(obj)board/trab/config.tmp ; \ 2815 } 2816 @$(MKCONFIG) -a $(call xtract_trab,$@) arm arm920t trab NULL s3c24x0 2817 2818VCMA9_config : unconfig 2819 @$(MKCONFIG) $(@:_config=) arm arm920t vcma9 mpl s3c24x0 2820 2821######################################################################### 2822# ARM supplied Versatile development boards 2823######################################################################### 2824 2825cm4008_config : unconfig 2826 @$(MKCONFIG) $(@:_config=) arm arm920t cm4008 NULL ks8695 2827 2828cm41xx_config : unconfig 2829 @$(MKCONFIG) $(@:_config=) arm arm920t cm41xx NULL ks8695 2830 2831versatile_config \ 2832versatileab_config \ 2833versatilepb_config : unconfig 2834 @board/versatile/split_by_variant.sh $@ 2835 2836voiceblue_config: unconfig 2837 @$(MKCONFIG) $(@:_config=) arm arm925t voiceblue 2838 2839######################################################################### 2840## S3C44B0 Systems 2841######################################################################### 2842 2843B2_config : unconfig 2844 @$(MKCONFIG) $(@:_config=) arm s3c44b0 B2 dave 2845 2846######################################################################### 2847## ARM720T Systems 2848######################################################################### 2849 2850armadillo_config: unconfig 2851 @$(MKCONFIG) $(@:_config=) arm arm720t armadillo 2852 2853ep7312_config : unconfig 2854 @$(MKCONFIG) $(@:_config=) arm arm720t ep7312 2855 2856impa7_config : unconfig 2857 @$(MKCONFIG) $(@:_config=) arm arm720t impa7 2858 2859modnet50_config : unconfig 2860 @$(MKCONFIG) $(@:_config=) arm arm720t modnet50 2861 2862evb4510_config : unconfig 2863 @$(MKCONFIG) $(@:_config=) arm arm720t evb4510 2864 2865lpc2292sodimm_config: unconfig 2866 @$(MKCONFIG) $(@:_config=) arm arm720t lpc2292sodimm NULL lpc2292 2867 2868SMN42_config : unconfig 2869 @$(MKCONFIG) $(@:_config=) arm arm720t SMN42 siemens lpc2292 2870 2871######################################################################### 2872## XScale Systems 2873######################################################################### 2874 2875actux1_config : unconfig 2876 @$(MKCONFIG) $(@:_config=) arm ixp actux1 2877 2878actux2_config : unconfig 2879 @$(MKCONFIG) $(@:_config=) arm ixp actux2 2880 2881actux3_config : unconfig 2882 @$(MKCONFIG) $(@:_config=) arm ixp actux3 2883 2884actux4_config : unconfig 2885 @$(MKCONFIG) $(@:_config=) arm ixp actux4 2886 2887cerf250_config : unconfig 2888 @$(MKCONFIG) $(@:_config=) arm pxa cerf250 2889 2890cradle_config : unconfig 2891 @$(MKCONFIG) $(@:_config=) arm pxa cradle 2892 2893csb226_config : unconfig 2894 @$(MKCONFIG) $(@:_config=) arm pxa csb226 2895 2896delta_config : unconfig 2897 @$(MKCONFIG) $(@:_config=) arm pxa delta 2898 2899innokom_config : unconfig 2900 @$(MKCONFIG) $(@:_config=) arm pxa innokom 2901 2902ixdp425_config : unconfig 2903 @$(MKCONFIG) $(@:_config=) arm ixp ixdp425 2904 2905ixdpg425_config : unconfig 2906 @$(MKCONFIG) $(@:_config=) arm ixp ixdp425 2907 2908lubbock_config : unconfig 2909 @$(MKCONFIG) $(@:_config=) arm pxa lubbock 2910 2911pleb2_config : unconfig 2912 @$(MKCONFIG) $(@:_config=) arm pxa pleb2 2913 2914logodl_config : unconfig 2915 @$(MKCONFIG) $(@:_config=) arm pxa logodl 2916 2917pdnb3_config \ 2918scpu_config: unconfig 2919 @mkdir -p $(obj)include 2920 @if [ "$(findstring scpu_,$@)" ] ; then \ 2921 echo "#define CONFIG_SCPU" >>$(obj)include/config.h ; \ 2922 $(XECHO) "... on SCPU board variant" ; \ 2923 fi 2924 @$(MKCONFIG) -a pdnb3 arm ixp pdnb3 prodrive 2925 2926pxa255_idp_config: unconfig 2927 @$(MKCONFIG) $(@:_config=) arm pxa pxa255_idp 2928 2929trizepsiv_config : unconfig 2930 @$(MKCONFIG) $(@:_config=) arm pxa trizepsiv 2931 2932wepep250_config : unconfig 2933 @$(MKCONFIG) $(@:_config=) arm pxa wepep250 2934 2935xaeniax_config : unconfig 2936 @$(MKCONFIG) $(@:_config=) arm pxa xaeniax 2937 2938xm250_config : unconfig 2939 @$(MKCONFIG) $(@:_config=) arm pxa xm250 2940 2941xsengine_config : unconfig 2942 @$(MKCONFIG) $(@:_config=) arm pxa xsengine 2943 2944zylonite_config : 2945 @$(MKCONFIG) $(@:_config=) arm pxa zylonite 2946 2947######################################################################### 2948## ARM1136 Systems 2949######################################################################### 2950 2951apollon_config : unconfig 2952 @mkdir -p $(obj)include 2953 @mkdir -p $(obj)onenand_ipl/board/apollon 2954 @echo "#define CONFIG_ONENAND_U_BOOT" > $(obj)include/config.h 2955 @$(MKCONFIG) $(@:_config=) arm arm1136 apollon NULL omap24xx 2956 @echo "CONFIG_ONENAND_U_BOOT = y" >> $(obj)include/config.mk 2957 2958imx31_litekit_config : unconfig 2959 @$(MKCONFIG) $(@:_config=) arm arm1136 imx31_litekit NULL mx31 2960 2961imx31_phycore_config : unconfig 2962 @$(MKCONFIG) $(@:_config=) arm arm1136 imx31_phycore NULL mx31 2963 2964mx31ads_config : unconfig 2965 @$(MKCONFIG) $(@:_config=) arm arm1136 mx31ads freescale mx31 2966 2967omap2420h4_config : unconfig 2968 @$(MKCONFIG) $(@:_config=) arm arm1136 omap2420h4 NULL omap24xx 2969 2970######################################################################### 2971## ARM1176 Systems 2972######################################################################### 2973smdk6400_noUSB_config \ 2974smdk6400_config : unconfig 2975 @mkdir -p $(obj)include $(obj)board/samsung/smdk6400 2976 @mkdir -p $(obj)nand_spl/board/samsung/smdk6400 2977 @echo "#define CONFIG_NAND_U_BOOT" > $(obj)include/config.h 2978 @if [ -z "$(findstring smdk6400_noUSB_config,$@)" ]; then \ 2979 echo "RAM_TEXT = 0x57e00000" >> $(obj)board/samsung/smdk6400/config.tmp;\ 2980 $(MKCONFIG) $(@:_config=) arm arm1176 smdk6400 samsung s3c64xx; \ 2981 else \ 2982 echo "RAM_TEXT = 0xc7e00000" >> $(obj)board/samsung/smdk6400/config.tmp;\ 2983 $(MKCONFIG) $(@:_noUSB_config=) arm arm1176 smdk6400 samsung s3c64xx; \ 2984 fi 2985 @echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk 2986 2987#======================================================================== 2988# i386 2989#======================================================================== 2990######################################################################### 2991## AMD SC520 CDP 2992######################################################################### 2993sc520_cdp_config : unconfig 2994 @$(MKCONFIG) $(@:_config=) i386 i386 sc520_cdp 2995 2996sc520_spunk_config : unconfig 2997 @$(MKCONFIG) $(@:_config=) i386 i386 sc520_spunk 2998 2999sc520_spunk_rel_config : unconfig 3000 @$(MKCONFIG) $(@:_config=) i386 i386 sc520_spunk 3001 3002#======================================================================== 3003# MIPS 3004#======================================================================== 3005######################################################################### 3006## MIPS32 4Kc 3007######################################################################### 3008 3009xtract_incaip = $(subst _100MHz,,$(subst _133MHz,,$(subst _150MHz,,$(subst _config,,$1)))) 3010 3011incaip_100MHz_config \ 3012incaip_133MHz_config \ 3013incaip_150MHz_config \ 3014incaip_config: unconfig 3015 @mkdir -p $(obj)include 3016 @[ -z "$(findstring _100MHz,$@)" ] || \ 3017 { echo "#define CPU_CLOCK_RATE 100000000" >>$(obj)include/config.h ; \ 3018 $(XECHO) "... with 100MHz system clock" ; \ 3019 } 3020 @[ -z "$(findstring _133MHz,$@)" ] || \ 3021 { echo "#define CPU_CLOCK_RATE 133000000" >>$(obj)include/config.h ; \ 3022 $(XECHO) "... with 133MHz system clock" ; \ 3023 } 3024 @[ -z "$(findstring _150MHz,$@)" ] || \ 3025 { echo "#define CPU_CLOCK_RATE 150000000" >>$(obj)include/config.h ; \ 3026 $(XECHO) "... with 150MHz system clock" ; \ 3027 } 3028 @$(MKCONFIG) -a $(call xtract_incaip,$@) mips mips incaip 3029 3030tb0229_config: unconfig 3031 @$(MKCONFIG) $(@:_config=) mips mips tb0229 3032 3033######################################################################### 3034## MIPS32 AU1X00 3035######################################################################### 3036 3037dbau1000_config : unconfig 3038 @mkdir -p $(obj)include 3039 @echo "#define CONFIG_DBAU1000 1" >$(obj)include/config.h 3040 @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00 3041 3042dbau1100_config : unconfig 3043 @mkdir -p $(obj)include 3044 @echo "#define CONFIG_DBAU1100 1" >$(obj)include/config.h 3045 @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00 3046 3047dbau1500_config : unconfig 3048 @mkdir -p $(obj)include 3049 @echo "#define CONFIG_DBAU1500 1" >$(obj)include/config.h 3050 @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00 3051 3052dbau1550_config : unconfig 3053 @mkdir -p $(obj)include 3054 @echo "#define CONFIG_DBAU1550 1" >$(obj)include/config.h 3055 @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00 3056 3057dbau1550_el_config : unconfig 3058 @mkdir -p $(obj)include 3059 @echo "#define CONFIG_DBAU1550 1" >$(obj)include/config.h 3060 @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00 3061 3062gth2_config : unconfig 3063 @mkdir -p $(obj)include 3064 @echo "#define CONFIG_GTH2 1" >$(obj)include/config.h 3065 @$(MKCONFIG) -a gth2 mips mips gth2 3066 3067pb1000_config : unconfig 3068 @mkdir -p $(obj)include 3069 @echo "#define CONFIG_PB1000 1" >$(obj)include/config.h 3070 @$(MKCONFIG) -a pb1x00 mips mips pb1x00 3071 3072qemu_mips_config : unconfig 3073 @mkdir -p $(obj)include 3074 @echo "#define CONFIG_QEMU_MIPS 1" >$(obj)include/config.h 3075 @$(MKCONFIG) -a qemu-mips mips mips qemu-mips 3076 3077######################################################################### 3078## MIPS64 5Kc 3079######################################################################### 3080 3081purple_config : unconfig 3082 @$(MKCONFIG) $(@:_config=) mips mips purple 3083 3084#======================================================================== 3085# Nios 3086#======================================================================== 3087######################################################################### 3088## Nios32 3089######################################################################### 3090 3091ADNPESC1_DNPEVA2_base_32_config \ 3092ADNPESC1_base_32_config \ 3093ADNPESC1_config: unconfig 3094 @mkdir -p $(obj)include 3095 @[ -z "$(findstring _DNPEVA2,$@)" ] || \ 3096 { echo "#define CONFIG_DNPEVA2 1" >>$(obj)include/config.h ; \ 3097 $(XECHO) "... DNP/EVA2 configuration" ; \ 3098 } 3099 @[ -z "$(findstring _base_32,$@)" ] || \ 3100 { echo "#define CONFIG_NIOS_BASE_32 1" >>$(obj)include/config.h ; \ 3101 $(XECHO) "... NIOS 'base_32' configuration" ; \ 3102 } 3103 @[ -z "$(findstring ADNPESC1_config,$@)" ] || \ 3104 { echo "#define CONFIG_NIOS_BASE_32 1" >>$(obj)include/config.h ; \ 3105 $(XECHO) "... NIOS 'base_32' configuration (DEFAULT)" ; \ 3106 } 3107 @$(MKCONFIG) -a ADNPESC1 nios nios adnpesc1 ssv 3108 3109DK1C20_safe_32_config \ 3110DK1C20_standard_32_config \ 3111DK1C20_config: unconfig 3112 @mkdir -p $(obj)include 3113 @[ -z "$(findstring _safe_32,$@)" ] || \ 3114 { echo "#define CONFIG_NIOS_SAFE_32 1" >>$(obj)include/config.h ; \ 3115 $(XECHO) "... NIOS 'safe_32' configuration" ; \ 3116 } 3117 @[ -z "$(findstring _standard_32,$@)" ] || \ 3118 { echo "#define CONFIG_NIOS_STANDARD_32 1" >>$(obj)include/config.h ; \ 3119 $(XECHO) "... NIOS 'standard_32' configuration" ; \ 3120 } 3121 @[ -z "$(findstring DK1C20_config,$@)" ] || \ 3122 { echo "#define CONFIG_NIOS_STANDARD_32 1" >>$(obj)include/config.h ; \ 3123 $(XECHO) "... NIOS 'standard_32' configuration (DEFAULT)" ; \ 3124 } 3125 @$(MKCONFIG) -a DK1C20 nios nios dk1c20 altera 3126 3127DK1S10_safe_32_config \ 3128DK1S10_standard_32_config \ 3129DK1S10_mtx_ldk_20_config \ 3130DK1S10_config: unconfig 3131 @mkdir -p $(obj)include 3132 @[ -z "$(findstring _safe_32,$@)" ] || \ 3133 { echo "#define CONFIG_NIOS_SAFE_32 1" >>$(obj)include/config.h ; \ 3134 $(XECHO) "... NIOS 'safe_32' configuration" ; \ 3135 } 3136 @[ -z "$(findstring _standard_32,$@)" ] || \ 3137 { echo "#define CONFIG_NIOS_STANDARD_32 1" >>$(obj)include/config.h ; \ 3138 $(XECHO) "... NIOS 'standard_32' configuration" ; \ 3139 } 3140 @[ -z "$(findstring _mtx_ldk_20,$@)" ] || \ 3141 { echo "#define CONFIG_NIOS_MTX_LDK_20 1" >>$(obj)include/config.h ; \ 3142 $(XECHO) "... NIOS 'mtx_ldk_20' configuration" ; \ 3143 } 3144 @[ -z "$(findstring DK1S10_config,$@)" ] || \ 3145 { echo "#define CONFIG_NIOS_STANDARD_32 1" >>$(obj)include/config.h ; \ 3146 $(XECHO) "... NIOS 'standard_32' configuration (DEFAULT)" ; \ 3147 } 3148 @$(MKCONFIG) -a DK1S10 nios nios dk1s10 altera 3149 3150######################################################################### 3151## Nios-II 3152######################################################################### 3153 3154EP1C20_config : unconfig 3155 @$(MKCONFIG) EP1C20 nios2 nios2 ep1c20 altera 3156 3157EP1S10_config : unconfig 3158 @$(MKCONFIG) EP1S10 nios2 nios2 ep1s10 altera 3159 3160EP1S40_config : unconfig 3161 @$(MKCONFIG) EP1S40 nios2 nios2 ep1s40 altera 3162 3163PK1C20_config : unconfig 3164 @$(MKCONFIG) PK1C20 nios2 nios2 pk1c20 psyent 3165 3166PCI5441_config : unconfig 3167 @$(MKCONFIG) PCI5441 nios2 nios2 pci5441 psyent 3168 3169#======================================================================== 3170## Microblaze 3171#======================================================================== 3172 3173microblaze-generic_config: unconfig 3174 @mkdir -p $(obj)include 3175 @$(MKCONFIG) -a $(@:_config=) microblaze microblaze microblaze-generic xilinx 3176 3177suzaku_config: unconfig 3178 @mkdir -p $(obj)include 3179 @echo "#define CONFIG_SUZAKU 1" > $(obj)include/config.h 3180 @$(MKCONFIG) -a $(@:_config=) microblaze microblaze suzaku AtmarkTechno 3181 3182#======================================================================== 3183# Blackfin 3184#======================================================================== 3185 3186# Analog Devices boards 3187BFIN_BOARDS = bf533-ezkit bf533-stamp bf537-stamp bf561-ezkit 3188 3189$(BFIN_BOARDS:%=%_config) : unconfig 3190 @$(MKCONFIG) $(@:_config=) blackfin blackfin $(@:_config=) 3191 3192$(BFIN_BOARDS): 3193 $(MAKE) $@_config 3194 $(MAKE) 3195 3196#======================================================================== 3197# AVR32 3198#======================================================================== 3199 3200atngw100_config : unconfig 3201 @$(MKCONFIG) $(@:_config=) avr32 at32ap atngw100 atmel at32ap700x 3202 3203atstk1002_config : unconfig 3204 @$(MKCONFIG) $(@:_config=) avr32 at32ap atstk1000 atmel at32ap700x 3205 3206atstk1003_config : unconfig 3207 @$(MKCONFIG) $(@:_config=) avr32 at32ap atstk1000 atmel at32ap700x 3208 3209atstk1004_config : unconfig 3210 @$(MKCONFIG) $(@:_config=) avr32 at32ap atstk1000 atmel at32ap700x 3211 3212atstk1006_config : unconfig 3213 @$(MKCONFIG) $(@:_config=) avr32 at32ap atstk1000 atmel at32ap700x 3214 3215favr-32-ezkit_config : unconfig 3216 @$(MKCONFIG) $(@:_config=) avr32 at32ap favr-32-ezkit earthlcd at32ap700x 3217 3218hammerhead_config : unconfig 3219 @$(MKCONFIG) $(@:_config=) avr32 at32ap hammerhead miromico at32ap700x 3220 3221mimc200_config : unconfig 3222 @$(MKCONFIG) $(@:_config=) avr32 at32ap mimc200 mimc at32ap700x 3223 3224#======================================================================== 3225# SH3 (SuperH) 3226#======================================================================== 3227 3228######################################################################### 3229## sh2 (Renesas SuperH) 3230######################################################################### 3231rsk7203_config: unconfig 3232 @mkdir -p $(obj)include 3233 @echo "#define CONFIG_RSK7203 1" > $(obj)/include/config.h 3234 @$(MKCONFIG) -a $(@:_config=) sh sh2 rsk7203 renesas 3235 3236######################################################################### 3237## sh3 (Renesas SuperH) 3238######################################################################### 3239 3240mpr2_config: unconfig 3241 @mkdir -p $(obj)include 3242 @echo "#define CONFIG_MPR2 1" > $(obj)include/config.h 3243 @$(MKCONFIG) -a $(@:_config=) sh sh3 mpr2 3244 3245ms7720se_config: unconfig 3246 @mkdir -p $(obj)include 3247 @echo "#define CONFIG_MS7720SE 1" > $(obj)include/config.h 3248 @$(MKCONFIG) -a $(@:_config=) sh sh3 ms7720se 3249 3250######################################################################### 3251## sh4 (Renesas SuperH) 3252######################################################################### 3253 3254MigoR_config : unconfig 3255 @mkdir -p $(obj)include 3256 @echo "#define CONFIG_MIGO_R 1" > $(obj)include/config.h 3257 @$(MKCONFIG) -a $(@:_config=) sh sh4 MigoR renesas 3258 3259ms7750se_config: unconfig 3260 @mkdir -p $(obj)include 3261 @echo "#define CONFIG_MS7750SE 1" > $(obj)include/config.h 3262 @$(MKCONFIG) -a $(@:_config=) sh sh4 ms7750se 3263 3264ms7722se_config : unconfig 3265 @mkdir -p $(obj)include 3266 @echo "#define CONFIG_MS7722SE 1" > $(obj)include/config.h 3267 @$(MKCONFIG) -a $(@:_config=) sh sh4 ms7722se 3268 3269r2dplus_config : unconfig 3270 @mkdir -p $(obj)include 3271 @echo "#define CONFIG_R2DPLUS 1" > $(obj)include/config.h 3272 @$(MKCONFIG) -a $(@:_config=) sh sh4 r2dplus renesas 3273 3274r7780mp_config: unconfig 3275 @mkdir -p $(obj)include 3276 @echo "#define CONFIG_R7780MP 1" > $(obj)include/config.h 3277 @$(MKCONFIG) -a $(@:_config=) sh sh4 r7780mp renesas 3278 3279sh7763rdp_config : unconfig 3280 @mkdir -p $(obj)include 3281 @echo "#define CONFIG_SH7763RDP 1" > $(obj)include/config.h 3282 @$(MKCONFIG) -a $(@:_config=) sh sh4 sh7763rdp renesas 3283 3284sh7785lcr_config : unconfig 3285 @ >include/config.h 3286 @echo "#define CONFIG_SH7785LCR 1" >> include/config.h 3287 @$(MKCONFIG) -a $(@:_config=) sh sh4 sh7785lcr renesas 3288 3289ap325rxa_config : unconfig 3290 @mkdir -p $(obj)include 3291 @echo "#define CONFIG_AP325RXA 1" > $(obj)include/config.h 3292 @$(MKCONFIG) -a $(@:_config=) sh sh4 ap325rxa renesas 3293 3294#======================================================================== 3295# SPARC 3296#======================================================================== 3297 3298######################################################################### 3299## LEON3 3300######################################################################### 3301 3302# Gaisler GR-XC3S-1500 board 3303gr_xc3s_1500_config : unconfig 3304 @$(MKCONFIG) $(@:_config=) sparc leon3 gr_xc3s_1500 gaisler 3305 3306# Gaisler GR-CPCI-AX2000 board, a General purpose FPGA-AX system 3307gr_cpci_ax2000_config : unconfig 3308 @$(MKCONFIG) $(@:_config=) sparc leon3 gr_cpci_ax2000 gaisler 3309 3310# Gaisler GRLIB template design (GPL SPARC/LEON3) for Altera NIOS 3311# Development board Stratix II edition, FPGA Device EP2S60. 3312gr_ep2s60_config: unconfig 3313 @$(MKCONFIG) $(@:_config=) sparc leon3 gr_ep2s60 gaisler 3314 3315# Gaisler LEON3 GRSIM simulator 3316grsim_config : unconfig 3317 @$(MKCONFIG) $(@:_config=) sparc leon3 grsim gaisler 3318 3319######################################################################### 3320## LEON2 3321######################################################################### 3322 3323# Gaisler LEON2 GRSIM simulator 3324grsim_leon2_config : unconfig 3325 @$(MKCONFIG) $(@:_config=) sparc leon2 grsim_leon2 gaisler 3326 3327######################################################################### 3328######################################################################### 3329######################################################################### 3330 3331clean: 3332 @rm -f $(obj)examples/82559_eeprom $(obj)examples/eepro100_eeprom \ 3333 $(obj)examples/hello_world $(obj)examples/interrupt \ 3334 $(obj)examples/mem_to_mem_idma2intr \ 3335 $(obj)examples/sched $(obj)examples/smc91111_eeprom \ 3336 $(obj)examples/test_burst $(obj)examples/timer 3337 @rm -f $(obj)tools/bmp_logo $(obj)tools/easylogo/easylogo \ 3338 $(obj)tools/env/{fw_printenv,fw_setenv} \ 3339 $(obj)tools/envcrc \ 3340 $(obj)tools/gdb/{astest,gdbcont,gdbsend} \ 3341 $(obj)tools/gen_eth_addr $(obj)tools/img2srec \ 3342 $(obj)tools/mkimage $(obj)tools/mpc86x_clk \ 3343 $(obj)tools/ncb $(obj)tools/ubsha1 3344 @rm -f $(obj)board/cray/L1/{bootscript.c,bootscript.image} \ 3345 $(obj)board/netstar/{eeprom,crcek,crcit,*.srec,*.bin} \ 3346 $(obj)board/trab/trab_fkt $(obj)board/voiceblue/eeprom \ 3347 $(obj)board/{integratorap,integratorcp}/u-boot.lds \ 3348 $(obj)board/{bf533-ezkit,bf533-stamp,bf537-stamp,bf561-ezkit}/u-boot.lds \ 3349 $(obj)cpu/blackfin/bootrom-asm-offsets.[chs] 3350 @rm -f $(obj)include/bmp_logo.h 3351 @rm -f $(obj)nand_spl/{u-boot-spl,u-boot-spl.map,System.map} 3352 @rm -f $(obj)onenand_ipl/onenand-{ipl,ipl.bin,ipl-2k.bin,ipl-4k.bin,ipl.map} 3353 @rm -f $(obj)api_examples/demo $(TIMESTAMP_FILE) $(VERSION_FILE) 3354 @find $(OBJTREE) -type f \ 3355 \( -name 'core' -o -name '*.bak' -o -name '*~' \ 3356 -o -name '*.o' -o -name '*.a' \) -print \ 3357 | xargs rm -f 3358 3359clobber: clean 3360 @find $(OBJTREE) -type f \( -name .depend \ 3361 -o -name '*.srec' -o -name '*.bin' -o -name u-boot.img \) \ 3362 -print0 \ 3363 | xargs -0 rm -f 3364 @rm -f $(OBJS) $(obj)*.bak $(obj)ctags $(obj)etags $(obj)TAGS \ 3365 $(obj)cscope.* $(obj)*.*~ 3366 @rm -f $(obj)u-boot $(obj)u-boot.map $(obj)u-boot.hex $(ALL) 3367 @rm -f $(obj)tools/{crc32.c,env_embedded.c,env/crc32.c,md5.c,sha1.c,inca-swap-bytes} 3368 @rm -f $(obj)tools/{image.c,fdt.c,fdt_ro.c,fdt_rw.c,fdt_strerror.c,zlib.h} 3369 @rm -f $(obj)tools/{fdt_wip.c,libfdt_internal.h} 3370 @rm -f $(obj)cpu/mpc824x/bedbug_603e.c 3371 @rm -f $(obj)include/asm/proc $(obj)include/asm/arch $(obj)include/asm 3372 @[ ! -d $(obj)nand_spl ] || find $(obj)nand_spl -name "*" -type l -print | xargs rm -f 3373 @[ ! -d $(obj)onenand_ipl ] || find $(obj)onenand_ipl -name "*" -type l -print | xargs rm -f 3374 @[ ! -d $(obj)api_examples ] || find $(obj)api_examples -name "*" -type l -print | xargs rm -f 3375 3376ifeq ($(OBJTREE),$(SRCTREE)) 3377mrproper \ 3378distclean: clobber unconfig 3379else 3380mrproper \ 3381distclean: clobber unconfig 3382 rm -rf $(obj)* 3383endif 3384 3385backup: 3386 F=`basename $(TOPDIR)` ; cd .. ; \ 3387 gtar --force-local -zcvf `date "+$$F-%Y-%m-%d-%T.tar.gz"` $$F 3388 3389######################################################################### 3390