2 # (C) Copyright 2000-2008
3 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
5 # See file CREDITS for list of people who contributed to this
8 # This program is free software; you can redistribute it and/or
9 # modify it under the terms of the GNU General Public License as
10 # published by the Free Software Foundatio; either version 2 of
11 # the License, or (at your option) any later version.
13 # This program is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 # GNU General Public License for more details.
18 # You should have received a copy of the GNU General Public License
19 # along with this program; if not, write to the Free Software
20 # Foundation, Inc., 59 Temple Place, Suite 330, Boston,
28 U_BOOT_VERSION = $(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)
29 VERSION_FILE = $(obj)include/version_autogenerated.h
31 HOSTARCH := $(shell uname -m | \
40 HOSTOS := $(shell uname -s | tr '[:upper:]' '[:lower:]' | \
41 sed -e 's/\(cygwin\).*/cygwin/')
43 export HOSTARCH HOSTOS
45 # Deal with colliding definitions from tcsh etc.
48 #########################################################################
49 # Allow for silent builds
50 ifeq (,$(findstring s,$(MAKEFLAGS)))
56 #########################################################################
58 # U-boot build supports producing a object files to the separate external
59 # directory. Two use cases are supported:
61 # 1) Add O= to the make command line
62 # 'make O=/tmp/build all'
64 # 2) Set environement variable BUILD_DIR to point to the desired location
65 # 'export BUILD_DIR=/tmp/build'
68 # The second approach can also be used with a MAKEALL script
69 # 'export BUILD_DIR=/tmp/build'
72 # Command line 'O=' setting overrides BUILD_DIR environent variable.
74 # When none of the above methods is used the local build is performed and
75 # the object files are placed in the source directory.
79 ifeq ("$(origin O)", "command line")
85 saved-output := $(BUILD_DIR)
87 # Attempt to create a output directory.
88 $(shell [ -d ${BUILD_DIR} ] || mkdir -p ${BUILD_DIR})
90 # Verify if it was successful.
91 BUILD_DIR := $(shell cd $(BUILD_DIR) && /bin/pwd)
92 $(if $(BUILD_DIR),,$(error output directory "$(saved-output)" does not exist))
93 endif # ifneq ($(BUILD_DIR),)
95 OBJTREE := $(if $(BUILD_DIR),$(BUILD_DIR),$(CURDIR))
99 export TOPDIR SRCTREE OBJTREE
101 MKCONFIG := $(SRCTREE)/mkconfig
104 ifneq ($(OBJTREE),$(SRCTREE))
109 # $(obj) and (src) are defined in config.mk but here in main Makefile
110 # we also need them before config.mk is included which is the case for
111 # some targets like unconfig, clean, clobber, distclean, etc.
112 ifneq ($(OBJTREE),$(SRCTREE))
121 #########################################################################
123 ifeq ($(obj)include/config.mk,$(wildcard $(obj)include/config.mk))
125 # load ARCH, BOARD, and CPU configuration
126 include $(obj)include/config.mk
127 export ARCH CPU BOARD VENDOR SOC
130 ifeq ($(HOSTARCH),$(ARCH))
134 CROSS_COMPILE = ppc_8xx-
137 CROSS_COMPILE = arm-linux-
140 CROSS_COMPILE = i386-linux-
143 CROSS_COMPILE = mips_4KC-
146 CROSS_COMPILE = nios-elf-
149 CROSS_COMPILE = nios2-elf-
152 CROSS_COMPILE = m68k-elf-
154 ifeq ($(ARCH),microblaze)
157 ifeq ($(ARCH),blackfin)
158 CROSS_COMPILE = bfin-uclinux-
161 CROSS_COMPILE = avr32-linux-
164 CROSS_COMPILE = sh4-linux-
166 endif # HOSTARCH,ARCH
167 endif # CROSS_COMPILE
171 # load other configuration
172 include $(TOPDIR)/config.mk
174 #########################################################################
175 # U-Boot objects....order is important (i.e. start must be first)
177 OBJS = cpu/$(CPU)/start.o
179 OBJS += cpu/$(CPU)/start16.o
180 OBJS += cpu/$(CPU)/reset.o
183 OBJS += cpu/$(CPU)/resetvec.o
185 ifeq ($(CPU),mpc85xx)
186 OBJS += cpu/$(CPU)/resetvec.o
189 OBJS += cpu/$(CPU)/start1.o cpu/$(CPU)/interrupt.o cpu/$(CPU)/cache.o
190 OBJS += cpu/$(CPU)/flush.o cpu/$(CPU)/init_sdram.o
193 OBJS += cpu/$(CPU)/start1.o cpu/$(CPU)/interrupt.o cpu/$(CPU)/cache.o
194 OBJS += cpu/$(CPU)/flush.o cpu/$(CPU)/init_sdram.o
197 OBJS += cpu/$(CPU)/start1.o cpu/$(CPU)/interrupt.o cpu/$(CPU)/cache.o
198 OBJS += cpu/$(CPU)/flush.o cpu/$(CPU)/init_sdram.o
201 OBJS := $(addprefix $(obj),$(OBJS))
203 LIBS = lib_generic/libgeneric.a
204 LIBS += $(shell if [ -f board/$(VENDOR)/common/Makefile ]; then echo \
205 "board/$(VENDOR)/common/lib$(VENDOR).a"; fi)
206 LIBS += board/$(BOARDDIR)/lib$(BOARD).a
207 LIBS += cpu/$(CPU)/lib$(CPU).a
209 LIBS += cpu/$(CPU)/$(SOC)/lib$(SOC).a
212 LIBS += cpu/ixp/npe/libnpe.a
214 LIBS += lib_$(ARCH)/lib$(ARCH).a
215 LIBS += fs/cramfs/libcramfs.a fs/fat/libfat.a fs/fdos/libfdos.a fs/jffs2/libjffs2.a \
216 fs/reiserfs/libreiserfs.a fs/ext2/libext2fs.a
218 LIBS += disk/libdisk.a
219 LIBS += drivers/bios_emulator/libatibiosemu.a
220 LIBS += drivers/block/libblock.a
221 LIBS += drivers/hwmon/libhwmon.a
222 LIBS += drivers/i2c/libi2c.a
223 LIBS += drivers/input/libinput.a
224 LIBS += drivers/misc/libmisc.a
225 LIBS += drivers/mtd/libmtd.a
226 LIBS += drivers/mtd/nand/libnand.a
227 LIBS += drivers/mtd/nand_legacy/libnand_legacy.a
228 LIBS += drivers/mtd/onenand/libonenand.a
229 LIBS += drivers/net/libnet.a
230 LIBS += drivers/net/sk98lin/libsk98lin.a
231 LIBS += drivers/pci/libpci.a
232 LIBS += drivers/pcmcia/libpcmcia.a
233 LIBS += drivers/spi/libspi.a
234 ifeq ($(CPU),mpc83xx)
235 LIBS += drivers/qe/qe.a
237 ifeq ($(CPU),mpc85xx)
238 LIBS += drivers/qe/qe.a
240 LIBS += drivers/rtc/librtc.a
241 LIBS += drivers/serial/libserial.a
242 LIBS += drivers/usb/libusb.a
243 LIBS += drivers/video/libvideo.a
244 LIBS += post/libpost.a post/drivers/libpostdrivers.a
245 LIBS += $(shell if [ -d post/lib_$(ARCH) ]; then echo \
246 "post/lib_$(ARCH)/libpost$(ARCH).a"; fi)
247 LIBS += $(shell if [ -d post/lib_$(ARCH)/fpu ]; then echo \
248 "post/lib_$(ARCH)/fpu/libpost$(ARCH)fpu.a"; fi)
249 LIBS += $(shell if [ -d post/cpu/$(CPU) ]; then echo \
250 "post/cpu/$(CPU)/libpost$(CPU).a"; fi)
251 LIBS += $(shell if [ -d post/board/$(BOARDDIR) ]; then echo \
252 "post/board/$(BOARDDIR)/libpost$(BOARD).a"; fi)
253 LIBS += common/libcommon.a
254 LIBS += libfdt/libfdt.a
255 ifeq ($(CONFIG_API),y)
259 LIBS := $(addprefix $(obj),$(LIBS))
263 PLATFORM_LIBS += -L $(shell dirname `$(CC) $(CFLAGS) -print-libgcc-file-name`) -lgcc
265 # The "tools" are needed early, so put this first
266 # Don't include stuff already done in $(LIBS)
270 ifeq ($(CONFIG_API),y)
271 SUBDIRS += api_examples
276 ifeq ($(CONFIG_NAND_U_BOOT),y)
278 U_BOOT_NAND = $(obj)u-boot-nand.bin
281 __OBJS := $(subst $(obj),,$(OBJS))
282 __LIBS := $(subst $(obj),,$(LIBS))
284 #########################################################################
285 #########################################################################
287 ALL += $(obj)u-boot.srec $(obj)u-boot.bin $(obj)System.map $(U_BOOT_NAND)
291 $(obj)u-boot.hex: $(obj)u-boot
292 $(OBJCOPY) ${OBJCFLAGS} -O ihex $< $@
294 $(obj)u-boot.srec: $(obj)u-boot
295 $(OBJCOPY) ${OBJCFLAGS} -O srec $< $@
297 $(obj)u-boot.bin: $(obj)u-boot
298 $(OBJCOPY) ${OBJCFLAGS} -O binary $< $@
300 $(obj)u-boot.img: $(obj)u-boot.bin
301 ./tools/mkimage -A $(ARCH) -T firmware -C none \
302 -a $(TEXT_BASE) -e 0 \
303 -n $(shell sed -n -e 's/.*U_BOOT_VERSION//p' $(VERSION_FILE) | \
304 sed -e 's/"[ ]*$$/ for $(BOARD) board"/') \
307 $(obj)u-boot.sha1: $(obj)u-boot.bin
308 $(obj)tools/ubsha1 $(obj)u-boot.bin
310 $(obj)u-boot.dis: $(obj)u-boot
311 $(OBJDUMP) -d $< > $@
313 $(obj)u-boot: depend $(SUBDIRS) $(OBJS) $(LIBS) $(LDSCRIPT)
314 UNDEF_SYM=`$(OBJDUMP) -x $(LIBS) |sed -n -e 's/.*\(__u_boot_cmd_.*\)/-u\1/p'|sort|uniq`;\
315 cd $(LNDIR) && $(LD) $(LDFLAGS) $$UNDEF_SYM $(__OBJS) \
316 --start-group $(__LIBS) --end-group $(PLATFORM_LIBS) \
317 -Map u-boot.map -o u-boot
319 $(OBJS): $(obj)include/autoconf.mk
320 $(MAKE) -C cpu/$(CPU) $(if $(REMOTE_BUILD),$@,$(notdir $@))
322 $(LIBS): $(obj)include/autoconf.mk
323 $(MAKE) -C $(dir $(subst $(obj),,$@))
325 $(SUBDIRS): $(obj)include/autoconf.mk
328 $(NAND_SPL): $(VERSION_FILE) $(obj)include/autoconf.mk
329 $(MAKE) -C nand_spl/board/$(BOARDDIR) all
331 $(U_BOOT_NAND): $(NAND_SPL) $(obj)u-boot.bin $(obj)include/autoconf.mk
332 cat $(obj)nand_spl/u-boot-spl-16k.bin $(obj)u-boot.bin > $(obj)u-boot-nand.bin
335 @( echo -n "#define U_BOOT_VERSION \"U-Boot " ; \
336 echo -n "$(U_BOOT_VERSION)" ; \
337 echo -n $(shell $(CONFIG_SHELL) $(TOPDIR)/tools/setlocalversion \
339 echo "\"" ) > $(VERSION_FILE)
342 $(MAKE) -C tools/gdb all || exit 1
345 $(MAKE) -C tools/updater all || exit 1
348 $(MAKE) -C tools/env all MTD_VERSION=${MTD_VERSION} || exit 1
350 depend dep: $(VERSION_FILE)
351 for dir in $(SUBDIRS) ; do $(MAKE) -C $$dir _depend ; done
353 TAG_SUBDIRS += include
354 TAG_SUBDIRS += lib_generic board/$(BOARDDIR)
355 TAG_SUBDIRS += cpu/$(CPU)
356 TAG_SUBDIRS += lib_$(ARCH)
357 TAG_SUBDIRS += fs/cramfs
358 TAG_SUBDIRS += fs/fat
359 TAG_SUBDIRS += fs/fdos
360 TAG_SUBDIRS += fs/jffs2
363 TAG_SUBDIRS += common
364 TAG_SUBDIRS += drivers/bios_emulator
365 TAG_SUBDIRS += drivers/block
366 TAG_SUBDIRS += drivers/hwmon
367 TAG_SUBDIRS += drivers/i2c
368 TAG_SUBDIRS += drivers/input
369 TAG_SUBDIRS += drivers/misc
370 TAG_SUBDIRS += drivers/mtd
371 TAG_SUBDIRS += drivers/mtd/nand
372 TAG_SUBDIRS += drivers/mtd/nand_legacy
373 TAG_SUBDIRS += drivers/mtd/onenand
374 TAG_SUBDIRS += drivers/net
375 TAG_SUBDIRS += drivers/net/sk98lin
376 TAG_SUBDIRS += drivers/pci
377 TAG_SUBDIRS += drivers/pcmcia
378 TAG_SUBDIRS += drivers/qe
379 TAG_SUBDIRS += drivers/rtc
380 TAG_SUBDIRS += drivers/serial
381 TAG_SUBDIRS += drivers/spi
382 TAG_SUBDIRS += drivers/usb
383 TAG_SUBDIRS += drivers/video
386 ctags -w -o $(obj)ctags `find $(SUBDIRS) $(TAG_SUBDIRS) \
387 -name '*.[ch]' -print`
390 etags -a -o $(obj)etags `find $(SUBDIRS) $(TAG_SUBDIRS) \
391 -name '*.[ch]' -print`
393 $(obj)System.map: $(obj)u-boot
395 grep -v '\(compiled\)\|\(\.o$$\)\|\( [aUw] \)\|\(\.\.ng$$\)\|\(LASH[RL]DI\)' | \
396 sort > $(obj)System.map
399 # Auto-generate the autoconf.mk file (which is included by all makefiles)
401 # This target actually generates 2 files; autoconf.mk and autoconf.mk.dep.
402 # the dep file is only include in this top level makefile to determine when
403 # to regenerate the autoconf.mk file.
404 $(obj)include/autoconf.mk: $(obj)include/config.h $(VERSION_FILE)
405 @$(XECHO) Generating include/autoconf.mk ; \
406 : Generate the dependancies ; \
407 $(CC) -M $(HOST_CFLAGS) $(CPPFLAGS) -MQ $@ include/common.h > $@.dep ; \
408 : Extract the config macros ; \
409 $(CPP) $(CFLAGS) -dM include/common.h | sed -n -f tools/scripts/define2mk.sed > $@
411 sinclude $(obj)include/autoconf.mk.dep
413 #########################################################################
415 all $(obj)u-boot.hex $(obj)u-boot.srec $(obj)u-boot.bin \
416 $(obj)u-boot.img $(obj)u-boot.dis $(obj)u-boot \
417 $(SUBDIRS) $(VERSION_FILE) gdbtools updater env depend \
418 dep tags ctags etags $(obj)System.map:
419 @echo "System not configured - see README" >&2
425 git log --no-merges U-Boot-1_1_5.. | \
426 unexpand -a | sed -e 's/\s\s*$$//' > $@
428 #########################################################################
431 @rm -f $(obj)include/config.h $(obj)include/config.mk \
432 $(obj)board/*/config.tmp $(obj)board/*/*/config.tmp \
433 $(obj)include/autoconf.mk $(obj)include/autoconf.mk.dep
435 #========================================================================
437 #========================================================================
439 #########################################################################
441 #########################################################################
443 canmb_config: unconfig
444 @$(MKCONFIG) -a canmb ppc mpc5xxx canmb
446 cmi_mpc5xx_config: unconfig
447 @$(MKCONFIG) $(@:_config=) ppc mpc5xx cmi
449 PATI_config: unconfig
450 @$(MKCONFIG) $(@:_config=) ppc mpc5xx pati mpl
452 #########################################################################
454 #########################################################################
457 @$(MKCONFIG) -a aev ppc mpc5xxx tqm5200
459 BC3450_config: unconfig
460 @$(MKCONFIG) -a BC3450 ppc mpc5xxx bc3450
462 cpci5200_config: unconfig
463 @$(MKCONFIG) -a cpci5200 ppc mpc5xxx cpci5200 esd
465 hmi1001_config: unconfig
466 @$(MKCONFIG) hmi1001 ppc mpc5xxx hmi1001
469 Lite5200_LOWBOOT_config \
470 Lite5200_LOWBOOT08_config \
471 icecube_5200_config \
472 icecube_5200_LOWBOOT_config \
473 icecube_5200_LOWBOOT08_config \
474 icecube_5200_DDR_config \
475 icecube_5200_DDR_LOWBOOT_config \
476 icecube_5200_DDR_LOWBOOT08_config \
477 icecube_5100_config: unconfig
478 @mkdir -p $(obj)include
479 @mkdir -p $(obj)board/icecube
480 @ >$(obj)include/config.h
481 @[ -z "$(findstring LOWBOOT_,$@)" ] || \
482 { if [ "$(findstring DDR,$@)" ] ; \
483 then echo "TEXT_BASE = 0xFF800000" >$(obj)board/icecube/config.tmp ; \
484 else echo "TEXT_BASE = 0xFF000000" >$(obj)board/icecube/config.tmp ; \
486 $(XECHO) "... with LOWBOOT configuration" ; \
488 @[ -z "$(findstring LOWBOOT08,$@)" ] || \
489 { echo "TEXT_BASE = 0xFF800000" >$(obj)board/icecube/config.tmp ; \
490 echo "... with 8 MB flash only" ; \
491 $(XECHO) "... with LOWBOOT configuration" ; \
493 @[ -z "$(findstring DDR,$@)" ] || \
494 { echo "#define CONFIG_MPC5200_DDR" >>$(obj)include/config.h ; \
495 $(XECHO) "... DDR memory revision" ; \
497 @[ -z "$(findstring 5200,$@)" ] || \
498 { echo "#define CONFIG_MPC5200" >>$(obj)include/config.h ; \
499 $(XECHO) "... with MPC5200 processor" ; \
501 @[ -z "$(findstring 5100,$@)" ] || \
502 { echo "#define CONFIG_MGT5100" >>$(obj)include/config.h ; \
503 $(XECHO) "... with MGT5100 processor" ; \
505 @$(MKCONFIG) -a IceCube ppc mpc5xxx icecube
507 jupiter_config: unconfig
508 @$(MKCONFIG) jupiter ppc mpc5xxx jupiter
510 v38b_config: unconfig
511 @$(MKCONFIG) -a v38b ppc mpc5xxx v38b
513 inka4x0_config: unconfig
514 @$(MKCONFIG) inka4x0 ppc mpc5xxx inka4x0
517 lite5200b_PM_config \
518 lite5200b_LOWBOOT_config: unconfig
519 @mkdir -p $(obj)include
520 @mkdir -p $(obj)board/icecube
521 @ >$(obj)include/config.h
522 @ echo "#define CONFIG_MPC5200_DDR" >>$(obj)include/config.h
523 @ $(XECHO) "... DDR memory revision"
524 @ echo "#define CONFIG_MPC5200" >>$(obj)include/config.h
525 @ echo "#define CONFIG_LITE5200B" >>$(obj)include/config.h
526 @[ -z "$(findstring _PM_,$@)" ] || \
527 { echo "#define CONFIG_LITE5200B_PM" >>$(obj)include/config.h ; \
528 $(XECHO) "... with power management (low-power mode) support" ; \
530 @[ -z "$(findstring LOWBOOT_,$@)" ] || \
531 { echo "TEXT_BASE = 0xFF000000" >$(obj)board/icecube/config.tmp ; \
532 $(XECHO) "... with LOWBOOT configuration" ; \
534 @ $(XECHO) "... with MPC5200B processor"
535 @$(MKCONFIG) -a IceCube ppc mpc5xxx icecube
538 mcc200_SDRAM_config \
539 mcc200_highboot_config \
540 mcc200_COM12_config \
541 mcc200_COM12_SDRAM_config \
542 mcc200_COM12_highboot_config \
543 mcc200_COM12_highboot_SDRAM_config \
544 mcc200_highboot_SDRAM_config \
547 prs200_highboot_config \
548 prs200_highboot_DDR_config: unconfig
549 @mkdir -p $(obj)include
550 @mkdir -p $(obj)board/mcc200
551 @ >$(obj)include/config.h
552 @[ -n "$(findstring highboot,$@)" ] || \
553 { $(XECHO) "... with lowboot configuration" ; \
555 @[ -z "$(findstring highboot,$@)" ] || \
556 { echo "TEXT_BASE = 0xFFF00000" >$(obj)board/mcc200/config.tmp ; \
557 $(XECHO) "... with highboot configuration" ; \
559 @[ -n "$(findstring _SDRAM,$@)" ] || \
560 { if [ -n "$(findstring mcc200,$@)" ]; \
562 $(XECHO) "... with DDR" ; \
564 if [ -n "$(findstring _DDR,$@)" ];\
566 $(XECHO) "... with DDR" ; \
568 echo "#define CONFIG_MCC200_SDRAM" >>$(obj)include/config.h ;\
569 $(XECHO) "... with SDRAM" ; \
573 @[ -z "$(findstring _SDRAM,$@)" ] || \
574 { echo "#define CONFIG_MCC200_SDRAM" >>$(obj)include/config.h ; \
575 $(XECHO) "... with SDRAM" ; \
577 @[ -z "$(findstring COM12,$@)" ] || \
578 { echo "#define CONFIG_CONSOLE_COM12" >>$(obj)include/config.h ; \
579 $(XECHO) "... with console on COM12" ; \
581 @[ -z "$(findstring prs200,$@)" ] || \
582 { echo "#define CONFIG_PRS200" >>$(obj)include/config.h ;\
584 @$(MKCONFIG) -n $@ -a mcc200 ppc mpc5xxx mcc200
586 mecp5200_config: unconfig
587 @$(MKCONFIG) mecp5200 ppc mpc5xxx mecp5200 esd
589 munices_config: unconfig
590 @$(MKCONFIG) munices ppc mpc5xxx munices
593 @$(MKCONFIG) o2dnt ppc mpc5xxx o2dnt
595 pf5200_config: unconfig
596 @$(MKCONFIG) pf5200 ppc mpc5xxx pf5200 esd
600 PM520_ROMBOOT_config \
601 PM520_ROMBOOT_DDR_config: unconfig
602 @mkdir -p $(obj)include
603 @ >$(obj)include/config.h
604 @[ -z "$(findstring DDR,$@)" ] || \
605 { echo "#define CONFIG_MPC5200_DDR" >>$(obj)include/config.h ; \
606 $(XECHO) "... DDR memory revision" ; \
608 @[ -z "$(findstring ROMBOOT,$@)" ] || \
609 { echo "#define CONFIG_BOOT_ROM" >>$(obj)include/config.h ; \
610 $(XECHO) "... booting from 8-bit flash" ; \
612 @$(MKCONFIG) -a PM520 ppc mpc5xxx pm520
614 smmaco4_config: unconfig
615 @$(MKCONFIG) -a smmaco4 ppc mpc5xxx tqm5200
617 cm5200_config: unconfig
618 @./mkconfig -a cm5200 ppc mpc5xxx cm5200
620 spieval_config: unconfig
621 @$(MKCONFIG) -a spieval ppc mpc5xxx tqm5200
624 TB5200_config: unconfig
625 @mkdir -p $(obj)include
626 @[ -z "$(findstring _B,$@)" ] || \
627 { echo "#define CONFIG_TQM5200_B" >>$(obj)include/config.h ; \
628 $(XECHO) "... with MPC5200B processor" ; \
630 @$(MKCONFIG) -n $@ -a TB5200 ppc mpc5xxx tqm5200
634 TOP5200_config: unconfig
635 @mkdir -p $(obj)include
636 @ echo "#define CONFIG_$(@:_config=) 1" >$(obj)include/config.h
637 @$(MKCONFIG) -n $@ -a TOP5200 ppc mpc5xxx top5200 emk
641 Total5200_lowboot_config \
642 Total5200_Rev2_config \
643 Total5200_Rev2_lowboot_config: unconfig
644 @mkdir -p $(obj)include
645 @mkdir -p $(obj)board/total5200
646 @ >$(obj)include/config.h
647 @[ -z "$(findstring 5100,$@)" ] || \
648 { echo "#define CONFIG_MGT5100" >>$(obj)include/config.h ; \
649 $(XECHO) "... with MGT5100 processor" ; \
651 @[ -z "$(findstring 5200,$@)" ] || \
652 { echo "#define CONFIG_MPC5200" >>$(obj)include/config.h ; \
653 $(XECHO) "... with MPC5200 processor" ; \
655 @[ -n "$(findstring Rev,$@)" ] || \
656 { echo "#define CONFIG_TOTAL5200_REV 1" >>$(obj)include/config.h ; \
657 $(XECHO) "... revision 1 board" ; \
659 @[ -z "$(findstring Rev2_,$@)" ] || \
660 { echo "#define CONFIG_TOTAL5200_REV 2" >>$(obj)include/config.h ; \
661 $(XECHO) "... revision 2 board" ; \
663 @[ -z "$(findstring lowboot_,$@)" ] || \
664 { echo "TEXT_BASE = 0xFE000000" >$(obj)board/total5200/config.tmp ; \
665 $(XECHO) "... with lowboot configuration" ; \
667 @$(MKCONFIG) -a Total5200 ppc mpc5xxx total5200
670 cam5200_niosflash_config \
674 TQM5200S_HIGHBOOT_config \
676 TQM5200_B_HIGHBOOT_config \
678 TQM5200_STK100_config: unconfig
679 @mkdir -p $(obj)include
680 @mkdir -p $(obj)board/tqm5200
681 @ >$(obj)include/config.h
682 @[ -z "$(findstring cam5200,$@)" ] || \
683 { echo "#define CONFIG_CAM5200" >>$(obj)include/config.h ; \
684 echo "#define CONFIG_TQM5200S" >>$(obj)include/config.h ; \
685 echo "#define CONFIG_TQM5200_B" >>$(obj)include/config.h ; \
686 $(XECHO) "... TQM5200S on Cam5200" ; \
688 @[ -z "$(findstring niosflash,$@)" ] || \
689 { echo "#define CONFIG_CAM5200_NIOSFLASH" >>$(obj)include/config.h ; \
690 $(XECHO) "... with NIOS flash driver" ; \
692 @[ -z "$(findstring fo300,$@)" ] || \
693 { echo "#define CONFIG_FO300" >>$(obj)include/config.h ; \
694 $(XECHO) "... TQM5200 on FO300" ; \
696 @[ -z "$(findstring MiniFAP,$@)" ] || \
697 { echo "#define CONFIG_MINIFAP" >>$(obj)include/config.h ; \
698 $(XECHO) "... TQM5200_AC on MiniFAP" ; \
700 @[ -z "$(findstring STK100,$@)" ] || \
701 { echo "#define CONFIG_STK52XX_REV100" >>$(obj)include/config.h ; \
702 $(XECHO) "... on a STK52XX.100 base board" ; \
704 @[ -z "$(findstring TQM5200_B,$@)" ] || \
705 { echo "#define CONFIG_TQM5200_B" >>$(obj)include/config.h ; \
707 @[ -z "$(findstring TQM5200S,$@)" ] || \
708 { echo "#define CONFIG_TQM5200S" >>$(obj)include/config.h ; \
709 echo "#define CONFIG_TQM5200_B" >>$(obj)include/config.h ; \
711 @[ -z "$(findstring HIGHBOOT,$@)" ] || \
712 { echo "TEXT_BASE = 0xFFF00000" >$(obj)board/tqm5200/config.tmp ; \
714 @$(MKCONFIG) -n $@ -a TQM5200 ppc mpc5xxx tqm5200
715 uc101_config: unconfig
716 @$(MKCONFIG) uc101 ppc mpc5xxx uc101
717 motionpro_config: unconfig
718 @$(MKCONFIG) motionpro ppc mpc5xxx motionpro
721 #########################################################################
723 #########################################################################
724 ads5121_config: unconfig
725 @$(MKCONFIG) ads5121 ppc mpc512x ads5121
728 #########################################################################
730 #########################################################################
736 @mkdir -p $(obj)include
737 $(if $(findstring AdderII,$@), \
738 @echo "#define CONFIG_MPC852T" > $(obj)include/config.h)
739 @$(MKCONFIG) -a Adder ppc mpc8xx adder
741 AdderUSB_config: unconfig
742 @./mkconfig -a AdderUSB ppc mpc8xx adder
749 FADS860T_config: unconfig
750 @$(MKCONFIG) $(@:_config=) ppc mpc8xx fads
752 AMX860_config : unconfig
753 @$(MKCONFIG) $(@:_config=) ppc mpc8xx amx860 westel
755 c2mon_config: unconfig
756 @$(MKCONFIG) $(@:_config=) ppc mpc8xx c2mon
759 @$(MKCONFIG) $(@:_config=) ppc mpc8xx CCM siemens
761 cogent_mpc8xx_config: unconfig
762 @$(MKCONFIG) $(@:_config=) ppc mpc8xx cogent
764 ELPT860_config: unconfig
765 @$(MKCONFIG) $(@:_config=) ppc mpc8xx elpt860 LEOX
767 EP88x_config: unconfig
768 @$(MKCONFIG) $(@:_config=) ppc mpc8xx ep88x
770 ESTEEM192E_config: unconfig
771 @$(MKCONFIG) $(@:_config=) ppc mpc8xx esteem192e
773 ETX094_config : unconfig
774 @$(MKCONFIG) $(@:_config=) ppc mpc8xx etx094
776 FLAGADM_config: unconfig
777 @$(MKCONFIG) $(@:_config=) ppc mpc8xx flagadm
779 xtract_GEN860T = $(subst _SC,,$(subst _config,,$1))
782 GEN860T_config: unconfig
783 @mkdir -p $(obj)include
784 @ >$(obj)include/config.h
785 @[ -z "$(findstring _SC,$@)" ] || \
786 { echo "#define CONFIG_SC" >>$(obj)include/config.h ; \
787 $(XECHO) "With reduced H/W feature set (SC)..." ; \
789 @$(MKCONFIG) -a $(call xtract_GEN860T,$@) ppc mpc8xx gen860t
791 GENIETV_config: unconfig
792 @$(MKCONFIG) $(@:_config=) ppc mpc8xx genietv
795 @$(MKCONFIG) $(@:_config=) ppc mpc8xx gth
797 hermes_config : unconfig
798 @$(MKCONFIG) $(@:_config=) ppc mpc8xx hermes
800 HMI10_config : unconfig
801 @$(MKCONFIG) $(@:_config=) ppc mpc8xx tqm8xx
803 IAD210_config: unconfig
804 @$(MKCONFIG) $(@:_config=) ppc mpc8xx IAD210 siemens
806 xtract_ICU862 = $(subst _100MHz,,$(subst _config,,$1))
808 ICU862_100MHz_config \
809 ICU862_config: unconfig
810 @mkdir -p $(obj)include
811 @ >$(obj)include/config.h
812 @[ -z "$(findstring _100MHz,$@)" ] || \
813 { echo "#define CONFIG_100MHz" >>$(obj)include/config.h ; \
814 $(XECHO) "... with 100MHz system clock" ; \
816 @$(MKCONFIG) -a $(call xtract_ICU862,$@) ppc mpc8xx icu862
818 IP860_config : unconfig
819 @$(MKCONFIG) $(@:_config=) ppc mpc8xx ip860
823 IVML24_config: unconfig
824 @mkdir -p $(obj)include
825 @ >$(obj)include/config.h
826 @[ -z "$(findstring IVML24_config,$@)" ] || \
827 { echo "#define CONFIG_IVML24_16M" >>$(obj)include/config.h ; \
829 @[ -z "$(findstring IVML24_128_config,$@)" ] || \
830 { echo "#define CONFIG_IVML24_32M" >>$(obj)include/config.h ; \
832 @[ -z "$(findstring IVML24_256_config,$@)" ] || \
833 { echo "#define CONFIG_IVML24_64M" >>$(obj)include/config.h ; \
835 @$(MKCONFIG) -a IVML24 ppc mpc8xx ivm
839 IVMS8_config: unconfig
840 @mkdir -p $(obj)include
841 @ >$(obj)include/config.h
842 @[ -z "$(findstring IVMS8_config,$@)" ] || \
843 { echo "#define CONFIG_IVMS8_16M" >>$(obj)include/config.h ; \
845 @[ -z "$(findstring IVMS8_128_config,$@)" ] || \
846 { echo "#define CONFIG_IVMS8_32M" >>$(obj)include/config.h ; \
848 @[ -z "$(findstring IVMS8_256_config,$@)" ] || \
849 { echo "#define CONFIG_IVMS8_64M" >>$(obj)include/config.h ; \
851 @$(MKCONFIG) -a IVMS8 ppc mpc8xx ivm
853 KUP4K_config : unconfig
854 @$(MKCONFIG) $(@:_config=) ppc mpc8xx kup4k kup
856 KUP4X_config : unconfig
857 @$(MKCONFIG) $(@:_config=) ppc mpc8xx kup4x kup
859 LANTEC_config : unconfig
860 @$(MKCONFIG) $(@:_config=) ppc mpc8xx lantec
862 lwmon_config: unconfig
863 @$(MKCONFIG) $(@:_config=) ppc mpc8xx lwmon
866 MBX860T_config: unconfig
867 @$(MKCONFIG) $(@:_config=) ppc mpc8xx mbx8xx
869 mgsuvd_config: unconfig
870 @$(MKCONFIG) $(@:_config=) ppc mpc8xx mgsuvd
872 MHPC_config: unconfig
873 @$(MKCONFIG) $(@:_config=) ppc mpc8xx mhpc eltec
875 MVS1_config : unconfig
876 @$(MKCONFIG) $(@:_config=) ppc mpc8xx mvs1
878 xtract_NETVIA = $(subst _V2,,$(subst _config,,$1))
881 NETVIA_config: unconfig
882 @mkdir -p $(obj)include
883 @ >$(obj)include/config.h
884 @[ -z "$(findstring NETVIA_config,$@)" ] || \
885 { echo "#define CONFIG_NETVIA_VERSION 1" >>$(obj)include/config.h ; \
886 $(XECHO) "... Version 1" ; \
888 @[ -z "$(findstring NETVIA_V2_config,$@)" ] || \
889 { echo "#define CONFIG_NETVIA_VERSION 2" >>$(obj)include/config.h ; \
890 $(XECHO) "... Version 2" ; \
892 @$(MKCONFIG) -a $(call xtract_NETVIA,$@) ppc mpc8xx netvia
894 xtract_NETPHONE = $(subst _V2,,$(subst _config,,$1))
897 NETPHONE_config: unconfig
898 @mkdir -p $(obj)include
899 @ >$(obj)include/config.h
900 @[ -z "$(findstring NETPHONE_config,$@)" ] || \
901 { echo "#define CONFIG_NETPHONE_VERSION 1" >>$(obj)include/config.h ; \
903 @[ -z "$(findstring NETPHONE_V2_config,$@)" ] || \
904 { echo "#define CONFIG_NETPHONE_VERSION 2" >>$(obj)include/config.h ; \
906 @$(MKCONFIG) -a $(call xtract_NETPHONE,$@) ppc mpc8xx netphone
908 xtract_NETTA = $(subst _SWAPHOOK,,$(subst _6412,,$(subst _ISDN,,$(subst _config,,$1))))
910 NETTA_ISDN_6412_SWAPHOOK_config \
911 NETTA_ISDN_SWAPHOOK_config \
912 NETTA_6412_SWAPHOOK_config \
913 NETTA_SWAPHOOK_config \
914 NETTA_ISDN_6412_config \
917 NETTA_config: unconfig
918 @mkdir -p $(obj)include
919 @ >$(obj)include/config.h
920 @[ -z "$(findstring ISDN_,$@)" ] || \
921 { echo "#define CONFIG_NETTA_ISDN 1" >>$(obj)include/config.h ; \
923 @[ -n "$(findstring ISDN_,$@)" ] || \
924 { echo "#undef CONFIG_NETTA_ISDN" >>$(obj)include/config.h ; \
926 @[ -z "$(findstring 6412_,$@)" ] || \
927 { echo "#define CONFIG_NETTA_6412 1" >>$(obj)include/config.h ; \
929 @[ -n "$(findstring 6412_,$@)" ] || \
930 { echo "#undef CONFIG_NETTA_6412" >>$(obj)include/config.h ; \
932 @[ -z "$(findstring SWAPHOOK_,$@)" ] || \
933 { echo "#define CONFIG_NETTA_SWAPHOOK 1" >>$(obj)include/config.h ; \
935 @[ -n "$(findstring SWAPHOOK_,$@)" ] || \
936 { echo "#undef CONFIG_NETTA_SWAPHOOK" >>$(obj)include/config.h ; \
938 @$(MKCONFIG) -a $(call xtract_NETTA,$@) ppc mpc8xx netta
940 xtract_NETTA2 = $(subst _V2,,$(subst _config,,$1))
943 NETTA2_config: unconfig
944 @mkdir -p $(obj)include
945 @ >$(obj)include/config.h
946 @[ -z "$(findstring NETTA2_config,$@)" ] || \
947 { echo "#define CONFIG_NETTA2_VERSION 1" >>$(obj)include/config.h ; \
949 @[ -z "$(findstring NETTA2_V2_config,$@)" ] || \
950 { echo "#define CONFIG_NETTA2_VERSION 2" >>$(obj)include/config.h ; \
952 @$(MKCONFIG) -a $(call xtract_NETTA2,$@) ppc mpc8xx netta2
956 CP850_config: unconfig
957 @mkdir -p $(obj)include
958 @ >$(obj)include/config.h
959 @[ -z "$(findstring CP850,$@)" ] || \
960 { echo "#define CONFIG_CP850 1" >>$(obj)include/config.h ; \
961 echo "#define CONFIG_IDS852_REV2 1" >>$(obj)include/config.h ; \
963 @[ -z "$(findstring Rev1,$@)" ] || \
964 { echo "#define CONFIG_IDS852_REV1 1" >>$(obj)include/config.h ; \
966 @[ -z "$(findstring Rev2,$@)" ] || \
967 { echo "#define CONFIG_IDS852_REV2 1" >>$(obj)include/config.h ; \
969 @$(MKCONFIG) -a NC650 ppc mpc8xx nc650
971 NX823_config: unconfig
972 @$(MKCONFIG) $(@:_config=) ppc mpc8xx nx823
974 pcu_e_config: unconfig
975 @$(MKCONFIG) $(@:_config=) ppc mpc8xx pcu_e siemens
977 QS850_config: unconfig
978 @$(MKCONFIG) $(@:_config=) ppc mpc8xx qs850 snmc
980 QS823_config: unconfig
981 @$(MKCONFIG) $(@:_config=) ppc mpc8xx qs850 snmc
983 QS860T_config: unconfig
984 @$(MKCONFIG) $(@:_config=) ppc mpc8xx qs860t snmc
986 quantum_config: unconfig
987 @$(MKCONFIG) $(@:_config=) ppc mpc8xx quantum
989 R360MPI_config: unconfig
990 @$(MKCONFIG) $(@:_config=) ppc mpc8xx r360mpi
992 RBC823_config: unconfig
993 @$(MKCONFIG) $(@:_config=) ppc mpc8xx rbc823
995 RPXClassic_config: unconfig
996 @$(MKCONFIG) $(@:_config=) ppc mpc8xx RPXClassic
998 RPXlite_config: unconfig
999 @$(MKCONFIG) $(@:_config=) ppc mpc8xx RPXlite
1001 RPXlite_DW_64_config \
1002 RPXlite_DW_LCD_config \
1003 RPXlite_DW_64_LCD_config \
1004 RPXlite_DW_NVRAM_config \
1005 RPXlite_DW_NVRAM_64_config \
1006 RPXlite_DW_NVRAM_LCD_config \
1007 RPXlite_DW_NVRAM_64_LCD_config \
1008 RPXlite_DW_config: unconfig
1009 @mkdir -p $(obj)include
1010 @ >$(obj)include/config.h
1011 @[ -z "$(findstring _64,$@)" ] || \
1012 { echo "#define RPXlite_64MHz" >>$(obj)include/config.h ; \
1013 $(XECHO) "... with 64MHz system clock ..."; \
1015 @[ -z "$(findstring _LCD,$@)" ] || \
1016 { echo "#define CONFIG_LCD" >>$(obj)include/config.h ; \
1017 echo "#define CONFIG_NEC_NL6448BC20" >>$(obj)include/config.h ; \
1018 $(XECHO) "... with LCD display ..."; \
1020 @[ -z "$(findstring _NVRAM,$@)" ] || \
1021 { echo "#define CFG_ENV_IS_IN_NVRAM" >>$(obj)include/config.h ; \
1022 $(XECHO) "... with ENV in NVRAM ..."; \
1024 @$(MKCONFIG) -a RPXlite_DW ppc mpc8xx RPXlite_dw
1026 rmu_config: unconfig
1027 @$(MKCONFIG) $(@:_config=) ppc mpc8xx rmu
1029 RRvision_config: unconfig
1030 @$(MKCONFIG) $(@:_config=) ppc mpc8xx RRvision
1032 RRvision_LCD_config: unconfig
1033 @mkdir -p $(obj)include
1034 @echo "#define CONFIG_LCD" >$(obj)include/config.h
1035 @echo "#define CONFIG_SHARP_LQ104V7DS01" >>$(obj)include/config.h
1036 @$(MKCONFIG) -a RRvision ppc mpc8xx RRvision
1038 SM850_config : unconfig
1039 @$(MKCONFIG) $(@:_config=) ppc mpc8xx tqm8xx
1042 @$(MKCONFIG) $(@:_config=) ppc mpc8xx spc1920
1044 SPD823TS_config: unconfig
1045 @$(MKCONFIG) $(@:_config=) ppc mpc8xx spd8xx
1047 stxxtc_config: unconfig
1048 @$(MKCONFIG) $(@:_config=) ppc mpc8xx stxxtc
1050 svm_sc8xx_config: unconfig
1051 @$(MKCONFIG) $(@:_config=) ppc mpc8xx svm_sc8xx
1053 SXNI855T_config: unconfig
1054 @$(MKCONFIG) $(@:_config=) ppc mpc8xx sixnet
1056 # EMK MPC8xx based modules
1057 TOP860_config: unconfig
1058 @$(MKCONFIG) $(@:_config=) ppc mpc8xx top860 emk
1060 # Play some tricks for configuration selection
1061 # Only 855 and 860 boards may come with FEC
1062 # and only 823 boards may have LCD support
1063 xtract_8xx = $(subst _LCD,,$(subst _config,,$1))
1069 TQM823L_LCD_config \
1082 virtlab2_config: unconfig
1083 @mkdir -p $(obj)include
1084 @ >$(obj)include/config.h
1085 @[ -z "$(findstring _LCD,$@)" ] || \
1086 { echo "#define CONFIG_LCD" >>$(obj)include/config.h ; \
1087 echo "#define CONFIG_NEC_NL6448BC20" >>$(obj)include/config.h ; \
1088 $(XECHO) "... with LCD display" ; \
1090 @$(MKCONFIG) -a $(call xtract_8xx,$@) ppc mpc8xx tqm8xx
1092 TTTech_config: unconfig
1093 @mkdir -p $(obj)include
1094 @echo "#define CONFIG_LCD" >$(obj)include/config.h
1095 @echo "#define CONFIG_SHARP_LQ104V7DS01" >>$(obj)include/config.h
1096 @$(MKCONFIG) -a TQM823L ppc mpc8xx tqm8xx
1098 uc100_config : unconfig
1099 @$(MKCONFIG) $(@:_config=) ppc mpc8xx uc100
1101 v37_config: unconfig
1102 @mkdir -p $(obj)include
1103 @echo "#define CONFIG_LCD" >$(obj)include/config.h
1104 @echo "#define CONFIG_SHARP_LQ084V1DG21" >>$(obj)include/config.h
1105 @$(MKCONFIG) $(@:_config=) ppc mpc8xx v37
1107 wtk_config: unconfig
1108 @mkdir -p $(obj)include
1109 @echo "#define CONFIG_LCD" >$(obj)include/config.h
1110 @echo "#define CONFIG_SHARP_LQ065T9DR51U" >>$(obj)include/config.h
1111 @$(MKCONFIG) -a TQM823L ppc mpc8xx tqm8xx
1113 #########################################################################
1115 #########################################################################
1116 xtract_4xx = $(subst _25,,$(subst _33,,$(subst _BA,,$(subst _ME,,$(subst _HI,,$(subst _config,,$1))))))
1118 acadia_config: unconfig
1119 @$(MKCONFIG) $(@:_config=) ppc ppc4xx acadia amcc
1121 acadia_nand_config: unconfig
1122 @mkdir -p $(obj)include $(obj)board/amcc/acadia
1123 @mkdir -p $(obj)nand_spl/board/amcc/acadia
1124 @echo "#define CONFIG_NAND_U_BOOT" > $(obj)include/config.h
1125 @$(MKCONFIG) -n $@ -a acadia ppc ppc4xx acadia amcc
1126 @echo "TEXT_BASE = 0x01000000" > $(obj)board/amcc/acadia/config.tmp
1127 @echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk
1129 ADCIOP_config: unconfig
1130 @$(MKCONFIG) $(@:_config=) ppc ppc4xx adciop esd
1132 alpr_config: unconfig
1133 @$(MKCONFIG) $(@:_config=) ppc ppc4xx alpr prodrive
1135 AP1000_config:unconfig
1136 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ap1000 amirix
1138 APC405_config: unconfig
1139 @$(MKCONFIG) $(@:_config=) ppc ppc4xx apc405 esd
1141 AR405_config: unconfig
1142 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ar405 esd
1144 ASH405_config: unconfig
1145 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ash405 esd
1147 bamboo_config: unconfig
1148 @$(MKCONFIG) $(@:_config=) ppc ppc4xx bamboo amcc
1150 bamboo_nand_config: unconfig
1151 @mkdir -p $(obj)include $(obj)board/amcc/bamboo
1152 @mkdir -p $(obj)nand_spl/board/amcc/bamboo
1153 @echo "#define CONFIG_NAND_U_BOOT" > $(obj)include/config.h
1154 @$(MKCONFIG) -n $@ -a bamboo ppc ppc4xx bamboo amcc
1155 @echo "TEXT_BASE = 0x01000000" > $(obj)board/amcc/bamboo/config.tmp
1156 @echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk
1158 bubinga_config: unconfig
1159 @$(MKCONFIG) $(@:_config=) ppc ppc4xx bubinga amcc
1161 CANBT_config: unconfig
1162 @$(MKCONFIG) $(@:_config=) ppc ppc4xx canbt esd
1165 CATcenter_25_config \
1166 CATcenter_33_config: unconfig
1167 @mkdir -p $(obj)include
1168 @ echo "/* CATcenter uses PPChameleon Model ME */" > $(obj)include/config.h
1169 @ echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 1" >> $(obj)include/config.h
1170 @[ -z "$(findstring _25,$@)" ] || \
1171 { echo "#define CONFIG_PPCHAMELEON_CLK_25" >> $(obj)include/config.h ; \
1172 $(XECHO) "SysClk = 25MHz" ; \
1174 @[ -z "$(findstring _33,$@)" ] || \
1175 { echo "#define CONFIG_PPCHAMELEON_CLK_33" >> $(obj)include/config.h ; \
1176 $(XECHO) "SysClk = 33MHz" ; \
1178 @$(MKCONFIG) -a $(call xtract_4xx,$@) ppc ppc4xx PPChameleonEVB dave
1180 CPCI2DP_config: unconfig
1181 @$(MKCONFIG) $(@:_config=) ppc ppc4xx cpci2dp esd
1186 CPCI405AB_config: unconfig
1187 @$(MKCONFIG) $(@:_config=) ppc ppc4xx cpci405 esd
1188 @echo "BOARD_REVISION = $(@:_config=)" >> $(obj)include/config.mk
1190 CPCIISER4_config: unconfig
1191 @$(MKCONFIG) $(@:_config=) ppc ppc4xx cpciiser4 esd
1193 CRAYL1_config: unconfig
1194 @$(MKCONFIG) $(@:_config=) ppc ppc4xx L1 cray
1196 csb272_config: unconfig
1197 @$(MKCONFIG) $(@:_config=) ppc ppc4xx csb272
1199 csb472_config: unconfig
1200 @$(MKCONFIG) $(@:_config=) ppc ppc4xx csb472
1202 DASA_SIM_config: unconfig
1203 @$(MKCONFIG) $(@:_config=) ppc ppc4xx dasa_sim esd
1205 DP405_config: unconfig
1206 @$(MKCONFIG) $(@:_config=) ppc ppc4xx dp405 esd
1208 DU405_config: unconfig
1209 @$(MKCONFIG) $(@:_config=) ppc ppc4xx du405 esd
1211 DU440_config: unconfig
1212 @$(MKCONFIG) $(@:_config=) ppc ppc4xx du440 esd
1214 ebony_config: unconfig
1215 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ebony amcc
1217 ERIC_config: unconfig
1218 @$(MKCONFIG) $(@:_config=) ppc ppc4xx eric
1220 EXBITGEN_config: unconfig
1221 @$(MKCONFIG) $(@:_config=) ppc ppc4xx exbitgen
1223 G2000_config: unconfig
1224 @$(MKCONFIG) $(@:_config=) ppc ppc4xx g2000
1226 hcu4_config: unconfig
1227 @$(MKCONFIG) $(@:_config=) ppc ppc4xx hcu4 netstal
1229 hcu5_config: unconfig
1230 @$(MKCONFIG) $(@:_config=) ppc ppc4xx hcu5 netstal
1232 HH405_config: unconfig
1233 @$(MKCONFIG) $(@:_config=) ppc ppc4xx hh405 esd
1235 HUB405_config: unconfig
1236 @$(MKCONFIG) $(@:_config=) ppc ppc4xx hub405 esd
1238 JSE_config: unconfig
1239 @$(MKCONFIG) $(@:_config=) ppc ppc4xx jse
1241 KAREF_config: unconfig
1242 @$(MKCONFIG) $(@:_config=) ppc ppc4xx karef sandburst
1244 katmai_config: unconfig
1245 @$(MKCONFIG) $(@:_config=) ppc ppc4xx katmai amcc
1247 # Kilauea & Haleakala images are identical (recognized via PVR)
1249 haleakala_config: unconfig
1250 @$(MKCONFIG) -n $@ -a kilauea ppc ppc4xx kilauea amcc
1252 kilauea_nand_config \
1253 haleakala_nand_config: unconfig
1254 @mkdir -p $(obj)include $(obj)board/amcc/kilauea
1255 @mkdir -p $(obj)nand_spl/board/amcc/kilauea
1256 @echo "#define CONFIG_NAND_U_BOOT" > $(obj)include/config.h
1257 @$(MKCONFIG) -n $@ -a kilauea ppc ppc4xx kilauea amcc
1258 @echo "TEXT_BASE = 0x01000000" > $(obj)board/amcc/kilauea/config.tmp
1259 @echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk
1261 korat_config: unconfig
1262 @$(MKCONFIG) $(@:_config=) ppc ppc4xx korat
1264 luan_config: unconfig
1265 @$(MKCONFIG) $(@:_config=) ppc ppc4xx luan amcc
1267 lwmon5_config: unconfig
1268 @$(MKCONFIG) $(@:_config=) ppc ppc4xx lwmon5
1270 makalu_config: unconfig
1271 @$(MKCONFIG) $(@:_config=) ppc ppc4xx makalu amcc
1273 METROBOX_config: unconfig
1274 @$(MKCONFIG) $(@:_config=) ppc ppc4xx metrobox sandburst
1276 MIP405_config: unconfig
1277 @$(MKCONFIG) $(@:_config=) ppc ppc4xx mip405 mpl
1279 MIP405T_config: unconfig
1280 @mkdir -p $(obj)include
1281 @echo "#define CONFIG_MIP405T" >$(obj)include/config.h
1282 @$(XECHO) "Enable subset config for MIP405T"
1283 @$(MKCONFIG) -a MIP405 ppc ppc4xx mip405 mpl
1285 ML2_config: unconfig
1286 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ml2
1288 ml300_config: unconfig
1289 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ml300 xilinx
1291 ocotea_config: unconfig
1292 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ocotea amcc
1295 ORSG_config: unconfig
1296 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ocrtc esd
1298 p3p440_config: unconfig
1299 @$(MKCONFIG) $(@:_config=) ppc ppc4xx p3p440 prodrive
1301 PCI405_config: unconfig
1302 @$(MKCONFIG) $(@:_config=) ppc ppc4xx pci405 esd
1304 pcs440ep_config: unconfig
1305 @$(MKCONFIG) $(@:_config=) ppc ppc4xx pcs440ep
1307 PIP405_config: unconfig
1308 @$(MKCONFIG) $(@:_config=) ppc ppc4xx pip405 mpl
1310 PLU405_config: unconfig
1311 @$(MKCONFIG) $(@:_config=) ppc ppc4xx plu405 esd
1313 PMC405_config: unconfig
1314 @$(MKCONFIG) $(@:_config=) ppc ppc4xx pmc405 esd
1316 PMC440_config: unconfig
1317 @$(MKCONFIG) $(@:_config=) ppc ppc4xx pmc440 esd
1319 PPChameleonEVB_config \
1320 PPChameleonEVB_BA_25_config \
1321 PPChameleonEVB_ME_25_config \
1322 PPChameleonEVB_HI_25_config \
1323 PPChameleonEVB_BA_33_config \
1324 PPChameleonEVB_ME_33_config \
1325 PPChameleonEVB_HI_33_config: unconfig
1326 @mkdir -p $(obj)include
1327 @ >$(obj)include/config.h
1328 @[ -z "$(findstring EVB_BA,$@)" ] || \
1329 { echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 0" >>$(obj)include/config.h ; \
1330 $(XECHO) "... BASIC model" ; \
1332 @[ -z "$(findstring EVB_ME,$@)" ] || \
1333 { echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 1" >>$(obj)include/config.h ; \
1334 $(XECHO) "... MEDIUM model" ; \
1336 @[ -z "$(findstring EVB_HI,$@)" ] || \
1337 { echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 2" >>$(obj)include/config.h ; \
1338 $(XECHO) "... HIGH-END model" ; \
1340 @[ -z "$(findstring _25,$@)" ] || \
1341 { echo "#define CONFIG_PPCHAMELEON_CLK_25" >>$(obj)include/config.h ; \
1342 $(XECHO) "SysClk = 25MHz" ; \
1344 @[ -z "$(findstring _33,$@)" ] || \
1345 { echo "#define CONFIG_PPCHAMELEON_CLK_33" >>$(obj)include/config.h ; \
1346 $(XECHO) "SysClk = 33MHz" ; \
1348 @$(MKCONFIG) -a $(call xtract_4xx,$@) ppc ppc4xx PPChameleonEVB dave
1350 sbc405_config: unconfig
1351 @$(MKCONFIG) $(@:_config=) ppc ppc4xx sbc405
1354 rainier_config: unconfig
1355 @mkdir -p $(obj)include
1356 @echo "#define CONFIG_$$(echo $(subst ,,$(@:_config=)) | \
1357 tr '[:lower:]' '[:upper:]')" >$(obj)include/config.h
1358 @$(MKCONFIG) -n $@ -a sequoia ppc ppc4xx sequoia amcc
1360 sequoia_nand_config \
1361 rainier_nand_config: unconfig
1362 @mkdir -p $(obj)include $(obj)board/amcc/sequoia
1363 @mkdir -p $(obj)nand_spl/board/amcc/sequoia
1364 @echo "#define CONFIG_NAND_U_BOOT" > $(obj)include/config.h
1365 @echo "#define CONFIG_$$(echo $(subst ,,$(@:_config=)) | \
1366 tr '[:lower:]' '[:upper:]')" >> $(obj)include/config.h
1367 @$(MKCONFIG) -n $@ -a sequoia ppc ppc4xx sequoia amcc
1368 @echo "TEXT_BASE = 0x01000000" > $(obj)board/amcc/sequoia/config.tmp
1369 @echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk
1372 @$(MKCONFIG) $(@:_config=) ppc ppc4xx sc3
1374 taihu_config: unconfig
1375 @$(MKCONFIG) $(@:_config=) ppc ppc4xx taihu amcc
1377 taishan_config: unconfig
1378 @$(MKCONFIG) $(@:_config=) ppc ppc4xx taishan amcc
1380 VOH405_config: unconfig
1381 @$(MKCONFIG) $(@:_config=) ppc ppc4xx voh405 esd
1383 VOM405_config: unconfig
1384 @$(MKCONFIG) $(@:_config=) ppc ppc4xx vom405 esd
1386 CMS700_config: unconfig
1387 @$(MKCONFIG) $(@:_config=) ppc ppc4xx cms700 esd
1390 W7OLMG_config: unconfig
1391 @$(MKCONFIG) $(@:_config=) ppc ppc4xx w7o
1393 # Walnut & Sycamore images are identical (recognized via PVR)
1395 sycamore_config: unconfig
1396 @$(MKCONFIG) -n $@ -a walnut ppc ppc4xx walnut amcc
1398 WUH405_config: unconfig
1399 @$(MKCONFIG) $(@:_config=) ppc ppc4xx wuh405 esd
1401 XPEDITE1K_config: unconfig
1402 @$(MKCONFIG) $(@:_config=) ppc ppc4xx xpedite1k
1405 yellowstone_config: unconfig
1406 @mkdir -p $(obj)include
1407 @echo "#define CONFIG_$$(echo $(subst ,,$(@:_config=)) | \
1408 tr '[:lower:]' '[:upper:]')" >$(obj)include/config.h
1409 @$(MKCONFIG) -n $@ -a yosemite ppc ppc4xx yosemite amcc
1411 yucca_config: unconfig
1412 @$(MKCONFIG) $(@:_config=) ppc ppc4xx yucca amcc
1414 zeus_config: unconfig
1415 @$(MKCONFIG) $(@:_config=) ppc ppc4xx zeus
1417 #########################################################################
1419 #########################################################################
1422 Yukon8220_config: unconfig
1423 @$(MKCONFIG) $(@:_config=) ppc mpc8220 alaska
1425 sorcery_config: unconfig
1426 @$(MKCONFIG) $(@:_config=) ppc mpc8220 sorcery
1428 #########################################################################
1430 #########################################################################
1431 xtract_82xx = $(subst _BIGFLASH,,$(subst _ROMBOOT,,$(subst _L2,,$(subst _266MHz,,$(subst _300MHz,,$(subst _config,,$1))))))
1433 A3000_config: unconfig
1434 @$(MKCONFIG) $(@:_config=) ppc mpc824x a3000
1436 barco_config: unconfig
1437 @$(MKCONFIG) $(@:_config=) ppc mpc824x barco
1439 BMW_config: unconfig
1440 @$(MKCONFIG) $(@:_config=) ppc mpc824x bmw
1443 CPC45_ROMBOOT_config: unconfig
1444 @$(MKCONFIG) $(call xtract_82xx,$@) ppc mpc824x cpc45
1445 @cd $(obj)include ; \
1446 if [ "$(findstring _ROMBOOT_,$@)" ] ; then \
1447 echo "CONFIG_BOOT_ROM = y" >> config.mk ; \
1448 $(XECHO) "... booting from 8-bit flash" ; \
1450 echo "CONFIG_BOOT_ROM = n" >> config.mk ; \
1451 $(XECHO) "... booting from 64-bit flash" ; \
1453 echo "export CONFIG_BOOT_ROM" >> config.mk;
1455 CU824_config: unconfig
1456 @$(MKCONFIG) $(@:_config=) ppc mpc824x cu824
1458 debris_config: unconfig
1459 @$(MKCONFIG) $(@:_config=) ppc mpc824x debris etin
1461 eXalion_config: unconfig
1462 @$(MKCONFIG) $(@:_config=) ppc mpc824x eXalion
1464 HIDDEN_DRAGON_config: unconfig
1465 @$(MKCONFIG) $(@:_config=) ppc mpc824x hidden_dragon
1467 kvme080_config: unconfig
1468 @$(MKCONFIG) $(@:_config=) ppc mpc824x kvme080 etin
1470 MOUSSE_config: unconfig
1471 @$(MKCONFIG) $(@:_config=) ppc mpc824x mousse
1473 MUSENKI_config: unconfig
1474 @$(MKCONFIG) $(@:_config=) ppc mpc824x musenki
1476 MVBLUE_config: unconfig
1477 @$(MKCONFIG) $(@:_config=) ppc mpc824x mvblue
1479 OXC_config: unconfig
1480 @$(MKCONFIG) $(@:_config=) ppc mpc824x oxc
1482 PN62_config: unconfig
1483 @$(MKCONFIG) $(@:_config=) ppc mpc824x pn62
1485 Sandpoint8240_config: unconfig
1486 @$(MKCONFIG) $(@:_config=) ppc mpc824x sandpoint
1488 Sandpoint8245_config: unconfig
1489 @$(MKCONFIG) $(@:_config=) ppc mpc824x sandpoint
1491 sbc8240_config: unconfig
1492 @$(MKCONFIG) $(@:_config=) ppc mpc824x sbc8240
1494 SL8245_config: unconfig
1495 @$(MKCONFIG) $(@:_config=) ppc mpc824x sl8245
1497 utx8245_config: unconfig
1498 @$(MKCONFIG) $(@:_config=) ppc mpc824x utx8245
1500 #########################################################################
1502 #########################################################################
1504 atc_config: unconfig
1505 @$(MKCONFIG) $(@:_config=) ppc mpc8260 atc
1507 cogent_mpc8260_config: unconfig
1508 @$(MKCONFIG) $(@:_config=) ppc mpc8260 cogent
1511 CPU86_ROMBOOT_config: unconfig
1512 @$(MKCONFIG) $(call xtract_82xx,$@) ppc mpc8260 cpu86
1513 @cd $(obj)include ; \
1514 if [ "$(findstring _ROMBOOT_,$@)" ] ; then \
1515 echo "CONFIG_BOOT_ROM = y" >> config.mk ; \
1516 $(XECHO) "... booting from 8-bit flash" ; \
1518 echo "CONFIG_BOOT_ROM = n" >> config.mk ; \
1519 $(XECHO) "... booting from 64-bit flash" ; \
1521 echo "export CONFIG_BOOT_ROM" >> config.mk;
1524 CPU87_ROMBOOT_config: unconfig
1525 @$(MKCONFIG) $(call xtract_82xx,$@) ppc mpc8260 cpu87
1526 @cd $(obj)include ; \
1527 if [ "$(findstring _ROMBOOT_,$@)" ] ; then \
1528 echo "CONFIG_BOOT_ROM = y" >> config.mk ; \
1529 $(XECHO) "... booting from 8-bit flash" ; \
1531 echo "CONFIG_BOOT_ROM = n" >> config.mk ; \
1532 $(XECHO) "... booting from 64-bit flash" ; \
1534 echo "export CONFIG_BOOT_ROM" >> config.mk;
1537 ep8248E_config : unconfig
1538 @$(MKCONFIG) ep8248 ppc mpc8260 ep8248
1540 ep8260_config: unconfig
1541 @$(MKCONFIG) $(@:_config=) ppc mpc8260 ep8260
1543 ep82xxm_config: unconfig
1544 @$(MKCONFIG) $(@:_config=) ppc mpc8260 ep82xxm
1546 gw8260_config: unconfig
1547 @$(MKCONFIG) $(@:_config=) ppc mpc8260 gw8260
1549 hymod_config: unconfig
1550 @$(MKCONFIG) $(@:_config=) ppc mpc8260 hymod
1552 IDS8247_config: unconfig
1553 @$(MKCONFIG) $(@:_config=) ppc mpc8260 ids8247
1555 IPHASE4539_config: unconfig
1556 @$(MKCONFIG) $(@:_config=) ppc mpc8260 iphase4539
1559 ISPAN_REVB_config: unconfig
1560 @mkdir -p $(obj)include
1561 @if [ "$(findstring _REVB_,$@)" ] ; then \
1562 echo "#define CFG_REV_B" > $(obj)include/config.h ; \
1564 @$(MKCONFIG) -a ISPAN ppc mpc8260 ispan
1566 mgcoge_config : unconfig
1567 @$(MKCONFIG) mgcoge ppc mpc8260 mgcoge
1570 MPC8260ADS_lowboot_config \
1571 MPC8260ADS_33MHz_config \
1572 MPC8260ADS_33MHz_lowboot_config \
1573 MPC8260ADS_40MHz_config \
1574 MPC8260ADS_40MHz_lowboot_config \
1576 MPC8272ADS_lowboot_config \
1578 PQ2FADS_lowboot_config \
1580 PQ2FADS-VR_lowboot_config \
1582 PQ2FADS-ZU_lowboot_config \
1583 PQ2FADS-ZU_66MHz_config \
1584 PQ2FADS-ZU_66MHz_lowboot_config \
1586 @mkdir -p $(obj)include
1587 @mkdir -p $(obj)board/mpc8260ads
1588 $(if $(findstring PQ2FADS,$@), \
1589 @echo "#define CONFIG_ADSTYPE CFG_PQ2FADS" > $(obj)include/config.h, \
1590 @echo "#define CONFIG_ADSTYPE CFG_"$(subst MPC,,$(word 1,$(subst _, ,$@))) > $(obj)include/config.h)
1591 $(if $(findstring MHz,$@), \
1592 @echo "#define CONFIG_8260_CLKIN" $(subst MHz,,$(word 2,$(subst _, ,$@)))"000000" >> $(obj)include/config.h, \
1593 $(if $(findstring VR,$@), \
1594 @echo "#define CONFIG_8260_CLKIN 66000000" >> $(obj)include/config.h))
1595 @[ -z "$(findstring lowboot_,$@)" ] || \
1596 { echo "TEXT_BASE = 0xFF800000" >$(obj)board/mpc8260ads/config.tmp ; \
1597 $(XECHO) "... with lowboot configuration" ; \
1599 @$(MKCONFIG) -a MPC8260ADS ppc mpc8260 mpc8260ads
1601 MPC8266ADS_config: unconfig
1602 @$(MKCONFIG) $(@:_config=) ppc mpc8260 mpc8266ads
1604 # PM825/PM826 default configuration: small (= 8 MB) Flash / boot from 64-bit flash
1606 PM825_ROMBOOT_config \
1607 PM825_BIGFLASH_config \
1608 PM825_ROMBOOT_BIGFLASH_config \
1610 PM826_ROMBOOT_config \
1611 PM826_BIGFLASH_config \
1612 PM826_ROMBOOT_BIGFLASH_config: unconfig
1613 @mkdir -p $(obj)include
1614 @mkdir -p $(obj)board/pm826
1615 @if [ "$(findstring PM825_,$@)" ] ; then \
1616 echo "#define CONFIG_PCI" >$(obj)include/config.h ; \
1618 >$(obj)include/config.h ; \
1620 @if [ "$(findstring _ROMBOOT_,$@)" ] ; then \
1621 $(XECHO) "... booting from 8-bit flash" ; \
1622 echo "#define CONFIG_BOOT_ROM" >>$(obj)include/config.h ; \
1623 echo "TEXT_BASE = 0xFF800000" >$(obj)board/pm826/config.tmp ; \
1624 if [ "$(findstring _BIGFLASH_,$@)" ] ; then \
1625 $(XECHO) "... with 32 MB Flash" ; \
1626 echo "#define CONFIG_FLASH_32MB" >>$(obj)include/config.h ; \
1629 $(XECHO) "... booting from 64-bit flash" ; \
1630 if [ "$(findstring _BIGFLASH_,$@)" ] ; then \
1631 $(XECHO) "... with 32 MB Flash" ; \
1632 echo "#define CONFIG_FLASH_32MB" >>$(obj)include/config.h ; \
1633 echo "TEXT_BASE = 0x40000000" >$(obj)board/pm826/config.tmp ; \
1635 echo "TEXT_BASE = 0xFF000000" >$(obj)board/pm826/config.tmp ; \
1638 @$(MKCONFIG) -a PM826 ppc mpc8260 pm826
1642 PM828_ROMBOOT_config \
1643 PM828_ROMBOOT_PCI_config: unconfig
1644 @mkdir -p $(obj)include
1645 @mkdir -p $(obj)board/pm826
1646 @if [ "$(findstring _PCI_,$@)" ] ; then \
1647 echo "#define CONFIG_PCI" >>$(obj)include/config.h ; \
1648 $(XECHO) "... with PCI enabled" ; \
1650 >$(obj)include/config.h ; \
1652 @if [ "$(findstring _ROMBOOT_,$@)" ] ; then \
1653 $(XECHO) "... booting from 8-bit flash" ; \
1654 echo "#define CONFIG_BOOT_ROM" >>$(obj)include/config.h ; \
1655 echo "TEXT_BASE = 0xFF800000" >$(obj)board/pm826/config.tmp ; \
1657 @$(MKCONFIG) -a PM828 ppc mpc8260 pm828
1659 ppmc8260_config: unconfig
1660 @$(MKCONFIG) $(@:_config=) ppc mpc8260 ppmc8260
1662 Rattler8248_config \
1663 Rattler_config: unconfig
1664 @mkdir -p $(obj)include
1665 $(if $(findstring 8248,$@), \
1666 @echo "#define CONFIG_MPC8248" > $(obj)include/config.h)
1667 @$(MKCONFIG) -a Rattler ppc mpc8260 rattler
1669 RPXsuper_config: unconfig
1670 @$(MKCONFIG) $(@:_config=) ppc mpc8260 rpxsuper
1672 rsdproto_config: unconfig
1673 @$(MKCONFIG) $(@:_config=) ppc mpc8260 rsdproto
1675 sacsng_config: unconfig
1676 @$(MKCONFIG) $(@:_config=) ppc mpc8260 sacsng
1678 sbc8260_config: unconfig
1679 @$(MKCONFIG) $(@:_config=) ppc mpc8260 sbc8260
1681 SCM_config: unconfig
1682 @$(MKCONFIG) $(@:_config=) ppc mpc8260 SCM siemens
1694 TQM8265_AA_config: unconfig
1695 @mkdir -p $(obj)include
1697 TQM8255_AA_config) CTYPE=MPC8255; CFREQ=300; CACHE=no; BMODE=8260;; \
1698 TQM8260_AA_config) CTYPE=MPC8260; CFREQ=200; CACHE=no; BMODE=8260;; \
1699 TQM8260_AB_config) CTYPE=MPC8260; CFREQ=200; CACHE=yes; BMODE=60x;; \
1700 TQM8260_AC_config) CTYPE=MPC8260; CFREQ=200; CACHE=yes; BMODE=60x;; \
1701 TQM8260_AD_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=60x;; \
1702 TQM8260_AE_config) CTYPE=MPC8260; CFREQ=266; CACHE=no; BMODE=8260;; \
1703 TQM8260_AF_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=60x;; \
1704 TQM8260_AG_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=8260;; \
1705 TQM8260_AH_config) CTYPE=MPC8260; CFREQ=300; CACHE=yes; BMODE=60x;; \
1706 TQM8260_AI_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=60x;; \
1707 TQM8265_AA_config) CTYPE=MPC8265; CFREQ=300; CACHE=no; BMODE=60x;; \
1709 >$(obj)include/config.h ; \
1710 if [ "$${CTYPE}" != "MPC8260" ] ; then \
1711 echo "#define CONFIG_$${CTYPE}" >>$(obj)include/config.h ; \
1713 echo "#define CONFIG_$${CFREQ}MHz" >>$(obj)include/config.h ; \
1714 echo "... with $${CFREQ}MHz system clock" ; \
1715 if [ "$${CACHE}" = "yes" ] ; then \
1716 echo "#define CONFIG_L2_CACHE" >>$(obj)include/config.h ; \
1717 $(XECHO) "... with L2 Cache support" ; \
1719 echo "#undef CONFIG_L2_CACHE" >>$(obj)include/config.h ; \
1720 $(XECHO) "... without L2 Cache support" ; \
1722 if [ "$${BMODE}" = "60x" ] ; then \
1723 echo "#define CONFIG_BUSMODE_60x" >>$(obj)include/config.h ; \
1724 $(XECHO) "... with 60x Bus Mode" ; \
1726 echo "#undef CONFIG_BUSMODE_60x" >>$(obj)include/config.h ; \
1727 $(XECHO) "... without 60x Bus Mode" ; \
1729 @$(MKCONFIG) -a TQM8260 ppc mpc8260 tqm8260
1731 TQM8272_config: unconfig
1732 @$(MKCONFIG) -a TQM8272 ppc mpc8260 tqm8272
1734 VoVPN-GW_66MHz_config \
1735 VoVPN-GW_100MHz_config: unconfig
1736 @mkdir -p $(obj)include
1737 @echo "#define CONFIG_CLKIN_$(word 2,$(subst _, ,$@))" > $(obj)include/config.h
1738 @$(MKCONFIG) -a VoVPN-GW ppc mpc8260 vovpn-gw funkwerk
1740 ZPC1900_config: unconfig
1741 @$(MKCONFIG) $(@:_config=) ppc mpc8260 zpc1900
1743 #########################################################################
1745 #########################################################################
1748 M5235EVB_Flash16_config \
1749 M5235EVB_Flash32_config: unconfig
1751 M5235EVB_config) FLASH=16;; \
1752 M5235EVB_Flash16_config) FLASH=16;; \
1753 M5235EVB_Flash32_config) FLASH=32;; \
1755 >$(obj)include/config.h ; \
1756 if [ "$${FLASH}" != "16" ] ; then \
1757 echo "#define NORFLASH_PS32BIT 1" >> $(obj)include/config.h ; \
1758 echo "TEXT_BASE = 0xFFC00000" > $(obj)board/freescale/m5235evb/config.tmp ; \
1759 cp $(obj)board/freescale/m5235evb/u-boot.32 $(obj)board/freescale/m5235evb/u-boot.lds ; \
1761 echo "TEXT_BASE = 0xFFE00000" > $(obj)board/freescale/m5235evb/config.tmp ; \
1762 cp $(obj)board/freescale/m5235evb/u-boot.16 $(obj)board/freescale/m5235evb/u-boot.lds ; \
1764 @$(MKCONFIG) -a M5235EVB m68k mcf523x m5235evb freescale
1766 M5249EVB_config : unconfig
1767 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5249evb freescale
1769 M5253EVBE_config : unconfig
1770 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5253evbe freescale
1772 cobra5272_config : unconfig
1773 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 cobra5272
1775 EB+MCF-EV123_config : unconfig
1776 @mkdir -p $(obj)include
1777 @mkdir -p $(obj)board/BuS/EB+MCF-EV123
1778 @ >$(obj)include/config.h
1779 @echo "TEXT_BASE = 0xFFE00000"|tee $(obj)board/BuS/EB+MCF-EV123/textbase.mk
1780 @$(MKCONFIG) EB+MCF-EV123 m68k mcf52x2 EB+MCF-EV123 BuS
1782 EB+MCF-EV123_internal_config : unconfig
1783 @mkdir -p $(obj)include
1784 @mkdir -p $(obj)board/BuS/EB+MCF-EV123
1785 @ >$(obj)include/config.h
1786 @echo "TEXT_BASE = 0xF0000000"|tee $(obj)board/BuS/EB+MCF-EV123/textbase.mk
1787 @$(MKCONFIG) EB+MCF-EV123 m68k mcf52x2 EB+MCF-EV123 BuS
1789 idmr_config : unconfig
1790 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 idmr
1792 M5271EVB_config : unconfig
1793 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5271evb
1795 M5272C3_config : unconfig
1796 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5272c3
1798 M5282EVB_config : unconfig
1799 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5282evb
1801 TASREG_config : unconfig
1802 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 tasreg esd
1804 r5200_config : unconfig
1805 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 r5200
1808 M5329BFEE_config : unconfig
1810 M5329AFEE_config) NAND=0;; \
1811 M5329BFEE_config) NAND=16;; \
1813 >$(obj)include/config.h ; \
1814 if [ "$${NAND}" != "0" ] ; then \
1815 echo "#define NANDFLASH_SIZE $${NAND}" > $(obj)include/config.h ; \
1817 @$(MKCONFIG) -a M5329EVB m68k mcf532x m5329evb freescale
1820 M54455EVB_atmel_config \
1821 M54455EVB_intel_config \
1822 M54455EVB_a33_config \
1823 M54455EVB_a66_config \
1824 M54455EVB_i33_config \
1825 M54455EVB_i66_config : unconfig
1827 M54455EVB_config) FLASH=ATMEL; FREQ=33333333;; \
1828 M54455EVB_atmel_config) FLASH=ATMEL; FREQ=33333333;; \
1829 M54455EVB_intel_config) FLASH=INTEL; FREQ=33333333;; \
1830 M54455EVB_a33_config) FLASH=ATMEL; FREQ=33333333;; \
1831 M54455EVB_a66_config) FLASH=ATMEL; FREQ=66666666;; \
1832 M54455EVB_i33_config) FLASH=INTEL; FREQ=33333333;; \
1833 M54455EVB_i66_config) FLASH=INTEL; FREQ=66666666;; \
1835 >$(obj)include/config.h ; \
1836 if [ "$${FLASH}" = "INTEL" ] ; then \
1837 echo "#undef CFG_ATMEL_BOOT" >> $(obj)include/config.h ; \
1838 echo "TEXT_BASE = 0x00000000" > $(obj)board/freescale/m54455evb/config.tmp ; \
1839 cp $(obj)board/freescale/m54455evb/u-boot.int $(obj)board/freescale/m54455evb/u-boot.lds ; \
1840 $(XECHO) "... with INTEL boot..." ; \
1842 echo "#define CFG_ATMEL_BOOT" >> $(obj)include/config.h ; \
1843 echo "TEXT_BASE = 0x04000000" > $(obj)board/freescale/m54455evb/config.tmp ; \
1844 cp $(obj)board/freescale/m54455evb/u-boot.atm $(obj)board/freescale/m54455evb/u-boot.lds ; \
1845 $(XECHO) "... with ATMEL boot..." ; \
1847 echo "#define CFG_INPUT_CLKSRC $${FREQ}" >> $(obj)include/config.h ; \
1848 $(XECHO) "... with $${FREQ}Hz input clock"
1849 @$(MKCONFIG) -a M54455EVB m68k mcf5445x m54455evb freescale
1851 #########################################################################
1853 #########################################################################
1855 MPC8313ERDB_33_config \
1856 MPC8313ERDB_66_config: unconfig
1857 @mkdir -p $(obj)include
1858 @echo "" >$(obj)include/config.h ; \
1859 if [ "$(findstring _33_,$@)" ] ; then \
1860 $(XECHO) -n "...33M ..." ; \
1861 echo "#define CFG_33MHZ" >>$(obj)include/config.h ; \
1863 if [ "$(findstring _66_,$@)" ] ; then \
1864 $(XECHO) -n "...66M..." ; \
1865 echo "#define CFG_66MHZ" >>$(obj)include/config.h ; \
1867 @$(MKCONFIG) -a MPC8313ERDB ppc mpc83xx mpc8313erdb freescale
1869 MPC8315ERDB_config: unconfig
1870 @$(MKCONFIG) -a MPC8315ERDB ppc mpc83xx mpc8315erdb freescale
1872 MPC8323ERDB_config: unconfig
1873 @$(MKCONFIG) -a MPC8323ERDB ppc mpc83xx mpc8323erdb freescale
1875 MPC832XEMDS_config \
1876 MPC832XEMDS_HOST_33_config \
1877 MPC832XEMDS_HOST_66_config \
1878 MPC832XEMDS_SLAVE_config \
1879 MPC832XEMDS_ATM_config: unconfig
1880 @mkdir -p $(obj)include
1881 @echo "" >$(obj)include/config.h ; \
1882 if [ "$(findstring _HOST_,$@)" ] ; then \
1883 $(XECHO) -n "... PCI HOST " ; \
1884 echo "#define CONFIG_PCI" >>$(obj)include/config.h ; \
1886 if [ "$(findstring _SLAVE_,$@)" ] ; then \
1887 $(XECHO) "...PCI SLAVE 66M" ; \
1888 echo "#define CONFIG_PCI" >>$(obj)include/config.h ; \
1889 echo "#define CONFIG_PCISLAVE" >>$(obj)include/config.h ; \
1891 if [ "$(findstring _33_,$@)" ] ; then \
1892 $(XECHO) -n "...33M ..." ; \
1893 echo "#define PCI_33M" >>$(obj)include/config.h ; \
1894 echo "#define CONFIG_PQ_MDS_PIB 1" >>$(obj)include/config.h ; \
1896 if [ "$(findstring _66_,$@)" ] ; then \
1897 $(XECHO) -n "...66M..." ; \
1898 echo "#define PCI_66M" >>$(obj)include/config.h ; \
1899 echo "#define CONFIG_PQ_MDS_PIB 1" >>$(obj)include/config.h ; \
1901 if [ "$(findstring _ATM_,$@)" ] ; then \
1902 $(XECHO) -n "...ATM..." ; \
1903 echo "#define CONFIG_PQ_MDS_PIB 1" >>$(obj)include/config.h ; \
1904 echo "#define CONFIG_PQ_MDS_PIB_ATM 1" >>$(obj)include/config.h ; \
1906 @$(MKCONFIG) -a MPC832XEMDS ppc mpc83xx mpc832xemds freescale
1908 MPC8349EMDS_config: unconfig
1909 @$(MKCONFIG) $(@:_config=) ppc mpc83xx mpc8349emds freescale
1912 MPC8349ITX_LOWBOOT_config \
1913 MPC8349ITXGP_config: unconfig
1914 @mkdir -p $(obj)include
1915 @mkdir -p $(obj)board/freescale/mpc8349itx
1916 @echo "#define CONFIG_$(subst _LOWBOOT,,$(@:_config=))" >> $(obj)include/config.h
1917 @if [ "$(findstring GP,$@)" ] ; then \
1918 echo "TEXT_BASE = 0xFE000000" >$(obj)board/freescale/mpc8349itx/config.tmp ; \
1920 @if [ "$(findstring LOWBOOT,$@)" ] ; then \
1921 echo "TEXT_BASE = 0xFE000000" >$(obj)board/freescale/mpc8349itx/config.tmp ; \
1923 @$(MKCONFIG) -a -n $(@:_config=) MPC8349ITX ppc mpc83xx mpc8349itx freescale
1925 MPC8360EMDS_config \
1926 MPC8360EMDS_HOST_33_config \
1927 MPC8360EMDS_HOST_66_config \
1928 MPC8360EMDS_SLAVE_config \
1929 MPC8360EMDS_ATM_config: unconfig
1930 @mkdir -p $(obj)include
1931 @echo "" >$(obj)include/config.h ; \
1932 if [ "$(findstring _HOST_,$@)" ] ; then \
1933 $(XECHO) -n "... PCI HOST " ; \
1934 echo "#define CONFIG_PCI" >>$(obj)include/config.h ; \
1936 if [ "$(findstring _SLAVE_,$@)" ] ; then \
1937 $(XECHO) "...PCI SLAVE 66M" ; \
1938 echo "#define CONFIG_PCI" >>$(obj)include/config.h ; \
1939 echo "#define CONFIG_PCISLAVE" >>$(obj)include/config.h ; \
1941 if [ "$(findstring _33_,$@)" ] ; then \
1942 $(XECHO) -n "...33M ..." ; \
1943 echo "#define PCI_33M" >>$(obj)include/config.h ; \
1944 echo "#define CONFIG_PQ_MDS_PIB 1" >>$(obj)include/config.h ; \
1946 if [ "$(findstring _66_,$@)" ] ; then \
1947 $(XECHO) -n "...66M..." ; \
1948 echo "#define PCI_66M" >>$(obj)include/config.h ; \
1949 echo "#define CONFIG_PQ_MDS_PIB 1" >>$(obj)include/config.h ; \
1951 if [ "$(findstring _ATM_,$@)" ] ; then \
1952 $(XECHO) -n "...ATM..." ; \
1953 echo "#define CONFIG_PQ_MDS_PIB 1" >>$(obj)include/config.h ; \
1954 echo "#define CONFIG_PQ_MDS_PIB_ATM 1" >>$(obj)include/config.h ; \
1956 @$(MKCONFIG) -a MPC8360EMDS ppc mpc83xx mpc8360emds freescale
1958 MPC8360ERDK_33_config \
1959 MPC8360ERDK_66_config \
1961 @mkdir -p $(obj)include
1962 @echo "" >$(obj)include/config.h ; \
1963 if [ "$(findstring _33_,$@)" ] ; then \
1964 $(XECHO) -n "... CLKIN 33MHz " ; \
1965 echo "#define CONFIG_CLKIN_33MHZ" >>$(obj)include/config.h ;\
1967 @$(MKCONFIG) -a MPC8360ERDK ppc mpc83xx mpc8360erdk freescale
1969 MPC837XEMDS_config \
1970 MPC837XEMDS_HOST_config: unconfig
1971 @mkdir -p $(obj)include
1972 @echo "" >$(obj)include/config.h ; \
1973 if [ "$(findstring _HOST_,$@)" ] ; then \
1974 $(XECHO) -n "... PCI HOST " ; \
1975 echo "#define CONFIG_PCI" >>$(obj)include/config.h ; \
1977 @$(MKCONFIG) -a MPC837XEMDS ppc mpc83xx mpc837xemds freescale
1979 MPC837XERDB_config: unconfig
1980 @$(MKCONFIG) -a MPC837XERDB ppc mpc83xx mpc837xerdb freescale
1982 sbc8349_config: unconfig
1983 @$(MKCONFIG) $(@:_config=) ppc mpc83xx sbc8349
1985 TQM834x_config: unconfig
1986 @$(MKCONFIG) $(@:_config=) ppc mpc83xx tqm834x
1989 #########################################################################
1991 #########################################################################
1993 ATUM8548_config: unconfig
1994 @$(MKCONFIG) $(@:_config=) ppc mpc85xx atum8548
1996 MPC8540ADS_config: unconfig
1997 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8540ads freescale
1999 MPC8540EVAL_config \
2000 MPC8540EVAL_33_config \
2001 MPC8540EVAL_66_config \
2002 MPC8540EVAL_33_slave_config \
2003 MPC8540EVAL_66_slave_config: unconfig
2004 @mkdir -p $(obj)include
2005 @echo "" >$(obj)include/config.h ; \
2006 if [ "$(findstring _33_,$@)" ] ; then \
2007 $(XECHO) "... 33 MHz PCI" ; \
2009 echo "#define CONFIG_SYSCLK_66M" >>$(obj)include/config.h ; \
2010 $(XECHO) "... 66 MHz PCI" ; \
2012 if [ "$(findstring _slave_,$@)" ] ; then \
2013 echo "#define CONFIG_PCI_SLAVE" >>$(obj)include/config.h ; \
2014 $(XECHO) " slave" ; \
2016 $(XECHO) " host" ; \
2018 @$(MKCONFIG) -a MPC8540EVAL ppc mpc85xx mpc8540eval
2020 MPC8560ADS_config: unconfig
2021 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8560ads freescale
2023 MPC8541CDS_legacy_config \
2024 MPC8541CDS_config: unconfig
2025 @mkdir -p $(obj)include
2026 @echo "" >$(obj)include/config.h ; \
2027 if [ "$(findstring _legacy_,$@)" ] ; then \
2028 echo "#define CONFIG_LEGACY" >>$(obj)include/config.h ; \
2029 $(XECHO) "... legacy" ; \
2031 @$(MKCONFIG) -a MPC8541CDS ppc mpc85xx mpc8541cds freescale
2033 MPC8544DS_config: unconfig
2034 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8544ds freescale
2036 MPC8548CDS_legacy_config \
2037 MPC8548CDS_config: unconfig
2038 @mkdir -p $(obj)include
2039 @echo "" >$(obj)include/config.h ; \
2040 if [ "$(findstring _legacy_,$@)" ] ; then \
2041 echo "#define CONFIG_LEGACY" >>$(obj)include/config.h ; \
2042 $(XECHO) "... legacy" ; \
2044 @$(MKCONFIG) -a MPC8548CDS ppc mpc85xx mpc8548cds freescale
2046 MPC8555CDS_legacy_config \
2047 MPC8555CDS_config: unconfig
2048 @mkdir -p $(obj)include
2049 @echo "" >$(obj)include/config.h ; \
2050 if [ "$(findstring _legacy_,$@)" ] ; then \
2051 echo "#define CONFIG_LEGACY" >>$(obj)include/config.h ; \
2052 $(XECHO) "... legacy" ; \
2054 @$(MKCONFIG) -a MPC8555CDS ppc mpc85xx mpc8555cds freescale
2056 MPC8568MDS_config: unconfig
2057 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8568mds freescale
2059 PM854_config: unconfig
2060 @$(MKCONFIG) $(@:_config=) ppc mpc85xx pm854
2062 PM856_config: unconfig
2063 @$(MKCONFIG) $(@:_config=) ppc mpc85xx pm856
2067 sbc8540_66_config: unconfig
2068 @mkdir -p $(obj)include
2069 @if [ "$(findstring _66_,$@)" ] ; then \
2070 echo "#define CONFIG_PCI_66" >>$(obj)include/config.h ; \
2071 $(XECHO) "... 66 MHz PCI" ; \
2073 >$(obj)include/config.h ; \
2074 $(XECHO) "... 33 MHz PCI" ; \
2076 @$(MKCONFIG) -a SBC8540 ppc mpc85xx sbc8560
2078 sbc8548_config: unconfig
2079 @$(MKCONFIG) $(@:_config=) ppc mpc85xx sbc8548
2083 sbc8560_66_config: unconfig
2084 @mkdir -p $(obj)include
2085 @if [ "$(findstring _66_,$@)" ] ; then \
2086 echo "#define CONFIG_PCI_66" >>$(obj)include/config.h ; \
2087 $(XECHO) "... 66 MHz PCI" ; \
2089 >$(obj)include/config.h ; \
2090 $(XECHO) "... 33 MHz PCI" ; \
2092 @$(MKCONFIG) -a sbc8560 ppc mpc85xx sbc8560
2094 stxgp3_config: unconfig
2095 @$(MKCONFIG) $(@:_config=) ppc mpc85xx stxgp3
2098 stxssa_4M_config: unconfig
2099 @mkdir -p $(obj)include
2100 @if [ "$(findstring _4M_,$@)" ] ; then \
2101 echo "#define CONFIG_STXSSA_4M" >>$(obj)include/config.h ; \
2102 $(XECHO) "... with 4 MiB flash memory" ; \
2104 >$(obj)include/config.h ; \
2106 @$(MKCONFIG) -a stxssa ppc mpc85xx stxssa
2111 TQM8560_config: unconfig
2112 @mkdir -p $(obj)include
2113 @CTYPE=$(subst TQM,,$(@:_config=)); \
2114 >$(obj)include/config.h ; \
2115 $(XECHO) "... TQM"$${CTYPE}; \
2116 echo "#define CONFIG_MPC$${CTYPE}">>$(obj)include/config.h; \
2117 echo "#define CONFIG_TQM$${CTYPE}">>$(obj)include/config.h; \
2118 echo "#define CONFIG_HOSTNAME tqm$${CTYPE}">>$(obj)include/config.h; \
2119 echo "#define CONFIG_BOARDNAME \"TQM$${CTYPE}\"">>$(obj)include/config.h; \
2120 echo "#define CFG_BOOTFILE_PATH \"/tftpboot/tqm$${CTYPE}/uImage\"">>$(obj)include/config.h
2121 @$(MKCONFIG) -a TQM85xx ppc mpc85xx tqm85xx
2123 #########################################################################
2125 #########################################################################
2127 MPC8610HPCD_config: unconfig
2128 @$(MKCONFIG) $(@:_config=) ppc mpc86xx mpc8610hpcd freescale
2130 MPC8641HPCN_config: unconfig
2131 @$(MKCONFIG) $(@:_config=) ppc mpc86xx mpc8641hpcn freescale
2133 sbc8641d_config: unconfig
2134 @./mkconfig $(@:_config=) ppc mpc86xx sbc8641d
2136 #########################################################################
2138 #########################################################################
2140 AmigaOneG3SE_config: unconfig
2141 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx AmigaOneG3SE MAI
2143 BAB7xx_config: unconfig
2144 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx bab7xx eltec
2146 CPCI750_config: unconfig
2147 @$(MKCONFIG) CPCI750 ppc 74xx_7xx cpci750 esd
2149 DB64360_config: unconfig
2150 @$(MKCONFIG) DB64360 ppc 74xx_7xx db64360 Marvell
2152 DB64460_config: unconfig
2153 @$(MKCONFIG) DB64460 ppc 74xx_7xx db64460 Marvell
2155 ELPPC_config: unconfig
2156 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx elppc eltec
2159 EVB64260_750CX_config: unconfig
2160 @$(MKCONFIG) EVB64260 ppc 74xx_7xx evb64260
2162 mpc7448hpc2_config: unconfig
2163 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx mpc7448hpc2
2165 P3G4_config: unconfig
2166 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx evb64260
2169 p3m7448_config: unconfig
2170 @mkdir -p $(obj)include
2171 @if [ "$(findstring 750_,$@)" ] ; then \
2172 echo "#define CONFIG_P3M750" >>$(obj)include/config.h ; \
2174 echo "#define CONFIG_P3M7448" >>$(obj)include/config.h ; \
2176 @$(MKCONFIG) -a p3mx ppc 74xx_7xx p3mx prodrive
2179 PCIPPC6_config: unconfig
2180 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx pcippc2
2182 ZUMA_config: unconfig
2183 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx evb64260
2185 ppmc7xx_config: unconfig
2186 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx ppmc7xx
2188 #========================================================================
2190 #========================================================================
2191 #########################################################################
2192 ## StrongARM Systems
2193 #########################################################################
2195 assabet_config : unconfig
2196 @$(MKCONFIG) $(@:_config=) arm sa1100 assabet
2198 dnp1110_config : unconfig
2199 @$(MKCONFIG) $(@:_config=) arm sa1100 dnp1110
2201 gcplus_config : unconfig
2202 @$(MKCONFIG) $(@:_config=) arm sa1100 gcplus
2204 lart_config : unconfig
2205 @$(MKCONFIG) $(@:_config=) arm sa1100 lart
2207 shannon_config : unconfig
2208 @$(MKCONFIG) $(@:_config=) arm sa1100 shannon
2210 #########################################################################
2212 #########################################################################
2214 xtract_trab = $(subst _bigram,,$(subst _bigflash,,$(subst _old,,$(subst _config,,$1))))
2216 xtract_omap1610xxx = $(subst _cs0boot,,$(subst _cs3boot,,$(subst _cs_autoboot,,$(subst _config,,$1))))
2218 xtract_omap730p2 = $(subst _cs0boot,,$(subst _cs3boot,, $(subst _config,,$1)))
2220 at91rm9200dk_config : unconfig
2221 @$(MKCONFIG) $(@:_config=) arm arm920t at91rm9200dk NULL at91rm9200
2223 cmc_pu2_config : unconfig
2224 @$(MKCONFIG) $(@:_config=) arm arm920t cmc_pu2 NULL at91rm9200
2226 csb637_config : unconfig
2227 @$(MKCONFIG) $(@:_config=) arm arm920t csb637 NULL at91rm9200
2229 mp2usb_config : unconfig
2230 @$(MKCONFIG) $(@:_config=) arm arm920t mp2usb NULL at91rm9200
2233 ########################################################################
2234 ## ARM Integrator boards - see doc/README-integrator for more info.
2235 integratorap_config \
2244 ap946es_config: unconfig
2245 @board/integratorap/split_by_variant.sh $@
2247 integratorcp_config \
2256 cp1026_config: unconfig
2257 @board/integratorcp/split_by_variant.sh $@
2259 kb9202_config : unconfig
2260 @$(MKCONFIG) $(@:_config=) arm arm920t kb9202 NULL at91rm9200
2263 lpd7a404_config: unconfig
2264 @$(MKCONFIG) $(@:_config=) arm lh7a40x lpd7a40x
2266 mx1ads_config : unconfig
2267 @$(MKCONFIG) $(@:_config=) arm arm920t mx1ads NULL imx
2269 mx1fs2_config : unconfig
2270 @$(MKCONFIG) $(@:_config=) arm arm920t mx1fs2 NULL imx
2273 netstar_config: unconfig
2274 @mkdir -p $(obj)include
2275 @if [ "$(findstring _32_,$@)" ] ; then \
2276 $(XECHO) "... 32MB SDRAM" ; \
2277 echo "#define PHYS_SDRAM_1_SIZE SZ_32M" >>$(obj)include/config.h ; \
2279 $(XECHO) "... 64MB SDRAM" ; \
2280 echo "#define PHYS_SDRAM_1_SIZE SZ_64M" >>$(obj)include/config.h ; \
2282 @$(MKCONFIG) -a netstar arm arm925t netstar
2284 omap1510inn_config : unconfig
2285 @$(MKCONFIG) $(@:_config=) arm arm925t omap1510inn
2287 omap5912osk_config : unconfig
2288 @$(MKCONFIG) $(@:_config=) arm arm926ejs omap5912osk NULL omap
2290 davinci_dvevm_config : unconfig
2291 @$(MKCONFIG) $(@:_config=) arm arm926ejs dv-evm davinci davinci
2293 davinci_schmoogie_config : unconfig
2294 @$(MKCONFIG) $(@:_config=) arm arm926ejs schmoogie davinci davinci
2296 davinci_sonata_config : unconfig
2297 @$(MKCONFIG) $(@:_config=) arm arm926ejs sonata davinci davinci
2299 omap1610inn_config \
2300 omap1610inn_cs0boot_config \
2301 omap1610inn_cs3boot_config \
2302 omap1610inn_cs_autoboot_config \
2304 omap1610h2_cs0boot_config \
2305 omap1610h2_cs3boot_config \
2306 omap1610h2_cs_autoboot_config: unconfig
2307 @mkdir -p $(obj)include
2308 @if [ "$(findstring _cs0boot_, $@)" ] ; then \
2309 echo "#define CONFIG_CS0_BOOT" >> .$(obj)include/config.h ; \
2310 $(XECHO) "... configured for CS0 boot"; \
2311 elif [ "$(findstring _cs_autoboot_, $@)" ] ; then \
2312 echo "#define CONFIG_CS_AUTOBOOT" >> $(obj)include/config.h ; \
2313 $(XECHO) "... configured for CS_AUTO boot"; \
2315 echo "#define CONFIG_CS3_BOOT" >> $(obj)include/config.h ; \
2316 $(XECHO) "... configured for CS3 boot"; \
2318 @$(MKCONFIG) -a $(call xtract_omap1610xxx,$@) arm arm926ejs omap1610inn NULL omap
2321 omap730p2_cs0boot_config \
2322 omap730p2_cs3boot_config : unconfig
2323 @mkdir -p $(obj)include
2324 @if [ "$(findstring _cs0boot_, $@)" ] ; then \
2325 echo "#define CONFIG_CS0_BOOT" >> $(obj)include/config.h ; \
2326 $(XECHO) "... configured for CS0 boot"; \
2328 echo "#define CONFIG_CS3_BOOT" >> $(obj)include/config.h ; \
2329 $(XECHO) "... configured for CS3 boot"; \
2331 @$(MKCONFIG) -a $(call xtract_omap730p2,$@) arm arm926ejs omap730p2 NULL omap
2333 sbc2410x_config: unconfig
2334 @$(MKCONFIG) $(@:_config=) arm arm920t sbc2410x NULL s3c24x0
2336 scb9328_config : unconfig
2337 @$(MKCONFIG) $(@:_config=) arm arm920t scb9328 NULL imx
2339 smdk2400_config : unconfig
2340 @$(MKCONFIG) $(@:_config=) arm arm920t smdk2400 NULL s3c24x0
2342 smdk2410_config : unconfig
2343 @$(MKCONFIG) $(@:_config=) arm arm920t smdk2410 NULL s3c24x0
2345 SX1_config : unconfig
2346 @$(MKCONFIG) $(@:_config=) arm arm925t sx1
2348 # TRAB default configuration: 8 MB Flash, 32 MB RAM
2350 trab_bigram_config \
2351 trab_bigflash_config \
2352 trab_old_config: unconfig
2353 @mkdir -p $(obj)include
2354 @mkdir -p $(obj)board/trab
2355 @ >$(obj)include/config.h
2356 @[ -z "$(findstring _bigram,$@)" ] || \
2357 { echo "#define CONFIG_FLASH_8MB" >>$(obj)include/config.h ; \
2358 echo "#define CONFIG_RAM_32MB" >>$(obj)include/config.h ; \
2359 $(XECHO) "... with 8 MB Flash, 32 MB RAM" ; \
2361 @[ -z "$(findstring _bigflash,$@)" ] || \
2362 { echo "#define CONFIG_FLASH_16MB" >>$(obj)include/config.h ; \
2363 echo "#define CONFIG_RAM_16MB" >>$(obj)include/config.h ; \
2364 $(XECHO) "... with 16 MB Flash, 16 MB RAM" ; \
2365 echo "TEXT_BASE = 0x0CF40000" >$(obj)board/trab/config.tmp ; \
2367 @[ -z "$(findstring _old,$@)" ] || \
2368 { echo "#define CONFIG_FLASH_8MB" >>$(obj)include/config.h ; \
2369 echo "#define CONFIG_RAM_16MB" >>$(obj)include/config.h ; \
2370 $(XECHO) "... with 8 MB Flash, 16 MB RAM" ; \
2371 echo "TEXT_BASE = 0x0CF40000" >$(obj)board/trab/config.tmp ; \
2373 @$(MKCONFIG) -a $(call xtract_trab,$@) arm arm920t trab NULL s3c24x0
2375 VCMA9_config : unconfig
2376 @$(MKCONFIG) $(@:_config=) arm arm920t vcma9 mpl s3c24x0
2378 #========================================================================
2379 # ARM supplied Versatile development boards
2380 #========================================================================
2382 versatileab_config \
2383 versatilepb_config : unconfig
2384 @board/versatile/split_by_variant.sh $@
2386 voiceblue_smallflash_config \
2387 voiceblue_config: unconfig
2388 @mkdir -p $(obj)include
2389 @mkdir -p $(obj)board/voiceblue
2390 @if [ "$(findstring _smallflash_,$@)" ] ; then \
2391 $(XECHO) "... boot from lower flash bank" ; \
2392 echo "#define VOICEBLUE_SMALL_FLASH" >>$(obj)include/config.h ; \
2393 echo "VOICEBLUE_SMALL_FLASH=y" >$(obj)board/voiceblue/config.tmp ; \
2395 $(XECHO) "... boot from upper flash bank" ; \
2396 >$(obj)include/config.h ; \
2397 echo "VOICEBLUE_SMALL_FLASH=n" >$(obj)board/voiceblue/config.tmp ; \
2399 @$(MKCONFIG) -a voiceblue arm arm925t voiceblue
2401 cm4008_config : unconfig
2402 @$(MKCONFIG) $(@:_config=) arm arm920t cm4008 NULL ks8695
2404 cm41xx_config : unconfig
2405 @$(MKCONFIG) $(@:_config=) arm arm920t cm41xx NULL ks8695
2407 gth2_config : unconfig
2408 @mkdir -p $(obj)include
2409 @ >$(obj)include/config.h
2410 @echo "#define CONFIG_GTH2 1" >>$(obj)include/config.h
2411 @$(MKCONFIG) -a gth2 mips mips gth2
2413 #########################################################################
2415 #########################################################################
2417 B2_config : unconfig
2418 @$(MKCONFIG) $(@:_config=) arm s3c44b0 B2 dave
2420 #########################################################################
2422 #########################################################################
2424 armadillo_config: unconfig
2425 @$(MKCONFIG) $(@:_config=) arm arm720t armadillo
2427 ep7312_config : unconfig
2428 @$(MKCONFIG) $(@:_config=) arm arm720t ep7312
2430 impa7_config : unconfig
2431 @$(MKCONFIG) $(@:_config=) arm arm720t impa7
2433 modnet50_config : unconfig
2434 @$(MKCONFIG) $(@:_config=) arm arm720t modnet50
2436 evb4510_config : unconfig
2437 @$(MKCONFIG) $(@:_config=) arm arm720t evb4510
2439 lpc2292sodimm_config: unconfig
2440 @$(MKCONFIG) $(@:_config=) arm arm720t lpc2292sodimm NULL lpc2292
2442 SMN42_config : unconfig
2443 @$(MKCONFIG) $(@:_config=) arm arm720t SMN42 siemens lpc2292
2445 #########################################################################
2447 #########################################################################
2449 adsvix_config : unconfig
2450 @$(MKCONFIG) $(@:_config=) arm pxa adsvix
2452 cerf250_config : unconfig
2453 @$(MKCONFIG) $(@:_config=) arm pxa cerf250
2455 cradle_config : unconfig
2456 @$(MKCONFIG) $(@:_config=) arm pxa cradle
2458 csb226_config : unconfig
2459 @$(MKCONFIG) $(@:_config=) arm pxa csb226
2462 @$(MKCONFIG) $(@:_config=) arm pxa delta
2464 innokom_config : unconfig
2465 @$(MKCONFIG) $(@:_config=) arm pxa innokom
2467 ixdp425_config : unconfig
2468 @$(MKCONFIG) $(@:_config=) arm ixp ixdp425
2470 ixdpg425_config : unconfig
2471 @$(MKCONFIG) $(@:_config=) arm ixp ixdp425
2473 lubbock_config : unconfig
2474 @$(MKCONFIG) $(@:_config=) arm pxa lubbock
2476 pleb2_config : unconfig
2477 @$(MKCONFIG) $(@:_config=) arm pxa pleb2
2479 logodl_config : unconfig
2480 @$(MKCONFIG) $(@:_config=) arm pxa logodl
2483 scpu_config: unconfig
2484 @mkdir -p $(obj)include
2485 @if [ "$(findstring scpu_,$@)" ] ; then \
2486 echo "#define CONFIG_SCPU" >>$(obj)include/config.h ; \
2487 $(XECHO) "... on SCPU board variant" ; \
2489 >$(obj)include/config.h ; \
2491 @$(MKCONFIG) -a pdnb3 arm ixp pdnb3 prodrive
2493 pxa255_idp_config: unconfig
2494 @$(MKCONFIG) $(@:_config=) arm pxa pxa255_idp
2496 trizepsiv_config : unconfig
2497 @$(MKCONFIG) $(@:_config=) arm pxa trizepsiv
2499 wepep250_config : unconfig
2500 @$(MKCONFIG) $(@:_config=) arm pxa wepep250
2502 xaeniax_config : unconfig
2503 @$(MKCONFIG) $(@:_config=) arm pxa xaeniax
2505 xm250_config : unconfig
2506 @$(MKCONFIG) $(@:_config=) arm pxa xm250
2508 xsengine_config : unconfig
2509 @$(MKCONFIG) $(@:_config=) arm pxa xsengine
2512 @$(MKCONFIG) $(@:_config=) arm pxa zylonite
2514 #########################################################################
2516 #########################################################################
2517 omap2420h4_config : unconfig
2518 @$(MKCONFIG) $(@:_config=) arm arm1136 omap2420h4
2520 apollon_config : unconfig
2521 @$(MKCONFIG) $(@:_config=) arm arm1136 apollon
2523 #========================================================================
2525 #========================================================================
2526 #########################################################################
2528 #########################################################################
2529 sc520_cdp_config : unconfig
2530 @$(MKCONFIG) $(@:_config=) i386 i386 sc520_cdp
2532 sc520_spunk_config : unconfig
2533 @$(MKCONFIG) $(@:_config=) i386 i386 sc520_spunk
2535 sc520_spunk_rel_config : unconfig
2536 @$(MKCONFIG) $(@:_config=) i386 i386 sc520_spunk
2538 #========================================================================
2540 #========================================================================
2541 #########################################################################
2543 #########################################################################
2545 xtract_incaip = $(subst _100MHz,,$(subst _133MHz,,$(subst _150MHz,,$(subst _config,,$1))))
2547 incaip_100MHz_config \
2548 incaip_133MHz_config \
2549 incaip_150MHz_config \
2550 incaip_config: unconfig
2551 @mkdir -p $(obj)include
2552 @ >$(obj)include/config.h
2553 @[ -z "$(findstring _100MHz,$@)" ] || \
2554 { echo "#define CPU_CLOCK_RATE 100000000" >>$(obj)include/config.h ; \
2555 $(XECHO) "... with 100MHz system clock" ; \
2557 @[ -z "$(findstring _133MHz,$@)" ] || \
2558 { echo "#define CPU_CLOCK_RATE 133000000" >>$(obj)include/config.h ; \
2559 $(XECHO) "... with 133MHz system clock" ; \
2561 @[ -z "$(findstring _150MHz,$@)" ] || \
2562 { echo "#define CPU_CLOCK_RATE 150000000" >>$(obj)include/config.h ; \
2563 $(XECHO) "... with 150MHz system clock" ; \
2565 @$(MKCONFIG) -a $(call xtract_incaip,$@) mips mips incaip
2567 tb0229_config: unconfig
2568 @$(MKCONFIG) $(@:_config=) mips mips tb0229
2570 #########################################################################
2572 #########################################################################
2573 dbau1000_config : unconfig
2574 @mkdir -p $(obj)include
2575 @ >$(obj)include/config.h
2576 @echo "#define CONFIG_DBAU1000 1" >>$(obj)include/config.h
2577 @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00
2579 dbau1100_config : unconfig
2580 @mkdir -p $(obj)include
2581 @ >$(obj)include/config.h
2582 @echo "#define CONFIG_DBAU1100 1" >>$(obj)include/config.h
2583 @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00
2585 dbau1500_config : unconfig
2586 @mkdir -p $(obj)include
2587 @ >$(obj)include/config.h
2588 @echo "#define CONFIG_DBAU1500 1" >>$(obj)include/config.h
2589 @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00
2591 dbau1550_config : unconfig
2592 @mkdir -p $(obj)include
2593 @ >$(obj)include/config.h
2594 @echo "#define CONFIG_DBAU1550 1" >>$(obj)include/config.h
2595 @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00
2597 dbau1550_el_config : unconfig
2598 @mkdir -p $(obj)include
2599 @ >$(obj)include/config.h
2600 @echo "#define CONFIG_DBAU1550 1" >>$(obj)include/config.h
2601 @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00
2603 pb1000_config : unconfig
2604 @mkdir -p $(obj)include
2605 @ >$(obj)include/config.h
2606 @echo "#define CONFIG_PB1000 1" >>$(obj)include/config.h
2607 @$(MKCONFIG) -a pb1x00 mips mips pb1x00
2609 #########################################################################
2611 #########################################################################
2613 purple_config : unconfig
2614 @$(MKCONFIG) $(@:_config=) mips mips purple
2616 #========================================================================
2618 #========================================================================
2619 #########################################################################
2621 #########################################################################
2623 DK1C20_safe_32_config \
2624 DK1C20_standard_32_config \
2625 DK1C20_config: unconfig
2626 @mkdir -p $(obj)include
2627 @ >$(obj)include/config.h
2628 @[ -z "$(findstring _safe_32,$@)" ] || \
2629 { echo "#define CONFIG_NIOS_SAFE_32 1" >>$(obj)include/config.h ; \
2630 $(XECHO) "... NIOS 'safe_32' configuration" ; \
2632 @[ -z "$(findstring _standard_32,$@)" ] || \
2633 { echo "#define CONFIG_NIOS_STANDARD_32 1" >>$(obj)include/config.h ; \
2634 $(XECHO) "... NIOS 'standard_32' configuration" ; \
2636 @[ -z "$(findstring DK1C20_config,$@)" ] || \
2637 { echo "#define CONFIG_NIOS_STANDARD_32 1" >>$(obj)include/config.h ; \
2638 $(XECHO) "... NIOS 'standard_32' configuration (DEFAULT)" ; \
2640 @$(MKCONFIG) -a DK1C20 nios nios dk1c20 altera
2642 DK1S10_safe_32_config \
2643 DK1S10_standard_32_config \
2644 DK1S10_mtx_ldk_20_config \
2645 DK1S10_config: unconfig
2646 @mkdir -p $(obj)include
2647 @ >$(obj)include/config.h
2648 @[ -z "$(findstring _safe_32,$@)" ] || \
2649 { echo "#define CONFIG_NIOS_SAFE_32 1" >>$(obj)include/config.h ; \
2650 $(XECHO) "... NIOS 'safe_32' configuration" ; \
2652 @[ -z "$(findstring _standard_32,$@)" ] || \
2653 { echo "#define CONFIG_NIOS_STANDARD_32 1" >>$(obj)include/config.h ; \
2654 $(XECHO) "... NIOS 'standard_32' configuration" ; \
2656 @[ -z "$(findstring _mtx_ldk_20,$@)" ] || \
2657 { echo "#define CONFIG_NIOS_MTX_LDK_20 1" >>$(obj)include/config.h ; \
2658 $(XECHO) "... NIOS 'mtx_ldk_20' configuration" ; \
2660 @[ -z "$(findstring DK1S10_config,$@)" ] || \
2661 { echo "#define CONFIG_NIOS_STANDARD_32 1" >>$(obj)include/config.h ; \
2662 $(XECHO) "... NIOS 'standard_32' configuration (DEFAULT)" ; \
2664 @$(MKCONFIG) -a DK1S10 nios nios dk1s10 altera
2666 ADNPESC1_DNPEVA2_base_32_config \
2667 ADNPESC1_base_32_config \
2668 ADNPESC1_config: unconfig
2669 @mkdir -p $(obj)include
2670 @ >$(obj)include/config.h
2671 @[ -z "$(findstring _DNPEVA2,$@)" ] || \
2672 { echo "#define CONFIG_DNPEVA2 1" >>$(obj)include/config.h ; \
2673 $(XECHO) "... DNP/EVA2 configuration" ; \
2675 @[ -z "$(findstring _base_32,$@)" ] || \
2676 { echo "#define CONFIG_NIOS_BASE_32 1" >>$(obj)include/config.h ; \
2677 $(XECHO) "... NIOS 'base_32' configuration" ; \
2679 @[ -z "$(findstring ADNPESC1_config,$@)" ] || \
2680 { echo "#define CONFIG_NIOS_BASE_32 1" >>$(obj)include/config.h ; \
2681 $(XECHO) "... NIOS 'base_32' configuration (DEFAULT)" ; \
2683 @$(MKCONFIG) -a ADNPESC1 nios nios adnpesc1 ssv
2685 #########################################################################
2687 #########################################################################
2689 EP1C20_config : unconfig
2690 @$(MKCONFIG) EP1C20 nios2 nios2 ep1c20 altera
2692 EP1S10_config : unconfig
2693 @$(MKCONFIG) EP1S10 nios2 nios2 ep1s10 altera
2695 EP1S40_config : unconfig
2696 @$(MKCONFIG) EP1S40 nios2 nios2 ep1s40 altera
2698 PK1C20_config : unconfig
2699 @$(MKCONFIG) PK1C20 nios2 nios2 pk1c20 psyent
2701 PCI5441_config : unconfig
2702 @$(MKCONFIG) PCI5441 nios2 nios2 pci5441 psyent
2704 #========================================================================
2706 #========================================================================
2707 #########################################################################
2709 #########################################################################
2710 suzaku_config: unconfig
2711 @mkdir -p $(obj)include
2712 @ >$(obj)include/config.h
2713 @echo "#define CONFIG_SUZAKU 1" >> $(obj)include/config.h
2714 @$(MKCONFIG) -a $(@:_config=) microblaze microblaze suzaku AtmarkTechno
2716 ml401_config: unconfig
2717 @mkdir -p $(obj)include
2718 @ >$(obj)include/config.h
2719 @echo "#define CONFIG_ML401 1" >> $(obj)include/config.h
2720 @$(MKCONFIG) -a $(@:_config=) microblaze microblaze ml401 xilinx
2722 xupv2p_config: unconfig
2723 @mkdir -p $(obj)include
2724 @ >$(obj)include/config.h
2725 @echo "#define CONFIG_XUPV2P 1" >> $(obj)include/config.h
2726 @$(MKCONFIG) -a $(@:_config=) microblaze microblaze xupv2p xilinx
2728 #########################################################################
2730 #########################################################################
2731 bf533-ezkit_config: unconfig
2732 @$(MKCONFIG) $(@:_config=) blackfin bf533 bf533-ezkit
2734 bf533-stamp_config: unconfig
2735 @$(MKCONFIG) $(@:_config=) blackfin bf533 bf533-stamp
2737 bf537-stamp_config: unconfig
2738 @$(MKCONFIG) $(@:_config=) blackfin bf537 bf537-stamp
2740 bf561-ezkit_config: unconfig
2741 @$(MKCONFIG) $(@:_config=) blackfin bf561 bf561-ezkit
2743 #========================================================================
2745 #========================================================================
2746 #########################################################################
2748 #########################################################################
2750 atstk1002_config : unconfig
2751 @$(MKCONFIG) $(@:_config=) avr32 at32ap atstk1000 atmel at32ap700x
2753 atstk1003_config : unconfig
2754 @$(MKCONFIG) $(@:_config=) avr32 at32ap atstk1000 atmel at32ap700x
2756 atstk1004_config : unconfig
2757 @$(MKCONFIG) $(@:_config=) avr32 at32ap atstk1000 atmel at32ap700x
2759 #########################################################################
2760 #########################################################################
2761 #########################################################################
2763 #########################################################################
2764 ## sh3 (Renesas SuperH)
2765 #########################################################################
2766 ms7720se_config: unconfig
2768 @echo "#define CONFIG_MS7720SE 1" >> include/config.h
2769 @./mkconfig -a $(@:_config=) sh sh3 ms7720se
2771 #########################################################################
2772 ## sh4 (Renesas SuperH)
2773 #########################################################################
2774 ms7750se_config: unconfig
2775 @ >$(obj)include/config.h
2776 @echo "#define CONFIG_MS7750SE 1" >> $(obj)include/config.h
2777 @./mkconfig -a $(@:_config=) sh sh4 ms7750se
2779 ms7722se_config : unconfig
2780 @ >$(obj)include/config.h
2781 @echo "#define CONFIG_MS7722SE 1" >> $(obj)include/config.h
2782 @./mkconfig -a $(@:_config=) sh sh4 ms7722se
2784 #########################################################################
2785 #########################################################################
2786 #########################################################################
2789 @find $(OBJTREE) -type f \
2790 \( -name 'core' -o -name '*.bak' -o -name '*~' \
2791 -o -name '*.o' -o -name '*.a' \) -print \
2793 @rm -f $(obj)examples/hello_world $(obj)examples/timer \
2794 $(obj)examples/eepro100_eeprom $(obj)examples/sched \
2795 $(obj)examples/mem_to_mem_idma2intr $(obj)examples/82559_eeprom \
2796 $(obj)examples/smc91111_eeprom $(obj)examples/interrupt \
2797 $(obj)examples/test_burst
2798 @rm -f $(obj)tools/img2srec $(obj)tools/mkimage $(obj)tools/envcrc \
2799 $(obj)tools/gen_eth_addr $(obj)tools/ubsha1
2800 @rm -f $(obj)tools/mpc86x_clk $(obj)tools/ncb
2801 @rm -f $(obj)tools/easylogo/easylogo $(obj)tools/bmp_logo
2802 @rm -f $(obj)tools/gdb/astest $(obj)tools/gdb/gdbcont $(obj)tools/gdb/gdbsend
2803 @rm -f $(obj)tools/env/fw_printenv $(obj)tools/env/fw_setenv
2804 @rm -f $(obj)board/cray/L1/bootscript.c $(obj)board/cray/L1/bootscript.image
2805 @rm -f $(obj)board/netstar/eeprom $(obj)board/netstar/crcek $(obj)board/netstar/crcit
2806 @rm -f $(obj)board/netstar/*.srec $(obj)board/netstar/*.bin
2807 @rm -f $(obj)board/trab/trab_fkt $(obj)board/voiceblue/eeprom
2808 @rm -f $(obj)board/integratorap/u-boot.lds $(obj)board/integratorcp/u-boot.lds
2809 @rm -f $(obj)board/bf533-ezkit/u-boot.lds $(obj)board/bf533-stamp/u-boot.lds
2810 @rm -f $(obj)board/bf537-stamp/u-boot.lds $(obj)board/bf561-ezkit/u-boot.lds
2811 @rm -f $(obj)include/bmp_logo.h
2812 @rm -f $(obj)nand_spl/u-boot-spl $(obj)nand_spl/u-boot-spl.map
2813 @rm -f $(obj)api_examples/demo $(VERSION_FILE)
2816 @find $(OBJTREE) -type f \( -name .depend \
2817 -o -name '*.srec' -o -name '*.bin' -o -name u-boot.img \) \
2820 @rm -f $(OBJS) $(obj)*.bak $(obj)ctags $(obj)etags $(obj)TAGS
2822 @rm -f $(obj)u-boot $(obj)u-boot.map $(obj)u-boot.hex $(ALL)
2823 @rm -f $(obj)tools/crc32.c $(obj)tools/environment.c $(obj)tools/env/crc32.c $(obj)tools/sha1.c
2824 @rm -f $(obj)tools/inca-swap-bytes $(obj)cpu/mpc824x/bedbug_603e.c
2825 @rm -f $(obj)include/asm/proc $(obj)include/asm/arch $(obj)include/asm
2826 @[ ! -d $(obj)nand_spl ] || find $(obj)nand_spl -lname "*" -print | xargs rm -f
2827 @[ ! -d $(obj)api_examples ] || find $(obj)api_examples -lname "*" -print | xargs rm -f
2829 ifeq ($(OBJTREE),$(SRCTREE))
2831 distclean: clobber unconfig
2834 distclean: clobber unconfig
2839 F=`basename $(TOPDIR)` ; cd .. ; \
2840 gtar --force-local -zcvf `date "+$$F-%Y-%m-%d-%T.tar.gz"` $$F
2842 #########################################################################