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