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 # Make sure CDPATH settings don't interfere
124 #########################################################################
126 ifeq ($(obj)include/config.mk,$(wildcard $(obj)include/config.mk))
128 # load ARCH, BOARD, and CPU configuration
129 include $(obj)include/config.mk
130 export ARCH CPU BOARD VENDOR SOC
133 ifeq ($(HOSTARCH),$(ARCH))
137 CROSS_COMPILE = ppc_8xx-
140 CROSS_COMPILE = arm-linux-
143 CROSS_COMPILE = i386-linux-
146 CROSS_COMPILE = mips_4KC-
149 CROSS_COMPILE = nios-elf-
152 CROSS_COMPILE = nios2-elf-
155 CROSS_COMPILE = m68k-elf-
157 ifeq ($(ARCH),microblaze)
160 ifeq ($(ARCH),blackfin)
161 CROSS_COMPILE = bfin-uclinux-
164 CROSS_COMPILE = avr32-linux-
167 CROSS_COMPILE = sh4-linux-
170 CROSS_COMPILE = sparc-elf-
172 endif # HOSTARCH,ARCH
173 endif # CROSS_COMPILE
177 # load other configuration
178 include $(TOPDIR)/config.mk
180 #########################################################################
181 # U-Boot objects....order is important (i.e. start must be first)
183 OBJS = cpu/$(CPU)/start.o
185 OBJS += cpu/$(CPU)/start16.o
186 OBJS += cpu/$(CPU)/reset.o
189 OBJS += cpu/$(CPU)/resetvec.o
191 ifeq ($(CPU),mpc85xx)
192 OBJS += cpu/$(CPU)/resetvec.o
195 OBJS := $(addprefix $(obj),$(OBJS))
197 LIBS = lib_generic/libgeneric.a
198 LIBS += $(shell if [ -f board/$(VENDOR)/common/Makefile ]; then echo \
199 "board/$(VENDOR)/common/lib$(VENDOR).a"; fi)
200 LIBS += board/$(BOARDDIR)/lib$(BOARD).a
201 LIBS += cpu/$(CPU)/lib$(CPU).a
203 LIBS += cpu/$(CPU)/$(SOC)/lib$(SOC).a
206 LIBS += cpu/ixp/npe/libnpe.a
208 LIBS += lib_$(ARCH)/lib$(ARCH).a
209 LIBS += fs/cramfs/libcramfs.a fs/fat/libfat.a fs/fdos/libfdos.a fs/jffs2/libjffs2.a \
210 fs/reiserfs/libreiserfs.a fs/ext2/libext2fs.a
212 LIBS += disk/libdisk.a
213 LIBS += drivers/bios_emulator/libatibiosemu.a
214 LIBS += drivers/block/libblock.a
215 LIBS += drivers/dma/libdma.a
216 LIBS += drivers/hwmon/libhwmon.a
217 LIBS += drivers/i2c/libi2c.a
218 LIBS += drivers/input/libinput.a
219 LIBS += drivers/misc/libmisc.a
220 LIBS += drivers/mtd/libmtd.a
221 LIBS += drivers/mtd/nand/libnand.a
222 LIBS += drivers/mtd/nand_legacy/libnand_legacy.a
223 LIBS += drivers/mtd/onenand/libonenand.a
224 LIBS += drivers/net/libnet.a
225 LIBS += drivers/net/sk98lin/libsk98lin.a
226 LIBS += drivers/pci/libpci.a
227 LIBS += drivers/pcmcia/libpcmcia.a
228 LIBS += drivers/spi/libspi.a
229 ifeq ($(CPU),mpc83xx)
230 LIBS += drivers/qe/qe.a
232 ifeq ($(CPU),mpc85xx)
233 LIBS += drivers/qe/qe.a
235 LIBS += drivers/rtc/librtc.a
236 LIBS += drivers/serial/libserial.a
237 LIBS += drivers/usb/libusb.a
238 LIBS += drivers/video/libvideo.a
239 LIBS += post/libpost.a post/drivers/libpostdrivers.a
240 LIBS += $(shell if [ -d post/lib_$(ARCH) ]; then echo \
241 "post/lib_$(ARCH)/libpost$(ARCH).a"; fi)
242 LIBS += $(shell if [ -d post/lib_$(ARCH)/fpu ]; then echo \
243 "post/lib_$(ARCH)/fpu/libpost$(ARCH)fpu.a"; fi)
244 LIBS += $(shell if [ -d post/cpu/$(CPU) ]; then echo \
245 "post/cpu/$(CPU)/libpost$(CPU).a"; fi)
246 LIBS += $(shell if [ -d post/board/$(BOARDDIR) ]; then echo \
247 "post/board/$(BOARDDIR)/libpost$(BOARD).a"; fi)
248 LIBS += common/libcommon.a
249 LIBS += libfdt/libfdt.a
252 LIBS := $(addprefix $(obj),$(LIBS))
253 .PHONY : $(LIBS) $(VERSION_FILE)
256 PLATFORM_LIBS += -L $(shell dirname `$(CC) $(CFLAGS) -print-libgcc-file-name`) -lgcc
258 # The "tools" are needed early, so put this first
259 # Don't include stuff already done in $(LIBS)
266 ifeq ($(CONFIG_NAND_U_BOOT),y)
268 U_BOOT_NAND = $(obj)u-boot-nand.bin
271 ifeq ($(CONFIG_ONENAND_U_BOOT),y)
272 ONENAND_IPL = onenand_ipl
273 U_BOOT_ONENAND = $(obj)u-boot-onenand.bin
276 __OBJS := $(subst $(obj),,$(OBJS))
277 __LIBS := $(subst $(obj),,$(LIBS))
279 #########################################################################
280 #########################################################################
282 ALL += $(obj)u-boot.srec $(obj)u-boot.bin $(obj)System.map $(U_BOOT_NAND) $(U_BOOT_ONENAND)
283 ifeq ($(ARCH),blackfin)
284 ALL += $(obj)u-boot.ldr
289 $(obj)u-boot.hex: $(obj)u-boot
290 $(OBJCOPY) ${OBJCFLAGS} -O ihex $< $@
292 $(obj)u-boot.srec: $(obj)u-boot
293 $(OBJCOPY) ${OBJCFLAGS} -O srec $< $@
295 $(obj)u-boot.bin: $(obj)u-boot
296 $(OBJCOPY) ${OBJCFLAGS} -O binary $< $@
298 $(obj)u-boot.ldr: $(obj)u-boot
299 $(LDR) -T $(CONFIG_BFIN_CPU) -f -c $@ $< $(LDR_FLAGS)
301 $(obj)u-boot.ldr.hex: $(obj)u-boot.ldr
302 $(OBJCOPY) ${OBJCFLAGS} -O ihex $< $@ -I binary
304 $(obj)u-boot.ldr.srec: $(obj)u-boot.ldr
305 $(OBJCOPY) ${OBJCFLAGS} -O srec $< $@ -I binary
307 $(obj)u-boot.img: $(obj)u-boot.bin
308 ./tools/mkimage -A $(ARCH) -T firmware -C none \
309 -a $(TEXT_BASE) -e 0 \
310 -n $(shell sed -n -e 's/.*U_BOOT_VERSION//p' $(VERSION_FILE) | \
311 sed -e 's/"[ ]*$$/ for $(BOARD) board"/') \
314 $(obj)u-boot.sha1: $(obj)u-boot.bin
315 $(obj)tools/ubsha1 $(obj)u-boot.bin
317 $(obj)u-boot.dis: $(obj)u-boot
318 $(OBJDUMP) -d $< > $@
320 $(obj)u-boot: depend $(SUBDIRS) $(OBJS) $(LIBS) $(LDSCRIPT)
321 UNDEF_SYM=`$(OBJDUMP) -x $(LIBS) |sed -n -e 's/.*\($(SYM_PREFIX)__u_boot_cmd_.*\)/-u\1/p'|sort|uniq`;\
322 cd $(LNDIR) && $(LD) $(LDFLAGS) $$UNDEF_SYM $(__OBJS) \
323 --start-group $(__LIBS) --end-group $(PLATFORM_LIBS) \
324 -Map u-boot.map -o u-boot
326 $(OBJS): depend $(obj)include/autoconf.mk
327 $(MAKE) -C cpu/$(CPU) $(if $(REMOTE_BUILD),$@,$(notdir $@))
329 $(LIBS): depend $(obj)include/autoconf.mk
330 $(MAKE) -C $(dir $(subst $(obj),,$@))
332 $(SUBDIRS): depend $(obj)include/autoconf.mk
335 $(LDSCRIPT): depend $(obj)include/autoconf.mk
336 $(MAKE) -C $(dir $@) $(notdir $@)
338 $(NAND_SPL): $(VERSION_FILE) $(obj)include/autoconf.mk
339 $(MAKE) -C nand_spl/board/$(BOARDDIR) all
341 $(U_BOOT_NAND): $(NAND_SPL) $(obj)u-boot.bin $(obj)include/autoconf.mk
342 cat $(obj)nand_spl/u-boot-spl-16k.bin $(obj)u-boot.bin > $(obj)u-boot-nand.bin
344 $(ONENAND_IPL): $(VERSION_FILE) $(obj)include/autoconf.mk
345 $(MAKE) -C $(obj)onenand_ipl/board/$(BOARDDIR) all
347 $(U_BOOT_ONENAND): $(ONENAND_IPL) $(obj)u-boot.bin $(obj)include/autoconf.mk
348 $(MAKE) -C $(obj)onenand_ipl/board/$(BOARDDIR) all
349 cat $(obj)onenand_ipl/onenand-ipl-2k.bin $(obj)u-boot.bin > $(obj)u-boot-onenand.bin
350 cat $(obj)onenand_ipl/onenand-ipl-4k.bin $(obj)u-boot.bin > $(obj)u-boot-flexonenand.bin
353 @( echo -n "#define U_BOOT_VERSION \"U-Boot " ; \
354 echo -n "$(U_BOOT_VERSION)" ; \
355 echo -n $(shell $(CONFIG_SHELL) $(TOPDIR)/tools/setlocalversion \
358 @cmp -s $@ $@.tmp && rm -f $@.tmp || mv -f $@.tmp $@
361 $(MAKE) -C tools/gdb all || exit 1
364 $(MAKE) -C tools/updater all || exit 1
367 $(MAKE) -C tools/env all MTD_VERSION=${MTD_VERSION} || exit 1
369 depend dep: $(VERSION_FILE)
370 for dir in $(SUBDIRS) ; do $(MAKE) -C $$dir _depend ; done
372 TAG_SUBDIRS += include
373 TAG_SUBDIRS += lib_generic board/$(BOARDDIR)
374 TAG_SUBDIRS += cpu/$(CPU)
375 TAG_SUBDIRS += lib_$(ARCH)
376 TAG_SUBDIRS += fs/cramfs
377 TAG_SUBDIRS += fs/fat
378 TAG_SUBDIRS += fs/fdos
379 TAG_SUBDIRS += fs/jffs2
382 TAG_SUBDIRS += common
383 TAG_SUBDIRS += drivers/bios_emulator
384 TAG_SUBDIRS += drivers/block
385 TAG_SUBDIRS += drivers/hwmon
386 TAG_SUBDIRS += drivers/i2c
387 TAG_SUBDIRS += drivers/input
388 TAG_SUBDIRS += drivers/misc
389 TAG_SUBDIRS += drivers/mtd
390 TAG_SUBDIRS += drivers/mtd/nand
391 TAG_SUBDIRS += drivers/mtd/nand_legacy
392 TAG_SUBDIRS += drivers/mtd/onenand
393 TAG_SUBDIRS += drivers/net
394 TAG_SUBDIRS += drivers/net/sk98lin
395 TAG_SUBDIRS += drivers/pci
396 TAG_SUBDIRS += drivers/pcmcia
397 TAG_SUBDIRS += drivers/qe
398 TAG_SUBDIRS += drivers/rtc
399 TAG_SUBDIRS += drivers/serial
400 TAG_SUBDIRS += drivers/spi
401 TAG_SUBDIRS += drivers/usb
402 TAG_SUBDIRS += drivers/video
405 ctags -w -o $(obj)ctags `find $(SUBDIRS) $(TAG_SUBDIRS) \
406 -name '*.[ch]' -print`
409 etags -a -o $(obj)etags `find $(SUBDIRS) $(TAG_SUBDIRS) \
410 -name '*.[ch]' -print`
412 find $(SUBDIRS) $(TAG_SUBDIRS) -name '*.[ch]' -print \
416 $(obj)System.map: $(obj)u-boot
418 grep -v '\(compiled\)\|\(\.o$$\)\|\( [aUw] \)\|\(\.\.ng$$\)\|\(LASH[RL]DI\)' | \
419 sort > $(obj)System.map
422 # Auto-generate the autoconf.mk file (which is included by all makefiles)
424 # This target actually generates 2 files; autoconf.mk and autoconf.mk.dep.
425 # the dep file is only include in this top level makefile to determine when
426 # to regenerate the autoconf.mk file.
427 $(obj)include/autoconf.mk: $(obj)include/config.h $(VERSION_FILE)
428 @$(XECHO) Generating include/autoconf.mk ; \
430 : Generate the dependancies ; \
431 $(CC) -M $(HOST_CFLAGS) $(CPPFLAGS) -MQ $@ include/common.h > $@.dep ; \
432 : Extract the config macros ; \
433 $(CPP) $(CFLAGS) -dM include/common.h | sed -n -f tools/scripts/define2mk.sed > $@
435 sinclude $(obj)include/autoconf.mk.dep
437 #########################################################################
439 all $(obj)u-boot.hex $(obj)u-boot.srec $(obj)u-boot.bin \
440 $(obj)u-boot.img $(obj)u-boot.dis $(obj)u-boot \
441 $(SUBDIRS) $(VERSION_FILE) gdbtools updater env depend \
442 dep tags ctags etags cscope $(obj)System.map:
443 @echo "System not configured - see README" >&2
449 git log --no-merges U-Boot-1_1_5.. | \
450 unexpand -a | sed -e 's/\s\s*$$//' > $@
452 #########################################################################
455 @rm -f $(obj)include/config.h $(obj)include/config.mk \
456 $(obj)board/*/config.tmp $(obj)board/*/*/config.tmp \
457 $(obj)include/autoconf.mk $(obj)include/autoconf.mk.dep
459 #========================================================================
461 #========================================================================
463 #########################################################################
465 #########################################################################
467 canmb_config: unconfig
468 @$(MKCONFIG) -a canmb ppc mpc5xxx canmb
470 cmi_mpc5xx_config: unconfig
471 @$(MKCONFIG) $(@:_config=) ppc mpc5xx cmi
473 PATI_config: unconfig
474 @$(MKCONFIG) $(@:_config=) ppc mpc5xx pati mpl
476 #########################################################################
478 #########################################################################
481 @$(MKCONFIG) -a aev ppc mpc5xxx tqm5200
483 BC3450_config: unconfig
484 @$(MKCONFIG) -a BC3450 ppc mpc5xxx bc3450
486 cpci5200_config: unconfig
487 @$(MKCONFIG) -a cpci5200 ppc mpc5xxx cpci5200 esd
489 hmi1001_config: unconfig
490 @$(MKCONFIG) hmi1001 ppc mpc5xxx hmi1001
493 Lite5200_LOWBOOT_config \
494 Lite5200_LOWBOOT08_config \
495 icecube_5200_config \
496 icecube_5200_LOWBOOT_config \
497 icecube_5200_LOWBOOT08_config \
498 icecube_5200_DDR_config \
499 icecube_5200_DDR_LOWBOOT_config \
500 icecube_5200_DDR_LOWBOOT08_config \
501 icecube_5100_config: unconfig
502 @mkdir -p $(obj)include
503 @mkdir -p $(obj)board/icecube
504 @[ -z "$(findstring LOWBOOT_,$@)" ] || \
505 { if [ "$(findstring DDR,$@)" ] ; \
506 then echo "TEXT_BASE = 0xFF800000" >$(obj)board/icecube/config.tmp ; \
507 else echo "TEXT_BASE = 0xFF000000" >$(obj)board/icecube/config.tmp ; \
509 $(XECHO) "... with LOWBOOT configuration" ; \
511 @[ -z "$(findstring LOWBOOT08,$@)" ] || \
512 { echo "TEXT_BASE = 0xFF800000" >$(obj)board/icecube/config.tmp ; \
513 echo "... with 8 MB flash only" ; \
514 $(XECHO) "... with LOWBOOT configuration" ; \
516 @[ -z "$(findstring DDR,$@)" ] || \
517 { echo "#define CONFIG_MPC5200_DDR" >>$(obj)include/config.h ; \
518 $(XECHO) "... DDR memory revision" ; \
520 @[ -z "$(findstring 5200,$@)" ] || \
521 { echo "#define CONFIG_MPC5200" >>$(obj)include/config.h ; \
522 $(XECHO) "... with MPC5200 processor" ; \
524 @[ -z "$(findstring 5100,$@)" ] || \
525 { echo "#define CONFIG_MGT5100" >>$(obj)include/config.h ; \
526 $(XECHO) "... with MGT5100 processor" ; \
528 @$(MKCONFIG) -a IceCube ppc mpc5xxx icecube
530 jupiter_config: unconfig
531 @$(MKCONFIG) jupiter ppc mpc5xxx jupiter
533 v38b_config: unconfig
534 @$(MKCONFIG) -a v38b ppc mpc5xxx v38b
536 inka4x0_config: unconfig
537 @$(MKCONFIG) inka4x0 ppc mpc5xxx inka4x0
540 lite5200b_PM_config \
541 lite5200b_LOWBOOT_config: unconfig
542 @mkdir -p $(obj)include
543 @mkdir -p $(obj)board/icecube
544 @ echo "#define CONFIG_MPC5200_DDR" >>$(obj)include/config.h
545 @ $(XECHO) "... DDR memory revision"
546 @ echo "#define CONFIG_MPC5200" >>$(obj)include/config.h
547 @ echo "#define CONFIG_LITE5200B" >>$(obj)include/config.h
548 @[ -z "$(findstring _PM_,$@)" ] || \
549 { echo "#define CONFIG_LITE5200B_PM" >>$(obj)include/config.h ; \
550 $(XECHO) "... with power management (low-power mode) support" ; \
552 @[ -z "$(findstring LOWBOOT_,$@)" ] || \
553 { echo "TEXT_BASE = 0xFF000000" >$(obj)board/icecube/config.tmp ; \
554 $(XECHO) "... with LOWBOOT configuration" ; \
556 @ $(XECHO) "... with MPC5200B processor"
557 @$(MKCONFIG) -a IceCube ppc mpc5xxx icecube
560 mcc200_SDRAM_config \
561 mcc200_highboot_config \
562 mcc200_COM12_config \
563 mcc200_COM12_SDRAM_config \
564 mcc200_COM12_highboot_config \
565 mcc200_COM12_highboot_SDRAM_config \
566 mcc200_highboot_SDRAM_config \
569 prs200_highboot_config \
570 prs200_highboot_DDR_config: unconfig
571 @mkdir -p $(obj)include
572 @mkdir -p $(obj)board/mcc200
573 @[ -n "$(findstring highboot,$@)" ] || \
574 { $(XECHO) "... with lowboot configuration" ; \
576 @[ -z "$(findstring highboot,$@)" ] || \
577 { echo "TEXT_BASE = 0xFFF00000" >$(obj)board/mcc200/config.tmp ; \
578 $(XECHO) "... with highboot configuration" ; \
580 @[ -n "$(findstring _SDRAM,$@)" ] || \
581 { if [ -n "$(findstring mcc200,$@)" ]; \
583 $(XECHO) "... with DDR" ; \
585 if [ -n "$(findstring _DDR,$@)" ];\
587 $(XECHO) "... with DDR" ; \
589 echo "#define CONFIG_MCC200_SDRAM" >>$(obj)include/config.h ;\
590 $(XECHO) "... with SDRAM" ; \
594 @[ -z "$(findstring _SDRAM,$@)" ] || \
595 { echo "#define CONFIG_MCC200_SDRAM" >>$(obj)include/config.h ; \
596 $(XECHO) "... with SDRAM" ; \
598 @[ -z "$(findstring COM12,$@)" ] || \
599 { echo "#define CONFIG_CONSOLE_COM12" >>$(obj)include/config.h ; \
600 $(XECHO) "... with console on COM12" ; \
602 @[ -z "$(findstring prs200,$@)" ] || \
603 { echo "#define CONFIG_PRS200" >>$(obj)include/config.h ;\
605 @$(MKCONFIG) -n $@ -a mcc200 ppc mpc5xxx mcc200
607 mecp5200_config: unconfig
608 @$(MKCONFIG) mecp5200 ppc mpc5xxx mecp5200 esd
610 munices_config: unconfig
611 @$(MKCONFIG) munices ppc mpc5xxx munices
613 o2dnt_config: unconfig
614 @$(MKCONFIG) o2dnt ppc mpc5xxx o2dnt
616 pf5200_config: unconfig
617 @$(MKCONFIG) pf5200 ppc mpc5xxx pf5200 esd
621 PM520_ROMBOOT_config \
622 PM520_ROMBOOT_DDR_config: unconfig
623 @mkdir -p $(obj)include
624 @[ -z "$(findstring DDR,$@)" ] || \
625 { echo "#define CONFIG_MPC5200_DDR" >>$(obj)include/config.h ; \
626 $(XECHO) "... DDR memory revision" ; \
628 @[ -z "$(findstring ROMBOOT,$@)" ] || \
629 { echo "#define CONFIG_BOOT_ROM" >>$(obj)include/config.h ; \
630 $(XECHO) "... booting from 8-bit flash" ; \
632 @$(MKCONFIG) -a PM520 ppc mpc5xxx pm520
634 smmaco4_config: unconfig
635 @$(MKCONFIG) -a smmaco4 ppc mpc5xxx tqm5200
637 cm5200_config: unconfig
638 @$(MKCONFIG) -a cm5200 ppc mpc5xxx cm5200
640 spieval_config: unconfig
641 @$(MKCONFIG) -a spieval ppc mpc5xxx tqm5200
644 TB5200_config: unconfig
645 @mkdir -p $(obj)include
646 @[ -z "$(findstring _B,$@)" ] || \
647 { echo "#define CONFIG_TQM5200_B" >>$(obj)include/config.h ; \
648 $(XECHO) "... with MPC5200B processor" ; \
650 @$(MKCONFIG) -n $@ -a TB5200 ppc mpc5xxx tqm5200
654 TOP5200_config: unconfig
655 @mkdir -p $(obj)include
656 @ echo "#define CONFIG_$(@:_config=) 1" >$(obj)include/config.h
657 @$(MKCONFIG) -n $@ -a TOP5200 ppc mpc5xxx top5200 emk
661 Total5200_lowboot_config \
662 Total5200_Rev2_config \
663 Total5200_Rev2_lowboot_config: unconfig
664 @mkdir -p $(obj)include
665 @mkdir -p $(obj)board/total5200
666 @[ -z "$(findstring 5100,$@)" ] || \
667 { echo "#define CONFIG_MGT5100" >>$(obj)include/config.h ; \
668 $(XECHO) "... with MGT5100 processor" ; \
670 @[ -z "$(findstring 5200,$@)" ] || \
671 { echo "#define CONFIG_MPC5200" >>$(obj)include/config.h ; \
672 $(XECHO) "... with MPC5200 processor" ; \
674 @[ -n "$(findstring Rev,$@)" ] || \
675 { echo "#define CONFIG_TOTAL5200_REV 1" >>$(obj)include/config.h ; \
676 $(XECHO) "... revision 1 board" ; \
678 @[ -z "$(findstring Rev2_,$@)" ] || \
679 { echo "#define CONFIG_TOTAL5200_REV 2" >>$(obj)include/config.h ; \
680 $(XECHO) "... revision 2 board" ; \
682 @[ -z "$(findstring lowboot_,$@)" ] || \
683 { echo "TEXT_BASE = 0xFE000000" >$(obj)board/total5200/config.tmp ; \
684 $(XECHO) "... with lowboot configuration" ; \
686 @$(MKCONFIG) -a Total5200 ppc mpc5xxx total5200
689 cam5200_niosflash_config \
693 TQM5200S_HIGHBOOT_config \
695 TQM5200_B_HIGHBOOT_config \
697 TQM5200_STK100_config: unconfig
698 @mkdir -p $(obj)include
699 @mkdir -p $(obj)board/tqm5200
700 @[ -z "$(findstring cam5200,$@)" ] || \
701 { echo "#define CONFIG_CAM5200" >>$(obj)include/config.h ; \
702 echo "#define CONFIG_TQM5200S" >>$(obj)include/config.h ; \
703 echo "#define CONFIG_TQM5200_B" >>$(obj)include/config.h ; \
704 $(XECHO) "... TQM5200S on Cam5200" ; \
706 @[ -z "$(findstring niosflash,$@)" ] || \
707 { echo "#define CONFIG_CAM5200_NIOSFLASH" >>$(obj)include/config.h ; \
708 $(XECHO) "... with NIOS flash driver" ; \
710 @[ -z "$(findstring fo300,$@)" ] || \
711 { echo "#define CONFIG_FO300" >>$(obj)include/config.h ; \
712 $(XECHO) "... TQM5200 on FO300" ; \
714 @[ -z "$(findstring MiniFAP,$@)" ] || \
715 { echo "#define CONFIG_MINIFAP" >>$(obj)include/config.h ; \
716 $(XECHO) "... TQM5200_AC on MiniFAP" ; \
718 @[ -z "$(findstring STK100,$@)" ] || \
719 { echo "#define CONFIG_STK52XX_REV100" >>$(obj)include/config.h ; \
720 $(XECHO) "... on a STK52XX.100 base board" ; \
722 @[ -z "$(findstring TQM5200_B,$@)" ] || \
723 { echo "#define CONFIG_TQM5200_B" >>$(obj)include/config.h ; \
725 @[ -z "$(findstring TQM5200S,$@)" ] || \
726 { echo "#define CONFIG_TQM5200S" >>$(obj)include/config.h ; \
727 echo "#define CONFIG_TQM5200_B" >>$(obj)include/config.h ; \
729 @[ -z "$(findstring HIGHBOOT,$@)" ] || \
730 { echo "TEXT_BASE = 0xFFF00000" >$(obj)board/tqm5200/config.tmp ; \
732 @$(MKCONFIG) -n $@ -a TQM5200 ppc mpc5xxx tqm5200
733 uc101_config: unconfig
734 @$(MKCONFIG) uc101 ppc mpc5xxx uc101
735 motionpro_config: unconfig
736 @$(MKCONFIG) motionpro ppc mpc5xxx motionpro
739 #########################################################################
741 #########################################################################
745 @mkdir -p $(obj)include
746 @if [ "$(findstring _PCI_,$@)" ] ; then \
747 echo "#define CONFIG_PCI" >>$(obj)include/config.h ; \
748 $(XECHO) "... with PCI enabled" ; \
750 @$(MKCONFIG) -a ads5121 ppc mpc512x ads5121
753 #########################################################################
755 #########################################################################
761 @mkdir -p $(obj)include
762 $(if $(findstring AdderII,$@), \
763 @echo "#define CONFIG_MPC852T" > $(obj)include/config.h)
764 @$(MKCONFIG) -a Adder ppc mpc8xx adder
766 AdderUSB_config: unconfig
767 @$(MKCONFIG) -a AdderUSB ppc mpc8xx adder
774 FADS860T_config: unconfig
775 @$(MKCONFIG) $(@:_config=) ppc mpc8xx fads
777 AMX860_config : unconfig
778 @$(MKCONFIG) $(@:_config=) ppc mpc8xx amx860 westel
780 c2mon_config: unconfig
781 @$(MKCONFIG) $(@:_config=) ppc mpc8xx c2mon
784 @$(MKCONFIG) $(@:_config=) ppc mpc8xx CCM siemens
786 cogent_mpc8xx_config: unconfig
787 @$(MKCONFIG) $(@:_config=) ppc mpc8xx cogent
789 ELPT860_config: unconfig
790 @$(MKCONFIG) $(@:_config=) ppc mpc8xx elpt860 LEOX
792 EP88x_config: unconfig
793 @$(MKCONFIG) $(@:_config=) ppc mpc8xx ep88x
795 ESTEEM192E_config: unconfig
796 @$(MKCONFIG) $(@:_config=) ppc mpc8xx esteem192e
798 ETX094_config : unconfig
799 @$(MKCONFIG) $(@:_config=) ppc mpc8xx etx094
801 FLAGADM_config: unconfig
802 @$(MKCONFIG) $(@:_config=) ppc mpc8xx flagadm
804 xtract_GEN860T = $(subst _SC,,$(subst _config,,$1))
807 GEN860T_config: unconfig
808 @mkdir -p $(obj)include
809 @[ -z "$(findstring _SC,$@)" ] || \
810 { echo "#define CONFIG_SC" >>$(obj)include/config.h ; \
811 $(XECHO) "With reduced H/W feature set (SC)..." ; \
813 @$(MKCONFIG) -a $(call xtract_GEN860T,$@) ppc mpc8xx gen860t
815 GENIETV_config: unconfig
816 @$(MKCONFIG) $(@:_config=) ppc mpc8xx genietv
819 @$(MKCONFIG) $(@:_config=) ppc mpc8xx gth
821 hermes_config : unconfig
822 @$(MKCONFIG) $(@:_config=) ppc mpc8xx hermes
824 HMI10_config : unconfig
825 @$(MKCONFIG) $(@:_config=) ppc mpc8xx tqm8xx
827 IAD210_config: unconfig
828 @$(MKCONFIG) $(@:_config=) ppc mpc8xx IAD210 siemens
830 xtract_ICU862 = $(subst _100MHz,,$(subst _config,,$1))
832 ICU862_100MHz_config \
833 ICU862_config: unconfig
834 @mkdir -p $(obj)include
835 @[ -z "$(findstring _100MHz,$@)" ] || \
836 { echo "#define CONFIG_100MHz" >>$(obj)include/config.h ; \
837 $(XECHO) "... with 100MHz system clock" ; \
839 @$(MKCONFIG) -a $(call xtract_ICU862,$@) ppc mpc8xx icu862
841 IP860_config : unconfig
842 @$(MKCONFIG) $(@:_config=) ppc mpc8xx ip860
846 IVML24_config: unconfig
847 @mkdir -p $(obj)include
848 @[ -z "$(findstring IVML24_config,$@)" ] || \
849 { echo "#define CONFIG_IVML24_16M" >>$(obj)include/config.h ; \
851 @[ -z "$(findstring IVML24_128_config,$@)" ] || \
852 { echo "#define CONFIG_IVML24_32M" >>$(obj)include/config.h ; \
854 @[ -z "$(findstring IVML24_256_config,$@)" ] || \
855 { echo "#define CONFIG_IVML24_64M" >>$(obj)include/config.h ; \
857 @$(MKCONFIG) -a IVML24 ppc mpc8xx ivm
861 IVMS8_config: unconfig
862 @mkdir -p $(obj)include
863 @[ -z "$(findstring IVMS8_config,$@)" ] || \
864 { echo "#define CONFIG_IVMS8_16M" >>$(obj)include/config.h ; \
866 @[ -z "$(findstring IVMS8_128_config,$@)" ] || \
867 { echo "#define CONFIG_IVMS8_32M" >>$(obj)include/config.h ; \
869 @[ -z "$(findstring IVMS8_256_config,$@)" ] || \
870 { echo "#define CONFIG_IVMS8_64M" >>$(obj)include/config.h ; \
872 @$(MKCONFIG) -a IVMS8 ppc mpc8xx ivm
874 KUP4K_config : unconfig
875 @$(MKCONFIG) $(@:_config=) ppc mpc8xx kup4k kup
877 KUP4X_config : unconfig
878 @$(MKCONFIG) $(@:_config=) ppc mpc8xx kup4x kup
880 LANTEC_config : unconfig
881 @$(MKCONFIG) $(@:_config=) ppc mpc8xx lantec
883 lwmon_config: unconfig
884 @$(MKCONFIG) $(@:_config=) ppc mpc8xx lwmon
887 MBX860T_config: unconfig
888 @$(MKCONFIG) $(@:_config=) ppc mpc8xx mbx8xx
890 mgsuvd_config: unconfig
891 @$(MKCONFIG) $(@:_config=) ppc mpc8xx mgsuvd
893 MHPC_config: unconfig
894 @$(MKCONFIG) $(@:_config=) ppc mpc8xx mhpc eltec
896 MVS1_config : unconfig
897 @$(MKCONFIG) $(@:_config=) ppc mpc8xx mvs1
899 xtract_NETVIA = $(subst _V2,,$(subst _config,,$1))
902 NETVIA_config: unconfig
903 @mkdir -p $(obj)include
904 @[ -z "$(findstring NETVIA_config,$@)" ] || \
905 { echo "#define CONFIG_NETVIA_VERSION 1" >>$(obj)include/config.h ; \
906 $(XECHO) "... Version 1" ; \
908 @[ -z "$(findstring NETVIA_V2_config,$@)" ] || \
909 { echo "#define CONFIG_NETVIA_VERSION 2" >>$(obj)include/config.h ; \
910 $(XECHO) "... Version 2" ; \
912 @$(MKCONFIG) -a $(call xtract_NETVIA,$@) ppc mpc8xx netvia
914 xtract_NETPHONE = $(subst _V2,,$(subst _config,,$1))
917 NETPHONE_config: unconfig
918 @mkdir -p $(obj)include
919 @[ -z "$(findstring NETPHONE_config,$@)" ] || \
920 { echo "#define CONFIG_NETPHONE_VERSION 1" >>$(obj)include/config.h ; \
922 @[ -z "$(findstring NETPHONE_V2_config,$@)" ] || \
923 { echo "#define CONFIG_NETPHONE_VERSION 2" >>$(obj)include/config.h ; \
925 @$(MKCONFIG) -a $(call xtract_NETPHONE,$@) ppc mpc8xx netphone
927 xtract_NETTA = $(subst _SWAPHOOK,,$(subst _6412,,$(subst _ISDN,,$(subst _config,,$1))))
929 NETTA_ISDN_6412_SWAPHOOK_config \
930 NETTA_ISDN_SWAPHOOK_config \
931 NETTA_6412_SWAPHOOK_config \
932 NETTA_SWAPHOOK_config \
933 NETTA_ISDN_6412_config \
936 NETTA_config: unconfig
937 @mkdir -p $(obj)include
938 @[ -z "$(findstring ISDN_,$@)" ] || \
939 { echo "#define CONFIG_NETTA_ISDN 1" >>$(obj)include/config.h ; \
941 @[ -n "$(findstring ISDN_,$@)" ] || \
942 { echo "#undef CONFIG_NETTA_ISDN" >>$(obj)include/config.h ; \
944 @[ -z "$(findstring 6412_,$@)" ] || \
945 { echo "#define CONFIG_NETTA_6412 1" >>$(obj)include/config.h ; \
947 @[ -n "$(findstring 6412_,$@)" ] || \
948 { echo "#undef CONFIG_NETTA_6412" >>$(obj)include/config.h ; \
950 @[ -z "$(findstring SWAPHOOK_,$@)" ] || \
951 { echo "#define CONFIG_NETTA_SWAPHOOK 1" >>$(obj)include/config.h ; \
953 @[ -n "$(findstring SWAPHOOK_,$@)" ] || \
954 { echo "#undef CONFIG_NETTA_SWAPHOOK" >>$(obj)include/config.h ; \
956 @$(MKCONFIG) -a $(call xtract_NETTA,$@) ppc mpc8xx netta
958 xtract_NETTA2 = $(subst _V2,,$(subst _config,,$1))
961 NETTA2_config: unconfig
962 @mkdir -p $(obj)include
963 @[ -z "$(findstring NETTA2_config,$@)" ] || \
964 { echo "#define CONFIG_NETTA2_VERSION 1" >>$(obj)include/config.h ; \
966 @[ -z "$(findstring NETTA2_V2_config,$@)" ] || \
967 { echo "#define CONFIG_NETTA2_VERSION 2" >>$(obj)include/config.h ; \
969 @$(MKCONFIG) -a $(call xtract_NETTA2,$@) ppc mpc8xx netta2
973 CP850_config: unconfig
974 @mkdir -p $(obj)include
975 @[ -z "$(findstring CP850,$@)" ] || \
976 { echo "#define CONFIG_CP850 1" >>$(obj)include/config.h ; \
977 echo "#define CONFIG_IDS852_REV2 1" >>$(obj)include/config.h ; \
979 @[ -z "$(findstring Rev1,$@)" ] || \
980 { echo "#define CONFIG_IDS852_REV1 1" >>$(obj)include/config.h ; \
982 @[ -z "$(findstring Rev2,$@)" ] || \
983 { echo "#define CONFIG_IDS852_REV2 1" >>$(obj)include/config.h ; \
985 @$(MKCONFIG) -a NC650 ppc mpc8xx nc650
987 NX823_config: unconfig
988 @$(MKCONFIG) $(@:_config=) ppc mpc8xx nx823
990 pcu_e_config: unconfig
991 @$(MKCONFIG) $(@:_config=) ppc mpc8xx pcu_e siemens
993 QS850_config: unconfig
994 @$(MKCONFIG) $(@:_config=) ppc mpc8xx qs850 snmc
996 QS823_config: unconfig
997 @$(MKCONFIG) $(@:_config=) ppc mpc8xx qs850 snmc
999 QS860T_config: unconfig
1000 @$(MKCONFIG) $(@:_config=) ppc mpc8xx qs860t snmc
1002 quantum_config: unconfig
1003 @$(MKCONFIG) $(@:_config=) ppc mpc8xx quantum
1005 R360MPI_config: unconfig
1006 @$(MKCONFIG) $(@:_config=) ppc mpc8xx r360mpi
1008 RBC823_config: unconfig
1009 @$(MKCONFIG) $(@:_config=) ppc mpc8xx rbc823
1011 RPXClassic_config: unconfig
1012 @$(MKCONFIG) $(@:_config=) ppc mpc8xx RPXClassic
1014 RPXlite_config: unconfig
1015 @$(MKCONFIG) $(@:_config=) ppc mpc8xx RPXlite
1017 RPXlite_DW_64_config \
1018 RPXlite_DW_LCD_config \
1019 RPXlite_DW_64_LCD_config \
1020 RPXlite_DW_NVRAM_config \
1021 RPXlite_DW_NVRAM_64_config \
1022 RPXlite_DW_NVRAM_LCD_config \
1023 RPXlite_DW_NVRAM_64_LCD_config \
1024 RPXlite_DW_config: unconfig
1025 @mkdir -p $(obj)include
1026 @[ -z "$(findstring _64,$@)" ] || \
1027 { echo "#define RPXlite_64MHz" >>$(obj)include/config.h ; \
1028 $(XECHO) "... with 64MHz system clock ..."; \
1030 @[ -z "$(findstring _LCD,$@)" ] || \
1031 { echo "#define CONFIG_LCD" >>$(obj)include/config.h ; \
1032 echo "#define CONFIG_NEC_NL6448BC20" >>$(obj)include/config.h ; \
1033 $(XECHO) "... with LCD display ..."; \
1035 @[ -z "$(findstring _NVRAM,$@)" ] || \
1036 { echo "#define CFG_ENV_IS_IN_NVRAM" >>$(obj)include/config.h ; \
1037 $(XECHO) "... with ENV in NVRAM ..."; \
1039 @$(MKCONFIG) -a RPXlite_DW ppc mpc8xx RPXlite_dw
1041 rmu_config: unconfig
1042 @$(MKCONFIG) $(@:_config=) ppc mpc8xx rmu
1044 RRvision_config: unconfig
1045 @$(MKCONFIG) $(@:_config=) ppc mpc8xx RRvision
1047 RRvision_LCD_config: unconfig
1048 @mkdir -p $(obj)include
1049 @echo "#define CONFIG_LCD" >$(obj)include/config.h
1050 @echo "#define CONFIG_SHARP_LQ104V7DS01" >>$(obj)include/config.h
1051 @$(MKCONFIG) -a RRvision ppc mpc8xx RRvision
1053 SM850_config : unconfig
1054 @$(MKCONFIG) $(@:_config=) ppc mpc8xx tqm8xx
1056 spc1920_config: unconfig
1057 @$(MKCONFIG) $(@:_config=) ppc mpc8xx spc1920
1059 SPD823TS_config: unconfig
1060 @$(MKCONFIG) $(@:_config=) ppc mpc8xx spd8xx
1062 stxxtc_config: unconfig
1063 @$(MKCONFIG) $(@:_config=) ppc mpc8xx stxxtc
1065 svm_sc8xx_config: unconfig
1066 @$(MKCONFIG) $(@:_config=) ppc mpc8xx svm_sc8xx
1068 SXNI855T_config: unconfig
1069 @$(MKCONFIG) $(@:_config=) ppc mpc8xx sixnet
1071 # EMK MPC8xx based modules
1072 TOP860_config: unconfig
1073 @$(MKCONFIG) $(@:_config=) ppc mpc8xx top860 emk
1075 # Play some tricks for configuration selection
1076 # Only 855 and 860 boards may come with FEC
1077 # and only 823 boards may have LCD support
1078 xtract_8xx = $(subst _LCD,,$(subst _config,,$1))
1084 TQM823L_LCD_config \
1097 virtlab2_config: unconfig
1098 @mkdir -p $(obj)include
1099 @[ -z "$(findstring _LCD,$@)" ] || \
1100 { echo "#define CONFIG_LCD" >>$(obj)include/config.h ; \
1101 echo "#define CONFIG_NEC_NL6448BC20" >>$(obj)include/config.h ; \
1102 $(XECHO) "... with LCD display" ; \
1104 @$(MKCONFIG) -a $(call xtract_8xx,$@) ppc mpc8xx tqm8xx
1106 TTTech_config: unconfig
1107 @mkdir -p $(obj)include
1108 @echo "#define CONFIG_LCD" >$(obj)include/config.h
1109 @echo "#define CONFIG_SHARP_LQ104V7DS01" >>$(obj)include/config.h
1110 @$(MKCONFIG) -a TQM823L ppc mpc8xx tqm8xx
1112 uc100_config : unconfig
1113 @$(MKCONFIG) $(@:_config=) ppc mpc8xx uc100
1115 v37_config: unconfig
1116 @mkdir -p $(obj)include
1117 @echo "#define CONFIG_LCD" >$(obj)include/config.h
1118 @echo "#define CONFIG_SHARP_LQ084V1DG21" >>$(obj)include/config.h
1119 @$(MKCONFIG) $(@:_config=) ppc mpc8xx v37
1121 wtk_config: unconfig
1122 @mkdir -p $(obj)include
1123 @echo "#define CONFIG_LCD" >$(obj)include/config.h
1124 @echo "#define CONFIG_SHARP_LQ065T9DR51U" >>$(obj)include/config.h
1125 @$(MKCONFIG) -a TQM823L ppc mpc8xx tqm8xx
1127 #########################################################################
1129 #########################################################################
1130 xtract_4xx = $(subst _25,,$(subst _33,,$(subst _BA,,$(subst _ME,,$(subst _HI,,$(subst _config,,$1))))))
1132 acadia_config: unconfig
1133 @$(MKCONFIG) $(@:_config=) ppc ppc4xx acadia amcc
1135 acadia_nand_config: unconfig
1136 @mkdir -p $(obj)include $(obj)board/amcc/acadia
1137 @mkdir -p $(obj)nand_spl/board/amcc/acadia
1138 @echo "#define CONFIG_NAND_U_BOOT" > $(obj)include/config.h
1139 @$(MKCONFIG) -n $@ -a acadia ppc ppc4xx acadia amcc
1140 @echo "TEXT_BASE = 0x01000000" > $(obj)board/amcc/acadia/config.tmp
1141 @echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk
1143 ADCIOP_config: unconfig
1144 @$(MKCONFIG) $(@:_config=) ppc ppc4xx adciop esd
1146 alpr_config: unconfig
1147 @$(MKCONFIG) $(@:_config=) ppc ppc4xx alpr prodrive
1149 AP1000_config:unconfig
1150 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ap1000 amirix
1152 APC405_config: unconfig
1153 @$(MKCONFIG) $(@:_config=) ppc ppc4xx apc405 esd
1155 AR405_config: unconfig
1156 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ar405 esd
1158 ASH405_config: unconfig
1159 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ash405 esd
1161 bamboo_config: unconfig
1162 @$(MKCONFIG) $(@:_config=) ppc ppc4xx bamboo amcc
1164 bamboo_nand_config: unconfig
1165 @mkdir -p $(obj)include $(obj)board/amcc/bamboo
1166 @mkdir -p $(obj)nand_spl/board/amcc/bamboo
1167 @echo "#define CONFIG_NAND_U_BOOT" > $(obj)include/config.h
1168 @$(MKCONFIG) -n $@ -a bamboo ppc ppc4xx bamboo amcc
1169 @echo "TEXT_BASE = 0x01000000" > $(obj)board/amcc/bamboo/config.tmp
1170 @echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk
1172 bubinga_config: unconfig
1173 @$(MKCONFIG) $(@:_config=) ppc ppc4xx bubinga amcc
1175 CANBT_config: unconfig
1176 @$(MKCONFIG) $(@:_config=) ppc ppc4xx canbt esd
1178 # Canyonlands & Glacier use different U-Boot images
1179 canyonlands_config \
1180 glacier_config: unconfig
1181 @mkdir -p $(obj)include
1182 @echo "#define CONFIG_$$(echo $(subst ,,$(@:_config=)) | \
1183 tr '[:lower:]' '[:upper:]')" >$(obj)include/config.h
1184 @$(MKCONFIG) -n $@ -a canyonlands ppc ppc4xx canyonlands amcc
1186 canyonlands_nand_config: unconfig
1187 @mkdir -p $(obj)include $(obj)board/amcc/canyonlands
1188 @mkdir -p $(obj)nand_spl/board/amcc/canyonlands
1189 @echo "#define CONFIG_NAND_U_BOOT" > $(obj)include/config.h
1190 @$(MKCONFIG) -n $@ -a canyonlands ppc ppc4xx canyonlands amcc
1191 @echo "TEXT_BASE = 0x01000000" > $(obj)board/amcc/canyonlands/config.tmp
1192 @echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk
1195 CATcenter_25_config \
1196 CATcenter_33_config: unconfig
1197 @mkdir -p $(obj)include
1198 @ echo "/* CATcenter uses PPChameleon Model ME */" > $(obj)include/config.h
1199 @ echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 1" >> $(obj)include/config.h
1200 @[ -z "$(findstring _25,$@)" ] || \
1201 { echo "#define CONFIG_PPCHAMELEON_CLK_25" >> $(obj)include/config.h ; \
1202 $(XECHO) "SysClk = 25MHz" ; \
1204 @[ -z "$(findstring _33,$@)" ] || \
1205 { echo "#define CONFIG_PPCHAMELEON_CLK_33" >> $(obj)include/config.h ; \
1206 $(XECHO) "SysClk = 33MHz" ; \
1208 @$(MKCONFIG) -a $(call xtract_4xx,$@) ppc ppc4xx PPChameleonEVB dave
1210 CPCI2DP_config: unconfig
1211 @$(MKCONFIG) $(@:_config=) ppc ppc4xx cpci2dp esd
1216 CPCI405AB_config: unconfig
1217 @$(MKCONFIG) $(@:_config=) ppc ppc4xx cpci405 esd
1218 @echo "BOARD_REVISION = $(@:_config=)" >> $(obj)include/config.mk
1220 CPCIISER4_config: unconfig
1221 @$(MKCONFIG) $(@:_config=) ppc ppc4xx cpciiser4 esd
1223 CRAYL1_config: unconfig
1224 @$(MKCONFIG) $(@:_config=) ppc ppc4xx L1 cray
1226 csb272_config: unconfig
1227 @$(MKCONFIG) $(@:_config=) ppc ppc4xx csb272
1229 csb472_config: unconfig
1230 @$(MKCONFIG) $(@:_config=) ppc ppc4xx csb472
1232 DASA_SIM_config: unconfig
1233 @$(MKCONFIG) $(@:_config=) ppc ppc4xx dasa_sim esd
1235 DP405_config: unconfig
1236 @$(MKCONFIG) $(@:_config=) ppc ppc4xx dp405 esd
1238 DU405_config: unconfig
1239 @$(MKCONFIG) $(@:_config=) ppc ppc4xx du405 esd
1241 DU440_config: unconfig
1242 @$(MKCONFIG) $(@:_config=) ppc ppc4xx du440 esd
1244 ebony_config: unconfig
1245 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ebony amcc
1247 ERIC_config: unconfig
1248 @$(MKCONFIG) $(@:_config=) ppc ppc4xx eric
1250 EXBITGEN_config: unconfig
1251 @$(MKCONFIG) $(@:_config=) ppc ppc4xx exbitgen
1253 G2000_config: unconfig
1254 @$(MKCONFIG) $(@:_config=) ppc ppc4xx g2000
1256 hcu4_config: unconfig
1257 @mkdir -p $(obj)board/netstal/common
1258 @$(MKCONFIG) $(@:_config=) ppc ppc4xx hcu4 netstal
1260 hcu5_config: unconfig
1261 @mkdir -p $(obj)board/netstal/common
1262 @$(MKCONFIG) $(@:_config=) ppc ppc4xx hcu5 netstal
1264 HH405_config: unconfig
1265 @$(MKCONFIG) $(@:_config=) ppc ppc4xx hh405 esd
1267 HUB405_config: unconfig
1268 @$(MKCONFIG) $(@:_config=) ppc ppc4xx hub405 esd
1270 JSE_config: unconfig
1271 @$(MKCONFIG) $(@:_config=) ppc ppc4xx jse
1273 KAREF_config: unconfig
1274 @$(MKCONFIG) $(@:_config=) ppc ppc4xx karef sandburst
1276 katmai_config: unconfig
1277 @$(MKCONFIG) $(@:_config=) ppc ppc4xx katmai amcc
1279 # Kilauea & Haleakala images are identical (recognized via PVR)
1281 haleakala_config: unconfig
1282 @$(MKCONFIG) -n $@ -a kilauea ppc ppc4xx kilauea amcc
1284 kilauea_nand_config \
1285 haleakala_nand_config: unconfig
1286 @mkdir -p $(obj)include $(obj)board/amcc/kilauea
1287 @mkdir -p $(obj)nand_spl/board/amcc/kilauea
1288 @echo "#define CONFIG_NAND_U_BOOT" > $(obj)include/config.h
1289 @$(MKCONFIG) -n $@ -a kilauea ppc ppc4xx kilauea amcc
1290 @echo "TEXT_BASE = 0x01000000" > $(obj)board/amcc/kilauea/config.tmp
1291 @echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk
1293 korat_config: unconfig
1294 @$(MKCONFIG) $(@:_config=) ppc ppc4xx korat
1296 luan_config: unconfig
1297 @$(MKCONFIG) $(@:_config=) ppc ppc4xx luan amcc
1299 lwmon5_config: unconfig
1300 @$(MKCONFIG) $(@:_config=) ppc ppc4xx lwmon5
1302 makalu_config: unconfig
1303 @$(MKCONFIG) $(@:_config=) ppc ppc4xx makalu amcc
1305 mcu25_config: unconfig
1306 @mkdir -p $(obj)board/netstal/common
1307 @$(MKCONFIG) $(@:_config=) ppc ppc4xx mcu25 netstal
1309 METROBOX_config: unconfig
1310 @$(MKCONFIG) $(@:_config=) ppc ppc4xx metrobox sandburst
1312 MIP405_config: unconfig
1313 @$(MKCONFIG) $(@:_config=) ppc ppc4xx mip405 mpl
1315 MIP405T_config: unconfig
1316 @mkdir -p $(obj)include
1317 @echo "#define CONFIG_MIP405T" >$(obj)include/config.h
1318 @$(XECHO) "Enable subset config for MIP405T"
1319 @$(MKCONFIG) -a MIP405 ppc ppc4xx mip405 mpl
1321 ML2_config: unconfig
1322 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ml2
1324 ml300_config: unconfig
1325 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ml300 xilinx
1327 ocotea_config: unconfig
1328 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ocotea amcc
1331 ORSG_config: unconfig
1332 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ocrtc esd
1334 p3p440_config: unconfig
1335 @$(MKCONFIG) $(@:_config=) ppc ppc4xx p3p440 prodrive
1337 PCI405_config: unconfig
1338 @$(MKCONFIG) $(@:_config=) ppc ppc4xx pci405 esd
1340 pcs440ep_config: unconfig
1341 @$(MKCONFIG) $(@:_config=) ppc ppc4xx pcs440ep
1343 PIP405_config: unconfig
1344 @$(MKCONFIG) $(@:_config=) ppc ppc4xx pip405 mpl
1346 PLU405_config: unconfig
1347 @$(MKCONFIG) $(@:_config=) ppc ppc4xx plu405 esd
1349 PMC405_config: unconfig
1350 @$(MKCONFIG) $(@:_config=) ppc ppc4xx pmc405 esd
1352 PMC440_config: unconfig
1353 @$(MKCONFIG) $(@:_config=) ppc ppc4xx pmc440 esd
1355 PPChameleonEVB_config \
1356 PPChameleonEVB_BA_25_config \
1357 PPChameleonEVB_ME_25_config \
1358 PPChameleonEVB_HI_25_config \
1359 PPChameleonEVB_BA_33_config \
1360 PPChameleonEVB_ME_33_config \
1361 PPChameleonEVB_HI_33_config: unconfig
1362 @mkdir -p $(obj)include
1363 @[ -z "$(findstring EVB_BA,$@)" ] || \
1364 { echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 0" >>$(obj)include/config.h ; \
1365 $(XECHO) "... BASIC model" ; \
1367 @[ -z "$(findstring EVB_ME,$@)" ] || \
1368 { echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 1" >>$(obj)include/config.h ; \
1369 $(XECHO) "... MEDIUM model" ; \
1371 @[ -z "$(findstring EVB_HI,$@)" ] || \
1372 { echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 2" >>$(obj)include/config.h ; \
1373 $(XECHO) "... HIGH-END model" ; \
1375 @[ -z "$(findstring _25,$@)" ] || \
1376 { echo "#define CONFIG_PPCHAMELEON_CLK_25" >>$(obj)include/config.h ; \
1377 $(XECHO) "SysClk = 25MHz" ; \
1379 @[ -z "$(findstring _33,$@)" ] || \
1380 { echo "#define CONFIG_PPCHAMELEON_CLK_33" >>$(obj)include/config.h ; \
1381 $(XECHO) "SysClk = 33MHz" ; \
1383 @$(MKCONFIG) -a $(call xtract_4xx,$@) ppc ppc4xx PPChameleonEVB dave
1385 sbc405_config: unconfig
1386 @$(MKCONFIG) $(@:_config=) ppc ppc4xx sbc405
1389 rainier_config: unconfig
1390 @mkdir -p $(obj)include
1391 @echo "#define CONFIG_$$(echo $(subst ,,$(@:_config=)) | \
1392 tr '[:lower:]' '[:upper:]')" >$(obj)include/config.h
1393 @$(MKCONFIG) -n $@ -a sequoia ppc ppc4xx sequoia amcc
1395 sequoia_nand_config \
1396 rainier_nand_config: unconfig
1397 @mkdir -p $(obj)include $(obj)board/amcc/sequoia
1398 @mkdir -p $(obj)nand_spl/board/amcc/sequoia
1399 @echo "#define CONFIG_NAND_U_BOOT" > $(obj)include/config.h
1400 @echo "#define CONFIG_$$(echo $(subst ,,$(@:_config=)) | \
1401 tr '[:lower:]' '[:upper:]')" >> $(obj)include/config.h
1402 @$(MKCONFIG) -n $@ -a sequoia ppc ppc4xx sequoia amcc
1403 @echo "TEXT_BASE = 0x01000000" > $(obj)board/amcc/sequoia/config.tmp
1404 @echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk
1407 @$(MKCONFIG) $(@:_config=) ppc ppc4xx sc3
1409 taihu_config: unconfig
1410 @$(MKCONFIG) $(@:_config=) ppc ppc4xx taihu amcc
1412 taishan_config: unconfig
1413 @$(MKCONFIG) $(@:_config=) ppc ppc4xx taishan amcc
1415 VOH405_config: unconfig
1416 @$(MKCONFIG) $(@:_config=) ppc ppc4xx voh405 esd
1418 VOM405_config: unconfig
1419 @$(MKCONFIG) $(@:_config=) ppc ppc4xx vom405 esd
1421 CMS700_config: unconfig
1422 @$(MKCONFIG) $(@:_config=) ppc ppc4xx cms700 esd
1425 W7OLMG_config: unconfig
1426 @$(MKCONFIG) $(@:_config=) ppc ppc4xx w7o
1428 # Walnut & Sycamore images are identical (recognized via PVR)
1430 sycamore_config: unconfig
1431 @$(MKCONFIG) -n $@ -a walnut ppc ppc4xx walnut amcc
1433 WUH405_config: unconfig
1434 @$(MKCONFIG) $(@:_config=) ppc ppc4xx wuh405 esd
1436 XPEDITE1K_config: unconfig
1437 @$(MKCONFIG) $(@:_config=) ppc ppc4xx xpedite1k
1440 yellowstone_config: unconfig
1441 @mkdir -p $(obj)include
1442 @echo "#define CONFIG_$$(echo $(subst ,,$(@:_config=)) | \
1443 tr '[:lower:]' '[:upper:]')" >$(obj)include/config.h
1444 @$(MKCONFIG) -n $@ -a yosemite ppc ppc4xx yosemite amcc
1446 yucca_config: unconfig
1447 @$(MKCONFIG) $(@:_config=) ppc ppc4xx yucca amcc
1449 zeus_config: unconfig
1450 @$(MKCONFIG) $(@:_config=) ppc ppc4xx zeus
1452 #########################################################################
1454 #########################################################################
1457 Yukon8220_config: unconfig
1458 @$(MKCONFIG) $(@:_config=) ppc mpc8220 alaska
1460 sorcery_config: unconfig
1461 @$(MKCONFIG) $(@:_config=) ppc mpc8220 sorcery
1463 #########################################################################
1465 #########################################################################
1466 xtract_82xx = $(subst _BIGFLASH,,$(subst _ROMBOOT,,$(subst _L2,,$(subst _266MHz,,$(subst _300MHz,,$(subst _config,,$1))))))
1468 A3000_config: unconfig
1469 @$(MKCONFIG) $(@:_config=) ppc mpc824x a3000
1471 barco_config: unconfig
1472 @$(MKCONFIG) $(@:_config=) ppc mpc824x barco
1474 BMW_config: unconfig
1475 @$(MKCONFIG) $(@:_config=) ppc mpc824x bmw
1478 CPC45_ROMBOOT_config: unconfig
1479 @$(MKCONFIG) $(call xtract_82xx,$@) ppc mpc824x cpc45
1480 @cd $(obj)include ; \
1481 if [ "$(findstring _ROMBOOT_,$@)" ] ; then \
1482 echo "CONFIG_BOOT_ROM = y" >> config.mk ; \
1483 $(XECHO) "... booting from 8-bit flash" ; \
1485 echo "CONFIG_BOOT_ROM = n" >> config.mk ; \
1486 $(XECHO) "... booting from 64-bit flash" ; \
1488 echo "export CONFIG_BOOT_ROM" >> config.mk;
1490 CU824_config: unconfig
1491 @$(MKCONFIG) $(@:_config=) ppc mpc824x cu824
1493 debris_config: unconfig
1494 @$(MKCONFIG) $(@:_config=) ppc mpc824x debris etin
1496 eXalion_config: unconfig
1497 @$(MKCONFIG) $(@:_config=) ppc mpc824x eXalion
1499 HIDDEN_DRAGON_config: unconfig
1500 @$(MKCONFIG) $(@:_config=) ppc mpc824x hidden_dragon
1502 kvme080_config: unconfig
1503 @$(MKCONFIG) $(@:_config=) ppc mpc824x kvme080 etin
1505 MOUSSE_config: unconfig
1506 @$(MKCONFIG) $(@:_config=) ppc mpc824x mousse
1508 MUSENKI_config: unconfig
1509 @$(MKCONFIG) $(@:_config=) ppc mpc824x musenki
1511 MVBLUE_config: unconfig
1512 @$(MKCONFIG) $(@:_config=) ppc mpc824x mvblue
1514 OXC_config: unconfig
1515 @$(MKCONFIG) $(@:_config=) ppc mpc824x oxc
1517 PN62_config: unconfig
1518 @$(MKCONFIG) $(@:_config=) ppc mpc824x pn62
1520 Sandpoint8240_config: unconfig
1521 @$(MKCONFIG) $(@:_config=) ppc mpc824x sandpoint
1523 Sandpoint8245_config: unconfig
1524 @$(MKCONFIG) $(@:_config=) ppc mpc824x sandpoint
1526 sbc8240_config: unconfig
1527 @$(MKCONFIG) $(@:_config=) ppc mpc824x sbc8240
1529 SL8245_config: unconfig
1530 @$(MKCONFIG) $(@:_config=) ppc mpc824x sl8245
1532 utx8245_config: unconfig
1533 @$(MKCONFIG) $(@:_config=) ppc mpc824x utx8245
1535 #########################################################################
1537 #########################################################################
1539 atc_config: unconfig
1540 @$(MKCONFIG) $(@:_config=) ppc mpc8260 atc
1542 cogent_mpc8260_config: unconfig
1543 @$(MKCONFIG) $(@:_config=) ppc mpc8260 cogent
1546 CPU86_ROMBOOT_config: unconfig
1547 @$(MKCONFIG) $(call xtract_82xx,$@) ppc mpc8260 cpu86
1548 @cd $(obj)include ; \
1549 if [ "$(findstring _ROMBOOT_,$@)" ] ; then \
1550 echo "CONFIG_BOOT_ROM = y" >> config.mk ; \
1551 $(XECHO) "... booting from 8-bit flash" ; \
1553 echo "CONFIG_BOOT_ROM = n" >> config.mk ; \
1554 $(XECHO) "... booting from 64-bit flash" ; \
1556 echo "export CONFIG_BOOT_ROM" >> config.mk;
1559 CPU87_ROMBOOT_config: unconfig
1560 @$(MKCONFIG) $(call xtract_82xx,$@) ppc mpc8260 cpu87
1561 @cd $(obj)include ; \
1562 if [ "$(findstring _ROMBOOT_,$@)" ] ; then \
1563 echo "CONFIG_BOOT_ROM = y" >> config.mk ; \
1564 $(XECHO) "... booting from 8-bit flash" ; \
1566 echo "CONFIG_BOOT_ROM = n" >> config.mk ; \
1567 $(XECHO) "... booting from 64-bit flash" ; \
1569 echo "export CONFIG_BOOT_ROM" >> config.mk;
1572 ep8248E_config : unconfig
1573 @$(MKCONFIG) ep8248 ppc mpc8260 ep8248
1575 ep8260_config: unconfig
1576 @$(MKCONFIG) $(@:_config=) ppc mpc8260 ep8260
1578 ep82xxm_config: unconfig
1579 @$(MKCONFIG) $(@:_config=) ppc mpc8260 ep82xxm
1581 gw8260_config: unconfig
1582 @$(MKCONFIG) $(@:_config=) ppc mpc8260 gw8260
1584 hymod_config: unconfig
1585 @$(MKCONFIG) $(@:_config=) ppc mpc8260 hymod
1587 IDS8247_config: unconfig
1588 @$(MKCONFIG) $(@:_config=) ppc mpc8260 ids8247
1590 IPHASE4539_config: unconfig
1591 @$(MKCONFIG) $(@:_config=) ppc mpc8260 iphase4539
1594 ISPAN_REVB_config: unconfig
1595 @mkdir -p $(obj)include
1596 @if [ "$(findstring _REVB_,$@)" ] ; then \
1597 echo "#define CFG_REV_B" > $(obj)include/config.h ; \
1599 @$(MKCONFIG) -a ISPAN ppc mpc8260 ispan
1601 mgcoge_config : unconfig
1602 @$(MKCONFIG) mgcoge ppc mpc8260 mgcoge
1605 MPC8260ADS_lowboot_config \
1606 MPC8260ADS_33MHz_config \
1607 MPC8260ADS_33MHz_lowboot_config \
1608 MPC8260ADS_40MHz_config \
1609 MPC8260ADS_40MHz_lowboot_config \
1611 MPC8272ADS_lowboot_config \
1613 PQ2FADS_lowboot_config \
1615 PQ2FADS-VR_lowboot_config \
1617 PQ2FADS-ZU_lowboot_config \
1618 PQ2FADS-ZU_66MHz_config \
1619 PQ2FADS-ZU_66MHz_lowboot_config \
1621 @mkdir -p $(obj)include
1622 @mkdir -p $(obj)board/freescale/mpc8260ads
1623 $(if $(findstring PQ2FADS,$@), \
1624 @echo "#define CONFIG_ADSTYPE CFG_PQ2FADS" > $(obj)include/config.h, \
1625 @echo "#define CONFIG_ADSTYPE CFG_"$(subst MPC,,$(word 1,$(subst _, ,$@))) > $(obj)include/config.h)
1626 $(if $(findstring MHz,$@), \
1627 @echo "#define CONFIG_8260_CLKIN" $(subst MHz,,$(word 2,$(subst _, ,$@)))"000000" >> $(obj)include/config.h, \
1628 $(if $(findstring VR,$@), \
1629 @echo "#define CONFIG_8260_CLKIN 66000000" >> $(obj)include/config.h))
1630 @[ -z "$(findstring lowboot_,$@)" ] || \
1631 { echo "TEXT_BASE = 0xFF800000" >$(obj)board/freescale/mpc8260ads/config.tmp ; \
1632 $(XECHO) "... with lowboot configuration" ; \
1634 @$(MKCONFIG) -a MPC8260ADS ppc mpc8260 mpc8260ads freescale
1636 MPC8266ADS_config: unconfig
1637 @$(MKCONFIG) $(@:_config=) ppc mpc8260 mpc8266ads freescale
1639 # PM825/PM826 default configuration: small (= 8 MB) Flash / boot from 64-bit flash
1641 PM825_ROMBOOT_config \
1642 PM825_BIGFLASH_config \
1643 PM825_ROMBOOT_BIGFLASH_config \
1645 PM826_ROMBOOT_config \
1646 PM826_BIGFLASH_config \
1647 PM826_ROMBOOT_BIGFLASH_config: unconfig
1648 @mkdir -p $(obj)include
1649 @mkdir -p $(obj)board/pm826
1650 @if [ "$(findstring PM825_,$@)" ] ; then \
1651 echo "#define CONFIG_PCI" >$(obj)include/config.h ; \
1653 >$(obj)include/config.h ; \
1655 @if [ "$(findstring _ROMBOOT_,$@)" ] ; then \
1656 $(XECHO) "... booting from 8-bit flash" ; \
1657 echo "#define CONFIG_BOOT_ROM" >>$(obj)include/config.h ; \
1658 echo "TEXT_BASE = 0xFF800000" >$(obj)board/pm826/config.tmp ; \
1659 if [ "$(findstring _BIGFLASH_,$@)" ] ; then \
1660 $(XECHO) "... with 32 MB Flash" ; \
1661 echo "#define CONFIG_FLASH_32MB" >>$(obj)include/config.h ; \
1664 $(XECHO) "... booting from 64-bit flash" ; \
1665 if [ "$(findstring _BIGFLASH_,$@)" ] ; then \
1666 $(XECHO) "... with 32 MB Flash" ; \
1667 echo "#define CONFIG_FLASH_32MB" >>$(obj)include/config.h ; \
1668 echo "TEXT_BASE = 0x40000000" >$(obj)board/pm826/config.tmp ; \
1670 echo "TEXT_BASE = 0xFF000000" >$(obj)board/pm826/config.tmp ; \
1673 @$(MKCONFIG) -a PM826 ppc mpc8260 pm826
1677 PM828_ROMBOOT_config \
1678 PM828_ROMBOOT_PCI_config: unconfig
1679 @mkdir -p $(obj)include
1680 @mkdir -p $(obj)board/pm826
1681 @if [ "$(findstring _PCI_,$@)" ] ; then \
1682 echo "#define CONFIG_PCI" >>$(obj)include/config.h ; \
1683 $(XECHO) "... with PCI enabled" ; \
1685 @if [ "$(findstring _ROMBOOT_,$@)" ] ; then \
1686 $(XECHO) "... booting from 8-bit flash" ; \
1687 echo "#define CONFIG_BOOT_ROM" >>$(obj)include/config.h ; \
1688 echo "TEXT_BASE = 0xFF800000" >$(obj)board/pm826/config.tmp ; \
1690 @$(MKCONFIG) -a PM828 ppc mpc8260 pm828
1692 ppmc8260_config: unconfig
1693 @$(MKCONFIG) $(@:_config=) ppc mpc8260 ppmc8260
1695 Rattler8248_config \
1696 Rattler_config: unconfig
1697 @mkdir -p $(obj)include
1698 $(if $(findstring 8248,$@), \
1699 @echo "#define CONFIG_MPC8248" > $(obj)include/config.h)
1700 @$(MKCONFIG) -a Rattler ppc mpc8260 rattler
1702 RPXsuper_config: unconfig
1703 @$(MKCONFIG) $(@:_config=) ppc mpc8260 rpxsuper
1705 rsdproto_config: unconfig
1706 @$(MKCONFIG) $(@:_config=) ppc mpc8260 rsdproto
1708 sacsng_config: unconfig
1709 @$(MKCONFIG) $(@:_config=) ppc mpc8260 sacsng
1711 sbc8260_config: unconfig
1712 @$(MKCONFIG) $(@:_config=) ppc mpc8260 sbc8260
1714 SCM_config: unconfig
1715 @$(MKCONFIG) $(@:_config=) ppc mpc8260 SCM siemens
1727 TQM8265_AA_config: unconfig
1728 @mkdir -p $(obj)include
1730 TQM8255_AA_config) CTYPE=MPC8255; CFREQ=300; CACHE=no; BMODE=8260;; \
1731 TQM8260_AA_config) CTYPE=MPC8260; CFREQ=200; CACHE=no; BMODE=8260;; \
1732 TQM8260_AB_config) CTYPE=MPC8260; CFREQ=200; CACHE=yes; BMODE=60x;; \
1733 TQM8260_AC_config) CTYPE=MPC8260; CFREQ=200; CACHE=yes; BMODE=60x;; \
1734 TQM8260_AD_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=60x;; \
1735 TQM8260_AE_config) CTYPE=MPC8260; CFREQ=266; CACHE=no; BMODE=8260;; \
1736 TQM8260_AF_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=60x;; \
1737 TQM8260_AG_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=8260;; \
1738 TQM8260_AH_config) CTYPE=MPC8260; CFREQ=300; CACHE=yes; BMODE=60x;; \
1739 TQM8260_AI_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=60x;; \
1740 TQM8265_AA_config) CTYPE=MPC8265; CFREQ=300; CACHE=no; BMODE=60x;; \
1742 if [ "$${CTYPE}" != "MPC8260" ] ; then \
1743 echo "#define CONFIG_$${CTYPE}" >>$(obj)include/config.h ; \
1745 echo "#define CONFIG_$${CFREQ}MHz" >>$(obj)include/config.h ; \
1746 echo "... with $${CFREQ}MHz system clock" ; \
1747 if [ "$${CACHE}" = "yes" ] ; then \
1748 echo "#define CONFIG_L2_CACHE" >>$(obj)include/config.h ; \
1749 $(XECHO) "... with L2 Cache support" ; \
1751 echo "#undef CONFIG_L2_CACHE" >>$(obj)include/config.h ; \
1752 $(XECHO) "... without L2 Cache support" ; \
1754 if [ "$${BMODE}" = "60x" ] ; then \
1755 echo "#define CONFIG_BUSMODE_60x" >>$(obj)include/config.h ; \
1756 $(XECHO) "... with 60x Bus Mode" ; \
1758 echo "#undef CONFIG_BUSMODE_60x" >>$(obj)include/config.h ; \
1759 $(XECHO) "... without 60x Bus Mode" ; \
1761 @$(MKCONFIG) -a TQM8260 ppc mpc8260 tqm8260
1763 TQM8272_config: unconfig
1764 @$(MKCONFIG) TQM8272 ppc mpc8260 tqm8272
1766 VoVPN-GW_66MHz_config \
1767 VoVPN-GW_100MHz_config: unconfig
1768 @mkdir -p $(obj)include
1769 @echo "#define CONFIG_CLKIN_$(word 2,$(subst _, ,$@))" > $(obj)include/config.h
1770 @$(MKCONFIG) -a VoVPN-GW ppc mpc8260 vovpn-gw funkwerk
1772 ZPC1900_config: unconfig
1773 @$(MKCONFIG) $(@:_config=) ppc mpc8260 zpc1900
1775 #########################################################################
1777 #########################################################################
1779 M52277EVB_config: unconfig
1780 @$(MKCONFIG) -a M52277EVB m68k mcf5227x m52277evb freescale
1783 M5235EVB_Flash16_config \
1784 M5235EVB_Flash32_config: unconfig
1786 M5235EVB_config) FLASH=16;; \
1787 M5235EVB_Flash16_config) FLASH=16;; \
1788 M5235EVB_Flash32_config) FLASH=32;; \
1790 if [ "$${FLASH}" != "16" ] ; then \
1791 echo "#define NORFLASH_PS32BIT 1" >> $(obj)include/config.h ; \
1792 echo "TEXT_BASE = 0xFFC00000" > $(obj)board/freescale/m5235evb/config.tmp ; \
1793 cp $(obj)board/freescale/m5235evb/u-boot.32 $(obj)board/freescale/m5235evb/u-boot.lds ; \
1795 echo "TEXT_BASE = 0xFFE00000" > $(obj)board/freescale/m5235evb/config.tmp ; \
1796 cp $(obj)board/freescale/m5235evb/u-boot.16 $(obj)board/freescale/m5235evb/u-boot.lds ; \
1798 @$(MKCONFIG) -a M5235EVB m68k mcf523x m5235evb freescale
1800 M5249EVB_config : unconfig
1801 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5249evb freescale
1803 M5253EVBE_config : unconfig
1804 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5253evbe freescale
1806 cobra5272_config : unconfig
1807 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 cobra5272
1809 EB+MCF-EV123_config : unconfig
1810 @mkdir -p $(obj)include
1811 @mkdir -p $(obj)board/BuS/EB+MCF-EV123
1812 @echo "TEXT_BASE = 0xFFE00000"|tee $(obj)board/BuS/EB+MCF-EV123/textbase.mk
1813 @$(MKCONFIG) EB+MCF-EV123 m68k mcf52x2 EB+MCF-EV123 BuS
1815 EB+MCF-EV123_internal_config : unconfig
1816 @mkdir -p $(obj)include
1817 @mkdir -p $(obj)board/BuS/EB+MCF-EV123
1818 @echo "TEXT_BASE = 0xF0000000"|tee $(obj)board/BuS/EB+MCF-EV123/textbase.mk
1819 @$(MKCONFIG) EB+MCF-EV123 m68k mcf52x2 EB+MCF-EV123 BuS
1821 idmr_config : unconfig
1822 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 idmr
1824 M5271EVB_config : unconfig
1825 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5271evb
1827 M5272C3_config : unconfig
1828 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5272c3
1830 M5275EVB_config : unconfig
1831 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5275evb freescale
1833 M5282EVB_config : unconfig
1834 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5282evb
1836 TASREG_config : unconfig
1837 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 tasreg esd
1840 M5329BFEE_config : unconfig
1842 M5329AFEE_config) NAND=0;; \
1843 M5329BFEE_config) NAND=16;; \
1845 if [ "$${NAND}" != "0" ] ; then \
1846 echo "#define NANDFLASH_SIZE $${NAND}" > $(obj)include/config.h ; \
1848 @$(MKCONFIG) -a M5329EVB m68k mcf532x m5329evb freescale
1850 M5373EVB_config : unconfig
1852 M5373EVB_config) NAND=16;; \
1854 if [ "$${NAND}" != "0" ] ; then \
1855 echo "#define NANDFLASH_SIZE $${NAND}" > $(obj)include/config.h ; \
1857 @$(MKCONFIG) -a M5373EVB m68k mcf532x m5373evb freescale
1860 M54455EVB_atmel_config \
1861 M54455EVB_intel_config \
1862 M54455EVB_a33_config \
1863 M54455EVB_a66_config \
1864 M54455EVB_i33_config \
1865 M54455EVB_i66_config : unconfig
1867 M54455EVB_config) FLASH=ATMEL; FREQ=33333333;; \
1868 M54455EVB_atmel_config) FLASH=ATMEL; FREQ=33333333;; \
1869 M54455EVB_intel_config) FLASH=INTEL; FREQ=33333333;; \
1870 M54455EVB_a33_config) FLASH=ATMEL; FREQ=33333333;; \
1871 M54455EVB_a66_config) FLASH=ATMEL; FREQ=66666666;; \
1872 M54455EVB_i33_config) FLASH=INTEL; FREQ=33333333;; \
1873 M54455EVB_i66_config) FLASH=INTEL; FREQ=66666666;; \
1875 if [ "$${FLASH}" = "INTEL" ] ; then \
1876 echo "#undef CFG_ATMEL_BOOT" >> $(obj)include/config.h ; \
1877 echo "TEXT_BASE = 0x00000000" > $(obj)board/freescale/m54455evb/config.tmp ; \
1878 cp $(obj)board/freescale/m54455evb/u-boot.int $(obj)board/freescale/m54455evb/u-boot.lds ; \
1879 $(XECHO) "... with INTEL boot..." ; \
1881 echo "#define CFG_ATMEL_BOOT" >> $(obj)include/config.h ; \
1882 echo "TEXT_BASE = 0x04000000" > $(obj)board/freescale/m54455evb/config.tmp ; \
1883 cp $(obj)board/freescale/m54455evb/u-boot.atm $(obj)board/freescale/m54455evb/u-boot.lds ; \
1884 $(XECHO) "... with ATMEL boot..." ; \
1886 echo "#define CFG_INPUT_CLKSRC $${FREQ}" >> $(obj)include/config.h ; \
1887 $(XECHO) "... with $${FREQ}Hz input clock"
1888 @$(MKCONFIG) -a M54455EVB m68k mcf5445x m54455evb freescale
1896 M5475GFE_config : unconfig
1898 M5475AFE_config) BOOT=2;CODE=0;VID=0;USB=0;RAM=64;RAM1=0;; \
1899 M5475BFE_config) BOOT=2;CODE=16;VID=0;USB=0;RAM=64;RAM1=0;; \
1900 M5475CFE_config) BOOT=2;CODE=16;VID=1;USB=1;RAM=64;RAM1=0;; \
1901 M5475DFE_config) BOOT=2;CODE=0;VID=0;USB=1;RAM=64;RAM1=0;; \
1902 M5475EFE_config) BOOT=2;CODE=0;VID=1;USB=1;RAM=64;RAM1=0;; \
1903 M5475FFE_config) BOOT=2;CODE=32;VID=1;USB=1;RAM=64;RAM1=64;; \
1904 M5475GFE_config) BOOT=4;CODE=0;VID=0;USB=0;RAM=64;RAM1=0;; \
1906 echo "#define CFG_BUSCLK 133333333" > $(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 M5475EVB m68k mcf547x_8x m547xevb freescale
1930 M5485HFE_config : unconfig
1932 M5485AFE_config) BOOT=2;CODE=0;VID=0;USB=0;RAM=64;RAM1=0;; \
1933 M5485BFE_config) BOOT=2;CODE=16;VID=0;USB=0;RAM=64;RAM1=0;; \
1934 M5485CFE_config) BOOT=2;CODE=16;VID=1;USB=1;RAM=64;RAM1=0;; \
1935 M5485DFE_config) BOOT=2;CODE=0;VID=0;USB=1;RAM=64;RAM1=0;; \
1936 M5485EFE_config) BOOT=2;CODE=0;VID=1;USB=1;RAM=64;RAM1=0;; \
1937 M5485FFE_config) BOOT=2;CODE=32;VID=1;USB=1;RAM=64;RAM1=64;; \
1938 M5485GFE_config) BOOT=4;CODE=0;VID=0;USB=0;RAM=64;RAM1=0;; \
1939 M5485HFE_config) BOOT=2;CODE=16;VID=1;USB=0;RAM=64;RAM1=0;; \
1941 echo "#define CFG_BUSCLK 100000000" > $(obj)include/config.h ; \
1942 echo "#define CFG_BOOTSZ $${BOOT}" >> $(obj)include/config.h ; \
1943 echo "#define CFG_DRAMSZ $${RAM}" >> $(obj)include/config.h ; \
1944 if [ "$${RAM1}" != "0" ] ; then \
1945 echo "#define CFG_DRAMSZ1 $${RAM1}" >> $(obj)include/config.h ; \
1947 if [ "$${CODE}" != "0" ] ; then \
1948 echo "#define CFG_NOR1SZ $${CODE}" >> $(obj)include/config.h ; \
1950 if [ "$${VID}" == "1" ] ; then \
1951 echo "#define CFG_VIDEO" >> $(obj)include/config.h ; \
1953 if [ "$${USB}" == "1" ] ; then \
1954 echo "#define CFG_USBCTRL" >> $(obj)include/config.h ; \
1956 @$(MKCONFIG) -a M5485EVB m68k mcf547x_8x m548xevb freescale
1958 #########################################################################
1960 #########################################################################
1962 MPC8313ERDB_33_config \
1963 MPC8313ERDB_66_config: unconfig
1964 @mkdir -p $(obj)include
1965 @if [ "$(findstring _33_,$@)" ] ; then \
1966 $(XECHO) -n "...33M ..." ; \
1967 echo "#define CFG_33MHZ" >>$(obj)include/config.h ; \
1969 if [ "$(findstring _66_,$@)" ] ; then \
1970 $(XECHO) -n "...66M..." ; \
1971 echo "#define CFG_66MHZ" >>$(obj)include/config.h ; \
1973 @$(MKCONFIG) -a MPC8313ERDB ppc mpc83xx mpc8313erdb freescale
1975 MPC8315ERDB_config: unconfig
1976 @$(MKCONFIG) -a MPC8315ERDB ppc mpc83xx mpc8315erdb freescale
1978 MPC8323ERDB_config: unconfig
1979 @$(MKCONFIG) -a MPC8323ERDB ppc mpc83xx mpc8323erdb freescale
1981 MPC832XEMDS_config \
1982 MPC832XEMDS_HOST_33_config \
1983 MPC832XEMDS_HOST_66_config \
1984 MPC832XEMDS_SLAVE_config \
1985 MPC832XEMDS_ATM_config: unconfig
1986 @mkdir -p $(obj)include
1987 @if [ "$(findstring _HOST_,$@)" ] ; then \
1988 $(XECHO) -n "... PCI HOST " ; \
1989 echo "#define CONFIG_PCI" >>$(obj)include/config.h ; \
1991 if [ "$(findstring _SLAVE_,$@)" ] ; then \
1992 $(XECHO) "...PCI SLAVE 66M" ; \
1993 echo "#define CONFIG_PCI" >>$(obj)include/config.h ; \
1994 echo "#define CONFIG_PCISLAVE" >>$(obj)include/config.h ; \
1996 if [ "$(findstring _33_,$@)" ] ; then \
1997 $(XECHO) -n "...33M ..." ; \
1998 echo "#define PCI_33M" >>$(obj)include/config.h ; \
1999 echo "#define CONFIG_PQ_MDS_PIB 1" >>$(obj)include/config.h ; \
2001 if [ "$(findstring _66_,$@)" ] ; then \
2002 $(XECHO) -n "...66M..." ; \
2003 echo "#define PCI_66M" >>$(obj)include/config.h ; \
2004 echo "#define CONFIG_PQ_MDS_PIB 1" >>$(obj)include/config.h ; \
2006 if [ "$(findstring _ATM_,$@)" ] ; then \
2007 $(XECHO) -n "...ATM..." ; \
2008 echo "#define CONFIG_PQ_MDS_PIB 1" >>$(obj)include/config.h ; \
2009 echo "#define CONFIG_PQ_MDS_PIB_ATM 1" >>$(obj)include/config.h ; \
2011 @$(MKCONFIG) -a MPC832XEMDS ppc mpc83xx mpc832xemds freescale
2013 MPC8349EMDS_config: unconfig
2014 @$(MKCONFIG) $(@:_config=) ppc mpc83xx mpc8349emds freescale
2017 MPC8349ITX_LOWBOOT_config \
2018 MPC8349ITXGP_config: unconfig
2019 @mkdir -p $(obj)include
2020 @mkdir -p $(obj)board/freescale/mpc8349itx
2021 @echo "#define CONFIG_$(subst _LOWBOOT,,$(@:_config=))" >> $(obj)include/config.h
2022 @if [ "$(findstring GP,$@)" ] ; then \
2023 echo "TEXT_BASE = 0xFE000000" >$(obj)board/freescale/mpc8349itx/config.tmp ; \
2025 @if [ "$(findstring LOWBOOT,$@)" ] ; then \
2026 echo "TEXT_BASE = 0xFE000000" >$(obj)board/freescale/mpc8349itx/config.tmp ; \
2028 @$(MKCONFIG) -a -n $(@:_config=) MPC8349ITX ppc mpc83xx mpc8349itx freescale
2030 MPC8360EMDS_config \
2031 MPC8360EMDS_HOST_33_config \
2032 MPC8360EMDS_HOST_66_config \
2033 MPC8360EMDS_SLAVE_config \
2034 MPC8360EMDS_ATM_config: unconfig
2035 @mkdir -p $(obj)include
2036 @if [ "$(findstring _HOST_,$@)" ] ; then \
2037 $(XECHO) -n "... PCI HOST " ; \
2038 echo "#define CONFIG_PCI" >>$(obj)include/config.h ; \
2040 if [ "$(findstring _SLAVE_,$@)" ] ; then \
2041 $(XECHO) "...PCI SLAVE 66M" ; \
2042 echo "#define CONFIG_PCI" >>$(obj)include/config.h ; \
2043 echo "#define CONFIG_PCISLAVE" >>$(obj)include/config.h ; \
2045 if [ "$(findstring _33_,$@)" ] ; then \
2046 $(XECHO) -n "...33M ..." ; \
2047 echo "#define PCI_33M" >>$(obj)include/config.h ; \
2048 echo "#define CONFIG_PQ_MDS_PIB 1" >>$(obj)include/config.h ; \
2050 if [ "$(findstring _66_,$@)" ] ; then \
2051 $(XECHO) -n "...66M..." ; \
2052 echo "#define PCI_66M" >>$(obj)include/config.h ; \
2053 echo "#define CONFIG_PQ_MDS_PIB 1" >>$(obj)include/config.h ; \
2055 if [ "$(findstring _ATM_,$@)" ] ; then \
2056 $(XECHO) -n "...ATM..." ; \
2057 echo "#define CONFIG_PQ_MDS_PIB 1" >>$(obj)include/config.h ; \
2058 echo "#define CONFIG_PQ_MDS_PIB_ATM 1" >>$(obj)include/config.h ; \
2060 @$(MKCONFIG) -a MPC8360EMDS ppc mpc83xx mpc8360emds freescale
2062 MPC8360ERDK_33_config \
2063 MPC8360ERDK_66_config \
2064 MPC8360ERDK_config: unconfig
2065 @mkdir -p $(obj)include
2066 @if [ "$(findstring _33_,$@)" ] ; then \
2067 $(XECHO) -n "... CLKIN 33MHz " ; \
2068 echo "#define CONFIG_CLKIN_33MHZ" >>$(obj)include/config.h ;\
2070 @$(MKCONFIG) -a MPC8360ERDK ppc mpc83xx mpc8360erdk freescale
2072 MPC837XEMDS_config \
2073 MPC837XEMDS_HOST_config: unconfig
2074 @mkdir -p $(obj)include
2075 @if [ "$(findstring _HOST_,$@)" ] ; then \
2076 $(XECHO) -n "... PCI HOST " ; \
2077 echo "#define CONFIG_PCI" >>$(obj)include/config.h ; \
2079 @$(MKCONFIG) -a MPC837XEMDS ppc mpc83xx mpc837xemds freescale
2081 MPC837XERDB_config: unconfig
2082 @$(MKCONFIG) -a MPC837XERDB ppc mpc83xx mpc837xerdb freescale
2084 sbc8349_config: unconfig
2085 @$(MKCONFIG) $(@:_config=) ppc mpc83xx sbc8349
2087 TQM834x_config: unconfig
2088 @$(MKCONFIG) $(@:_config=) ppc mpc83xx tqm834x
2091 #########################################################################
2093 #########################################################################
2095 ATUM8548_config: unconfig
2096 @$(MKCONFIG) $(@:_config=) ppc mpc85xx atum8548
2098 MPC8540ADS_config: unconfig
2099 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8540ads freescale
2101 MPC8540EVAL_config \
2102 MPC8540EVAL_33_config \
2103 MPC8540EVAL_66_config \
2104 MPC8540EVAL_33_slave_config \
2105 MPC8540EVAL_66_slave_config: unconfig
2106 @mkdir -p $(obj)include
2107 @if [ "$(findstring _33_,$@)" ] ; then \
2108 $(XECHO) "... 33 MHz PCI" ; \
2110 echo "#define CONFIG_SYSCLK_66M" >>$(obj)include/config.h ; \
2111 $(XECHO) "... 66 MHz PCI" ; \
2113 if [ "$(findstring _slave_,$@)" ] ; then \
2114 echo "#define CONFIG_PCI_SLAVE" >>$(obj)include/config.h ; \
2115 $(XECHO) " slave" ; \
2117 $(XECHO) " host" ; \
2119 @$(MKCONFIG) -a MPC8540EVAL ppc mpc85xx mpc8540eval
2121 MPC8560ADS_config: unconfig
2122 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8560ads freescale
2124 MPC8541CDS_legacy_config \
2125 MPC8541CDS_config: unconfig
2126 @mkdir -p $(obj)include
2127 @if [ "$(findstring _legacy_,$@)" ] ; then \
2128 echo "#define CONFIG_LEGACY" >>$(obj)include/config.h ; \
2129 $(XECHO) "... legacy" ; \
2131 @$(MKCONFIG) -a MPC8541CDS ppc mpc85xx mpc8541cds freescale
2133 MPC8544DS_config: unconfig
2134 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8544ds freescale
2136 MPC8548CDS_legacy_config \
2137 MPC8548CDS_config: unconfig
2138 @mkdir -p $(obj)include
2139 @if [ "$(findstring _legacy_,$@)" ] ; then \
2140 echo "#define CONFIG_LEGACY" >>$(obj)include/config.h ; \
2141 $(XECHO) "... legacy" ; \
2143 @$(MKCONFIG) -a MPC8548CDS ppc mpc85xx mpc8548cds freescale
2145 MPC8555CDS_legacy_config \
2146 MPC8555CDS_config: unconfig
2147 @mkdir -p $(obj)include
2148 @if [ "$(findstring _legacy_,$@)" ] ; then \
2149 echo "#define CONFIG_LEGACY" >>$(obj)include/config.h ; \
2150 $(XECHO) "... legacy" ; \
2152 @$(MKCONFIG) -a MPC8555CDS ppc mpc85xx mpc8555cds freescale
2154 MPC8568MDS_config: unconfig
2155 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8568mds freescale
2157 PM854_config: unconfig
2158 @$(MKCONFIG) $(@:_config=) ppc mpc85xx pm854
2160 PM856_config: unconfig
2161 @$(MKCONFIG) $(@:_config=) ppc mpc85xx pm856
2165 sbc8540_66_config: unconfig
2166 @mkdir -p $(obj)include
2167 @if [ "$(findstring _66_,$@)" ] ; then \
2168 echo "#define CONFIG_PCI_66" >>$(obj)include/config.h ; \
2169 $(XECHO) "... 66 MHz PCI" ; \
2171 $(XECHO) "... 33 MHz PCI" ; \
2173 @$(MKCONFIG) -a SBC8540 ppc mpc85xx sbc8560
2175 sbc8548_config: unconfig
2176 @$(MKCONFIG) $(@:_config=) ppc mpc85xx sbc8548
2180 sbc8560_66_config: unconfig
2181 @mkdir -p $(obj)include
2182 @if [ "$(findstring _66_,$@)" ] ; then \
2183 echo "#define CONFIG_PCI_66" >>$(obj)include/config.h ; \
2184 $(XECHO) "... 66 MHz PCI" ; \
2186 $(XECHO) "... 33 MHz PCI" ; \
2188 @$(MKCONFIG) -a sbc8560 ppc mpc85xx sbc8560
2190 stxgp3_config: unconfig
2191 @$(MKCONFIG) $(@:_config=) ppc mpc85xx stxgp3
2194 stxssa_4M_config: unconfig
2195 @mkdir -p $(obj)include
2196 @if [ "$(findstring _4M_,$@)" ] ; then \
2197 echo "#define CONFIG_STXSSA_4M" >>$(obj)include/config.h ; \
2198 $(XECHO) "... with 4 MiB flash memory" ; \
2200 @$(MKCONFIG) -a stxssa ppc mpc85xx stxssa
2205 TQM8560_config: unconfig
2206 @mkdir -p $(obj)include
2207 @CTYPE=$(subst TQM,,$(@:_config=)); \
2208 $(XECHO) "... TQM"$${CTYPE}; \
2209 echo "#define CONFIG_MPC$${CTYPE}">>$(obj)include/config.h; \
2210 echo "#define CONFIG_TQM$${CTYPE}">>$(obj)include/config.h; \
2211 echo "#define CONFIG_HOSTNAME tqm$${CTYPE}">>$(obj)include/config.h; \
2212 echo "#define CONFIG_BOARDNAME \"TQM$${CTYPE}\"">>$(obj)include/config.h; \
2213 echo "#define CFG_BOOTFILE_PATH \"/tftpboot/tqm$${CTYPE}/uImage\"">>$(obj)include/config.h
2214 @$(MKCONFIG) -a TQM85xx ppc mpc85xx tqm85xx
2216 #########################################################################
2218 #########################################################################
2220 MPC8610HPCD_config: unconfig
2221 @$(MKCONFIG) $(@:_config=) ppc mpc86xx mpc8610hpcd freescale
2223 MPC8641HPCN_config: unconfig
2224 @$(MKCONFIG) $(@:_config=) ppc mpc86xx mpc8641hpcn freescale
2226 sbc8641d_config: unconfig
2227 @$(MKCONFIG) $(@:_config=) ppc mpc86xx sbc8641d
2229 #########################################################################
2231 #########################################################################
2233 AmigaOneG3SE_config: unconfig
2234 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx AmigaOneG3SE MAI
2236 BAB7xx_config: unconfig
2237 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx bab7xx eltec
2239 CPCI750_config: unconfig
2240 @$(MKCONFIG) CPCI750 ppc 74xx_7xx cpci750 esd
2242 DB64360_config: unconfig
2243 @$(MKCONFIG) DB64360 ppc 74xx_7xx db64360 Marvell
2245 DB64460_config: unconfig
2246 @$(MKCONFIG) DB64460 ppc 74xx_7xx db64460 Marvell
2248 ELPPC_config: unconfig
2249 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx elppc eltec
2252 EVB64260_750CX_config: unconfig
2253 @$(MKCONFIG) EVB64260 ppc 74xx_7xx evb64260
2255 mpc7448hpc2_config: unconfig
2256 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx mpc7448hpc2 freescale
2258 P3G4_config: unconfig
2259 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx evb64260
2262 p3m7448_config: unconfig
2263 @mkdir -p $(obj)include
2264 @if [ "$(findstring 750_,$@)" ] ; then \
2265 echo "#define CONFIG_P3M750" >>$(obj)include/config.h ; \
2267 echo "#define CONFIG_P3M7448" >>$(obj)include/config.h ; \
2269 @$(MKCONFIG) -a p3mx ppc 74xx_7xx p3mx prodrive
2272 PCIPPC6_config: unconfig
2273 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx pcippc2
2275 ZUMA_config: unconfig
2276 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx evb64260
2278 ppmc7xx_config: unconfig
2279 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx ppmc7xx
2281 #========================================================================
2283 #========================================================================
2284 #########################################################################
2285 ## StrongARM Systems
2286 #########################################################################
2288 assabet_config : unconfig
2289 @$(MKCONFIG) $(@:_config=) arm sa1100 assabet
2291 dnp1110_config : unconfig
2292 @$(MKCONFIG) $(@:_config=) arm sa1100 dnp1110
2294 gcplus_config : unconfig
2295 @$(MKCONFIG) $(@:_config=) arm sa1100 gcplus
2297 lart_config : unconfig
2298 @$(MKCONFIG) $(@:_config=) arm sa1100 lart
2300 shannon_config : unconfig
2301 @$(MKCONFIG) $(@:_config=) arm sa1100 shannon
2303 #########################################################################
2305 #########################################################################
2307 xtract_trab = $(subst _bigram,,$(subst _bigflash,,$(subst _old,,$(subst _config,,$1))))
2309 xtract_omap1610xxx = $(subst _cs0boot,,$(subst _cs3boot,,$(subst _cs_autoboot,,$(subst _config,,$1))))
2311 xtract_omap730p2 = $(subst _cs0boot,,$(subst _cs3boot,, $(subst _config,,$1)))
2313 at91cap9adk_config : unconfig
2314 @$(MKCONFIG) $(@:_config=) arm arm926ejs at91cap9adk atmel at91sam9
2316 at91rm9200dk_config : unconfig
2317 @$(MKCONFIG) $(@:_config=) arm arm920t at91rm9200dk atmel at91rm9200
2319 at91sam9260ek_config : unconfig
2320 @$(MKCONFIG) $(@:_config=) arm arm926ejs at91sam9260ek atmel at91sam9
2322 cmc_pu2_config : unconfig
2323 @$(MKCONFIG) $(@:_config=) arm arm920t cmc_pu2 NULL at91rm9200
2325 csb637_config : unconfig
2326 @$(MKCONFIG) $(@:_config=) arm arm920t csb637 NULL at91rm9200
2328 mp2usb_config : unconfig
2329 @$(MKCONFIG) $(@:_config=) arm arm920t mp2usb NULL at91rm9200
2331 m501sk_config : unconfig
2332 @$(MKCONFIG) $(@:_config=) arm arm920t m501sk NULL at91rm9200
2334 ########################################################################
2335 ## ARM Integrator boards - see doc/README-integrator for more info.
2336 integratorap_config \
2345 ap946es_config: unconfig
2346 @board/integratorap/split_by_variant.sh $@
2348 integratorcp_config \
2357 cp1026_config: unconfig
2358 @board/integratorcp/split_by_variant.sh $@
2360 kb9202_config : unconfig
2361 @$(MKCONFIG) $(@:_config=) arm arm920t kb9202 NULL at91rm9200
2364 lpd7a404_config: unconfig
2365 @$(MKCONFIG) $(@:_config=) arm lh7a40x lpd7a40x
2367 mx1ads_config : unconfig
2368 @$(MKCONFIG) $(@:_config=) arm arm920t mx1ads NULL imx
2370 mx1fs2_config : unconfig
2371 @$(MKCONFIG) $(@:_config=) arm arm920t mx1fs2 NULL imx
2373 netstar_config: unconfig
2374 @$(MKCONFIG) $(@:_config=) arm arm925t netstar
2376 omap1510inn_config : unconfig
2377 @$(MKCONFIG) $(@:_config=) arm arm925t omap1510inn
2379 omap5912osk_config : unconfig
2380 @$(MKCONFIG) $(@:_config=) arm arm926ejs omap5912osk NULL omap
2382 davinci_dvevm_config : unconfig
2383 @$(MKCONFIG) $(@:_config=) arm arm926ejs dv-evm davinci davinci
2385 davinci_schmoogie_config : unconfig
2386 @$(MKCONFIG) $(@:_config=) arm arm926ejs schmoogie davinci davinci
2388 davinci_sonata_config : unconfig
2389 @$(MKCONFIG) $(@:_config=) arm arm926ejs sonata davinci davinci
2391 omap1610inn_config \
2392 omap1610inn_cs0boot_config \
2393 omap1610inn_cs3boot_config \
2394 omap1610inn_cs_autoboot_config \
2396 omap1610h2_cs0boot_config \
2397 omap1610h2_cs3boot_config \
2398 omap1610h2_cs_autoboot_config: unconfig
2399 @mkdir -p $(obj)include
2400 @if [ "$(findstring _cs0boot_, $@)" ] ; then \
2401 echo "#define CONFIG_CS0_BOOT" >> .$(obj)include/config.h ; \
2402 $(XECHO) "... configured for CS0 boot"; \
2403 elif [ "$(findstring _cs_autoboot_, $@)" ] ; then \
2404 echo "#define CONFIG_CS_AUTOBOOT" >> $(obj)include/config.h ; \
2405 $(XECHO) "... configured for CS_AUTO boot"; \
2407 echo "#define CONFIG_CS3_BOOT" >> $(obj)include/config.h ; \
2408 $(XECHO) "... configured for CS3 boot"; \
2410 @$(MKCONFIG) -a $(call xtract_omap1610xxx,$@) arm arm926ejs omap1610inn NULL omap
2413 omap730p2_cs0boot_config \
2414 omap730p2_cs3boot_config : unconfig
2415 @mkdir -p $(obj)include
2416 @if [ "$(findstring _cs0boot_, $@)" ] ; then \
2417 echo "#define CONFIG_CS0_BOOT" >> $(obj)include/config.h ; \
2418 $(XECHO) "... configured for CS0 boot"; \
2420 echo "#define CONFIG_CS3_BOOT" >> $(obj)include/config.h ; \
2421 $(XECHO) "... configured for CS3 boot"; \
2423 @$(MKCONFIG) -a $(call xtract_omap730p2,$@) arm arm926ejs omap730p2 NULL omap
2425 sbc2410x_config: unconfig
2426 @$(MKCONFIG) $(@:_config=) arm arm920t sbc2410x NULL s3c24x0
2428 scb9328_config : unconfig
2429 @$(MKCONFIG) $(@:_config=) arm arm920t scb9328 NULL imx
2431 smdk2400_config : unconfig
2432 @$(MKCONFIG) $(@:_config=) arm arm920t smdk2400 NULL s3c24x0
2434 smdk2410_config : unconfig
2435 @$(MKCONFIG) $(@:_config=) arm arm920t smdk2410 NULL s3c24x0
2437 SX1_config : unconfig
2438 @$(MKCONFIG) $(@:_config=) arm arm925t sx1
2440 # TRAB default configuration: 8 MB Flash, 32 MB RAM
2442 trab_bigram_config \
2443 trab_bigflash_config \
2444 trab_old_config: unconfig
2445 @mkdir -p $(obj)include
2446 @mkdir -p $(obj)board/trab
2447 @[ -z "$(findstring _bigram,$@)" ] || \
2448 { echo "#define CONFIG_FLASH_8MB" >>$(obj)include/config.h ; \
2449 echo "#define CONFIG_RAM_32MB" >>$(obj)include/config.h ; \
2450 $(XECHO) "... with 8 MB Flash, 32 MB RAM" ; \
2452 @[ -z "$(findstring _bigflash,$@)" ] || \
2453 { echo "#define CONFIG_FLASH_16MB" >>$(obj)include/config.h ; \
2454 echo "#define CONFIG_RAM_16MB" >>$(obj)include/config.h ; \
2455 $(XECHO) "... with 16 MB Flash, 16 MB RAM" ; \
2456 echo "TEXT_BASE = 0x0CF40000" >$(obj)board/trab/config.tmp ; \
2458 @[ -z "$(findstring _old,$@)" ] || \
2459 { echo "#define CONFIG_FLASH_8MB" >>$(obj)include/config.h ; \
2460 echo "#define CONFIG_RAM_16MB" >>$(obj)include/config.h ; \
2461 $(XECHO) "... with 8 MB Flash, 16 MB RAM" ; \
2462 echo "TEXT_BASE = 0x0CF40000" >$(obj)board/trab/config.tmp ; \
2464 @$(MKCONFIG) -a $(call xtract_trab,$@) arm arm920t trab NULL s3c24x0
2466 VCMA9_config : unconfig
2467 @$(MKCONFIG) $(@:_config=) arm arm920t vcma9 mpl s3c24x0
2469 #========================================================================
2470 # ARM supplied Versatile development boards
2471 #========================================================================
2473 versatileab_config \
2474 versatilepb_config : unconfig
2475 @board/versatile/split_by_variant.sh $@
2477 voiceblue_config: unconfig
2478 @$(MKCONFIG) $(@:_config=) arm arm925t voiceblue
2480 cm4008_config : unconfig
2481 @$(MKCONFIG) $(@:_config=) arm arm920t cm4008 NULL ks8695
2483 cm41xx_config : unconfig
2484 @$(MKCONFIG) $(@:_config=) arm arm920t cm41xx NULL ks8695
2486 #########################################################################
2488 #########################################################################
2490 B2_config : unconfig
2491 @$(MKCONFIG) $(@:_config=) arm s3c44b0 B2 dave
2493 #########################################################################
2495 #########################################################################
2497 armadillo_config: unconfig
2498 @$(MKCONFIG) $(@:_config=) arm arm720t armadillo
2500 ep7312_config : unconfig
2501 @$(MKCONFIG) $(@:_config=) arm arm720t ep7312
2503 impa7_config : unconfig
2504 @$(MKCONFIG) $(@:_config=) arm arm720t impa7
2506 modnet50_config : unconfig
2507 @$(MKCONFIG) $(@:_config=) arm arm720t modnet50
2509 evb4510_config : unconfig
2510 @$(MKCONFIG) $(@:_config=) arm arm720t evb4510
2512 lpc2292sodimm_config: unconfig
2513 @$(MKCONFIG) $(@:_config=) arm arm720t lpc2292sodimm NULL lpc2292
2515 SMN42_config : unconfig
2516 @$(MKCONFIG) $(@:_config=) arm arm720t SMN42 siemens lpc2292
2518 #########################################################################
2520 #########################################################################
2522 actux1_config : unconfig
2523 @$(MKCONFIG) $(@:_config=) arm ixp actux1
2525 actux2_config : unconfig
2526 @$(MKCONFIG) $(@:_config=) arm ixp actux2
2528 actux3_config : unconfig
2529 @$(MKCONFIG) $(@:_config=) arm ixp actux3
2531 actux4_config : unconfig
2532 @$(MKCONFIG) $(@:_config=) arm ixp actux4
2534 adsvix_config : unconfig
2535 @$(MKCONFIG) $(@:_config=) arm pxa adsvix
2537 cerf250_config : unconfig
2538 @$(MKCONFIG) $(@:_config=) arm pxa cerf250
2540 cradle_config : unconfig
2541 @$(MKCONFIG) $(@:_config=) arm pxa cradle
2543 csb226_config : unconfig
2544 @$(MKCONFIG) $(@:_config=) arm pxa csb226
2546 delta_config : unconfig
2547 @$(MKCONFIG) $(@:_config=) arm pxa delta
2549 innokom_config : unconfig
2550 @$(MKCONFIG) $(@:_config=) arm pxa innokom
2552 ixdp425_config : unconfig
2553 @$(MKCONFIG) $(@:_config=) arm ixp ixdp425
2555 ixdpg425_config : unconfig
2556 @$(MKCONFIG) $(@:_config=) arm ixp ixdp425
2558 lubbock_config : unconfig
2559 @$(MKCONFIG) $(@:_config=) arm pxa lubbock
2561 pleb2_config : unconfig
2562 @$(MKCONFIG) $(@:_config=) arm pxa pleb2
2564 logodl_config : unconfig
2565 @$(MKCONFIG) $(@:_config=) arm pxa logodl
2568 scpu_config: unconfig
2569 @mkdir -p $(obj)include
2570 @if [ "$(findstring scpu_,$@)" ] ; then \
2571 echo "#define CONFIG_SCPU" >>$(obj)include/config.h ; \
2572 $(XECHO) "... on SCPU board variant" ; \
2574 @$(MKCONFIG) -a pdnb3 arm ixp pdnb3 prodrive
2576 pxa255_idp_config: unconfig
2577 @$(MKCONFIG) $(@:_config=) arm pxa pxa255_idp
2579 trizepsiv_config : unconfig
2580 @$(MKCONFIG) $(@:_config=) arm pxa trizepsiv
2582 wepep250_config : unconfig
2583 @$(MKCONFIG) $(@:_config=) arm pxa wepep250
2585 xaeniax_config : unconfig
2586 @$(MKCONFIG) $(@:_config=) arm pxa xaeniax
2588 xm250_config : unconfig
2589 @$(MKCONFIG) $(@:_config=) arm pxa xm250
2591 xsengine_config : unconfig
2592 @$(MKCONFIG) $(@:_config=) arm pxa xsengine
2595 @$(MKCONFIG) $(@:_config=) arm pxa zylonite
2597 #########################################################################
2599 #########################################################################
2600 omap2420h4_config : unconfig
2601 @$(MKCONFIG) $(@:_config=) arm arm1136 omap2420h4
2603 apollon_config : unconfig
2604 @mkdir -p $(obj)include
2605 @echo "#define CONFIG_ONENAND_U_BOOT" > $(obj)include/config.h
2606 @$(MKCONFIG) $(@:_config=) arm arm1136 apollon
2607 @echo "CONFIG_ONENAND_U_BOOT = y" >> $(obj)include/config.mk
2609 #========================================================================
2611 #========================================================================
2612 #########################################################################
2614 #########################################################################
2615 sc520_cdp_config : unconfig
2616 @$(MKCONFIG) $(@:_config=) i386 i386 sc520_cdp
2618 sc520_spunk_config : unconfig
2619 @$(MKCONFIG) $(@:_config=) i386 i386 sc520_spunk
2621 sc520_spunk_rel_config : unconfig
2622 @$(MKCONFIG) $(@:_config=) i386 i386 sc520_spunk
2624 #========================================================================
2626 #========================================================================
2627 #########################################################################
2629 #########################################################################
2631 xtract_incaip = $(subst _100MHz,,$(subst _133MHz,,$(subst _150MHz,,$(subst _config,,$1))))
2633 incaip_100MHz_config \
2634 incaip_133MHz_config \
2635 incaip_150MHz_config \
2636 incaip_config: unconfig
2637 @mkdir -p $(obj)include
2638 @[ -z "$(findstring _100MHz,$@)" ] || \
2639 { echo "#define CPU_CLOCK_RATE 100000000" >>$(obj)include/config.h ; \
2640 $(XECHO) "... with 100MHz system clock" ; \
2642 @[ -z "$(findstring _133MHz,$@)" ] || \
2643 { echo "#define CPU_CLOCK_RATE 133000000" >>$(obj)include/config.h ; \
2644 $(XECHO) "... with 133MHz system clock" ; \
2646 @[ -z "$(findstring _150MHz,$@)" ] || \
2647 { echo "#define CPU_CLOCK_RATE 150000000" >>$(obj)include/config.h ; \
2648 $(XECHO) "... with 150MHz system clock" ; \
2650 @$(MKCONFIG) -a $(call xtract_incaip,$@) mips mips incaip
2652 tb0229_config: unconfig
2653 @$(MKCONFIG) $(@:_config=) mips mips tb0229
2655 #########################################################################
2657 #########################################################################
2658 dbau1000_config : unconfig
2659 @mkdir -p $(obj)include
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 @echo "#define CONFIG_DBAU1100 1" >$(obj)include/config.h
2666 @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00
2668 dbau1500_config : unconfig
2669 @mkdir -p $(obj)include
2670 @echo "#define CONFIG_DBAU1500 1" >$(obj)include/config.h
2671 @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00
2673 dbau1550_config : unconfig
2674 @mkdir -p $(obj)include
2675 @echo "#define CONFIG_DBAU1550 1" >$(obj)include/config.h
2676 @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00
2678 dbau1550_el_config : unconfig
2679 @mkdir -p $(obj)include
2680 @echo "#define CONFIG_DBAU1550 1" >$(obj)include/config.h
2681 @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00
2683 pb1000_config : unconfig
2684 @mkdir -p $(obj)include
2685 @echo "#define CONFIG_PB1000 1" >$(obj)include/config.h
2686 @$(MKCONFIG) -a pb1x00 mips mips pb1x00
2688 gth2_config: unconfig
2689 @mkdir -p $(obj)include
2690 @echo "#define CONFIG_GTH2 1" >$(obj)include/config.h
2691 @$(MKCONFIG) -a gth2 mips mips gth2
2693 qemu_mips_config: unconfig
2694 @mkdir -p $(obj)include
2695 @echo "#define CONFIG_QEMU_MIPS 1" >$(obj)include/config.h
2696 @$(MKCONFIG) -a qemu-mips mips mips qemu-mips
2698 #########################################################################
2700 #########################################################################
2702 purple_config : unconfig
2703 @$(MKCONFIG) $(@:_config=) mips mips purple
2705 #========================================================================
2707 #========================================================================
2708 #########################################################################
2710 #########################################################################
2712 DK1C20_safe_32_config \
2713 DK1C20_standard_32_config \
2714 DK1C20_config: unconfig
2715 @mkdir -p $(obj)include
2716 @[ -z "$(findstring _safe_32,$@)" ] || \
2717 { echo "#define CONFIG_NIOS_SAFE_32 1" >>$(obj)include/config.h ; \
2718 $(XECHO) "... NIOS 'safe_32' configuration" ; \
2720 @[ -z "$(findstring _standard_32,$@)" ] || \
2721 { echo "#define CONFIG_NIOS_STANDARD_32 1" >>$(obj)include/config.h ; \
2722 $(XECHO) "... NIOS 'standard_32' configuration" ; \
2724 @[ -z "$(findstring DK1C20_config,$@)" ] || \
2725 { echo "#define CONFIG_NIOS_STANDARD_32 1" >>$(obj)include/config.h ; \
2726 $(XECHO) "... NIOS 'standard_32' configuration (DEFAULT)" ; \
2728 @$(MKCONFIG) -a DK1C20 nios nios dk1c20 altera
2730 DK1S10_safe_32_config \
2731 DK1S10_standard_32_config \
2732 DK1S10_mtx_ldk_20_config \
2733 DK1S10_config: unconfig
2734 @mkdir -p $(obj)include
2735 @[ -z "$(findstring _safe_32,$@)" ] || \
2736 { echo "#define CONFIG_NIOS_SAFE_32 1" >>$(obj)include/config.h ; \
2737 $(XECHO) "... NIOS 'safe_32' configuration" ; \
2739 @[ -z "$(findstring _standard_32,$@)" ] || \
2740 { echo "#define CONFIG_NIOS_STANDARD_32 1" >>$(obj)include/config.h ; \
2741 $(XECHO) "... NIOS 'standard_32' configuration" ; \
2743 @[ -z "$(findstring _mtx_ldk_20,$@)" ] || \
2744 { echo "#define CONFIG_NIOS_MTX_LDK_20 1" >>$(obj)include/config.h ; \
2745 $(XECHO) "... NIOS 'mtx_ldk_20' configuration" ; \
2747 @[ -z "$(findstring DK1S10_config,$@)" ] || \
2748 { echo "#define CONFIG_NIOS_STANDARD_32 1" >>$(obj)include/config.h ; \
2749 $(XECHO) "... NIOS 'standard_32' configuration (DEFAULT)" ; \
2751 @$(MKCONFIG) -a DK1S10 nios nios dk1s10 altera
2753 ADNPESC1_DNPEVA2_base_32_config \
2754 ADNPESC1_base_32_config \
2755 ADNPESC1_config: unconfig
2756 @mkdir -p $(obj)include
2757 @[ -z "$(findstring _DNPEVA2,$@)" ] || \
2758 { echo "#define CONFIG_DNPEVA2 1" >>$(obj)include/config.h ; \
2759 $(XECHO) "... DNP/EVA2 configuration" ; \
2761 @[ -z "$(findstring _base_32,$@)" ] || \
2762 { echo "#define CONFIG_NIOS_BASE_32 1" >>$(obj)include/config.h ; \
2763 $(XECHO) "... NIOS 'base_32' configuration" ; \
2765 @[ -z "$(findstring ADNPESC1_config,$@)" ] || \
2766 { echo "#define CONFIG_NIOS_BASE_32 1" >>$(obj)include/config.h ; \
2767 $(XECHO) "... NIOS 'base_32' configuration (DEFAULT)" ; \
2769 @$(MKCONFIG) -a ADNPESC1 nios nios adnpesc1 ssv
2771 #########################################################################
2773 #########################################################################
2775 EP1C20_config : unconfig
2776 @$(MKCONFIG) EP1C20 nios2 nios2 ep1c20 altera
2778 EP1S10_config : unconfig
2779 @$(MKCONFIG) EP1S10 nios2 nios2 ep1s10 altera
2781 EP1S40_config : unconfig
2782 @$(MKCONFIG) EP1S40 nios2 nios2 ep1s40 altera
2784 PK1C20_config : unconfig
2785 @$(MKCONFIG) PK1C20 nios2 nios2 pk1c20 psyent
2787 PCI5441_config : unconfig
2788 @$(MKCONFIG) PCI5441 nios2 nios2 pci5441 psyent
2790 #========================================================================
2792 #========================================================================
2793 #########################################################################
2795 #########################################################################
2796 suzaku_config: unconfig
2797 @mkdir -p $(obj)include
2798 @echo "#define CONFIG_SUZAKU 1" > $(obj)include/config.h
2799 @$(MKCONFIG) -a $(@:_config=) microblaze microblaze suzaku AtmarkTechno
2801 ml401_config: unconfig
2802 @mkdir -p $(obj)include
2803 @echo "#define CONFIG_ML401 1" > $(obj)include/config.h
2804 @$(MKCONFIG) -a $(@:_config=) microblaze microblaze ml401 xilinx
2806 xupv2p_config: unconfig
2807 @mkdir -p $(obj)include
2808 @echo "#define CONFIG_XUPV2P 1" > $(obj)include/config.h
2809 @$(MKCONFIG) -a $(@:_config=) microblaze microblaze xupv2p xilinx
2811 #========================================================================
2813 #========================================================================
2815 # Analog Devices boards
2816 BFIN_BOARDS = bf533-ezkit bf533-stamp bf537-stamp bf561-ezkit
2818 $(BFIN_BOARDS:%=%_config) : unconfig
2819 @$(MKCONFIG) $(@:_config=) blackfin blackfin $(@:_config=)
2825 #========================================================================
2827 #========================================================================
2828 #########################################################################
2830 #########################################################################
2832 atstk1002_config : unconfig
2833 @$(MKCONFIG) $(@:_config=) avr32 at32ap atstk1000 atmel at32ap700x
2835 atstk1003_config : unconfig
2836 @$(MKCONFIG) $(@:_config=) avr32 at32ap atstk1000 atmel at32ap700x
2838 atstk1004_config : unconfig
2839 @$(MKCONFIG) $(@:_config=) avr32 at32ap atstk1000 atmel at32ap700x
2841 atngw100_config : unconfig
2842 @$(MKCONFIG) $(@:_config=) avr32 at32ap atngw100 atmel at32ap700x
2844 #########################################################################
2845 #########################################################################
2846 #########################################################################
2848 #########################################################################
2849 ## sh3 (Renesas SuperH)
2850 #########################################################################
2851 mpr2_config: unconfig
2853 @echo "#define CONFIG_MPR2 1" >> include/config.h
2854 @$(MKCONFIG) -a $(@:_config=) sh sh3 mpr2
2856 ms7720se_config: unconfig
2857 @echo "#define CONFIG_MS7720SE 1" > include/config.h
2858 @$(MKCONFIG) -a $(@:_config=) sh sh3 ms7720se
2860 #########################################################################
2861 ## sh4 (Renesas SuperH)
2862 #########################################################################
2863 ms7750se_config: unconfig
2864 @echo "#define CONFIG_MS7750SE 1" > $(obj)include/config.h
2865 @$(MKCONFIG) -a $(@:_config=) sh sh4 ms7750se
2867 ms7722se_config : unconfig
2868 @echo "#define CONFIG_MS7722SE 1" > $(obj)include/config.h
2869 @$(MKCONFIG) -a $(@:_config=) sh sh4 ms7722se
2871 MigoR_config : unconfig
2873 @echo "#define CONFIG_MIGO_R 1" >> include/config.h
2874 @./mkconfig -a $(@:_config=) sh sh4 MigoR
2876 r7780mp_config: unconfig
2878 @echo "#define CONFIG_R7780MP 1" >> include/config.h
2879 @./mkconfig -a $(@:_config=) sh sh4 r7780mp
2881 r2dplus_config : unconfig
2883 @echo "#define CONFIG_R2DPLUS 1" >> include/config.h
2884 @./mkconfig -a $(@:_config=) sh sh4 r2dplus
2886 #========================================================================
2888 #========================================================================
2889 #########################################################################
2891 #########################################################################
2893 # Gaisler GR-XC3S-1500 board
2894 gr_xc3s_1500_config : unconfig
2895 @$(MKCONFIG) $(@:_config=) sparc leon3 gr_xc3s_1500 gaisler
2897 # Gaisler GR-CPCI-AX2000 board, a General purpose FPGA-AX system
2898 gr_cpci_ax2000_config : unconfig
2899 @$(MKCONFIG) $(@:_config=) sparc leon3 gr_cpci_ax2000 gaisler
2901 # Gaisler GRLIB template design (GPL SPARC/LEON3) for Altera NIOS
2902 # Development board Stratix II edition, FPGA Device EP2S60.
2903 gr_ep2s60_config: unconfig
2904 @$(MKCONFIG) $(@:_config=) sparc leon3 gr_ep2s60 gaisler
2906 # Gaisler LEON3 GRSIM simulator
2907 grsim_config : unconfig
2908 @$(MKCONFIG) $(@:_config=) sparc leon3 grsim gaisler
2910 #########################################################################
2912 #########################################################################
2914 # Gaisler LEON2 GRSIM simulator
2915 grsim_leon2_config : unconfig
2916 @$(MKCONFIG) $(@:_config=) sparc leon2 grsim_leon2 gaisler
2918 #########################################################################
2919 #########################################################################
2920 #########################################################################
2923 @rm -f $(obj)examples/82559_eeprom $(obj)examples/eepro100_eeprom \
2924 $(obj)examples/hello_world $(obj)examples/interrupt \
2925 $(obj)examples/mem_to_mem_idma2intr \
2926 $(obj)examples/sched $(obj)examples/smc91111_eeprom \
2927 $(obj)examples/test_burst $(obj)examples/timer
2928 @rm -f $(obj)tools/bmp_logo $(obj)tools/easylogo/easylogo \
2929 $(obj)tools/env/{fw_printenv,fw_setenv} \
2930 $(obj)tools/envcrc \
2931 $(obj)tools/gdb/{astest,gdbcont,gdbsend} \
2932 $(obj)tools/gen_eth_addr $(obj)tools/img2srec \
2933 $(obj)tools/mkimage $(obj)tools/mpc86x_clk \
2934 $(obj)tools/ncb $(obj)tools/ubsha1
2935 @rm -f $(obj)board/cray/L1/{bootscript.c,bootscript.image} \
2936 $(obj)board/netstar/{eeprom,crcek,crcit,*.srec,*.bin} \
2937 $(obj)board/trab/trab_fkt $(obj)board/voiceblue/eeprom \
2938 $(obj)board/{integratorap,integratorcp}/u-boot.lds \
2939 $(obj)board/{bf533-ezkit,bf533-stamp,bf537-stamp,bf561-ezkit}/u-boot.lds \
2940 $(obj)cpu/blackfin/bootrom-asm-offsets.[chs]
2941 @rm -f $(obj)include/bmp_logo.h $(obj)nand_spl/{u-boot-spl,u-boot-spl.map}
2942 @rm -f $(obj)onenand_ipl/onenand-{ipl,ipl.bin,ipl-2k.bin,ipl-4k.bin,ipl.map}
2943 @rm -f $(obj)api_examples/demo $(VERSION_FILE)
2944 @find $(OBJTREE) -type f \
2945 \( -name 'core' -o -name '*.bak' -o -name '*~' \
2946 -o -name '*.o' -o -name '*.a' \) -print \
2950 @find $(OBJTREE) -type f \( -name .depend \
2951 -o -name '*.srec' -o -name '*.bin' -o -name u-boot.img \) \
2954 @rm -f $(OBJS) $(obj)*.bak $(obj)ctags $(obj)etags $(obj)TAGS \
2955 $(obj)cscope.* $(obj)*.*~
2956 @rm -f $(obj)u-boot $(obj)u-boot.map $(obj)u-boot.hex $(ALL)
2957 @rm -f $(obj)tools/{crc32.c,environment.c,env/crc32.c,md5.c,sha1.c,inca-swap-bytes}
2958 @rm -f $(obj)tools/{image.c,fdt.c,fdt_ro.c,fdt_rw.c,fdt_strerror.c}
2959 @rm -f $(obj)tools/{fdt_wip.c,libfdt_internal.h}
2960 @rm -f $(obj)cpu/mpc824x/bedbug_603e.c
2961 @rm -f $(obj)include/asm/proc $(obj)include/asm/arch $(obj)include/asm
2962 @[ ! -d $(obj)nand_spl ] || find $(obj)nand_spl -lname "*" -print | xargs rm -f
2963 @[ ! -d $(obj)onenand_ipl ] || find $(obj)onenand_ipl -lname "*" -print | xargs rm -f
2964 @[ ! -d $(obj)api_examples ] || find $(obj)api_examples -lname "*" -print | xargs rm -f
2966 ifeq ($(OBJTREE),$(SRCTREE))
2968 distclean: clobber unconfig
2971 distclean: clobber unconfig
2976 F=`basename $(TOPDIR)` ; cd .. ; \
2977 gtar --force-local -zcvf `date "+$$F-%Y-%m-%d-%T.tar.gz"` $$F
2979 #########################################################################