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 ifneq "$(SUBLEVEL)" ""
29 U_BOOT_VERSION = $(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)
31 U_BOOT_VERSION = $(VERSION).$(PATCHLEVEL)$(EXTRAVERSION)
33 TIMESTAMP_FILE = $(obj)include/timestamp_autogenerated.h
34 VERSION_FILE = $(obj)include/version_autogenerated.h
36 HOSTARCH := $(shell uname -m | \
45 HOSTOS := $(shell uname -s | tr '[:upper:]' '[:lower:]' | \
46 sed -e 's/\(cygwin\).*/cygwin/')
48 # Set shell to bash if possible, otherwise fall back to sh
49 SHELL := $(shell if [ -x "$$BASH" ]; then echo $$BASH; \
50 else if [ -x /bin/bash ]; then echo /bin/bash; \
53 export HOSTARCH HOSTOS SHELL
55 # Deal with colliding definitions from tcsh etc.
58 #########################################################################
59 # Allow for silent builds
60 ifeq (,$(findstring s,$(MAKEFLAGS)))
66 #########################################################################
68 # U-boot build supports producing a object files to the separate external
69 # directory. Two use cases are supported:
71 # 1) Add O= to the make command line
72 # 'make O=/tmp/build all'
74 # 2) Set environement variable BUILD_DIR to point to the desired location
75 # 'export BUILD_DIR=/tmp/build'
78 # The second approach can also be used with a MAKEALL script
79 # 'export BUILD_DIR=/tmp/build'
82 # Command line 'O=' setting overrides BUILD_DIR environent variable.
84 # When none of the above methods is used the local build is performed and
85 # the object files are placed in the source directory.
89 ifeq ("$(origin O)", "command line")
95 saved-output := $(BUILD_DIR)
97 # Attempt to create a output directory.
98 $(shell [ -d ${BUILD_DIR} ] || mkdir -p ${BUILD_DIR})
100 # Verify if it was successful.
101 BUILD_DIR := $(shell cd $(BUILD_DIR) && /bin/pwd)
102 $(if $(BUILD_DIR),,$(error output directory "$(saved-output)" does not exist))
103 endif # ifneq ($(BUILD_DIR),)
105 OBJTREE := $(if $(BUILD_DIR),$(BUILD_DIR),$(CURDIR))
109 export TOPDIR SRCTREE OBJTREE
111 MKCONFIG := $(SRCTREE)/mkconfig
114 ifneq ($(OBJTREE),$(SRCTREE))
119 # $(obj) and (src) are defined in config.mk but here in main Makefile
120 # we also need them before config.mk is included which is the case for
121 # some targets like unconfig, clean, clobber, distclean, etc.
122 ifneq ($(OBJTREE),$(SRCTREE))
131 # Make sure CDPATH settings don't interfere
134 #########################################################################
136 ifeq ($(ARCH),powerpc)
140 ifeq ($(obj)include/config.mk,$(wildcard $(obj)include/config.mk))
142 # load ARCH, BOARD, and CPU configuration
143 include $(obj)include/config.mk
144 export ARCH CPU BOARD VENDOR SOC
147 ifeq ($(HOSTARCH),$(ARCH))
151 CROSS_COMPILE = ppc_8xx-
154 CROSS_COMPILE = arm-linux-
157 CROSS_COMPILE = i386-linux-
160 CROSS_COMPILE = mips_4KC-
163 CROSS_COMPILE = nios-elf-
166 CROSS_COMPILE = nios2-elf-
169 CROSS_COMPILE = m68k-elf-
171 ifeq ($(ARCH),microblaze)
174 ifeq ($(ARCH),blackfin)
175 CROSS_COMPILE = bfin-uclinux-
178 CROSS_COMPILE = avr32-linux-
181 CROSS_COMPILE = sh4-linux-
184 CROSS_COMPILE = sparc-elf-
186 endif # HOSTARCH,ARCH
187 endif # CROSS_COMPILE
191 # load other configuration
192 include $(TOPDIR)/config.mk
194 #########################################################################
195 # U-Boot objects....order is important (i.e. start must be first)
197 OBJS = cpu/$(CPU)/start.o
199 OBJS += cpu/$(CPU)/start16.o
200 OBJS += cpu/$(CPU)/reset.o
203 OBJS += cpu/$(CPU)/resetvec.o
205 ifeq ($(CPU),mpc85xx)
206 OBJS += cpu/$(CPU)/resetvec.o
209 OBJS := $(addprefix $(obj),$(OBJS))
211 LIBS = lib_generic/libgeneric.a
212 LIBS += lib_generic/lzma/liblzma.a
213 LIBS += $(shell if [ -f board/$(VENDOR)/common/Makefile ]; then echo \
214 "board/$(VENDOR)/common/lib$(VENDOR).a"; fi)
215 LIBS += cpu/$(CPU)/lib$(CPU).a
217 LIBS += cpu/$(CPU)/$(SOC)/lib$(SOC).a
220 LIBS += cpu/ixp/npe/libnpe.a
222 LIBS += lib_$(ARCH)/lib$(ARCH).a
223 LIBS += fs/cramfs/libcramfs.a fs/fat/libfat.a fs/fdos/libfdos.a fs/jffs2/libjffs2.a \
224 fs/reiserfs/libreiserfs.a fs/ext2/libext2fs.a fs/yaffs2/libyaffs2.a
226 LIBS += disk/libdisk.a
227 LIBS += drivers/bios_emulator/libatibiosemu.a
228 LIBS += drivers/block/libblock.a
229 LIBS += drivers/dma/libdma.a
230 LIBS += drivers/fpga/libfpga.a
231 LIBS += drivers/hwmon/libhwmon.a
232 LIBS += drivers/i2c/libi2c.a
233 LIBS += drivers/input/libinput.a
234 LIBS += drivers/misc/libmisc.a
235 LIBS += drivers/mmc/libmmc.a
236 LIBS += drivers/mtd/libmtd.a
237 LIBS += drivers/mtd/nand/libnand.a
238 LIBS += drivers/mtd/nand_legacy/libnand_legacy.a
239 LIBS += drivers/mtd/onenand/libonenand.a
240 LIBS += drivers/mtd/ubi/libubi.a
241 LIBS += drivers/mtd/spi/libspi_flash.a
242 LIBS += drivers/net/libnet.a
243 LIBS += drivers/net/phy/libphy.a
244 LIBS += drivers/net/sk98lin/libsk98lin.a
245 LIBS += drivers/pci/libpci.a
246 LIBS += drivers/pcmcia/libpcmcia.a
247 LIBS += drivers/spi/libspi.a
248 ifeq ($(CPU),mpc83xx)
249 LIBS += drivers/qe/qe.a
251 ifeq ($(CPU),mpc85xx)
252 LIBS += drivers/qe/qe.a
253 LIBS += cpu/mpc8xxx/ddr/libddr.a
254 TAG_SUBDIRS += cpu/mpc8xxx
256 ifeq ($(CPU),mpc86xx)
257 LIBS += cpu/mpc8xxx/ddr/libddr.a
258 TAG_SUBDIRS += cpu/mpc8xxx
260 LIBS += drivers/rtc/librtc.a
261 LIBS += drivers/serial/libserial.a
262 LIBS += drivers/usb/libusb.a
263 LIBS += drivers/video/libvideo.a
264 LIBS += common/libcommon.a
265 LIBS += libfdt/libfdt.a
267 LIBS += post/libpost.a
269 LIBS := $(addprefix $(obj),$(LIBS))
270 .PHONY : $(LIBS) $(TIMESTAMP_FILE) $(VERSION_FILE)
272 LIBBOARD = board/$(BOARDDIR)/lib$(BOARD).a
273 LIBBOARD := $(addprefix $(obj),$(LIBBOARD))
276 PLATFORM_LIBS += -L $(shell dirname `$(CC) $(CFLAGS) -print-libgcc-file-name`) -lgcc
278 # The "tools" are needed early, so put this first
279 # Don't include stuff already done in $(LIBS)
286 ifeq ($(CONFIG_NAND_U_BOOT),y)
288 U_BOOT_NAND = $(obj)u-boot-nand.bin
291 ifeq ($(CONFIG_ONENAND_U_BOOT),y)
292 ONENAND_IPL = onenand_ipl
293 U_BOOT_ONENAND = $(obj)u-boot-onenand.bin
296 __OBJS := $(subst $(obj),,$(OBJS))
297 __LIBS := $(subst $(obj),,$(LIBS)) $(subst $(obj),,$(LIBBOARD))
299 #########################################################################
300 #########################################################################
302 ALL += $(obj)u-boot.srec $(obj)u-boot.bin $(obj)System.map $(U_BOOT_NAND) $(U_BOOT_ONENAND)
303 ifeq ($(ARCH),blackfin)
304 ALL += $(obj)u-boot.ldr
309 $(obj)u-boot.hex: $(obj)u-boot
310 $(OBJCOPY) ${OBJCFLAGS} -O ihex $< $@
312 $(obj)u-boot.srec: $(obj)u-boot
313 $(OBJCOPY) -O srec $< $@
315 $(obj)u-boot.bin: $(obj)u-boot
316 $(OBJCOPY) ${OBJCFLAGS} -O binary $< $@
318 $(obj)u-boot.ldr: $(obj)u-boot
319 $(LDR) -T $(CONFIG_BFIN_CPU) -f -c $@ $< $(LDR_FLAGS)
321 $(obj)u-boot.ldr.hex: $(obj)u-boot.ldr
322 $(OBJCOPY) ${OBJCFLAGS} -O ihex $< $@ -I binary
324 $(obj)u-boot.ldr.srec: $(obj)u-boot.ldr
325 $(OBJCOPY) ${OBJCFLAGS} -O srec $< $@ -I binary
327 $(obj)u-boot.img: $(obj)u-boot.bin
328 ./tools/mkimage -A $(ARCH) -T firmware -C none \
329 -a $(TEXT_BASE) -e 0 \
330 -n $(shell sed -n -e 's/.*U_BOOT_VERSION//p' $(VERSION_FILE) | \
331 sed -e 's/"[ ]*$$/ for $(BOARD) board"/') \
334 $(obj)u-boot.sha1: $(obj)u-boot.bin
335 $(obj)tools/ubsha1 $(obj)u-boot.bin
337 $(obj)u-boot.dis: $(obj)u-boot
338 $(OBJDUMP) -d $< > $@
340 $(obj)u-boot: depend $(SUBDIRS) $(OBJS) $(LIBBOARD) $(LIBS) $(LDSCRIPT)
341 UNDEF_SYM=`$(OBJDUMP) -x $(LIBBOARD) $(LIBS) | \
342 sed -n -e 's/.*\($(SYM_PREFIX)__u_boot_cmd_.*\)/-u\1/p'|sort|uniq`;\
343 cd $(LNDIR) && $(LD) $(LDFLAGS) $$UNDEF_SYM $(__OBJS) \
344 --start-group $(__LIBS) --end-group $(PLATFORM_LIBS) \
345 -Map u-boot.map -o u-boot
347 $(OBJS): depend $(obj)include/autoconf.mk
348 $(MAKE) -C cpu/$(CPU) $(if $(REMOTE_BUILD),$@,$(notdir $@))
350 $(LIBS): depend $(obj)include/autoconf.mk
351 $(MAKE) -C $(dir $(subst $(obj),,$@))
353 $(LIBBOARD): depend $(LIBS) $(obj)include/autoconf.mk
354 $(MAKE) -C $(dir $(subst $(obj),,$@))
356 $(SUBDIRS): depend $(obj)include/autoconf.mk
359 $(LDSCRIPT): depend $(obj)include/autoconf.mk
360 $(MAKE) -C $(dir $@) $(notdir $@)
362 $(NAND_SPL): $(TIMESTAMP_FILE) $(VERSION_FILE) $(obj)include/autoconf.mk
363 $(MAKE) -C nand_spl/board/$(BOARDDIR) all
365 $(U_BOOT_NAND): $(NAND_SPL) $(obj)u-boot.bin $(obj)include/autoconf.mk
366 cat $(obj)nand_spl/u-boot-spl-16k.bin $(obj)u-boot.bin > $(obj)u-boot-nand.bin
368 $(ONENAND_IPL): $(TIMESTAMP_FILE) $(VERSION_FILE) $(obj)include/autoconf.mk
369 $(MAKE) -C onenand_ipl/board/$(BOARDDIR) all
371 $(U_BOOT_ONENAND): $(ONENAND_IPL) $(obj)u-boot.bin $(obj)include/autoconf.mk
372 cat $(obj)onenand_ipl/onenand-ipl-2k.bin $(obj)u-boot.bin > $(obj)u-boot-onenand.bin
373 cat $(obj)onenand_ipl/onenand-ipl-4k.bin $(obj)u-boot.bin > $(obj)u-boot-flexonenand.bin
376 @( printf '#define U_BOOT_VERSION "U-Boot %s%s"\n' "$(U_BOOT_VERSION)" \
377 '$(shell $(CONFIG_SHELL) $(TOPDIR)/tools/setlocalversion $(TOPDIR))' \
379 @cmp -s $@ $@.tmp && rm -f $@.tmp || mv -f $@.tmp $@
382 @date +'#define U_BOOT_DATE "%b %d %C%y"' > $@
383 @date +'#define U_BOOT_TIME "%T"' >> $@
386 $(MAKE) -C tools/gdb all || exit 1
389 $(MAKE) -C tools/updater all || exit 1
392 $(MAKE) -C tools/env all MTD_VERSION=${MTD_VERSION} || exit 1
394 depend dep: $(TIMESTAMP_FILE) $(VERSION_FILE)
395 for dir in $(SUBDIRS) ; do $(MAKE) -C $$dir _depend ; done
397 TAG_SUBDIRS += include
398 TAG_SUBDIRS += lib_generic board/$(BOARDDIR)
399 TAG_SUBDIRS += cpu/$(CPU)
400 TAG_SUBDIRS += lib_$(ARCH)
401 TAG_SUBDIRS += fs/cramfs
402 TAG_SUBDIRS += fs/fat
403 TAG_SUBDIRS += fs/fdos
404 TAG_SUBDIRS += fs/jffs2
405 TAG_SUBDIRS += fs/yaffs2
408 TAG_SUBDIRS += common
409 TAG_SUBDIRS += drivers/bios_emulator
410 TAG_SUBDIRS += drivers/block
411 TAG_SUBDIRS += drivers/hwmon
412 TAG_SUBDIRS += drivers/i2c
413 TAG_SUBDIRS += drivers/input
414 TAG_SUBDIRS += drivers/misc
415 TAG_SUBDIRS += drivers/mmc
416 TAG_SUBDIRS += drivers/mtd
417 TAG_SUBDIRS += drivers/mtd/nand
418 TAG_SUBDIRS += drivers/mtd/nand_legacy
419 TAG_SUBDIRS += drivers/mtd/onenand
420 TAG_SUBDIRS += drivers/mtd/spi
421 TAG_SUBDIRS += drivers/net
422 TAG_SUBDIRS += drivers/net/sk98lin
423 TAG_SUBDIRS += drivers/pci
424 TAG_SUBDIRS += drivers/pcmcia
425 TAG_SUBDIRS += drivers/qe
426 TAG_SUBDIRS += drivers/rtc
427 TAG_SUBDIRS += drivers/serial
428 TAG_SUBDIRS += drivers/spi
429 TAG_SUBDIRS += drivers/usb
430 TAG_SUBDIRS += drivers/video
433 ctags -w -o $(obj)ctags `find $(SUBDIRS) $(TAG_SUBDIRS) \
434 -name '*.[ch]' -print`
437 etags -a -o $(obj)etags `find $(SUBDIRS) $(TAG_SUBDIRS) \
438 -name '*.[ch]' -print`
440 find $(SUBDIRS) $(TAG_SUBDIRS) -name '*.[ch]' -print \
444 $(obj)System.map: $(obj)u-boot
446 grep -v '\(compiled\)\|\(\.o$$\)\|\( [aUw] \)\|\(\.\.ng$$\)\|\(LASH[RL]DI\)' | \
447 sort > $(obj)System.map
450 # Auto-generate the autoconf.mk file (which is included by all makefiles)
452 # This target actually generates 2 files; autoconf.mk and autoconf.mk.dep.
453 # the dep file is only include in this top level makefile to determine when
454 # to regenerate the autoconf.mk file.
455 $(obj)include/autoconf.mk.dep: $(obj)include/config.h include/common.h
456 @$(XECHO) Generating $@ ; \
458 : Generate the dependancies ; \
459 $(CC) -x c -DDO_DEPS_ONLY -M $(HOST_CFLAGS) $(CPPFLAGS) \
460 -MQ $(obj)include/autoconf.mk include/common.h > $@
462 $(obj)include/autoconf.mk: $(obj)include/config.h
463 @$(XECHO) Generating $@ ; \
465 : Extract the config macros ; \
466 $(CPP) $(CFLAGS) -DDO_DEPS_ONLY -dM include/common.h | \
467 sed -n -f tools/scripts/define2mk.sed > $@
469 sinclude $(obj)include/autoconf.mk.dep
471 #########################################################################
473 all $(obj)u-boot.hex $(obj)u-boot.srec $(obj)u-boot.bin \
474 $(obj)u-boot.img $(obj)u-boot.dis $(obj)u-boot \
475 $(SUBDIRS) $(TIMESTAMP_FILE) $(VERSION_FILE) gdbtools updater env depend \
476 dep tags ctags etags cscope $(obj)System.map:
477 @echo "System not configured - see README" >&2
483 git log --no-merges U-Boot-1_1_5.. | \
484 unexpand -a | sed -e 's/\s\s*$$//' > $@
486 include/license.h: tools/bin2header COPYING
487 cat COPYING | gzip -9 -c | ./tools/bin2header license_gzip > include/license.h
488 #########################################################################
491 @rm -f $(obj)include/config.h $(obj)include/config.mk \
492 $(obj)board/*/config.tmp $(obj)board/*/*/config.tmp \
493 $(obj)include/autoconf.mk $(obj)include/autoconf.mk.dep
495 #========================================================================
497 #========================================================================
499 #########################################################################
501 #########################################################################
503 canmb_config: unconfig
504 @$(MKCONFIG) -a canmb ppc mpc5xxx canmb
506 cmi_mpc5xx_config: unconfig
507 @$(MKCONFIG) $(@:_config=) ppc mpc5xx cmi
509 PATI_config: unconfig
510 @$(MKCONFIG) $(@:_config=) ppc mpc5xx pati mpl
512 #########################################################################
514 #########################################################################
517 @$(MKCONFIG) -a aev ppc mpc5xxx tqm5200 tqc
519 BC3450_config: unconfig
520 @$(MKCONFIG) -a BC3450 ppc mpc5xxx bc3450
522 cm5200_config: unconfig
523 @$(MKCONFIG) -a cm5200 ppc mpc5xxx cm5200
525 cpci5200_config: unconfig
526 @$(MKCONFIG) -a cpci5200 ppc mpc5xxx cpci5200 esd
528 hmi1001_config: unconfig
529 @$(MKCONFIG) hmi1001 ppc mpc5xxx hmi1001
532 Lite5200_LOWBOOT_config \
533 Lite5200_LOWBOOT08_config \
534 icecube_5200_config \
535 icecube_5200_LOWBOOT_config \
536 icecube_5200_LOWBOOT08_config \
537 icecube_5200_DDR_config \
538 icecube_5200_DDR_LOWBOOT_config \
539 icecube_5200_DDR_LOWBOOT08_config \
540 icecube_5100_config: unconfig
541 @mkdir -p $(obj)include
542 @mkdir -p $(obj)board/icecube
543 @[ -z "$(findstring LOWBOOT_,$@)" ] || \
544 { if [ "$(findstring DDR,$@)" ] ; \
545 then echo "TEXT_BASE = 0xFF800000" >$(obj)board/icecube/config.tmp ; \
546 else echo "TEXT_BASE = 0xFF000000" >$(obj)board/icecube/config.tmp ; \
548 $(XECHO) "... with LOWBOOT configuration" ; \
550 @[ -z "$(findstring LOWBOOT08,$@)" ] || \
551 { echo "TEXT_BASE = 0xFF800000" >$(obj)board/icecube/config.tmp ; \
552 echo "... with 8 MB flash only" ; \
553 $(XECHO) "... with LOWBOOT configuration" ; \
555 @[ -z "$(findstring DDR,$@)" ] || \
556 { echo "#define CONFIG_MPC5200_DDR" >>$(obj)include/config.h ; \
557 $(XECHO) "... DDR memory revision" ; \
559 @[ -z "$(findstring 5200,$@)" ] || \
560 { echo "#define CONFIG_MPC5200" >>$(obj)include/config.h ; \
561 $(XECHO) "... with MPC5200 processor" ; \
563 @[ -z "$(findstring 5100,$@)" ] || \
564 { echo "#define CONFIG_MGT5100" >>$(obj)include/config.h ; \
565 $(XECHO) "... with MGT5100 processor" ; \
567 @$(MKCONFIG) -a IceCube ppc mpc5xxx icecube
569 jupiter_config: unconfig
570 @$(MKCONFIG) jupiter ppc mpc5xxx jupiter
572 inka4x0_config: unconfig
573 @$(MKCONFIG) inka4x0 ppc mpc5xxx inka4x0
576 lite5200b_PM_config \
577 lite5200b_LOWBOOT_config: unconfig
578 @mkdir -p $(obj)include
579 @mkdir -p $(obj)board/icecube
580 @ echo "#define CONFIG_MPC5200_DDR" >>$(obj)include/config.h
581 @ $(XECHO) "... DDR memory revision"
582 @ echo "#define CONFIG_MPC5200" >>$(obj)include/config.h
583 @ echo "#define CONFIG_LITE5200B" >>$(obj)include/config.h
584 @[ -z "$(findstring _PM_,$@)" ] || \
585 { echo "#define CONFIG_LITE5200B_PM" >>$(obj)include/config.h ; \
586 $(XECHO) "... with power management (low-power mode) support" ; \
588 @[ -z "$(findstring LOWBOOT_,$@)" ] || \
589 { echo "TEXT_BASE = 0xFF000000" >$(obj)board/icecube/config.tmp ; \
590 $(XECHO) "... with LOWBOOT configuration" ; \
592 @ $(XECHO) "... with MPC5200B processor"
593 @$(MKCONFIG) -a IceCube ppc mpc5xxx icecube
596 mcc200_SDRAM_config \
597 mcc200_highboot_config \
598 mcc200_COM12_config \
599 mcc200_COM12_SDRAM_config \
600 mcc200_COM12_highboot_config \
601 mcc200_COM12_highboot_SDRAM_config \
602 mcc200_highboot_SDRAM_config \
605 prs200_highboot_config \
606 prs200_highboot_DDR_config: unconfig
607 @mkdir -p $(obj)include
608 @mkdir -p $(obj)board/mcc200
609 @[ -n "$(findstring highboot,$@)" ] || \
610 { $(XECHO) "... with lowboot configuration" ; \
612 @[ -z "$(findstring highboot,$@)" ] || \
613 { echo "TEXT_BASE = 0xFFF00000" >$(obj)board/mcc200/config.tmp ; \
614 $(XECHO) "... with highboot configuration" ; \
616 @[ -n "$(findstring _SDRAM,$@)" ] || \
617 { if [ -n "$(findstring mcc200,$@)" ]; \
619 $(XECHO) "... with DDR" ; \
621 if [ -n "$(findstring _DDR,$@)" ];\
623 $(XECHO) "... with DDR" ; \
625 echo "#define CONFIG_MCC200_SDRAM" >>$(obj)include/config.h ;\
626 $(XECHO) "... with SDRAM" ; \
630 @[ -z "$(findstring _SDRAM,$@)" ] || \
631 { echo "#define CONFIG_MCC200_SDRAM" >>$(obj)include/config.h ; \
632 $(XECHO) "... with SDRAM" ; \
634 @[ -z "$(findstring COM12,$@)" ] || \
635 { echo "#define CONFIG_CONSOLE_COM12" >>$(obj)include/config.h ; \
636 $(XECHO) "... with console on COM12" ; \
638 @[ -z "$(findstring prs200,$@)" ] || \
639 { echo "#define CONFIG_PRS200" >>$(obj)include/config.h ;\
641 @$(MKCONFIG) -n $@ -a mcc200 ppc mpc5xxx mcc200
643 mecp5200_config: unconfig
644 @$(MKCONFIG) mecp5200 ppc mpc5xxx mecp5200 esd
646 motionpro_config: unconfig
647 @$(MKCONFIG) motionpro ppc mpc5xxx motionpro
649 mucmc52_config: unconfig
650 @$(MKCONFIG) mucmc52 ppc mpc5xxx mucmc52
652 munices_config: unconfig
653 @$(MKCONFIG) munices ppc mpc5xxx munices
655 MVBC_P_config: unconfig
656 @mkdir -p $(obj)include
657 @mkdir -p $(obj)board/mvbc_p
658 @ >$(obj)include/config.h
659 @[ -z "$(findstring MVBC_P,$@)" ] || \
660 { echo "#define CONFIG_MVBC_P" >>$(obj)include/config.h; }
661 @$(MKCONFIG) -n $@ -a MVBC_P ppc mpc5xxx mvbc_p matrix_vision
663 o2dnt_config: unconfig
664 @$(MKCONFIG) o2dnt ppc mpc5xxx o2dnt
666 pf5200_config: unconfig
667 @$(MKCONFIG) pf5200 ppc mpc5xxx pf5200 esd
671 PM520_ROMBOOT_config \
672 PM520_ROMBOOT_DDR_config: unconfig
673 @mkdir -p $(obj)include
674 @[ -z "$(findstring DDR,$@)" ] || \
675 { echo "#define CONFIG_MPC5200_DDR" >>$(obj)include/config.h ; \
676 $(XECHO) "... DDR memory revision" ; \
678 @[ -z "$(findstring ROMBOOT,$@)" ] || \
679 { echo "#define CONFIG_BOOT_ROM" >>$(obj)include/config.h ; \
680 $(XECHO) "... booting from 8-bit flash" ; \
682 @$(MKCONFIG) -a PM520 ppc mpc5xxx pm520
684 smmaco4_config: unconfig
685 @$(MKCONFIG) -a smmaco4 ppc mpc5xxx tqm5200 tqc
687 spieval_config: unconfig
688 @$(MKCONFIG) -a spieval ppc mpc5xxx tqm5200 tqc
691 TB5200_config: unconfig
692 @mkdir -p $(obj)include
693 @[ -z "$(findstring _B,$@)" ] || \
694 { echo "#define CONFIG_TQM5200_B" >>$(obj)include/config.h ; \
695 $(XECHO) "... with MPC5200B processor" ; \
697 @$(MKCONFIG) -n $@ -a TB5200 ppc mpc5xxx tqm5200 tqc
701 TOP5200_config: unconfig
702 @mkdir -p $(obj)include
703 @ echo "#define CONFIG_$(@:_config=) 1" >$(obj)include/config.h
704 @$(MKCONFIG) -n $@ -a TOP5200 ppc mpc5xxx top5200 emk
708 Total5200_lowboot_config \
709 Total5200_Rev2_config \
710 Total5200_Rev2_lowboot_config: unconfig
711 @mkdir -p $(obj)include
712 @mkdir -p $(obj)board/total5200
713 @[ -z "$(findstring 5100,$@)" ] || \
714 { echo "#define CONFIG_MGT5100" >>$(obj)include/config.h ; \
715 $(XECHO) "... with MGT5100 processor" ; \
717 @[ -z "$(findstring 5200,$@)" ] || \
718 { echo "#define CONFIG_MPC5200" >>$(obj)include/config.h ; \
719 $(XECHO) "... with MPC5200 processor" ; \
721 @[ -n "$(findstring Rev,$@)" ] || \
722 { echo "#define CONFIG_TOTAL5200_REV 1" >>$(obj)include/config.h ; \
723 $(XECHO) "... revision 1 board" ; \
725 @[ -z "$(findstring Rev2_,$@)" ] || \
726 { echo "#define CONFIG_TOTAL5200_REV 2" >>$(obj)include/config.h ; \
727 $(XECHO) "... revision 2 board" ; \
729 @[ -z "$(findstring lowboot_,$@)" ] || \
730 { echo "TEXT_BASE = 0xFE000000" >$(obj)board/total5200/config.tmp ; \
731 $(XECHO) "... with lowboot configuration" ; \
733 @$(MKCONFIG) -a Total5200 ppc mpc5xxx total5200
736 cam5200_niosflash_config \
740 TQM5200S_HIGHBOOT_config \
742 TQM5200_B_HIGHBOOT_config \
744 TQM5200_STK100_config: unconfig
745 @mkdir -p $(obj)include
746 @mkdir -p $(obj)board/tqc/tqm5200
747 @[ -z "$(findstring cam5200,$@)" ] || \
748 { echo "#define CONFIG_CAM5200" >>$(obj)include/config.h ; \
749 echo "#define CONFIG_TQM5200S" >>$(obj)include/config.h ; \
750 echo "#define CONFIG_TQM5200_B" >>$(obj)include/config.h ; \
751 $(XECHO) "... TQM5200S on Cam5200" ; \
753 @[ -z "$(findstring niosflash,$@)" ] || \
754 { echo "#define CONFIG_CAM5200_NIOSFLASH" >>$(obj)include/config.h ; \
755 $(XECHO) "... with NIOS flash driver" ; \
757 @[ -z "$(findstring fo300,$@)" ] || \
758 { echo "#define CONFIG_FO300" >>$(obj)include/config.h ; \
759 $(XECHO) "... TQM5200 on FO300" ; \
761 @[ -z "$(findstring MiniFAP,$@)" ] || \
762 { echo "#define CONFIG_MINIFAP" >>$(obj)include/config.h ; \
763 $(XECHO) "... TQM5200_AC on MiniFAP" ; \
765 @[ -z "$(findstring STK100,$@)" ] || \
766 { echo "#define CONFIG_STK52XX_REV100" >>$(obj)include/config.h ; \
767 $(XECHO) "... on a STK52XX.100 base board" ; \
769 @[ -z "$(findstring TQM5200_B,$@)" ] || \
770 { echo "#define CONFIG_TQM5200_B" >>$(obj)include/config.h ; \
772 @[ -z "$(findstring TQM5200S,$@)" ] || \
773 { echo "#define CONFIG_TQM5200S" >>$(obj)include/config.h ; \
774 echo "#define CONFIG_TQM5200_B" >>$(obj)include/config.h ; \
776 @[ -z "$(findstring HIGHBOOT,$@)" ] || \
777 { echo "TEXT_BASE = 0xFFF00000" >$(obj)board/tqm5200/config.tmp ; \
779 @$(MKCONFIG) -n $@ -a TQM5200 ppc mpc5xxx tqm5200 tqc
781 uc101_config: unconfig
782 @$(MKCONFIG) uc101 ppc mpc5xxx uc101
784 v38b_config: unconfig
785 @$(MKCONFIG) -a v38b ppc mpc5xxx v38b
787 #########################################################################
789 #########################################################################
792 ads5121_rev2_config \
794 @mkdir -p $(obj)include
795 @if [ "$(findstring rev2,$@)" ] ; then \
796 echo "#define CONFIG_ADS5121_REV2 1" > $(obj)include/config.h; \
798 @$(MKCONFIG) -a ads5121 ppc mpc512x ads5121
801 #########################################################################
803 #########################################################################
809 @mkdir -p $(obj)include
810 $(if $(findstring AdderII,$@), \
811 @echo "#define CONFIG_MPC852T" > $(obj)include/config.h)
812 @$(MKCONFIG) -a Adder ppc mpc8xx adder
814 AdderUSB_config: unconfig
815 @$(MKCONFIG) -a AdderUSB ppc mpc8xx adder
822 FADS860T_config: unconfig
823 @$(MKCONFIG) $(@:_config=) ppc mpc8xx fads
825 AMX860_config : unconfig
826 @$(MKCONFIG) $(@:_config=) ppc mpc8xx amx860 westel
828 c2mon_config: unconfig
829 @$(MKCONFIG) $(@:_config=) ppc mpc8xx c2mon
832 @$(MKCONFIG) $(@:_config=) ppc mpc8xx CCM siemens
834 cogent_mpc8xx_config: unconfig
835 @$(MKCONFIG) $(@:_config=) ppc mpc8xx cogent
837 ELPT860_config: unconfig
838 @$(MKCONFIG) $(@:_config=) ppc mpc8xx elpt860 LEOX
840 EP88x_config: unconfig
841 @$(MKCONFIG) $(@:_config=) ppc mpc8xx ep88x
843 ESTEEM192E_config: unconfig
844 @$(MKCONFIG) $(@:_config=) ppc mpc8xx esteem192e
846 ETX094_config : unconfig
847 @$(MKCONFIG) $(@:_config=) ppc mpc8xx etx094
849 FLAGADM_config: unconfig
850 @$(MKCONFIG) $(@:_config=) ppc mpc8xx flagadm
852 xtract_GEN860T = $(subst _SC,,$(subst _config,,$1))
855 GEN860T_config: unconfig
856 @mkdir -p $(obj)include
857 @[ -z "$(findstring _SC,$@)" ] || \
858 { echo "#define CONFIG_SC" >>$(obj)include/config.h ; \
859 $(XECHO) "With reduced H/W feature set (SC)..." ; \
861 @$(MKCONFIG) -a $(call xtract_GEN860T,$@) ppc mpc8xx gen860t
863 GENIETV_config: unconfig
864 @$(MKCONFIG) $(@:_config=) ppc mpc8xx genietv
867 @$(MKCONFIG) $(@:_config=) ppc mpc8xx gth
869 hermes_config : unconfig
870 @$(MKCONFIG) $(@:_config=) ppc mpc8xx hermes
872 HMI10_config : unconfig
873 @$(MKCONFIG) $(@:_config=) ppc mpc8xx tqm8xx tqc
875 IAD210_config: unconfig
876 @$(MKCONFIG) $(@:_config=) ppc mpc8xx IAD210 siemens
878 xtract_ICU862 = $(subst _100MHz,,$(subst _config,,$1))
880 ICU862_100MHz_config \
881 ICU862_config: unconfig
882 @mkdir -p $(obj)include
883 @[ -z "$(findstring _100MHz,$@)" ] || \
884 { echo "#define CONFIG_100MHz" >>$(obj)include/config.h ; \
885 $(XECHO) "... with 100MHz system clock" ; \
887 @$(MKCONFIG) -a $(call xtract_ICU862,$@) ppc mpc8xx icu862
889 IP860_config : unconfig
890 @$(MKCONFIG) $(@:_config=) ppc mpc8xx ip860
894 IVML24_config: unconfig
895 @mkdir -p $(obj)include
896 @[ -z "$(findstring IVML24_config,$@)" ] || \
897 { echo "#define CONFIG_IVML24_16M" >>$(obj)include/config.h ; \
899 @[ -z "$(findstring IVML24_128_config,$@)" ] || \
900 { echo "#define CONFIG_IVML24_32M" >>$(obj)include/config.h ; \
902 @[ -z "$(findstring IVML24_256_config,$@)" ] || \
903 { echo "#define CONFIG_IVML24_64M" >>$(obj)include/config.h ; \
905 @$(MKCONFIG) -a IVML24 ppc mpc8xx ivm
909 IVMS8_config: unconfig
910 @mkdir -p $(obj)include
911 @[ -z "$(findstring IVMS8_config,$@)" ] || \
912 { echo "#define CONFIG_IVMS8_16M" >>$(obj)include/config.h ; \
914 @[ -z "$(findstring IVMS8_128_config,$@)" ] || \
915 { echo "#define CONFIG_IVMS8_32M" >>$(obj)include/config.h ; \
917 @[ -z "$(findstring IVMS8_256_config,$@)" ] || \
918 { echo "#define CONFIG_IVMS8_64M" >>$(obj)include/config.h ; \
920 @$(MKCONFIG) -a IVMS8 ppc mpc8xx ivm
922 KUP4K_config : unconfig
923 @$(MKCONFIG) $(@:_config=) ppc mpc8xx kup4k kup
925 KUP4X_config : unconfig
926 @$(MKCONFIG) $(@:_config=) ppc mpc8xx kup4x kup
928 LANTEC_config : unconfig
929 @$(MKCONFIG) $(@:_config=) ppc mpc8xx lantec
931 lwmon_config: unconfig
932 @$(MKCONFIG) $(@:_config=) ppc mpc8xx lwmon
935 MBX860T_config: unconfig
936 @$(MKCONFIG) $(@:_config=) ppc mpc8xx mbx8xx
938 mgsuvd_config: unconfig
939 @$(MKCONFIG) $(@:_config=) ppc mpc8xx mgsuvd keymile
941 MHPC_config: unconfig
942 @$(MKCONFIG) $(@:_config=) ppc mpc8xx mhpc eltec
944 xtract_NETVIA = $(subst _V2,,$(subst _config,,$1))
947 NETVIA_config: unconfig
948 @mkdir -p $(obj)include
949 @[ -z "$(findstring NETVIA_config,$@)" ] || \
950 { echo "#define CONFIG_NETVIA_VERSION 1" >>$(obj)include/config.h ; \
951 $(XECHO) "... Version 1" ; \
953 @[ -z "$(findstring NETVIA_V2_config,$@)" ] || \
954 { echo "#define CONFIG_NETVIA_VERSION 2" >>$(obj)include/config.h ; \
955 $(XECHO) "... Version 2" ; \
957 @$(MKCONFIG) -a $(call xtract_NETVIA,$@) ppc mpc8xx netvia
959 xtract_NETPHONE = $(subst _V2,,$(subst _config,,$1))
962 NETPHONE_config: unconfig
963 @mkdir -p $(obj)include
964 @[ -z "$(findstring NETPHONE_config,$@)" ] || \
965 { echo "#define CONFIG_NETPHONE_VERSION 1" >>$(obj)include/config.h ; \
967 @[ -z "$(findstring NETPHONE_V2_config,$@)" ] || \
968 { echo "#define CONFIG_NETPHONE_VERSION 2" >>$(obj)include/config.h ; \
970 @$(MKCONFIG) -a $(call xtract_NETPHONE,$@) ppc mpc8xx netphone
972 xtract_NETTA = $(subst _SWAPHOOK,,$(subst _6412,,$(subst _ISDN,,$(subst _config,,$1))))
974 NETTA_ISDN_6412_SWAPHOOK_config \
975 NETTA_ISDN_SWAPHOOK_config \
976 NETTA_6412_SWAPHOOK_config \
977 NETTA_SWAPHOOK_config \
978 NETTA_ISDN_6412_config \
981 NETTA_config: unconfig
982 @mkdir -p $(obj)include
983 @[ -z "$(findstring ISDN_,$@)" ] || \
984 { echo "#define CONFIG_NETTA_ISDN 1" >>$(obj)include/config.h ; \
986 @[ -n "$(findstring ISDN_,$@)" ] || \
987 { echo "#undef CONFIG_NETTA_ISDN" >>$(obj)include/config.h ; \
989 @[ -z "$(findstring 6412_,$@)" ] || \
990 { echo "#define CONFIG_NETTA_6412 1" >>$(obj)include/config.h ; \
992 @[ -n "$(findstring 6412_,$@)" ] || \
993 { echo "#undef CONFIG_NETTA_6412" >>$(obj)include/config.h ; \
995 @[ -z "$(findstring SWAPHOOK_,$@)" ] || \
996 { echo "#define CONFIG_NETTA_SWAPHOOK 1" >>$(obj)include/config.h ; \
998 @[ -n "$(findstring SWAPHOOK_,$@)" ] || \
999 { echo "#undef CONFIG_NETTA_SWAPHOOK" >>$(obj)include/config.h ; \
1001 @$(MKCONFIG) -a $(call xtract_NETTA,$@) ppc mpc8xx netta
1003 xtract_NETTA2 = $(subst _V2,,$(subst _config,,$1))
1006 NETTA2_config: unconfig
1007 @mkdir -p $(obj)include
1008 @[ -z "$(findstring NETTA2_config,$@)" ] || \
1009 { echo "#define CONFIG_NETTA2_VERSION 1" >>$(obj)include/config.h ; \
1011 @[ -z "$(findstring NETTA2_V2_config,$@)" ] || \
1012 { echo "#define CONFIG_NETTA2_VERSION 2" >>$(obj)include/config.h ; \
1014 @$(MKCONFIG) -a $(call xtract_NETTA2,$@) ppc mpc8xx netta2
1018 CP850_config: unconfig
1019 @mkdir -p $(obj)include
1020 @[ -z "$(findstring CP850,$@)" ] || \
1021 { echo "#define CONFIG_CP850 1" >>$(obj)include/config.h ; \
1022 echo "#define CONFIG_IDS852_REV2 1" >>$(obj)include/config.h ; \
1024 @[ -z "$(findstring Rev1,$@)" ] || \
1025 { echo "#define CONFIG_IDS852_REV1 1" >>$(obj)include/config.h ; \
1027 @[ -z "$(findstring Rev2,$@)" ] || \
1028 { echo "#define CONFIG_IDS852_REV2 1" >>$(obj)include/config.h ; \
1030 @$(MKCONFIG) -a NC650 ppc mpc8xx nc650
1032 NX823_config: unconfig
1033 @$(MKCONFIG) $(@:_config=) ppc mpc8xx nx823
1035 pcu_e_config: unconfig
1036 @$(MKCONFIG) $(@:_config=) ppc mpc8xx pcu_e siemens
1038 QS850_config: unconfig
1039 @$(MKCONFIG) $(@:_config=) ppc mpc8xx qs850 snmc
1041 QS823_config: unconfig
1042 @$(MKCONFIG) $(@:_config=) ppc mpc8xx qs850 snmc
1044 QS860T_config: unconfig
1045 @$(MKCONFIG) $(@:_config=) ppc mpc8xx qs860t snmc
1047 quantum_config: unconfig
1048 @$(MKCONFIG) $(@:_config=) ppc mpc8xx quantum
1050 R360MPI_config: unconfig
1051 @$(MKCONFIG) $(@:_config=) ppc mpc8xx r360mpi
1053 RBC823_config: unconfig
1054 @$(MKCONFIG) $(@:_config=) ppc mpc8xx rbc823
1056 RPXClassic_config: unconfig
1057 @$(MKCONFIG) $(@:_config=) ppc mpc8xx RPXClassic
1059 RPXlite_config: unconfig
1060 @$(MKCONFIG) $(@:_config=) ppc mpc8xx RPXlite
1062 RPXlite_DW_64_config \
1063 RPXlite_DW_LCD_config \
1064 RPXlite_DW_64_LCD_config \
1065 RPXlite_DW_NVRAM_config \
1066 RPXlite_DW_NVRAM_64_config \
1067 RPXlite_DW_NVRAM_LCD_config \
1068 RPXlite_DW_NVRAM_64_LCD_config \
1069 RPXlite_DW_config: unconfig
1070 @mkdir -p $(obj)include
1071 @[ -z "$(findstring _64,$@)" ] || \
1072 { echo "#define RPXlite_64MHz" >>$(obj)include/config.h ; \
1073 $(XECHO) "... with 64MHz system clock ..."; \
1075 @[ -z "$(findstring _LCD,$@)" ] || \
1076 { echo "#define CONFIG_LCD" >>$(obj)include/config.h ; \
1077 echo "#define CONFIG_NEC_NL6448BC20" >>$(obj)include/config.h ; \
1078 $(XECHO) "... with LCD display ..."; \
1080 @[ -z "$(findstring _NVRAM,$@)" ] || \
1081 { echo "#define CONFIG_ENV_IS_IN_NVRAM" >>$(obj)include/config.h ; \
1082 $(XECHO) "... with ENV in NVRAM ..."; \
1084 @$(MKCONFIG) -a RPXlite_DW ppc mpc8xx RPXlite_dw
1086 rmu_config: unconfig
1087 @$(MKCONFIG) $(@:_config=) ppc mpc8xx rmu
1089 RRvision_config: unconfig
1090 @$(MKCONFIG) $(@:_config=) ppc mpc8xx RRvision
1092 RRvision_LCD_config: unconfig
1093 @mkdir -p $(obj)include
1094 @echo "#define CONFIG_LCD" >$(obj)include/config.h
1095 @echo "#define CONFIG_SHARP_LQ104V7DS01" >>$(obj)include/config.h
1096 @$(MKCONFIG) -a RRvision ppc mpc8xx RRvision
1098 SM850_config : unconfig
1099 @$(MKCONFIG) $(@:_config=) ppc mpc8xx tqm8xx tqc
1101 spc1920_config: unconfig
1102 @$(MKCONFIG) $(@:_config=) ppc mpc8xx spc1920
1104 SPD823TS_config: unconfig
1105 @$(MKCONFIG) $(@:_config=) ppc mpc8xx spd8xx
1107 stxxtc_config: unconfig
1108 @$(MKCONFIG) $(@:_config=) ppc mpc8xx stxxtc
1110 svm_sc8xx_config: unconfig
1111 @$(MKCONFIG) $(@:_config=) ppc mpc8xx svm_sc8xx
1113 SXNI855T_config: unconfig
1114 @$(MKCONFIG) $(@:_config=) ppc mpc8xx sixnet
1116 # EMK MPC8xx based modules
1117 TOP860_config: unconfig
1118 @$(MKCONFIG) $(@:_config=) ppc mpc8xx top860 emk
1120 # Play some tricks for configuration selection
1121 # Only 855 and 860 boards may come with FEC
1122 # and only 823 boards may have LCD support
1123 xtract_8xx = $(subst _LCD,,$(subst _config,,$1))
1129 TQM823L_LCD_config \
1142 virtlab2_config: unconfig
1143 @mkdir -p $(obj)include
1144 @[ -z "$(findstring _LCD,$@)" ] || \
1145 { echo "#define CONFIG_LCD" >>$(obj)include/config.h ; \
1146 echo "#define CONFIG_NEC_NL6448BC20" >>$(obj)include/config.h ; \
1147 $(XECHO) "... with LCD display" ; \
1149 @$(MKCONFIG) -a $(call xtract_8xx,$@) ppc mpc8xx tqm8xx tqc
1151 TTTech_config: unconfig
1152 @mkdir -p $(obj)include
1153 @echo "#define CONFIG_LCD" >$(obj)include/config.h
1154 @echo "#define CONFIG_SHARP_LQ104V7DS01" >>$(obj)include/config.h
1155 @$(MKCONFIG) -a TQM823L ppc mpc8xx tqm8xx tqc
1157 uc100_config : unconfig
1158 @$(MKCONFIG) $(@:_config=) ppc mpc8xx uc100
1160 v37_config: unconfig
1161 @mkdir -p $(obj)include
1162 @echo "#define CONFIG_LCD" >$(obj)include/config.h
1163 @echo "#define CONFIG_SHARP_LQ084V1DG21" >>$(obj)include/config.h
1164 @$(MKCONFIG) $(@:_config=) ppc mpc8xx v37
1166 wtk_config: unconfig
1167 @mkdir -p $(obj)include
1168 @echo "#define CONFIG_LCD" >$(obj)include/config.h
1169 @echo "#define CONFIG_SHARP_LQ065T9DR51U" >>$(obj)include/config.h
1170 @$(MKCONFIG) -a TQM823L ppc mpc8xx tqm8xx tqc
1172 #########################################################################
1174 #########################################################################
1175 xtract_4xx = $(subst _25,,$(subst _33,,$(subst _BA,,$(subst _ME,,$(subst _HI,,$(subst _config,,$1))))))
1177 acadia_config: unconfig
1178 @$(MKCONFIG) $(@:_config=) ppc ppc4xx acadia amcc
1180 acadia_nand_config: unconfig
1181 @mkdir -p $(obj)include $(obj)board/amcc/acadia
1182 @mkdir -p $(obj)nand_spl/board/amcc/acadia
1183 @echo "#define CONFIG_NAND_U_BOOT" > $(obj)include/config.h
1184 @$(MKCONFIG) -n $@ -a acadia ppc ppc4xx acadia amcc
1185 @echo "TEXT_BASE = 0x01000000" > $(obj)board/amcc/acadia/config.tmp
1186 @echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk
1188 ADCIOP_config: unconfig
1189 @$(MKCONFIG) $(@:_config=) ppc ppc4xx adciop esd
1191 alpr_config: unconfig
1192 @$(MKCONFIG) $(@:_config=) ppc ppc4xx alpr prodrive
1194 AP1000_config:unconfig
1195 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ap1000 amirix
1197 APC405_config: unconfig
1198 @$(MKCONFIG) $(@:_config=) ppc ppc4xx apc405 esd
1200 AR405_config: unconfig
1201 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ar405 esd
1203 ASH405_config: unconfig
1204 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ash405 esd
1206 bamboo_config: unconfig
1207 @$(MKCONFIG) $(@:_config=) ppc ppc4xx bamboo amcc
1209 bamboo_nand_config: unconfig
1210 @mkdir -p $(obj)include $(obj)board/amcc/bamboo
1211 @mkdir -p $(obj)nand_spl/board/amcc/bamboo
1212 @echo "#define CONFIG_NAND_U_BOOT" > $(obj)include/config.h
1213 @$(MKCONFIG) -n $@ -a bamboo ppc ppc4xx bamboo amcc
1214 @echo "TEXT_BASE = 0x01000000" > $(obj)board/amcc/bamboo/config.tmp
1215 @echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk
1217 bubinga_config: unconfig
1218 @$(MKCONFIG) $(@:_config=) ppc ppc4xx bubinga amcc
1220 CANBT_config: unconfig
1221 @$(MKCONFIG) $(@:_config=) ppc ppc4xx canbt esd
1223 # Arches, Canyonlands & Glacier use different U-Boot images
1225 canyonlands_config \
1226 glacier_config: unconfig
1227 @mkdir -p $(obj)include
1228 @echo "#define CONFIG_$$(echo $(subst ,,$(@:_config=)) | \
1229 tr '[:lower:]' '[:upper:]')" >$(obj)include/config.h
1230 @$(MKCONFIG) -n $@ -a canyonlands ppc ppc4xx canyonlands amcc
1232 canyonlands_nand_config \
1233 glacier_nand_config: unconfig
1234 @mkdir -p $(obj)include $(obj)board/amcc/canyonlands
1235 @mkdir -p $(obj)nand_spl/board/amcc/canyonlands
1236 @echo "#define CONFIG_NAND_U_BOOT" > $(obj)include/config.h
1237 @echo "#define CONFIG_$$(echo $(subst ,,$(@:_nand_config=)) | \
1238 tr '[:lower:]' '[:upper:]')" >> $(obj)include/config.h
1239 @$(MKCONFIG) -n $@ -a canyonlands ppc ppc4xx canyonlands amcc
1240 @echo "TEXT_BASE = 0x01000000" > $(obj)board/amcc/canyonlands/config.tmp
1241 @echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk
1244 CATcenter_25_config \
1245 CATcenter_33_config: unconfig
1246 @mkdir -p $(obj)include
1247 @ echo "/* CATcenter uses PPChameleon Model ME */" > $(obj)include/config.h
1248 @ echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 1" >> $(obj)include/config.h
1249 @[ -z "$(findstring _25,$@)" ] || \
1250 { echo "#define CONFIG_PPCHAMELEON_CLK_25" >> $(obj)include/config.h ; \
1251 $(XECHO) "SysClk = 25MHz" ; \
1253 @[ -z "$(findstring _33,$@)" ] || \
1254 { echo "#define CONFIG_PPCHAMELEON_CLK_33" >> $(obj)include/config.h ; \
1255 $(XECHO) "SysClk = 33MHz" ; \
1257 @$(MKCONFIG) -a $(call xtract_4xx,$@) ppc ppc4xx PPChameleonEVB dave
1259 CMS700_config: unconfig
1260 @$(MKCONFIG) $(@:_config=) ppc ppc4xx cms700 esd
1262 CPCI2DP_config: unconfig
1263 @$(MKCONFIG) $(@:_config=) ppc ppc4xx cpci2dp esd
1265 CPCI405_config: unconfig
1266 @$(MKCONFIG) $(@:_config=) ppc ppc4xx cpci405 esd
1270 CPCI405AB_config: unconfig
1271 @mkdir -p $(obj)board/esd/cpci405
1272 @echo "TEXT_BASE = 0xFFFC0000" > $(obj)board/esd/cpci405/config.tmp
1273 @$(MKCONFIG) $(@:_config=) ppc ppc4xx cpci405 esd
1275 CPCIISER4_config: unconfig
1276 @$(MKCONFIG) $(@:_config=) ppc ppc4xx cpciiser4 esd
1278 CRAYL1_config: unconfig
1279 @$(MKCONFIG) $(@:_config=) ppc ppc4xx L1 cray
1281 csb272_config: unconfig
1282 @$(MKCONFIG) $(@:_config=) ppc ppc4xx csb272
1284 csb472_config: unconfig
1285 @$(MKCONFIG) $(@:_config=) ppc ppc4xx csb472
1287 DASA_SIM_config: unconfig
1288 @$(MKCONFIG) $(@:_config=) ppc ppc4xx dasa_sim esd
1290 DP405_config: unconfig
1291 @$(MKCONFIG) $(@:_config=) ppc ppc4xx dp405 esd
1293 DU405_config: unconfig
1294 @$(MKCONFIG) $(@:_config=) ppc ppc4xx du405 esd
1296 DU440_config: unconfig
1297 @$(MKCONFIG) $(@:_config=) ppc ppc4xx du440 esd
1299 ebony_config: unconfig
1300 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ebony amcc
1302 ERIC_config: unconfig
1303 @$(MKCONFIG) $(@:_config=) ppc ppc4xx eric
1305 EXBITGEN_config: unconfig
1306 @$(MKCONFIG) $(@:_config=) ppc ppc4xx exbitgen
1308 fx12mm_flash_config: unconfig
1309 @mkdir -p $(obj)include $(obj)board/xilinx/ppc405-generic
1310 @mkdir -p $(obj)include $(obj)board/avnet/fx12mm
1311 @echo "LDSCRIPT:=$(SRCTREE)/board/xilinx/ppc405-generic/u-boot-rom.lds"\
1312 > $(obj)board/avnet/fx12mm/config.tmp
1313 @echo "TEXT_BASE := 0xFFCB0000" \
1314 >> $(obj)board/avnet/fx12mm/config.tmp
1315 @$(MKCONFIG) fx12mm ppc ppc4xx fx12mm avnet
1317 fx12mm_config: unconfig
1318 @mkdir -p $(obj)include $(obj)board/xilinx/ppc405-generic
1319 @mkdir -p $(obj)include $(obj)board/avnet/fx12mm
1320 @echo "LDSCRIPT:=$(SRCTREE)/board/xilinx/ppc405-generic/u-boot-ram.lds"\
1321 > $(obj)board/avnet/fx12mm/config.tmp
1322 @echo "TEXT_BASE := 0x03000000" \
1323 >> $(obj)board/avnet/fx12mm/config.tmp
1324 @$(MKCONFIG) fx12mm ppc ppc4xx fx12mm avnet
1326 G2000_config: unconfig
1327 @$(MKCONFIG) $(@:_config=) ppc ppc4xx g2000
1329 hcu4_config: unconfig
1330 @mkdir -p $(obj)board/netstal/common
1331 @$(MKCONFIG) $(@:_config=) ppc ppc4xx hcu4 netstal
1333 hcu5_config: unconfig
1334 @mkdir -p $(obj)board/netstal/common
1335 @$(MKCONFIG) $(@:_config=) ppc ppc4xx hcu5 netstal
1337 HH405_config: unconfig
1338 @$(MKCONFIG) $(@:_config=) ppc ppc4xx hh405 esd
1340 HUB405_config: unconfig
1341 @$(MKCONFIG) $(@:_config=) ppc ppc4xx hub405 esd
1343 JSE_config: unconfig
1344 @$(MKCONFIG) $(@:_config=) ppc ppc4xx jse
1346 KAREF_config: unconfig
1347 @$(MKCONFIG) $(@:_config=) ppc ppc4xx karef sandburst
1349 katmai_config: unconfig
1350 @$(MKCONFIG) $(@:_config=) ppc ppc4xx katmai amcc
1352 # Kilauea & Haleakala images are identical (recognized via PVR)
1354 haleakala_config: unconfig
1355 @$(MKCONFIG) -n $@ -a kilauea ppc ppc4xx kilauea amcc
1357 kilauea_nand_config \
1358 haleakala_nand_config: unconfig
1359 @mkdir -p $(obj)include $(obj)board/amcc/kilauea
1360 @mkdir -p $(obj)nand_spl/board/amcc/kilauea
1361 @echo "#define CONFIG_NAND_U_BOOT" > $(obj)include/config.h
1362 @$(MKCONFIG) -n $@ -a kilauea ppc ppc4xx kilauea amcc
1363 @echo "TEXT_BASE = 0x01000000" > $(obj)board/amcc/kilauea/config.tmp
1364 @echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk
1366 korat_config: unconfig
1367 @$(MKCONFIG) $(@:_config=) ppc ppc4xx korat
1369 luan_config: unconfig
1370 @$(MKCONFIG) $(@:_config=) ppc ppc4xx luan amcc
1372 lwmon5_config: unconfig
1373 @$(MKCONFIG) $(@:_config=) ppc ppc4xx lwmon5
1375 makalu_config: unconfig
1376 @$(MKCONFIG) $(@:_config=) ppc ppc4xx makalu amcc
1378 mcu25_config: unconfig
1379 @mkdir -p $(obj)board/netstal/common
1380 @$(MKCONFIG) $(@:_config=) ppc ppc4xx mcu25 netstal
1382 METROBOX_config: unconfig
1383 @$(MKCONFIG) $(@:_config=) ppc ppc4xx metrobox sandburst
1385 MIP405_config: unconfig
1386 @$(MKCONFIG) $(@:_config=) ppc ppc4xx mip405 mpl
1388 MIP405T_config: unconfig
1389 @mkdir -p $(obj)include
1390 @echo "#define CONFIG_MIP405T" >$(obj)include/config.h
1391 @$(XECHO) "Enable subset config for MIP405T"
1392 @$(MKCONFIG) -a MIP405 ppc ppc4xx mip405 mpl
1394 ML2_config: unconfig
1395 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ml2
1397 ml300_config: unconfig
1398 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ml300 xilinx
1400 ml507_flash_config: unconfig
1401 @mkdir -p $(obj)include $(obj)board/xilinx/ppc440-generic
1402 @mkdir -p $(obj)include $(obj)board/xilinx/ml507
1403 @echo "LDSCRIPT:=$(SRCTREE)/board/xilinx/ppc440-generic/u-boot-rom.lds"\
1404 > $(obj)board/xilinx/ml507/config.tmp
1405 @echo "TEXT_BASE := 0xFE360000" \
1406 >> $(obj)board/xilinx/ml507/config.tmp
1407 @$(MKCONFIG) ml507 ppc ppc4xx ml507 xilinx
1409 ml507_config: unconfig
1410 @mkdir -p $(obj)include $(obj)board/xilinx/ppc440-generic
1411 @mkdir -p $(obj)include $(obj)board/xilinx/ml507
1412 @echo "LDSCRIPT:=$(SRCTREE)/board/xilinx/ppc440-generic/u-boot-ram.lds"\
1413 > $(obj)board/xilinx/ml507/config.tmp
1414 @echo "TEXT_BASE := 0x04000000" \
1415 >> $(obj)board/xilinx/ml507/config.tmp
1416 @$(MKCONFIG) ml507 ppc ppc4xx ml507 xilinx
1418 neo_config: unconfig
1419 @$(MKCONFIG) $(@:_config=) ppc ppc4xx neo gdsys
1421 ocotea_config: unconfig
1422 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ocotea amcc
1425 ORSG_config: unconfig
1426 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ocrtc esd
1428 p3p440_config: unconfig
1429 @$(MKCONFIG) $(@:_config=) ppc ppc4xx p3p440 prodrive
1431 PCI405_config: unconfig
1432 @$(MKCONFIG) $(@:_config=) ppc ppc4xx pci405 esd
1434 pcs440ep_config: unconfig
1435 @$(MKCONFIG) $(@:_config=) ppc ppc4xx pcs440ep
1437 PIP405_config: unconfig
1438 @$(MKCONFIG) $(@:_config=) ppc ppc4xx pip405 mpl
1440 PLU405_config: unconfig
1441 @$(MKCONFIG) $(@:_config=) ppc ppc4xx plu405 esd
1443 PMC405_config: unconfig
1444 @$(MKCONFIG) $(@:_config=) ppc ppc4xx pmc405 esd
1446 PMC440_config: unconfig
1447 @$(MKCONFIG) $(@:_config=) ppc ppc4xx pmc440 esd
1449 PPChameleonEVB_config \
1450 PPChameleonEVB_BA_25_config \
1451 PPChameleonEVB_ME_25_config \
1452 PPChameleonEVB_HI_25_config \
1453 PPChameleonEVB_BA_33_config \
1454 PPChameleonEVB_ME_33_config \
1455 PPChameleonEVB_HI_33_config: unconfig
1456 @mkdir -p $(obj)include
1457 @[ -z "$(findstring EVB_BA,$@)" ] || \
1458 { echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 0" >>$(obj)include/config.h ; \
1459 $(XECHO) "... BASIC model" ; \
1461 @[ -z "$(findstring EVB_ME,$@)" ] || \
1462 { echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 1" >>$(obj)include/config.h ; \
1463 $(XECHO) "... MEDIUM model" ; \
1465 @[ -z "$(findstring EVB_HI,$@)" ] || \
1466 { echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 2" >>$(obj)include/config.h ; \
1467 $(XECHO) "... HIGH-END model" ; \
1469 @[ -z "$(findstring _25,$@)" ] || \
1470 { echo "#define CONFIG_PPCHAMELEON_CLK_25" >>$(obj)include/config.h ; \
1471 $(XECHO) "SysClk = 25MHz" ; \
1473 @[ -z "$(findstring _33,$@)" ] || \
1474 { echo "#define CONFIG_PPCHAMELEON_CLK_33" >>$(obj)include/config.h ; \
1475 $(XECHO) "SysClk = 33MHz" ; \
1477 @$(MKCONFIG) -a $(call xtract_4xx,$@) ppc ppc4xx PPChameleonEVB dave
1479 quad100hd_config: unconfig
1480 @$(MKCONFIG) $(@:_config=) ppc ppc4xx quad100hd
1482 redwood_config: unconfig
1483 @$(MKCONFIG) $(@:_config=) ppc ppc4xx redwood amcc
1485 sbc405_config: unconfig
1486 @$(MKCONFIG) $(@:_config=) ppc ppc4xx sbc405
1489 @$(MKCONFIG) $(@:_config=) ppc ppc4xx sc3
1492 rainier_config: unconfig
1493 @mkdir -p $(obj)include
1494 @echo "#define CONFIG_$$(echo $(subst ,,$(@:_config=)) | \
1495 tr '[:lower:]' '[:upper:]')" >$(obj)include/config.h
1496 @$(MKCONFIG) -n $@ -a sequoia ppc ppc4xx sequoia amcc
1498 sequoia_nand_config \
1499 rainier_nand_config: unconfig
1500 @mkdir -p $(obj)include $(obj)board/amcc/sequoia
1501 @mkdir -p $(obj)nand_spl/board/amcc/sequoia
1502 @echo "#define CONFIG_NAND_U_BOOT" > $(obj)include/config.h
1503 @echo "#define CONFIG_$$(echo $(subst ,,$(@:_config=)) | \
1504 tr '[:lower:]' '[:upper:]')" >> $(obj)include/config.h
1505 @$(MKCONFIG) -n $@ -a sequoia ppc ppc4xx sequoia amcc
1506 @echo "TEXT_BASE = 0x01000000" > $(obj)board/amcc/sequoia/config.tmp
1507 @echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk
1509 taihu_config: unconfig
1510 @$(MKCONFIG) $(@:_config=) ppc ppc4xx taihu amcc
1512 taishan_config: unconfig
1513 @$(MKCONFIG) $(@:_config=) ppc ppc4xx taishan amcc
1515 v5fx30teval_config: unconfig
1516 @mkdir -p $(obj)include $(obj)board/xilinx/ppc440-generic
1517 @mkdir -p $(obj)include $(obj)board/avnet/v5fx30teval
1518 @echo "LDSCRIPT:=$(SRCTREE)/board/xilinx/ppc440-generic/u-boot-ram.lds"\
1519 > $(obj)board/avnet/v5fx30teval/config.tmp
1520 @echo "TEXT_BASE := 0x03000000" \
1521 >> $(obj)board/avnet/v5fx30teval/config.tmp
1522 @$(MKCONFIG) v5fx30teval ppc ppc4xx v5fx30teval avnet
1524 v5fx30teval_flash_config: unconfig
1525 @mkdir -p $(obj)include $(obj)board/xilinx/ppc440-generic
1526 @mkdir -p $(obj)include $(obj)board/avnet/v5fx30teval
1527 @echo "LDSCRIPT:=$(SRCTREE)/board/xilinx/ppc440-generic/u-boot-rom.lds"\
1528 > $(obj)board/avnet/v5fx30teval/config.tmp
1529 @echo "TEXT_BASE := 0xFF1C0000" \
1530 >> $(obj)board/avnet/v5fx30teval/config.tmp
1531 @$(MKCONFIG) v5fx30teval ppc ppc4xx v5fx30teval avnet
1533 VOH405_config: unconfig
1534 @$(MKCONFIG) $(@:_config=) ppc ppc4xx voh405 esd
1536 VOM405_config: unconfig
1537 @$(MKCONFIG) $(@:_config=) ppc ppc4xx vom405 esd
1540 W7OLMG_config: unconfig
1541 @$(MKCONFIG) $(@:_config=) ppc ppc4xx w7o
1543 # Walnut & Sycamore images are identical (recognized via PVR)
1545 sycamore_config: unconfig
1546 @$(MKCONFIG) -n $@ -a walnut ppc ppc4xx walnut amcc
1548 WUH405_config: unconfig
1549 @$(MKCONFIG) $(@:_config=) ppc ppc4xx wuh405 esd
1551 xilinx-ppc405-generic_flash_config: unconfig
1552 @mkdir -p $(obj)include $(obj)board/xilinx/ppc405-generic
1553 @echo "LDSCRIPT:=$(SRCTREE)/board/xilinx/ppc405-generic/u-boot-rom.lds"\
1554 > $(obj)board/xilinx/ppc405-generic/config.tmp
1555 @echo "TEXT_BASE := 0xFE360000" \
1556 >> $(obj)board/xilinx/ppc405-generic/config.tmp
1557 @$(MKCONFIG) xilinx-ppc405-generic ppc ppc4xx ppc405-generic xilinx
1559 xilinx-ppc405-generic_config: unconfig
1560 @mkdir -p $(obj)include $(obj)board/xilinx/ppc405-generic
1561 @echo "LDSCRIPT:=$(SRCTREE)/board/xilinx/ppc405-generic/u-boot-ram.lds"\
1562 > $(obj)board/xilinx/ppc405-generic/config.tmp
1563 @echo "TEXT_BASE := 0x04000000" \
1564 >> $(obj)board/xilinx/ppc405-generic/config.tmp
1565 @$(MKCONFIG) xilinx-ppc405-generic ppc ppc4xx ppc405-generic xilinx
1567 xilinx-ppc440-generic_flash_config: unconfig
1568 @mkdir -p $(obj)include $(obj)board/xilinx/ppc440-generic
1569 @echo "LDSCRIPT:=$(SRCTREE)/board/xilinx/ppc440-generic/u-boot-rom.lds"\
1570 > $(obj)board/xilinx/ppc440-generic/config.tmp
1571 @echo "TEXT_BASE := 0xFE360000" \
1572 >> $(obj)board/xilinx/ppc440-generic/config.tmp
1573 @$(MKCONFIG) xilinx-ppc440-generic ppc ppc4xx ppc440-generic xilinx
1575 xilinx-ppc440-generic_config: unconfig
1576 @mkdir -p $(obj)include $(obj)board/xilinx/ppc440-generic
1577 @echo "LDSCRIPT:=$(SRCTREE)/board/xilinx/ppc440-generic/u-boot-ram.lds"\
1578 > $(obj)board/xilinx/ppc440-generic/config.tmp
1579 @echo "TEXT_BASE := 0x04000000" \
1580 >> $(obj)board/xilinx/ppc440-generic/config.tmp
1581 @$(MKCONFIG) xilinx-ppc440-generic ppc ppc4xx ppc440-generic xilinx
1583 XPEDITE1K_config: unconfig
1584 @$(MKCONFIG) $(@:_config=) ppc ppc4xx xpedite1k
1587 yellowstone_config: unconfig
1588 @mkdir -p $(obj)include
1589 @echo "#define CONFIG_$$(echo $(subst ,,$(@:_config=)) | \
1590 tr '[:lower:]' '[:upper:]')" >$(obj)include/config.h
1591 @$(MKCONFIG) -n $@ -a yosemite ppc ppc4xx yosemite amcc
1593 yucca_config: unconfig
1594 @$(MKCONFIG) $(@:_config=) ppc ppc4xx yucca amcc
1596 zeus_config: unconfig
1597 @$(MKCONFIG) $(@:_config=) ppc ppc4xx zeus
1599 #########################################################################
1601 #########################################################################
1604 Yukon8220_config: unconfig
1605 @$(MKCONFIG) $(@:_config=) ppc mpc8220 alaska
1607 sorcery_config: unconfig
1608 @$(MKCONFIG) $(@:_config=) ppc mpc8220 sorcery
1610 #########################################################################
1612 #########################################################################
1613 xtract_82xx = $(subst _BIGFLASH,,$(subst _ROMBOOT,,$(subst _L2,,$(subst _266MHz,,$(subst _300MHz,,$(subst _config,,$1))))))
1615 A3000_config: unconfig
1616 @$(MKCONFIG) $(@:_config=) ppc mpc824x a3000
1618 barco_config: unconfig
1619 @$(MKCONFIG) $(@:_config=) ppc mpc824x barco
1621 BMW_config: unconfig
1622 @$(MKCONFIG) $(@:_config=) ppc mpc824x bmw
1625 CPC45_ROMBOOT_config: unconfig
1626 @$(MKCONFIG) $(call xtract_82xx,$@) ppc mpc824x cpc45
1627 @cd $(obj)include ; \
1628 if [ "$(findstring _ROMBOOT_,$@)" ] ; then \
1629 echo "CONFIG_BOOT_ROM = y" >> config.mk ; \
1630 $(XECHO) "... booting from 8-bit flash" ; \
1632 echo "CONFIG_BOOT_ROM = n" >> config.mk ; \
1633 $(XECHO) "... booting from 64-bit flash" ; \
1635 echo "export CONFIG_BOOT_ROM" >> config.mk;
1637 CU824_config: unconfig
1638 @$(MKCONFIG) $(@:_config=) ppc mpc824x cu824
1640 debris_config: unconfig
1641 @$(MKCONFIG) $(@:_config=) ppc mpc824x debris etin
1643 eXalion_config: unconfig
1644 @$(MKCONFIG) $(@:_config=) ppc mpc824x eXalion
1646 HIDDEN_DRAGON_config: unconfig
1647 @$(MKCONFIG) $(@:_config=) ppc mpc824x hidden_dragon
1649 kvme080_config: unconfig
1650 @$(MKCONFIG) $(@:_config=) ppc mpc824x kvme080 etin
1652 # HDLAN is broken ATM. Should be fixed as soon as hardware is available and as
1654 #linkstation_HDLAN_config \
1655 # Remove this line when HDLAN is fixed
1656 linkstation_HGLAN_config: unconfig
1657 @mkdir -p $(obj)include
1659 *HGLAN*) echo "#define CONFIG_HGLAN 1" >$(obj)include/config.h; ;; \
1660 *HDLAN*) echo "#define CONFIG_HLAN 1" >$(obj)include/config.h; ;; \
1662 @$(MKCONFIG) -n $@ -a linkstation ppc mpc824x linkstation
1664 MOUSSE_config: unconfig
1665 @$(MKCONFIG) $(@:_config=) ppc mpc824x mousse
1667 MUSENKI_config: unconfig
1668 @$(MKCONFIG) $(@:_config=) ppc mpc824x musenki
1670 MVBLUE_config: unconfig
1671 @$(MKCONFIG) $(@:_config=) ppc mpc824x mvblue
1673 OXC_config: unconfig
1674 @$(MKCONFIG) $(@:_config=) ppc mpc824x oxc
1676 PN62_config: unconfig
1677 @$(MKCONFIG) $(@:_config=) ppc mpc824x pn62
1679 Sandpoint8240_config: unconfig
1680 @$(MKCONFIG) $(@:_config=) ppc mpc824x sandpoint
1682 Sandpoint8245_config: unconfig
1683 @$(MKCONFIG) $(@:_config=) ppc mpc824x sandpoint
1685 sbc8240_config: unconfig
1686 @$(MKCONFIG) $(@:_config=) ppc mpc824x sbc8240
1688 SL8245_config: unconfig
1689 @$(MKCONFIG) $(@:_config=) ppc mpc824x sl8245
1691 utx8245_config: unconfig
1692 @$(MKCONFIG) $(@:_config=) ppc mpc824x utx8245
1694 #########################################################################
1696 #########################################################################
1698 atc_config: unconfig
1699 @$(MKCONFIG) $(@:_config=) ppc mpc8260 atc
1701 cogent_mpc8260_config: unconfig
1702 @$(MKCONFIG) $(@:_config=) ppc mpc8260 cogent
1705 CPU86_ROMBOOT_config: unconfig
1706 @$(MKCONFIG) $(call xtract_82xx,$@) ppc mpc8260 cpu86
1707 @cd $(obj)include ; \
1708 if [ "$(findstring _ROMBOOT_,$@)" ] ; then \
1709 echo "CONFIG_BOOT_ROM = y" >> config.mk ; \
1710 $(XECHO) "... booting from 8-bit flash" ; \
1712 echo "CONFIG_BOOT_ROM = n" >> config.mk ; \
1713 $(XECHO) "... booting from 64-bit flash" ; \
1715 echo "export CONFIG_BOOT_ROM" >> config.mk;
1718 CPU87_ROMBOOT_config: unconfig
1719 @$(MKCONFIG) $(call xtract_82xx,$@) ppc mpc8260 cpu87
1720 @cd $(obj)include ; \
1721 if [ "$(findstring _ROMBOOT_,$@)" ] ; then \
1722 echo "CONFIG_BOOT_ROM = y" >> config.mk ; \
1723 $(XECHO) "... booting from 8-bit flash" ; \
1725 echo "CONFIG_BOOT_ROM = n" >> config.mk ; \
1726 $(XECHO) "... booting from 64-bit flash" ; \
1728 echo "export CONFIG_BOOT_ROM" >> config.mk;
1731 ep8248E_config : unconfig
1732 @$(MKCONFIG) ep8248 ppc mpc8260 ep8248
1734 ep8260_config: unconfig
1735 @$(MKCONFIG) $(@:_config=) ppc mpc8260 ep8260
1737 ep82xxm_config: unconfig
1738 @$(MKCONFIG) $(@:_config=) ppc mpc8260 ep82xxm
1740 gw8260_config: unconfig
1741 @$(MKCONFIG) $(@:_config=) ppc mpc8260 gw8260
1743 hymod_config: unconfig
1744 @$(MKCONFIG) $(@:_config=) ppc mpc8260 hymod
1746 IDS8247_config: unconfig
1747 @$(MKCONFIG) $(@:_config=) ppc mpc8260 ids8247
1749 IPHASE4539_config: unconfig
1750 @$(MKCONFIG) $(@:_config=) ppc mpc8260 iphase4539
1753 ISPAN_REVB_config: unconfig
1754 @mkdir -p $(obj)include
1755 @if [ "$(findstring _REVB_,$@)" ] ; then \
1756 echo "#define CONFIG_SYS_REV_B" > $(obj)include/config.h ; \
1758 @$(MKCONFIG) -a ISPAN ppc mpc8260 ispan
1760 mgcoge_config : unconfig
1761 @$(MKCONFIG) mgcoge ppc mpc8260 mgcoge keymile
1764 MPC8260ADS_lowboot_config \
1765 MPC8260ADS_33MHz_config \
1766 MPC8260ADS_33MHz_lowboot_config \
1767 MPC8260ADS_40MHz_config \
1768 MPC8260ADS_40MHz_lowboot_config \
1770 MPC8272ADS_lowboot_config \
1772 PQ2FADS_lowboot_config \
1774 PQ2FADS-VR_lowboot_config \
1776 PQ2FADS-ZU_lowboot_config \
1777 PQ2FADS-ZU_66MHz_config \
1778 PQ2FADS-ZU_66MHz_lowboot_config \
1780 @mkdir -p $(obj)include
1781 @mkdir -p $(obj)board/freescale/mpc8260ads
1782 $(if $(findstring PQ2FADS,$@), \
1783 @echo "#define CONFIG_ADSTYPE CONFIG_SYS_PQ2FADS" > $(obj)include/config.h, \
1784 @echo "#define CONFIG_ADSTYPE CONFIG_SYS_"$(subst MPC,,$(word 1,$(subst _, ,$@))) > $(obj)include/config.h)
1785 $(if $(findstring MHz,$@), \
1786 @echo "#define CONFIG_8260_CLKIN" $(subst MHz,,$(word 2,$(subst _, ,$@)))"000000" >> $(obj)include/config.h, \
1787 $(if $(findstring VR,$@), \
1788 @echo "#define CONFIG_8260_CLKIN 66000000" >> $(obj)include/config.h))
1789 @[ -z "$(findstring lowboot_,$@)" ] || \
1790 { echo "TEXT_BASE = 0xFF800000" >$(obj)board/freescale/mpc8260ads/config.tmp ; \
1791 $(XECHO) "... with lowboot configuration" ; \
1793 @$(MKCONFIG) -a MPC8260ADS ppc mpc8260 mpc8260ads freescale
1795 MPC8266ADS_config: unconfig
1796 @$(MKCONFIG) $(@:_config=) ppc mpc8260 mpc8266ads freescale
1798 muas3001_dev_config \
1799 muas3001_config : unconfig
1800 @mkdir -p $(obj)include
1801 @mkdir -p $(obj)board/muas3001
1802 @if [ "$(findstring dev,$@)" ] ; then \
1803 echo "#define CONFIG_MUAS_DEV_BOARD" > $(obj)include/config.h ; \
1805 @$(MKCONFIG) -a muas3001 ppc mpc8260 muas3001
1807 # PM825/PM826 default configuration: small (= 8 MB) Flash / boot from 64-bit flash
1809 PM825_ROMBOOT_config \
1810 PM825_BIGFLASH_config \
1811 PM825_ROMBOOT_BIGFLASH_config \
1813 PM826_ROMBOOT_config \
1814 PM826_BIGFLASH_config \
1815 PM826_ROMBOOT_BIGFLASH_config: unconfig
1816 @mkdir -p $(obj)include
1817 @mkdir -p $(obj)board/pm826
1818 @if [ "$(findstring PM825_,$@)" ] ; then \
1819 echo "#define CONFIG_PCI" >$(obj)include/config.h ; \
1821 >$(obj)include/config.h ; \
1823 @if [ "$(findstring _ROMBOOT_,$@)" ] ; then \
1824 $(XECHO) "... booting from 8-bit flash" ; \
1825 echo "#define CONFIG_BOOT_ROM" >>$(obj)include/config.h ; \
1826 echo "TEXT_BASE = 0xFF800000" >$(obj)board/pm826/config.tmp ; \
1827 if [ "$(findstring _BIGFLASH_,$@)" ] ; then \
1828 $(XECHO) "... with 32 MB Flash" ; \
1829 echo "#define CONFIG_FLASH_32MB" >>$(obj)include/config.h ; \
1832 $(XECHO) "... booting from 64-bit flash" ; \
1833 if [ "$(findstring _BIGFLASH_,$@)" ] ; then \
1834 $(XECHO) "... with 32 MB Flash" ; \
1835 echo "#define CONFIG_FLASH_32MB" >>$(obj)include/config.h ; \
1836 echo "TEXT_BASE = 0x40000000" >$(obj)board/pm826/config.tmp ; \
1838 echo "TEXT_BASE = 0xFF000000" >$(obj)board/pm826/config.tmp ; \
1841 @$(MKCONFIG) -a PM826 ppc mpc8260 pm826
1845 PM828_ROMBOOT_config \
1846 PM828_ROMBOOT_PCI_config: unconfig
1847 @mkdir -p $(obj)include
1848 @mkdir -p $(obj)board/pm826
1849 @if [ "$(findstring _PCI_,$@)" ] ; then \
1850 echo "#define CONFIG_PCI" >>$(obj)include/config.h ; \
1851 $(XECHO) "... with PCI enabled" ; \
1853 @if [ "$(findstring _ROMBOOT_,$@)" ] ; then \
1854 $(XECHO) "... booting from 8-bit flash" ; \
1855 echo "#define CONFIG_BOOT_ROM" >>$(obj)include/config.h ; \
1856 echo "TEXT_BASE = 0xFF800000" >$(obj)board/pm826/config.tmp ; \
1858 @$(MKCONFIG) -a PM828 ppc mpc8260 pm828
1860 ppmc8260_config: unconfig
1861 @$(MKCONFIG) $(@:_config=) ppc mpc8260 ppmc8260
1863 Rattler8248_config \
1864 Rattler_config: unconfig
1865 @mkdir -p $(obj)include
1866 $(if $(findstring 8248,$@), \
1867 @echo "#define CONFIG_MPC8248" > $(obj)include/config.h)
1868 @$(MKCONFIG) -a Rattler ppc mpc8260 rattler
1870 RPXsuper_config: unconfig
1871 @$(MKCONFIG) $(@:_config=) ppc mpc8260 rpxsuper
1873 rsdproto_config: unconfig
1874 @$(MKCONFIG) $(@:_config=) ppc mpc8260 rsdproto
1876 sacsng_config: unconfig
1877 @$(MKCONFIG) $(@:_config=) ppc mpc8260 sacsng
1879 sbc8260_config: unconfig
1880 @$(MKCONFIG) $(@:_config=) ppc mpc8260 sbc8260
1882 SCM_config: unconfig
1883 @$(MKCONFIG) $(@:_config=) ppc mpc8260 SCM siemens
1895 TQM8265_AA_config: unconfig
1896 @mkdir -p $(obj)include
1898 TQM8255_AA_config) CTYPE=MPC8255; CFREQ=300; CACHE=no; BMODE=8260;; \
1899 TQM8260_AA_config) CTYPE=MPC8260; CFREQ=200; CACHE=no; BMODE=8260;; \
1900 TQM8260_AB_config) CTYPE=MPC8260; CFREQ=200; CACHE=yes; BMODE=60x;; \
1901 TQM8260_AC_config) CTYPE=MPC8260; CFREQ=200; CACHE=yes; BMODE=60x;; \
1902 TQM8260_AD_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=60x;; \
1903 TQM8260_AE_config) CTYPE=MPC8260; CFREQ=266; CACHE=no; BMODE=8260;; \
1904 TQM8260_AF_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=60x;; \
1905 TQM8260_AG_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=8260;; \
1906 TQM8260_AH_config) CTYPE=MPC8260; CFREQ=300; CACHE=yes; BMODE=60x;; \
1907 TQM8260_AI_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=60x;; \
1908 TQM8265_AA_config) CTYPE=MPC8265; CFREQ=300; CACHE=no; BMODE=60x;; \
1910 if [ "$${CTYPE}" != "MPC8260" ] ; then \
1911 echo "#define CONFIG_$${CTYPE}" >>$(obj)include/config.h ; \
1913 echo "#define CONFIG_$${CFREQ}MHz" >>$(obj)include/config.h ; \
1914 echo "... with $${CFREQ}MHz system clock" ; \
1915 if [ "$${CACHE}" = "yes" ] ; then \
1916 echo "#define CONFIG_L2_CACHE" >>$(obj)include/config.h ; \
1917 $(XECHO) "... with L2 Cache support" ; \
1919 echo "#undef CONFIG_L2_CACHE" >>$(obj)include/config.h ; \
1920 $(XECHO) "... without L2 Cache support" ; \
1922 if [ "$${BMODE}" = "60x" ] ; then \
1923 echo "#define CONFIG_BUSMODE_60x" >>$(obj)include/config.h ; \
1924 $(XECHO) "... with 60x Bus Mode" ; \
1926 echo "#undef CONFIG_BUSMODE_60x" >>$(obj)include/config.h ; \
1927 $(XECHO) "... without 60x Bus Mode" ; \
1929 @$(MKCONFIG) -a TQM8260 ppc mpc8260 tqm8260 tqc
1931 TQM8272_config: unconfig
1932 @$(MKCONFIG) TQM8272 ppc mpc8260 tqm8272 tqc
1934 VoVPN-GW_66MHz_config \
1935 VoVPN-GW_100MHz_config: unconfig
1936 @mkdir -p $(obj)include
1937 @echo "#define CONFIG_CLKIN_$(word 2,$(subst _, ,$@))" > $(obj)include/config.h
1938 @$(MKCONFIG) -a VoVPN-GW ppc mpc8260 vovpn-gw funkwerk
1940 ZPC1900_config: unconfig
1941 @$(MKCONFIG) $(@:_config=) ppc mpc8260 zpc1900
1943 #########################################################################
1945 #########################################################################
1948 M52277EVB_spansion_config \
1949 M52277EVB_stmicro_config : unconfig
1951 M52277EVB_config) FLASH=SPANSION;; \
1952 M52277EVB_spansion_config) FLASH=SPANSION;; \
1953 M52277EVB_stmicro_config) FLASH=STMICRO;; \
1955 if [ "$${FLASH}" = "SPANSION" ] ; then \
1956 echo "#define CONFIG_SYS_SPANSION_BOOT" >> $(obj)include/config.h ; \
1957 echo "TEXT_BASE = 0x00000000" > $(obj)board/freescale/m52277evb/config.tmp ; \
1958 cp $(obj)board/freescale/m52277evb/u-boot.spa $(obj)board/freescale/m52277evb/u-boot.lds ; \
1959 $(XECHO) "... with SPANSION boot..." ; \
1961 if [ "$${FLASH}" = "STMICRO" ] ; then \
1962 echo "#define CONFIG_CF_SBF" >> $(obj)include/config.h ; \
1963 echo "#define CONFIG_SYS_STMICRO_BOOT" >> $(obj)include/config.h ; \
1964 echo "TEXT_BASE = 0x43E00000" > $(obj)board/freescale/m52277evb/config.tmp ; \
1965 cp $(obj)board/freescale/m52277evb/u-boot.stm $(obj)board/freescale/m52277evb/u-boot.lds ; \
1966 $(XECHO) "... with ST Micro boot..." ; \
1968 @$(MKCONFIG) -a M52277EVB m68k mcf5227x m52277evb freescale
1971 M5235EVB_Flash16_config \
1972 M5235EVB_Flash32_config: unconfig
1974 M5235EVB_config) FLASH=16;; \
1975 M5235EVB_Flash16_config) FLASH=16;; \
1976 M5235EVB_Flash32_config) FLASH=32;; \
1978 if [ "$${FLASH}" != "16" ] ; then \
1979 echo "#define NORFLASH_PS32BIT 1" >> $(obj)include/config.h ; \
1980 echo "TEXT_BASE = 0xFFC00000" > $(obj)board/freescale/m5235evb/config.tmp ; \
1981 cp $(obj)board/freescale/m5235evb/u-boot.32 $(obj)board/freescale/m5235evb/u-boot.lds ; \
1983 echo "TEXT_BASE = 0xFFE00000" > $(obj)board/freescale/m5235evb/config.tmp ; \
1984 cp $(obj)board/freescale/m5235evb/u-boot.16 $(obj)board/freescale/m5235evb/u-boot.lds ; \
1986 @$(MKCONFIG) -a M5235EVB m68k mcf523x m5235evb freescale
1988 M5249EVB_config : unconfig
1989 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5249evb freescale
1991 M5253DEMO_config : unconfig
1992 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5253demo freescale
1994 M5253EVBE_config : unconfig
1995 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5253evbe freescale
1997 cobra5272_config : unconfig
1998 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 cobra5272
2000 EB+MCF-EV123_config : unconfig
2001 @mkdir -p $(obj)include
2002 @mkdir -p $(obj)board/BuS/EB+MCF-EV123
2003 @echo "TEXT_BASE = 0xFFE00000"|tee $(obj)board/BuS/EB+MCF-EV123/textbase.mk
2004 @$(MKCONFIG) EB+MCF-EV123 m68k mcf52x2 EB+MCF-EV123 BuS
2006 EB+MCF-EV123_internal_config : unconfig
2007 @mkdir -p $(obj)include
2008 @mkdir -p $(obj)board/BuS/EB+MCF-EV123
2009 @echo "TEXT_BASE = 0xF0000000"|tee $(obj)board/BuS/EB+MCF-EV123/textbase.mk
2010 @$(MKCONFIG) EB+MCF-EV123 m68k mcf52x2 EB+MCF-EV123 BuS
2012 idmr_config : unconfig
2013 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 idmr
2015 M5271EVB_config : unconfig
2016 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5271evb freescale
2018 M5272C3_config : unconfig
2019 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5272c3 freescale
2021 M5275EVB_config : unconfig
2022 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5275evb freescale
2024 M5282EVB_config : unconfig
2025 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5282evb freescale
2027 M53017EVB_config : unconfig
2028 @$(MKCONFIG) $(@:_config=) m68k mcf532x m53017evb freescale
2031 M5329BFEE_config : unconfig
2033 M5329AFEE_config) NAND=0;; \
2034 M5329BFEE_config) NAND=16;; \
2036 if [ "$${NAND}" != "0" ] ; then \
2037 echo "#define NANDFLASH_SIZE $${NAND}" > $(obj)include/config.h ; \
2039 @$(MKCONFIG) -a M5329EVB m68k mcf532x m5329evb freescale
2041 M5373EVB_config : unconfig
2043 M5373EVB_config) NAND=16;; \
2045 if [ "$${NAND}" != "0" ] ; then \
2046 echo "#define NANDFLASH_SIZE $${NAND}" > $(obj)include/config.h ; \
2048 @$(MKCONFIG) -a M5373EVB m68k mcf532x m5373evb freescale
2051 M54451EVB_spansion_config \
2052 M54451EVB_stmicro_config : unconfig
2054 M54451EVB_config) FLASH=SPANSION;; \
2055 M54451EVB_spansion_config) FLASH=SPANSION;; \
2056 M54451EVB_stmicro_config) FLASH=STMICRO;; \
2058 if [ "$${FLASH}" = "SPANSION" ] ; then \
2059 echo "#define CONFIG_SYS_SPANSION_BOOT" >> $(obj)include/config.h ; \
2060 echo "TEXT_BASE = 0x00000000" > $(obj)board/freescale/m54451evb/config.tmp ; \
2061 cp $(obj)board/freescale/m54451evb/u-boot.spa $(obj)board/freescale/m54451evb/u-boot.lds ; \
2062 $(XECHO) "... with SPANSION boot..." ; \
2064 if [ "$${FLASH}" = "STMICRO" ] ; then \
2065 echo "#define CONFIG_CF_SBF" >> $(obj)include/config.h ; \
2066 echo "#define CONFIG_SYS_STMICRO_BOOT" >> $(obj)include/config.h ; \
2067 echo "TEXT_BASE = 0x47E00000" > $(obj)board/freescale/m54451evb/config.tmp ; \
2068 cp $(obj)board/freescale/m54451evb/u-boot.stm $(obj)board/freescale/m54451evb/u-boot.lds ; \
2069 $(XECHO) "... with ST Micro boot..." ; \
2071 echo "#define CONFIG_SYS_INPUT_CLKSRC 24000000" >> $(obj)include/config.h ;
2072 @$(MKCONFIG) -a M54451EVB m68k mcf5445x m54451evb freescale
2075 M54455EVB_atmel_config \
2076 M54455EVB_intel_config \
2077 M54455EVB_a33_config \
2078 M54455EVB_a66_config \
2079 M54455EVB_i33_config \
2080 M54455EVB_i66_config \
2081 M54455EVB_stm33_config : unconfig
2083 M54455EVB_config) FLASH=ATMEL; FREQ=33333333;; \
2084 M54455EVB_atmel_config) FLASH=ATMEL; FREQ=33333333;; \
2085 M54455EVB_intel_config) FLASH=INTEL; FREQ=33333333;; \
2086 M54455EVB_a33_config) FLASH=ATMEL; FREQ=33333333;; \
2087 M54455EVB_a66_config) FLASH=ATMEL; FREQ=66666666;; \
2088 M54455EVB_i33_config) FLASH=INTEL; FREQ=33333333;; \
2089 M54455EVB_i66_config) FLASH=INTEL; FREQ=66666666;; \
2090 M54455EVB_stm33_config) FLASH=STMICRO; FREQ=33333333;; \
2092 if [ "$${FLASH}" = "INTEL" ] ; then \
2093 echo "#define CONFIG_SYS_INTEL_BOOT" >> $(obj)include/config.h ; \
2094 echo "TEXT_BASE = 0x00000000" > $(obj)board/freescale/m54455evb/config.tmp ; \
2095 cp $(obj)board/freescale/m54455evb/u-boot.int $(obj)board/freescale/m54455evb/u-boot.lds ; \
2096 $(XECHO) "... with INTEL boot..." ; \
2098 if [ "$${FLASH}" = "ATMEL" ] ; then \
2099 echo "#define CONFIG_SYS_ATMEL_BOOT" >> $(obj)include/config.h ; \
2100 echo "TEXT_BASE = 0x04000000" > $(obj)board/freescale/m54455evb/config.tmp ; \
2101 cp $(obj)board/freescale/m54455evb/u-boot.atm $(obj)board/freescale/m54455evb/u-boot.lds ; \
2102 $(XECHO) "... with ATMEL boot..." ; \
2104 if [ "$${FLASH}" = "STMICRO" ] ; then \
2105 echo "#define CONFIG_CF_SBF" >> $(obj)include/config.h ; \
2106 echo "#define CONFIG_SYS_STMICRO_BOOT" >> $(obj)include/config.h ; \
2107 echo "TEXT_BASE = 0x4FE00000" > $(obj)board/freescale/m54455evb/config.tmp ; \
2108 cp $(obj)board/freescale/m54455evb/u-boot.stm $(obj)board/freescale/m54455evb/u-boot.lds ; \
2109 $(XECHO) "... with ST Micro boot..." ; \
2111 echo "#define CONFIG_SYS_INPUT_CLKSRC $${FREQ}" >> $(obj)include/config.h ; \
2112 $(XECHO) "... with $${FREQ}Hz input clock"
2113 @$(MKCONFIG) -a M54455EVB m68k mcf5445x m54455evb freescale
2121 M5475GFE_config : unconfig
2123 M5475AFE_config) BOOT=2;CODE=0;VID=0;USB=0;RAM=64;RAM1=0;; \
2124 M5475BFE_config) BOOT=2;CODE=16;VID=0;USB=0;RAM=64;RAM1=0;; \
2125 M5475CFE_config) BOOT=2;CODE=16;VID=1;USB=1;RAM=64;RAM1=0;; \
2126 M5475DFE_config) BOOT=2;CODE=0;VID=0;USB=1;RAM=64;RAM1=0;; \
2127 M5475EFE_config) BOOT=2;CODE=0;VID=1;USB=1;RAM=64;RAM1=0;; \
2128 M5475FFE_config) BOOT=2;CODE=32;VID=1;USB=1;RAM=64;RAM1=64;; \
2129 M5475GFE_config) BOOT=4;CODE=0;VID=0;USB=0;RAM=64;RAM1=0;; \
2131 echo "#define CONFIG_SYS_BUSCLK 133333333" > $(obj)include/config.h ; \
2132 echo "#define CONFIG_SYS_BOOTSZ $${BOOT}" >> $(obj)include/config.h ; \
2133 echo "#define CONFIG_SYS_DRAMSZ $${RAM}" >> $(obj)include/config.h ; \
2134 if [ "$${RAM1}" != "0" ] ; then \
2135 echo "#define CONFIG_SYS_DRAMSZ1 $${RAM1}" >> $(obj)include/config.h ; \
2137 if [ "$${CODE}" != "0" ] ; then \
2138 echo "#define CONFIG_SYS_NOR1SZ $${CODE}" >> $(obj)include/config.h ; \
2140 if [ "$${VID}" == "1" ] ; then \
2141 echo "#define CONFIG_SYS_VIDEO" >> $(obj)include/config.h ; \
2143 if [ "$${USB}" == "1" ] ; then \
2144 echo "#define CONFIG_SYS_USBCTRL" >> $(obj)include/config.h ; \
2146 @$(MKCONFIG) -a M5475EVB m68k mcf547x_8x m547xevb freescale
2155 M5485HFE_config : unconfig
2157 M5485AFE_config) BOOT=2;CODE=0;VID=0;USB=0;RAM=64;RAM1=0;; \
2158 M5485BFE_config) BOOT=2;CODE=16;VID=0;USB=0;RAM=64;RAM1=0;; \
2159 M5485CFE_config) BOOT=2;CODE=16;VID=1;USB=1;RAM=64;RAM1=0;; \
2160 M5485DFE_config) BOOT=2;CODE=0;VID=0;USB=1;RAM=64;RAM1=0;; \
2161 M5485EFE_config) BOOT=2;CODE=0;VID=1;USB=1;RAM=64;RAM1=0;; \
2162 M5485FFE_config) BOOT=2;CODE=32;VID=1;USB=1;RAM=64;RAM1=64;; \
2163 M5485GFE_config) BOOT=4;CODE=0;VID=0;USB=0;RAM=64;RAM1=0;; \
2164 M5485HFE_config) BOOT=2;CODE=16;VID=1;USB=0;RAM=64;RAM1=0;; \
2166 echo "#define CONFIG_SYS_BUSCLK 100000000" > $(obj)include/config.h ; \
2167 echo "#define CONFIG_SYS_BOOTSZ $${BOOT}" >> $(obj)include/config.h ; \
2168 echo "#define CONFIG_SYS_DRAMSZ $${RAM}" >> $(obj)include/config.h ; \
2169 if [ "$${RAM1}" != "0" ] ; then \
2170 echo "#define CONFIG_SYS_DRAMSZ1 $${RAM1}" >> $(obj)include/config.h ; \
2172 if [ "$${CODE}" != "0" ] ; then \
2173 echo "#define CONFIG_SYS_NOR1SZ $${CODE}" >> $(obj)include/config.h ; \
2175 if [ "$${VID}" == "1" ] ; then \
2176 echo "#define CONFIG_SYS_VIDEO" >> $(obj)include/config.h ; \
2178 if [ "$${USB}" == "1" ] ; then \
2179 echo "#define CONFIG_SYS_USBCTRL" >> $(obj)include/config.h ; \
2181 @$(MKCONFIG) -a M5485EVB m68k mcf547x_8x m548xevb freescale
2183 TASREG_config : unconfig
2184 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 tasreg esd
2186 #########################################################################
2188 #########################################################################
2190 MPC8313ERDB_33_config \
2191 MPC8313ERDB_66_config \
2192 MPC8313ERDB_NAND_33_config \
2193 MPC8313ERDB_NAND_66_config: unconfig
2194 @mkdir -p $(obj)include
2195 @mkdir -p $(obj)board/freescale/mpc8313erdb
2196 @if [ "$(findstring _33_,$@)" ] ; then \
2197 $(XECHO) -n "...33M ..." ; \
2198 echo "#define CONFIG_SYS_33MHZ" >>$(obj)include/config.h ; \
2200 if [ "$(findstring _66_,$@)" ] ; then \
2201 $(XECHO) -n "...66M..." ; \
2202 echo "#define CONFIG_SYS_66MHZ" >>$(obj)include/config.h ; \
2204 if [ "$(findstring _NAND_,$@)" ] ; then \
2205 $(XECHO) -n "...NAND..." ; \
2206 echo "TEXT_BASE = 0x00100000" > $(obj)board/freescale/mpc8313erdb/config.tmp ; \
2207 echo "#define CONFIG_NAND_U_BOOT" >>$(obj)include/config.h ; \
2209 @$(MKCONFIG) -a MPC8313ERDB ppc mpc83xx mpc8313erdb freescale
2210 @if [ "$(findstring _NAND_,$@)" ] ; then \
2211 echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk ; \
2214 MPC8315ERDB_config: unconfig
2215 @$(MKCONFIG) -a MPC8315ERDB ppc mpc83xx mpc8315erdb freescale
2217 MPC8323ERDB_config: unconfig
2218 @$(MKCONFIG) -a MPC8323ERDB ppc mpc83xx mpc8323erdb freescale
2220 MPC832XEMDS_config \
2221 MPC832XEMDS_HOST_33_config \
2222 MPC832XEMDS_HOST_66_config \
2223 MPC832XEMDS_SLAVE_config \
2224 MPC832XEMDS_ATM_config: unconfig
2225 @mkdir -p $(obj)include
2226 @if [ "$(findstring _HOST_,$@)" ] ; then \
2227 $(XECHO) -n "... PCI HOST " ; \
2228 echo "#define CONFIG_PCI" >>$(obj)include/config.h ; \
2230 if [ "$(findstring _SLAVE_,$@)" ] ; then \
2231 $(XECHO) "...PCI SLAVE 66M" ; \
2232 echo "#define CONFIG_PCI" >>$(obj)include/config.h ; \
2233 echo "#define CONFIG_PCISLAVE" >>$(obj)include/config.h ; \
2235 if [ "$(findstring _33_,$@)" ] ; then \
2236 $(XECHO) -n "...33M ..." ; \
2237 echo "#define PCI_33M" >>$(obj)include/config.h ; \
2238 echo "#define CONFIG_PQ_MDS_PIB 1" >>$(obj)include/config.h ; \
2240 if [ "$(findstring _66_,$@)" ] ; then \
2241 $(XECHO) -n "...66M..." ; \
2242 echo "#define PCI_66M" >>$(obj)include/config.h ; \
2243 echo "#define CONFIG_PQ_MDS_PIB 1" >>$(obj)include/config.h ; \
2245 if [ "$(findstring _ATM_,$@)" ] ; then \
2246 $(XECHO) -n "...ATM..." ; \
2247 echo "#define CONFIG_PQ_MDS_PIB 1" >>$(obj)include/config.h ; \
2248 echo "#define CONFIG_PQ_MDS_PIB_ATM 1" >>$(obj)include/config.h ; \
2250 @$(MKCONFIG) -a MPC832XEMDS ppc mpc83xx mpc832xemds freescale
2252 MPC8349EMDS_config: unconfig
2253 @$(MKCONFIG) $(@:_config=) ppc mpc83xx mpc8349emds freescale
2256 MPC8349ITX_LOWBOOT_config \
2257 MPC8349ITXGP_config: unconfig
2258 @mkdir -p $(obj)include
2259 @mkdir -p $(obj)board/freescale/mpc8349itx
2260 @echo "#define CONFIG_$(subst _LOWBOOT,,$(@:_config=))" >> $(obj)include/config.h
2261 @if [ "$(findstring GP,$@)" ] ; then \
2262 echo "TEXT_BASE = 0xFE000000" >$(obj)board/freescale/mpc8349itx/config.tmp ; \
2264 @if [ "$(findstring LOWBOOT,$@)" ] ; then \
2265 echo "TEXT_BASE = 0xFE000000" >$(obj)board/freescale/mpc8349itx/config.tmp ; \
2267 @$(MKCONFIG) -a -n $(@:_config=) MPC8349ITX ppc mpc83xx mpc8349itx freescale
2269 MPC8360EMDS_config \
2270 MPC8360EMDS_HOST_33_config \
2271 MPC8360EMDS_HOST_66_config \
2272 MPC8360EMDS_SLAVE_config \
2273 MPC8360EMDS_ATM_config: unconfig
2274 @mkdir -p $(obj)include
2275 @if [ "$(findstring _HOST_,$@)" ] ; then \
2276 $(XECHO) -n "... PCI HOST " ; \
2277 echo "#define CONFIG_PCI" >>$(obj)include/config.h ; \
2279 if [ "$(findstring _SLAVE_,$@)" ] ; then \
2280 $(XECHO) "...PCI SLAVE 66M" ; \
2281 echo "#define CONFIG_PCI" >>$(obj)include/config.h ; \
2282 echo "#define CONFIG_PCISLAVE" >>$(obj)include/config.h ; \
2284 if [ "$(findstring _33_,$@)" ] ; then \
2285 $(XECHO) -n "...33M ..." ; \
2286 echo "#define PCI_33M" >>$(obj)include/config.h ; \
2287 echo "#define CONFIG_PQ_MDS_PIB 1" >>$(obj)include/config.h ; \
2289 if [ "$(findstring _66_,$@)" ] ; then \
2290 $(XECHO) -n "...66M..." ; \
2291 echo "#define PCI_66M" >>$(obj)include/config.h ; \
2292 echo "#define CONFIG_PQ_MDS_PIB 1" >>$(obj)include/config.h ; \
2294 if [ "$(findstring _ATM_,$@)" ] ; then \
2295 $(XECHO) -n "...ATM..." ; \
2296 echo "#define CONFIG_PQ_MDS_PIB 1" >>$(obj)include/config.h ; \
2297 echo "#define CONFIG_PQ_MDS_PIB_ATM 1" >>$(obj)include/config.h ; \
2299 @$(MKCONFIG) -a MPC8360EMDS ppc mpc83xx mpc8360emds freescale
2301 MPC8360ERDK_33_config \
2302 MPC8360ERDK_66_config \
2303 MPC8360ERDK_config: unconfig
2304 @mkdir -p $(obj)include
2305 @if [ "$(findstring _33_,$@)" ] ; then \
2306 $(XECHO) -n "... CLKIN 33MHz " ; \
2307 echo "#define CONFIG_CLKIN_33MHZ" >>$(obj)include/config.h ;\
2309 @$(MKCONFIG) -a MPC8360ERDK ppc mpc83xx mpc8360erdk freescale
2311 MPC837XEMDS_config \
2312 MPC837XEMDS_HOST_config: unconfig
2313 @mkdir -p $(obj)include
2314 @if [ "$(findstring _HOST_,$@)" ] ; then \
2315 $(XECHO) -n "... PCI HOST " ; \
2316 echo "#define CONFIG_PCI" >>$(obj)include/config.h ; \
2318 @$(MKCONFIG) -a MPC837XEMDS ppc mpc83xx mpc837xemds freescale
2320 MPC837XERDB_config: unconfig
2321 @$(MKCONFIG) -a MPC837XERDB ppc mpc83xx mpc837xerdb freescale
2323 MVBLM7_config: unconfig
2324 @$(MKCONFIG) $(@:_config=) ppc mpc83xx mvblm7 matrix_vision
2326 sbc8349_config: unconfig
2327 @$(MKCONFIG) $(@:_config=) ppc mpc83xx sbc8349
2329 TQM834x_config: unconfig
2330 @$(MKCONFIG) $(@:_config=) ppc mpc83xx tqm834x tqc
2333 #########################################################################
2335 #########################################################################
2337 ATUM8548_config: unconfig
2338 @$(MKCONFIG) $(@:_config=) ppc mpc85xx atum8548
2340 MPC8536DS_config: unconfig
2341 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8536ds freescale
2343 MPC8540ADS_config: unconfig
2344 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8540ads freescale
2346 MPC8540EVAL_config \
2347 MPC8540EVAL_33_config \
2348 MPC8540EVAL_66_config \
2349 MPC8540EVAL_33_slave_config \
2350 MPC8540EVAL_66_slave_config: unconfig
2351 @mkdir -p $(obj)include
2352 @if [ "$(findstring _33_,$@)" ] ; then \
2353 $(XECHO) "... 33 MHz PCI" ; \
2355 echo "#define CONFIG_SYSCLK_66M" >>$(obj)include/config.h ; \
2356 $(XECHO) "... 66 MHz PCI" ; \
2358 if [ "$(findstring _slave_,$@)" ] ; then \
2359 echo "#define CONFIG_PCI_SLAVE" >>$(obj)include/config.h ; \
2360 $(XECHO) " slave" ; \
2362 $(XECHO) " host" ; \
2364 @$(MKCONFIG) -a MPC8540EVAL ppc mpc85xx mpc8540eval
2366 MPC8560ADS_config: unconfig
2367 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8560ads freescale
2369 MPC8541CDS_legacy_config \
2370 MPC8541CDS_config: unconfig
2371 @mkdir -p $(obj)include
2372 @if [ "$(findstring _legacy_,$@)" ] ; then \
2373 echo "#define CONFIG_LEGACY" >>$(obj)include/config.h ; \
2374 $(XECHO) "... legacy" ; \
2376 @$(MKCONFIG) -a MPC8541CDS ppc mpc85xx mpc8541cds freescale
2378 MPC8544DS_config: unconfig
2379 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8544ds freescale
2381 MPC8548CDS_legacy_config \
2382 MPC8548CDS_config: unconfig
2383 @mkdir -p $(obj)include
2384 @if [ "$(findstring _legacy_,$@)" ] ; then \
2385 echo "#define CONFIG_LEGACY" >>$(obj)include/config.h ; \
2386 $(XECHO) "... legacy" ; \
2388 @$(MKCONFIG) -a MPC8548CDS ppc mpc85xx mpc8548cds freescale
2390 MPC8555CDS_legacy_config \
2391 MPC8555CDS_config: unconfig
2392 @mkdir -p $(obj)include
2393 @if [ "$(findstring _legacy_,$@)" ] ; then \
2394 echo "#define CONFIG_LEGACY" >>$(obj)include/config.h ; \
2395 $(XECHO) "... legacy" ; \
2397 @$(MKCONFIG) -a MPC8555CDS ppc mpc85xx mpc8555cds freescale
2399 MPC8568MDS_config: unconfig
2400 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8568mds freescale
2402 MPC8572DS_config: unconfig
2403 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8572ds freescale
2405 PM854_config: unconfig
2406 @$(MKCONFIG) $(@:_config=) ppc mpc85xx pm854
2408 PM856_config: unconfig
2409 @$(MKCONFIG) $(@:_config=) ppc mpc85xx pm856
2413 sbc8540_66_config: unconfig
2414 @mkdir -p $(obj)include
2415 @if [ "$(findstring _66_,$@)" ] ; then \
2416 echo "#define CONFIG_PCI_66" >>$(obj)include/config.h ; \
2417 $(XECHO) "... 66 MHz PCI" ; \
2419 $(XECHO) "... 33 MHz PCI" ; \
2421 @$(MKCONFIG) -a SBC8540 ppc mpc85xx sbc8560
2423 sbc8548_config: unconfig
2424 @$(MKCONFIG) $(@:_config=) ppc mpc85xx sbc8548
2428 sbc8560_66_config: unconfig
2429 @mkdir -p $(obj)include
2430 @if [ "$(findstring _66_,$@)" ] ; then \
2431 echo "#define CONFIG_PCI_66" >>$(obj)include/config.h ; \
2432 $(XECHO) "... 66 MHz PCI" ; \
2434 $(XECHO) "... 33 MHz PCI" ; \
2436 @$(MKCONFIG) -a sbc8560 ppc mpc85xx sbc8560
2438 socrates_config: unconfig
2439 @$(MKCONFIG) $(@:_config=) ppc mpc85xx socrates
2441 stxgp3_config: unconfig
2442 @$(MKCONFIG) $(@:_config=) ppc mpc85xx stxgp3
2445 stxssa_4M_config: unconfig
2446 @mkdir -p $(obj)include
2447 @if [ "$(findstring _4M_,$@)" ] ; then \
2448 echo "#define CONFIG_STXSSA_4M" >>$(obj)include/config.h ; \
2449 $(XECHO) "... with 4 MiB flash memory" ; \
2451 @$(MKCONFIG) -a stxssa ppc mpc85xx stxssa
2457 TQM8560_config: unconfig
2458 @mkdir -p $(obj)include
2459 @CTYPE=$(subst TQM,,$(@:_config=)); \
2460 $(XECHO) "... TQM"$${CTYPE}; \
2461 echo "#define CONFIG_MPC$${CTYPE}">>$(obj)include/config.h; \
2462 echo "#define CONFIG_TQM$${CTYPE}">>$(obj)include/config.h; \
2463 echo "#define CONFIG_HOSTNAME tqm$${CTYPE}">>$(obj)include/config.h; \
2464 echo "#define CONFIG_BOARDNAME \"TQM$${CTYPE}\"">>$(obj)include/config.h;
2465 @$(MKCONFIG) -a TQM85xx ppc mpc85xx tqm85xx tqc
2467 #########################################################################
2469 #########################################################################
2471 MPC8610HPCD_config: unconfig
2472 @$(MKCONFIG) $(@:_config=) ppc mpc86xx mpc8610hpcd freescale
2474 MPC8641HPCN_36BIT_config \
2475 MPC8641HPCN_config: unconfig
2476 @mkdir -p $(obj)include
2477 @if [ "$(findstring _36BIT_,$@)" ] ; then \
2478 echo "#define CONFIG_PHYS_64BIT" >>$(obj)include/config.h ; \
2479 $(XECHO) "... enabling 36-bit physical addressing." ; \
2481 @$(MKCONFIG) -a MPC8641HPCN ppc mpc86xx mpc8641hpcn freescale
2483 sbc8641d_config: unconfig
2484 @$(MKCONFIG) $(@:_config=) ppc mpc86xx sbc8641d
2486 #########################################################################
2488 #########################################################################
2490 AmigaOneG3SE_config: unconfig
2491 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx AmigaOneG3SE MAI
2493 BAB7xx_config: unconfig
2494 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx bab7xx eltec
2496 CPCI750_config: unconfig
2497 @$(MKCONFIG) CPCI750 ppc 74xx_7xx cpci750 esd
2499 DB64360_config: unconfig
2500 @$(MKCONFIG) DB64360 ppc 74xx_7xx db64360 Marvell
2502 DB64460_config: unconfig
2503 @$(MKCONFIG) DB64460 ppc 74xx_7xx db64460 Marvell
2505 ELPPC_config: unconfig
2506 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx elppc eltec
2509 EVB64260_750CX_config: unconfig
2510 @$(MKCONFIG) EVB64260 ppc 74xx_7xx evb64260
2512 mpc7448hpc2_config: unconfig
2513 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx mpc7448hpc2 freescale
2515 P3G4_config: unconfig
2516 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx evb64260
2519 p3m7448_config: unconfig
2520 @mkdir -p $(obj)include
2521 @if [ "$(findstring 750_,$@)" ] ; then \
2522 echo "#define CONFIG_P3M750" >>$(obj)include/config.h ; \
2524 echo "#define CONFIG_P3M7448" >>$(obj)include/config.h ; \
2526 @$(MKCONFIG) -a p3mx ppc 74xx_7xx p3mx prodrive
2529 PCIPPC6_config: unconfig
2530 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx pcippc2
2532 ppmc7xx_config: unconfig
2533 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx ppmc7xx
2535 ZUMA_config: unconfig
2536 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx evb64260
2538 #========================================================================
2540 #========================================================================
2541 #########################################################################
2542 ## StrongARM Systems
2543 #########################################################################
2545 assabet_config : unconfig
2546 @$(MKCONFIG) $(@:_config=) arm sa1100 assabet
2548 dnp1110_config : unconfig
2549 @$(MKCONFIG) $(@:_config=) arm sa1100 dnp1110
2551 gcplus_config : unconfig
2552 @$(MKCONFIG) $(@:_config=) arm sa1100 gcplus
2554 lart_config : unconfig
2555 @$(MKCONFIG) $(@:_config=) arm sa1100 lart
2557 shannon_config : unconfig
2558 @$(MKCONFIG) $(@:_config=) arm sa1100 shannon
2560 #########################################################################
2562 #########################################################################
2564 #########################################################################
2565 ## Atmel AT91RM9200 Systems
2566 #########################################################################
2568 at91rm9200dk_config : unconfig
2569 @$(MKCONFIG) $(@:_config=) arm arm920t at91rm9200dk atmel at91rm9200
2571 cmc_pu2_config : unconfig
2572 @$(MKCONFIG) $(@:_config=) arm arm920t cmc_pu2 NULL at91rm9200
2574 csb637_config : unconfig
2575 @$(MKCONFIG) $(@:_config=) arm arm920t csb637 NULL at91rm9200
2577 kb9202_config : unconfig
2578 @$(MKCONFIG) $(@:_config=) arm arm920t kb9202 NULL at91rm9200
2580 m501sk_config : unconfig
2581 @$(MKCONFIG) $(@:_config=) arm arm920t m501sk NULL at91rm9200
2583 mp2usb_config : unconfig
2584 @$(MKCONFIG) $(@:_config=) arm arm920t mp2usb NULL at91rm9200
2586 #########################################################################
2587 ## Atmel ARM926EJ-S Systems
2588 #########################################################################
2590 afeb9260_config: unconfig
2591 @$(MKCONFIG) $(@:_config=) arm arm926ejs afeb9260 NULL at91
2593 at91cap9adk_config : unconfig
2594 @$(MKCONFIG) $(@:_config=) arm arm926ejs at91cap9adk atmel at91
2596 at91sam9260ek_config : unconfig
2597 @$(MKCONFIG) $(@:_config=) arm arm926ejs at91sam9260ek atmel at91
2599 at91sam9261ek_config : unconfig
2600 @$(MKCONFIG) $(@:_config=) arm arm926ejs at91sam9261ek atmel at91
2602 at91sam9263ek_config : unconfig
2603 @$(MKCONFIG) $(@:_config=) arm arm926ejs at91sam9263ek atmel at91
2605 at91sam9rlek_config : unconfig
2606 @$(MKCONFIG) $(@:_config=) arm arm926ejs at91sam9rlek atmel at91
2608 ########################################################################
2609 ## ARM Integrator boards - see doc/README-integrator for more info.
2610 integratorap_config \
2619 ap946es_config: unconfig
2620 @board/integratorap/split_by_variant.sh $@
2622 integratorcp_config \
2631 cp1026_config: unconfig
2632 @board/integratorcp/split_by_variant.sh $@
2634 davinci_dvevm_config : unconfig
2635 @$(MKCONFIG) $(@:_config=) arm arm926ejs dvevm davinci davinci
2637 davinci_schmoogie_config : unconfig
2638 @$(MKCONFIG) $(@:_config=) arm arm926ejs schmoogie davinci davinci
2640 davinci_sffsdr_config : unconfig
2641 @$(MKCONFIG) $(@:_config=) arm arm926ejs sffsdr davinci davinci
2643 davinci_sonata_config : unconfig
2644 @$(MKCONFIG) $(@:_config=) arm arm926ejs sonata davinci davinci
2647 lpd7a404_config: unconfig
2648 @$(MKCONFIG) $(@:_config=) arm lh7a40x lpd7a40x
2650 mx1ads_config : unconfig
2651 @$(MKCONFIG) $(@:_config=) arm arm920t mx1ads NULL imx
2653 mx1fs2_config : unconfig
2654 @$(MKCONFIG) $(@:_config=) arm arm920t mx1fs2 NULL imx
2656 netstar_config: unconfig
2657 @$(MKCONFIG) $(@:_config=) arm arm925t netstar
2659 omap1510inn_config : unconfig
2660 @$(MKCONFIG) $(@:_config=) arm arm925t omap1510inn
2662 xtract_omap1610xxx = $(subst _cs0boot,,$(subst _cs3boot,,$(subst _cs_autoboot,,$(subst _config,,$1))))
2664 omap1610inn_config \
2665 omap1610inn_cs0boot_config \
2666 omap1610inn_cs3boot_config \
2667 omap1610inn_cs_autoboot_config \
2669 omap1610h2_cs0boot_config \
2670 omap1610h2_cs3boot_config \
2671 omap1610h2_cs_autoboot_config: unconfig
2672 @mkdir -p $(obj)include
2673 @if [ "$(findstring _cs0boot_, $@)" ] ; then \
2674 echo "#define CONFIG_CS0_BOOT" >> .$(obj)include/config.h ; \
2675 $(XECHO) "... configured for CS0 boot"; \
2676 elif [ "$(findstring _cs_autoboot_, $@)" ] ; then \
2677 echo "#define CONFIG_CS_AUTOBOOT" >> $(obj)include/config.h ; \
2678 $(XECHO) "... configured for CS_AUTO boot"; \
2680 echo "#define CONFIG_CS3_BOOT" >> $(obj)include/config.h ; \
2681 $(XECHO) "... configured for CS3 boot"; \
2683 @$(MKCONFIG) -a $(call xtract_omap1610xxx,$@) arm arm926ejs omap1610inn NULL omap
2685 omap5912osk_config : unconfig
2686 @$(MKCONFIG) $(@:_config=) arm arm926ejs omap5912osk NULL omap
2688 xtract_omap730p2 = $(subst _cs0boot,,$(subst _cs3boot,, $(subst _config,,$1)))
2691 omap730p2_cs0boot_config \
2692 omap730p2_cs3boot_config : unconfig
2693 @mkdir -p $(obj)include
2694 @if [ "$(findstring _cs0boot_, $@)" ] ; then \
2695 echo "#define CONFIG_CS0_BOOT" >> $(obj)include/config.h ; \
2696 $(XECHO) "... configured for CS0 boot"; \
2698 echo "#define CONFIG_CS3_BOOT" >> $(obj)include/config.h ; \
2699 $(XECHO) "... configured for CS3 boot"; \
2701 @$(MKCONFIG) -a $(call xtract_omap730p2,$@) arm arm926ejs omap730p2 NULL omap
2703 sbc2410x_config: unconfig
2704 @$(MKCONFIG) $(@:_config=) arm arm920t sbc2410x NULL s3c24x0
2706 scb9328_config : unconfig
2707 @$(MKCONFIG) $(@:_config=) arm arm920t scb9328 NULL imx
2709 smdk2400_config : unconfig
2710 @$(MKCONFIG) $(@:_config=) arm arm920t smdk2400 NULL s3c24x0
2712 smdk2410_config : unconfig
2713 @$(MKCONFIG) $(@:_config=) arm arm920t smdk2410 NULL s3c24x0
2715 SX1_config : unconfig
2716 @$(MKCONFIG) $(@:_config=) arm arm925t sx1
2718 # TRAB default configuration: 8 MB Flash, 32 MB RAM
2719 xtract_trab = $(subst _bigram,,$(subst _bigflash,,$(subst _old,,$(subst _config,,$1))))
2722 trab_bigram_config \
2723 trab_bigflash_config \
2724 trab_old_config: unconfig
2725 @mkdir -p $(obj)include
2726 @mkdir -p $(obj)board/trab
2727 @[ -z "$(findstring _bigram,$@)" ] || \
2728 { echo "#define CONFIG_FLASH_8MB" >>$(obj)include/config.h ; \
2729 echo "#define CONFIG_RAM_32MB" >>$(obj)include/config.h ; \
2730 $(XECHO) "... with 8 MB Flash, 32 MB RAM" ; \
2732 @[ -z "$(findstring _bigflash,$@)" ] || \
2733 { echo "#define CONFIG_FLASH_16MB" >>$(obj)include/config.h ; \
2734 echo "#define CONFIG_RAM_16MB" >>$(obj)include/config.h ; \
2735 $(XECHO) "... with 16 MB Flash, 16 MB RAM" ; \
2736 echo "TEXT_BASE = 0x0CF40000" >$(obj)board/trab/config.tmp ; \
2738 @[ -z "$(findstring _old,$@)" ] || \
2739 { echo "#define CONFIG_FLASH_8MB" >>$(obj)include/config.h ; \
2740 echo "#define CONFIG_RAM_16MB" >>$(obj)include/config.h ; \
2741 $(XECHO) "... with 8 MB Flash, 16 MB RAM" ; \
2742 echo "TEXT_BASE = 0x0CF40000" >$(obj)board/trab/config.tmp ; \
2744 @$(MKCONFIG) -a $(call xtract_trab,$@) arm arm920t trab NULL s3c24x0
2746 VCMA9_config : unconfig
2747 @$(MKCONFIG) $(@:_config=) arm arm920t vcma9 mpl s3c24x0
2749 #########################################################################
2750 # ARM supplied Versatile development boards
2751 #########################################################################
2753 cm4008_config : unconfig
2754 @$(MKCONFIG) $(@:_config=) arm arm920t cm4008 NULL ks8695
2756 cm41xx_config : unconfig
2757 @$(MKCONFIG) $(@:_config=) arm arm920t cm41xx NULL ks8695
2760 versatileab_config \
2761 versatilepb_config : unconfig
2762 @board/versatile/split_by_variant.sh $@
2764 voiceblue_config: unconfig
2765 @$(MKCONFIG) $(@:_config=) arm arm925t voiceblue
2767 #########################################################################
2769 #########################################################################
2771 B2_config : unconfig
2772 @$(MKCONFIG) $(@:_config=) arm s3c44b0 B2 dave
2774 #########################################################################
2776 #########################################################################
2778 armadillo_config: unconfig
2779 @$(MKCONFIG) $(@:_config=) arm arm720t armadillo
2781 ep7312_config : unconfig
2782 @$(MKCONFIG) $(@:_config=) arm arm720t ep7312
2784 impa7_config : unconfig
2785 @$(MKCONFIG) $(@:_config=) arm arm720t impa7
2787 modnet50_config : unconfig
2788 @$(MKCONFIG) $(@:_config=) arm arm720t modnet50
2790 evb4510_config : unconfig
2791 @$(MKCONFIG) $(@:_config=) arm arm720t evb4510
2793 lpc2292sodimm_config: unconfig
2794 @$(MKCONFIG) $(@:_config=) arm arm720t lpc2292sodimm NULL lpc2292
2796 SMN42_config : unconfig
2797 @$(MKCONFIG) $(@:_config=) arm arm720t SMN42 siemens lpc2292
2799 #########################################################################
2801 #########################################################################
2803 actux1_config : unconfig
2804 @$(MKCONFIG) $(@:_config=) arm ixp actux1
2806 actux2_config : unconfig
2807 @$(MKCONFIG) $(@:_config=) arm ixp actux2
2809 actux3_config : unconfig
2810 @$(MKCONFIG) $(@:_config=) arm ixp actux3
2812 actux4_config : unconfig
2813 @$(MKCONFIG) $(@:_config=) arm ixp actux4
2815 cerf250_config : unconfig
2816 @$(MKCONFIG) $(@:_config=) arm pxa cerf250
2818 cradle_config : unconfig
2819 @$(MKCONFIG) $(@:_config=) arm pxa cradle
2821 csb226_config : unconfig
2822 @$(MKCONFIG) $(@:_config=) arm pxa csb226
2824 delta_config : unconfig
2825 @$(MKCONFIG) $(@:_config=) arm pxa delta
2827 innokom_config : unconfig
2828 @$(MKCONFIG) $(@:_config=) arm pxa innokom
2830 ixdp425_config : unconfig
2831 @$(MKCONFIG) $(@:_config=) arm ixp ixdp425
2833 ixdpg425_config : unconfig
2834 @$(MKCONFIG) $(@:_config=) arm ixp ixdp425
2836 lubbock_config : unconfig
2837 @$(MKCONFIG) $(@:_config=) arm pxa lubbock
2839 pleb2_config : unconfig
2840 @$(MKCONFIG) $(@:_config=) arm pxa pleb2
2842 logodl_config : unconfig
2843 @$(MKCONFIG) $(@:_config=) arm pxa logodl
2846 scpu_config: unconfig
2847 @mkdir -p $(obj)include
2848 @if [ "$(findstring scpu_,$@)" ] ; then \
2849 echo "#define CONFIG_SCPU" >>$(obj)include/config.h ; \
2850 $(XECHO) "... on SCPU board variant" ; \
2852 @$(MKCONFIG) -a pdnb3 arm ixp pdnb3 prodrive
2854 pxa255_idp_config: unconfig
2855 @$(MKCONFIG) $(@:_config=) arm pxa pxa255_idp
2857 trizepsiv_config : unconfig
2858 @$(MKCONFIG) $(@:_config=) arm pxa trizepsiv
2860 wepep250_config : unconfig
2861 @$(MKCONFIG) $(@:_config=) arm pxa wepep250
2863 xaeniax_config : unconfig
2864 @$(MKCONFIG) $(@:_config=) arm pxa xaeniax
2866 xm250_config : unconfig
2867 @$(MKCONFIG) $(@:_config=) arm pxa xm250
2869 xsengine_config : unconfig
2870 @$(MKCONFIG) $(@:_config=) arm pxa xsengine
2873 @$(MKCONFIG) $(@:_config=) arm pxa zylonite
2875 #########################################################################
2877 #########################################################################
2879 apollon_config : unconfig
2880 @mkdir -p $(obj)include
2881 @mkdir -p $(obj)onenand_ipl/board/apollon
2882 @echo "#define CONFIG_ONENAND_U_BOOT" > $(obj)include/config.h
2883 @$(MKCONFIG) $(@:_config=) arm arm1136 apollon NULL omap24xx
2884 @echo "CONFIG_ONENAND_U_BOOT = y" >> $(obj)include/config.mk
2886 imx31_litekit_config : unconfig
2887 @$(MKCONFIG) $(@:_config=) arm arm1136 imx31_litekit NULL mx31
2889 imx31_phycore_config : unconfig
2890 @$(MKCONFIG) $(@:_config=) arm arm1136 imx31_phycore NULL mx31
2892 mx31ads_config : unconfig
2893 @$(MKCONFIG) $(@:_config=) arm arm1136 mx31ads freescale mx31
2895 omap2420h4_config : unconfig
2896 @$(MKCONFIG) $(@:_config=) arm arm1136 omap2420h4 NULL omap24xx
2898 #########################################################################
2900 #########################################################################
2901 smdk6400_noUSB_config \
2902 smdk6400_config : unconfig
2903 @mkdir -p $(obj)include $(obj)board/samsung/smdk6400
2904 @mkdir -p $(obj)nand_spl/board/samsung/smdk6400
2905 @echo "#define CONFIG_NAND_U_BOOT" > $(obj)include/config.h
2906 @if [ -z "$(findstring smdk6400_noUSB_config,$@)" ]; then \
2907 echo "RAM_TEXT = 0x57e00000" >> $(obj)board/samsung/smdk6400/config.tmp;\
2908 $(MKCONFIG) $(@:_config=) arm arm1176 smdk6400 samsung s3c64xx; \
2910 echo "RAM_TEXT = 0xc7e00000" >> $(obj)board/samsung/smdk6400/config.tmp;\
2911 $(MKCONFIG) $(@:_noUSB_config=) arm arm1176 smdk6400 samsung s3c64xx; \
2913 @echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk
2915 #========================================================================
2917 #========================================================================
2918 #########################################################################
2920 #########################################################################
2921 sc520_cdp_config : unconfig
2922 @$(MKCONFIG) $(@:_config=) i386 i386 sc520_cdp
2924 sc520_spunk_config : unconfig
2925 @$(MKCONFIG) $(@:_config=) i386 i386 sc520_spunk
2927 sc520_spunk_rel_config : unconfig
2928 @$(MKCONFIG) $(@:_config=) i386 i386 sc520_spunk
2930 #========================================================================
2932 #========================================================================
2933 #########################################################################
2935 #########################################################################
2937 xtract_incaip = $(subst _100MHz,,$(subst _133MHz,,$(subst _150MHz,,$(subst _config,,$1))))
2939 incaip_100MHz_config \
2940 incaip_133MHz_config \
2941 incaip_150MHz_config \
2942 incaip_config: unconfig
2943 @mkdir -p $(obj)include
2944 @[ -z "$(findstring _100MHz,$@)" ] || \
2945 { echo "#define CPU_CLOCK_RATE 100000000" >>$(obj)include/config.h ; \
2946 $(XECHO) "... with 100MHz system clock" ; \
2948 @[ -z "$(findstring _133MHz,$@)" ] || \
2949 { echo "#define CPU_CLOCK_RATE 133000000" >>$(obj)include/config.h ; \
2950 $(XECHO) "... with 133MHz system clock" ; \
2952 @[ -z "$(findstring _150MHz,$@)" ] || \
2953 { echo "#define CPU_CLOCK_RATE 150000000" >>$(obj)include/config.h ; \
2954 $(XECHO) "... with 150MHz system clock" ; \
2956 @$(MKCONFIG) -a $(call xtract_incaip,$@) mips mips incaip
2958 tb0229_config: unconfig
2959 @$(MKCONFIG) $(@:_config=) mips mips tb0229
2961 #########################################################################
2963 #########################################################################
2965 dbau1000_config : unconfig
2966 @mkdir -p $(obj)include
2967 @echo "#define CONFIG_DBAU1000 1" >$(obj)include/config.h
2968 @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00
2970 dbau1100_config : unconfig
2971 @mkdir -p $(obj)include
2972 @echo "#define CONFIG_DBAU1100 1" >$(obj)include/config.h
2973 @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00
2975 dbau1500_config : unconfig
2976 @mkdir -p $(obj)include
2977 @echo "#define CONFIG_DBAU1500 1" >$(obj)include/config.h
2978 @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00
2980 dbau1550_config : unconfig
2981 @mkdir -p $(obj)include
2982 @echo "#define CONFIG_DBAU1550 1" >$(obj)include/config.h
2983 @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00
2985 dbau1550_el_config : unconfig
2986 @mkdir -p $(obj)include
2987 @echo "#define CONFIG_DBAU1550 1" >$(obj)include/config.h
2988 @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00
2990 gth2_config : unconfig
2991 @mkdir -p $(obj)include
2992 @echo "#define CONFIG_GTH2 1" >$(obj)include/config.h
2993 @$(MKCONFIG) -a gth2 mips mips gth2
2995 pb1000_config : unconfig
2996 @mkdir -p $(obj)include
2997 @echo "#define CONFIG_PB1000 1" >$(obj)include/config.h
2998 @$(MKCONFIG) -a pb1x00 mips mips pb1x00
3000 qemu_mips_config : unconfig
3001 @mkdir -p $(obj)include
3002 @echo "#define CONFIG_QEMU_MIPS 1" >$(obj)include/config.h
3003 @$(MKCONFIG) -a qemu-mips mips mips qemu-mips
3005 #########################################################################
3007 #########################################################################
3009 purple_config : unconfig
3010 @$(MKCONFIG) $(@:_config=) mips mips purple
3012 #========================================================================
3014 #========================================================================
3015 #########################################################################
3017 #########################################################################
3019 ADNPESC1_DNPEVA2_base_32_config \
3020 ADNPESC1_base_32_config \
3021 ADNPESC1_config: unconfig
3022 @mkdir -p $(obj)include
3023 @[ -z "$(findstring _DNPEVA2,$@)" ] || \
3024 { echo "#define CONFIG_DNPEVA2 1" >>$(obj)include/config.h ; \
3025 $(XECHO) "... DNP/EVA2 configuration" ; \
3027 @[ -z "$(findstring _base_32,$@)" ] || \
3028 { echo "#define CONFIG_NIOS_BASE_32 1" >>$(obj)include/config.h ; \
3029 $(XECHO) "... NIOS 'base_32' configuration" ; \
3031 @[ -z "$(findstring ADNPESC1_config,$@)" ] || \
3032 { echo "#define CONFIG_NIOS_BASE_32 1" >>$(obj)include/config.h ; \
3033 $(XECHO) "... NIOS 'base_32' configuration (DEFAULT)" ; \
3035 @$(MKCONFIG) -a ADNPESC1 nios nios adnpesc1 ssv
3037 DK1C20_safe_32_config \
3038 DK1C20_standard_32_config \
3039 DK1C20_config: unconfig
3040 @mkdir -p $(obj)include
3041 @[ -z "$(findstring _safe_32,$@)" ] || \
3042 { echo "#define CONFIG_NIOS_SAFE_32 1" >>$(obj)include/config.h ; \
3043 $(XECHO) "... NIOS 'safe_32' configuration" ; \
3045 @[ -z "$(findstring _standard_32,$@)" ] || \
3046 { echo "#define CONFIG_NIOS_STANDARD_32 1" >>$(obj)include/config.h ; \
3047 $(XECHO) "... NIOS 'standard_32' configuration" ; \
3049 @[ -z "$(findstring DK1C20_config,$@)" ] || \
3050 { echo "#define CONFIG_NIOS_STANDARD_32 1" >>$(obj)include/config.h ; \
3051 $(XECHO) "... NIOS 'standard_32' configuration (DEFAULT)" ; \
3053 @$(MKCONFIG) -a DK1C20 nios nios dk1c20 altera
3055 DK1S10_safe_32_config \
3056 DK1S10_standard_32_config \
3057 DK1S10_mtx_ldk_20_config \
3058 DK1S10_config: unconfig
3059 @mkdir -p $(obj)include
3060 @[ -z "$(findstring _safe_32,$@)" ] || \
3061 { echo "#define CONFIG_NIOS_SAFE_32 1" >>$(obj)include/config.h ; \
3062 $(XECHO) "... NIOS 'safe_32' configuration" ; \
3064 @[ -z "$(findstring _standard_32,$@)" ] || \
3065 { echo "#define CONFIG_NIOS_STANDARD_32 1" >>$(obj)include/config.h ; \
3066 $(XECHO) "... NIOS 'standard_32' configuration" ; \
3068 @[ -z "$(findstring _mtx_ldk_20,$@)" ] || \
3069 { echo "#define CONFIG_NIOS_MTX_LDK_20 1" >>$(obj)include/config.h ; \
3070 $(XECHO) "... NIOS 'mtx_ldk_20' configuration" ; \
3072 @[ -z "$(findstring DK1S10_config,$@)" ] || \
3073 { echo "#define CONFIG_NIOS_STANDARD_32 1" >>$(obj)include/config.h ; \
3074 $(XECHO) "... NIOS 'standard_32' configuration (DEFAULT)" ; \
3076 @$(MKCONFIG) -a DK1S10 nios nios dk1s10 altera
3078 #########################################################################
3080 #########################################################################
3082 EP1C20_config : unconfig
3083 @$(MKCONFIG) EP1C20 nios2 nios2 ep1c20 altera
3085 EP1S10_config : unconfig
3086 @$(MKCONFIG) EP1S10 nios2 nios2 ep1s10 altera
3088 EP1S40_config : unconfig
3089 @$(MKCONFIG) EP1S40 nios2 nios2 ep1s40 altera
3091 PK1C20_config : unconfig
3092 @$(MKCONFIG) PK1C20 nios2 nios2 pk1c20 psyent
3094 PCI5441_config : unconfig
3095 @$(MKCONFIG) PCI5441 nios2 nios2 pci5441 psyent
3097 #========================================================================
3099 #========================================================================
3101 ml401_config: unconfig
3102 @mkdir -p $(obj)include
3103 @echo "#define CONFIG_ML401 1" > $(obj)include/config.h
3104 @$(MKCONFIG) -a $(@:_config=) microblaze microblaze ml401 xilinx
3106 suzaku_config: unconfig
3107 @mkdir -p $(obj)include
3108 @echo "#define CONFIG_SUZAKU 1" > $(obj)include/config.h
3109 @$(MKCONFIG) -a $(@:_config=) microblaze microblaze suzaku AtmarkTechno
3111 xupv2p_config: unconfig
3112 @mkdir -p $(obj)include
3113 @echo "#define CONFIG_XUPV2P 1" > $(obj)include/config.h
3114 @$(MKCONFIG) -a $(@:_config=) microblaze microblaze xupv2p xilinx
3116 #========================================================================
3118 #========================================================================
3120 # Analog Devices boards
3121 BFIN_BOARDS = bf533-ezkit bf533-stamp bf537-stamp bf561-ezkit
3123 $(BFIN_BOARDS:%=%_config) : unconfig
3124 @$(MKCONFIG) $(@:_config=) blackfin blackfin $(@:_config=)
3130 #========================================================================
3132 #========================================================================
3134 atngw100_config : unconfig
3135 @$(MKCONFIG) $(@:_config=) avr32 at32ap atngw100 atmel at32ap700x
3137 atstk1002_config : unconfig
3138 @$(MKCONFIG) $(@:_config=) avr32 at32ap atstk1000 atmel at32ap700x
3140 atstk1003_config : unconfig
3141 @$(MKCONFIG) $(@:_config=) avr32 at32ap atstk1000 atmel at32ap700x
3143 atstk1004_config : unconfig
3144 @$(MKCONFIG) $(@:_config=) avr32 at32ap atstk1000 atmel at32ap700x
3146 atstk1006_config : unconfig
3147 @$(MKCONFIG) $(@:_config=) avr32 at32ap atstk1000 atmel at32ap700x
3149 favr-32-ezkit_config : unconfig
3150 @$(MKCONFIG) $(@:_config=) avr32 at32ap favr-32-ezkit earthlcd at32ap700x
3152 hammerhead_config : unconfig
3153 @$(MKCONFIG) $(@:_config=) avr32 at32ap hammerhead miromico at32ap700x
3155 mimc200_config : unconfig
3156 @$(MKCONFIG) $(@:_config=) avr32 at32ap mimc200 mimc at32ap700x
3158 #========================================================================
3160 #========================================================================
3162 #########################################################################
3163 ## sh2 (Renesas SuperH)
3164 #########################################################################
3165 rsk7203_config: unconfig
3167 @echo "#define CONFIG_RSK7203 1" >> include/config.h
3168 @./mkconfig -a $(@:_config=) sh sh2 rsk7203 renesas
3170 #########################################################################
3171 ## sh3 (Renesas SuperH)
3172 #########################################################################
3174 mpr2_config: unconfig
3175 @mkdir -p $(obj)include
3176 @echo "#define CONFIG_MPR2 1" > $(obj)include/config.h
3177 @$(MKCONFIG) -a $(@:_config=) sh sh3 mpr2
3179 ms7720se_config: unconfig
3180 @mkdir -p $(obj)include
3181 @echo "#define CONFIG_MS7720SE 1" > $(obj)include/config.h
3182 @$(MKCONFIG) -a $(@:_config=) sh sh3 ms7720se
3184 #########################################################################
3185 ## sh4 (Renesas SuperH)
3186 #########################################################################
3188 MigoR_config : unconfig
3189 @mkdir -p $(obj)include
3190 @echo "#define CONFIG_MIGO_R 1" > $(obj)include/config.h
3191 @./mkconfig -a $(@:_config=) sh sh4 MigoR renesas
3193 ms7750se_config: unconfig
3194 @mkdir -p $(obj)include
3195 @echo "#define CONFIG_MS7750SE 1" > $(obj)include/config.h
3196 @$(MKCONFIG) -a $(@:_config=) sh sh4 ms7750se
3198 ms7722se_config : unconfig
3199 @mkdir -p $(obj)include
3200 @echo "#define CONFIG_MS7722SE 1" > $(obj)include/config.h
3201 @$(MKCONFIG) -a $(@:_config=) sh sh4 ms7722se
3203 r2dplus_config : unconfig
3204 @mkdir -p $(obj)include
3205 @echo "#define CONFIG_R2DPLUS 1" > $(obj)include/config.h
3206 @$(MKCONFIG) -a $(@:_config=) sh sh4 r2dplus renesas
3208 r7780mp_config: unconfig
3209 @mkdir -p $(obj)include
3210 @echo "#define CONFIG_R7780MP 1" > $(obj)include/config.h
3211 @$(MKCONFIG) -a $(@:_config=) sh sh4 r7780mp renesas
3213 sh7763rdp_config : unconfig
3214 @mkdir -p $(obj)include
3215 @echo "#define CONFIG_SH7763RDP 1" > $(obj)include/config.h
3216 @$(MKCONFIG) -a $(@:_config=) sh sh4 sh7763rdp renesas
3218 sh7785lcr_config : unconfig
3220 @echo "#define CONFIG_SH7785LCR 1" >> include/config.h
3221 @$(MKCONFIG) -a $(@:_config=) sh sh4 sh7785lcr renesas
3223 ap325rxa_config : unconfig
3224 @mkdir -p $(obj)include
3225 @echo "#define CONFIG_AP325RXA 1" > $(obj)include/config.h
3226 @$(MKCONFIG) -a $(@:_config=) sh sh4 ap325rxa renesas
3228 #========================================================================
3230 #========================================================================
3232 #########################################################################
3234 #########################################################################
3236 # Gaisler GR-XC3S-1500 board
3237 gr_xc3s_1500_config : unconfig
3238 @$(MKCONFIG) $(@:_config=) sparc leon3 gr_xc3s_1500 gaisler
3240 # Gaisler GR-CPCI-AX2000 board, a General purpose FPGA-AX system
3241 gr_cpci_ax2000_config : unconfig
3242 @$(MKCONFIG) $(@:_config=) sparc leon3 gr_cpci_ax2000 gaisler
3244 # Gaisler GRLIB template design (GPL SPARC/LEON3) for Altera NIOS
3245 # Development board Stratix II edition, FPGA Device EP2S60.
3246 gr_ep2s60_config: unconfig
3247 @$(MKCONFIG) $(@:_config=) sparc leon3 gr_ep2s60 gaisler
3249 # Gaisler LEON3 GRSIM simulator
3250 grsim_config : unconfig
3251 @$(MKCONFIG) $(@:_config=) sparc leon3 grsim gaisler
3253 #########################################################################
3255 #########################################################################
3257 # Gaisler LEON2 GRSIM simulator
3258 grsim_leon2_config : unconfig
3259 @$(MKCONFIG) $(@:_config=) sparc leon2 grsim_leon2 gaisler
3261 #########################################################################
3262 #########################################################################
3263 #########################################################################
3266 @rm -f $(obj)examples/82559_eeprom $(obj)examples/eepro100_eeprom \
3267 $(obj)examples/hello_world $(obj)examples/interrupt \
3268 $(obj)examples/mem_to_mem_idma2intr \
3269 $(obj)examples/sched $(obj)examples/smc91111_eeprom \
3270 $(obj)examples/test_burst $(obj)examples/timer
3271 @rm -f $(obj)tools/bmp_logo $(obj)tools/easylogo/easylogo \
3272 $(obj)tools/env/{fw_printenv,fw_setenv} \
3273 $(obj)tools/envcrc \
3274 $(obj)tools/gdb/{astest,gdbcont,gdbsend} \
3275 $(obj)tools/gen_eth_addr $(obj)tools/img2srec \
3276 $(obj)tools/mkimage $(obj)tools/mpc86x_clk \
3277 $(obj)tools/ncb $(obj)tools/ubsha1
3278 @rm -f $(obj)board/cray/L1/{bootscript.c,bootscript.image} \
3279 $(obj)board/netstar/{eeprom,crcek,crcit,*.srec,*.bin} \
3280 $(obj)board/trab/trab_fkt $(obj)board/voiceblue/eeprom \
3281 $(obj)board/{integratorap,integratorcp}/u-boot.lds \
3282 $(obj)board/{bf533-ezkit,bf533-stamp,bf537-stamp,bf561-ezkit}/u-boot.lds \
3283 $(obj)cpu/blackfin/bootrom-asm-offsets.[chs]
3284 @rm -f $(obj)include/bmp_logo.h
3285 @rm -f $(obj)nand_spl/{u-boot-spl,u-boot-spl.map,System.map}
3286 @rm -f $(obj)onenand_ipl/onenand-{ipl,ipl.bin,ipl-2k.bin,ipl-4k.bin,ipl.map}
3287 @rm -f $(obj)api_examples/demo $(TIMESTAMP_FILE) $(VERSION_FILE)
3288 @find $(OBJTREE) -type f \
3289 \( -name 'core' -o -name '*.bak' -o -name '*~' \
3290 -o -name '*.o' -o -name '*.a' \) -print \
3294 @find $(OBJTREE) -type f \( -name .depend \
3295 -o -name '*.srec' -o -name '*.bin' -o -name u-boot.img \) \
3298 @rm -f $(OBJS) $(obj)*.bak $(obj)ctags $(obj)etags $(obj)TAGS \
3299 $(obj)cscope.* $(obj)*.*~
3300 @rm -f $(obj)u-boot $(obj)u-boot.map $(obj)u-boot.hex $(ALL)
3301 @rm -f $(obj)tools/{crc32.c,env_embedded.c,env/crc32.c,md5.c,sha1.c,inca-swap-bytes}
3302 @rm -f $(obj)tools/{image.c,fdt.c,fdt_ro.c,fdt_rw.c,fdt_strerror.c,zlib.h}
3303 @rm -f $(obj)tools/{fdt_wip.c,libfdt_internal.h}
3304 @rm -f $(obj)cpu/mpc824x/bedbug_603e.c
3305 @rm -f $(obj)include/asm/proc $(obj)include/asm/arch $(obj)include/asm
3306 @[ ! -d $(obj)nand_spl ] || find $(obj)nand_spl -name "*" -type l -print | xargs rm -f
3307 @[ ! -d $(obj)onenand_ipl ] || find $(obj)onenand_ipl -name "*" -type l -print | xargs rm -f
3308 @[ ! -d $(obj)api_examples ] || find $(obj)api_examples -name "*" -type l -print | xargs rm -f
3310 ifeq ($(OBJTREE),$(SRCTREE))
3312 distclean: clobber unconfig
3315 distclean: clobber unconfig
3320 F=`basename $(TOPDIR)` ; cd .. ; \
3321 gtar --force-local -zcvf `date "+$$F-%Y-%m-%d-%T.tar.gz"` $$F
3323 #########################################################################