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 := $(addprefix $(obj),$(OBJS))
191 LIBS = lib_generic/libgeneric.a
192 LIBS += $(shell if [ -f board/$(VENDOR)/common/Makefile ]; then echo \
193 "board/$(VENDOR)/common/lib$(VENDOR).a"; fi)
194 LIBS += board/$(BOARDDIR)/lib$(BOARD).a
195 LIBS += cpu/$(CPU)/lib$(CPU).a
197 LIBS += cpu/$(CPU)/$(SOC)/lib$(SOC).a
200 LIBS += cpu/ixp/npe/libnpe.a
202 LIBS += lib_$(ARCH)/lib$(ARCH).a
203 LIBS += fs/cramfs/libcramfs.a fs/fat/libfat.a fs/fdos/libfdos.a fs/jffs2/libjffs2.a \
204 fs/reiserfs/libreiserfs.a fs/ext2/libext2fs.a
206 LIBS += disk/libdisk.a
207 LIBS += drivers/bios_emulator/libatibiosemu.a
208 LIBS += drivers/block/libblock.a
209 LIBS += drivers/dma/libdma.a
210 LIBS += drivers/hwmon/libhwmon.a
211 LIBS += drivers/i2c/libi2c.a
212 LIBS += drivers/input/libinput.a
213 LIBS += drivers/misc/libmisc.a
214 LIBS += drivers/mtd/libmtd.a
215 LIBS += drivers/mtd/nand/libnand.a
216 LIBS += drivers/mtd/nand_legacy/libnand_legacy.a
217 LIBS += drivers/mtd/onenand/libonenand.a
218 LIBS += drivers/net/libnet.a
219 LIBS += drivers/net/sk98lin/libsk98lin.a
220 LIBS += drivers/pci/libpci.a
221 LIBS += drivers/pcmcia/libpcmcia.a
222 LIBS += drivers/spi/libspi.a
223 ifeq ($(CPU),mpc83xx)
224 LIBS += drivers/qe/qe.a
226 ifeq ($(CPU),mpc85xx)
227 LIBS += drivers/qe/qe.a
229 LIBS += drivers/rtc/librtc.a
230 LIBS += drivers/serial/libserial.a
231 LIBS += drivers/usb/libusb.a
232 LIBS += drivers/video/libvideo.a
233 LIBS += post/libpost.a post/drivers/libpostdrivers.a
234 LIBS += $(shell if [ -d post/lib_$(ARCH) ]; then echo \
235 "post/lib_$(ARCH)/libpost$(ARCH).a"; fi)
236 LIBS += $(shell if [ -d post/lib_$(ARCH)/fpu ]; then echo \
237 "post/lib_$(ARCH)/fpu/libpost$(ARCH)fpu.a"; fi)
238 LIBS += $(shell if [ -d post/cpu/$(CPU) ]; then echo \
239 "post/cpu/$(CPU)/libpost$(CPU).a"; fi)
240 LIBS += $(shell if [ -d post/board/$(BOARDDIR) ]; then echo \
241 "post/board/$(BOARDDIR)/libpost$(BOARD).a"; fi)
242 LIBS += common/libcommon.a
243 LIBS += libfdt/libfdt.a
244 ifeq ($(CONFIG_API),y)
248 LIBS := $(addprefix $(obj),$(LIBS))
252 PLATFORM_LIBS += -L $(shell dirname `$(CC) $(CFLAGS) -print-libgcc-file-name`) -lgcc
254 # The "tools" are needed early, so put this first
255 # Don't include stuff already done in $(LIBS)
259 ifeq ($(CONFIG_API),y)
260 SUBDIRS += api_examples
265 ifeq ($(CONFIG_NAND_U_BOOT),y)
267 U_BOOT_NAND = $(obj)u-boot-nand.bin
270 __OBJS := $(subst $(obj),,$(OBJS))
271 __LIBS := $(subst $(obj),,$(LIBS))
273 #########################################################################
274 #########################################################################
276 ALL += $(obj)u-boot.srec $(obj)u-boot.bin $(obj)System.map $(U_BOOT_NAND)
280 $(obj)u-boot.hex: $(obj)u-boot
281 $(OBJCOPY) ${OBJCFLAGS} -O ihex $< $@
283 $(obj)u-boot.srec: $(obj)u-boot
284 $(OBJCOPY) ${OBJCFLAGS} -O srec $< $@
286 $(obj)u-boot.bin: $(obj)u-boot
287 $(OBJCOPY) ${OBJCFLAGS} -O binary $< $@
289 $(obj)u-boot.img: $(obj)u-boot.bin
290 ./tools/mkimage -A $(ARCH) -T firmware -C none \
291 -a $(TEXT_BASE) -e 0 \
292 -n $(shell sed -n -e 's/.*U_BOOT_VERSION//p' $(VERSION_FILE) | \
293 sed -e 's/"[ ]*$$/ for $(BOARD) board"/') \
296 $(obj)u-boot.sha1: $(obj)u-boot.bin
297 $(obj)tools/ubsha1 $(obj)u-boot.bin
299 $(obj)u-boot.dis: $(obj)u-boot
300 $(OBJDUMP) -d $< > $@
302 $(obj)u-boot: depend $(SUBDIRS) $(OBJS) $(LIBS) $(LDSCRIPT)
303 UNDEF_SYM=`$(OBJDUMP) -x $(LIBS) |sed -n -e 's/.*\($(SYM_PREFIX)__u_boot_cmd_.*\)/-u\1/p'|sort|uniq`;\
304 cd $(LNDIR) && $(LD) $(LDFLAGS) $$UNDEF_SYM $(__OBJS) \
305 --start-group $(__LIBS) --end-group $(PLATFORM_LIBS) \
306 -Map u-boot.map -o u-boot
308 $(OBJS): $(obj)include/autoconf.mk
309 $(MAKE) -C cpu/$(CPU) $(if $(REMOTE_BUILD),$@,$(notdir $@))
311 $(LIBS): $(obj)include/autoconf.mk
312 $(MAKE) -C $(dir $(subst $(obj),,$@))
314 $(SUBDIRS): $(obj)include/autoconf.mk
317 $(NAND_SPL): $(VERSION_FILE) $(obj)include/autoconf.mk
318 $(MAKE) -C nand_spl/board/$(BOARDDIR) all
320 $(U_BOOT_NAND): $(NAND_SPL) $(obj)u-boot.bin $(obj)include/autoconf.mk
321 cat $(obj)nand_spl/u-boot-spl-16k.bin $(obj)u-boot.bin > $(obj)u-boot-nand.bin
324 @( echo -n "#define U_BOOT_VERSION \"U-Boot " ; \
325 echo -n "$(U_BOOT_VERSION)" ; \
326 echo -n $(shell $(CONFIG_SHELL) $(TOPDIR)/tools/setlocalversion \
328 echo "\"" ) > $(VERSION_FILE)
331 $(MAKE) -C tools/gdb all || exit 1
334 $(MAKE) -C tools/updater all || exit 1
337 $(MAKE) -C tools/env all MTD_VERSION=${MTD_VERSION} || exit 1
339 depend dep: $(VERSION_FILE)
340 for dir in $(SUBDIRS) ; do $(MAKE) -C $$dir _depend ; done
342 TAG_SUBDIRS += include
343 TAG_SUBDIRS += lib_generic board/$(BOARDDIR)
344 TAG_SUBDIRS += cpu/$(CPU)
345 TAG_SUBDIRS += lib_$(ARCH)
346 TAG_SUBDIRS += fs/cramfs
347 TAG_SUBDIRS += fs/fat
348 TAG_SUBDIRS += fs/fdos
349 TAG_SUBDIRS += fs/jffs2
352 TAG_SUBDIRS += common
353 TAG_SUBDIRS += drivers/bios_emulator
354 TAG_SUBDIRS += drivers/block
355 TAG_SUBDIRS += drivers/hwmon
356 TAG_SUBDIRS += drivers/i2c
357 TAG_SUBDIRS += drivers/input
358 TAG_SUBDIRS += drivers/misc
359 TAG_SUBDIRS += drivers/mtd
360 TAG_SUBDIRS += drivers/mtd/nand
361 TAG_SUBDIRS += drivers/mtd/nand_legacy
362 TAG_SUBDIRS += drivers/mtd/onenand
363 TAG_SUBDIRS += drivers/net
364 TAG_SUBDIRS += drivers/net/sk98lin
365 TAG_SUBDIRS += drivers/pci
366 TAG_SUBDIRS += drivers/pcmcia
367 TAG_SUBDIRS += drivers/qe
368 TAG_SUBDIRS += drivers/rtc
369 TAG_SUBDIRS += drivers/serial
370 TAG_SUBDIRS += drivers/spi
371 TAG_SUBDIRS += drivers/usb
372 TAG_SUBDIRS += drivers/video
375 ctags -w -o $(obj)ctags `find $(SUBDIRS) $(TAG_SUBDIRS) \
376 -name '*.[ch]' -print`
379 etags -a -o $(obj)etags `find $(SUBDIRS) $(TAG_SUBDIRS) \
380 -name '*.[ch]' -print`
382 $(obj)System.map: $(obj)u-boot
384 grep -v '\(compiled\)\|\(\.o$$\)\|\( [aUw] \)\|\(\.\.ng$$\)\|\(LASH[RL]DI\)' | \
385 sort > $(obj)System.map
388 # Auto-generate the autoconf.mk file (which is included by all makefiles)
390 # This target actually generates 2 files; autoconf.mk and autoconf.mk.dep.
391 # the dep file is only include in this top level makefile to determine when
392 # to regenerate the autoconf.mk file.
393 $(obj)include/autoconf.mk: $(obj)include/config.h $(VERSION_FILE)
394 @$(XECHO) Generating include/autoconf.mk ; \
395 : Generate the dependancies ; \
396 $(CC) -M $(HOST_CFLAGS) $(CPPFLAGS) -MQ $@ include/common.h > $@.dep ; \
397 : Extract the config macros ; \
398 $(CPP) $(CFLAGS) -dM include/common.h | sed -n -f tools/scripts/define2mk.sed > $@
400 sinclude $(obj)include/autoconf.mk.dep
402 #########################################################################
404 all $(obj)u-boot.hex $(obj)u-boot.srec $(obj)u-boot.bin \
405 $(obj)u-boot.img $(obj)u-boot.dis $(obj)u-boot \
406 $(SUBDIRS) $(VERSION_FILE) gdbtools updater env depend \
407 dep tags ctags etags $(obj)System.map:
408 @echo "System not configured - see README" >&2
414 git log --no-merges U-Boot-1_1_5.. | \
415 unexpand -a | sed -e 's/\s\s*$$//' > $@
417 #########################################################################
420 @rm -f $(obj)include/config.h $(obj)include/config.mk \
421 $(obj)board/*/config.tmp $(obj)board/*/*/config.tmp \
422 $(obj)include/autoconf.mk $(obj)include/autoconf.mk.dep
424 #========================================================================
426 #========================================================================
428 #########################################################################
430 #########################################################################
432 canmb_config: unconfig
433 @$(MKCONFIG) -a canmb ppc mpc5xxx canmb
435 cmi_mpc5xx_config: unconfig
436 @$(MKCONFIG) $(@:_config=) ppc mpc5xx cmi
438 PATI_config: unconfig
439 @$(MKCONFIG) $(@:_config=) ppc mpc5xx pati mpl
441 #########################################################################
443 #########################################################################
446 @$(MKCONFIG) -a aev ppc mpc5xxx tqm5200
448 BC3450_config: unconfig
449 @$(MKCONFIG) -a BC3450 ppc mpc5xxx bc3450
451 cpci5200_config: unconfig
452 @$(MKCONFIG) -a cpci5200 ppc mpc5xxx cpci5200 esd
454 hmi1001_config: unconfig
455 @$(MKCONFIG) hmi1001 ppc mpc5xxx hmi1001
458 Lite5200_LOWBOOT_config \
459 Lite5200_LOWBOOT08_config \
460 icecube_5200_config \
461 icecube_5200_LOWBOOT_config \
462 icecube_5200_LOWBOOT08_config \
463 icecube_5200_DDR_config \
464 icecube_5200_DDR_LOWBOOT_config \
465 icecube_5200_DDR_LOWBOOT08_config \
466 icecube_5100_config: unconfig
467 @mkdir -p $(obj)include
468 @mkdir -p $(obj)board/icecube
469 @ >$(obj)include/config.h
470 @[ -z "$(findstring LOWBOOT_,$@)" ] || \
471 { if [ "$(findstring DDR,$@)" ] ; \
472 then echo "TEXT_BASE = 0xFF800000" >$(obj)board/icecube/config.tmp ; \
473 else echo "TEXT_BASE = 0xFF000000" >$(obj)board/icecube/config.tmp ; \
475 $(XECHO) "... with LOWBOOT configuration" ; \
477 @[ -z "$(findstring LOWBOOT08,$@)" ] || \
478 { echo "TEXT_BASE = 0xFF800000" >$(obj)board/icecube/config.tmp ; \
479 echo "... with 8 MB flash only" ; \
480 $(XECHO) "... with LOWBOOT configuration" ; \
482 @[ -z "$(findstring DDR,$@)" ] || \
483 { echo "#define CONFIG_MPC5200_DDR" >>$(obj)include/config.h ; \
484 $(XECHO) "... DDR memory revision" ; \
486 @[ -z "$(findstring 5200,$@)" ] || \
487 { echo "#define CONFIG_MPC5200" >>$(obj)include/config.h ; \
488 $(XECHO) "... with MPC5200 processor" ; \
490 @[ -z "$(findstring 5100,$@)" ] || \
491 { echo "#define CONFIG_MGT5100" >>$(obj)include/config.h ; \
492 $(XECHO) "... with MGT5100 processor" ; \
494 @$(MKCONFIG) -a IceCube ppc mpc5xxx icecube
496 jupiter_config: unconfig
497 @$(MKCONFIG) jupiter ppc mpc5xxx jupiter
499 v38b_config: unconfig
500 @$(MKCONFIG) -a v38b ppc mpc5xxx v38b
502 inka4x0_config: unconfig
503 @$(MKCONFIG) inka4x0 ppc mpc5xxx inka4x0
506 lite5200b_PM_config \
507 lite5200b_LOWBOOT_config: unconfig
508 @mkdir -p $(obj)include
509 @mkdir -p $(obj)board/icecube
510 @ >$(obj)include/config.h
511 @ echo "#define CONFIG_MPC5200_DDR" >>$(obj)include/config.h
512 @ $(XECHO) "... DDR memory revision"
513 @ echo "#define CONFIG_MPC5200" >>$(obj)include/config.h
514 @ echo "#define CONFIG_LITE5200B" >>$(obj)include/config.h
515 @[ -z "$(findstring _PM_,$@)" ] || \
516 { echo "#define CONFIG_LITE5200B_PM" >>$(obj)include/config.h ; \
517 $(XECHO) "... with power management (low-power mode) support" ; \
519 @[ -z "$(findstring LOWBOOT_,$@)" ] || \
520 { echo "TEXT_BASE = 0xFF000000" >$(obj)board/icecube/config.tmp ; \
521 $(XECHO) "... with LOWBOOT configuration" ; \
523 @ $(XECHO) "... with MPC5200B processor"
524 @$(MKCONFIG) -a IceCube ppc mpc5xxx icecube
527 mcc200_SDRAM_config \
528 mcc200_highboot_config \
529 mcc200_COM12_config \
530 mcc200_COM12_SDRAM_config \
531 mcc200_COM12_highboot_config \
532 mcc200_COM12_highboot_SDRAM_config \
533 mcc200_highboot_SDRAM_config \
536 prs200_highboot_config \
537 prs200_highboot_DDR_config: unconfig
538 @mkdir -p $(obj)include
539 @mkdir -p $(obj)board/mcc200
540 @ >$(obj)include/config.h
541 @[ -n "$(findstring highboot,$@)" ] || \
542 { $(XECHO) "... with lowboot configuration" ; \
544 @[ -z "$(findstring highboot,$@)" ] || \
545 { echo "TEXT_BASE = 0xFFF00000" >$(obj)board/mcc200/config.tmp ; \
546 $(XECHO) "... with highboot configuration" ; \
548 @[ -n "$(findstring _SDRAM,$@)" ] || \
549 { if [ -n "$(findstring mcc200,$@)" ]; \
551 $(XECHO) "... with DDR" ; \
553 if [ -n "$(findstring _DDR,$@)" ];\
555 $(XECHO) "... with DDR" ; \
557 echo "#define CONFIG_MCC200_SDRAM" >>$(obj)include/config.h ;\
558 $(XECHO) "... with SDRAM" ; \
562 @[ -z "$(findstring _SDRAM,$@)" ] || \
563 { echo "#define CONFIG_MCC200_SDRAM" >>$(obj)include/config.h ; \
564 $(XECHO) "... with SDRAM" ; \
566 @[ -z "$(findstring COM12,$@)" ] || \
567 { echo "#define CONFIG_CONSOLE_COM12" >>$(obj)include/config.h ; \
568 $(XECHO) "... with console on COM12" ; \
570 @[ -z "$(findstring prs200,$@)" ] || \
571 { echo "#define CONFIG_PRS200" >>$(obj)include/config.h ;\
573 @$(MKCONFIG) -n $@ -a mcc200 ppc mpc5xxx mcc200
575 mecp5200_config: unconfig
576 @$(MKCONFIG) mecp5200 ppc mpc5xxx mecp5200 esd
578 munices_config: unconfig
579 @$(MKCONFIG) munices ppc mpc5xxx munices
582 @$(MKCONFIG) o2dnt ppc mpc5xxx o2dnt
584 pf5200_config: unconfig
585 @$(MKCONFIG) pf5200 ppc mpc5xxx pf5200 esd
589 PM520_ROMBOOT_config \
590 PM520_ROMBOOT_DDR_config: unconfig
591 @mkdir -p $(obj)include
592 @ >$(obj)include/config.h
593 @[ -z "$(findstring DDR,$@)" ] || \
594 { echo "#define CONFIG_MPC5200_DDR" >>$(obj)include/config.h ; \
595 $(XECHO) "... DDR memory revision" ; \
597 @[ -z "$(findstring ROMBOOT,$@)" ] || \
598 { echo "#define CONFIG_BOOT_ROM" >>$(obj)include/config.h ; \
599 $(XECHO) "... booting from 8-bit flash" ; \
601 @$(MKCONFIG) -a PM520 ppc mpc5xxx pm520
603 smmaco4_config: unconfig
604 @$(MKCONFIG) -a smmaco4 ppc mpc5xxx tqm5200
606 cm5200_config: unconfig
607 @./mkconfig -a cm5200 ppc mpc5xxx cm5200
609 spieval_config: unconfig
610 @$(MKCONFIG) -a spieval ppc mpc5xxx tqm5200
613 TB5200_config: unconfig
614 @mkdir -p $(obj)include
615 @[ -z "$(findstring _B,$@)" ] || \
616 { echo "#define CONFIG_TQM5200_B" >>$(obj)include/config.h ; \
617 $(XECHO) "... with MPC5200B processor" ; \
619 @$(MKCONFIG) -n $@ -a TB5200 ppc mpc5xxx tqm5200
623 TOP5200_config: unconfig
624 @mkdir -p $(obj)include
625 @ echo "#define CONFIG_$(@:_config=) 1" >$(obj)include/config.h
626 @$(MKCONFIG) -n $@ -a TOP5200 ppc mpc5xxx top5200 emk
630 Total5200_lowboot_config \
631 Total5200_Rev2_config \
632 Total5200_Rev2_lowboot_config: unconfig
633 @mkdir -p $(obj)include
634 @mkdir -p $(obj)board/total5200
635 @ >$(obj)include/config.h
636 @[ -z "$(findstring 5100,$@)" ] || \
637 { echo "#define CONFIG_MGT5100" >>$(obj)include/config.h ; \
638 $(XECHO) "... with MGT5100 processor" ; \
640 @[ -z "$(findstring 5200,$@)" ] || \
641 { echo "#define CONFIG_MPC5200" >>$(obj)include/config.h ; \
642 $(XECHO) "... with MPC5200 processor" ; \
644 @[ -n "$(findstring Rev,$@)" ] || \
645 { echo "#define CONFIG_TOTAL5200_REV 1" >>$(obj)include/config.h ; \
646 $(XECHO) "... revision 1 board" ; \
648 @[ -z "$(findstring Rev2_,$@)" ] || \
649 { echo "#define CONFIG_TOTAL5200_REV 2" >>$(obj)include/config.h ; \
650 $(XECHO) "... revision 2 board" ; \
652 @[ -z "$(findstring lowboot_,$@)" ] || \
653 { echo "TEXT_BASE = 0xFE000000" >$(obj)board/total5200/config.tmp ; \
654 $(XECHO) "... with lowboot configuration" ; \
656 @$(MKCONFIG) -a Total5200 ppc mpc5xxx total5200
659 cam5200_niosflash_config \
663 TQM5200S_HIGHBOOT_config \
665 TQM5200_B_HIGHBOOT_config \
667 TQM5200_STK100_config: unconfig
668 @mkdir -p $(obj)include
669 @mkdir -p $(obj)board/tqm5200
670 @ >$(obj)include/config.h
671 @[ -z "$(findstring cam5200,$@)" ] || \
672 { echo "#define CONFIG_CAM5200" >>$(obj)include/config.h ; \
673 echo "#define CONFIG_TQM5200S" >>$(obj)include/config.h ; \
674 echo "#define CONFIG_TQM5200_B" >>$(obj)include/config.h ; \
675 $(XECHO) "... TQM5200S on Cam5200" ; \
677 @[ -z "$(findstring niosflash,$@)" ] || \
678 { echo "#define CONFIG_CAM5200_NIOSFLASH" >>$(obj)include/config.h ; \
679 $(XECHO) "... with NIOS flash driver" ; \
681 @[ -z "$(findstring fo300,$@)" ] || \
682 { echo "#define CONFIG_FO300" >>$(obj)include/config.h ; \
683 $(XECHO) "... TQM5200 on FO300" ; \
685 @[ -z "$(findstring MiniFAP,$@)" ] || \
686 { echo "#define CONFIG_MINIFAP" >>$(obj)include/config.h ; \
687 $(XECHO) "... TQM5200_AC on MiniFAP" ; \
689 @[ -z "$(findstring STK100,$@)" ] || \
690 { echo "#define CONFIG_STK52XX_REV100" >>$(obj)include/config.h ; \
691 $(XECHO) "... on a STK52XX.100 base board" ; \
693 @[ -z "$(findstring TQM5200_B,$@)" ] || \
694 { echo "#define CONFIG_TQM5200_B" >>$(obj)include/config.h ; \
696 @[ -z "$(findstring TQM5200S,$@)" ] || \
697 { echo "#define CONFIG_TQM5200S" >>$(obj)include/config.h ; \
698 echo "#define CONFIG_TQM5200_B" >>$(obj)include/config.h ; \
700 @[ -z "$(findstring HIGHBOOT,$@)" ] || \
701 { echo "TEXT_BASE = 0xFFF00000" >$(obj)board/tqm5200/config.tmp ; \
703 @$(MKCONFIG) -n $@ -a TQM5200 ppc mpc5xxx tqm5200
704 uc101_config: unconfig
705 @$(MKCONFIG) uc101 ppc mpc5xxx uc101
706 motionpro_config: unconfig
707 @$(MKCONFIG) motionpro ppc mpc5xxx motionpro
710 #########################################################################
712 #########################################################################
713 ads5121_config: unconfig
714 @$(MKCONFIG) ads5121 ppc mpc512x ads5121
717 #########################################################################
719 #########################################################################
725 @mkdir -p $(obj)include
726 $(if $(findstring AdderII,$@), \
727 @echo "#define CONFIG_MPC852T" > $(obj)include/config.h)
728 @$(MKCONFIG) -a Adder ppc mpc8xx adder
730 AdderUSB_config: unconfig
731 @./mkconfig -a AdderUSB ppc mpc8xx adder
738 FADS860T_config: unconfig
739 @$(MKCONFIG) $(@:_config=) ppc mpc8xx fads
741 AMX860_config : unconfig
742 @$(MKCONFIG) $(@:_config=) ppc mpc8xx amx860 westel
744 c2mon_config: unconfig
745 @$(MKCONFIG) $(@:_config=) ppc mpc8xx c2mon
748 @$(MKCONFIG) $(@:_config=) ppc mpc8xx CCM siemens
750 cogent_mpc8xx_config: unconfig
751 @$(MKCONFIG) $(@:_config=) ppc mpc8xx cogent
753 ELPT860_config: unconfig
754 @$(MKCONFIG) $(@:_config=) ppc mpc8xx elpt860 LEOX
756 EP88x_config: unconfig
757 @$(MKCONFIG) $(@:_config=) ppc mpc8xx ep88x
759 ESTEEM192E_config: unconfig
760 @$(MKCONFIG) $(@:_config=) ppc mpc8xx esteem192e
762 ETX094_config : unconfig
763 @$(MKCONFIG) $(@:_config=) ppc mpc8xx etx094
765 FLAGADM_config: unconfig
766 @$(MKCONFIG) $(@:_config=) ppc mpc8xx flagadm
768 xtract_GEN860T = $(subst _SC,,$(subst _config,,$1))
771 GEN860T_config: unconfig
772 @mkdir -p $(obj)include
773 @ >$(obj)include/config.h
774 @[ -z "$(findstring _SC,$@)" ] || \
775 { echo "#define CONFIG_SC" >>$(obj)include/config.h ; \
776 $(XECHO) "With reduced H/W feature set (SC)..." ; \
778 @$(MKCONFIG) -a $(call xtract_GEN860T,$@) ppc mpc8xx gen860t
780 GENIETV_config: unconfig
781 @$(MKCONFIG) $(@:_config=) ppc mpc8xx genietv
784 @$(MKCONFIG) $(@:_config=) ppc mpc8xx gth
786 hermes_config : unconfig
787 @$(MKCONFIG) $(@:_config=) ppc mpc8xx hermes
789 HMI10_config : unconfig
790 @$(MKCONFIG) $(@:_config=) ppc mpc8xx tqm8xx
792 IAD210_config: unconfig
793 @$(MKCONFIG) $(@:_config=) ppc mpc8xx IAD210 siemens
795 xtract_ICU862 = $(subst _100MHz,,$(subst _config,,$1))
797 ICU862_100MHz_config \
798 ICU862_config: unconfig
799 @mkdir -p $(obj)include
800 @ >$(obj)include/config.h
801 @[ -z "$(findstring _100MHz,$@)" ] || \
802 { echo "#define CONFIG_100MHz" >>$(obj)include/config.h ; \
803 $(XECHO) "... with 100MHz system clock" ; \
805 @$(MKCONFIG) -a $(call xtract_ICU862,$@) ppc mpc8xx icu862
807 IP860_config : unconfig
808 @$(MKCONFIG) $(@:_config=) ppc mpc8xx ip860
812 IVML24_config: unconfig
813 @mkdir -p $(obj)include
814 @ >$(obj)include/config.h
815 @[ -z "$(findstring IVML24_config,$@)" ] || \
816 { echo "#define CONFIG_IVML24_16M" >>$(obj)include/config.h ; \
818 @[ -z "$(findstring IVML24_128_config,$@)" ] || \
819 { echo "#define CONFIG_IVML24_32M" >>$(obj)include/config.h ; \
821 @[ -z "$(findstring IVML24_256_config,$@)" ] || \
822 { echo "#define CONFIG_IVML24_64M" >>$(obj)include/config.h ; \
824 @$(MKCONFIG) -a IVML24 ppc mpc8xx ivm
828 IVMS8_config: unconfig
829 @mkdir -p $(obj)include
830 @ >$(obj)include/config.h
831 @[ -z "$(findstring IVMS8_config,$@)" ] || \
832 { echo "#define CONFIG_IVMS8_16M" >>$(obj)include/config.h ; \
834 @[ -z "$(findstring IVMS8_128_config,$@)" ] || \
835 { echo "#define CONFIG_IVMS8_32M" >>$(obj)include/config.h ; \
837 @[ -z "$(findstring IVMS8_256_config,$@)" ] || \
838 { echo "#define CONFIG_IVMS8_64M" >>$(obj)include/config.h ; \
840 @$(MKCONFIG) -a IVMS8 ppc mpc8xx ivm
842 KUP4K_config : unconfig
843 @$(MKCONFIG) $(@:_config=) ppc mpc8xx kup4k kup
845 KUP4X_config : unconfig
846 @$(MKCONFIG) $(@:_config=) ppc mpc8xx kup4x kup
848 LANTEC_config : unconfig
849 @$(MKCONFIG) $(@:_config=) ppc mpc8xx lantec
851 lwmon_config: unconfig
852 @$(MKCONFIG) $(@:_config=) ppc mpc8xx lwmon
855 MBX860T_config: unconfig
856 @$(MKCONFIG) $(@:_config=) ppc mpc8xx mbx8xx
858 mgsuvd_config: unconfig
859 @$(MKCONFIG) $(@:_config=) ppc mpc8xx mgsuvd
861 MHPC_config: unconfig
862 @$(MKCONFIG) $(@:_config=) ppc mpc8xx mhpc eltec
864 MVS1_config : unconfig
865 @$(MKCONFIG) $(@:_config=) ppc mpc8xx mvs1
867 xtract_NETVIA = $(subst _V2,,$(subst _config,,$1))
870 NETVIA_config: unconfig
871 @mkdir -p $(obj)include
872 @ >$(obj)include/config.h
873 @[ -z "$(findstring NETVIA_config,$@)" ] || \
874 { echo "#define CONFIG_NETVIA_VERSION 1" >>$(obj)include/config.h ; \
875 $(XECHO) "... Version 1" ; \
877 @[ -z "$(findstring NETVIA_V2_config,$@)" ] || \
878 { echo "#define CONFIG_NETVIA_VERSION 2" >>$(obj)include/config.h ; \
879 $(XECHO) "... Version 2" ; \
881 @$(MKCONFIG) -a $(call xtract_NETVIA,$@) ppc mpc8xx netvia
883 xtract_NETPHONE = $(subst _V2,,$(subst _config,,$1))
886 NETPHONE_config: unconfig
887 @mkdir -p $(obj)include
888 @ >$(obj)include/config.h
889 @[ -z "$(findstring NETPHONE_config,$@)" ] || \
890 { echo "#define CONFIG_NETPHONE_VERSION 1" >>$(obj)include/config.h ; \
892 @[ -z "$(findstring NETPHONE_V2_config,$@)" ] || \
893 { echo "#define CONFIG_NETPHONE_VERSION 2" >>$(obj)include/config.h ; \
895 @$(MKCONFIG) -a $(call xtract_NETPHONE,$@) ppc mpc8xx netphone
897 xtract_NETTA = $(subst _SWAPHOOK,,$(subst _6412,,$(subst _ISDN,,$(subst _config,,$1))))
899 NETTA_ISDN_6412_SWAPHOOK_config \
900 NETTA_ISDN_SWAPHOOK_config \
901 NETTA_6412_SWAPHOOK_config \
902 NETTA_SWAPHOOK_config \
903 NETTA_ISDN_6412_config \
906 NETTA_config: unconfig
907 @mkdir -p $(obj)include
908 @ >$(obj)include/config.h
909 @[ -z "$(findstring ISDN_,$@)" ] || \
910 { echo "#define CONFIG_NETTA_ISDN 1" >>$(obj)include/config.h ; \
912 @[ -n "$(findstring ISDN_,$@)" ] || \
913 { echo "#undef CONFIG_NETTA_ISDN" >>$(obj)include/config.h ; \
915 @[ -z "$(findstring 6412_,$@)" ] || \
916 { echo "#define CONFIG_NETTA_6412 1" >>$(obj)include/config.h ; \
918 @[ -n "$(findstring 6412_,$@)" ] || \
919 { echo "#undef CONFIG_NETTA_6412" >>$(obj)include/config.h ; \
921 @[ -z "$(findstring SWAPHOOK_,$@)" ] || \
922 { echo "#define CONFIG_NETTA_SWAPHOOK 1" >>$(obj)include/config.h ; \
924 @[ -n "$(findstring SWAPHOOK_,$@)" ] || \
925 { echo "#undef CONFIG_NETTA_SWAPHOOK" >>$(obj)include/config.h ; \
927 @$(MKCONFIG) -a $(call xtract_NETTA,$@) ppc mpc8xx netta
929 xtract_NETTA2 = $(subst _V2,,$(subst _config,,$1))
932 NETTA2_config: unconfig
933 @mkdir -p $(obj)include
934 @ >$(obj)include/config.h
935 @[ -z "$(findstring NETTA2_config,$@)" ] || \
936 { echo "#define CONFIG_NETTA2_VERSION 1" >>$(obj)include/config.h ; \
938 @[ -z "$(findstring NETTA2_V2_config,$@)" ] || \
939 { echo "#define CONFIG_NETTA2_VERSION 2" >>$(obj)include/config.h ; \
941 @$(MKCONFIG) -a $(call xtract_NETTA2,$@) ppc mpc8xx netta2
945 CP850_config: unconfig
946 @mkdir -p $(obj)include
947 @ >$(obj)include/config.h
948 @[ -z "$(findstring CP850,$@)" ] || \
949 { echo "#define CONFIG_CP850 1" >>$(obj)include/config.h ; \
950 echo "#define CONFIG_IDS852_REV2 1" >>$(obj)include/config.h ; \
952 @[ -z "$(findstring Rev1,$@)" ] || \
953 { echo "#define CONFIG_IDS852_REV1 1" >>$(obj)include/config.h ; \
955 @[ -z "$(findstring Rev2,$@)" ] || \
956 { echo "#define CONFIG_IDS852_REV2 1" >>$(obj)include/config.h ; \
958 @$(MKCONFIG) -a NC650 ppc mpc8xx nc650
960 NX823_config: unconfig
961 @$(MKCONFIG) $(@:_config=) ppc mpc8xx nx823
963 pcu_e_config: unconfig
964 @$(MKCONFIG) $(@:_config=) ppc mpc8xx pcu_e siemens
966 QS850_config: unconfig
967 @$(MKCONFIG) $(@:_config=) ppc mpc8xx qs850 snmc
969 QS823_config: unconfig
970 @$(MKCONFIG) $(@:_config=) ppc mpc8xx qs850 snmc
972 QS860T_config: unconfig
973 @$(MKCONFIG) $(@:_config=) ppc mpc8xx qs860t snmc
975 quantum_config: unconfig
976 @$(MKCONFIG) $(@:_config=) ppc mpc8xx quantum
978 R360MPI_config: unconfig
979 @$(MKCONFIG) $(@:_config=) ppc mpc8xx r360mpi
981 RBC823_config: unconfig
982 @$(MKCONFIG) $(@:_config=) ppc mpc8xx rbc823
984 RPXClassic_config: unconfig
985 @$(MKCONFIG) $(@:_config=) ppc mpc8xx RPXClassic
987 RPXlite_config: unconfig
988 @$(MKCONFIG) $(@:_config=) ppc mpc8xx RPXlite
990 RPXlite_DW_64_config \
991 RPXlite_DW_LCD_config \
992 RPXlite_DW_64_LCD_config \
993 RPXlite_DW_NVRAM_config \
994 RPXlite_DW_NVRAM_64_config \
995 RPXlite_DW_NVRAM_LCD_config \
996 RPXlite_DW_NVRAM_64_LCD_config \
997 RPXlite_DW_config: unconfig
998 @mkdir -p $(obj)include
999 @ >$(obj)include/config.h
1000 @[ -z "$(findstring _64,$@)" ] || \
1001 { echo "#define RPXlite_64MHz" >>$(obj)include/config.h ; \
1002 $(XECHO) "... with 64MHz system clock ..."; \
1004 @[ -z "$(findstring _LCD,$@)" ] || \
1005 { echo "#define CONFIG_LCD" >>$(obj)include/config.h ; \
1006 echo "#define CONFIG_NEC_NL6448BC20" >>$(obj)include/config.h ; \
1007 $(XECHO) "... with LCD display ..."; \
1009 @[ -z "$(findstring _NVRAM,$@)" ] || \
1010 { echo "#define CFG_ENV_IS_IN_NVRAM" >>$(obj)include/config.h ; \
1011 $(XECHO) "... with ENV in NVRAM ..."; \
1013 @$(MKCONFIG) -a RPXlite_DW ppc mpc8xx RPXlite_dw
1015 rmu_config: unconfig
1016 @$(MKCONFIG) $(@:_config=) ppc mpc8xx rmu
1018 RRvision_config: unconfig
1019 @$(MKCONFIG) $(@:_config=) ppc mpc8xx RRvision
1021 RRvision_LCD_config: unconfig
1022 @mkdir -p $(obj)include
1023 @echo "#define CONFIG_LCD" >$(obj)include/config.h
1024 @echo "#define CONFIG_SHARP_LQ104V7DS01" >>$(obj)include/config.h
1025 @$(MKCONFIG) -a RRvision ppc mpc8xx RRvision
1027 SM850_config : unconfig
1028 @$(MKCONFIG) $(@:_config=) ppc mpc8xx tqm8xx
1031 @$(MKCONFIG) $(@:_config=) ppc mpc8xx spc1920
1033 SPD823TS_config: unconfig
1034 @$(MKCONFIG) $(@:_config=) ppc mpc8xx spd8xx
1036 stxxtc_config: unconfig
1037 @$(MKCONFIG) $(@:_config=) ppc mpc8xx stxxtc
1039 svm_sc8xx_config: unconfig
1040 @$(MKCONFIG) $(@:_config=) ppc mpc8xx svm_sc8xx
1042 SXNI855T_config: unconfig
1043 @$(MKCONFIG) $(@:_config=) ppc mpc8xx sixnet
1045 # EMK MPC8xx based modules
1046 TOP860_config: unconfig
1047 @$(MKCONFIG) $(@:_config=) ppc mpc8xx top860 emk
1049 # Play some tricks for configuration selection
1050 # Only 855 and 860 boards may come with FEC
1051 # and only 823 boards may have LCD support
1052 xtract_8xx = $(subst _LCD,,$(subst _config,,$1))
1058 TQM823L_LCD_config \
1071 virtlab2_config: unconfig
1072 @mkdir -p $(obj)include
1073 @ >$(obj)include/config.h
1074 @[ -z "$(findstring _LCD,$@)" ] || \
1075 { echo "#define CONFIG_LCD" >>$(obj)include/config.h ; \
1076 echo "#define CONFIG_NEC_NL6448BC20" >>$(obj)include/config.h ; \
1077 $(XECHO) "... with LCD display" ; \
1079 @$(MKCONFIG) -a $(call xtract_8xx,$@) ppc mpc8xx tqm8xx
1081 TTTech_config: unconfig
1082 @mkdir -p $(obj)include
1083 @echo "#define CONFIG_LCD" >$(obj)include/config.h
1084 @echo "#define CONFIG_SHARP_LQ104V7DS01" >>$(obj)include/config.h
1085 @$(MKCONFIG) -a TQM823L ppc mpc8xx tqm8xx
1087 uc100_config : unconfig
1088 @$(MKCONFIG) $(@:_config=) ppc mpc8xx uc100
1090 v37_config: unconfig
1091 @mkdir -p $(obj)include
1092 @echo "#define CONFIG_LCD" >$(obj)include/config.h
1093 @echo "#define CONFIG_SHARP_LQ084V1DG21" >>$(obj)include/config.h
1094 @$(MKCONFIG) $(@:_config=) ppc mpc8xx v37
1096 wtk_config: unconfig
1097 @mkdir -p $(obj)include
1098 @echo "#define CONFIG_LCD" >$(obj)include/config.h
1099 @echo "#define CONFIG_SHARP_LQ065T9DR51U" >>$(obj)include/config.h
1100 @$(MKCONFIG) -a TQM823L ppc mpc8xx tqm8xx
1102 #########################################################################
1104 #########################################################################
1105 xtract_4xx = $(subst _25,,$(subst _33,,$(subst _BA,,$(subst _ME,,$(subst _HI,,$(subst _config,,$1))))))
1107 acadia_config: unconfig
1108 @$(MKCONFIG) $(@:_config=) ppc ppc4xx acadia amcc
1110 acadia_nand_config: unconfig
1111 @mkdir -p $(obj)include $(obj)board/amcc/acadia
1112 @mkdir -p $(obj)nand_spl/board/amcc/acadia
1113 @echo "#define CONFIG_NAND_U_BOOT" > $(obj)include/config.h
1114 @$(MKCONFIG) -n $@ -a acadia ppc ppc4xx acadia amcc
1115 @echo "TEXT_BASE = 0x01000000" > $(obj)board/amcc/acadia/config.tmp
1116 @echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk
1118 ADCIOP_config: unconfig
1119 @$(MKCONFIG) $(@:_config=) ppc ppc4xx adciop esd
1121 alpr_config: unconfig
1122 @$(MKCONFIG) $(@:_config=) ppc ppc4xx alpr prodrive
1124 AP1000_config:unconfig
1125 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ap1000 amirix
1127 APC405_config: unconfig
1128 @$(MKCONFIG) $(@:_config=) ppc ppc4xx apc405 esd
1130 AR405_config: unconfig
1131 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ar405 esd
1133 ASH405_config: unconfig
1134 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ash405 esd
1136 bamboo_config: unconfig
1137 @$(MKCONFIG) $(@:_config=) ppc ppc4xx bamboo amcc
1139 bamboo_nand_config: unconfig
1140 @mkdir -p $(obj)include $(obj)board/amcc/bamboo
1141 @mkdir -p $(obj)nand_spl/board/amcc/bamboo
1142 @echo "#define CONFIG_NAND_U_BOOT" > $(obj)include/config.h
1143 @$(MKCONFIG) -n $@ -a bamboo ppc ppc4xx bamboo amcc
1144 @echo "TEXT_BASE = 0x01000000" > $(obj)board/amcc/bamboo/config.tmp
1145 @echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk
1147 bubinga_config: unconfig
1148 @$(MKCONFIG) $(@:_config=) ppc ppc4xx bubinga amcc
1150 CANBT_config: unconfig
1151 @$(MKCONFIG) $(@:_config=) ppc ppc4xx canbt esd
1154 CATcenter_25_config \
1155 CATcenter_33_config: unconfig
1156 @mkdir -p $(obj)include
1157 @ echo "/* CATcenter uses PPChameleon Model ME */" > $(obj)include/config.h
1158 @ echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 1" >> $(obj)include/config.h
1159 @[ -z "$(findstring _25,$@)" ] || \
1160 { echo "#define CONFIG_PPCHAMELEON_CLK_25" >> $(obj)include/config.h ; \
1161 $(XECHO) "SysClk = 25MHz" ; \
1163 @[ -z "$(findstring _33,$@)" ] || \
1164 { echo "#define CONFIG_PPCHAMELEON_CLK_33" >> $(obj)include/config.h ; \
1165 $(XECHO) "SysClk = 33MHz" ; \
1167 @$(MKCONFIG) -a $(call xtract_4xx,$@) ppc ppc4xx PPChameleonEVB dave
1169 CPCI2DP_config: unconfig
1170 @$(MKCONFIG) $(@:_config=) ppc ppc4xx cpci2dp esd
1175 CPCI405AB_config: unconfig
1176 @$(MKCONFIG) $(@:_config=) ppc ppc4xx cpci405 esd
1177 @echo "BOARD_REVISION = $(@:_config=)" >> $(obj)include/config.mk
1179 CPCIISER4_config: unconfig
1180 @$(MKCONFIG) $(@:_config=) ppc ppc4xx cpciiser4 esd
1182 CRAYL1_config: unconfig
1183 @$(MKCONFIG) $(@:_config=) ppc ppc4xx L1 cray
1185 csb272_config: unconfig
1186 @$(MKCONFIG) $(@:_config=) ppc ppc4xx csb272
1188 csb472_config: unconfig
1189 @$(MKCONFIG) $(@:_config=) ppc ppc4xx csb472
1191 DASA_SIM_config: unconfig
1192 @$(MKCONFIG) $(@:_config=) ppc ppc4xx dasa_sim esd
1194 DP405_config: unconfig
1195 @$(MKCONFIG) $(@:_config=) ppc ppc4xx dp405 esd
1197 DU405_config: unconfig
1198 @$(MKCONFIG) $(@:_config=) ppc ppc4xx du405 esd
1200 DU440_config: unconfig
1201 @$(MKCONFIG) $(@:_config=) ppc ppc4xx du440 esd
1203 ebony_config: unconfig
1204 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ebony amcc
1206 ERIC_config: unconfig
1207 @$(MKCONFIG) $(@:_config=) ppc ppc4xx eric
1209 EXBITGEN_config: unconfig
1210 @$(MKCONFIG) $(@:_config=) ppc ppc4xx exbitgen
1212 G2000_config: unconfig
1213 @$(MKCONFIG) $(@:_config=) ppc ppc4xx g2000
1215 hcu4_config: unconfig
1216 @$(MKCONFIG) $(@:_config=) ppc ppc4xx hcu4 netstal
1218 hcu5_config: unconfig
1219 @$(MKCONFIG) $(@:_config=) ppc ppc4xx hcu5 netstal
1221 HH405_config: unconfig
1222 @$(MKCONFIG) $(@:_config=) ppc ppc4xx hh405 esd
1224 HUB405_config: unconfig
1225 @$(MKCONFIG) $(@:_config=) ppc ppc4xx hub405 esd
1227 JSE_config: unconfig
1228 @$(MKCONFIG) $(@:_config=) ppc ppc4xx jse
1230 KAREF_config: unconfig
1231 @$(MKCONFIG) $(@:_config=) ppc ppc4xx karef sandburst
1233 katmai_config: unconfig
1234 @$(MKCONFIG) $(@:_config=) ppc ppc4xx katmai amcc
1236 # Kilauea & Haleakala images are identical (recognized via PVR)
1238 haleakala_config: unconfig
1239 @$(MKCONFIG) -n $@ -a kilauea ppc ppc4xx kilauea amcc
1241 kilauea_nand_config \
1242 haleakala_nand_config: unconfig
1243 @mkdir -p $(obj)include $(obj)board/amcc/kilauea
1244 @mkdir -p $(obj)nand_spl/board/amcc/kilauea
1245 @echo "#define CONFIG_NAND_U_BOOT" > $(obj)include/config.h
1246 @$(MKCONFIG) -n $@ -a kilauea ppc ppc4xx kilauea amcc
1247 @echo "TEXT_BASE = 0x01000000" > $(obj)board/amcc/kilauea/config.tmp
1248 @echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk
1250 korat_config: unconfig
1251 @$(MKCONFIG) $(@:_config=) ppc ppc4xx korat
1253 luan_config: unconfig
1254 @$(MKCONFIG) $(@:_config=) ppc ppc4xx luan amcc
1256 lwmon5_config: unconfig
1257 @$(MKCONFIG) $(@:_config=) ppc ppc4xx lwmon5
1259 makalu_config: unconfig
1260 @$(MKCONFIG) $(@:_config=) ppc ppc4xx makalu amcc
1262 METROBOX_config: unconfig
1263 @$(MKCONFIG) $(@:_config=) ppc ppc4xx metrobox sandburst
1265 MIP405_config: unconfig
1266 @$(MKCONFIG) $(@:_config=) ppc ppc4xx mip405 mpl
1268 MIP405T_config: unconfig
1269 @mkdir -p $(obj)include
1270 @echo "#define CONFIG_MIP405T" >$(obj)include/config.h
1271 @$(XECHO) "Enable subset config for MIP405T"
1272 @$(MKCONFIG) -a MIP405 ppc ppc4xx mip405 mpl
1274 ML2_config: unconfig
1275 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ml2
1277 ml300_config: unconfig
1278 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ml300 xilinx
1280 ocotea_config: unconfig
1281 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ocotea amcc
1284 ORSG_config: unconfig
1285 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ocrtc esd
1287 p3p440_config: unconfig
1288 @$(MKCONFIG) $(@:_config=) ppc ppc4xx p3p440 prodrive
1290 PCI405_config: unconfig
1291 @$(MKCONFIG) $(@:_config=) ppc ppc4xx pci405 esd
1293 pcs440ep_config: unconfig
1294 @$(MKCONFIG) $(@:_config=) ppc ppc4xx pcs440ep
1296 PIP405_config: unconfig
1297 @$(MKCONFIG) $(@:_config=) ppc ppc4xx pip405 mpl
1299 PLU405_config: unconfig
1300 @$(MKCONFIG) $(@:_config=) ppc ppc4xx plu405 esd
1302 PMC405_config: unconfig
1303 @$(MKCONFIG) $(@:_config=) ppc ppc4xx pmc405 esd
1305 PMC440_config: unconfig
1306 @$(MKCONFIG) $(@:_config=) ppc ppc4xx pmc440 esd
1308 PPChameleonEVB_config \
1309 PPChameleonEVB_BA_25_config \
1310 PPChameleonEVB_ME_25_config \
1311 PPChameleonEVB_HI_25_config \
1312 PPChameleonEVB_BA_33_config \
1313 PPChameleonEVB_ME_33_config \
1314 PPChameleonEVB_HI_33_config: unconfig
1315 @mkdir -p $(obj)include
1316 @ >$(obj)include/config.h
1317 @[ -z "$(findstring EVB_BA,$@)" ] || \
1318 { echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 0" >>$(obj)include/config.h ; \
1319 $(XECHO) "... BASIC model" ; \
1321 @[ -z "$(findstring EVB_ME,$@)" ] || \
1322 { echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 1" >>$(obj)include/config.h ; \
1323 $(XECHO) "... MEDIUM model" ; \
1325 @[ -z "$(findstring EVB_HI,$@)" ] || \
1326 { echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 2" >>$(obj)include/config.h ; \
1327 $(XECHO) "... HIGH-END model" ; \
1329 @[ -z "$(findstring _25,$@)" ] || \
1330 { echo "#define CONFIG_PPCHAMELEON_CLK_25" >>$(obj)include/config.h ; \
1331 $(XECHO) "SysClk = 25MHz" ; \
1333 @[ -z "$(findstring _33,$@)" ] || \
1334 { echo "#define CONFIG_PPCHAMELEON_CLK_33" >>$(obj)include/config.h ; \
1335 $(XECHO) "SysClk = 33MHz" ; \
1337 @$(MKCONFIG) -a $(call xtract_4xx,$@) ppc ppc4xx PPChameleonEVB dave
1339 sbc405_config: unconfig
1340 @$(MKCONFIG) $(@:_config=) ppc ppc4xx sbc405
1343 rainier_config: unconfig
1344 @mkdir -p $(obj)include
1345 @echo "#define CONFIG_$$(echo $(subst ,,$(@:_config=)) | \
1346 tr '[:lower:]' '[:upper:]')" >$(obj)include/config.h
1347 @$(MKCONFIG) -n $@ -a sequoia ppc ppc4xx sequoia amcc
1349 sequoia_nand_config \
1350 rainier_nand_config: unconfig
1351 @mkdir -p $(obj)include $(obj)board/amcc/sequoia
1352 @mkdir -p $(obj)nand_spl/board/amcc/sequoia
1353 @echo "#define CONFIG_NAND_U_BOOT" > $(obj)include/config.h
1354 @echo "#define CONFIG_$$(echo $(subst ,,$(@:_config=)) | \
1355 tr '[:lower:]' '[:upper:]')" >> $(obj)include/config.h
1356 @$(MKCONFIG) -n $@ -a sequoia ppc ppc4xx sequoia amcc
1357 @echo "TEXT_BASE = 0x01000000" > $(obj)board/amcc/sequoia/config.tmp
1358 @echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk
1361 @$(MKCONFIG) $(@:_config=) ppc ppc4xx sc3
1363 taihu_config: unconfig
1364 @$(MKCONFIG) $(@:_config=) ppc ppc4xx taihu amcc
1366 taishan_config: unconfig
1367 @$(MKCONFIG) $(@:_config=) ppc ppc4xx taishan amcc
1369 VOH405_config: unconfig
1370 @$(MKCONFIG) $(@:_config=) ppc ppc4xx voh405 esd
1372 VOM405_config: unconfig
1373 @$(MKCONFIG) $(@:_config=) ppc ppc4xx vom405 esd
1375 CMS700_config: unconfig
1376 @$(MKCONFIG) $(@:_config=) ppc ppc4xx cms700 esd
1379 W7OLMG_config: unconfig
1380 @$(MKCONFIG) $(@:_config=) ppc ppc4xx w7o
1382 # Walnut & Sycamore images are identical (recognized via PVR)
1384 sycamore_config: unconfig
1385 @$(MKCONFIG) -n $@ -a walnut ppc ppc4xx walnut amcc
1387 WUH405_config: unconfig
1388 @$(MKCONFIG) $(@:_config=) ppc ppc4xx wuh405 esd
1390 XPEDITE1K_config: unconfig
1391 @$(MKCONFIG) $(@:_config=) ppc ppc4xx xpedite1k
1394 yellowstone_config: unconfig
1395 @mkdir -p $(obj)include
1396 @echo "#define CONFIG_$$(echo $(subst ,,$(@:_config=)) | \
1397 tr '[:lower:]' '[:upper:]')" >$(obj)include/config.h
1398 @$(MKCONFIG) -n $@ -a yosemite ppc ppc4xx yosemite amcc
1400 yucca_config: unconfig
1401 @$(MKCONFIG) $(@:_config=) ppc ppc4xx yucca amcc
1403 zeus_config: unconfig
1404 @$(MKCONFIG) $(@:_config=) ppc ppc4xx zeus
1406 #########################################################################
1408 #########################################################################
1411 Yukon8220_config: unconfig
1412 @$(MKCONFIG) $(@:_config=) ppc mpc8220 alaska
1414 sorcery_config: unconfig
1415 @$(MKCONFIG) $(@:_config=) ppc mpc8220 sorcery
1417 #########################################################################
1419 #########################################################################
1420 xtract_82xx = $(subst _BIGFLASH,,$(subst _ROMBOOT,,$(subst _L2,,$(subst _266MHz,,$(subst _300MHz,,$(subst _config,,$1))))))
1422 A3000_config: unconfig
1423 @$(MKCONFIG) $(@:_config=) ppc mpc824x a3000
1425 barco_config: unconfig
1426 @$(MKCONFIG) $(@:_config=) ppc mpc824x barco
1428 BMW_config: unconfig
1429 @$(MKCONFIG) $(@:_config=) ppc mpc824x bmw
1432 CPC45_ROMBOOT_config: unconfig
1433 @$(MKCONFIG) $(call xtract_82xx,$@) ppc mpc824x cpc45
1434 @cd $(obj)include ; \
1435 if [ "$(findstring _ROMBOOT_,$@)" ] ; then \
1436 echo "CONFIG_BOOT_ROM = y" >> config.mk ; \
1437 $(XECHO) "... booting from 8-bit flash" ; \
1439 echo "CONFIG_BOOT_ROM = n" >> config.mk ; \
1440 $(XECHO) "... booting from 64-bit flash" ; \
1442 echo "export CONFIG_BOOT_ROM" >> config.mk;
1444 CU824_config: unconfig
1445 @$(MKCONFIG) $(@:_config=) ppc mpc824x cu824
1447 debris_config: unconfig
1448 @$(MKCONFIG) $(@:_config=) ppc mpc824x debris etin
1450 eXalion_config: unconfig
1451 @$(MKCONFIG) $(@:_config=) ppc mpc824x eXalion
1453 HIDDEN_DRAGON_config: unconfig
1454 @$(MKCONFIG) $(@:_config=) ppc mpc824x hidden_dragon
1456 kvme080_config: unconfig
1457 @$(MKCONFIG) $(@:_config=) ppc mpc824x kvme080 etin
1459 MOUSSE_config: unconfig
1460 @$(MKCONFIG) $(@:_config=) ppc mpc824x mousse
1462 MUSENKI_config: unconfig
1463 @$(MKCONFIG) $(@:_config=) ppc mpc824x musenki
1465 MVBLUE_config: unconfig
1466 @$(MKCONFIG) $(@:_config=) ppc mpc824x mvblue
1468 OXC_config: unconfig
1469 @$(MKCONFIG) $(@:_config=) ppc mpc824x oxc
1471 PN62_config: unconfig
1472 @$(MKCONFIG) $(@:_config=) ppc mpc824x pn62
1474 Sandpoint8240_config: unconfig
1475 @$(MKCONFIG) $(@:_config=) ppc mpc824x sandpoint
1477 Sandpoint8245_config: unconfig
1478 @$(MKCONFIG) $(@:_config=) ppc mpc824x sandpoint
1480 sbc8240_config: unconfig
1481 @$(MKCONFIG) $(@:_config=) ppc mpc824x sbc8240
1483 SL8245_config: unconfig
1484 @$(MKCONFIG) $(@:_config=) ppc mpc824x sl8245
1486 utx8245_config: unconfig
1487 @$(MKCONFIG) $(@:_config=) ppc mpc824x utx8245
1489 #########################################################################
1491 #########################################################################
1493 atc_config: unconfig
1494 @$(MKCONFIG) $(@:_config=) ppc mpc8260 atc
1496 cogent_mpc8260_config: unconfig
1497 @$(MKCONFIG) $(@:_config=) ppc mpc8260 cogent
1500 CPU86_ROMBOOT_config: unconfig
1501 @$(MKCONFIG) $(call xtract_82xx,$@) ppc mpc8260 cpu86
1502 @cd $(obj)include ; \
1503 if [ "$(findstring _ROMBOOT_,$@)" ] ; then \
1504 echo "CONFIG_BOOT_ROM = y" >> config.mk ; \
1505 $(XECHO) "... booting from 8-bit flash" ; \
1507 echo "CONFIG_BOOT_ROM = n" >> config.mk ; \
1508 $(XECHO) "... booting from 64-bit flash" ; \
1510 echo "export CONFIG_BOOT_ROM" >> config.mk;
1513 CPU87_ROMBOOT_config: unconfig
1514 @$(MKCONFIG) $(call xtract_82xx,$@) ppc mpc8260 cpu87
1515 @cd $(obj)include ; \
1516 if [ "$(findstring _ROMBOOT_,$@)" ] ; then \
1517 echo "CONFIG_BOOT_ROM = y" >> config.mk ; \
1518 $(XECHO) "... booting from 8-bit flash" ; \
1520 echo "CONFIG_BOOT_ROM = n" >> config.mk ; \
1521 $(XECHO) "... booting from 64-bit flash" ; \
1523 echo "export CONFIG_BOOT_ROM" >> config.mk;
1526 ep8248E_config : unconfig
1527 @$(MKCONFIG) ep8248 ppc mpc8260 ep8248
1529 ep8260_config: unconfig
1530 @$(MKCONFIG) $(@:_config=) ppc mpc8260 ep8260
1532 ep82xxm_config: unconfig
1533 @$(MKCONFIG) $(@:_config=) ppc mpc8260 ep82xxm
1535 gw8260_config: unconfig
1536 @$(MKCONFIG) $(@:_config=) ppc mpc8260 gw8260
1538 hymod_config: unconfig
1539 @$(MKCONFIG) $(@:_config=) ppc mpc8260 hymod
1541 IDS8247_config: unconfig
1542 @$(MKCONFIG) $(@:_config=) ppc mpc8260 ids8247
1544 IPHASE4539_config: unconfig
1545 @$(MKCONFIG) $(@:_config=) ppc mpc8260 iphase4539
1548 ISPAN_REVB_config: unconfig
1549 @mkdir -p $(obj)include
1550 @if [ "$(findstring _REVB_,$@)" ] ; then \
1551 echo "#define CFG_REV_B" > $(obj)include/config.h ; \
1553 @$(MKCONFIG) -a ISPAN ppc mpc8260 ispan
1555 mgcoge_config : unconfig
1556 @$(MKCONFIG) mgcoge ppc mpc8260 mgcoge
1559 MPC8260ADS_lowboot_config \
1560 MPC8260ADS_33MHz_config \
1561 MPC8260ADS_33MHz_lowboot_config \
1562 MPC8260ADS_40MHz_config \
1563 MPC8260ADS_40MHz_lowboot_config \
1565 MPC8272ADS_lowboot_config \
1567 PQ2FADS_lowboot_config \
1569 PQ2FADS-VR_lowboot_config \
1571 PQ2FADS-ZU_lowboot_config \
1572 PQ2FADS-ZU_66MHz_config \
1573 PQ2FADS-ZU_66MHz_lowboot_config \
1575 @mkdir -p $(obj)include
1576 @mkdir -p $(obj)board/mpc8260ads
1577 $(if $(findstring PQ2FADS,$@), \
1578 @echo "#define CONFIG_ADSTYPE CFG_PQ2FADS" > $(obj)include/config.h, \
1579 @echo "#define CONFIG_ADSTYPE CFG_"$(subst MPC,,$(word 1,$(subst _, ,$@))) > $(obj)include/config.h)
1580 $(if $(findstring MHz,$@), \
1581 @echo "#define CONFIG_8260_CLKIN" $(subst MHz,,$(word 2,$(subst _, ,$@)))"000000" >> $(obj)include/config.h, \
1582 $(if $(findstring VR,$@), \
1583 @echo "#define CONFIG_8260_CLKIN 66000000" >> $(obj)include/config.h))
1584 @[ -z "$(findstring lowboot_,$@)" ] || \
1585 { echo "TEXT_BASE = 0xFF800000" >$(obj)board/mpc8260ads/config.tmp ; \
1586 $(XECHO) "... with lowboot configuration" ; \
1588 @$(MKCONFIG) -a MPC8260ADS ppc mpc8260 mpc8260ads
1590 MPC8266ADS_config: unconfig
1591 @$(MKCONFIG) $(@:_config=) ppc mpc8260 mpc8266ads
1593 # PM825/PM826 default configuration: small (= 8 MB) Flash / boot from 64-bit flash
1595 PM825_ROMBOOT_config \
1596 PM825_BIGFLASH_config \
1597 PM825_ROMBOOT_BIGFLASH_config \
1599 PM826_ROMBOOT_config \
1600 PM826_BIGFLASH_config \
1601 PM826_ROMBOOT_BIGFLASH_config: unconfig
1602 @mkdir -p $(obj)include
1603 @mkdir -p $(obj)board/pm826
1604 @if [ "$(findstring PM825_,$@)" ] ; then \
1605 echo "#define CONFIG_PCI" >$(obj)include/config.h ; \
1607 >$(obj)include/config.h ; \
1609 @if [ "$(findstring _ROMBOOT_,$@)" ] ; then \
1610 $(XECHO) "... booting from 8-bit flash" ; \
1611 echo "#define CONFIG_BOOT_ROM" >>$(obj)include/config.h ; \
1612 echo "TEXT_BASE = 0xFF800000" >$(obj)board/pm826/config.tmp ; \
1613 if [ "$(findstring _BIGFLASH_,$@)" ] ; then \
1614 $(XECHO) "... with 32 MB Flash" ; \
1615 echo "#define CONFIG_FLASH_32MB" >>$(obj)include/config.h ; \
1618 $(XECHO) "... booting from 64-bit flash" ; \
1619 if [ "$(findstring _BIGFLASH_,$@)" ] ; then \
1620 $(XECHO) "... with 32 MB Flash" ; \
1621 echo "#define CONFIG_FLASH_32MB" >>$(obj)include/config.h ; \
1622 echo "TEXT_BASE = 0x40000000" >$(obj)board/pm826/config.tmp ; \
1624 echo "TEXT_BASE = 0xFF000000" >$(obj)board/pm826/config.tmp ; \
1627 @$(MKCONFIG) -a PM826 ppc mpc8260 pm826
1631 PM828_ROMBOOT_config \
1632 PM828_ROMBOOT_PCI_config: unconfig
1633 @mkdir -p $(obj)include
1634 @mkdir -p $(obj)board/pm826
1635 @if [ "$(findstring _PCI_,$@)" ] ; then \
1636 echo "#define CONFIG_PCI" >>$(obj)include/config.h ; \
1637 $(XECHO) "... with PCI enabled" ; \
1639 >$(obj)include/config.h ; \
1641 @if [ "$(findstring _ROMBOOT_,$@)" ] ; then \
1642 $(XECHO) "... booting from 8-bit flash" ; \
1643 echo "#define CONFIG_BOOT_ROM" >>$(obj)include/config.h ; \
1644 echo "TEXT_BASE = 0xFF800000" >$(obj)board/pm826/config.tmp ; \
1646 @$(MKCONFIG) -a PM828 ppc mpc8260 pm828
1648 ppmc8260_config: unconfig
1649 @$(MKCONFIG) $(@:_config=) ppc mpc8260 ppmc8260
1651 Rattler8248_config \
1652 Rattler_config: unconfig
1653 @mkdir -p $(obj)include
1654 $(if $(findstring 8248,$@), \
1655 @echo "#define CONFIG_MPC8248" > $(obj)include/config.h)
1656 @$(MKCONFIG) -a Rattler ppc mpc8260 rattler
1658 RPXsuper_config: unconfig
1659 @$(MKCONFIG) $(@:_config=) ppc mpc8260 rpxsuper
1661 rsdproto_config: unconfig
1662 @$(MKCONFIG) $(@:_config=) ppc mpc8260 rsdproto
1664 sacsng_config: unconfig
1665 @$(MKCONFIG) $(@:_config=) ppc mpc8260 sacsng
1667 sbc8260_config: unconfig
1668 @$(MKCONFIG) $(@:_config=) ppc mpc8260 sbc8260
1670 SCM_config: unconfig
1671 @$(MKCONFIG) $(@:_config=) ppc mpc8260 SCM siemens
1683 TQM8265_AA_config: unconfig
1684 @mkdir -p $(obj)include
1686 TQM8255_AA_config) CTYPE=MPC8255; CFREQ=300; CACHE=no; BMODE=8260;; \
1687 TQM8260_AA_config) CTYPE=MPC8260; CFREQ=200; CACHE=no; BMODE=8260;; \
1688 TQM8260_AB_config) CTYPE=MPC8260; CFREQ=200; CACHE=yes; BMODE=60x;; \
1689 TQM8260_AC_config) CTYPE=MPC8260; CFREQ=200; CACHE=yes; BMODE=60x;; \
1690 TQM8260_AD_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=60x;; \
1691 TQM8260_AE_config) CTYPE=MPC8260; CFREQ=266; CACHE=no; BMODE=8260;; \
1692 TQM8260_AF_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=60x;; \
1693 TQM8260_AG_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=8260;; \
1694 TQM8260_AH_config) CTYPE=MPC8260; CFREQ=300; CACHE=yes; BMODE=60x;; \
1695 TQM8260_AI_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=60x;; \
1696 TQM8265_AA_config) CTYPE=MPC8265; CFREQ=300; CACHE=no; BMODE=60x;; \
1698 >$(obj)include/config.h ; \
1699 if [ "$${CTYPE}" != "MPC8260" ] ; then \
1700 echo "#define CONFIG_$${CTYPE}" >>$(obj)include/config.h ; \
1702 echo "#define CONFIG_$${CFREQ}MHz" >>$(obj)include/config.h ; \
1703 echo "... with $${CFREQ}MHz system clock" ; \
1704 if [ "$${CACHE}" = "yes" ] ; then \
1705 echo "#define CONFIG_L2_CACHE" >>$(obj)include/config.h ; \
1706 $(XECHO) "... with L2 Cache support" ; \
1708 echo "#undef CONFIG_L2_CACHE" >>$(obj)include/config.h ; \
1709 $(XECHO) "... without L2 Cache support" ; \
1711 if [ "$${BMODE}" = "60x" ] ; then \
1712 echo "#define CONFIG_BUSMODE_60x" >>$(obj)include/config.h ; \
1713 $(XECHO) "... with 60x Bus Mode" ; \
1715 echo "#undef CONFIG_BUSMODE_60x" >>$(obj)include/config.h ; \
1716 $(XECHO) "... without 60x Bus Mode" ; \
1718 @$(MKCONFIG) -a TQM8260 ppc mpc8260 tqm8260
1720 TQM8272_config: unconfig
1721 @$(MKCONFIG) -a TQM8272 ppc mpc8260 tqm8272
1723 VoVPN-GW_66MHz_config \
1724 VoVPN-GW_100MHz_config: unconfig
1725 @mkdir -p $(obj)include
1726 @echo "#define CONFIG_CLKIN_$(word 2,$(subst _, ,$@))" > $(obj)include/config.h
1727 @$(MKCONFIG) -a VoVPN-GW ppc mpc8260 vovpn-gw funkwerk
1729 ZPC1900_config: unconfig
1730 @$(MKCONFIG) $(@:_config=) ppc mpc8260 zpc1900
1732 #########################################################################
1734 #########################################################################
1736 M52277EVB_config: unconfig
1737 @$(MKCONFIG) -a M52277EVB m68k mcf5227x m52277evb freescale
1740 M5235EVB_Flash16_config \
1741 M5235EVB_Flash32_config: unconfig
1743 M5235EVB_config) FLASH=16;; \
1744 M5235EVB_Flash16_config) FLASH=16;; \
1745 M5235EVB_Flash32_config) FLASH=32;; \
1747 >$(obj)include/config.h ; \
1748 if [ "$${FLASH}" != "16" ] ; then \
1749 echo "#define NORFLASH_PS32BIT 1" >> $(obj)include/config.h ; \
1750 echo "TEXT_BASE = 0xFFC00000" > $(obj)board/freescale/m5235evb/config.tmp ; \
1751 cp $(obj)board/freescale/m5235evb/u-boot.32 $(obj)board/freescale/m5235evb/u-boot.lds ; \
1753 echo "TEXT_BASE = 0xFFE00000" > $(obj)board/freescale/m5235evb/config.tmp ; \
1754 cp $(obj)board/freescale/m5235evb/u-boot.16 $(obj)board/freescale/m5235evb/u-boot.lds ; \
1756 @$(MKCONFIG) -a M5235EVB m68k mcf523x m5235evb freescale
1758 M5249EVB_config : unconfig
1759 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5249evb freescale
1761 M5253EVBE_config : unconfig
1762 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5253evbe freescale
1764 cobra5272_config : unconfig
1765 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 cobra5272
1767 EB+MCF-EV123_config : unconfig
1768 @mkdir -p $(obj)include
1769 @mkdir -p $(obj)board/BuS/EB+MCF-EV123
1770 @ >$(obj)include/config.h
1771 @echo "TEXT_BASE = 0xFFE00000"|tee $(obj)board/BuS/EB+MCF-EV123/textbase.mk
1772 @$(MKCONFIG) EB+MCF-EV123 m68k mcf52x2 EB+MCF-EV123 BuS
1774 EB+MCF-EV123_internal_config : unconfig
1775 @mkdir -p $(obj)include
1776 @mkdir -p $(obj)board/BuS/EB+MCF-EV123
1777 @ >$(obj)include/config.h
1778 @echo "TEXT_BASE = 0xF0000000"|tee $(obj)board/BuS/EB+MCF-EV123/textbase.mk
1779 @$(MKCONFIG) EB+MCF-EV123 m68k mcf52x2 EB+MCF-EV123 BuS
1781 idmr_config : unconfig
1782 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 idmr
1784 M5271EVB_config : unconfig
1785 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5271evb
1787 M5272C3_config : unconfig
1788 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5272c3
1790 M5282EVB_config : unconfig
1791 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5282evb
1793 TASREG_config : unconfig
1794 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 tasreg esd
1796 r5200_config : unconfig
1797 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 r5200
1800 M5329BFEE_config : unconfig
1802 M5329AFEE_config) NAND=0;; \
1803 M5329BFEE_config) NAND=16;; \
1805 >$(obj)include/config.h ; \
1806 if [ "$${NAND}" != "0" ] ; then \
1807 echo "#define NANDFLASH_SIZE $${NAND}" > $(obj)include/config.h ; \
1809 @$(MKCONFIG) -a M5329EVB m68k mcf532x m5329evb freescale
1811 M5373EVB_config : unconfig
1813 M5373EVB_config) NAND=16;; \
1815 >include/config.h ; \
1816 if [ "$${NAND}" != "0" ] ; then \
1817 echo "#define NANDFLASH_SIZE $${NAND}" > $(obj)include/config.h ; \
1819 @$(MKCONFIG) -a M5373EVB m68k mcf532x m5373evb freescale
1822 M54455EVB_atmel_config \
1823 M54455EVB_intel_config \
1824 M54455EVB_a33_config \
1825 M54455EVB_a66_config \
1826 M54455EVB_i33_config \
1827 M54455EVB_i66_config : unconfig
1829 M54455EVB_config) FLASH=ATMEL; FREQ=33333333;; \
1830 M54455EVB_atmel_config) FLASH=ATMEL; FREQ=33333333;; \
1831 M54455EVB_intel_config) FLASH=INTEL; FREQ=33333333;; \
1832 M54455EVB_a33_config) FLASH=ATMEL; FREQ=33333333;; \
1833 M54455EVB_a66_config) FLASH=ATMEL; FREQ=66666666;; \
1834 M54455EVB_i33_config) FLASH=INTEL; FREQ=33333333;; \
1835 M54455EVB_i66_config) FLASH=INTEL; FREQ=66666666;; \
1837 >$(obj)include/config.h ; \
1838 if [ "$${FLASH}" = "INTEL" ] ; then \
1839 echo "#undef CFG_ATMEL_BOOT" >> $(obj)include/config.h ; \
1840 echo "TEXT_BASE = 0x00000000" > $(obj)board/freescale/m54455evb/config.tmp ; \
1841 cp $(obj)board/freescale/m54455evb/u-boot.int $(obj)board/freescale/m54455evb/u-boot.lds ; \
1842 $(XECHO) "... with INTEL boot..." ; \
1844 echo "#define CFG_ATMEL_BOOT" >> $(obj)include/config.h ; \
1845 echo "TEXT_BASE = 0x04000000" > $(obj)board/freescale/m54455evb/config.tmp ; \
1846 cp $(obj)board/freescale/m54455evb/u-boot.atm $(obj)board/freescale/m54455evb/u-boot.lds ; \
1847 $(XECHO) "... with ATMEL boot..." ; \
1849 echo "#define CFG_INPUT_CLKSRC $${FREQ}" >> $(obj)include/config.h ; \
1850 $(XECHO) "... with $${FREQ}Hz input clock"
1851 @$(MKCONFIG) -a M54455EVB m68k mcf5445x m54455evb freescale
1859 M5475GFE_config : unconfig
1861 M5475AFE_config) BOOT=2;CODE=0;VID=0;USB=0;RAM=64;RAM1=0;; \
1862 M5475BFE_config) BOOT=2;CODE=16;VID=0;USB=0;RAM=64;RAM1=0;; \
1863 M5475CFE_config) BOOT=2;CODE=16;VID=1;USB=1;RAM=64;RAM1=0;; \
1864 M5475DFE_config) BOOT=2;CODE=0;VID=0;USB=1;RAM=64;RAM1=0;; \
1865 M5475EFE_config) BOOT=2;CODE=0;VID=1;USB=1;RAM=64;RAM1=0;; \
1866 M5475FFE_config) BOOT=2;CODE=32;VID=1;USB=1;RAM=64;RAM1=64;; \
1867 M5475GFE_config) BOOT=4;CODE=0;VID=0;USB=0;RAM=64;RAM1=0;; \
1869 >include/config.h ; \
1870 echo "#define CFG_BUSCLK 133333333" > $(obj)include/config.h ; \
1871 echo "#define CFG_BOOTSZ $${BOOT}" >> $(obj)include/config.h ; \
1872 echo "#define CFG_DRAMSZ $${RAM}" >> $(obj)include/config.h ; \
1873 if [ "$${RAM1}" != "0" ] ; then \
1874 echo "#define CFG_DRAMSZ1 $${RAM1}" >> $(obj)include/config.h ; \
1876 if [ "$${CODE}" != "0" ] ; then \
1877 echo "#define CFG_NOR1SZ $${CODE}" >> $(obj)include/config.h ; \
1879 if [ "$${VID}" == "1" ] ; then \
1880 echo "#define CFG_VIDEO" >> $(obj)include/config.h ; \
1882 if [ "$${USB}" == "1" ] ; then \
1883 echo "#define CFG_USBCTRL" >> $(obj)include/config.h ; \
1885 @$(MKCONFIG) -a M5475EVB m68k mcf547x_8x m547xevb freescale
1894 M5485HFE_config : unconfig
1896 M5485AFE_config) BOOT=2;CODE=0;VID=0;USB=0;RAM=64;RAM1=0;; \
1897 M5485BFE_config) BOOT=2;CODE=16;VID=0;USB=0;RAM=64;RAM1=0;; \
1898 M5485CFE_config) BOOT=2;CODE=16;VID=1;USB=1;RAM=64;RAM1=0;; \
1899 M5485DFE_config) BOOT=2;CODE=0;VID=0;USB=1;RAM=64;RAM1=0;; \
1900 M5485EFE_config) BOOT=2;CODE=0;VID=1;USB=1;RAM=64;RAM1=0;; \
1901 M5485FFE_config) BOOT=2;CODE=32;VID=1;USB=1;RAM=64;RAM1=64;; \
1902 M5485GFE_config) BOOT=4;CODE=0;VID=0;USB=0;RAM=64;RAM1=0;; \
1903 M5485HFE_config) BOOT=2;CODE=;VID=1;USB=0;RAM=64;RAM1=0;; \
1905 >include/config.h ; \
1906 echo "#define CFG_BUSCLK 100000000" > $(obj)include/config.h ; \
1907 echo "#define CFG_BOOTSZ $${BOOT}" >> $(obj)include/config.h ; \
1908 echo "#define CFG_DRAMSZ $${RAM}" >> $(obj)include/config.h ; \
1909 if [ "$${RAM1}" != "0" ] ; then \
1910 echo "#define CFG_DRAMSZ1 $${RAM1}" >> $(obj)include/config.h ; \
1912 if [ "$${CODE}" != "0" ] ; then \
1913 echo "#define CFG_NOR1SZ $${CODE}" >> $(obj)include/config.h ; \
1915 if [ "$${VID}" == "1" ] ; then \
1916 echo "#define CFG_VIDEO" >> $(obj)include/config.h ; \
1918 if [ "$${USB}" == "1" ] ; then \
1919 echo "#define CFG_USBCTRL" >> $(obj)include/config.h ; \
1921 @$(MKCONFIG) -a M5485EVB m68k mcf547x_8x m548xevb freescale
1923 #########################################################################
1925 #########################################################################
1927 MPC8313ERDB_33_config \
1928 MPC8313ERDB_66_config: unconfig
1929 @mkdir -p $(obj)include
1930 @echo "" >$(obj)include/config.h ; \
1931 if [ "$(findstring _33_,$@)" ] ; then \
1932 $(XECHO) -n "...33M ..." ; \
1933 echo "#define CFG_33MHZ" >>$(obj)include/config.h ; \
1935 if [ "$(findstring _66_,$@)" ] ; then \
1936 $(XECHO) -n "...66M..." ; \
1937 echo "#define CFG_66MHZ" >>$(obj)include/config.h ; \
1939 @$(MKCONFIG) -a MPC8313ERDB ppc mpc83xx mpc8313erdb freescale
1941 MPC8315ERDB_config: unconfig
1942 @$(MKCONFIG) -a MPC8315ERDB ppc mpc83xx mpc8315erdb freescale
1944 MPC8323ERDB_config: unconfig
1945 @$(MKCONFIG) -a MPC8323ERDB ppc mpc83xx mpc8323erdb freescale
1947 MPC832XEMDS_config \
1948 MPC832XEMDS_HOST_33_config \
1949 MPC832XEMDS_HOST_66_config \
1950 MPC832XEMDS_SLAVE_config \
1951 MPC832XEMDS_ATM_config: unconfig
1952 @mkdir -p $(obj)include
1953 @echo "" >$(obj)include/config.h ; \
1954 if [ "$(findstring _HOST_,$@)" ] ; then \
1955 $(XECHO) -n "... PCI HOST " ; \
1956 echo "#define CONFIG_PCI" >>$(obj)include/config.h ; \
1958 if [ "$(findstring _SLAVE_,$@)" ] ; then \
1959 $(XECHO) "...PCI SLAVE 66M" ; \
1960 echo "#define CONFIG_PCI" >>$(obj)include/config.h ; \
1961 echo "#define CONFIG_PCISLAVE" >>$(obj)include/config.h ; \
1963 if [ "$(findstring _33_,$@)" ] ; then \
1964 $(XECHO) -n "...33M ..." ; \
1965 echo "#define PCI_33M" >>$(obj)include/config.h ; \
1966 echo "#define CONFIG_PQ_MDS_PIB 1" >>$(obj)include/config.h ; \
1968 if [ "$(findstring _66_,$@)" ] ; then \
1969 $(XECHO) -n "...66M..." ; \
1970 echo "#define PCI_66M" >>$(obj)include/config.h ; \
1971 echo "#define CONFIG_PQ_MDS_PIB 1" >>$(obj)include/config.h ; \
1973 if [ "$(findstring _ATM_,$@)" ] ; then \
1974 $(XECHO) -n "...ATM..." ; \
1975 echo "#define CONFIG_PQ_MDS_PIB 1" >>$(obj)include/config.h ; \
1976 echo "#define CONFIG_PQ_MDS_PIB_ATM 1" >>$(obj)include/config.h ; \
1978 @$(MKCONFIG) -a MPC832XEMDS ppc mpc83xx mpc832xemds freescale
1980 MPC8349EMDS_config: unconfig
1981 @$(MKCONFIG) $(@:_config=) ppc mpc83xx mpc8349emds freescale
1984 MPC8349ITX_LOWBOOT_config \
1985 MPC8349ITXGP_config: unconfig
1986 @mkdir -p $(obj)include
1987 @mkdir -p $(obj)board/freescale/mpc8349itx
1988 @echo "#define CONFIG_$(subst _LOWBOOT,,$(@:_config=))" >> $(obj)include/config.h
1989 @if [ "$(findstring GP,$@)" ] ; then \
1990 echo "TEXT_BASE = 0xFE000000" >$(obj)board/freescale/mpc8349itx/config.tmp ; \
1992 @if [ "$(findstring LOWBOOT,$@)" ] ; then \
1993 echo "TEXT_BASE = 0xFE000000" >$(obj)board/freescale/mpc8349itx/config.tmp ; \
1995 @$(MKCONFIG) -a -n $(@:_config=) MPC8349ITX ppc mpc83xx mpc8349itx freescale
1997 MPC8360EMDS_config \
1998 MPC8360EMDS_HOST_33_config \
1999 MPC8360EMDS_HOST_66_config \
2000 MPC8360EMDS_SLAVE_config \
2001 MPC8360EMDS_ATM_config: unconfig
2002 @mkdir -p $(obj)include
2003 @echo "" >$(obj)include/config.h ; \
2004 if [ "$(findstring _HOST_,$@)" ] ; then \
2005 $(XECHO) -n "... PCI HOST " ; \
2006 echo "#define CONFIG_PCI" >>$(obj)include/config.h ; \
2008 if [ "$(findstring _SLAVE_,$@)" ] ; then \
2009 $(XECHO) "...PCI SLAVE 66M" ; \
2010 echo "#define CONFIG_PCI" >>$(obj)include/config.h ; \
2011 echo "#define CONFIG_PCISLAVE" >>$(obj)include/config.h ; \
2013 if [ "$(findstring _33_,$@)" ] ; then \
2014 $(XECHO) -n "...33M ..." ; \
2015 echo "#define PCI_33M" >>$(obj)include/config.h ; \
2016 echo "#define CONFIG_PQ_MDS_PIB 1" >>$(obj)include/config.h ; \
2018 if [ "$(findstring _66_,$@)" ] ; then \
2019 $(XECHO) -n "...66M..." ; \
2020 echo "#define PCI_66M" >>$(obj)include/config.h ; \
2021 echo "#define CONFIG_PQ_MDS_PIB 1" >>$(obj)include/config.h ; \
2023 if [ "$(findstring _ATM_,$@)" ] ; then \
2024 $(XECHO) -n "...ATM..." ; \
2025 echo "#define CONFIG_PQ_MDS_PIB 1" >>$(obj)include/config.h ; \
2026 echo "#define CONFIG_PQ_MDS_PIB_ATM 1" >>$(obj)include/config.h ; \
2028 @$(MKCONFIG) -a MPC8360EMDS ppc mpc83xx mpc8360emds freescale
2030 MPC8360ERDK_33_config \
2031 MPC8360ERDK_66_config \
2033 @mkdir -p $(obj)include
2034 @echo "" >$(obj)include/config.h ; \
2035 if [ "$(findstring _33_,$@)" ] ; then \
2036 $(XECHO) -n "... CLKIN 33MHz " ; \
2037 echo "#define CONFIG_CLKIN_33MHZ" >>$(obj)include/config.h ;\
2039 @$(MKCONFIG) -a MPC8360ERDK ppc mpc83xx mpc8360erdk freescale
2041 MPC837XEMDS_config \
2042 MPC837XEMDS_HOST_config: unconfig
2043 @mkdir -p $(obj)include
2044 @echo "" >$(obj)include/config.h ; \
2045 if [ "$(findstring _HOST_,$@)" ] ; then \
2046 $(XECHO) -n "... PCI HOST " ; \
2047 echo "#define CONFIG_PCI" >>$(obj)include/config.h ; \
2049 @$(MKCONFIG) -a MPC837XEMDS ppc mpc83xx mpc837xemds freescale
2051 MPC837XERDB_config: unconfig
2052 @$(MKCONFIG) -a MPC837XERDB ppc mpc83xx mpc837xerdb freescale
2054 sbc8349_config: unconfig
2055 @$(MKCONFIG) $(@:_config=) ppc mpc83xx sbc8349
2057 TQM834x_config: unconfig
2058 @$(MKCONFIG) $(@:_config=) ppc mpc83xx tqm834x
2061 #########################################################################
2063 #########################################################################
2065 ATUM8548_config: unconfig
2066 @$(MKCONFIG) $(@:_config=) ppc mpc85xx atum8548
2068 MPC8540ADS_config: unconfig
2069 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8540ads freescale
2071 MPC8540EVAL_config \
2072 MPC8540EVAL_33_config \
2073 MPC8540EVAL_66_config \
2074 MPC8540EVAL_33_slave_config \
2075 MPC8540EVAL_66_slave_config: unconfig
2076 @mkdir -p $(obj)include
2077 @echo "" >$(obj)include/config.h ; \
2078 if [ "$(findstring _33_,$@)" ] ; then \
2079 $(XECHO) "... 33 MHz PCI" ; \
2081 echo "#define CONFIG_SYSCLK_66M" >>$(obj)include/config.h ; \
2082 $(XECHO) "... 66 MHz PCI" ; \
2084 if [ "$(findstring _slave_,$@)" ] ; then \
2085 echo "#define CONFIG_PCI_SLAVE" >>$(obj)include/config.h ; \
2086 $(XECHO) " slave" ; \
2088 $(XECHO) " host" ; \
2090 @$(MKCONFIG) -a MPC8540EVAL ppc mpc85xx mpc8540eval
2092 MPC8560ADS_config: unconfig
2093 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8560ads freescale
2095 MPC8541CDS_legacy_config \
2096 MPC8541CDS_config: unconfig
2097 @mkdir -p $(obj)include
2098 @echo "" >$(obj)include/config.h ; \
2099 if [ "$(findstring _legacy_,$@)" ] ; then \
2100 echo "#define CONFIG_LEGACY" >>$(obj)include/config.h ; \
2101 $(XECHO) "... legacy" ; \
2103 @$(MKCONFIG) -a MPC8541CDS ppc mpc85xx mpc8541cds freescale
2105 MPC8544DS_config: unconfig
2106 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8544ds freescale
2108 MPC8548CDS_legacy_config \
2109 MPC8548CDS_config: unconfig
2110 @mkdir -p $(obj)include
2111 @echo "" >$(obj)include/config.h ; \
2112 if [ "$(findstring _legacy_,$@)" ] ; then \
2113 echo "#define CONFIG_LEGACY" >>$(obj)include/config.h ; \
2114 $(XECHO) "... legacy" ; \
2116 @$(MKCONFIG) -a MPC8548CDS ppc mpc85xx mpc8548cds freescale
2118 MPC8555CDS_legacy_config \
2119 MPC8555CDS_config: unconfig
2120 @mkdir -p $(obj)include
2121 @echo "" >$(obj)include/config.h ; \
2122 if [ "$(findstring _legacy_,$@)" ] ; then \
2123 echo "#define CONFIG_LEGACY" >>$(obj)include/config.h ; \
2124 $(XECHO) "... legacy" ; \
2126 @$(MKCONFIG) -a MPC8555CDS ppc mpc85xx mpc8555cds freescale
2128 MPC8568MDS_config: unconfig
2129 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8568mds freescale
2131 PM854_config: unconfig
2132 @$(MKCONFIG) $(@:_config=) ppc mpc85xx pm854
2134 PM856_config: unconfig
2135 @$(MKCONFIG) $(@:_config=) ppc mpc85xx pm856
2139 sbc8540_66_config: unconfig
2140 @mkdir -p $(obj)include
2141 @if [ "$(findstring _66_,$@)" ] ; then \
2142 echo "#define CONFIG_PCI_66" >>$(obj)include/config.h ; \
2143 $(XECHO) "... 66 MHz PCI" ; \
2145 >$(obj)include/config.h ; \
2146 $(XECHO) "... 33 MHz PCI" ; \
2148 @$(MKCONFIG) -a SBC8540 ppc mpc85xx sbc8560
2150 sbc8548_config: unconfig
2151 @$(MKCONFIG) $(@:_config=) ppc mpc85xx sbc8548
2155 sbc8560_66_config: unconfig
2156 @mkdir -p $(obj)include
2157 @if [ "$(findstring _66_,$@)" ] ; then \
2158 echo "#define CONFIG_PCI_66" >>$(obj)include/config.h ; \
2159 $(XECHO) "... 66 MHz PCI" ; \
2161 >$(obj)include/config.h ; \
2162 $(XECHO) "... 33 MHz PCI" ; \
2164 @$(MKCONFIG) -a sbc8560 ppc mpc85xx sbc8560
2166 stxgp3_config: unconfig
2167 @$(MKCONFIG) $(@:_config=) ppc mpc85xx stxgp3
2170 stxssa_4M_config: unconfig
2171 @mkdir -p $(obj)include
2172 @if [ "$(findstring _4M_,$@)" ] ; then \
2173 echo "#define CONFIG_STXSSA_4M" >>$(obj)include/config.h ; \
2174 $(XECHO) "... with 4 MiB flash memory" ; \
2176 >$(obj)include/config.h ; \
2178 @$(MKCONFIG) -a stxssa ppc mpc85xx stxssa
2183 TQM8560_config: unconfig
2184 @mkdir -p $(obj)include
2185 @CTYPE=$(subst TQM,,$(@:_config=)); \
2186 >$(obj)include/config.h ; \
2187 $(XECHO) "... TQM"$${CTYPE}; \
2188 echo "#define CONFIG_MPC$${CTYPE}">>$(obj)include/config.h; \
2189 echo "#define CONFIG_TQM$${CTYPE}">>$(obj)include/config.h; \
2190 echo "#define CONFIG_HOSTNAME tqm$${CTYPE}">>$(obj)include/config.h; \
2191 echo "#define CONFIG_BOARDNAME \"TQM$${CTYPE}\"">>$(obj)include/config.h; \
2192 echo "#define CFG_BOOTFILE_PATH \"/tftpboot/tqm$${CTYPE}/uImage\"">>$(obj)include/config.h
2193 @$(MKCONFIG) -a TQM85xx ppc mpc85xx tqm85xx
2195 #########################################################################
2197 #########################################################################
2199 MPC8610HPCD_config: unconfig
2200 @$(MKCONFIG) $(@:_config=) ppc mpc86xx mpc8610hpcd freescale
2202 MPC8641HPCN_config: unconfig
2203 @$(MKCONFIG) $(@:_config=) ppc mpc86xx mpc8641hpcn freescale
2205 sbc8641d_config: unconfig
2206 @./mkconfig $(@:_config=) ppc mpc86xx sbc8641d
2208 #########################################################################
2210 #########################################################################
2212 AmigaOneG3SE_config: unconfig
2213 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx AmigaOneG3SE MAI
2215 BAB7xx_config: unconfig
2216 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx bab7xx eltec
2218 CPCI750_config: unconfig
2219 @$(MKCONFIG) CPCI750 ppc 74xx_7xx cpci750 esd
2221 DB64360_config: unconfig
2222 @$(MKCONFIG) DB64360 ppc 74xx_7xx db64360 Marvell
2224 DB64460_config: unconfig
2225 @$(MKCONFIG) DB64460 ppc 74xx_7xx db64460 Marvell
2227 ELPPC_config: unconfig
2228 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx elppc eltec
2231 EVB64260_750CX_config: unconfig
2232 @$(MKCONFIG) EVB64260 ppc 74xx_7xx evb64260
2234 mpc7448hpc2_config: unconfig
2235 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx mpc7448hpc2
2237 P3G4_config: unconfig
2238 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx evb64260
2241 p3m7448_config: unconfig
2242 @mkdir -p $(obj)include
2243 @if [ "$(findstring 750_,$@)" ] ; then \
2244 echo "#define CONFIG_P3M750" >>$(obj)include/config.h ; \
2246 echo "#define CONFIG_P3M7448" >>$(obj)include/config.h ; \
2248 @$(MKCONFIG) -a p3mx ppc 74xx_7xx p3mx prodrive
2251 PCIPPC6_config: unconfig
2252 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx pcippc2
2254 ZUMA_config: unconfig
2255 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx evb64260
2257 ppmc7xx_config: unconfig
2258 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx ppmc7xx
2260 #========================================================================
2262 #========================================================================
2263 #########################################################################
2264 ## StrongARM Systems
2265 #########################################################################
2267 assabet_config : unconfig
2268 @$(MKCONFIG) $(@:_config=) arm sa1100 assabet
2270 dnp1110_config : unconfig
2271 @$(MKCONFIG) $(@:_config=) arm sa1100 dnp1110
2273 gcplus_config : unconfig
2274 @$(MKCONFIG) $(@:_config=) arm sa1100 gcplus
2276 lart_config : unconfig
2277 @$(MKCONFIG) $(@:_config=) arm sa1100 lart
2279 shannon_config : unconfig
2280 @$(MKCONFIG) $(@:_config=) arm sa1100 shannon
2282 #########################################################################
2284 #########################################################################
2286 xtract_trab = $(subst _bigram,,$(subst _bigflash,,$(subst _old,,$(subst _config,,$1))))
2288 xtract_omap1610xxx = $(subst _cs0boot,,$(subst _cs3boot,,$(subst _cs_autoboot,,$(subst _config,,$1))))
2290 xtract_omap730p2 = $(subst _cs0boot,,$(subst _cs3boot,, $(subst _config,,$1)))
2292 at91rm9200dk_config : unconfig
2293 @$(MKCONFIG) $(@:_config=) arm arm920t at91rm9200dk NULL at91rm9200
2295 cmc_pu2_config : unconfig
2296 @$(MKCONFIG) $(@:_config=) arm arm920t cmc_pu2 NULL at91rm9200
2298 csb637_config : unconfig
2299 @$(MKCONFIG) $(@:_config=) arm arm920t csb637 NULL at91rm9200
2301 mp2usb_config : unconfig
2302 @$(MKCONFIG) $(@:_config=) arm arm920t mp2usb NULL at91rm9200
2305 ########################################################################
2306 ## ARM Integrator boards - see doc/README-integrator for more info.
2307 integratorap_config \
2316 ap946es_config: unconfig
2317 @board/integratorap/split_by_variant.sh $@
2319 integratorcp_config \
2328 cp1026_config: unconfig
2329 @board/integratorcp/split_by_variant.sh $@
2331 kb9202_config : unconfig
2332 @$(MKCONFIG) $(@:_config=) arm arm920t kb9202 NULL at91rm9200
2335 lpd7a404_config: unconfig
2336 @$(MKCONFIG) $(@:_config=) arm lh7a40x lpd7a40x
2338 mx1ads_config : unconfig
2339 @$(MKCONFIG) $(@:_config=) arm arm920t mx1ads NULL imx
2341 mx1fs2_config : unconfig
2342 @$(MKCONFIG) $(@:_config=) arm arm920t mx1fs2 NULL imx
2345 netstar_config: unconfig
2346 @mkdir -p $(obj)include
2347 @if [ "$(findstring _32_,$@)" ] ; then \
2348 $(XECHO) "... 32MB SDRAM" ; \
2349 echo "#define PHYS_SDRAM_1_SIZE SZ_32M" >>$(obj)include/config.h ; \
2351 $(XECHO) "... 64MB SDRAM" ; \
2352 echo "#define PHYS_SDRAM_1_SIZE SZ_64M" >>$(obj)include/config.h ; \
2354 @$(MKCONFIG) -a netstar arm arm925t netstar
2356 omap1510inn_config : unconfig
2357 @$(MKCONFIG) $(@:_config=) arm arm925t omap1510inn
2359 omap5912osk_config : unconfig
2360 @$(MKCONFIG) $(@:_config=) arm arm926ejs omap5912osk NULL omap
2362 davinci_dvevm_config : unconfig
2363 @$(MKCONFIG) $(@:_config=) arm arm926ejs dv-evm davinci davinci
2365 davinci_schmoogie_config : unconfig
2366 @$(MKCONFIG) $(@:_config=) arm arm926ejs schmoogie davinci davinci
2368 davinci_sonata_config : unconfig
2369 @$(MKCONFIG) $(@:_config=) arm arm926ejs sonata davinci davinci
2371 omap1610inn_config \
2372 omap1610inn_cs0boot_config \
2373 omap1610inn_cs3boot_config \
2374 omap1610inn_cs_autoboot_config \
2376 omap1610h2_cs0boot_config \
2377 omap1610h2_cs3boot_config \
2378 omap1610h2_cs_autoboot_config: unconfig
2379 @mkdir -p $(obj)include
2380 @if [ "$(findstring _cs0boot_, $@)" ] ; then \
2381 echo "#define CONFIG_CS0_BOOT" >> .$(obj)include/config.h ; \
2382 $(XECHO) "... configured for CS0 boot"; \
2383 elif [ "$(findstring _cs_autoboot_, $@)" ] ; then \
2384 echo "#define CONFIG_CS_AUTOBOOT" >> $(obj)include/config.h ; \
2385 $(XECHO) "... configured for CS_AUTO boot"; \
2387 echo "#define CONFIG_CS3_BOOT" >> $(obj)include/config.h ; \
2388 $(XECHO) "... configured for CS3 boot"; \
2390 @$(MKCONFIG) -a $(call xtract_omap1610xxx,$@) arm arm926ejs omap1610inn NULL omap
2393 omap730p2_cs0boot_config \
2394 omap730p2_cs3boot_config : unconfig
2395 @mkdir -p $(obj)include
2396 @if [ "$(findstring _cs0boot_, $@)" ] ; then \
2397 echo "#define CONFIG_CS0_BOOT" >> $(obj)include/config.h ; \
2398 $(XECHO) "... configured for CS0 boot"; \
2400 echo "#define CONFIG_CS3_BOOT" >> $(obj)include/config.h ; \
2401 $(XECHO) "... configured for CS3 boot"; \
2403 @$(MKCONFIG) -a $(call xtract_omap730p2,$@) arm arm926ejs omap730p2 NULL omap
2405 sbc2410x_config: unconfig
2406 @$(MKCONFIG) $(@:_config=) arm arm920t sbc2410x NULL s3c24x0
2408 scb9328_config : unconfig
2409 @$(MKCONFIG) $(@:_config=) arm arm920t scb9328 NULL imx
2411 smdk2400_config : unconfig
2412 @$(MKCONFIG) $(@:_config=) arm arm920t smdk2400 NULL s3c24x0
2414 smdk2410_config : unconfig
2415 @$(MKCONFIG) $(@:_config=) arm arm920t smdk2410 NULL s3c24x0
2417 SX1_config : unconfig
2418 @$(MKCONFIG) $(@:_config=) arm arm925t sx1
2420 # TRAB default configuration: 8 MB Flash, 32 MB RAM
2422 trab_bigram_config \
2423 trab_bigflash_config \
2424 trab_old_config: unconfig
2425 @mkdir -p $(obj)include
2426 @mkdir -p $(obj)board/trab
2427 @ >$(obj)include/config.h
2428 @[ -z "$(findstring _bigram,$@)" ] || \
2429 { echo "#define CONFIG_FLASH_8MB" >>$(obj)include/config.h ; \
2430 echo "#define CONFIG_RAM_32MB" >>$(obj)include/config.h ; \
2431 $(XECHO) "... with 8 MB Flash, 32 MB RAM" ; \
2433 @[ -z "$(findstring _bigflash,$@)" ] || \
2434 { echo "#define CONFIG_FLASH_16MB" >>$(obj)include/config.h ; \
2435 echo "#define CONFIG_RAM_16MB" >>$(obj)include/config.h ; \
2436 $(XECHO) "... with 16 MB Flash, 16 MB RAM" ; \
2437 echo "TEXT_BASE = 0x0CF40000" >$(obj)board/trab/config.tmp ; \
2439 @[ -z "$(findstring _old,$@)" ] || \
2440 { echo "#define CONFIG_FLASH_8MB" >>$(obj)include/config.h ; \
2441 echo "#define CONFIG_RAM_16MB" >>$(obj)include/config.h ; \
2442 $(XECHO) "... with 8 MB Flash, 16 MB RAM" ; \
2443 echo "TEXT_BASE = 0x0CF40000" >$(obj)board/trab/config.tmp ; \
2445 @$(MKCONFIG) -a $(call xtract_trab,$@) arm arm920t trab NULL s3c24x0
2447 VCMA9_config : unconfig
2448 @$(MKCONFIG) $(@:_config=) arm arm920t vcma9 mpl s3c24x0
2450 #========================================================================
2451 # ARM supplied Versatile development boards
2452 #========================================================================
2454 versatileab_config \
2455 versatilepb_config : unconfig
2456 @board/versatile/split_by_variant.sh $@
2458 voiceblue_smallflash_config \
2459 voiceblue_config: unconfig
2460 @mkdir -p $(obj)include
2461 @mkdir -p $(obj)board/voiceblue
2462 @if [ "$(findstring _smallflash_,$@)" ] ; then \
2463 $(XECHO) "... boot from lower flash bank" ; \
2464 echo "#define VOICEBLUE_SMALL_FLASH" >>$(obj)include/config.h ; \
2465 echo "VOICEBLUE_SMALL_FLASH=y" >$(obj)board/voiceblue/config.tmp ; \
2467 $(XECHO) "... boot from upper flash bank" ; \
2468 >$(obj)include/config.h ; \
2469 echo "VOICEBLUE_SMALL_FLASH=n" >$(obj)board/voiceblue/config.tmp ; \
2471 @$(MKCONFIG) -a voiceblue arm arm925t voiceblue
2473 cm4008_config : unconfig
2474 @$(MKCONFIG) $(@:_config=) arm arm920t cm4008 NULL ks8695
2476 cm41xx_config : unconfig
2477 @$(MKCONFIG) $(@:_config=) arm arm920t cm41xx NULL ks8695
2479 gth2_config : unconfig
2480 @mkdir -p $(obj)include
2481 @ >$(obj)include/config.h
2482 @echo "#define CONFIG_GTH2 1" >>$(obj)include/config.h
2483 @$(MKCONFIG) -a gth2 mips mips gth2
2485 #########################################################################
2487 #########################################################################
2489 B2_config : unconfig
2490 @$(MKCONFIG) $(@:_config=) arm s3c44b0 B2 dave
2492 #########################################################################
2494 #########################################################################
2496 armadillo_config: unconfig
2497 @$(MKCONFIG) $(@:_config=) arm arm720t armadillo
2499 ep7312_config : unconfig
2500 @$(MKCONFIG) $(@:_config=) arm arm720t ep7312
2502 impa7_config : unconfig
2503 @$(MKCONFIG) $(@:_config=) arm arm720t impa7
2505 modnet50_config : unconfig
2506 @$(MKCONFIG) $(@:_config=) arm arm720t modnet50
2508 evb4510_config : unconfig
2509 @$(MKCONFIG) $(@:_config=) arm arm720t evb4510
2511 lpc2292sodimm_config: unconfig
2512 @$(MKCONFIG) $(@:_config=) arm arm720t lpc2292sodimm NULL lpc2292
2514 SMN42_config : unconfig
2515 @$(MKCONFIG) $(@:_config=) arm arm720t SMN42 siemens lpc2292
2517 #########################################################################
2519 #########################################################################
2521 actux1_config : unconfig
2522 @$(MKCONFIG) $(@:_config=) arm ixp actux1
2524 actux2_config : unconfig
2525 @$(MKCONFIG) $(@:_config=) arm ixp actux2
2527 actux3_config : unconfig
2528 @$(MKCONFIG) $(@:_config=) arm ixp actux3
2530 actux4_config : unconfig
2531 @$(MKCONFIG) $(@:_config=) arm ixp actux4
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 qemu_mips_config: unconfig
2694 @mkdir -p $(obj)include
2695 @ >$(obj)include/config.h
2696 @echo "#define CONFIG_QEMU_MIPS 1" >>$(obj)include/config.h
2697 @$(MKCONFIG) -a qemu-mips mips mips qemu-mips
2699 #########################################################################
2701 #########################################################################
2703 purple_config : unconfig
2704 @$(MKCONFIG) $(@:_config=) mips mips purple
2706 #========================================================================
2708 #========================================================================
2709 #########################################################################
2711 #########################################################################
2713 DK1C20_safe_32_config \
2714 DK1C20_standard_32_config \
2715 DK1C20_config: unconfig
2716 @mkdir -p $(obj)include
2717 @ >$(obj)include/config.h
2718 @[ -z "$(findstring _safe_32,$@)" ] || \
2719 { echo "#define CONFIG_NIOS_SAFE_32 1" >>$(obj)include/config.h ; \
2720 $(XECHO) "... NIOS 'safe_32' configuration" ; \
2722 @[ -z "$(findstring _standard_32,$@)" ] || \
2723 { echo "#define CONFIG_NIOS_STANDARD_32 1" >>$(obj)include/config.h ; \
2724 $(XECHO) "... NIOS 'standard_32' configuration" ; \
2726 @[ -z "$(findstring DK1C20_config,$@)" ] || \
2727 { echo "#define CONFIG_NIOS_STANDARD_32 1" >>$(obj)include/config.h ; \
2728 $(XECHO) "... NIOS 'standard_32' configuration (DEFAULT)" ; \
2730 @$(MKCONFIG) -a DK1C20 nios nios dk1c20 altera
2732 DK1S10_safe_32_config \
2733 DK1S10_standard_32_config \
2734 DK1S10_mtx_ldk_20_config \
2735 DK1S10_config: unconfig
2736 @mkdir -p $(obj)include
2737 @ >$(obj)include/config.h
2738 @[ -z "$(findstring _safe_32,$@)" ] || \
2739 { echo "#define CONFIG_NIOS_SAFE_32 1" >>$(obj)include/config.h ; \
2740 $(XECHO) "... NIOS 'safe_32' configuration" ; \
2742 @[ -z "$(findstring _standard_32,$@)" ] || \
2743 { echo "#define CONFIG_NIOS_STANDARD_32 1" >>$(obj)include/config.h ; \
2744 $(XECHO) "... NIOS 'standard_32' configuration" ; \
2746 @[ -z "$(findstring _mtx_ldk_20,$@)" ] || \
2747 { echo "#define CONFIG_NIOS_MTX_LDK_20 1" >>$(obj)include/config.h ; \
2748 $(XECHO) "... NIOS 'mtx_ldk_20' configuration" ; \
2750 @[ -z "$(findstring DK1S10_config,$@)" ] || \
2751 { echo "#define CONFIG_NIOS_STANDARD_32 1" >>$(obj)include/config.h ; \
2752 $(XECHO) "... NIOS 'standard_32' configuration (DEFAULT)" ; \
2754 @$(MKCONFIG) -a DK1S10 nios nios dk1s10 altera
2756 ADNPESC1_DNPEVA2_base_32_config \
2757 ADNPESC1_base_32_config \
2758 ADNPESC1_config: unconfig
2759 @mkdir -p $(obj)include
2760 @ >$(obj)include/config.h
2761 @[ -z "$(findstring _DNPEVA2,$@)" ] || \
2762 { echo "#define CONFIG_DNPEVA2 1" >>$(obj)include/config.h ; \
2763 $(XECHO) "... DNP/EVA2 configuration" ; \
2765 @[ -z "$(findstring _base_32,$@)" ] || \
2766 { echo "#define CONFIG_NIOS_BASE_32 1" >>$(obj)include/config.h ; \
2767 $(XECHO) "... NIOS 'base_32' configuration" ; \
2769 @[ -z "$(findstring ADNPESC1_config,$@)" ] || \
2770 { echo "#define CONFIG_NIOS_BASE_32 1" >>$(obj)include/config.h ; \
2771 $(XECHO) "... NIOS 'base_32' configuration (DEFAULT)" ; \
2773 @$(MKCONFIG) -a ADNPESC1 nios nios adnpesc1 ssv
2775 #########################################################################
2777 #########################################################################
2779 EP1C20_config : unconfig
2780 @$(MKCONFIG) EP1C20 nios2 nios2 ep1c20 altera
2782 EP1S10_config : unconfig
2783 @$(MKCONFIG) EP1S10 nios2 nios2 ep1s10 altera
2785 EP1S40_config : unconfig
2786 @$(MKCONFIG) EP1S40 nios2 nios2 ep1s40 altera
2788 PK1C20_config : unconfig
2789 @$(MKCONFIG) PK1C20 nios2 nios2 pk1c20 psyent
2791 PCI5441_config : unconfig
2792 @$(MKCONFIG) PCI5441 nios2 nios2 pci5441 psyent
2794 #========================================================================
2796 #========================================================================
2797 #########################################################################
2799 #########################################################################
2800 suzaku_config: unconfig
2801 @mkdir -p $(obj)include
2802 @ >$(obj)include/config.h
2803 @echo "#define CONFIG_SUZAKU 1" >> $(obj)include/config.h
2804 @$(MKCONFIG) -a $(@:_config=) microblaze microblaze suzaku AtmarkTechno
2806 ml401_config: unconfig
2807 @mkdir -p $(obj)include
2808 @ >$(obj)include/config.h
2809 @echo "#define CONFIG_ML401 1" >> $(obj)include/config.h
2810 @$(MKCONFIG) -a $(@:_config=) microblaze microblaze ml401 xilinx
2812 xupv2p_config: unconfig
2813 @mkdir -p $(obj)include
2814 @ >$(obj)include/config.h
2815 @echo "#define CONFIG_XUPV2P 1" >> $(obj)include/config.h
2816 @$(MKCONFIG) -a $(@:_config=) microblaze microblaze xupv2p xilinx
2818 #========================================================================
2820 #========================================================================
2822 # Analog Devices boards
2823 BFIN_BOARDS = bf533-ezkit bf533-stamp bf537-stamp bf561-ezkit
2825 $(BFIN_BOARDS:%=%_config) : unconfig
2826 @$(MKCONFIG) $(@:_config=) blackfin $(firstword $(subst -, ,$@)) $(@:_config=)
2832 #========================================================================
2834 #========================================================================
2835 #########################################################################
2837 #########################################################################
2839 atstk1002_config : unconfig
2840 @$(MKCONFIG) $(@:_config=) avr32 at32ap atstk1000 atmel at32ap700x
2842 atstk1003_config : unconfig
2843 @$(MKCONFIG) $(@:_config=) avr32 at32ap atstk1000 atmel at32ap700x
2845 atstk1004_config : unconfig
2846 @$(MKCONFIG) $(@:_config=) avr32 at32ap atstk1000 atmel at32ap700x
2848 atngw100_config : unconfig
2849 @$(MKCONFIG) $(@:_config=) avr32 at32ap atngw100 atmel at32ap700x
2851 #########################################################################
2852 #########################################################################
2853 #########################################################################
2855 #########################################################################
2856 ## sh3 (Renesas SuperH)
2857 #########################################################################
2858 ms7720se_config: unconfig
2860 @echo "#define CONFIG_MS7720SE 1" >> include/config.h
2861 @./mkconfig -a $(@:_config=) sh sh3 ms7720se
2863 #########################################################################
2864 ## sh4 (Renesas SuperH)
2865 #########################################################################
2866 ms7750se_config: unconfig
2867 @ >$(obj)include/config.h
2868 @echo "#define CONFIG_MS7750SE 1" >> $(obj)include/config.h
2869 @./mkconfig -a $(@:_config=) sh sh4 ms7750se
2871 ms7722se_config : unconfig
2872 @ >$(obj)include/config.h
2873 @echo "#define CONFIG_MS7722SE 1" >> $(obj)include/config.h
2874 @./mkconfig -a $(@:_config=) sh sh4 ms7722se
2876 #########################################################################
2877 #########################################################################
2878 #########################################################################
2881 @find $(OBJTREE) -type f \
2882 \( -name 'core' -o -name '*.bak' -o -name '*~' \
2883 -o -name '*.o' -o -name '*.a' \) -print \
2885 @rm -f $(obj)examples/hello_world $(obj)examples/timer \
2886 $(obj)examples/eepro100_eeprom $(obj)examples/sched \
2887 $(obj)examples/mem_to_mem_idma2intr $(obj)examples/82559_eeprom \
2888 $(obj)examples/smc91111_eeprom $(obj)examples/interrupt \
2889 $(obj)examples/test_burst
2890 @rm -f $(obj)tools/img2srec $(obj)tools/mkimage $(obj)tools/envcrc \
2891 $(obj)tools/gen_eth_addr $(obj)tools/ubsha1
2892 @rm -f $(obj)tools/mpc86x_clk $(obj)tools/ncb
2893 @rm -f $(obj)tools/easylogo/easylogo $(obj)tools/bmp_logo
2894 @rm -f $(obj)tools/gdb/astest $(obj)tools/gdb/gdbcont $(obj)tools/gdb/gdbsend
2895 @rm -f $(obj)tools/env/fw_printenv $(obj)tools/env/fw_setenv
2896 @rm -f $(obj)board/cray/L1/bootscript.c $(obj)board/cray/L1/bootscript.image
2897 @rm -f $(obj)board/netstar/eeprom $(obj)board/netstar/crcek $(obj)board/netstar/crcit
2898 @rm -f $(obj)board/netstar/*.srec $(obj)board/netstar/*.bin
2899 @rm -f $(obj)board/trab/trab_fkt $(obj)board/voiceblue/eeprom
2900 @rm -f $(obj)board/integratorap/u-boot.lds $(obj)board/integratorcp/u-boot.lds
2901 @rm -f $(obj)board/bf533-ezkit/u-boot.lds $(obj)board/bf533-stamp/u-boot.lds
2902 @rm -f $(obj)board/bf537-stamp/u-boot.lds $(obj)board/bf561-ezkit/u-boot.lds
2903 @rm -f $(obj)include/bmp_logo.h
2904 @rm -f $(obj)nand_spl/u-boot-spl $(obj)nand_spl/u-boot-spl.map
2905 @rm -f $(obj)api_examples/demo $(VERSION_FILE)
2908 @find $(OBJTREE) -type f \( -name .depend \
2909 -o -name '*.srec' -o -name '*.bin' -o -name u-boot.img \) \
2912 @rm -f $(OBJS) $(obj)*.bak $(obj)ctags $(obj)etags $(obj)TAGS
2914 @rm -f $(obj)u-boot $(obj)u-boot.map $(obj)u-boot.hex $(ALL)
2915 @rm -f $(obj)tools/crc32.c $(obj)tools/environment.c $(obj)tools/env/crc32.c $(obj)tools/sha1.c
2916 @rm -f $(obj)tools/inca-swap-bytes $(obj)cpu/mpc824x/bedbug_603e.c
2917 @rm -f $(obj)include/asm/proc $(obj)include/asm/arch $(obj)include/asm
2918 @[ ! -d $(obj)nand_spl ] || find $(obj)nand_spl -lname "*" -print | xargs rm -f
2919 @[ ! -d $(obj)api_examples ] || find $(obj)api_examples -lname "*" -print | xargs rm -f
2921 ifeq ($(OBJTREE),$(SRCTREE))
2923 distclean: clobber unconfig
2926 distclean: clobber unconfig
2931 F=`basename $(TOPDIR)` ; cd .. ; \
2932 gtar --force-local -zcvf `date "+$$F-%Y-%m-%d-%T.tar.gz"` $$F
2934 #########################################################################