2 # (C) Copyright 2000-2008
3 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
5 # See file CREDITS for list of people who contributed to this
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.
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.
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,
28 U_BOOT_VERSION = $(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)
29 VERSION_FILE = $(obj)include/version_autogenerated.h
31 HOSTARCH := $(shell uname -m | \
40 HOSTOS := $(shell uname -s | tr '[:upper:]' '[:lower:]' | \
41 sed -e 's/\(cygwin\).*/cygwin/')
43 export HOSTARCH HOSTOS
45 # Deal with colliding definitions from tcsh etc.
48 #########################################################################
49 # Allow for silent builds
50 ifeq (,$(findstring s,$(MAKEFLAGS)))
56 #########################################################################
58 # U-boot build supports producing a object files to the separate external
59 # directory. Two use cases are supported:
61 # 1) Add O= to the make command line
62 # 'make O=/tmp/build all'
64 # 2) Set environement variable BUILD_DIR to point to the desired location
65 # 'export BUILD_DIR=/tmp/build'
68 # The second approach can also be used with a MAKEALL script
69 # 'export BUILD_DIR=/tmp/build'
72 # Command line 'O=' setting overrides BUILD_DIR environent variable.
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.
79 ifeq ("$(origin O)", "command line")
85 saved-output := $(BUILD_DIR)
87 # Attempt to create a output directory.
88 $(shell [ -d ${BUILD_DIR} ] || mkdir -p ${BUILD_DIR})
90 # Verify if it was successful.
91 BUILD_DIR := $(shell cd $(BUILD_DIR) && /bin/pwd)
92 $(if $(BUILD_DIR),,$(error output directory "$(saved-output)" does not exist))
93 endif # ifneq ($(BUILD_DIR),)
95 OBJTREE := $(if $(BUILD_DIR),$(BUILD_DIR),$(CURDIR))
99 export TOPDIR SRCTREE OBJTREE
101 MKCONFIG := $(SRCTREE)/mkconfig
104 ifneq ($(OBJTREE),$(SRCTREE))
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.
112 ifneq ($(OBJTREE),$(SRCTREE))
121 #########################################################################
123 ifeq ($(obj)include/config.mk,$(wildcard $(obj)include/config.mk))
125 # load ARCH, BOARD, and CPU configuration
126 include $(obj)include/config.mk
127 export ARCH CPU BOARD VENDOR SOC
130 ifeq ($(HOSTARCH),$(ARCH))
134 CROSS_COMPILE = ppc_8xx-
137 CROSS_COMPILE = arm-linux-
140 CROSS_COMPILE = i386-linux-
143 CROSS_COMPILE = mips_4KC-
146 CROSS_COMPILE = nios-elf-
149 CROSS_COMPILE = nios2-elf-
152 CROSS_COMPILE = m68k-elf-
154 ifeq ($(ARCH),microblaze)
157 ifeq ($(ARCH),blackfin)
158 CROSS_COMPILE = bfin-uclinux-
161 CROSS_COMPILE = avr32-linux-
164 CROSS_COMPILE = sh4-linux-
166 endif # HOSTARCH,ARCH
167 endif # CROSS_COMPILE
171 # load other configuration
172 include $(TOPDIR)/config.mk
174 #########################################################################
175 # U-Boot objects....order is important (i.e. start must be first)
177 OBJS = cpu/$(CPU)/start.o
179 OBJS += cpu/$(CPU)/start16.o
180 OBJS += cpu/$(CPU)/reset.o
183 OBJS += cpu/$(CPU)/resetvec.o
185 ifeq ($(CPU),mpc85xx)
186 OBJS += cpu/$(CPU)/resetvec.o
189 OBJS += cpu/$(CPU)/start1.o cpu/$(CPU)/interrupt.o cpu/$(CPU)/cache.o
190 OBJS += cpu/$(CPU)/flush.o cpu/$(CPU)/init_sdram.o
193 OBJS += cpu/$(CPU)/start1.o cpu/$(CPU)/interrupt.o cpu/$(CPU)/cache.o
194 OBJS += cpu/$(CPU)/flush.o cpu/$(CPU)/init_sdram.o
197 OBJS += cpu/$(CPU)/start1.o cpu/$(CPU)/interrupt.o cpu/$(CPU)/cache.o
198 OBJS += cpu/$(CPU)/flush.o cpu/$(CPU)/init_sdram.o
201 OBJS := $(addprefix $(obj),$(OBJS))
203 LIBS = lib_generic/libgeneric.a
204 LIBS += $(shell if [ -f board/$(VENDOR)/common/Makefile ]; then echo \
205 "board/$(VENDOR)/common/lib$(VENDOR).a"; fi)
206 LIBS += board/$(BOARDDIR)/lib$(BOARD).a
207 LIBS += cpu/$(CPU)/lib$(CPU).a
209 LIBS += cpu/$(CPU)/$(SOC)/lib$(SOC).a
212 LIBS += cpu/ixp/npe/libnpe.a
214 LIBS += lib_$(ARCH)/lib$(ARCH).a
215 LIBS += fs/cramfs/libcramfs.a fs/fat/libfat.a fs/fdos/libfdos.a fs/jffs2/libjffs2.a \
216 fs/reiserfs/libreiserfs.a fs/ext2/libext2fs.a
218 LIBS += disk/libdisk.a
219 LIBS += drivers/bios_emulator/libatibiosemu.a
220 LIBS += drivers/block/libblock.a
221 LIBS += drivers/dma/libdma.a
222 LIBS += drivers/hwmon/libhwmon.a
223 LIBS += drivers/i2c/libi2c.a
224 LIBS += drivers/input/libinput.a
225 LIBS += drivers/misc/libmisc.a
226 LIBS += drivers/mtd/libmtd.a
227 LIBS += drivers/mtd/nand/libnand.a
228 LIBS += drivers/mtd/nand_legacy/libnand_legacy.a
229 LIBS += drivers/mtd/onenand/libonenand.a
230 LIBS += drivers/net/libnet.a
231 LIBS += drivers/net/sk98lin/libsk98lin.a
232 LIBS += drivers/pci/libpci.a
233 LIBS += drivers/pcmcia/libpcmcia.a
234 LIBS += drivers/spi/libspi.a
235 ifeq ($(CPU),mpc83xx)
236 LIBS += drivers/qe/qe.a
238 ifeq ($(CPU),mpc85xx)
239 LIBS += drivers/qe/qe.a
241 LIBS += drivers/rtc/librtc.a
242 LIBS += drivers/serial/libserial.a
243 LIBS += drivers/usb/libusb.a
244 LIBS += drivers/video/libvideo.a
245 LIBS += post/libpost.a post/drivers/libpostdrivers.a
246 LIBS += $(shell if [ -d post/lib_$(ARCH) ]; then echo \
247 "post/lib_$(ARCH)/libpost$(ARCH).a"; fi)
248 LIBS += $(shell if [ -d post/lib_$(ARCH)/fpu ]; then echo \
249 "post/lib_$(ARCH)/fpu/libpost$(ARCH)fpu.a"; fi)
250 LIBS += $(shell if [ -d post/cpu/$(CPU) ]; then echo \
251 "post/cpu/$(CPU)/libpost$(CPU).a"; fi)
252 LIBS += $(shell if [ -d post/board/$(BOARDDIR) ]; then echo \
253 "post/board/$(BOARDDIR)/libpost$(BOARD).a"; fi)
254 LIBS += common/libcommon.a
255 LIBS += libfdt/libfdt.a
256 ifeq ($(CONFIG_API),y)
260 LIBS := $(addprefix $(obj),$(LIBS))
264 PLATFORM_LIBS += -L $(shell dirname `$(CC) $(CFLAGS) -print-libgcc-file-name`) -lgcc
266 # The "tools" are needed early, so put this first
267 # Don't include stuff already done in $(LIBS)
271 ifeq ($(CONFIG_API),y)
272 SUBDIRS += api_examples
277 ifeq ($(CONFIG_NAND_U_BOOT),y)
279 U_BOOT_NAND = $(obj)u-boot-nand.bin
282 __OBJS := $(subst $(obj),,$(OBJS))
283 __LIBS := $(subst $(obj),,$(LIBS))
285 #########################################################################
286 #########################################################################
288 ALL += $(obj)u-boot.srec $(obj)u-boot.bin $(obj)System.map $(U_BOOT_NAND)
292 $(obj)u-boot.hex: $(obj)u-boot
293 $(OBJCOPY) ${OBJCFLAGS} -O ihex $< $@
295 $(obj)u-boot.srec: $(obj)u-boot
296 $(OBJCOPY) ${OBJCFLAGS} -O srec $< $@
298 $(obj)u-boot.bin: $(obj)u-boot
299 $(OBJCOPY) ${OBJCFLAGS} -O binary $< $@
301 $(obj)u-boot.img: $(obj)u-boot.bin
302 ./tools/mkimage -A $(ARCH) -T firmware -C none \
303 -a $(TEXT_BASE) -e 0 \
304 -n $(shell sed -n -e 's/.*U_BOOT_VERSION//p' $(VERSION_FILE) | \
305 sed -e 's/"[ ]*$$/ for $(BOARD) board"/') \
308 $(obj)u-boot.sha1: $(obj)u-boot.bin
309 $(obj)tools/ubsha1 $(obj)u-boot.bin
311 $(obj)u-boot.dis: $(obj)u-boot
312 $(OBJDUMP) -d $< > $@
314 $(obj)u-boot: depend $(SUBDIRS) $(OBJS) $(LIBS) $(LDSCRIPT)
315 UNDEF_SYM=`$(OBJDUMP) -x $(LIBS) |sed -n -e 's/.*\(__u_boot_cmd_.*\)/-u\1/p'|sort|uniq`;\
316 cd $(LNDIR) && $(LD) $(LDFLAGS) $$UNDEF_SYM $(__OBJS) \
317 --start-group $(__LIBS) --end-group $(PLATFORM_LIBS) \
318 -Map u-boot.map -o u-boot
320 $(OBJS): $(obj)include/autoconf.mk
321 $(MAKE) -C cpu/$(CPU) $(if $(REMOTE_BUILD),$@,$(notdir $@))
323 $(LIBS): $(obj)include/autoconf.mk
324 $(MAKE) -C $(dir $(subst $(obj),,$@))
326 $(SUBDIRS): $(obj)include/autoconf.mk
329 $(NAND_SPL): $(VERSION_FILE) $(obj)include/autoconf.mk
330 $(MAKE) -C nand_spl/board/$(BOARDDIR) all
332 $(U_BOOT_NAND): $(NAND_SPL) $(obj)u-boot.bin $(obj)include/autoconf.mk
333 cat $(obj)nand_spl/u-boot-spl-16k.bin $(obj)u-boot.bin > $(obj)u-boot-nand.bin
336 @( echo -n "#define U_BOOT_VERSION \"U-Boot " ; \
337 echo -n "$(U_BOOT_VERSION)" ; \
338 echo -n $(shell $(CONFIG_SHELL) $(TOPDIR)/tools/setlocalversion \
340 echo "\"" ) > $(VERSION_FILE)
343 $(MAKE) -C tools/gdb all || exit 1
346 $(MAKE) -C tools/updater all || exit 1
349 $(MAKE) -C tools/env all MTD_VERSION=${MTD_VERSION} || exit 1
351 depend dep: $(VERSION_FILE)
352 for dir in $(SUBDIRS) ; do $(MAKE) -C $$dir _depend ; done
354 TAG_SUBDIRS += include
355 TAG_SUBDIRS += lib_generic board/$(BOARDDIR)
356 TAG_SUBDIRS += cpu/$(CPU)
357 TAG_SUBDIRS += lib_$(ARCH)
358 TAG_SUBDIRS += fs/cramfs
359 TAG_SUBDIRS += fs/fat
360 TAG_SUBDIRS += fs/fdos
361 TAG_SUBDIRS += fs/jffs2
364 TAG_SUBDIRS += common
365 TAG_SUBDIRS += drivers/bios_emulator
366 TAG_SUBDIRS += drivers/block
367 TAG_SUBDIRS += drivers/hwmon
368 TAG_SUBDIRS += drivers/i2c
369 TAG_SUBDIRS += drivers/input
370 TAG_SUBDIRS += drivers/misc
371 TAG_SUBDIRS += drivers/mtd
372 TAG_SUBDIRS += drivers/mtd/nand
373 TAG_SUBDIRS += drivers/mtd/nand_legacy
374 TAG_SUBDIRS += drivers/mtd/onenand
375 TAG_SUBDIRS += drivers/net
376 TAG_SUBDIRS += drivers/net/sk98lin
377 TAG_SUBDIRS += drivers/pci
378 TAG_SUBDIRS += drivers/pcmcia
379 TAG_SUBDIRS += drivers/qe
380 TAG_SUBDIRS += drivers/rtc
381 TAG_SUBDIRS += drivers/serial
382 TAG_SUBDIRS += drivers/spi
383 TAG_SUBDIRS += drivers/usb
384 TAG_SUBDIRS += drivers/video
387 ctags -w -o $(obj)ctags `find $(SUBDIRS) $(TAG_SUBDIRS) \
388 -name '*.[ch]' -print`
391 etags -a -o $(obj)etags `find $(SUBDIRS) $(TAG_SUBDIRS) \
392 -name '*.[ch]' -print`
394 $(obj)System.map: $(obj)u-boot
396 grep -v '\(compiled\)\|\(\.o$$\)\|\( [aUw] \)\|\(\.\.ng$$\)\|\(LASH[RL]DI\)' | \
397 sort > $(obj)System.map
400 # Auto-generate the autoconf.mk file (which is included by all makefiles)
402 # This target actually generates 2 files; autoconf.mk and autoconf.mk.dep.
403 # the dep file is only include in this top level makefile to determine when
404 # to regenerate the autoconf.mk file.
405 $(obj)include/autoconf.mk: $(obj)include/config.h $(VERSION_FILE)
406 @$(XECHO) Generating include/autoconf.mk ; \
407 : Generate the dependancies ; \
408 $(CC) -M $(HOST_CFLAGS) $(CPPFLAGS) -MQ $@ include/common.h > $@.dep ; \
409 : Extract the config macros ; \
410 $(CPP) $(CFLAGS) -dM include/common.h | sed -n -f tools/scripts/define2mk.sed > $@
412 sinclude $(obj)include/autoconf.mk.dep
414 #########################################################################
416 all $(obj)u-boot.hex $(obj)u-boot.srec $(obj)u-boot.bin \
417 $(obj)u-boot.img $(obj)u-boot.dis $(obj)u-boot \
418 $(SUBDIRS) $(VERSION_FILE) gdbtools updater env depend \
419 dep tags ctags etags $(obj)System.map:
420 @echo "System not configured - see README" >&2
426 git log --no-merges U-Boot-1_1_5.. | \
427 unexpand -a | sed -e 's/\s\s*$$//' > $@
429 #########################################################################
432 @rm -f $(obj)include/config.h $(obj)include/config.mk \
433 $(obj)board/*/config.tmp $(obj)board/*/*/config.tmp \
434 $(obj)include/autoconf.mk $(obj)include/autoconf.mk.dep
436 #========================================================================
438 #========================================================================
440 #########################################################################
442 #########################################################################
444 canmb_config: unconfig
445 @$(MKCONFIG) -a canmb ppc mpc5xxx canmb
447 cmi_mpc5xx_config: unconfig
448 @$(MKCONFIG) $(@:_config=) ppc mpc5xx cmi
450 PATI_config: unconfig
451 @$(MKCONFIG) $(@:_config=) ppc mpc5xx pati mpl
453 #########################################################################
455 #########################################################################
458 @$(MKCONFIG) -a aev ppc mpc5xxx tqm5200
460 BC3450_config: unconfig
461 @$(MKCONFIG) -a BC3450 ppc mpc5xxx bc3450
463 cpci5200_config: unconfig
464 @$(MKCONFIG) -a cpci5200 ppc mpc5xxx cpci5200 esd
466 hmi1001_config: unconfig
467 @$(MKCONFIG) hmi1001 ppc mpc5xxx hmi1001
470 Lite5200_LOWBOOT_config \
471 Lite5200_LOWBOOT08_config \
472 icecube_5200_config \
473 icecube_5200_LOWBOOT_config \
474 icecube_5200_LOWBOOT08_config \
475 icecube_5200_DDR_config \
476 icecube_5200_DDR_LOWBOOT_config \
477 icecube_5200_DDR_LOWBOOT08_config \
478 icecube_5100_config: unconfig
479 @mkdir -p $(obj)include
480 @mkdir -p $(obj)board/icecube
481 @ >$(obj)include/config.h
482 @[ -z "$(findstring LOWBOOT_,$@)" ] || \
483 { if [ "$(findstring DDR,$@)" ] ; \
484 then echo "TEXT_BASE = 0xFF800000" >$(obj)board/icecube/config.tmp ; \
485 else echo "TEXT_BASE = 0xFF000000" >$(obj)board/icecube/config.tmp ; \
487 $(XECHO) "... with LOWBOOT configuration" ; \
489 @[ -z "$(findstring LOWBOOT08,$@)" ] || \
490 { echo "TEXT_BASE = 0xFF800000" >$(obj)board/icecube/config.tmp ; \
491 echo "... with 8 MB flash only" ; \
492 $(XECHO) "... with LOWBOOT configuration" ; \
494 @[ -z "$(findstring DDR,$@)" ] || \
495 { echo "#define CONFIG_MPC5200_DDR" >>$(obj)include/config.h ; \
496 $(XECHO) "... DDR memory revision" ; \
498 @[ -z "$(findstring 5200,$@)" ] || \
499 { echo "#define CONFIG_MPC5200" >>$(obj)include/config.h ; \
500 $(XECHO) "... with MPC5200 processor" ; \
502 @[ -z "$(findstring 5100,$@)" ] || \
503 { echo "#define CONFIG_MGT5100" >>$(obj)include/config.h ; \
504 $(XECHO) "... with MGT5100 processor" ; \
506 @$(MKCONFIG) -a IceCube ppc mpc5xxx icecube
508 jupiter_config: unconfig
509 @$(MKCONFIG) jupiter ppc mpc5xxx jupiter
511 v38b_config: unconfig
512 @$(MKCONFIG) -a v38b ppc mpc5xxx v38b
514 inka4x0_config: unconfig
515 @$(MKCONFIG) inka4x0 ppc mpc5xxx inka4x0
518 lite5200b_PM_config \
519 lite5200b_LOWBOOT_config: unconfig
520 @mkdir -p $(obj)include
521 @mkdir -p $(obj)board/icecube
522 @ >$(obj)include/config.h
523 @ echo "#define CONFIG_MPC5200_DDR" >>$(obj)include/config.h
524 @ $(XECHO) "... DDR memory revision"
525 @ echo "#define CONFIG_MPC5200" >>$(obj)include/config.h
526 @ echo "#define CONFIG_LITE5200B" >>$(obj)include/config.h
527 @[ -z "$(findstring _PM_,$@)" ] || \
528 { echo "#define CONFIG_LITE5200B_PM" >>$(obj)include/config.h ; \
529 $(XECHO) "... with power management (low-power mode) support" ; \
531 @[ -z "$(findstring LOWBOOT_,$@)" ] || \
532 { echo "TEXT_BASE = 0xFF000000" >$(obj)board/icecube/config.tmp ; \
533 $(XECHO) "... with LOWBOOT configuration" ; \
535 @ $(XECHO) "... with MPC5200B processor"
536 @$(MKCONFIG) -a IceCube ppc mpc5xxx icecube
539 mcc200_SDRAM_config \
540 mcc200_highboot_config \
541 mcc200_COM12_config \
542 mcc200_COM12_SDRAM_config \
543 mcc200_COM12_highboot_config \
544 mcc200_COM12_highboot_SDRAM_config \
545 mcc200_highboot_SDRAM_config \
548 prs200_highboot_config \
549 prs200_highboot_DDR_config: unconfig
550 @mkdir -p $(obj)include
551 @mkdir -p $(obj)board/mcc200
552 @ >$(obj)include/config.h
553 @[ -n "$(findstring highboot,$@)" ] || \
554 { $(XECHO) "... with lowboot configuration" ; \
556 @[ -z "$(findstring highboot,$@)" ] || \
557 { echo "TEXT_BASE = 0xFFF00000" >$(obj)board/mcc200/config.tmp ; \
558 $(XECHO) "... with highboot configuration" ; \
560 @[ -n "$(findstring _SDRAM,$@)" ] || \
561 { if [ -n "$(findstring mcc200,$@)" ]; \
563 $(XECHO) "... with DDR" ; \
565 if [ -n "$(findstring _DDR,$@)" ];\
567 $(XECHO) "... with DDR" ; \
569 echo "#define CONFIG_MCC200_SDRAM" >>$(obj)include/config.h ;\
570 $(XECHO) "... with SDRAM" ; \
574 @[ -z "$(findstring _SDRAM,$@)" ] || \
575 { echo "#define CONFIG_MCC200_SDRAM" >>$(obj)include/config.h ; \
576 $(XECHO) "... with SDRAM" ; \
578 @[ -z "$(findstring COM12,$@)" ] || \
579 { echo "#define CONFIG_CONSOLE_COM12" >>$(obj)include/config.h ; \
580 $(XECHO) "... with console on COM12" ; \
582 @[ -z "$(findstring prs200,$@)" ] || \
583 { echo "#define CONFIG_PRS200" >>$(obj)include/config.h ;\
585 @$(MKCONFIG) -n $@ -a mcc200 ppc mpc5xxx mcc200
587 mecp5200_config: unconfig
588 @$(MKCONFIG) mecp5200 ppc mpc5xxx mecp5200 esd
590 munices_config: unconfig
591 @$(MKCONFIG) munices ppc mpc5xxx munices
594 @$(MKCONFIG) o2dnt ppc mpc5xxx o2dnt
596 pf5200_config: unconfig
597 @$(MKCONFIG) pf5200 ppc mpc5xxx pf5200 esd
601 PM520_ROMBOOT_config \
602 PM520_ROMBOOT_DDR_config: unconfig
603 @mkdir -p $(obj)include
604 @ >$(obj)include/config.h
605 @[ -z "$(findstring DDR,$@)" ] || \
606 { echo "#define CONFIG_MPC5200_DDR" >>$(obj)include/config.h ; \
607 $(XECHO) "... DDR memory revision" ; \
609 @[ -z "$(findstring ROMBOOT,$@)" ] || \
610 { echo "#define CONFIG_BOOT_ROM" >>$(obj)include/config.h ; \
611 $(XECHO) "... booting from 8-bit flash" ; \
613 @$(MKCONFIG) -a PM520 ppc mpc5xxx pm520
615 smmaco4_config: unconfig
616 @$(MKCONFIG) -a smmaco4 ppc mpc5xxx tqm5200
618 cm5200_config: unconfig
619 @./mkconfig -a cm5200 ppc mpc5xxx cm5200
621 spieval_config: unconfig
622 @$(MKCONFIG) -a spieval ppc mpc5xxx tqm5200
625 TB5200_config: unconfig
626 @mkdir -p $(obj)include
627 @[ -z "$(findstring _B,$@)" ] || \
628 { echo "#define CONFIG_TQM5200_B" >>$(obj)include/config.h ; \
629 $(XECHO) "... with MPC5200B processor" ; \
631 @$(MKCONFIG) -n $@ -a TB5200 ppc mpc5xxx tqm5200
635 TOP5200_config: unconfig
636 @mkdir -p $(obj)include
637 @ echo "#define CONFIG_$(@:_config=) 1" >$(obj)include/config.h
638 @$(MKCONFIG) -n $@ -a TOP5200 ppc mpc5xxx top5200 emk
642 Total5200_lowboot_config \
643 Total5200_Rev2_config \
644 Total5200_Rev2_lowboot_config: unconfig
645 @mkdir -p $(obj)include
646 @mkdir -p $(obj)board/total5200
647 @ >$(obj)include/config.h
648 @[ -z "$(findstring 5100,$@)" ] || \
649 { echo "#define CONFIG_MGT5100" >>$(obj)include/config.h ; \
650 $(XECHO) "... with MGT5100 processor" ; \
652 @[ -z "$(findstring 5200,$@)" ] || \
653 { echo "#define CONFIG_MPC5200" >>$(obj)include/config.h ; \
654 $(XECHO) "... with MPC5200 processor" ; \
656 @[ -n "$(findstring Rev,$@)" ] || \
657 { echo "#define CONFIG_TOTAL5200_REV 1" >>$(obj)include/config.h ; \
658 $(XECHO) "... revision 1 board" ; \
660 @[ -z "$(findstring Rev2_,$@)" ] || \
661 { echo "#define CONFIG_TOTAL5200_REV 2" >>$(obj)include/config.h ; \
662 $(XECHO) "... revision 2 board" ; \
664 @[ -z "$(findstring lowboot_,$@)" ] || \
665 { echo "TEXT_BASE = 0xFE000000" >$(obj)board/total5200/config.tmp ; \
666 $(XECHO) "... with lowboot configuration" ; \
668 @$(MKCONFIG) -a Total5200 ppc mpc5xxx total5200
671 cam5200_niosflash_config \
675 TQM5200S_HIGHBOOT_config \
677 TQM5200_B_HIGHBOOT_config \
679 TQM5200_STK100_config: unconfig
680 @mkdir -p $(obj)include
681 @mkdir -p $(obj)board/tqm5200
682 @ >$(obj)include/config.h
683 @[ -z "$(findstring cam5200,$@)" ] || \
684 { echo "#define CONFIG_CAM5200" >>$(obj)include/config.h ; \
685 echo "#define CONFIG_TQM5200S" >>$(obj)include/config.h ; \
686 echo "#define CONFIG_TQM5200_B" >>$(obj)include/config.h ; \
687 $(XECHO) "... TQM5200S on Cam5200" ; \
689 @[ -z "$(findstring niosflash,$@)" ] || \
690 { echo "#define CONFIG_CAM5200_NIOSFLASH" >>$(obj)include/config.h ; \
691 $(XECHO) "... with NIOS flash driver" ; \
693 @[ -z "$(findstring fo300,$@)" ] || \
694 { echo "#define CONFIG_FO300" >>$(obj)include/config.h ; \
695 $(XECHO) "... TQM5200 on FO300" ; \
697 @[ -z "$(findstring MiniFAP,$@)" ] || \
698 { echo "#define CONFIG_MINIFAP" >>$(obj)include/config.h ; \
699 $(XECHO) "... TQM5200_AC on MiniFAP" ; \
701 @[ -z "$(findstring STK100,$@)" ] || \
702 { echo "#define CONFIG_STK52XX_REV100" >>$(obj)include/config.h ; \
703 $(XECHO) "... on a STK52XX.100 base board" ; \
705 @[ -z "$(findstring TQM5200_B,$@)" ] || \
706 { echo "#define CONFIG_TQM5200_B" >>$(obj)include/config.h ; \
708 @[ -z "$(findstring TQM5200S,$@)" ] || \
709 { echo "#define CONFIG_TQM5200S" >>$(obj)include/config.h ; \
710 echo "#define CONFIG_TQM5200_B" >>$(obj)include/config.h ; \
712 @[ -z "$(findstring HIGHBOOT,$@)" ] || \
713 { echo "TEXT_BASE = 0xFFF00000" >$(obj)board/tqm5200/config.tmp ; \
715 @$(MKCONFIG) -n $@ -a TQM5200 ppc mpc5xxx tqm5200
716 uc101_config: unconfig
717 @$(MKCONFIG) uc101 ppc mpc5xxx uc101
718 motionpro_config: unconfig
719 @$(MKCONFIG) motionpro ppc mpc5xxx motionpro
722 #########################################################################
724 #########################################################################
725 ads5121_config: unconfig
726 @$(MKCONFIG) ads5121 ppc mpc512x ads5121
729 #########################################################################
731 #########################################################################
737 @mkdir -p $(obj)include
738 $(if $(findstring AdderII,$@), \
739 @echo "#define CONFIG_MPC852T" > $(obj)include/config.h)
740 @$(MKCONFIG) -a Adder ppc mpc8xx adder
742 AdderUSB_config: unconfig
743 @./mkconfig -a AdderUSB ppc mpc8xx adder
750 FADS860T_config: unconfig
751 @$(MKCONFIG) $(@:_config=) ppc mpc8xx fads
753 AMX860_config : unconfig
754 @$(MKCONFIG) $(@:_config=) ppc mpc8xx amx860 westel
756 c2mon_config: unconfig
757 @$(MKCONFIG) $(@:_config=) ppc mpc8xx c2mon
760 @$(MKCONFIG) $(@:_config=) ppc mpc8xx CCM siemens
762 cogent_mpc8xx_config: unconfig
763 @$(MKCONFIG) $(@:_config=) ppc mpc8xx cogent
765 ELPT860_config: unconfig
766 @$(MKCONFIG) $(@:_config=) ppc mpc8xx elpt860 LEOX
768 EP88x_config: unconfig
769 @$(MKCONFIG) $(@:_config=) ppc mpc8xx ep88x
771 ESTEEM192E_config: unconfig
772 @$(MKCONFIG) $(@:_config=) ppc mpc8xx esteem192e
774 ETX094_config : unconfig
775 @$(MKCONFIG) $(@:_config=) ppc mpc8xx etx094
777 FLAGADM_config: unconfig
778 @$(MKCONFIG) $(@:_config=) ppc mpc8xx flagadm
780 xtract_GEN860T = $(subst _SC,,$(subst _config,,$1))
783 GEN860T_config: unconfig
784 @mkdir -p $(obj)include
785 @ >$(obj)include/config.h
786 @[ -z "$(findstring _SC,$@)" ] || \
787 { echo "#define CONFIG_SC" >>$(obj)include/config.h ; \
788 $(XECHO) "With reduced H/W feature set (SC)..." ; \
790 @$(MKCONFIG) -a $(call xtract_GEN860T,$@) ppc mpc8xx gen860t
792 GENIETV_config: unconfig
793 @$(MKCONFIG) $(@:_config=) ppc mpc8xx genietv
796 @$(MKCONFIG) $(@:_config=) ppc mpc8xx gth
798 hermes_config : unconfig
799 @$(MKCONFIG) $(@:_config=) ppc mpc8xx hermes
801 HMI10_config : unconfig
802 @$(MKCONFIG) $(@:_config=) ppc mpc8xx tqm8xx
804 IAD210_config: unconfig
805 @$(MKCONFIG) $(@:_config=) ppc mpc8xx IAD210 siemens
807 xtract_ICU862 = $(subst _100MHz,,$(subst _config,,$1))
809 ICU862_100MHz_config \
810 ICU862_config: unconfig
811 @mkdir -p $(obj)include
812 @ >$(obj)include/config.h
813 @[ -z "$(findstring _100MHz,$@)" ] || \
814 { echo "#define CONFIG_100MHz" >>$(obj)include/config.h ; \
815 $(XECHO) "... with 100MHz system clock" ; \
817 @$(MKCONFIG) -a $(call xtract_ICU862,$@) ppc mpc8xx icu862
819 IP860_config : unconfig
820 @$(MKCONFIG) $(@:_config=) ppc mpc8xx ip860
824 IVML24_config: unconfig
825 @mkdir -p $(obj)include
826 @ >$(obj)include/config.h
827 @[ -z "$(findstring IVML24_config,$@)" ] || \
828 { echo "#define CONFIG_IVML24_16M" >>$(obj)include/config.h ; \
830 @[ -z "$(findstring IVML24_128_config,$@)" ] || \
831 { echo "#define CONFIG_IVML24_32M" >>$(obj)include/config.h ; \
833 @[ -z "$(findstring IVML24_256_config,$@)" ] || \
834 { echo "#define CONFIG_IVML24_64M" >>$(obj)include/config.h ; \
836 @$(MKCONFIG) -a IVML24 ppc mpc8xx ivm
840 IVMS8_config: unconfig
841 @mkdir -p $(obj)include
842 @ >$(obj)include/config.h
843 @[ -z "$(findstring IVMS8_config,$@)" ] || \
844 { echo "#define CONFIG_IVMS8_16M" >>$(obj)include/config.h ; \
846 @[ -z "$(findstring IVMS8_128_config,$@)" ] || \
847 { echo "#define CONFIG_IVMS8_32M" >>$(obj)include/config.h ; \
849 @[ -z "$(findstring IVMS8_256_config,$@)" ] || \
850 { echo "#define CONFIG_IVMS8_64M" >>$(obj)include/config.h ; \
852 @$(MKCONFIG) -a IVMS8 ppc mpc8xx ivm
854 KUP4K_config : unconfig
855 @$(MKCONFIG) $(@:_config=) ppc mpc8xx kup4k kup
857 KUP4X_config : unconfig
858 @$(MKCONFIG) $(@:_config=) ppc mpc8xx kup4x kup
860 LANTEC_config : unconfig
861 @$(MKCONFIG) $(@:_config=) ppc mpc8xx lantec
863 lwmon_config: unconfig
864 @$(MKCONFIG) $(@:_config=) ppc mpc8xx lwmon
867 MBX860T_config: unconfig
868 @$(MKCONFIG) $(@:_config=) ppc mpc8xx mbx8xx
870 mgsuvd_config: unconfig
871 @$(MKCONFIG) $(@:_config=) ppc mpc8xx mgsuvd
873 MHPC_config: unconfig
874 @$(MKCONFIG) $(@:_config=) ppc mpc8xx mhpc eltec
876 MVS1_config : unconfig
877 @$(MKCONFIG) $(@:_config=) ppc mpc8xx mvs1
879 xtract_NETVIA = $(subst _V2,,$(subst _config,,$1))
882 NETVIA_config: unconfig
883 @mkdir -p $(obj)include
884 @ >$(obj)include/config.h
885 @[ -z "$(findstring NETVIA_config,$@)" ] || \
886 { echo "#define CONFIG_NETVIA_VERSION 1" >>$(obj)include/config.h ; \
887 $(XECHO) "... Version 1" ; \
889 @[ -z "$(findstring NETVIA_V2_config,$@)" ] || \
890 { echo "#define CONFIG_NETVIA_VERSION 2" >>$(obj)include/config.h ; \
891 $(XECHO) "... Version 2" ; \
893 @$(MKCONFIG) -a $(call xtract_NETVIA,$@) ppc mpc8xx netvia
895 xtract_NETPHONE = $(subst _V2,,$(subst _config,,$1))
898 NETPHONE_config: unconfig
899 @mkdir -p $(obj)include
900 @ >$(obj)include/config.h
901 @[ -z "$(findstring NETPHONE_config,$@)" ] || \
902 { echo "#define CONFIG_NETPHONE_VERSION 1" >>$(obj)include/config.h ; \
904 @[ -z "$(findstring NETPHONE_V2_config,$@)" ] || \
905 { echo "#define CONFIG_NETPHONE_VERSION 2" >>$(obj)include/config.h ; \
907 @$(MKCONFIG) -a $(call xtract_NETPHONE,$@) ppc mpc8xx netphone
909 xtract_NETTA = $(subst _SWAPHOOK,,$(subst _6412,,$(subst _ISDN,,$(subst _config,,$1))))
911 NETTA_ISDN_6412_SWAPHOOK_config \
912 NETTA_ISDN_SWAPHOOK_config \
913 NETTA_6412_SWAPHOOK_config \
914 NETTA_SWAPHOOK_config \
915 NETTA_ISDN_6412_config \
918 NETTA_config: unconfig
919 @mkdir -p $(obj)include
920 @ >$(obj)include/config.h
921 @[ -z "$(findstring ISDN_,$@)" ] || \
922 { echo "#define CONFIG_NETTA_ISDN 1" >>$(obj)include/config.h ; \
924 @[ -n "$(findstring ISDN_,$@)" ] || \
925 { echo "#undef CONFIG_NETTA_ISDN" >>$(obj)include/config.h ; \
927 @[ -z "$(findstring 6412_,$@)" ] || \
928 { echo "#define CONFIG_NETTA_6412 1" >>$(obj)include/config.h ; \
930 @[ -n "$(findstring 6412_,$@)" ] || \
931 { echo "#undef CONFIG_NETTA_6412" >>$(obj)include/config.h ; \
933 @[ -z "$(findstring SWAPHOOK_,$@)" ] || \
934 { echo "#define CONFIG_NETTA_SWAPHOOK 1" >>$(obj)include/config.h ; \
936 @[ -n "$(findstring SWAPHOOK_,$@)" ] || \
937 { echo "#undef CONFIG_NETTA_SWAPHOOK" >>$(obj)include/config.h ; \
939 @$(MKCONFIG) -a $(call xtract_NETTA,$@) ppc mpc8xx netta
941 xtract_NETTA2 = $(subst _V2,,$(subst _config,,$1))
944 NETTA2_config: unconfig
945 @mkdir -p $(obj)include
946 @ >$(obj)include/config.h
947 @[ -z "$(findstring NETTA2_config,$@)" ] || \
948 { echo "#define CONFIG_NETTA2_VERSION 1" >>$(obj)include/config.h ; \
950 @[ -z "$(findstring NETTA2_V2_config,$@)" ] || \
951 { echo "#define CONFIG_NETTA2_VERSION 2" >>$(obj)include/config.h ; \
953 @$(MKCONFIG) -a $(call xtract_NETTA2,$@) ppc mpc8xx netta2
957 CP850_config: unconfig
958 @mkdir -p $(obj)include
959 @ >$(obj)include/config.h
960 @[ -z "$(findstring CP850,$@)" ] || \
961 { echo "#define CONFIG_CP850 1" >>$(obj)include/config.h ; \
962 echo "#define CONFIG_IDS852_REV2 1" >>$(obj)include/config.h ; \
964 @[ -z "$(findstring Rev1,$@)" ] || \
965 { echo "#define CONFIG_IDS852_REV1 1" >>$(obj)include/config.h ; \
967 @[ -z "$(findstring Rev2,$@)" ] || \
968 { echo "#define CONFIG_IDS852_REV2 1" >>$(obj)include/config.h ; \
970 @$(MKCONFIG) -a NC650 ppc mpc8xx nc650
972 NX823_config: unconfig
973 @$(MKCONFIG) $(@:_config=) ppc mpc8xx nx823
975 pcu_e_config: unconfig
976 @$(MKCONFIG) $(@:_config=) ppc mpc8xx pcu_e siemens
978 QS850_config: unconfig
979 @$(MKCONFIG) $(@:_config=) ppc mpc8xx qs850 snmc
981 QS823_config: unconfig
982 @$(MKCONFIG) $(@:_config=) ppc mpc8xx qs850 snmc
984 QS860T_config: unconfig
985 @$(MKCONFIG) $(@:_config=) ppc mpc8xx qs860t snmc
987 quantum_config: unconfig
988 @$(MKCONFIG) $(@:_config=) ppc mpc8xx quantum
990 R360MPI_config: unconfig
991 @$(MKCONFIG) $(@:_config=) ppc mpc8xx r360mpi
993 RBC823_config: unconfig
994 @$(MKCONFIG) $(@:_config=) ppc mpc8xx rbc823
996 RPXClassic_config: unconfig
997 @$(MKCONFIG) $(@:_config=) ppc mpc8xx RPXClassic
999 RPXlite_config: unconfig
1000 @$(MKCONFIG) $(@:_config=) ppc mpc8xx RPXlite
1002 RPXlite_DW_64_config \
1003 RPXlite_DW_LCD_config \
1004 RPXlite_DW_64_LCD_config \
1005 RPXlite_DW_NVRAM_config \
1006 RPXlite_DW_NVRAM_64_config \
1007 RPXlite_DW_NVRAM_LCD_config \
1008 RPXlite_DW_NVRAM_64_LCD_config \
1009 RPXlite_DW_config: unconfig
1010 @mkdir -p $(obj)include
1011 @ >$(obj)include/config.h
1012 @[ -z "$(findstring _64,$@)" ] || \
1013 { echo "#define RPXlite_64MHz" >>$(obj)include/config.h ; \
1014 $(XECHO) "... with 64MHz system clock ..."; \
1016 @[ -z "$(findstring _LCD,$@)" ] || \
1017 { echo "#define CONFIG_LCD" >>$(obj)include/config.h ; \
1018 echo "#define CONFIG_NEC_NL6448BC20" >>$(obj)include/config.h ; \
1019 $(XECHO) "... with LCD display ..."; \
1021 @[ -z "$(findstring _NVRAM,$@)" ] || \
1022 { echo "#define CFG_ENV_IS_IN_NVRAM" >>$(obj)include/config.h ; \
1023 $(XECHO) "... with ENV in NVRAM ..."; \
1025 @$(MKCONFIG) -a RPXlite_DW ppc mpc8xx RPXlite_dw
1027 rmu_config: unconfig
1028 @$(MKCONFIG) $(@:_config=) ppc mpc8xx rmu
1030 RRvision_config: unconfig
1031 @$(MKCONFIG) $(@:_config=) ppc mpc8xx RRvision
1033 RRvision_LCD_config: unconfig
1034 @mkdir -p $(obj)include
1035 @echo "#define CONFIG_LCD" >$(obj)include/config.h
1036 @echo "#define CONFIG_SHARP_LQ104V7DS01" >>$(obj)include/config.h
1037 @$(MKCONFIG) -a RRvision ppc mpc8xx RRvision
1039 SM850_config : unconfig
1040 @$(MKCONFIG) $(@:_config=) ppc mpc8xx tqm8xx
1043 @$(MKCONFIG) $(@:_config=) ppc mpc8xx spc1920
1045 SPD823TS_config: unconfig
1046 @$(MKCONFIG) $(@:_config=) ppc mpc8xx spd8xx
1048 stxxtc_config: unconfig
1049 @$(MKCONFIG) $(@:_config=) ppc mpc8xx stxxtc
1051 svm_sc8xx_config: unconfig
1052 @$(MKCONFIG) $(@:_config=) ppc mpc8xx svm_sc8xx
1054 SXNI855T_config: unconfig
1055 @$(MKCONFIG) $(@:_config=) ppc mpc8xx sixnet
1057 # EMK MPC8xx based modules
1058 TOP860_config: unconfig
1059 @$(MKCONFIG) $(@:_config=) ppc mpc8xx top860 emk
1061 # Play some tricks for configuration selection
1062 # Only 855 and 860 boards may come with FEC
1063 # and only 823 boards may have LCD support
1064 xtract_8xx = $(subst _LCD,,$(subst _config,,$1))
1070 TQM823L_LCD_config \
1083 virtlab2_config: unconfig
1084 @mkdir -p $(obj)include
1085 @ >$(obj)include/config.h
1086 @[ -z "$(findstring _LCD,$@)" ] || \
1087 { echo "#define CONFIG_LCD" >>$(obj)include/config.h ; \
1088 echo "#define CONFIG_NEC_NL6448BC20" >>$(obj)include/config.h ; \
1089 $(XECHO) "... with LCD display" ; \
1091 @$(MKCONFIG) -a $(call xtract_8xx,$@) ppc mpc8xx tqm8xx
1093 TTTech_config: unconfig
1094 @mkdir -p $(obj)include
1095 @echo "#define CONFIG_LCD" >$(obj)include/config.h
1096 @echo "#define CONFIG_SHARP_LQ104V7DS01" >>$(obj)include/config.h
1097 @$(MKCONFIG) -a TQM823L ppc mpc8xx tqm8xx
1099 uc100_config : unconfig
1100 @$(MKCONFIG) $(@:_config=) ppc mpc8xx uc100
1102 v37_config: unconfig
1103 @mkdir -p $(obj)include
1104 @echo "#define CONFIG_LCD" >$(obj)include/config.h
1105 @echo "#define CONFIG_SHARP_LQ084V1DG21" >>$(obj)include/config.h
1106 @$(MKCONFIG) $(@:_config=) ppc mpc8xx v37
1108 wtk_config: unconfig
1109 @mkdir -p $(obj)include
1110 @echo "#define CONFIG_LCD" >$(obj)include/config.h
1111 @echo "#define CONFIG_SHARP_LQ065T9DR51U" >>$(obj)include/config.h
1112 @$(MKCONFIG) -a TQM823L ppc mpc8xx tqm8xx
1114 #########################################################################
1116 #########################################################################
1117 xtract_4xx = $(subst _25,,$(subst _33,,$(subst _BA,,$(subst _ME,,$(subst _HI,,$(subst _config,,$1))))))
1119 acadia_config: unconfig
1120 @$(MKCONFIG) $(@:_config=) ppc ppc4xx acadia amcc
1122 acadia_nand_config: unconfig
1123 @mkdir -p $(obj)include $(obj)board/amcc/acadia
1124 @mkdir -p $(obj)nand_spl/board/amcc/acadia
1125 @echo "#define CONFIG_NAND_U_BOOT" > $(obj)include/config.h
1126 @$(MKCONFIG) -n $@ -a acadia ppc ppc4xx acadia amcc
1127 @echo "TEXT_BASE = 0x01000000" > $(obj)board/amcc/acadia/config.tmp
1128 @echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk
1130 ADCIOP_config: unconfig
1131 @$(MKCONFIG) $(@:_config=) ppc ppc4xx adciop esd
1133 alpr_config: unconfig
1134 @$(MKCONFIG) $(@:_config=) ppc ppc4xx alpr prodrive
1136 AP1000_config:unconfig
1137 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ap1000 amirix
1139 APC405_config: unconfig
1140 @$(MKCONFIG) $(@:_config=) ppc ppc4xx apc405 esd
1142 AR405_config: unconfig
1143 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ar405 esd
1145 ASH405_config: unconfig
1146 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ash405 esd
1148 bamboo_config: unconfig
1149 @$(MKCONFIG) $(@:_config=) ppc ppc4xx bamboo amcc
1151 bamboo_nand_config: unconfig
1152 @mkdir -p $(obj)include $(obj)board/amcc/bamboo
1153 @mkdir -p $(obj)nand_spl/board/amcc/bamboo
1154 @echo "#define CONFIG_NAND_U_BOOT" > $(obj)include/config.h
1155 @$(MKCONFIG) -n $@ -a bamboo ppc ppc4xx bamboo amcc
1156 @echo "TEXT_BASE = 0x01000000" > $(obj)board/amcc/bamboo/config.tmp
1157 @echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk
1159 bubinga_config: unconfig
1160 @$(MKCONFIG) $(@:_config=) ppc ppc4xx bubinga amcc
1162 CANBT_config: unconfig
1163 @$(MKCONFIG) $(@:_config=) ppc ppc4xx canbt esd
1166 CATcenter_25_config \
1167 CATcenter_33_config: unconfig
1168 @mkdir -p $(obj)include
1169 @ echo "/* CATcenter uses PPChameleon Model ME */" > $(obj)include/config.h
1170 @ echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 1" >> $(obj)include/config.h
1171 @[ -z "$(findstring _25,$@)" ] || \
1172 { echo "#define CONFIG_PPCHAMELEON_CLK_25" >> $(obj)include/config.h ; \
1173 $(XECHO) "SysClk = 25MHz" ; \
1175 @[ -z "$(findstring _33,$@)" ] || \
1176 { echo "#define CONFIG_PPCHAMELEON_CLK_33" >> $(obj)include/config.h ; \
1177 $(XECHO) "SysClk = 33MHz" ; \
1179 @$(MKCONFIG) -a $(call xtract_4xx,$@) ppc ppc4xx PPChameleonEVB dave
1181 CPCI2DP_config: unconfig
1182 @$(MKCONFIG) $(@:_config=) ppc ppc4xx cpci2dp esd
1187 CPCI405AB_config: unconfig
1188 @$(MKCONFIG) $(@:_config=) ppc ppc4xx cpci405 esd
1189 @echo "BOARD_REVISION = $(@:_config=)" >> $(obj)include/config.mk
1191 CPCIISER4_config: unconfig
1192 @$(MKCONFIG) $(@:_config=) ppc ppc4xx cpciiser4 esd
1194 CRAYL1_config: unconfig
1195 @$(MKCONFIG) $(@:_config=) ppc ppc4xx L1 cray
1197 csb272_config: unconfig
1198 @$(MKCONFIG) $(@:_config=) ppc ppc4xx csb272
1200 csb472_config: unconfig
1201 @$(MKCONFIG) $(@:_config=) ppc ppc4xx csb472
1203 DASA_SIM_config: unconfig
1204 @$(MKCONFIG) $(@:_config=) ppc ppc4xx dasa_sim esd
1206 DP405_config: unconfig
1207 @$(MKCONFIG) $(@:_config=) ppc ppc4xx dp405 esd
1209 DU405_config: unconfig
1210 @$(MKCONFIG) $(@:_config=) ppc ppc4xx du405 esd
1212 DU440_config: unconfig
1213 @$(MKCONFIG) $(@:_config=) ppc ppc4xx du440 esd
1215 ebony_config: unconfig
1216 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ebony amcc
1218 ERIC_config: unconfig
1219 @$(MKCONFIG) $(@:_config=) ppc ppc4xx eric
1221 EXBITGEN_config: unconfig
1222 @$(MKCONFIG) $(@:_config=) ppc ppc4xx exbitgen
1224 G2000_config: unconfig
1225 @$(MKCONFIG) $(@:_config=) ppc ppc4xx g2000
1227 hcu4_config: unconfig
1228 @$(MKCONFIG) $(@:_config=) ppc ppc4xx hcu4 netstal
1230 hcu5_config: unconfig
1231 @$(MKCONFIG) $(@:_config=) ppc ppc4xx hcu5 netstal
1233 HH405_config: unconfig
1234 @$(MKCONFIG) $(@:_config=) ppc ppc4xx hh405 esd
1236 HUB405_config: unconfig
1237 @$(MKCONFIG) $(@:_config=) ppc ppc4xx hub405 esd
1239 JSE_config: unconfig
1240 @$(MKCONFIG) $(@:_config=) ppc ppc4xx jse
1242 KAREF_config: unconfig
1243 @$(MKCONFIG) $(@:_config=) ppc ppc4xx karef sandburst
1245 katmai_config: unconfig
1246 @$(MKCONFIG) $(@:_config=) ppc ppc4xx katmai amcc
1248 # Kilauea & Haleakala images are identical (recognized via PVR)
1250 haleakala_config: unconfig
1251 @$(MKCONFIG) -n $@ -a kilauea ppc ppc4xx kilauea amcc
1253 kilauea_nand_config \
1254 haleakala_nand_config: unconfig
1255 @mkdir -p $(obj)include $(obj)board/amcc/kilauea
1256 @mkdir -p $(obj)nand_spl/board/amcc/kilauea
1257 @echo "#define CONFIG_NAND_U_BOOT" > $(obj)include/config.h
1258 @$(MKCONFIG) -n $@ -a kilauea ppc ppc4xx kilauea amcc
1259 @echo "TEXT_BASE = 0x01000000" > $(obj)board/amcc/kilauea/config.tmp
1260 @echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk
1262 korat_config: unconfig
1263 @$(MKCONFIG) $(@:_config=) ppc ppc4xx korat
1265 luan_config: unconfig
1266 @$(MKCONFIG) $(@:_config=) ppc ppc4xx luan amcc
1268 lwmon5_config: unconfig
1269 @$(MKCONFIG) $(@:_config=) ppc ppc4xx lwmon5
1271 makalu_config: unconfig
1272 @$(MKCONFIG) $(@:_config=) ppc ppc4xx makalu amcc
1274 METROBOX_config: unconfig
1275 @$(MKCONFIG) $(@:_config=) ppc ppc4xx metrobox sandburst
1277 MIP405_config: unconfig
1278 @$(MKCONFIG) $(@:_config=) ppc ppc4xx mip405 mpl
1280 MIP405T_config: unconfig
1281 @mkdir -p $(obj)include
1282 @echo "#define CONFIG_MIP405T" >$(obj)include/config.h
1283 @$(XECHO) "Enable subset config for MIP405T"
1284 @$(MKCONFIG) -a MIP405 ppc ppc4xx mip405 mpl
1286 ML2_config: unconfig
1287 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ml2
1289 ml300_config: unconfig
1290 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ml300 xilinx
1292 ocotea_config: unconfig
1293 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ocotea amcc
1296 ORSG_config: unconfig
1297 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ocrtc esd
1299 p3p440_config: unconfig
1300 @$(MKCONFIG) $(@:_config=) ppc ppc4xx p3p440 prodrive
1302 PCI405_config: unconfig
1303 @$(MKCONFIG) $(@:_config=) ppc ppc4xx pci405 esd
1305 pcs440ep_config: unconfig
1306 @$(MKCONFIG) $(@:_config=) ppc ppc4xx pcs440ep
1308 PIP405_config: unconfig
1309 @$(MKCONFIG) $(@:_config=) ppc ppc4xx pip405 mpl
1311 PLU405_config: unconfig
1312 @$(MKCONFIG) $(@:_config=) ppc ppc4xx plu405 esd
1314 PMC405_config: unconfig
1315 @$(MKCONFIG) $(@:_config=) ppc ppc4xx pmc405 esd
1317 PMC440_config: unconfig
1318 @$(MKCONFIG) $(@:_config=) ppc ppc4xx pmc440 esd
1320 PPChameleonEVB_config \
1321 PPChameleonEVB_BA_25_config \
1322 PPChameleonEVB_ME_25_config \
1323 PPChameleonEVB_HI_25_config \
1324 PPChameleonEVB_BA_33_config \
1325 PPChameleonEVB_ME_33_config \
1326 PPChameleonEVB_HI_33_config: unconfig
1327 @mkdir -p $(obj)include
1328 @ >$(obj)include/config.h
1329 @[ -z "$(findstring EVB_BA,$@)" ] || \
1330 { echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 0" >>$(obj)include/config.h ; \
1331 $(XECHO) "... BASIC model" ; \
1333 @[ -z "$(findstring EVB_ME,$@)" ] || \
1334 { echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 1" >>$(obj)include/config.h ; \
1335 $(XECHO) "... MEDIUM model" ; \
1337 @[ -z "$(findstring EVB_HI,$@)" ] || \
1338 { echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 2" >>$(obj)include/config.h ; \
1339 $(XECHO) "... HIGH-END model" ; \
1341 @[ -z "$(findstring _25,$@)" ] || \
1342 { echo "#define CONFIG_PPCHAMELEON_CLK_25" >>$(obj)include/config.h ; \
1343 $(XECHO) "SysClk = 25MHz" ; \
1345 @[ -z "$(findstring _33,$@)" ] || \
1346 { echo "#define CONFIG_PPCHAMELEON_CLK_33" >>$(obj)include/config.h ; \
1347 $(XECHO) "SysClk = 33MHz" ; \
1349 @$(MKCONFIG) -a $(call xtract_4xx,$@) ppc ppc4xx PPChameleonEVB dave
1351 sbc405_config: unconfig
1352 @$(MKCONFIG) $(@:_config=) ppc ppc4xx sbc405
1355 rainier_config: unconfig
1356 @mkdir -p $(obj)include
1357 @echo "#define CONFIG_$$(echo $(subst ,,$(@:_config=)) | \
1358 tr '[:lower:]' '[:upper:]')" >$(obj)include/config.h
1359 @$(MKCONFIG) -n $@ -a sequoia ppc ppc4xx sequoia amcc
1361 sequoia_nand_config \
1362 rainier_nand_config: unconfig
1363 @mkdir -p $(obj)include $(obj)board/amcc/sequoia
1364 @mkdir -p $(obj)nand_spl/board/amcc/sequoia
1365 @echo "#define CONFIG_NAND_U_BOOT" > $(obj)include/config.h
1366 @echo "#define CONFIG_$$(echo $(subst ,,$(@:_config=)) | \
1367 tr '[:lower:]' '[:upper:]')" >> $(obj)include/config.h
1368 @$(MKCONFIG) -n $@ -a sequoia ppc ppc4xx sequoia amcc
1369 @echo "TEXT_BASE = 0x01000000" > $(obj)board/amcc/sequoia/config.tmp
1370 @echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk
1373 @$(MKCONFIG) $(@:_config=) ppc ppc4xx sc3
1375 taihu_config: unconfig
1376 @$(MKCONFIG) $(@:_config=) ppc ppc4xx taihu amcc
1378 taishan_config: unconfig
1379 @$(MKCONFIG) $(@:_config=) ppc ppc4xx taishan amcc
1381 VOH405_config: unconfig
1382 @$(MKCONFIG) $(@:_config=) ppc ppc4xx voh405 esd
1384 VOM405_config: unconfig
1385 @$(MKCONFIG) $(@:_config=) ppc ppc4xx vom405 esd
1387 CMS700_config: unconfig
1388 @$(MKCONFIG) $(@:_config=) ppc ppc4xx cms700 esd
1391 W7OLMG_config: unconfig
1392 @$(MKCONFIG) $(@:_config=) ppc ppc4xx w7o
1394 # Walnut & Sycamore images are identical (recognized via PVR)
1396 sycamore_config: unconfig
1397 @$(MKCONFIG) -n $@ -a walnut ppc ppc4xx walnut amcc
1399 WUH405_config: unconfig
1400 @$(MKCONFIG) $(@:_config=) ppc ppc4xx wuh405 esd
1402 XPEDITE1K_config: unconfig
1403 @$(MKCONFIG) $(@:_config=) ppc ppc4xx xpedite1k
1406 yellowstone_config: unconfig
1407 @mkdir -p $(obj)include
1408 @echo "#define CONFIG_$$(echo $(subst ,,$(@:_config=)) | \
1409 tr '[:lower:]' '[:upper:]')" >$(obj)include/config.h
1410 @$(MKCONFIG) -n $@ -a yosemite ppc ppc4xx yosemite amcc
1412 yucca_config: unconfig
1413 @$(MKCONFIG) $(@:_config=) ppc ppc4xx yucca amcc
1415 zeus_config: unconfig
1416 @$(MKCONFIG) $(@:_config=) ppc ppc4xx zeus
1418 #########################################################################
1420 #########################################################################
1423 Yukon8220_config: unconfig
1424 @$(MKCONFIG) $(@:_config=) ppc mpc8220 alaska
1426 sorcery_config: unconfig
1427 @$(MKCONFIG) $(@:_config=) ppc mpc8220 sorcery
1429 #########################################################################
1431 #########################################################################
1432 xtract_82xx = $(subst _BIGFLASH,,$(subst _ROMBOOT,,$(subst _L2,,$(subst _266MHz,,$(subst _300MHz,,$(subst _config,,$1))))))
1434 A3000_config: unconfig
1435 @$(MKCONFIG) $(@:_config=) ppc mpc824x a3000
1437 barco_config: unconfig
1438 @$(MKCONFIG) $(@:_config=) ppc mpc824x barco
1440 BMW_config: unconfig
1441 @$(MKCONFIG) $(@:_config=) ppc mpc824x bmw
1444 CPC45_ROMBOOT_config: unconfig
1445 @$(MKCONFIG) $(call xtract_82xx,$@) ppc mpc824x cpc45
1446 @cd $(obj)include ; \
1447 if [ "$(findstring _ROMBOOT_,$@)" ] ; then \
1448 echo "CONFIG_BOOT_ROM = y" >> config.mk ; \
1449 $(XECHO) "... booting from 8-bit flash" ; \
1451 echo "CONFIG_BOOT_ROM = n" >> config.mk ; \
1452 $(XECHO) "... booting from 64-bit flash" ; \
1454 echo "export CONFIG_BOOT_ROM" >> config.mk;
1456 CU824_config: unconfig
1457 @$(MKCONFIG) $(@:_config=) ppc mpc824x cu824
1459 debris_config: unconfig
1460 @$(MKCONFIG) $(@:_config=) ppc mpc824x debris etin
1462 eXalion_config: unconfig
1463 @$(MKCONFIG) $(@:_config=) ppc mpc824x eXalion
1465 HIDDEN_DRAGON_config: unconfig
1466 @$(MKCONFIG) $(@:_config=) ppc mpc824x hidden_dragon
1468 kvme080_config: unconfig
1469 @$(MKCONFIG) $(@:_config=) ppc mpc824x kvme080 etin
1471 MOUSSE_config: unconfig
1472 @$(MKCONFIG) $(@:_config=) ppc mpc824x mousse
1474 MUSENKI_config: unconfig
1475 @$(MKCONFIG) $(@:_config=) ppc mpc824x musenki
1477 MVBLUE_config: unconfig
1478 @$(MKCONFIG) $(@:_config=) ppc mpc824x mvblue
1480 OXC_config: unconfig
1481 @$(MKCONFIG) $(@:_config=) ppc mpc824x oxc
1483 PN62_config: unconfig
1484 @$(MKCONFIG) $(@:_config=) ppc mpc824x pn62
1486 Sandpoint8240_config: unconfig
1487 @$(MKCONFIG) $(@:_config=) ppc mpc824x sandpoint
1489 Sandpoint8245_config: unconfig
1490 @$(MKCONFIG) $(@:_config=) ppc mpc824x sandpoint
1492 sbc8240_config: unconfig
1493 @$(MKCONFIG) $(@:_config=) ppc mpc824x sbc8240
1495 SL8245_config: unconfig
1496 @$(MKCONFIG) $(@:_config=) ppc mpc824x sl8245
1498 utx8245_config: unconfig
1499 @$(MKCONFIG) $(@:_config=) ppc mpc824x utx8245
1501 #########################################################################
1503 #########################################################################
1505 atc_config: unconfig
1506 @$(MKCONFIG) $(@:_config=) ppc mpc8260 atc
1508 cogent_mpc8260_config: unconfig
1509 @$(MKCONFIG) $(@:_config=) ppc mpc8260 cogent
1512 CPU86_ROMBOOT_config: unconfig
1513 @$(MKCONFIG) $(call xtract_82xx,$@) ppc mpc8260 cpu86
1514 @cd $(obj)include ; \
1515 if [ "$(findstring _ROMBOOT_,$@)" ] ; then \
1516 echo "CONFIG_BOOT_ROM = y" >> config.mk ; \
1517 $(XECHO) "... booting from 8-bit flash" ; \
1519 echo "CONFIG_BOOT_ROM = n" >> config.mk ; \
1520 $(XECHO) "... booting from 64-bit flash" ; \
1522 echo "export CONFIG_BOOT_ROM" >> config.mk;
1525 CPU87_ROMBOOT_config: unconfig
1526 @$(MKCONFIG) $(call xtract_82xx,$@) ppc mpc8260 cpu87
1527 @cd $(obj)include ; \
1528 if [ "$(findstring _ROMBOOT_,$@)" ] ; then \
1529 echo "CONFIG_BOOT_ROM = y" >> config.mk ; \
1530 $(XECHO) "... booting from 8-bit flash" ; \
1532 echo "CONFIG_BOOT_ROM = n" >> config.mk ; \
1533 $(XECHO) "... booting from 64-bit flash" ; \
1535 echo "export CONFIG_BOOT_ROM" >> config.mk;
1538 ep8248E_config : unconfig
1539 @$(MKCONFIG) ep8248 ppc mpc8260 ep8248
1541 ep8260_config: unconfig
1542 @$(MKCONFIG) $(@:_config=) ppc mpc8260 ep8260
1544 ep82xxm_config: unconfig
1545 @$(MKCONFIG) $(@:_config=) ppc mpc8260 ep82xxm
1547 gw8260_config: unconfig
1548 @$(MKCONFIG) $(@:_config=) ppc mpc8260 gw8260
1550 hymod_config: unconfig
1551 @$(MKCONFIG) $(@:_config=) ppc mpc8260 hymod
1553 IDS8247_config: unconfig
1554 @$(MKCONFIG) $(@:_config=) ppc mpc8260 ids8247
1556 IPHASE4539_config: unconfig
1557 @$(MKCONFIG) $(@:_config=) ppc mpc8260 iphase4539
1560 ISPAN_REVB_config: unconfig
1561 @mkdir -p $(obj)include
1562 @if [ "$(findstring _REVB_,$@)" ] ; then \
1563 echo "#define CFG_REV_B" > $(obj)include/config.h ; \
1565 @$(MKCONFIG) -a ISPAN ppc mpc8260 ispan
1567 mgcoge_config : unconfig
1568 @$(MKCONFIG) mgcoge ppc mpc8260 mgcoge
1571 MPC8260ADS_lowboot_config \
1572 MPC8260ADS_33MHz_config \
1573 MPC8260ADS_33MHz_lowboot_config \
1574 MPC8260ADS_40MHz_config \
1575 MPC8260ADS_40MHz_lowboot_config \
1577 MPC8272ADS_lowboot_config \
1579 PQ2FADS_lowboot_config \
1581 PQ2FADS-VR_lowboot_config \
1583 PQ2FADS-ZU_lowboot_config \
1584 PQ2FADS-ZU_66MHz_config \
1585 PQ2FADS-ZU_66MHz_lowboot_config \
1587 @mkdir -p $(obj)include
1588 @mkdir -p $(obj)board/mpc8260ads
1589 $(if $(findstring PQ2FADS,$@), \
1590 @echo "#define CONFIG_ADSTYPE CFG_PQ2FADS" > $(obj)include/config.h, \
1591 @echo "#define CONFIG_ADSTYPE CFG_"$(subst MPC,,$(word 1,$(subst _, ,$@))) > $(obj)include/config.h)
1592 $(if $(findstring MHz,$@), \
1593 @echo "#define CONFIG_8260_CLKIN" $(subst MHz,,$(word 2,$(subst _, ,$@)))"000000" >> $(obj)include/config.h, \
1594 $(if $(findstring VR,$@), \
1595 @echo "#define CONFIG_8260_CLKIN 66000000" >> $(obj)include/config.h))
1596 @[ -z "$(findstring lowboot_,$@)" ] || \
1597 { echo "TEXT_BASE = 0xFF800000" >$(obj)board/mpc8260ads/config.tmp ; \
1598 $(XECHO) "... with lowboot configuration" ; \
1600 @$(MKCONFIG) -a MPC8260ADS ppc mpc8260 mpc8260ads
1602 MPC8266ADS_config: unconfig
1603 @$(MKCONFIG) $(@:_config=) ppc mpc8260 mpc8266ads
1605 # PM825/PM826 default configuration: small (= 8 MB) Flash / boot from 64-bit flash
1607 PM825_ROMBOOT_config \
1608 PM825_BIGFLASH_config \
1609 PM825_ROMBOOT_BIGFLASH_config \
1611 PM826_ROMBOOT_config \
1612 PM826_BIGFLASH_config \
1613 PM826_ROMBOOT_BIGFLASH_config: unconfig
1614 @mkdir -p $(obj)include
1615 @mkdir -p $(obj)board/pm826
1616 @if [ "$(findstring PM825_,$@)" ] ; then \
1617 echo "#define CONFIG_PCI" >$(obj)include/config.h ; \
1619 >$(obj)include/config.h ; \
1621 @if [ "$(findstring _ROMBOOT_,$@)" ] ; then \
1622 $(XECHO) "... booting from 8-bit flash" ; \
1623 echo "#define CONFIG_BOOT_ROM" >>$(obj)include/config.h ; \
1624 echo "TEXT_BASE = 0xFF800000" >$(obj)board/pm826/config.tmp ; \
1625 if [ "$(findstring _BIGFLASH_,$@)" ] ; then \
1626 $(XECHO) "... with 32 MB Flash" ; \
1627 echo "#define CONFIG_FLASH_32MB" >>$(obj)include/config.h ; \
1630 $(XECHO) "... booting from 64-bit flash" ; \
1631 if [ "$(findstring _BIGFLASH_,$@)" ] ; then \
1632 $(XECHO) "... with 32 MB Flash" ; \
1633 echo "#define CONFIG_FLASH_32MB" >>$(obj)include/config.h ; \
1634 echo "TEXT_BASE = 0x40000000" >$(obj)board/pm826/config.tmp ; \
1636 echo "TEXT_BASE = 0xFF000000" >$(obj)board/pm826/config.tmp ; \
1639 @$(MKCONFIG) -a PM826 ppc mpc8260 pm826
1643 PM828_ROMBOOT_config \
1644 PM828_ROMBOOT_PCI_config: unconfig
1645 @mkdir -p $(obj)include
1646 @mkdir -p $(obj)board/pm826
1647 @if [ "$(findstring _PCI_,$@)" ] ; then \
1648 echo "#define CONFIG_PCI" >>$(obj)include/config.h ; \
1649 $(XECHO) "... with PCI enabled" ; \
1651 >$(obj)include/config.h ; \
1653 @if [ "$(findstring _ROMBOOT_,$@)" ] ; then \
1654 $(XECHO) "... booting from 8-bit flash" ; \
1655 echo "#define CONFIG_BOOT_ROM" >>$(obj)include/config.h ; \
1656 echo "TEXT_BASE = 0xFF800000" >$(obj)board/pm826/config.tmp ; \
1658 @$(MKCONFIG) -a PM828 ppc mpc8260 pm828
1660 ppmc8260_config: unconfig
1661 @$(MKCONFIG) $(@:_config=) ppc mpc8260 ppmc8260
1663 Rattler8248_config \
1664 Rattler_config: unconfig
1665 @mkdir -p $(obj)include
1666 $(if $(findstring 8248,$@), \
1667 @echo "#define CONFIG_MPC8248" > $(obj)include/config.h)
1668 @$(MKCONFIG) -a Rattler ppc mpc8260 rattler
1670 RPXsuper_config: unconfig
1671 @$(MKCONFIG) $(@:_config=) ppc mpc8260 rpxsuper
1673 rsdproto_config: unconfig
1674 @$(MKCONFIG) $(@:_config=) ppc mpc8260 rsdproto
1676 sacsng_config: unconfig
1677 @$(MKCONFIG) $(@:_config=) ppc mpc8260 sacsng
1679 sbc8260_config: unconfig
1680 @$(MKCONFIG) $(@:_config=) ppc mpc8260 sbc8260
1682 SCM_config: unconfig
1683 @$(MKCONFIG) $(@:_config=) ppc mpc8260 SCM siemens
1695 TQM8265_AA_config: unconfig
1696 @mkdir -p $(obj)include
1698 TQM8255_AA_config) CTYPE=MPC8255; CFREQ=300; CACHE=no; BMODE=8260;; \
1699 TQM8260_AA_config) CTYPE=MPC8260; CFREQ=200; CACHE=no; BMODE=8260;; \
1700 TQM8260_AB_config) CTYPE=MPC8260; CFREQ=200; CACHE=yes; BMODE=60x;; \
1701 TQM8260_AC_config) CTYPE=MPC8260; CFREQ=200; CACHE=yes; BMODE=60x;; \
1702 TQM8260_AD_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=60x;; \
1703 TQM8260_AE_config) CTYPE=MPC8260; CFREQ=266; CACHE=no; BMODE=8260;; \
1704 TQM8260_AF_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=60x;; \
1705 TQM8260_AG_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=8260;; \
1706 TQM8260_AH_config) CTYPE=MPC8260; CFREQ=300; CACHE=yes; BMODE=60x;; \
1707 TQM8260_AI_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=60x;; \
1708 TQM8265_AA_config) CTYPE=MPC8265; CFREQ=300; CACHE=no; BMODE=60x;; \
1710 >$(obj)include/config.h ; \
1711 if [ "$${CTYPE}" != "MPC8260" ] ; then \
1712 echo "#define CONFIG_$${CTYPE}" >>$(obj)include/config.h ; \
1714 echo "#define CONFIG_$${CFREQ}MHz" >>$(obj)include/config.h ; \
1715 echo "... with $${CFREQ}MHz system clock" ; \
1716 if [ "$${CACHE}" = "yes" ] ; then \
1717 echo "#define CONFIG_L2_CACHE" >>$(obj)include/config.h ; \
1718 $(XECHO) "... with L2 Cache support" ; \
1720 echo "#undef CONFIG_L2_CACHE" >>$(obj)include/config.h ; \
1721 $(XECHO) "... without L2 Cache support" ; \
1723 if [ "$${BMODE}" = "60x" ] ; then \
1724 echo "#define CONFIG_BUSMODE_60x" >>$(obj)include/config.h ; \
1725 $(XECHO) "... with 60x Bus Mode" ; \
1727 echo "#undef CONFIG_BUSMODE_60x" >>$(obj)include/config.h ; \
1728 $(XECHO) "... without 60x Bus Mode" ; \
1730 @$(MKCONFIG) -a TQM8260 ppc mpc8260 tqm8260
1732 TQM8272_config: unconfig
1733 @$(MKCONFIG) -a TQM8272 ppc mpc8260 tqm8272
1735 VoVPN-GW_66MHz_config \
1736 VoVPN-GW_100MHz_config: unconfig
1737 @mkdir -p $(obj)include
1738 @echo "#define CONFIG_CLKIN_$(word 2,$(subst _, ,$@))" > $(obj)include/config.h
1739 @$(MKCONFIG) -a VoVPN-GW ppc mpc8260 vovpn-gw funkwerk
1741 ZPC1900_config: unconfig
1742 @$(MKCONFIG) $(@:_config=) ppc mpc8260 zpc1900
1744 #########################################################################
1746 #########################################################################
1748 M52277EVB_config: unconfig
1749 @$(MKCONFIG) -a M52277EVB m68k mcf5227x m52277evb freescale
1752 M5235EVB_Flash16_config \
1753 M5235EVB_Flash32_config: unconfig
1755 M5235EVB_config) FLASH=16;; \
1756 M5235EVB_Flash16_config) FLASH=16;; \
1757 M5235EVB_Flash32_config) FLASH=32;; \
1759 >$(obj)include/config.h ; \
1760 if [ "$${FLASH}" != "16" ] ; then \
1761 echo "#define NORFLASH_PS32BIT 1" >> $(obj)include/config.h ; \
1762 echo "TEXT_BASE = 0xFFC00000" > $(obj)board/freescale/m5235evb/config.tmp ; \
1763 cp $(obj)board/freescale/m5235evb/u-boot.32 $(obj)board/freescale/m5235evb/u-boot.lds ; \
1765 echo "TEXT_BASE = 0xFFE00000" > $(obj)board/freescale/m5235evb/config.tmp ; \
1766 cp $(obj)board/freescale/m5235evb/u-boot.16 $(obj)board/freescale/m5235evb/u-boot.lds ; \
1768 @$(MKCONFIG) -a M5235EVB m68k mcf523x m5235evb freescale
1770 M5249EVB_config : unconfig
1771 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5249evb freescale
1773 M5253EVBE_config : unconfig
1774 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5253evbe freescale
1776 cobra5272_config : unconfig
1777 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 cobra5272
1779 EB+MCF-EV123_config : unconfig
1780 @mkdir -p $(obj)include
1781 @mkdir -p $(obj)board/BuS/EB+MCF-EV123
1782 @ >$(obj)include/config.h
1783 @echo "TEXT_BASE = 0xFFE00000"|tee $(obj)board/BuS/EB+MCF-EV123/textbase.mk
1784 @$(MKCONFIG) EB+MCF-EV123 m68k mcf52x2 EB+MCF-EV123 BuS
1786 EB+MCF-EV123_internal_config : unconfig
1787 @mkdir -p $(obj)include
1788 @mkdir -p $(obj)board/BuS/EB+MCF-EV123
1789 @ >$(obj)include/config.h
1790 @echo "TEXT_BASE = 0xF0000000"|tee $(obj)board/BuS/EB+MCF-EV123/textbase.mk
1791 @$(MKCONFIG) EB+MCF-EV123 m68k mcf52x2 EB+MCF-EV123 BuS
1793 idmr_config : unconfig
1794 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 idmr
1796 M5271EVB_config : unconfig
1797 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5271evb
1799 M5272C3_config : unconfig
1800 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5272c3
1802 M5282EVB_config : unconfig
1803 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5282evb
1805 TASREG_config : unconfig
1806 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 tasreg esd
1808 r5200_config : unconfig
1809 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 r5200
1812 M5329BFEE_config : unconfig
1814 M5329AFEE_config) NAND=0;; \
1815 M5329BFEE_config) NAND=16;; \
1817 >$(obj)include/config.h ; \
1818 if [ "$${NAND}" != "0" ] ; then \
1819 echo "#define NANDFLASH_SIZE $${NAND}" > $(obj)include/config.h ; \
1821 @$(MKCONFIG) -a M5329EVB m68k mcf532x m5329evb freescale
1823 M5373EVB_config : unconfig
1825 M5373EVB_config) NAND=16;; \
1827 >include/config.h ; \
1828 if [ "$${NAND}" != "0" ] ; then \
1829 echo "#define NANDFLASH_SIZE $${NAND}" > $(obj)include/config.h ; \
1831 @$(MKCONFIG) -a M5373EVB m68k mcf532x m5373evb freescale
1834 M54455EVB_atmel_config \
1835 M54455EVB_intel_config \
1836 M54455EVB_a33_config \
1837 M54455EVB_a66_config \
1838 M54455EVB_i33_config \
1839 M54455EVB_i66_config : unconfig
1841 M54455EVB_config) FLASH=ATMEL; FREQ=33333333;; \
1842 M54455EVB_atmel_config) FLASH=ATMEL; FREQ=33333333;; \
1843 M54455EVB_intel_config) FLASH=INTEL; FREQ=33333333;; \
1844 M54455EVB_a33_config) FLASH=ATMEL; FREQ=33333333;; \
1845 M54455EVB_a66_config) FLASH=ATMEL; FREQ=66666666;; \
1846 M54455EVB_i33_config) FLASH=INTEL; FREQ=33333333;; \
1847 M54455EVB_i66_config) FLASH=INTEL; FREQ=66666666;; \
1849 >$(obj)include/config.h ; \
1850 if [ "$${FLASH}" = "INTEL" ] ; then \
1851 echo "#undef CFG_ATMEL_BOOT" >> $(obj)include/config.h ; \
1852 echo "TEXT_BASE = 0x00000000" > $(obj)board/freescale/m54455evb/config.tmp ; \
1853 cp $(obj)board/freescale/m54455evb/u-boot.int $(obj)board/freescale/m54455evb/u-boot.lds ; \
1854 $(XECHO) "... with INTEL boot..." ; \
1856 echo "#define CFG_ATMEL_BOOT" >> $(obj)include/config.h ; \
1857 echo "TEXT_BASE = 0x04000000" > $(obj)board/freescale/m54455evb/config.tmp ; \
1858 cp $(obj)board/freescale/m54455evb/u-boot.atm $(obj)board/freescale/m54455evb/u-boot.lds ; \
1859 $(XECHO) "... with ATMEL boot..." ; \
1861 echo "#define CFG_INPUT_CLKSRC $${FREQ}" >> $(obj)include/config.h ; \
1862 $(XECHO) "... with $${FREQ}Hz input clock"
1863 @$(MKCONFIG) -a M54455EVB m68k mcf5445x m54455evb freescale
1871 M5475GFE_config : unconfig
1873 M5475AFE_config) BOOT=2;CODE=0;VID=0;USB=0;RAM=64;RAM1=0;; \
1874 M5475BFE_config) BOOT=2;CODE=16;VID=0;USB=0;RAM=64;RAM1=0;; \
1875 M5475CFE_config) BOOT=2;CODE=16;VID=1;USB=1;RAM=64;RAM1=0;; \
1876 M5475DFE_config) BOOT=2;CODE=0;VID=0;USB=1;RAM=64;RAM1=0;; \
1877 M5475EFE_config) BOOT=2;CODE=0;VID=1;USB=1;RAM=64;RAM1=0;; \
1878 M5475FFE_config) BOOT=2;CODE=32;VID=1;USB=1;RAM=64;RAM1=64;; \
1879 M5475GFE_config) BOOT=4;CODE=0;VID=0;USB=0;RAM=64;RAM1=0;; \
1881 >include/config.h ; \
1882 echo "#define CFG_BUSCLK 133333333" > $(obj)include/config.h ; \
1883 echo "#define CFG_BOOTSZ $${BOOT}" >> $(obj)include/config.h ; \
1884 echo "#define CFG_DRAMSZ $${RAM}" >> $(obj)include/config.h ; \
1885 if [ "$${RAM1}" != "0" ] ; then \
1886 echo "#define CFG_DRAMSZ1 $${RAM1}" >> $(obj)include/config.h ; \
1888 if [ "$${CODE}" != "0" ] ; then \
1889 echo "#define CFG_NOR1SZ $${CODE}" >> $(obj)include/config.h ; \
1891 if [ "$${VID}" == "1" ] ; then \
1892 echo "#define CFG_VIDEO" >> $(obj)include/config.h ; \
1894 if [ "$${USB}" == "1" ] ; then \
1895 echo "#define CFG_USBCTRL" >> $(obj)include/config.h ; \
1897 @$(MKCONFIG) -a M5475EVB m68k mcf547x_8x m547xevb freescale
1906 M5485HFE_config : unconfig
1908 M5485AFE_config) BOOT=2;CODE=0;VID=0;USB=0;RAM=64;RAM1=0;; \
1909 M5485BFE_config) BOOT=2;CODE=16;VID=0;USB=0;RAM=64;RAM1=0;; \
1910 M5485CFE_config) BOOT=2;CODE=16;VID=1;USB=1;RAM=64;RAM1=0;; \
1911 M5485DFE_config) BOOT=2;CODE=0;VID=0;USB=1;RAM=64;RAM1=0;; \
1912 M5485EFE_config) BOOT=2;CODE=0;VID=1;USB=1;RAM=64;RAM1=0;; \
1913 M5485FFE_config) BOOT=2;CODE=32;VID=1;USB=1;RAM=64;RAM1=64;; \
1914 M5485GFE_config) BOOT=4;CODE=0;VID=0;USB=0;RAM=64;RAM1=0;; \
1915 M5485HFE_config) BOOT=2;CODE=;VID=1;USB=0;RAM=64;RAM1=0;; \
1917 >include/config.h ; \
1918 echo "#define CFG_BUSCLK 100000000" > $(obj)include/config.h ; \
1919 echo "#define CFG_BOOTSZ $${BOOT}" >> $(obj)include/config.h ; \
1920 echo "#define CFG_DRAMSZ $${RAM}" >> $(obj)include/config.h ; \
1921 if [ "$${RAM1}" != "0" ] ; then \
1922 echo "#define CFG_DRAMSZ1 $${RAM1}" >> $(obj)include/config.h ; \
1924 if [ "$${CODE}" != "0" ] ; then \
1925 echo "#define CFG_NOR1SZ $${CODE}" >> $(obj)include/config.h ; \
1927 if [ "$${VID}" == "1" ] ; then \
1928 echo "#define CFG_VIDEO" >> $(obj)include/config.h ; \
1930 if [ "$${USB}" == "1" ] ; then \
1931 echo "#define CFG_USBCTRL" >> $(obj)include/config.h ; \
1933 @$(MKCONFIG) -a M5485EVB m68k mcf547x_8x m548xevb freescale
1935 #########################################################################
1937 #########################################################################
1939 MPC8313ERDB_33_config \
1940 MPC8313ERDB_66_config: unconfig
1941 @mkdir -p $(obj)include
1942 @echo "" >$(obj)include/config.h ; \
1943 if [ "$(findstring _33_,$@)" ] ; then \
1944 $(XECHO) -n "...33M ..." ; \
1945 echo "#define CFG_33MHZ" >>$(obj)include/config.h ; \
1947 if [ "$(findstring _66_,$@)" ] ; then \
1948 $(XECHO) -n "...66M..." ; \
1949 echo "#define CFG_66MHZ" >>$(obj)include/config.h ; \
1951 @$(MKCONFIG) -a MPC8313ERDB ppc mpc83xx mpc8313erdb freescale
1953 MPC8315ERDB_config: unconfig
1954 @$(MKCONFIG) -a MPC8315ERDB ppc mpc83xx mpc8315erdb freescale
1956 MPC8323ERDB_config: unconfig
1957 @$(MKCONFIG) -a MPC8323ERDB ppc mpc83xx mpc8323erdb freescale
1959 MPC832XEMDS_config \
1960 MPC832XEMDS_HOST_33_config \
1961 MPC832XEMDS_HOST_66_config \
1962 MPC832XEMDS_SLAVE_config \
1963 MPC832XEMDS_ATM_config: unconfig
1964 @mkdir -p $(obj)include
1965 @echo "" >$(obj)include/config.h ; \
1966 if [ "$(findstring _HOST_,$@)" ] ; then \
1967 $(XECHO) -n "... PCI HOST " ; \
1968 echo "#define CONFIG_PCI" >>$(obj)include/config.h ; \
1970 if [ "$(findstring _SLAVE_,$@)" ] ; then \
1971 $(XECHO) "...PCI SLAVE 66M" ; \
1972 echo "#define CONFIG_PCI" >>$(obj)include/config.h ; \
1973 echo "#define CONFIG_PCISLAVE" >>$(obj)include/config.h ; \
1975 if [ "$(findstring _33_,$@)" ] ; then \
1976 $(XECHO) -n "...33M ..." ; \
1977 echo "#define PCI_33M" >>$(obj)include/config.h ; \
1978 echo "#define CONFIG_PQ_MDS_PIB 1" >>$(obj)include/config.h ; \
1980 if [ "$(findstring _66_,$@)" ] ; then \
1981 $(XECHO) -n "...66M..." ; \
1982 echo "#define PCI_66M" >>$(obj)include/config.h ; \
1983 echo "#define CONFIG_PQ_MDS_PIB 1" >>$(obj)include/config.h ; \
1985 if [ "$(findstring _ATM_,$@)" ] ; then \
1986 $(XECHO) -n "...ATM..." ; \
1987 echo "#define CONFIG_PQ_MDS_PIB 1" >>$(obj)include/config.h ; \
1988 echo "#define CONFIG_PQ_MDS_PIB_ATM 1" >>$(obj)include/config.h ; \
1990 @$(MKCONFIG) -a MPC832XEMDS ppc mpc83xx mpc832xemds freescale
1992 MPC8349EMDS_config: unconfig
1993 @$(MKCONFIG) $(@:_config=) ppc mpc83xx mpc8349emds freescale
1996 MPC8349ITX_LOWBOOT_config \
1997 MPC8349ITXGP_config: unconfig
1998 @mkdir -p $(obj)include
1999 @mkdir -p $(obj)board/freescale/mpc8349itx
2000 @echo "#define CONFIG_$(subst _LOWBOOT,,$(@:_config=))" >> $(obj)include/config.h
2001 @if [ "$(findstring GP,$@)" ] ; then \
2002 echo "TEXT_BASE = 0xFE000000" >$(obj)board/freescale/mpc8349itx/config.tmp ; \
2004 @if [ "$(findstring LOWBOOT,$@)" ] ; then \
2005 echo "TEXT_BASE = 0xFE000000" >$(obj)board/freescale/mpc8349itx/config.tmp ; \
2007 @$(MKCONFIG) -a -n $(@:_config=) MPC8349ITX ppc mpc83xx mpc8349itx freescale
2009 MPC8360EMDS_config \
2010 MPC8360EMDS_HOST_33_config \
2011 MPC8360EMDS_HOST_66_config \
2012 MPC8360EMDS_SLAVE_config \
2013 MPC8360EMDS_ATM_config: unconfig
2014 @mkdir -p $(obj)include
2015 @echo "" >$(obj)include/config.h ; \
2016 if [ "$(findstring _HOST_,$@)" ] ; then \
2017 $(XECHO) -n "... PCI HOST " ; \
2018 echo "#define CONFIG_PCI" >>$(obj)include/config.h ; \
2020 if [ "$(findstring _SLAVE_,$@)" ] ; then \
2021 $(XECHO) "...PCI SLAVE 66M" ; \
2022 echo "#define CONFIG_PCI" >>$(obj)include/config.h ; \
2023 echo "#define CONFIG_PCISLAVE" >>$(obj)include/config.h ; \
2025 if [ "$(findstring _33_,$@)" ] ; then \
2026 $(XECHO) -n "...33M ..." ; \
2027 echo "#define PCI_33M" >>$(obj)include/config.h ; \
2028 echo "#define CONFIG_PQ_MDS_PIB 1" >>$(obj)include/config.h ; \
2030 if [ "$(findstring _66_,$@)" ] ; then \
2031 $(XECHO) -n "...66M..." ; \
2032 echo "#define PCI_66M" >>$(obj)include/config.h ; \
2033 echo "#define CONFIG_PQ_MDS_PIB 1" >>$(obj)include/config.h ; \
2035 if [ "$(findstring _ATM_,$@)" ] ; then \
2036 $(XECHO) -n "...ATM..." ; \
2037 echo "#define CONFIG_PQ_MDS_PIB 1" >>$(obj)include/config.h ; \
2038 echo "#define CONFIG_PQ_MDS_PIB_ATM 1" >>$(obj)include/config.h ; \
2040 @$(MKCONFIG) -a MPC8360EMDS ppc mpc83xx mpc8360emds freescale
2042 MPC8360ERDK_33_config \
2043 MPC8360ERDK_66_config \
2045 @mkdir -p $(obj)include
2046 @echo "" >$(obj)include/config.h ; \
2047 if [ "$(findstring _33_,$@)" ] ; then \
2048 $(XECHO) -n "... CLKIN 33MHz " ; \
2049 echo "#define CONFIG_CLKIN_33MHZ" >>$(obj)include/config.h ;\
2051 @$(MKCONFIG) -a MPC8360ERDK ppc mpc83xx mpc8360erdk freescale
2053 MPC837XEMDS_config \
2054 MPC837XEMDS_HOST_config: unconfig
2055 @mkdir -p $(obj)include
2056 @echo "" >$(obj)include/config.h ; \
2057 if [ "$(findstring _HOST_,$@)" ] ; then \
2058 $(XECHO) -n "... PCI HOST " ; \
2059 echo "#define CONFIG_PCI" >>$(obj)include/config.h ; \
2061 @$(MKCONFIG) -a MPC837XEMDS ppc mpc83xx mpc837xemds freescale
2063 MPC837XERDB_config: unconfig
2064 @$(MKCONFIG) -a MPC837XERDB ppc mpc83xx mpc837xerdb freescale
2066 sbc8349_config: unconfig
2067 @$(MKCONFIG) $(@:_config=) ppc mpc83xx sbc8349
2069 TQM834x_config: unconfig
2070 @$(MKCONFIG) $(@:_config=) ppc mpc83xx tqm834x
2073 #########################################################################
2075 #########################################################################
2077 ATUM8548_config: unconfig
2078 @$(MKCONFIG) $(@:_config=) ppc mpc85xx atum8548
2080 MPC8540ADS_config: unconfig
2081 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8540ads freescale
2083 MPC8540EVAL_config \
2084 MPC8540EVAL_33_config \
2085 MPC8540EVAL_66_config \
2086 MPC8540EVAL_33_slave_config \
2087 MPC8540EVAL_66_slave_config: unconfig
2088 @mkdir -p $(obj)include
2089 @echo "" >$(obj)include/config.h ; \
2090 if [ "$(findstring _33_,$@)" ] ; then \
2091 $(XECHO) "... 33 MHz PCI" ; \
2093 echo "#define CONFIG_SYSCLK_66M" >>$(obj)include/config.h ; \
2094 $(XECHO) "... 66 MHz PCI" ; \
2096 if [ "$(findstring _slave_,$@)" ] ; then \
2097 echo "#define CONFIG_PCI_SLAVE" >>$(obj)include/config.h ; \
2098 $(XECHO) " slave" ; \
2100 $(XECHO) " host" ; \
2102 @$(MKCONFIG) -a MPC8540EVAL ppc mpc85xx mpc8540eval
2104 MPC8560ADS_config: unconfig
2105 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8560ads freescale
2107 MPC8541CDS_legacy_config \
2108 MPC8541CDS_config: unconfig
2109 @mkdir -p $(obj)include
2110 @echo "" >$(obj)include/config.h ; \
2111 if [ "$(findstring _legacy_,$@)" ] ; then \
2112 echo "#define CONFIG_LEGACY" >>$(obj)include/config.h ; \
2113 $(XECHO) "... legacy" ; \
2115 @$(MKCONFIG) -a MPC8541CDS ppc mpc85xx mpc8541cds freescale
2117 MPC8544DS_config: unconfig
2118 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8544ds freescale
2120 MPC8548CDS_legacy_config \
2121 MPC8548CDS_config: unconfig
2122 @mkdir -p $(obj)include
2123 @echo "" >$(obj)include/config.h ; \
2124 if [ "$(findstring _legacy_,$@)" ] ; then \
2125 echo "#define CONFIG_LEGACY" >>$(obj)include/config.h ; \
2126 $(XECHO) "... legacy" ; \
2128 @$(MKCONFIG) -a MPC8548CDS ppc mpc85xx mpc8548cds freescale
2130 MPC8555CDS_legacy_config \
2131 MPC8555CDS_config: unconfig
2132 @mkdir -p $(obj)include
2133 @echo "" >$(obj)include/config.h ; \
2134 if [ "$(findstring _legacy_,$@)" ] ; then \
2135 echo "#define CONFIG_LEGACY" >>$(obj)include/config.h ; \
2136 $(XECHO) "... legacy" ; \
2138 @$(MKCONFIG) -a MPC8555CDS ppc mpc85xx mpc8555cds freescale
2140 MPC8568MDS_config: unconfig
2141 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8568mds freescale
2143 PM854_config: unconfig
2144 @$(MKCONFIG) $(@:_config=) ppc mpc85xx pm854
2146 PM856_config: unconfig
2147 @$(MKCONFIG) $(@:_config=) ppc mpc85xx pm856
2151 sbc8540_66_config: unconfig
2152 @mkdir -p $(obj)include
2153 @if [ "$(findstring _66_,$@)" ] ; then \
2154 echo "#define CONFIG_PCI_66" >>$(obj)include/config.h ; \
2155 $(XECHO) "... 66 MHz PCI" ; \
2157 >$(obj)include/config.h ; \
2158 $(XECHO) "... 33 MHz PCI" ; \
2160 @$(MKCONFIG) -a SBC8540 ppc mpc85xx sbc8560
2162 sbc8548_config: unconfig
2163 @$(MKCONFIG) $(@:_config=) ppc mpc85xx sbc8548
2167 sbc8560_66_config: unconfig
2168 @mkdir -p $(obj)include
2169 @if [ "$(findstring _66_,$@)" ] ; then \
2170 echo "#define CONFIG_PCI_66" >>$(obj)include/config.h ; \
2171 $(XECHO) "... 66 MHz PCI" ; \
2173 >$(obj)include/config.h ; \
2174 $(XECHO) "... 33 MHz PCI" ; \
2176 @$(MKCONFIG) -a sbc8560 ppc mpc85xx sbc8560
2178 stxgp3_config: unconfig
2179 @$(MKCONFIG) $(@:_config=) ppc mpc85xx stxgp3
2182 stxssa_4M_config: unconfig
2183 @mkdir -p $(obj)include
2184 @if [ "$(findstring _4M_,$@)" ] ; then \
2185 echo "#define CONFIG_STXSSA_4M" >>$(obj)include/config.h ; \
2186 $(XECHO) "... with 4 MiB flash memory" ; \
2188 >$(obj)include/config.h ; \
2190 @$(MKCONFIG) -a stxssa ppc mpc85xx stxssa
2195 TQM8560_config: unconfig
2196 @mkdir -p $(obj)include
2197 @CTYPE=$(subst TQM,,$(@:_config=)); \
2198 >$(obj)include/config.h ; \
2199 $(XECHO) "... TQM"$${CTYPE}; \
2200 echo "#define CONFIG_MPC$${CTYPE}">>$(obj)include/config.h; \
2201 echo "#define CONFIG_TQM$${CTYPE}">>$(obj)include/config.h; \
2202 echo "#define CONFIG_HOSTNAME tqm$${CTYPE}">>$(obj)include/config.h; \
2203 echo "#define CONFIG_BOARDNAME \"TQM$${CTYPE}\"">>$(obj)include/config.h; \
2204 echo "#define CFG_BOOTFILE_PATH \"/tftpboot/tqm$${CTYPE}/uImage\"">>$(obj)include/config.h
2205 @$(MKCONFIG) -a TQM85xx ppc mpc85xx tqm85xx
2207 #########################################################################
2209 #########################################################################
2211 MPC8610HPCD_config: unconfig
2212 @$(MKCONFIG) $(@:_config=) ppc mpc86xx mpc8610hpcd freescale
2214 MPC8641HPCN_config: unconfig
2215 @$(MKCONFIG) $(@:_config=) ppc mpc86xx mpc8641hpcn freescale
2217 sbc8641d_config: unconfig
2218 @./mkconfig $(@:_config=) ppc mpc86xx sbc8641d
2220 #########################################################################
2222 #########################################################################
2224 AmigaOneG3SE_config: unconfig
2225 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx AmigaOneG3SE MAI
2227 BAB7xx_config: unconfig
2228 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx bab7xx eltec
2230 CPCI750_config: unconfig
2231 @$(MKCONFIG) CPCI750 ppc 74xx_7xx cpci750 esd
2233 DB64360_config: unconfig
2234 @$(MKCONFIG) DB64360 ppc 74xx_7xx db64360 Marvell
2236 DB64460_config: unconfig
2237 @$(MKCONFIG) DB64460 ppc 74xx_7xx db64460 Marvell
2239 ELPPC_config: unconfig
2240 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx elppc eltec
2243 EVB64260_750CX_config: unconfig
2244 @$(MKCONFIG) EVB64260 ppc 74xx_7xx evb64260
2246 mpc7448hpc2_config: unconfig
2247 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx mpc7448hpc2
2249 P3G4_config: unconfig
2250 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx evb64260
2253 p3m7448_config: unconfig
2254 @mkdir -p $(obj)include
2255 @if [ "$(findstring 750_,$@)" ] ; then \
2256 echo "#define CONFIG_P3M750" >>$(obj)include/config.h ; \
2258 echo "#define CONFIG_P3M7448" >>$(obj)include/config.h ; \
2260 @$(MKCONFIG) -a p3mx ppc 74xx_7xx p3mx prodrive
2263 PCIPPC6_config: unconfig
2264 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx pcippc2
2266 ZUMA_config: unconfig
2267 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx evb64260
2269 ppmc7xx_config: unconfig
2270 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx ppmc7xx
2272 #========================================================================
2274 #========================================================================
2275 #########################################################################
2276 ## StrongARM Systems
2277 #########################################################################
2279 assabet_config : unconfig
2280 @$(MKCONFIG) $(@:_config=) arm sa1100 assabet
2282 dnp1110_config : unconfig
2283 @$(MKCONFIG) $(@:_config=) arm sa1100 dnp1110
2285 gcplus_config : unconfig
2286 @$(MKCONFIG) $(@:_config=) arm sa1100 gcplus
2288 lart_config : unconfig
2289 @$(MKCONFIG) $(@:_config=) arm sa1100 lart
2291 shannon_config : unconfig
2292 @$(MKCONFIG) $(@:_config=) arm sa1100 shannon
2294 #########################################################################
2296 #########################################################################
2298 xtract_trab = $(subst _bigram,,$(subst _bigflash,,$(subst _old,,$(subst _config,,$1))))
2300 xtract_omap1610xxx = $(subst _cs0boot,,$(subst _cs3boot,,$(subst _cs_autoboot,,$(subst _config,,$1))))
2302 xtract_omap730p2 = $(subst _cs0boot,,$(subst _cs3boot,, $(subst _config,,$1)))
2304 at91rm9200dk_config : unconfig
2305 @$(MKCONFIG) $(@:_config=) arm arm920t at91rm9200dk NULL at91rm9200
2307 cmc_pu2_config : unconfig
2308 @$(MKCONFIG) $(@:_config=) arm arm920t cmc_pu2 NULL at91rm9200
2310 csb637_config : unconfig
2311 @$(MKCONFIG) $(@:_config=) arm arm920t csb637 NULL at91rm9200
2313 mp2usb_config : unconfig
2314 @$(MKCONFIG) $(@:_config=) arm arm920t mp2usb NULL at91rm9200
2317 ########################################################################
2318 ## ARM Integrator boards - see doc/README-integrator for more info.
2319 integratorap_config \
2328 ap946es_config: unconfig
2329 @board/integratorap/split_by_variant.sh $@
2331 integratorcp_config \
2340 cp1026_config: unconfig
2341 @board/integratorcp/split_by_variant.sh $@
2343 kb9202_config : unconfig
2344 @$(MKCONFIG) $(@:_config=) arm arm920t kb9202 NULL at91rm9200
2347 lpd7a404_config: unconfig
2348 @$(MKCONFIG) $(@:_config=) arm lh7a40x lpd7a40x
2350 mx1ads_config : unconfig
2351 @$(MKCONFIG) $(@:_config=) arm arm920t mx1ads NULL imx
2353 mx1fs2_config : unconfig
2354 @$(MKCONFIG) $(@:_config=) arm arm920t mx1fs2 NULL imx
2357 netstar_config: unconfig
2358 @mkdir -p $(obj)include
2359 @if [ "$(findstring _32_,$@)" ] ; then \
2360 $(XECHO) "... 32MB SDRAM" ; \
2361 echo "#define PHYS_SDRAM_1_SIZE SZ_32M" >>$(obj)include/config.h ; \
2363 $(XECHO) "... 64MB SDRAM" ; \
2364 echo "#define PHYS_SDRAM_1_SIZE SZ_64M" >>$(obj)include/config.h ; \
2366 @$(MKCONFIG) -a netstar arm arm925t netstar
2368 omap1510inn_config : unconfig
2369 @$(MKCONFIG) $(@:_config=) arm arm925t omap1510inn
2371 omap5912osk_config : unconfig
2372 @$(MKCONFIG) $(@:_config=) arm arm926ejs omap5912osk NULL omap
2374 davinci_dvevm_config : unconfig
2375 @$(MKCONFIG) $(@:_config=) arm arm926ejs dv-evm davinci davinci
2377 davinci_schmoogie_config : unconfig
2378 @$(MKCONFIG) $(@:_config=) arm arm926ejs schmoogie davinci davinci
2380 davinci_sonata_config : unconfig
2381 @$(MKCONFIG) $(@:_config=) arm arm926ejs sonata davinci davinci
2383 omap1610inn_config \
2384 omap1610inn_cs0boot_config \
2385 omap1610inn_cs3boot_config \
2386 omap1610inn_cs_autoboot_config \
2388 omap1610h2_cs0boot_config \
2389 omap1610h2_cs3boot_config \
2390 omap1610h2_cs_autoboot_config: unconfig
2391 @mkdir -p $(obj)include
2392 @if [ "$(findstring _cs0boot_, $@)" ] ; then \
2393 echo "#define CONFIG_CS0_BOOT" >> .$(obj)include/config.h ; \
2394 $(XECHO) "... configured for CS0 boot"; \
2395 elif [ "$(findstring _cs_autoboot_, $@)" ] ; then \
2396 echo "#define CONFIG_CS_AUTOBOOT" >> $(obj)include/config.h ; \
2397 $(XECHO) "... configured for CS_AUTO boot"; \
2399 echo "#define CONFIG_CS3_BOOT" >> $(obj)include/config.h ; \
2400 $(XECHO) "... configured for CS3 boot"; \
2402 @$(MKCONFIG) -a $(call xtract_omap1610xxx,$@) arm arm926ejs omap1610inn NULL omap
2405 omap730p2_cs0boot_config \
2406 omap730p2_cs3boot_config : unconfig
2407 @mkdir -p $(obj)include
2408 @if [ "$(findstring _cs0boot_, $@)" ] ; then \
2409 echo "#define CONFIG_CS0_BOOT" >> $(obj)include/config.h ; \
2410 $(XECHO) "... configured for CS0 boot"; \
2412 echo "#define CONFIG_CS3_BOOT" >> $(obj)include/config.h ; \
2413 $(XECHO) "... configured for CS3 boot"; \
2415 @$(MKCONFIG) -a $(call xtract_omap730p2,$@) arm arm926ejs omap730p2 NULL omap
2417 sbc2410x_config: unconfig
2418 @$(MKCONFIG) $(@:_config=) arm arm920t sbc2410x NULL s3c24x0
2420 scb9328_config : unconfig
2421 @$(MKCONFIG) $(@:_config=) arm arm920t scb9328 NULL imx
2423 smdk2400_config : unconfig
2424 @$(MKCONFIG) $(@:_config=) arm arm920t smdk2400 NULL s3c24x0
2426 smdk2410_config : unconfig
2427 @$(MKCONFIG) $(@:_config=) arm arm920t smdk2410 NULL s3c24x0
2429 SX1_config : unconfig
2430 @$(MKCONFIG) $(@:_config=) arm arm925t sx1
2432 # TRAB default configuration: 8 MB Flash, 32 MB RAM
2434 trab_bigram_config \
2435 trab_bigflash_config \
2436 trab_old_config: unconfig
2437 @mkdir -p $(obj)include
2438 @mkdir -p $(obj)board/trab
2439 @ >$(obj)include/config.h
2440 @[ -z "$(findstring _bigram,$@)" ] || \
2441 { echo "#define CONFIG_FLASH_8MB" >>$(obj)include/config.h ; \
2442 echo "#define CONFIG_RAM_32MB" >>$(obj)include/config.h ; \
2443 $(XECHO) "... with 8 MB Flash, 32 MB RAM" ; \
2445 @[ -z "$(findstring _bigflash,$@)" ] || \
2446 { echo "#define CONFIG_FLASH_16MB" >>$(obj)include/config.h ; \
2447 echo "#define CONFIG_RAM_16MB" >>$(obj)include/config.h ; \
2448 $(XECHO) "... with 16 MB Flash, 16 MB RAM" ; \
2449 echo "TEXT_BASE = 0x0CF40000" >$(obj)board/trab/config.tmp ; \
2451 @[ -z "$(findstring _old,$@)" ] || \
2452 { echo "#define CONFIG_FLASH_8MB" >>$(obj)include/config.h ; \
2453 echo "#define CONFIG_RAM_16MB" >>$(obj)include/config.h ; \
2454 $(XECHO) "... with 8 MB Flash, 16 MB RAM" ; \
2455 echo "TEXT_BASE = 0x0CF40000" >$(obj)board/trab/config.tmp ; \
2457 @$(MKCONFIG) -a $(call xtract_trab,$@) arm arm920t trab NULL s3c24x0
2459 VCMA9_config : unconfig
2460 @$(MKCONFIG) $(@:_config=) arm arm920t vcma9 mpl s3c24x0
2462 #========================================================================
2463 # ARM supplied Versatile development boards
2464 #========================================================================
2466 versatileab_config \
2467 versatilepb_config : unconfig
2468 @board/versatile/split_by_variant.sh $@
2470 voiceblue_smallflash_config \
2471 voiceblue_config: unconfig
2472 @mkdir -p $(obj)include
2473 @mkdir -p $(obj)board/voiceblue
2474 @if [ "$(findstring _smallflash_,$@)" ] ; then \
2475 $(XECHO) "... boot from lower flash bank" ; \
2476 echo "#define VOICEBLUE_SMALL_FLASH" >>$(obj)include/config.h ; \
2477 echo "VOICEBLUE_SMALL_FLASH=y" >$(obj)board/voiceblue/config.tmp ; \
2479 $(XECHO) "... boot from upper flash bank" ; \
2480 >$(obj)include/config.h ; \
2481 echo "VOICEBLUE_SMALL_FLASH=n" >$(obj)board/voiceblue/config.tmp ; \
2483 @$(MKCONFIG) -a voiceblue arm arm925t voiceblue
2485 cm4008_config : unconfig
2486 @$(MKCONFIG) $(@:_config=) arm arm920t cm4008 NULL ks8695
2488 cm41xx_config : unconfig
2489 @$(MKCONFIG) $(@:_config=) arm arm920t cm41xx NULL ks8695
2491 gth2_config : unconfig
2492 @mkdir -p $(obj)include
2493 @ >$(obj)include/config.h
2494 @echo "#define CONFIG_GTH2 1" >>$(obj)include/config.h
2495 @$(MKCONFIG) -a gth2 mips mips gth2
2497 #########################################################################
2499 #########################################################################
2501 B2_config : unconfig
2502 @$(MKCONFIG) $(@:_config=) arm s3c44b0 B2 dave
2504 #########################################################################
2506 #########################################################################
2508 armadillo_config: unconfig
2509 @$(MKCONFIG) $(@:_config=) arm arm720t armadillo
2511 ep7312_config : unconfig
2512 @$(MKCONFIG) $(@:_config=) arm arm720t ep7312
2514 impa7_config : unconfig
2515 @$(MKCONFIG) $(@:_config=) arm arm720t impa7
2517 modnet50_config : unconfig
2518 @$(MKCONFIG) $(@:_config=) arm arm720t modnet50
2520 evb4510_config : unconfig
2521 @$(MKCONFIG) $(@:_config=) arm arm720t evb4510
2523 lpc2292sodimm_config: unconfig
2524 @$(MKCONFIG) $(@:_config=) arm arm720t lpc2292sodimm NULL lpc2292
2526 SMN42_config : unconfig
2527 @$(MKCONFIG) $(@:_config=) arm arm720t SMN42 siemens lpc2292
2529 #########################################################################
2531 #########################################################################
2533 adsvix_config : unconfig
2534 @$(MKCONFIG) $(@:_config=) arm pxa adsvix
2536 cerf250_config : unconfig
2537 @$(MKCONFIG) $(@:_config=) arm pxa cerf250
2539 cradle_config : unconfig
2540 @$(MKCONFIG) $(@:_config=) arm pxa cradle
2542 csb226_config : unconfig
2543 @$(MKCONFIG) $(@:_config=) arm pxa csb226
2546 @$(MKCONFIG) $(@:_config=) arm pxa delta
2548 innokom_config : unconfig
2549 @$(MKCONFIG) $(@:_config=) arm pxa innokom
2551 ixdp425_config : unconfig
2552 @$(MKCONFIG) $(@:_config=) arm ixp ixdp425
2554 ixdpg425_config : unconfig
2555 @$(MKCONFIG) $(@:_config=) arm ixp ixdp425
2557 lubbock_config : unconfig
2558 @$(MKCONFIG) $(@:_config=) arm pxa lubbock
2560 pleb2_config : unconfig
2561 @$(MKCONFIG) $(@:_config=) arm pxa pleb2
2563 logodl_config : unconfig
2564 @$(MKCONFIG) $(@:_config=) arm pxa logodl
2567 scpu_config: unconfig
2568 @mkdir -p $(obj)include
2569 @if [ "$(findstring scpu_,$@)" ] ; then \
2570 echo "#define CONFIG_SCPU" >>$(obj)include/config.h ; \
2571 $(XECHO) "... on SCPU board variant" ; \
2573 >$(obj)include/config.h ; \
2575 @$(MKCONFIG) -a pdnb3 arm ixp pdnb3 prodrive
2577 pxa255_idp_config: unconfig
2578 @$(MKCONFIG) $(@:_config=) arm pxa pxa255_idp
2580 trizepsiv_config : unconfig
2581 @$(MKCONFIG) $(@:_config=) arm pxa trizepsiv
2583 wepep250_config : unconfig
2584 @$(MKCONFIG) $(@:_config=) arm pxa wepep250
2586 xaeniax_config : unconfig
2587 @$(MKCONFIG) $(@:_config=) arm pxa xaeniax
2589 xm250_config : unconfig
2590 @$(MKCONFIG) $(@:_config=) arm pxa xm250
2592 xsengine_config : unconfig
2593 @$(MKCONFIG) $(@:_config=) arm pxa xsengine
2596 @$(MKCONFIG) $(@:_config=) arm pxa zylonite
2598 #########################################################################
2600 #########################################################################
2601 omap2420h4_config : unconfig
2602 @$(MKCONFIG) $(@:_config=) arm arm1136 omap2420h4
2604 apollon_config : unconfig
2605 @$(MKCONFIG) $(@:_config=) arm arm1136 apollon
2607 #========================================================================
2609 #========================================================================
2610 #########################################################################
2612 #########################################################################
2613 sc520_cdp_config : unconfig
2614 @$(MKCONFIG) $(@:_config=) i386 i386 sc520_cdp
2616 sc520_spunk_config : unconfig
2617 @$(MKCONFIG) $(@:_config=) i386 i386 sc520_spunk
2619 sc520_spunk_rel_config : unconfig
2620 @$(MKCONFIG) $(@:_config=) i386 i386 sc520_spunk
2622 #========================================================================
2624 #========================================================================
2625 #########################################################################
2627 #########################################################################
2629 xtract_incaip = $(subst _100MHz,,$(subst _133MHz,,$(subst _150MHz,,$(subst _config,,$1))))
2631 incaip_100MHz_config \
2632 incaip_133MHz_config \
2633 incaip_150MHz_config \
2634 incaip_config: unconfig
2635 @mkdir -p $(obj)include
2636 @ >$(obj)include/config.h
2637 @[ -z "$(findstring _100MHz,$@)" ] || \
2638 { echo "#define CPU_CLOCK_RATE 100000000" >>$(obj)include/config.h ; \
2639 $(XECHO) "... with 100MHz system clock" ; \
2641 @[ -z "$(findstring _133MHz,$@)" ] || \
2642 { echo "#define CPU_CLOCK_RATE 133000000" >>$(obj)include/config.h ; \
2643 $(XECHO) "... with 133MHz system clock" ; \
2645 @[ -z "$(findstring _150MHz,$@)" ] || \
2646 { echo "#define CPU_CLOCK_RATE 150000000" >>$(obj)include/config.h ; \
2647 $(XECHO) "... with 150MHz system clock" ; \
2649 @$(MKCONFIG) -a $(call xtract_incaip,$@) mips mips incaip
2651 tb0229_config: unconfig
2652 @$(MKCONFIG) $(@:_config=) mips mips tb0229
2654 #########################################################################
2656 #########################################################################
2657 dbau1000_config : unconfig
2658 @mkdir -p $(obj)include
2659 @ >$(obj)include/config.h
2660 @echo "#define CONFIG_DBAU1000 1" >>$(obj)include/config.h
2661 @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00
2663 dbau1100_config : unconfig
2664 @mkdir -p $(obj)include
2665 @ >$(obj)include/config.h
2666 @echo "#define CONFIG_DBAU1100 1" >>$(obj)include/config.h
2667 @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00
2669 dbau1500_config : unconfig
2670 @mkdir -p $(obj)include
2671 @ >$(obj)include/config.h
2672 @echo "#define CONFIG_DBAU1500 1" >>$(obj)include/config.h
2673 @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00
2675 dbau1550_config : unconfig
2676 @mkdir -p $(obj)include
2677 @ >$(obj)include/config.h
2678 @echo "#define CONFIG_DBAU1550 1" >>$(obj)include/config.h
2679 @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00
2681 dbau1550_el_config : unconfig
2682 @mkdir -p $(obj)include
2683 @ >$(obj)include/config.h
2684 @echo "#define CONFIG_DBAU1550 1" >>$(obj)include/config.h
2685 @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00
2687 pb1000_config : unconfig
2688 @mkdir -p $(obj)include
2689 @ >$(obj)include/config.h
2690 @echo "#define CONFIG_PB1000 1" >>$(obj)include/config.h
2691 @$(MKCONFIG) -a pb1x00 mips mips pb1x00
2693 #########################################################################
2695 #########################################################################
2697 purple_config : unconfig
2698 @$(MKCONFIG) $(@:_config=) mips mips purple
2700 #========================================================================
2702 #========================================================================
2703 #########################################################################
2705 #########################################################################
2707 DK1C20_safe_32_config \
2708 DK1C20_standard_32_config \
2709 DK1C20_config: unconfig
2710 @mkdir -p $(obj)include
2711 @ >$(obj)include/config.h
2712 @[ -z "$(findstring _safe_32,$@)" ] || \
2713 { echo "#define CONFIG_NIOS_SAFE_32 1" >>$(obj)include/config.h ; \
2714 $(XECHO) "... NIOS 'safe_32' configuration" ; \
2716 @[ -z "$(findstring _standard_32,$@)" ] || \
2717 { echo "#define CONFIG_NIOS_STANDARD_32 1" >>$(obj)include/config.h ; \
2718 $(XECHO) "... NIOS 'standard_32' configuration" ; \
2720 @[ -z "$(findstring DK1C20_config,$@)" ] || \
2721 { echo "#define CONFIG_NIOS_STANDARD_32 1" >>$(obj)include/config.h ; \
2722 $(XECHO) "... NIOS 'standard_32' configuration (DEFAULT)" ; \
2724 @$(MKCONFIG) -a DK1C20 nios nios dk1c20 altera
2726 DK1S10_safe_32_config \
2727 DK1S10_standard_32_config \
2728 DK1S10_mtx_ldk_20_config \
2729 DK1S10_config: unconfig
2730 @mkdir -p $(obj)include
2731 @ >$(obj)include/config.h
2732 @[ -z "$(findstring _safe_32,$@)" ] || \
2733 { echo "#define CONFIG_NIOS_SAFE_32 1" >>$(obj)include/config.h ; \
2734 $(XECHO) "... NIOS 'safe_32' configuration" ; \
2736 @[ -z "$(findstring _standard_32,$@)" ] || \
2737 { echo "#define CONFIG_NIOS_STANDARD_32 1" >>$(obj)include/config.h ; \
2738 $(XECHO) "... NIOS 'standard_32' configuration" ; \
2740 @[ -z "$(findstring _mtx_ldk_20,$@)" ] || \
2741 { echo "#define CONFIG_NIOS_MTX_LDK_20 1" >>$(obj)include/config.h ; \
2742 $(XECHO) "... NIOS 'mtx_ldk_20' configuration" ; \
2744 @[ -z "$(findstring DK1S10_config,$@)" ] || \
2745 { echo "#define CONFIG_NIOS_STANDARD_32 1" >>$(obj)include/config.h ; \
2746 $(XECHO) "... NIOS 'standard_32' configuration (DEFAULT)" ; \
2748 @$(MKCONFIG) -a DK1S10 nios nios dk1s10 altera
2750 ADNPESC1_DNPEVA2_base_32_config \
2751 ADNPESC1_base_32_config \
2752 ADNPESC1_config: unconfig
2753 @mkdir -p $(obj)include
2754 @ >$(obj)include/config.h
2755 @[ -z "$(findstring _DNPEVA2,$@)" ] || \
2756 { echo "#define CONFIG_DNPEVA2 1" >>$(obj)include/config.h ; \
2757 $(XECHO) "... DNP/EVA2 configuration" ; \
2759 @[ -z "$(findstring _base_32,$@)" ] || \
2760 { echo "#define CONFIG_NIOS_BASE_32 1" >>$(obj)include/config.h ; \
2761 $(XECHO) "... NIOS 'base_32' configuration" ; \
2763 @[ -z "$(findstring ADNPESC1_config,$@)" ] || \
2764 { echo "#define CONFIG_NIOS_BASE_32 1" >>$(obj)include/config.h ; \
2765 $(XECHO) "... NIOS 'base_32' configuration (DEFAULT)" ; \
2767 @$(MKCONFIG) -a ADNPESC1 nios nios adnpesc1 ssv
2769 #########################################################################
2771 #########################################################################
2773 EP1C20_config : unconfig
2774 @$(MKCONFIG) EP1C20 nios2 nios2 ep1c20 altera
2776 EP1S10_config : unconfig
2777 @$(MKCONFIG) EP1S10 nios2 nios2 ep1s10 altera
2779 EP1S40_config : unconfig
2780 @$(MKCONFIG) EP1S40 nios2 nios2 ep1s40 altera
2782 PK1C20_config : unconfig
2783 @$(MKCONFIG) PK1C20 nios2 nios2 pk1c20 psyent
2785 PCI5441_config : unconfig
2786 @$(MKCONFIG) PCI5441 nios2 nios2 pci5441 psyent
2788 #========================================================================
2790 #========================================================================
2791 #########################################################################
2793 #########################################################################
2794 suzaku_config: unconfig
2795 @mkdir -p $(obj)include
2796 @ >$(obj)include/config.h
2797 @echo "#define CONFIG_SUZAKU 1" >> $(obj)include/config.h
2798 @$(MKCONFIG) -a $(@:_config=) microblaze microblaze suzaku AtmarkTechno
2800 ml401_config: unconfig
2801 @mkdir -p $(obj)include
2802 @ >$(obj)include/config.h
2803 @echo "#define CONFIG_ML401 1" >> $(obj)include/config.h
2804 @$(MKCONFIG) -a $(@:_config=) microblaze microblaze ml401 xilinx
2806 xupv2p_config: unconfig
2807 @mkdir -p $(obj)include
2808 @ >$(obj)include/config.h
2809 @echo "#define CONFIG_XUPV2P 1" >> $(obj)include/config.h
2810 @$(MKCONFIG) -a $(@:_config=) microblaze microblaze xupv2p xilinx
2812 #########################################################################
2814 #########################################################################
2815 bf533-ezkit_config: unconfig
2816 @$(MKCONFIG) $(@:_config=) blackfin bf533 bf533-ezkit
2818 bf533-stamp_config: unconfig
2819 @$(MKCONFIG) $(@:_config=) blackfin bf533 bf533-stamp
2821 bf537-stamp_config: unconfig
2822 @$(MKCONFIG) $(@:_config=) blackfin bf537 bf537-stamp
2824 bf561-ezkit_config: unconfig
2825 @$(MKCONFIG) $(@:_config=) blackfin bf561 bf561-ezkit
2827 #========================================================================
2829 #========================================================================
2830 #########################################################################
2832 #########################################################################
2834 atstk1002_config : unconfig
2835 @$(MKCONFIG) $(@:_config=) avr32 at32ap atstk1000 atmel at32ap700x
2837 atstk1003_config : unconfig
2838 @$(MKCONFIG) $(@:_config=) avr32 at32ap atstk1000 atmel at32ap700x
2840 atstk1004_config : unconfig
2841 @$(MKCONFIG) $(@:_config=) avr32 at32ap atstk1000 atmel at32ap700x
2843 atngw100_config : unconfig
2844 @$(MKCONFIG) $(@:_config=) avr32 at32ap atngw100 atmel at32ap700x
2846 #########################################################################
2847 #########################################################################
2848 #########################################################################
2850 #########################################################################
2851 ## sh3 (Renesas SuperH)
2852 #########################################################################
2853 ms7720se_config: unconfig
2855 @echo "#define CONFIG_MS7720SE 1" >> include/config.h
2856 @./mkconfig -a $(@:_config=) sh sh3 ms7720se
2858 #########################################################################
2859 ## sh4 (Renesas SuperH)
2860 #########################################################################
2861 ms7750se_config: unconfig
2862 @ >$(obj)include/config.h
2863 @echo "#define CONFIG_MS7750SE 1" >> $(obj)include/config.h
2864 @./mkconfig -a $(@:_config=) sh sh4 ms7750se
2866 ms7722se_config : unconfig
2867 @ >$(obj)include/config.h
2868 @echo "#define CONFIG_MS7722SE 1" >> $(obj)include/config.h
2869 @./mkconfig -a $(@:_config=) sh sh4 ms7722se
2871 #########################################################################
2872 #########################################################################
2873 #########################################################################
2876 @find $(OBJTREE) -type f \
2877 \( -name 'core' -o -name '*.bak' -o -name '*~' \
2878 -o -name '*.o' -o -name '*.a' \) -print \
2880 @rm -f $(obj)examples/hello_world $(obj)examples/timer \
2881 $(obj)examples/eepro100_eeprom $(obj)examples/sched \
2882 $(obj)examples/mem_to_mem_idma2intr $(obj)examples/82559_eeprom \
2883 $(obj)examples/smc91111_eeprom $(obj)examples/interrupt \
2884 $(obj)examples/test_burst
2885 @rm -f $(obj)tools/img2srec $(obj)tools/mkimage $(obj)tools/envcrc \
2886 $(obj)tools/gen_eth_addr $(obj)tools/ubsha1
2887 @rm -f $(obj)tools/mpc86x_clk $(obj)tools/ncb
2888 @rm -f $(obj)tools/easylogo/easylogo $(obj)tools/bmp_logo
2889 @rm -f $(obj)tools/gdb/astest $(obj)tools/gdb/gdbcont $(obj)tools/gdb/gdbsend
2890 @rm -f $(obj)tools/env/fw_printenv $(obj)tools/env/fw_setenv
2891 @rm -f $(obj)board/cray/L1/bootscript.c $(obj)board/cray/L1/bootscript.image
2892 @rm -f $(obj)board/netstar/eeprom $(obj)board/netstar/crcek $(obj)board/netstar/crcit
2893 @rm -f $(obj)board/netstar/*.srec $(obj)board/netstar/*.bin
2894 @rm -f $(obj)board/trab/trab_fkt $(obj)board/voiceblue/eeprom
2895 @rm -f $(obj)board/integratorap/u-boot.lds $(obj)board/integratorcp/u-boot.lds
2896 @rm -f $(obj)board/bf533-ezkit/u-boot.lds $(obj)board/bf533-stamp/u-boot.lds
2897 @rm -f $(obj)board/bf537-stamp/u-boot.lds $(obj)board/bf561-ezkit/u-boot.lds
2898 @rm -f $(obj)include/bmp_logo.h
2899 @rm -f $(obj)nand_spl/u-boot-spl $(obj)nand_spl/u-boot-spl.map
2900 @rm -f $(obj)api_examples/demo $(VERSION_FILE)
2903 @find $(OBJTREE) -type f \( -name .depend \
2904 -o -name '*.srec' -o -name '*.bin' -o -name u-boot.img \) \
2907 @rm -f $(OBJS) $(obj)*.bak $(obj)ctags $(obj)etags $(obj)TAGS
2909 @rm -f $(obj)u-boot $(obj)u-boot.map $(obj)u-boot.hex $(ALL)
2910 @rm -f $(obj)tools/crc32.c $(obj)tools/environment.c $(obj)tools/env/crc32.c $(obj)tools/sha1.c
2911 @rm -f $(obj)tools/inca-swap-bytes $(obj)cpu/mpc824x/bedbug_603e.c
2912 @rm -f $(obj)include/asm/proc $(obj)include/asm/arch $(obj)include/asm
2913 @[ ! -d $(obj)nand_spl ] || find $(obj)nand_spl -lname "*" -print | xargs rm -f
2914 @[ ! -d $(obj)api_examples ] || find $(obj)api_examples -lname "*" -print | xargs rm -f
2916 ifeq ($(OBJTREE),$(SRCTREE))
2918 distclean: clobber unconfig
2921 distclean: clobber unconfig
2926 F=`basename $(TOPDIR)` ; cd .. ; \
2927 gtar --force-local -zcvf `date "+$$F-%Y-%m-%d-%T.tar.gz"` $$F
2929 #########################################################################