2 # (C) Copyright 2000-2009
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 # The "tools" are needed early, so put this first
141 # Don't include stuff already done in $(LIBS)
143 examples/standalone \
148 ifeq ($(obj)include/config.mk,$(wildcard $(obj)include/config.mk))
150 # Include autoconf.mk before config.mk so that the config options are available
151 # to all top level build files. We need the dummy all: target to prevent the
152 # dependency target in autoconf.mk.dep from being the default.
154 sinclude $(obj)include/autoconf.mk.dep
155 sinclude $(obj)include/autoconf.mk
157 # load ARCH, BOARD, and CPU configuration
158 include $(obj)include/config.mk
159 export ARCH CPU BOARD VENDOR SOC
161 # set default to nothing for native builds
162 ifeq ($(HOSTARCH),$(ARCH))
166 # load other configuration
167 include $(TOPDIR)/config.mk
169 #########################################################################
170 # U-Boot objects....order is important (i.e. start must be first)
172 OBJS = cpu/$(CPU)/start.o
174 OBJS += cpu/$(CPU)/start16.o
175 OBJS += cpu/$(CPU)/resetvec.o
178 OBJS += cpu/$(CPU)/resetvec.o
180 ifeq ($(CPU),mpc85xx)
181 OBJS += cpu/$(CPU)/resetvec.o
184 OBJS := $(addprefix $(obj),$(OBJS))
186 LIBS = lib_generic/libgeneric.a
187 LIBS += lib_generic/lzma/liblzma.a
188 LIBS += lib_generic/lzo/liblzo.a
189 LIBS += $(shell if [ -f board/$(VENDOR)/common/Makefile ]; then echo \
190 "board/$(VENDOR)/common/lib$(VENDOR).a"; fi)
191 LIBS += cpu/$(CPU)/lib$(CPU).a
193 LIBS += cpu/$(CPU)/$(SOC)/lib$(SOC).a
196 LIBS += cpu/ixp/npe/libnpe.a
198 LIBS += lib_$(ARCH)/lib$(ARCH).a
199 LIBS += fs/cramfs/libcramfs.a fs/fat/libfat.a fs/fdos/libfdos.a fs/jffs2/libjffs2.a \
200 fs/reiserfs/libreiserfs.a fs/ext2/libext2fs.a fs/yaffs2/libyaffs2.a \
203 LIBS += disk/libdisk.a
204 LIBS += drivers/bios_emulator/libatibiosemu.a
205 LIBS += drivers/block/libblock.a
206 LIBS += drivers/dma/libdma.a
207 LIBS += drivers/fpga/libfpga.a
208 LIBS += drivers/gpio/libgpio.a
209 LIBS += drivers/hwmon/libhwmon.a
210 LIBS += drivers/i2c/libi2c.a
211 LIBS += drivers/input/libinput.a
212 LIBS += drivers/misc/libmisc.a
213 LIBS += drivers/mmc/libmmc.a
214 LIBS += drivers/mtd/libmtd.a
215 LIBS += drivers/mtd/nand/libnand.a
216 LIBS += drivers/mtd/onenand/libonenand.a
217 LIBS += drivers/mtd/ubi/libubi.a
218 LIBS += drivers/mtd/spi/libspi_flash.a
219 LIBS += drivers/net/libnet.a
220 LIBS += drivers/net/phy/libphy.a
221 LIBS += drivers/net/sk98lin/libsk98lin.a
222 LIBS += drivers/pci/libpci.a
223 LIBS += drivers/pcmcia/libpcmcia.a
224 LIBS += drivers/power/libpower.a
225 LIBS += drivers/spi/libspi.a
226 ifeq ($(CPU),mpc83xx)
227 LIBS += drivers/qe/qe.a
229 ifeq ($(CPU),mpc85xx)
230 LIBS += drivers/qe/qe.a
231 LIBS += cpu/mpc8xxx/ddr/libddr.a
232 LIBS += cpu/mpc8xxx/lib8xxx.a
233 TAG_SUBDIRS += cpu/mpc8xxx
235 ifeq ($(CPU),mpc86xx)
236 LIBS += cpu/mpc8xxx/ddr/libddr.a
237 LIBS += cpu/mpc8xxx/lib8xxx.a
238 TAG_SUBDIRS += cpu/mpc8xxx
240 LIBS += drivers/rtc/librtc.a
241 LIBS += drivers/serial/libserial.a
242 LIBS += drivers/twserial/libtws.a
243 LIBS += drivers/usb/gadget/libusb_gadget.a
244 LIBS += drivers/usb/host/libusb_host.a
245 LIBS += drivers/usb/musb/libusb_musb.a
246 LIBS += drivers/video/libvideo.a
247 LIBS += drivers/watchdog/libwatchdog.a
248 LIBS += common/libcommon.a
249 LIBS += libfdt/libfdt.a
251 LIBS += post/libpost.a
253 LIBS := $(addprefix $(obj),$(LIBS))
254 .PHONY : $(LIBS) $(TIMESTAMP_FILE) $(VERSION_FILE)
256 LIBBOARD = board/$(BOARDDIR)/lib$(BOARD).a
257 LIBBOARD := $(addprefix $(obj),$(LIBBOARD))
260 ifdef USE_PRIVATE_LIBGCC
261 ifeq ("$(USE_PRIVATE_LIBGCC)", "yes")
262 PLATFORM_LIBGCC = -L $(OBJTREE)/lib_$(ARCH) -lgcc
264 PLATFORM_LIBGCC = -L $(USE_PRIVATE_LIBGCC) -lgcc
267 PLATFORM_LIBGCC = -L $(shell dirname `$(CC) $(CFLAGS) -print-libgcc-file-name`) -lgcc
269 PLATFORM_LIBS += $(PLATFORM_LIBGCC)
272 # Special flags for CPP when processing the linker script.
273 # Pass the version down so we can handle backwards compatibility
276 -include $(TOPDIR)/include/u-boot/u-boot.lds.h \
277 $(shell $(LD) --version | \
278 sed -ne 's/GNU ld version \([0-9][0-9]*\)\.\([0-9][0-9]*\).*/-DLD_MAJOR=\1 -DLD_MINOR=\2/p')
280 ifeq ($(CONFIG_NAND_U_BOOT),y)
282 U_BOOT_NAND = $(obj)u-boot-nand.bin
285 ifeq ($(CONFIG_ONENAND_U_BOOT),y)
286 ONENAND_IPL = onenand_ipl
287 U_BOOT_ONENAND = $(obj)u-boot-onenand.bin
288 ONENAND_BIN ?= $(obj)onenand_ipl/onenand-ipl-2k.bin
291 __OBJS := $(subst $(obj),,$(OBJS))
292 __LIBS := $(subst $(obj),,$(LIBS)) $(subst $(obj),,$(LIBBOARD))
294 #########################################################################
295 #########################################################################
297 # Always append ALL so that arch config.mk's can add custom ones
298 ALL += $(obj)u-boot.srec $(obj)u-boot.bin $(obj)System.map $(U_BOOT_NAND) $(U_BOOT_ONENAND)
302 $(obj)u-boot.hex: $(obj)u-boot
303 $(OBJCOPY) ${OBJCFLAGS} -O ihex $< $@
305 $(obj)u-boot.srec: $(obj)u-boot
306 $(OBJCOPY) -O srec $< $@
308 $(obj)u-boot.bin: $(obj)u-boot
309 $(OBJCOPY) ${OBJCFLAGS} -O binary $< $@
311 $(obj)u-boot.ldr: $(obj)u-boot
312 $(obj)tools/envcrc --binary > $(obj)env-ldr.o
313 $(LDR) -T $(CONFIG_BFIN_CPU) -c $@ $< $(LDR_FLAGS)
315 $(obj)u-boot.ldr.hex: $(obj)u-boot.ldr
316 $(OBJCOPY) ${OBJCFLAGS} -O ihex $< $@ -I binary
318 $(obj)u-boot.ldr.srec: $(obj)u-boot.ldr
319 $(OBJCOPY) ${OBJCFLAGS} -O srec $< $@ -I binary
321 $(obj)u-boot.img: $(obj)u-boot.bin
322 ./tools/mkimage -A $(ARCH) -T firmware -C none \
323 -a $(TEXT_BASE) -e 0 \
324 -n $(shell sed -n -e 's/.*U_BOOT_VERSION//p' $(VERSION_FILE) | \
325 sed -e 's/"[ ]*$$/ for $(BOARD) board"/') \
328 $(obj)u-boot.kwb: $(obj)u-boot.bin
329 $(obj)tools/mkimage -n $(KWD_CONFIG) -T kwbimage \
330 -a $(TEXT_BASE) -e $(TEXT_BASE) -d $< $@
332 $(obj)u-boot.sha1: $(obj)u-boot.bin
333 $(obj)tools/ubsha1 $(obj)u-boot.bin
335 $(obj)u-boot.dis: $(obj)u-boot
336 $(OBJDUMP) -d $< > $@
339 UNDEF_SYM=`$(OBJDUMP) -x $(LIBBOARD) $(LIBS) | \
340 sed -n -e 's/.*\($(SYM_PREFIX)__u_boot_cmd_.*\)/-u\1/p'|sort|uniq`;\
341 cd $(LNDIR) && $(LD) $(LDFLAGS) $$UNDEF_SYM $(__OBJS) \
342 --start-group $(__LIBS) --end-group $(PLATFORM_LIBS) \
343 -Map u-boot.map -o u-boot
344 $(obj)u-boot: depend $(SUBDIRS) $(OBJS) $(LIBBOARD) $(LIBS) $(LDSCRIPT) $(obj)u-boot.lds
346 ifeq ($(CONFIG_KALLSYMS),y)
347 smap=`$(call SYSTEM_MAP,u-boot) | \
348 awk '$$2 ~ /[tTwW]/ {printf $$1 $$3 "\\\\000"}'` ; \
349 $(CC) $(CFLAGS) -DSYSTEM_MAP="\"$${smap}\"" \
350 -c common/system_map.c -o $(obj)common/system_map.o
351 $(GEN_UBOOT) $(obj)common/system_map.o
355 $(MAKE) -C cpu/$(CPU) $(if $(REMOTE_BUILD),$@,$(notdir $@))
357 $(LIBS): depend $(SUBDIRS)
358 $(MAKE) -C $(dir $(subst $(obj),,$@))
360 $(LIBBOARD): depend $(LIBS)
361 $(MAKE) -C $(dir $(subst $(obj),,$@))
367 $(MAKE) -C $(dir $@) $(notdir $@)
369 $(obj)u-boot.lds: $(LDSCRIPT)
370 $(CPP) $(CPPFLAGS) $(LDPPFLAGS) -ansi -D__ASSEMBLY__ -P - <$^ >$@
372 $(NAND_SPL): $(TIMESTAMP_FILE) $(VERSION_FILE) $(obj)include/autoconf.mk
373 $(MAKE) -C nand_spl/board/$(BOARDDIR) all
375 $(U_BOOT_NAND): $(NAND_SPL) $(obj)u-boot.bin
376 cat $(obj)nand_spl/u-boot-spl-16k.bin $(obj)u-boot.bin > $(obj)u-boot-nand.bin
378 $(ONENAND_IPL): $(TIMESTAMP_FILE) $(VERSION_FILE) $(obj)include/autoconf.mk
379 $(MAKE) -C onenand_ipl/board/$(BOARDDIR) all
381 $(U_BOOT_ONENAND): $(ONENAND_IPL) $(obj)u-boot.bin
382 cat $(ONENAND_BIN) $(obj)u-boot.bin > $(obj)u-boot-onenand.bin
385 @( printf '#define U_BOOT_VERSION "U-Boot %s%s"\n' "$(U_BOOT_VERSION)" \
386 '$(shell $(TOPDIR)/tools/setlocalversion $(TOPDIR))' ) > $@.tmp
387 @cmp -s $@ $@.tmp && rm -f $@.tmp || mv -f $@.tmp $@
390 @date +'#define U_BOOT_DATE "%b %d %C%y"' > $@
391 @date +'#define U_BOOT_TIME "%T"' >> $@
394 $(MAKE) -C tools/gdb all || exit 1
397 $(MAKE) -C tools/updater all || exit 1
400 $(MAKE) -C tools/env all MTD_VERSION=${MTD_VERSION} || exit 1
402 depend dep: $(TIMESTAMP_FILE) $(VERSION_FILE) $(obj)include/autoconf.mk
403 for dir in $(SUBDIRS) ; do $(MAKE) -C $$dir _depend ; done
405 TAG_SUBDIRS += include
406 TAG_SUBDIRS += lib_generic board/$(BOARDDIR)
407 TAG_SUBDIRS += cpu/$(CPU)
408 TAG_SUBDIRS += lib_$(ARCH)
409 TAG_SUBDIRS += fs/cramfs
410 TAG_SUBDIRS += fs/fat
411 TAG_SUBDIRS += fs/fdos
412 TAG_SUBDIRS += fs/jffs2
413 TAG_SUBDIRS += fs/yaffs2
416 TAG_SUBDIRS += common
417 TAG_SUBDIRS += drivers/bios_emulator
418 TAG_SUBDIRS += drivers/block
419 TAG_SUBDIRS += drivers/gpio
420 TAG_SUBDIRS += drivers/hwmon
421 TAG_SUBDIRS += drivers/i2c
422 TAG_SUBDIRS += drivers/input
423 TAG_SUBDIRS += drivers/misc
424 TAG_SUBDIRS += drivers/mmc
425 TAG_SUBDIRS += drivers/mtd
426 TAG_SUBDIRS += drivers/mtd/nand
427 TAG_SUBDIRS += drivers/mtd/onenand
428 TAG_SUBDIRS += drivers/mtd/spi
429 TAG_SUBDIRS += drivers/net
430 TAG_SUBDIRS += drivers/net/sk98lin
431 TAG_SUBDIRS += drivers/pci
432 TAG_SUBDIRS += drivers/pcmcia
433 TAG_SUBDIRS += drivers/qe
434 TAG_SUBDIRS += drivers/rtc
435 TAG_SUBDIRS += drivers/serial
436 TAG_SUBDIRS += drivers/spi
437 TAG_SUBDIRS += drivers/usb
438 TAG_SUBDIRS += drivers/video
441 ctags -w -o $(obj)ctags `find $(SUBDIRS) $(TAG_SUBDIRS) \
442 -name '*.[ch]' -print`
445 etags -a -o $(obj)etags `find $(SUBDIRS) $(TAG_SUBDIRS) \
446 -name '*.[ch]' -print`
448 find $(SUBDIRS) $(TAG_SUBDIRS) -name '*.[ch]' -print \
454 grep -v '\(compiled\)\|\(\.o$$\)\|\( [aUw] \)\|\(\.\.ng$$\)\|\(LASH[RL]DI\)' | \
456 $(obj)System.map: $(obj)u-boot
457 @$(call SYSTEM_MAP,$<) > $(obj)System.map
460 # Auto-generate the autoconf.mk file (which is included by all makefiles)
462 # This target actually generates 2 files; autoconf.mk and autoconf.mk.dep.
463 # the dep file is only include in this top level makefile to determine when
464 # to regenerate the autoconf.mk file.
465 $(obj)include/autoconf.mk.dep: $(obj)include/config.h include/common.h
466 @$(XECHO) Generating $@ ; \
468 : Generate the dependancies ; \
469 $(CC) -x c -DDO_DEPS_ONLY -M $(HOSTCFLAGS) $(CPPFLAGS) \
470 -MQ $(obj)include/autoconf.mk include/common.h > $@
472 $(obj)include/autoconf.mk: $(obj)include/config.h
473 @$(XECHO) Generating $@ ; \
475 : Extract the config macros ; \
476 $(CPP) $(CFLAGS) -DDO_DEPS_ONLY -dM include/common.h | \
477 sed -n -f tools/scripts/define2mk.sed > $@.tmp && \
480 #########################################################################
482 all $(obj)u-boot.hex $(obj)u-boot.srec $(obj)u-boot.bin \
483 $(obj)u-boot.img $(obj)u-boot.dis $(obj)u-boot \
484 $(SUBDIRS) $(TIMESTAMP_FILE) $(VERSION_FILE) gdbtools updater env depend \
485 dep tags ctags etags cscope $(obj)System.map:
486 @echo "System not configured - see README" >&2
492 git log --no-merges U-Boot-1_1_5.. | \
493 unexpand -a | sed -e 's/\s\s*$$//' > $@
495 include/license.h: tools/bin2header COPYING
496 cat COPYING | gzip -9 -c | ./tools/bin2header license_gzip > include/license.h
497 #########################################################################
500 @rm -f $(obj)include/config.h $(obj)include/config.mk \
501 $(obj)board/*/config.tmp $(obj)board/*/*/config.tmp \
502 $(obj)include/autoconf.mk $(obj)include/autoconf.mk.dep
507 #========================================================================
509 #========================================================================
511 #########################################################################
513 #########################################################################
515 canmb_config: unconfig
516 @$(MKCONFIG) -a canmb ppc mpc5xxx canmb
518 cmi_mpc5xx_config: unconfig
519 @$(MKCONFIG) $(@:_config=) ppc mpc5xx cmi
521 PATI_config: unconfig
522 @$(MKCONFIG) $(@:_config=) ppc mpc5xx pati mpl
524 #########################################################################
526 #########################################################################
529 @$(MKCONFIG) -a aev ppc mpc5xxx tqm5200 tqc
531 BC3450_config: unconfig
532 @$(MKCONFIG) -a BC3450 ppc mpc5xxx bc3450
534 cm5200_config: unconfig
535 @$(MKCONFIG) -a cm5200 ppc mpc5xxx cm5200
537 cpci5200_config: unconfig
538 @$(MKCONFIG) -a cpci5200 ppc mpc5xxx cpci5200 esd
541 digsy_mtc_LOWBOOT_config \
542 digsy_mtc_RAMBOOT_config: unconfig
543 @mkdir -p $(obj)include
544 @mkdir -p $(obj)board/digsy_mtc
545 @ >$(obj)include/config.h
546 @[ -z "$(findstring LOWBOOT_,$@)" ] || \
547 { echo "TEXT_BASE = 0xFF000000" >$(obj)board/digsy_mtc/config.tmp ; \
548 echo "... with LOWBOOT configuration" ; \
550 @[ -z "$(findstring RAMBOOT_,$@)" ] || \
551 { echo "TEXT_BASE = 0x00100000" >$(obj)board/digsy_mtc/config.tmp ; \
552 echo "... with RAMBOOT configuration" ; \
554 @$(MKCONFIG) -a digsy_mtc ppc mpc5xxx digsy_mtc
556 galaxy5200_LOWBOOT_config \
557 galaxy5200_config: unconfig
558 @mkdir -p $(obj)include
559 @echo "#define CONFIG_$(@:_config=) 1" >$(obj)include/config.h
560 @$(MKCONFIG) -a galaxy5200 ppc mpc5xxx galaxy5200
562 hmi1001_config: unconfig
563 @$(MKCONFIG) hmi1001 ppc mpc5xxx hmi1001
566 Lite5200_LOWBOOT_config \
567 Lite5200_LOWBOOT08_config \
568 icecube_5200_config \
569 icecube_5200_LOWBOOT_config \
570 icecube_5200_LOWBOOT08_config \
571 icecube_5200_DDR_config \
572 icecube_5200_DDR_LOWBOOT_config \
573 icecube_5200_DDR_LOWBOOT08_config \
574 icecube_5100_config: unconfig
575 @mkdir -p $(obj)include
576 @mkdir -p $(obj)board/icecube
577 @[ -z "$(findstring LOWBOOT_,$@)" ] || \
578 { if [ "$(findstring DDR,$@)" ] ; \
579 then echo "TEXT_BASE = 0xFF800000" >$(obj)board/icecube/config.tmp ; \
580 else echo "TEXT_BASE = 0xFF000000" >$(obj)board/icecube/config.tmp ; \
582 $(XECHO) "... with LOWBOOT configuration" ; \
584 @[ -z "$(findstring LOWBOOT08,$@)" ] || \
585 { echo "TEXT_BASE = 0xFF800000" >$(obj)board/icecube/config.tmp ; \
586 echo "... with 8 MB flash only" ; \
587 $(XECHO) "... with LOWBOOT configuration" ; \
589 @[ -z "$(findstring DDR,$@)" ] || \
590 { echo "#define CONFIG_MPC5200_DDR" >>$(obj)include/config.h ; \
591 $(XECHO) "... DDR memory revision" ; \
593 @[ -z "$(findstring 5200,$@)" ] || \
594 { echo "#define CONFIG_MPC5200" >>$(obj)include/config.h ; \
595 $(XECHO) "... with MPC5200 processor" ; \
597 @[ -z "$(findstring 5100,$@)" ] || \
598 { echo "#define CONFIG_MGT5100" >>$(obj)include/config.h ; \
599 $(XECHO) "... with MGT5100 processor" ; \
601 @$(MKCONFIG) -a IceCube ppc mpc5xxx icecube
603 jupiter_config: unconfig
604 @$(MKCONFIG) jupiter ppc mpc5xxx jupiter
606 inka4x0_config: unconfig
607 @$(MKCONFIG) inka4x0 ppc mpc5xxx inka4x0
610 lite5200b_PM_config \
611 lite5200b_LOWBOOT_config: unconfig
612 @mkdir -p $(obj)include
613 @mkdir -p $(obj)board/icecube
614 @ echo "#define CONFIG_MPC5200_DDR" >>$(obj)include/config.h
615 @ $(XECHO) "... DDR memory revision"
616 @ echo "#define CONFIG_MPC5200" >>$(obj)include/config.h
617 @ echo "#define CONFIG_LITE5200B" >>$(obj)include/config.h
618 @[ -z "$(findstring _PM_,$@)" ] || \
619 { echo "#define CONFIG_LITE5200B_PM" >>$(obj)include/config.h ; \
620 $(XECHO) "... with power management (low-power mode) support" ; \
622 @[ -z "$(findstring LOWBOOT_,$@)" ] || \
623 { echo "TEXT_BASE = 0xFF000000" >$(obj)board/icecube/config.tmp ; \
624 $(XECHO) "... with LOWBOOT configuration" ; \
626 @ $(XECHO) "... with MPC5200B processor"
627 @$(MKCONFIG) -a IceCube ppc mpc5xxx icecube
630 mcc200_SDRAM_config \
631 mcc200_highboot_config \
632 mcc200_COM12_config \
633 mcc200_COM12_SDRAM_config \
634 mcc200_COM12_highboot_config \
635 mcc200_COM12_highboot_SDRAM_config \
636 mcc200_highboot_SDRAM_config \
639 prs200_highboot_config \
640 prs200_highboot_DDR_config: unconfig
641 @mkdir -p $(obj)include
642 @mkdir -p $(obj)board/mcc200
643 @[ -n "$(findstring highboot,$@)" ] || \
644 { $(XECHO) "... with lowboot configuration" ; \
646 @[ -z "$(findstring highboot,$@)" ] || \
647 { echo "TEXT_BASE = 0xFFF00000" >$(obj)board/mcc200/config.tmp ; \
648 $(XECHO) "... with highboot configuration" ; \
650 @[ -n "$(findstring _SDRAM,$@)" ] || \
651 { if [ -n "$(findstring mcc200,$@)" ]; \
653 $(XECHO) "... with DDR" ; \
655 if [ -n "$(findstring _DDR,$@)" ];\
657 $(XECHO) "... with DDR" ; \
659 echo "#define CONFIG_MCC200_SDRAM" >>$(obj)include/config.h ;\
660 $(XECHO) "... with SDRAM" ; \
664 @[ -z "$(findstring _SDRAM,$@)" ] || \
665 { echo "#define CONFIG_MCC200_SDRAM" >>$(obj)include/config.h ; \
666 $(XECHO) "... with SDRAM" ; \
668 @[ -z "$(findstring COM12,$@)" ] || \
669 { echo "#define CONFIG_CONSOLE_COM12" >>$(obj)include/config.h ; \
670 $(XECHO) "... with console on COM12" ; \
672 @[ -z "$(findstring prs200,$@)" ] || \
673 { echo "#define CONFIG_PRS200" >>$(obj)include/config.h ;\
675 @$(MKCONFIG) -n $@ -a mcc200 ppc mpc5xxx mcc200
677 mecp5200_config: unconfig
678 @$(MKCONFIG) mecp5200 ppc mpc5xxx mecp5200 esd
680 motionpro_config: unconfig
681 @$(MKCONFIG) motionpro ppc mpc5xxx motionpro
683 mucmc52_config: unconfig
684 @$(MKCONFIG) mucmc52 ppc mpc5xxx mucmc52
686 munices_config: unconfig
687 @$(MKCONFIG) munices ppc mpc5xxx munices
689 MVBC_P_config: unconfig
690 @mkdir -p $(obj)include
691 @mkdir -p $(obj)board/mvbc_p
692 @ >$(obj)include/config.h
693 @[ -z "$(findstring MVBC_P,$@)" ] || \
694 { echo "#define CONFIG_MVBC_P" >>$(obj)include/config.h; }
695 @$(MKCONFIG) -n $@ -a MVBC_P ppc mpc5xxx mvbc_p matrix_vision
697 o2dnt_config: unconfig
698 @$(MKCONFIG) o2dnt ppc mpc5xxx o2dnt
701 pcm030_LOWBOOT_config: unconfig
702 @mkdir -p $(obj)include $(obj)board/phytec/pcm030
703 @ >$(obj)include/config.h
704 @[ -z "$(findstring LOWBOOT_,$@)" ] || \
705 { echo "TEXT_BASE = 0xFF000000" >$(obj)board/phytec/pcm030/config.tmp ; \
706 echo "... with LOWBOOT configuration" ; \
708 @$(MKCONFIG) -a pcm030 ppc mpc5xxx pcm030 phytec
710 pf5200_config: unconfig
711 @$(MKCONFIG) pf5200 ppc mpc5xxx pf5200 esd
715 PM520_ROMBOOT_config \
716 PM520_ROMBOOT_DDR_config: unconfig
717 @mkdir -p $(obj)include
718 @[ -z "$(findstring DDR,$@)" ] || \
719 { echo "#define CONFIG_MPC5200_DDR" >>$(obj)include/config.h ; \
720 $(XECHO) "... DDR memory revision" ; \
722 @[ -z "$(findstring ROMBOOT,$@)" ] || \
723 { echo "#define CONFIG_BOOT_ROM" >>$(obj)include/config.h ; \
724 $(XECHO) "... booting from 8-bit flash" ; \
726 @$(MKCONFIG) -a PM520 ppc mpc5xxx pm520
728 smmaco4_config: unconfig
729 @$(MKCONFIG) -a smmaco4 ppc mpc5xxx tqm5200 tqc
731 spieval_config: unconfig
732 @$(MKCONFIG) -a spieval ppc mpc5xxx tqm5200 tqc
735 TB5200_config: unconfig
736 @mkdir -p $(obj)include
737 @[ -z "$(findstring _B,$@)" ] || \
738 { echo "#define CONFIG_TQM5200_B" >>$(obj)include/config.h ; \
739 $(XECHO) "... with MPC5200B processor" ; \
741 @$(MKCONFIG) -n $@ -a TB5200 ppc mpc5xxx tqm5200 tqc
745 TOP5200_config: unconfig
746 @mkdir -p $(obj)include
747 @ echo "#define CONFIG_$(@:_config=) 1" >$(obj)include/config.h
748 @$(MKCONFIG) -n $@ -a TOP5200 ppc mpc5xxx top5200 emk
752 Total5200_lowboot_config \
753 Total5200_Rev2_config \
754 Total5200_Rev2_lowboot_config: unconfig
755 @mkdir -p $(obj)include
756 @mkdir -p $(obj)board/total5200
757 @[ -z "$(findstring 5100,$@)" ] || \
758 { echo "#define CONFIG_MGT5100" >>$(obj)include/config.h ; \
759 $(XECHO) "... with MGT5100 processor" ; \
761 @[ -z "$(findstring 5200,$@)" ] || \
762 { echo "#define CONFIG_MPC5200" >>$(obj)include/config.h ; \
763 $(XECHO) "... with MPC5200 processor" ; \
765 @[ -n "$(findstring Rev,$@)" ] || \
766 { echo "#define CONFIG_TOTAL5200_REV 1" >>$(obj)include/config.h ; \
767 $(XECHO) "... revision 1 board" ; \
769 @[ -z "$(findstring Rev2_,$@)" ] || \
770 { echo "#define CONFIG_TOTAL5200_REV 2" >>$(obj)include/config.h ; \
771 $(XECHO) "... revision 2 board" ; \
773 @[ -z "$(findstring lowboot_,$@)" ] || \
774 { echo "TEXT_BASE = 0xFE000000" >$(obj)board/total5200/config.tmp ; \
775 $(XECHO) "... with lowboot configuration" ; \
777 @$(MKCONFIG) -a Total5200 ppc mpc5xxx total5200
780 cam5200_niosflash_config \
784 TQM5200S_HIGHBOOT_config \
786 TQM5200_B_HIGHBOOT_config \
788 TQM5200_STK100_config: unconfig
789 @mkdir -p $(obj)include
790 @mkdir -p $(obj)board/tqc/tqm5200
791 @[ -z "$(findstring cam5200,$@)" ] || \
792 { echo "#define CONFIG_CAM5200" >>$(obj)include/config.h ; \
793 echo "#define CONFIG_TQM5200S" >>$(obj)include/config.h ; \
794 echo "#define CONFIG_TQM5200_B" >>$(obj)include/config.h ; \
795 $(XECHO) "... TQM5200S on Cam5200" ; \
797 @[ -z "$(findstring niosflash,$@)" ] || \
798 { echo "#define CONFIG_CAM5200_NIOSFLASH" >>$(obj)include/config.h ; \
799 $(XECHO) "... with NIOS flash driver" ; \
801 @[ -z "$(findstring fo300,$@)" ] || \
802 { echo "#define CONFIG_FO300" >>$(obj)include/config.h ; \
803 $(XECHO) "... TQM5200 on FO300" ; \
805 @[ -z "$(findstring MiniFAP,$@)" ] || \
806 { echo "#define CONFIG_MINIFAP" >>$(obj)include/config.h ; \
807 $(XECHO) "... TQM5200_AC on MiniFAP" ; \
809 @[ -z "$(findstring STK100,$@)" ] || \
810 { echo "#define CONFIG_STK52XX_REV100" >>$(obj)include/config.h ; \
811 $(XECHO) "... on a STK52XX.100 base board" ; \
813 @[ -z "$(findstring TQM5200_B,$@)" ] || \
814 { echo "#define CONFIG_TQM5200_B" >>$(obj)include/config.h ; \
816 @[ -z "$(findstring TQM5200S,$@)" ] || \
817 { echo "#define CONFIG_TQM5200S" >>$(obj)include/config.h ; \
818 echo "#define CONFIG_TQM5200_B" >>$(obj)include/config.h ; \
820 @[ -z "$(findstring HIGHBOOT,$@)" ] || \
821 { echo "TEXT_BASE = 0xFFF00000" >$(obj)board/tqm5200/config.tmp ; \
823 @$(MKCONFIG) -n $@ -a TQM5200 ppc mpc5xxx tqm5200 tqc
825 uc101_config: unconfig
826 @$(MKCONFIG) uc101 ppc mpc5xxx uc101
828 v38b_config: unconfig
829 @$(MKCONFIG) -a v38b ppc mpc5xxx v38b
831 #########################################################################
833 #########################################################################
835 aria_config: unconfig
836 @$(MKCONFIG) -a aria ppc mpc512x aria davedenx
838 mecp5123_config: unconfig
839 @$(MKCONFIG) -a mecp5123 ppc mpc512x mecp5123 esd
842 mpc5121ads_rev2_config \
844 @mkdir -p $(obj)include
845 @if [ "$(findstring rev2,$@)" ] ; then \
846 echo "#define CONFIG_ADS5121_REV2 1" > $(obj)include/config.h; \
848 @$(MKCONFIG) -a mpc5121ads ppc mpc512x mpc5121ads freescale
850 #########################################################################
852 #########################################################################
858 @mkdir -p $(obj)include
859 $(if $(findstring AdderII,$@), \
860 @echo "#define CONFIG_MPC852T" > $(obj)include/config.h)
861 @$(MKCONFIG) -a Adder ppc mpc8xx adder
863 AdderUSB_config: unconfig
864 @$(MKCONFIG) -a AdderUSB ppc mpc8xx adder
871 FADS860T_config: unconfig
872 @$(MKCONFIG) $(@:_config=) ppc mpc8xx fads
874 AMX860_config : unconfig
875 @$(MKCONFIG) $(@:_config=) ppc mpc8xx amx860 westel
877 c2mon_config: unconfig
878 @$(MKCONFIG) $(@:_config=) ppc mpc8xx c2mon
881 @$(MKCONFIG) $(@:_config=) ppc mpc8xx CCM siemens
883 cogent_mpc8xx_config: unconfig
884 @$(MKCONFIG) $(@:_config=) ppc mpc8xx cogent
886 ELPT860_config: unconfig
887 @$(MKCONFIG) $(@:_config=) ppc mpc8xx elpt860 LEOX
889 EP88x_config: unconfig
890 @$(MKCONFIG) $(@:_config=) ppc mpc8xx ep88x
892 ESTEEM192E_config: unconfig
893 @$(MKCONFIG) $(@:_config=) ppc mpc8xx esteem192e
895 ETX094_config : unconfig
896 @$(MKCONFIG) $(@:_config=) ppc mpc8xx etx094
898 FLAGADM_config: unconfig
899 @$(MKCONFIG) $(@:_config=) ppc mpc8xx flagadm
901 xtract_GEN860T = $(subst _SC,,$(subst _config,,$1))
904 GEN860T_config: unconfig
905 @mkdir -p $(obj)include
906 @[ -z "$(findstring _SC,$@)" ] || \
907 { echo "#define CONFIG_SC" >>$(obj)include/config.h ; \
908 $(XECHO) "With reduced H/W feature set (SC)..." ; \
910 @$(MKCONFIG) -a $(call xtract_GEN860T,$@) ppc mpc8xx gen860t
912 GENIETV_config: unconfig
913 @$(MKCONFIG) $(@:_config=) ppc mpc8xx genietv
916 @$(MKCONFIG) $(@:_config=) ppc mpc8xx gth
918 hermes_config : unconfig
919 @$(MKCONFIG) $(@:_config=) ppc mpc8xx hermes
921 HMI10_config : unconfig
922 @$(MKCONFIG) $(@:_config=) ppc mpc8xx tqm8xx tqc
924 IAD210_config: unconfig
925 @$(MKCONFIG) $(@:_config=) ppc mpc8xx IAD210 siemens
927 xtract_ICU862 = $(subst _100MHz,,$(subst _config,,$1))
929 ICU862_100MHz_config \
930 ICU862_config: unconfig
931 @mkdir -p $(obj)include
932 @[ -z "$(findstring _100MHz,$@)" ] || \
933 { echo "#define CONFIG_100MHz" >>$(obj)include/config.h ; \
934 $(XECHO) "... with 100MHz system clock" ; \
936 @$(MKCONFIG) -a $(call xtract_ICU862,$@) ppc mpc8xx icu862
938 IP860_config : unconfig
939 @$(MKCONFIG) $(@:_config=) ppc mpc8xx ip860
943 IVML24_config: unconfig
944 @mkdir -p $(obj)include
945 @[ -z "$(findstring IVML24_config,$@)" ] || \
946 { echo "#define CONFIG_IVML24_16M" >>$(obj)include/config.h ; \
948 @[ -z "$(findstring IVML24_128_config,$@)" ] || \
949 { echo "#define CONFIG_IVML24_32M" >>$(obj)include/config.h ; \
951 @[ -z "$(findstring IVML24_256_config,$@)" ] || \
952 { echo "#define CONFIG_IVML24_64M" >>$(obj)include/config.h ; \
954 @$(MKCONFIG) -a IVML24 ppc mpc8xx ivm
958 IVMS8_config: unconfig
959 @mkdir -p $(obj)include
960 @[ -z "$(findstring IVMS8_config,$@)" ] || \
961 { echo "#define CONFIG_IVMS8_16M" >>$(obj)include/config.h ; \
963 @[ -z "$(findstring IVMS8_128_config,$@)" ] || \
964 { echo "#define CONFIG_IVMS8_32M" >>$(obj)include/config.h ; \
966 @[ -z "$(findstring IVMS8_256_config,$@)" ] || \
967 { echo "#define CONFIG_IVMS8_64M" >>$(obj)include/config.h ; \
969 @$(MKCONFIG) -a IVMS8 ppc mpc8xx ivm
971 kmsupx4_config: unconfig
972 @$(MKCONFIG) $(@:_config=) ppc mpc8xx km8xx keymile
974 KUP4K_config : unconfig
975 @$(MKCONFIG) $(@:_config=) ppc mpc8xx kup4k kup
977 KUP4X_config : unconfig
978 @$(MKCONFIG) $(@:_config=) ppc mpc8xx kup4x kup
980 LANTEC_config : unconfig
981 @$(MKCONFIG) $(@:_config=) ppc mpc8xx lantec
983 lwmon_config: unconfig
984 @$(MKCONFIG) $(@:_config=) ppc mpc8xx lwmon
987 MBX860T_config: unconfig
988 @$(MKCONFIG) $(@:_config=) ppc mpc8xx mbx8xx
990 mgsuvd_config: unconfig
991 @$(MKCONFIG) $(@:_config=) ppc mpc8xx km8xx keymile
993 MHPC_config: unconfig
994 @$(MKCONFIG) $(@:_config=) ppc mpc8xx mhpc eltec
996 xtract_NETVIA = $(subst _V2,,$(subst _config,,$1))
999 NETVIA_config: unconfig
1000 @mkdir -p $(obj)include
1001 @[ -z "$(findstring NETVIA_config,$@)" ] || \
1002 { echo "#define CONFIG_NETVIA_VERSION 1" >>$(obj)include/config.h ; \
1003 $(XECHO) "... Version 1" ; \
1005 @[ -z "$(findstring NETVIA_V2_config,$@)" ] || \
1006 { echo "#define CONFIG_NETVIA_VERSION 2" >>$(obj)include/config.h ; \
1007 $(XECHO) "... Version 2" ; \
1009 @$(MKCONFIG) -a $(call xtract_NETVIA,$@) ppc mpc8xx netvia
1011 xtract_NETPHONE = $(subst _V2,,$(subst _config,,$1))
1013 NETPHONE_V2_config \
1014 NETPHONE_config: unconfig
1015 @mkdir -p $(obj)include
1016 @[ -z "$(findstring NETPHONE_config,$@)" ] || \
1017 { echo "#define CONFIG_NETPHONE_VERSION 1" >>$(obj)include/config.h ; \
1019 @[ -z "$(findstring NETPHONE_V2_config,$@)" ] || \
1020 { echo "#define CONFIG_NETPHONE_VERSION 2" >>$(obj)include/config.h ; \
1022 @$(MKCONFIG) -a $(call xtract_NETPHONE,$@) ppc mpc8xx netphone
1024 xtract_NETTA = $(subst _SWAPHOOK,,$(subst _6412,,$(subst _ISDN,,$(subst _config,,$1))))
1026 NETTA_ISDN_6412_SWAPHOOK_config \
1027 NETTA_ISDN_SWAPHOOK_config \
1028 NETTA_6412_SWAPHOOK_config \
1029 NETTA_SWAPHOOK_config \
1030 NETTA_ISDN_6412_config \
1033 NETTA_config: unconfig
1034 @mkdir -p $(obj)include
1035 @[ -z "$(findstring ISDN_,$@)" ] || \
1036 { echo "#define CONFIG_NETTA_ISDN 1" >>$(obj)include/config.h ; \
1038 @[ -n "$(findstring ISDN_,$@)" ] || \
1039 { echo "#undef CONFIG_NETTA_ISDN" >>$(obj)include/config.h ; \
1041 @[ -z "$(findstring 6412_,$@)" ] || \
1042 { echo "#define CONFIG_NETTA_6412 1" >>$(obj)include/config.h ; \
1044 @[ -n "$(findstring 6412_,$@)" ] || \
1045 { echo "#undef CONFIG_NETTA_6412" >>$(obj)include/config.h ; \
1047 @[ -z "$(findstring SWAPHOOK_,$@)" ] || \
1048 { echo "#define CONFIG_NETTA_SWAPHOOK 1" >>$(obj)include/config.h ; \
1050 @[ -n "$(findstring SWAPHOOK_,$@)" ] || \
1051 { echo "#undef CONFIG_NETTA_SWAPHOOK" >>$(obj)include/config.h ; \
1053 @$(MKCONFIG) -a $(call xtract_NETTA,$@) ppc mpc8xx netta
1055 xtract_NETTA2 = $(subst _V2,,$(subst _config,,$1))
1058 NETTA2_config: unconfig
1059 @mkdir -p $(obj)include
1060 @[ -z "$(findstring NETTA2_config,$@)" ] || \
1061 { echo "#define CONFIG_NETTA2_VERSION 1" >>$(obj)include/config.h ; \
1063 @[ -z "$(findstring NETTA2_V2_config,$@)" ] || \
1064 { echo "#define CONFIG_NETTA2_VERSION 2" >>$(obj)include/config.h ; \
1066 @$(MKCONFIG) -a $(call xtract_NETTA2,$@) ppc mpc8xx netta2
1070 CP850_config: unconfig
1071 @mkdir -p $(obj)include
1072 @[ -z "$(findstring CP850,$@)" ] || \
1073 { echo "#define CONFIG_CP850 1" >>$(obj)include/config.h ; \
1074 echo "#define CONFIG_IDS852_REV2 1" >>$(obj)include/config.h ; \
1076 @[ -z "$(findstring Rev1,$@)" ] || \
1077 { echo "#define CONFIG_IDS852_REV1 1" >>$(obj)include/config.h ; \
1079 @[ -z "$(findstring Rev2,$@)" ] || \
1080 { echo "#define CONFIG_IDS852_REV2 1" >>$(obj)include/config.h ; \
1082 @$(MKCONFIG) -a NC650 ppc mpc8xx nc650
1084 NX823_config: unconfig
1085 @$(MKCONFIG) $(@:_config=) ppc mpc8xx nx823
1087 pcu_e_config: unconfig
1088 @$(MKCONFIG) $(@:_config=) ppc mpc8xx pcu_e siemens
1090 QS850_config: unconfig
1091 @$(MKCONFIG) $(@:_config=) ppc mpc8xx qs850 snmc
1093 QS823_config: unconfig
1094 @$(MKCONFIG) $(@:_config=) ppc mpc8xx qs850 snmc
1096 QS860T_config: unconfig
1097 @$(MKCONFIG) $(@:_config=) ppc mpc8xx qs860t snmc
1099 quantum_config: unconfig
1100 @$(MKCONFIG) $(@:_config=) ppc mpc8xx quantum
1102 R360MPI_config: unconfig
1103 @$(MKCONFIG) $(@:_config=) ppc mpc8xx r360mpi
1105 RBC823_config: unconfig
1106 @$(MKCONFIG) $(@:_config=) ppc mpc8xx rbc823
1108 RPXClassic_config: unconfig
1109 @$(MKCONFIG) $(@:_config=) ppc mpc8xx RPXClassic
1111 RPXlite_config: unconfig
1112 @$(MKCONFIG) $(@:_config=) ppc mpc8xx RPXlite
1114 RPXlite_DW_64_config \
1115 RPXlite_DW_LCD_config \
1116 RPXlite_DW_64_LCD_config \
1117 RPXlite_DW_NVRAM_config \
1118 RPXlite_DW_NVRAM_64_config \
1119 RPXlite_DW_NVRAM_LCD_config \
1120 RPXlite_DW_NVRAM_64_LCD_config \
1121 RPXlite_DW_config: unconfig
1122 @mkdir -p $(obj)include
1123 @[ -z "$(findstring _64,$@)" ] || \
1124 { echo "#define RPXlite_64MHz" >>$(obj)include/config.h ; \
1125 $(XECHO) "... with 64MHz system clock ..."; \
1127 @[ -z "$(findstring _LCD,$@)" ] || \
1128 { echo "#define CONFIG_LCD" >>$(obj)include/config.h ; \
1129 echo "#define CONFIG_NEC_NL6448BC20" >>$(obj)include/config.h ; \
1130 $(XECHO) "... with LCD display ..."; \
1132 @[ -z "$(findstring _NVRAM,$@)" ] || \
1133 { echo "#define CONFIG_ENV_IS_IN_NVRAM" >>$(obj)include/config.h ; \
1134 $(XECHO) "... with ENV in NVRAM ..."; \
1136 @$(MKCONFIG) -a RPXlite_DW ppc mpc8xx RPXlite_dw
1138 rmu_config: unconfig
1139 @$(MKCONFIG) $(@:_config=) ppc mpc8xx rmu
1141 RRvision_config: unconfig
1142 @$(MKCONFIG) $(@:_config=) ppc mpc8xx RRvision
1144 RRvision_LCD_config: unconfig
1145 @mkdir -p $(obj)include
1146 @echo "#define CONFIG_LCD" >$(obj)include/config.h
1147 @echo "#define CONFIG_SHARP_LQ104V7DS01" >>$(obj)include/config.h
1148 @$(MKCONFIG) -a RRvision ppc mpc8xx RRvision
1150 SM850_config : unconfig
1151 @$(MKCONFIG) $(@:_config=) ppc mpc8xx tqm8xx tqc
1153 spc1920_config: unconfig
1154 @$(MKCONFIG) $(@:_config=) ppc mpc8xx spc1920
1156 SPD823TS_config: unconfig
1157 @$(MKCONFIG) $(@:_config=) ppc mpc8xx spd8xx
1159 stxxtc_config: unconfig
1160 @$(MKCONFIG) $(@:_config=) ppc mpc8xx stxxtc stx
1162 svm_sc8xx_config: unconfig
1163 @$(MKCONFIG) $(@:_config=) ppc mpc8xx svm_sc8xx
1165 SXNI855T_config: unconfig
1166 @$(MKCONFIG) $(@:_config=) ppc mpc8xx sixnet
1168 # EMK MPC8xx based modules
1169 TOP860_config: unconfig
1170 @$(MKCONFIG) $(@:_config=) ppc mpc8xx top860 emk
1172 # Play some tricks for configuration selection
1173 # Only 855 and 860 boards may come with FEC
1174 # and only 823 boards may have LCD support
1175 xtract_8xx = $(subst _LCD,,$(subst _config,,$1))
1181 TQM823L_LCD_config \
1194 virtlab2_config: unconfig
1195 @mkdir -p $(obj)include
1196 @[ -z "$(findstring _LCD,$@)" ] || \
1197 { echo "#define CONFIG_LCD" >>$(obj)include/config.h ; \
1198 echo "#define CONFIG_NEC_NL6448BC20" >>$(obj)include/config.h ; \
1199 $(XECHO) "... with LCD display" ; \
1201 @$(MKCONFIG) -a $(call xtract_8xx,$@) ppc mpc8xx tqm8xx tqc
1203 TTTech_config: unconfig
1204 @mkdir -p $(obj)include
1205 @echo "#define CONFIG_LCD" >$(obj)include/config.h
1206 @echo "#define CONFIG_SHARP_LQ104V7DS01" >>$(obj)include/config.h
1207 @$(MKCONFIG) -a TQM823L ppc mpc8xx tqm8xx tqc
1209 uc100_config : unconfig
1210 @$(MKCONFIG) $(@:_config=) ppc mpc8xx uc100
1212 v37_config: unconfig
1213 @mkdir -p $(obj)include
1214 @echo "#define CONFIG_LCD" >$(obj)include/config.h
1215 @echo "#define CONFIG_SHARP_LQ084V1DG21" >>$(obj)include/config.h
1216 @$(MKCONFIG) $(@:_config=) ppc mpc8xx v37
1218 wtk_config: unconfig
1219 @mkdir -p $(obj)include
1220 @echo "#define CONFIG_LCD" >$(obj)include/config.h
1221 @echo "#define CONFIG_SHARP_LQ065T9DR51U" >>$(obj)include/config.h
1222 @$(MKCONFIG) -a TQM823L ppc mpc8xx tqm8xx tqc
1224 #########################################################################
1226 #########################################################################
1227 xtract_4xx = $(subst _25,,$(subst _33,,$(subst _BA,,$(subst _ME,,$(subst _HI,,$(subst _config,,$1))))))
1229 acadia_config: unconfig
1230 @$(MKCONFIG) $(@:_config=) ppc ppc4xx acadia amcc
1232 acadia_nand_config: unconfig
1233 @mkdir -p $(obj)include $(obj)board/amcc/acadia
1234 @mkdir -p $(obj)nand_spl/board/amcc/acadia
1235 @echo "#define CONFIG_NAND_U_BOOT" > $(obj)include/config.h
1236 @$(MKCONFIG) -n $@ -a acadia ppc ppc4xx acadia amcc
1237 @echo "TEXT_BASE = 0x01000000" > $(obj)board/amcc/acadia/config.tmp
1238 @echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk
1240 ADCIOP_config: unconfig
1241 @$(MKCONFIG) $(@:_config=) ppc ppc4xx adciop esd
1243 alpr_config: unconfig
1244 @$(MKCONFIG) $(@:_config=) ppc ppc4xx alpr prodrive
1246 AP1000_config:unconfig
1247 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ap1000 amirix
1249 APC405_config: unconfig
1250 @$(MKCONFIG) $(@:_config=) ppc ppc4xx apc405 esd
1252 AR405_config: unconfig
1253 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ar405 esd
1255 ASH405_config: unconfig
1256 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ash405 esd
1258 bamboo_config: unconfig
1259 @$(MKCONFIG) $(@:_config=) ppc ppc4xx bamboo amcc
1261 bamboo_nand_config: unconfig
1262 @mkdir -p $(obj)include $(obj)board/amcc/bamboo
1263 @mkdir -p $(obj)nand_spl/board/amcc/bamboo
1264 @echo "#define CONFIG_NAND_U_BOOT" > $(obj)include/config.h
1265 @$(MKCONFIG) -n $@ -a bamboo ppc ppc4xx bamboo amcc
1266 @echo "TEXT_BASE = 0x01000000" > $(obj)board/amcc/bamboo/config.tmp
1267 @echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk
1269 bubinga_config: unconfig
1270 @$(MKCONFIG) $(@:_config=) ppc ppc4xx bubinga amcc
1272 CANBT_config: unconfig
1273 @$(MKCONFIG) $(@:_config=) ppc ppc4xx canbt esd
1275 # Arches, Canyonlands & Glacier use different U-Boot images
1277 canyonlands_config \
1278 glacier_config: unconfig
1279 @mkdir -p $(obj)include
1280 @echo "#define CONFIG_$$(echo $(subst ,,$(@:_config=)) | \
1281 tr '[:lower:]' '[:upper:]')" >$(obj)include/config.h
1282 @$(MKCONFIG) -n $@ -a canyonlands ppc ppc4xx canyonlands amcc
1284 canyonlands_nand_config \
1285 glacier_nand_config: unconfig
1286 @mkdir -p $(obj)include $(obj)board/amcc/canyonlands
1287 @mkdir -p $(obj)nand_spl/board/amcc/canyonlands
1288 @echo "#define CONFIG_NAND_U_BOOT" > $(obj)include/config.h
1289 @echo "#define CONFIG_$$(echo $(subst ,,$(@:_nand_config=)) | \
1290 tr '[:lower:]' '[:upper:]')" >> $(obj)include/config.h
1291 @$(MKCONFIG) -n $@ -a canyonlands ppc ppc4xx canyonlands amcc
1292 @echo "TEXT_BASE = 0x01000000" > $(obj)board/amcc/canyonlands/config.tmp
1293 @echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk
1296 CATcenter_25_config \
1297 CATcenter_33_config: unconfig
1298 @mkdir -p $(obj)include
1299 @ echo "/* CATcenter uses PPChameleon Model ME */" > $(obj)include/config.h
1300 @ echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 1" >> $(obj)include/config.h
1301 @[ -z "$(findstring _25,$@)" ] || \
1302 { echo "#define CONFIG_PPCHAMELEON_CLK_25" >> $(obj)include/config.h ; \
1303 $(XECHO) "SysClk = 25MHz" ; \
1305 @[ -z "$(findstring _33,$@)" ] || \
1306 { echo "#define CONFIG_PPCHAMELEON_CLK_33" >> $(obj)include/config.h ; \
1307 $(XECHO) "SysClk = 33MHz" ; \
1309 @$(MKCONFIG) -a $(call xtract_4xx,$@) ppc ppc4xx PPChameleonEVB dave
1311 CMS700_config: unconfig
1312 @$(MKCONFIG) $(@:_config=) ppc ppc4xx cms700 esd
1314 CPCI2DP_config: unconfig
1315 @$(MKCONFIG) $(@:_config=) ppc ppc4xx cpci2dp esd
1320 CPCI405AB_config: unconfig
1321 @mkdir -p $(obj)board/esd/cpci405
1322 @$(MKCONFIG) $(@:_config=) ppc ppc4xx cpci405 esd
1324 CPCIISER4_config: unconfig
1325 @$(MKCONFIG) $(@:_config=) ppc ppc4xx cpciiser4 esd
1327 CRAYL1_config: unconfig
1328 @$(MKCONFIG) $(@:_config=) ppc ppc4xx L1 cray
1330 csb272_config: unconfig
1331 @$(MKCONFIG) $(@:_config=) ppc ppc4xx csb272
1333 csb472_config: unconfig
1334 @$(MKCONFIG) $(@:_config=) ppc ppc4xx csb472
1336 DASA_SIM_config: unconfig
1337 @$(MKCONFIG) $(@:_config=) ppc ppc4xx dasa_sim esd
1339 dlvision_config: unconfig
1340 @$(MKCONFIG) $(@:_config=) ppc ppc4xx dlvision gdsys
1342 DP405_config: unconfig
1343 @$(MKCONFIG) $(@:_config=) ppc ppc4xx dp405 esd
1345 DU405_config: unconfig
1346 @$(MKCONFIG) $(@:_config=) ppc ppc4xx du405 esd
1348 DU440_config: unconfig
1349 @$(MKCONFIG) $(@:_config=) ppc ppc4xx du440 esd
1351 ebony_config: unconfig
1352 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ebony amcc
1354 ERIC_config: unconfig
1355 @$(MKCONFIG) $(@:_config=) ppc ppc4xx eric
1357 EXBITGEN_config: unconfig
1358 @$(MKCONFIG) $(@:_config=) ppc ppc4xx exbitgen
1360 fx12mm_flash_config: unconfig
1361 @mkdir -p $(obj)include $(obj)board/xilinx/ppc405-generic
1362 @mkdir -p $(obj)include $(obj)board/avnet/fx12mm
1363 @echo "LDSCRIPT:=$(SRCTREE)/board/xilinx/ppc405-generic/u-boot-rom.lds"\
1364 > $(obj)board/avnet/fx12mm/config.tmp
1365 @echo "TEXT_BASE := 0xFFCB0000" \
1366 >> $(obj)board/avnet/fx12mm/config.tmp
1367 @$(MKCONFIG) fx12mm ppc ppc4xx fx12mm avnet
1369 fx12mm_config: unconfig
1370 @mkdir -p $(obj)include $(obj)board/xilinx/ppc405-generic
1371 @mkdir -p $(obj)include $(obj)board/avnet/fx12mm
1372 @echo "LDSCRIPT:=$(SRCTREE)/board/xilinx/ppc405-generic/u-boot-ram.lds"\
1373 > $(obj)board/avnet/fx12mm/config.tmp
1374 @echo "TEXT_BASE := 0x03000000" \
1375 >> $(obj)board/avnet/fx12mm/config.tmp
1376 @$(MKCONFIG) fx12mm ppc ppc4xx fx12mm avnet
1378 G2000_config: unconfig
1379 @$(MKCONFIG) $(@:_config=) ppc ppc4xx g2000
1381 gdppc440etx_config: unconfig
1382 @$(MKCONFIG) $(@:_config=) ppc ppc4xx gdppc440etx gdsys
1384 hcu4_config: unconfig
1385 @mkdir -p $(obj)board/netstal/common
1386 @$(MKCONFIG) $(@:_config=) ppc ppc4xx hcu4 netstal
1388 hcu5_config: unconfig
1389 @mkdir -p $(obj)board/netstal/common
1390 @$(MKCONFIG) $(@:_config=) ppc ppc4xx hcu5 netstal
1392 HH405_config: unconfig
1393 @$(MKCONFIG) $(@:_config=) ppc ppc4xx hh405 esd
1395 HUB405_config: unconfig
1396 @$(MKCONFIG) $(@:_config=) ppc ppc4xx hub405 esd
1398 # Compact-Center(codename intip) & DevCon-Center use different U-Boot images
1400 devconcenter_config: unconfig
1401 @mkdir -p $(obj)include
1402 @echo "#define CONFIG_$$(echo $(subst ,,$(@:_config=)) | \
1403 tr '[:lower:]' '[:upper:]')" >$(obj)include/config.h
1404 @$(MKCONFIG) -n $@ -a intip ppc ppc4xx intip gdsys
1406 JSE_config: unconfig
1407 @$(MKCONFIG) $(@:_config=) ppc ppc4xx jse
1409 KAREF_config: unconfig
1410 @$(MKCONFIG) $(@:_config=) ppc ppc4xx karef sandburst
1412 katmai_config: unconfig
1413 @$(MKCONFIG) $(@:_config=) ppc ppc4xx katmai amcc
1415 # Kilauea & Haleakala images are identical (recognized via PVR)
1417 haleakala_config: unconfig
1418 @$(MKCONFIG) -n $@ -a kilauea ppc ppc4xx kilauea amcc
1420 kilauea_nand_config \
1421 haleakala_nand_config: unconfig
1422 @mkdir -p $(obj)include $(obj)board/amcc/kilauea
1423 @mkdir -p $(obj)nand_spl/board/amcc/kilauea
1424 @echo "#define CONFIG_NAND_U_BOOT" > $(obj)include/config.h
1425 @$(MKCONFIG) -n $@ -a kilauea ppc ppc4xx kilauea amcc
1426 @echo "TEXT_BASE = 0x01000000" > $(obj)board/amcc/kilauea/config.tmp
1427 @echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk
1429 korat_config: unconfig
1430 @$(MKCONFIG) $(@:_config=) ppc ppc4xx korat
1432 luan_config: unconfig
1433 @$(MKCONFIG) $(@:_config=) ppc ppc4xx luan amcc
1435 lwmon5_config: unconfig
1436 @$(MKCONFIG) $(@:_config=) ppc ppc4xx lwmon5
1438 makalu_config: unconfig
1439 @$(MKCONFIG) $(@:_config=) ppc ppc4xx makalu amcc
1441 mcu25_config: unconfig
1442 @mkdir -p $(obj)board/netstal/common
1443 @$(MKCONFIG) $(@:_config=) ppc ppc4xx mcu25 netstal
1445 METROBOX_config: unconfig
1446 @$(MKCONFIG) $(@:_config=) ppc ppc4xx metrobox sandburst
1448 MIP405_config: unconfig
1449 @$(MKCONFIG) $(@:_config=) ppc ppc4xx mip405 mpl
1451 MIP405T_config: unconfig
1452 @mkdir -p $(obj)include
1453 @echo "#define CONFIG_MIP405T" >$(obj)include/config.h
1454 @$(XECHO) "Enable subset config for MIP405T"
1455 @$(MKCONFIG) -a MIP405 ppc ppc4xx mip405 mpl
1457 ML2_config: unconfig
1458 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ml2
1460 ml300_config: unconfig
1461 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ml300 xilinx
1463 ml507_flash_config: unconfig
1464 @mkdir -p $(obj)include $(obj)board/xilinx/ppc440-generic
1465 @mkdir -p $(obj)include $(obj)board/xilinx/ml507
1466 @echo "LDSCRIPT:=$(SRCTREE)/board/xilinx/ppc440-generic/u-boot-rom.lds"\
1467 > $(obj)board/xilinx/ml507/config.tmp
1468 @echo "TEXT_BASE := 0xFE360000" \
1469 >> $(obj)board/xilinx/ml507/config.tmp
1470 @$(MKCONFIG) ml507 ppc ppc4xx ml507 xilinx
1472 ml507_config: unconfig
1473 @mkdir -p $(obj)include $(obj)board/xilinx/ppc440-generic
1474 @mkdir -p $(obj)include $(obj)board/xilinx/ml507
1475 @echo "LDSCRIPT:=$(SRCTREE)/board/xilinx/ppc440-generic/u-boot-ram.lds"\
1476 > $(obj)board/xilinx/ml507/config.tmp
1477 @echo "TEXT_BASE := 0x04000000" \
1478 >> $(obj)board/xilinx/ml507/config.tmp
1479 @$(MKCONFIG) ml507 ppc ppc4xx ml507 xilinx
1481 neo_config: unconfig
1482 @$(MKCONFIG) $(@:_config=) ppc ppc4xx neo gdsys
1484 ocotea_config: unconfig
1485 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ocotea amcc
1488 ORSG_config: unconfig
1489 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ocrtc esd
1491 p3p440_config: unconfig
1492 @$(MKCONFIG) $(@:_config=) ppc ppc4xx p3p440 prodrive
1494 PCI405_config: unconfig
1495 @$(MKCONFIG) $(@:_config=) ppc ppc4xx pci405 esd
1497 pcs440ep_config: unconfig
1498 @$(MKCONFIG) $(@:_config=) ppc ppc4xx pcs440ep
1500 PIP405_config: unconfig
1501 @$(MKCONFIG) $(@:_config=) ppc ppc4xx pip405 mpl
1503 PLU405_config: unconfig
1504 @$(MKCONFIG) $(@:_config=) ppc ppc4xx plu405 esd
1506 PMC405_config: unconfig
1507 @$(MKCONFIG) $(@:_config=) ppc ppc4xx pmc405 esd
1509 PMC405DE_config: unconfig
1510 @$(MKCONFIG) $(@:_config=) ppc ppc4xx pmc405de esd
1512 PMC440_config: unconfig
1513 @$(MKCONFIG) $(@:_config=) ppc ppc4xx pmc440 esd
1515 PPChameleonEVB_config \
1516 PPChameleonEVB_BA_25_config \
1517 PPChameleonEVB_ME_25_config \
1518 PPChameleonEVB_HI_25_config \
1519 PPChameleonEVB_BA_33_config \
1520 PPChameleonEVB_ME_33_config \
1521 PPChameleonEVB_HI_33_config: unconfig
1522 @mkdir -p $(obj)include
1523 @[ -z "$(findstring EVB_BA,$@)" ] || \
1524 { echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 0" >>$(obj)include/config.h ; \
1525 $(XECHO) "... BASIC model" ; \
1527 @[ -z "$(findstring EVB_ME,$@)" ] || \
1528 { echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 1" >>$(obj)include/config.h ; \
1529 $(XECHO) "... MEDIUM model" ; \
1531 @[ -z "$(findstring EVB_HI,$@)" ] || \
1532 { echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 2" >>$(obj)include/config.h ; \
1533 $(XECHO) "... HIGH-END model" ; \
1535 @[ -z "$(findstring _25,$@)" ] || \
1536 { echo "#define CONFIG_PPCHAMELEON_CLK_25" >>$(obj)include/config.h ; \
1537 $(XECHO) "SysClk = 25MHz" ; \
1539 @[ -z "$(findstring _33,$@)" ] || \
1540 { echo "#define CONFIG_PPCHAMELEON_CLK_33" >>$(obj)include/config.h ; \
1541 $(XECHO) "SysClk = 33MHz" ; \
1543 @$(MKCONFIG) -a $(call xtract_4xx,$@) ppc ppc4xx PPChameleonEVB dave
1545 quad100hd_config: unconfig
1546 @$(MKCONFIG) $(@:_config=) ppc ppc4xx quad100hd
1548 redwood_config: unconfig
1549 @$(MKCONFIG) $(@:_config=) ppc ppc4xx redwood amcc
1551 sbc405_config: unconfig
1552 @$(MKCONFIG) $(@:_config=) ppc ppc4xx sbc405
1555 @$(MKCONFIG) $(@:_config=) ppc ppc4xx sc3
1558 rainier_config: unconfig
1559 @mkdir -p $(obj)include
1560 @echo "#define CONFIG_$$(echo $(subst ,,$(@:_config=)) | \
1561 tr '[:lower:]' '[:upper:]')" >$(obj)include/config.h
1562 @$(MKCONFIG) -n $@ -a sequoia ppc ppc4xx sequoia amcc
1564 sequoia_nand_config \
1565 rainier_nand_config: unconfig
1566 @mkdir -p $(obj)include $(obj)board/amcc/sequoia
1567 @mkdir -p $(obj)nand_spl/board/amcc/sequoia
1568 @echo "#define CONFIG_NAND_U_BOOT" > $(obj)include/config.h
1569 @echo "#define CONFIG_$$(echo $(subst ,,$(@:_config=)) | \
1570 tr '[:lower:]' '[:upper:]')" >> $(obj)include/config.h
1571 @$(MKCONFIG) -n $@ -a sequoia ppc ppc4xx sequoia amcc
1572 @echo "TEXT_BASE = 0x01000000" > $(obj)board/amcc/sequoia/config.tmp
1573 @echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk
1575 sequoia_ramboot_config \
1576 rainier_ramboot_config: unconfig
1577 @mkdir -p $(obj)include $(obj)board/amcc/sequoia
1578 @echo "#define CONFIG_SYS_RAMBOOT" > $(obj)include/config.h
1579 @echo "#define CONFIG_$$(echo $(subst ,,$(@:_config=)) | \
1580 tr '[:lower:]' '[:upper:]')" >> $(obj)include/config.h
1581 @$(MKCONFIG) -n $@ -a sequoia ppc ppc4xx sequoia amcc
1582 @echo "TEXT_BASE = 0x01000000" > $(obj)board/amcc/sequoia/config.tmp
1583 @echo "LDSCRIPT = board/amcc/sequoia/u-boot-ram.lds" >> \
1584 $(obj)board/amcc/sequoia/config.tmp
1586 taihu_config: unconfig
1587 @$(MKCONFIG) $(@:_config=) ppc ppc4xx taihu amcc
1589 taishan_config: unconfig
1590 @$(MKCONFIG) $(@:_config=) ppc ppc4xx taishan amcc
1592 v5fx30teval_config: unconfig
1593 @mkdir -p $(obj)include $(obj)board/xilinx/ppc440-generic
1594 @mkdir -p $(obj)include $(obj)board/avnet/v5fx30teval
1595 @echo "LDSCRIPT:=$(SRCTREE)/board/xilinx/ppc440-generic/u-boot-ram.lds"\
1596 > $(obj)board/avnet/v5fx30teval/config.tmp
1597 @echo "TEXT_BASE := 0x03000000" \
1598 >> $(obj)board/avnet/v5fx30teval/config.tmp
1599 @$(MKCONFIG) v5fx30teval ppc ppc4xx v5fx30teval avnet
1601 v5fx30teval_flash_config: unconfig
1602 @mkdir -p $(obj)include $(obj)board/xilinx/ppc440-generic
1603 @mkdir -p $(obj)include $(obj)board/avnet/v5fx30teval
1604 @echo "LDSCRIPT:=$(SRCTREE)/board/xilinx/ppc440-generic/u-boot-rom.lds"\
1605 > $(obj)board/avnet/v5fx30teval/config.tmp
1606 @echo "TEXT_BASE := 0xFF1C0000" \
1607 >> $(obj)board/avnet/v5fx30teval/config.tmp
1608 @$(MKCONFIG) v5fx30teval ppc ppc4xx v5fx30teval avnet
1610 VOH405_config: unconfig
1611 @$(MKCONFIG) $(@:_config=) ppc ppc4xx voh405 esd
1613 VOM405_config: unconfig
1614 @$(MKCONFIG) $(@:_config=) ppc ppc4xx vom405 esd
1617 W7OLMG_config: unconfig
1618 @$(MKCONFIG) $(@:_config=) ppc ppc4xx w7o
1620 # Walnut & Sycamore images are identical (recognized via PVR)
1622 sycamore_config: unconfig
1623 @$(MKCONFIG) -n $@ -a walnut ppc ppc4xx walnut amcc
1625 WUH405_config: unconfig
1626 @$(MKCONFIG) $(@:_config=) ppc ppc4xx wuh405 esd
1628 xilinx-ppc405-generic_flash_config: unconfig
1629 @mkdir -p $(obj)include $(obj)board/xilinx/ppc405-generic
1630 @echo "LDSCRIPT:=$(SRCTREE)/board/xilinx/ppc405-generic/u-boot-rom.lds"\
1631 > $(obj)board/xilinx/ppc405-generic/config.tmp
1632 @echo "TEXT_BASE := 0xFE360000" \
1633 >> $(obj)board/xilinx/ppc405-generic/config.tmp
1634 @$(MKCONFIG) xilinx-ppc405-generic ppc ppc4xx ppc405-generic xilinx
1636 xilinx-ppc405-generic_config: unconfig
1637 @mkdir -p $(obj)include $(obj)board/xilinx/ppc405-generic
1638 @echo "LDSCRIPT:=$(SRCTREE)/board/xilinx/ppc405-generic/u-boot-ram.lds"\
1639 > $(obj)board/xilinx/ppc405-generic/config.tmp
1640 @echo "TEXT_BASE := 0x04000000" \
1641 >> $(obj)board/xilinx/ppc405-generic/config.tmp
1642 @$(MKCONFIG) xilinx-ppc405-generic ppc ppc4xx ppc405-generic xilinx
1644 xilinx-ppc440-generic_flash_config: unconfig
1645 @mkdir -p $(obj)include $(obj)board/xilinx/ppc440-generic
1646 @echo "LDSCRIPT:=$(SRCTREE)/board/xilinx/ppc440-generic/u-boot-rom.lds"\
1647 > $(obj)board/xilinx/ppc440-generic/config.tmp
1648 @echo "TEXT_BASE := 0xFE360000" \
1649 >> $(obj)board/xilinx/ppc440-generic/config.tmp
1650 @$(MKCONFIG) xilinx-ppc440-generic ppc ppc4xx ppc440-generic xilinx
1652 xilinx-ppc440-generic_config: unconfig
1653 @mkdir -p $(obj)include $(obj)board/xilinx/ppc440-generic
1654 @echo "LDSCRIPT:=$(SRCTREE)/board/xilinx/ppc440-generic/u-boot-ram.lds"\
1655 > $(obj)board/xilinx/ppc440-generic/config.tmp
1656 @echo "TEXT_BASE := 0x04000000" \
1657 >> $(obj)board/xilinx/ppc440-generic/config.tmp
1658 @$(MKCONFIG) xilinx-ppc440-generic ppc ppc4xx ppc440-generic xilinx
1660 XPEDITE1000_config: unconfig
1661 @$(MKCONFIG) $(@:_config=) ppc ppc4xx xpedite1000 xes
1664 yellowstone_config: unconfig
1665 @mkdir -p $(obj)include
1666 @echo "#define CONFIG_$$(echo $(subst ,,$(@:_config=)) | \
1667 tr '[:lower:]' '[:upper:]')" >$(obj)include/config.h
1668 @$(MKCONFIG) -n $@ -a yosemite ppc ppc4xx yosemite amcc
1670 yucca_config: unconfig
1671 @$(MKCONFIG) $(@:_config=) ppc ppc4xx yucca amcc
1673 zeus_config: unconfig
1674 @$(MKCONFIG) $(@:_config=) ppc ppc4xx zeus
1676 #########################################################################
1678 #########################################################################
1681 Yukon8220_config: unconfig
1682 @$(MKCONFIG) $(@:_config=) ppc mpc8220 alaska
1684 sorcery_config: unconfig
1685 @$(MKCONFIG) $(@:_config=) ppc mpc8220 sorcery
1687 #########################################################################
1689 #########################################################################
1690 xtract_82xx = $(subst _BIGFLASH,,$(subst _ROMBOOT,,$(subst _L2,,$(subst _266MHz,,$(subst _300MHz,,$(subst _config,,$1))))))
1692 A3000_config: unconfig
1693 @$(MKCONFIG) $(@:_config=) ppc mpc824x a3000
1695 barco_config: unconfig
1696 @$(MKCONFIG) $(@:_config=) ppc mpc824x barco
1698 BMW_config: unconfig
1699 @$(MKCONFIG) $(@:_config=) ppc mpc824x bmw
1702 CPC45_ROMBOOT_config: unconfig
1703 @$(MKCONFIG) $(call xtract_82xx,$@) ppc mpc824x cpc45
1704 @cd $(obj)include ; \
1705 if [ "$(findstring _ROMBOOT_,$@)" ] ; then \
1706 echo "CONFIG_BOOT_ROM = y" >> config.mk ; \
1707 $(XECHO) "... booting from 8-bit flash" ; \
1709 echo "CONFIG_BOOT_ROM = n" >> config.mk ; \
1710 $(XECHO) "... booting from 64-bit flash" ; \
1712 echo "export CONFIG_BOOT_ROM" >> config.mk;
1714 CU824_config: unconfig
1715 @$(MKCONFIG) $(@:_config=) ppc mpc824x cu824
1717 debris_config: unconfig
1718 @$(MKCONFIG) $(@:_config=) ppc mpc824x debris etin
1720 eXalion_config: unconfig
1721 @$(MKCONFIG) $(@:_config=) ppc mpc824x eXalion
1723 HIDDEN_DRAGON_config: unconfig
1724 @$(MKCONFIG) $(@:_config=) ppc mpc824x hidden_dragon
1726 kvme080_config: unconfig
1727 @$(MKCONFIG) $(@:_config=) ppc mpc824x kvme080 etin
1729 # HDLAN is broken ATM. Should be fixed as soon as hardware is available and as
1731 #linkstation_HDLAN_config \
1732 # Remove this line when HDLAN is fixed
1733 linkstation_HGLAN_config: unconfig
1734 @mkdir -p $(obj)include
1736 *HGLAN*) echo "#define CONFIG_HGLAN 1" >$(obj)include/config.h; ;; \
1737 *HDLAN*) echo "#define CONFIG_HLAN 1" >$(obj)include/config.h; ;; \
1739 @$(MKCONFIG) -n $@ -a linkstation ppc mpc824x linkstation
1741 MOUSSE_config: unconfig
1742 @$(MKCONFIG) $(@:_config=) ppc mpc824x mousse
1744 MUSENKI_config: unconfig
1745 @$(MKCONFIG) $(@:_config=) ppc mpc824x musenki
1747 MVBLUE_config: unconfig
1748 @$(MKCONFIG) $(@:_config=) ppc mpc824x mvblue
1750 OXC_config: unconfig
1751 @$(MKCONFIG) $(@:_config=) ppc mpc824x oxc
1753 PN62_config: unconfig
1754 @$(MKCONFIG) $(@:_config=) ppc mpc824x pn62
1756 Sandpoint8240_config: unconfig
1757 @$(MKCONFIG) $(@:_config=) ppc mpc824x sandpoint
1759 Sandpoint8245_config: unconfig
1760 @$(MKCONFIG) $(@:_config=) ppc mpc824x sandpoint
1762 sbc8240_config: unconfig
1763 @$(MKCONFIG) $(@:_config=) ppc mpc824x sbc8240
1765 SL8245_config: unconfig
1766 @$(MKCONFIG) $(@:_config=) ppc mpc824x sl8245
1768 utx8245_config: unconfig
1769 @$(MKCONFIG) $(@:_config=) ppc mpc824x utx8245
1771 #########################################################################
1773 #########################################################################
1775 atc_config: unconfig
1776 @$(MKCONFIG) $(@:_config=) ppc mpc8260 atc
1778 cogent_mpc8260_config: unconfig
1779 @$(MKCONFIG) $(@:_config=) ppc mpc8260 cogent
1782 CPU86_ROMBOOT_config: unconfig
1783 @$(MKCONFIG) $(call xtract_82xx,$@) ppc mpc8260 cpu86
1784 @cd $(obj)include ; \
1785 if [ "$(findstring _ROMBOOT_,$@)" ] ; then \
1786 echo "CONFIG_BOOT_ROM = y" >> config.mk ; \
1787 $(XECHO) "... booting from 8-bit flash" ; \
1789 echo "CONFIG_BOOT_ROM = n" >> config.mk ; \
1790 $(XECHO) "... booting from 64-bit flash" ; \
1792 echo "export CONFIG_BOOT_ROM" >> config.mk;
1795 CPU87_ROMBOOT_config: unconfig
1796 @$(MKCONFIG) $(call xtract_82xx,$@) ppc mpc8260 cpu87
1797 @cd $(obj)include ; \
1798 if [ "$(findstring _ROMBOOT_,$@)" ] ; then \
1799 echo "CONFIG_BOOT_ROM = y" >> config.mk ; \
1800 $(XECHO) "... booting from 8-bit flash" ; \
1802 echo "CONFIG_BOOT_ROM = n" >> config.mk ; \
1803 $(XECHO) "... booting from 64-bit flash" ; \
1805 echo "export CONFIG_BOOT_ROM" >> config.mk;
1808 ep8248E_config : unconfig
1809 @$(MKCONFIG) ep8248 ppc mpc8260 ep8248
1811 ep8260_config: unconfig
1812 @$(MKCONFIG) $(@:_config=) ppc mpc8260 ep8260
1814 ep82xxm_config: unconfig
1815 @$(MKCONFIG) $(@:_config=) ppc mpc8260 ep82xxm
1817 gw8260_config: unconfig
1818 @$(MKCONFIG) $(@:_config=) ppc mpc8260 gw8260
1820 hymod_config: unconfig
1821 @$(MKCONFIG) $(@:_config=) ppc mpc8260 hymod
1823 IDS8247_config: unconfig
1824 @$(MKCONFIG) $(@:_config=) ppc mpc8260 ids8247
1826 IPHASE4539_config: unconfig
1827 @$(MKCONFIG) $(@:_config=) ppc mpc8260 iphase4539
1830 ISPAN_REVB_config: unconfig
1831 @mkdir -p $(obj)include
1832 @if [ "$(findstring _REVB_,$@)" ] ; then \
1833 echo "#define CONFIG_SYS_REV_B" > $(obj)include/config.h ; \
1835 @$(MKCONFIG) -a ISPAN ppc mpc8260 ispan
1837 mgcoge_config : unconfig
1838 @$(MKCONFIG) mgcoge ppc mpc8260 mgcoge keymile
1841 MPC8260ADS_lowboot_config \
1842 MPC8260ADS_33MHz_config \
1843 MPC8260ADS_33MHz_lowboot_config \
1844 MPC8260ADS_40MHz_config \
1845 MPC8260ADS_40MHz_lowboot_config \
1847 MPC8272ADS_lowboot_config \
1849 PQ2FADS_lowboot_config \
1851 PQ2FADS-VR_lowboot_config \
1853 PQ2FADS-ZU_lowboot_config \
1854 PQ2FADS-ZU_66MHz_config \
1855 PQ2FADS-ZU_66MHz_lowboot_config \
1857 @mkdir -p $(obj)include
1858 @mkdir -p $(obj)board/freescale/mpc8260ads
1859 $(if $(findstring PQ2FADS,$@), \
1860 @echo "#define CONFIG_ADSTYPE CONFIG_SYS_PQ2FADS" > $(obj)include/config.h, \
1861 @echo "#define CONFIG_ADSTYPE CONFIG_SYS_"$(subst MPC,,$(word 1,$(subst _, ,$@))) > $(obj)include/config.h)
1862 $(if $(findstring MHz,$@), \
1863 @echo "#define CONFIG_8260_CLKIN" $(subst MHz,,$(word 2,$(subst _, ,$@)))"000000" >> $(obj)include/config.h, \
1864 $(if $(findstring VR,$@), \
1865 @echo "#define CONFIG_8260_CLKIN 66000000" >> $(obj)include/config.h))
1866 @[ -z "$(findstring lowboot_,$@)" ] || \
1867 { echo "TEXT_BASE = 0xFF800000" >$(obj)board/freescale/mpc8260ads/config.tmp ; \
1868 $(XECHO) "... with lowboot configuration" ; \
1870 @$(MKCONFIG) -a MPC8260ADS ppc mpc8260 mpc8260ads freescale
1872 MPC8266ADS_config: unconfig
1873 @$(MKCONFIG) $(@:_config=) ppc mpc8260 mpc8266ads freescale
1875 muas3001_dev_config \
1876 muas3001_config : unconfig
1877 @mkdir -p $(obj)include
1878 @mkdir -p $(obj)board/muas3001
1879 @if [ "$(findstring dev,$@)" ] ; then \
1880 echo "#define CONFIG_MUAS_DEV_BOARD" > $(obj)include/config.h ; \
1882 @$(MKCONFIG) -a muas3001 ppc mpc8260 muas3001
1884 # PM825/PM826 default configuration: small (= 8 MB) Flash / boot from 64-bit flash
1886 PM825_ROMBOOT_config \
1887 PM825_BIGFLASH_config \
1888 PM825_ROMBOOT_BIGFLASH_config \
1890 PM826_ROMBOOT_config \
1891 PM826_BIGFLASH_config \
1892 PM826_ROMBOOT_BIGFLASH_config: unconfig
1893 @mkdir -p $(obj)include
1894 @mkdir -p $(obj)board/pm826
1895 @if [ "$(findstring PM825_,$@)" ] ; then \
1896 echo "#define CONFIG_PCI" >$(obj)include/config.h ; \
1898 >$(obj)include/config.h ; \
1900 @if [ "$(findstring _ROMBOOT_,$@)" ] ; then \
1901 $(XECHO) "... booting from 8-bit flash" ; \
1902 echo "#define CONFIG_BOOT_ROM" >>$(obj)include/config.h ; \
1903 echo "TEXT_BASE = 0xFF800000" >$(obj)board/pm826/config.tmp ; \
1904 if [ "$(findstring _BIGFLASH_,$@)" ] ; then \
1905 $(XECHO) "... with 32 MB Flash" ; \
1906 echo "#define CONFIG_FLASH_32MB" >>$(obj)include/config.h ; \
1909 $(XECHO) "... booting from 64-bit flash" ; \
1910 if [ "$(findstring _BIGFLASH_,$@)" ] ; then \
1911 $(XECHO) "... with 32 MB Flash" ; \
1912 echo "#define CONFIG_FLASH_32MB" >>$(obj)include/config.h ; \
1913 echo "TEXT_BASE = 0x40000000" >$(obj)board/pm826/config.tmp ; \
1915 echo "TEXT_BASE = 0xFF000000" >$(obj)board/pm826/config.tmp ; \
1918 @$(MKCONFIG) -a PM826 ppc mpc8260 pm826
1922 PM828_ROMBOOT_config \
1923 PM828_ROMBOOT_PCI_config: unconfig
1924 @mkdir -p $(obj)include
1925 @mkdir -p $(obj)board/pm826
1926 @if [ "$(findstring _PCI_,$@)" ] ; then \
1927 echo "#define CONFIG_PCI" >>$(obj)include/config.h ; \
1928 $(XECHO) "... with PCI enabled" ; \
1930 @if [ "$(findstring _ROMBOOT_,$@)" ] ; then \
1931 $(XECHO) "... booting from 8-bit flash" ; \
1932 echo "#define CONFIG_BOOT_ROM" >>$(obj)include/config.h ; \
1933 echo "TEXT_BASE = 0xFF800000" >$(obj)board/pm826/config.tmp ; \
1935 @$(MKCONFIG) -a PM828 ppc mpc8260 pm828
1937 ppmc8260_config: unconfig
1938 @$(MKCONFIG) $(@:_config=) ppc mpc8260 ppmc8260
1940 Rattler8248_config \
1941 Rattler_config: unconfig
1942 @mkdir -p $(obj)include
1943 $(if $(findstring 8248,$@), \
1944 @echo "#define CONFIG_MPC8248" > $(obj)include/config.h)
1945 @$(MKCONFIG) -a Rattler ppc mpc8260 rattler
1947 RPXsuper_config: unconfig
1948 @$(MKCONFIG) $(@:_config=) ppc mpc8260 rpxsuper
1950 rsdproto_config: unconfig
1951 @$(MKCONFIG) $(@:_config=) ppc mpc8260 rsdproto
1953 sacsng_config: unconfig
1954 @$(MKCONFIG) $(@:_config=) ppc mpc8260 sacsng
1956 sbc8260_config: unconfig
1957 @$(MKCONFIG) $(@:_config=) ppc mpc8260 sbc8260
1959 SCM_config: unconfig
1960 @$(MKCONFIG) $(@:_config=) ppc mpc8260 SCM siemens
1972 TQM8265_AA_config: unconfig
1973 @mkdir -p $(obj)include
1975 TQM8255_AA_config) CTYPE=MPC8255; CFREQ=300; CACHE=no; BMODE=8260;; \
1976 TQM8260_AA_config) CTYPE=MPC8260; CFREQ=200; CACHE=no; BMODE=8260;; \
1977 TQM8260_AB_config) CTYPE=MPC8260; CFREQ=200; CACHE=yes; BMODE=60x;; \
1978 TQM8260_AC_config) CTYPE=MPC8260; CFREQ=200; CACHE=yes; BMODE=60x;; \
1979 TQM8260_AD_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=60x;; \
1980 TQM8260_AE_config) CTYPE=MPC8260; CFREQ=266; CACHE=no; BMODE=8260;; \
1981 TQM8260_AF_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=60x;; \
1982 TQM8260_AG_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=8260;; \
1983 TQM8260_AH_config) CTYPE=MPC8260; CFREQ=300; CACHE=yes; BMODE=60x;; \
1984 TQM8260_AI_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=60x;; \
1985 TQM8265_AA_config) CTYPE=MPC8265; CFREQ=300; CACHE=no; BMODE=60x;; \
1987 if [ "$${CTYPE}" != "MPC8260" ] ; then \
1988 echo "#define CONFIG_$${CTYPE}" >>$(obj)include/config.h ; \
1990 echo "#define CONFIG_$${CFREQ}MHz" >>$(obj)include/config.h ; \
1991 echo "... with $${CFREQ}MHz system clock" ; \
1992 if [ "$${CACHE}" = "yes" ] ; then \
1993 echo "#define CONFIG_L2_CACHE" >>$(obj)include/config.h ; \
1994 $(XECHO) "... with L2 Cache support" ; \
1996 echo "#undef CONFIG_L2_CACHE" >>$(obj)include/config.h ; \
1997 $(XECHO) "... without L2 Cache support" ; \
1999 if [ "$${BMODE}" = "60x" ] ; then \
2000 echo "#define CONFIG_BUSMODE_60x" >>$(obj)include/config.h ; \
2001 $(XECHO) "... with 60x Bus Mode" ; \
2003 echo "#undef CONFIG_BUSMODE_60x" >>$(obj)include/config.h ; \
2004 $(XECHO) "... without 60x Bus Mode" ; \
2006 @$(MKCONFIG) -a TQM8260 ppc mpc8260 tqm8260 tqc
2008 TQM8272_config: unconfig
2009 @$(MKCONFIG) TQM8272 ppc mpc8260 tqm8272 tqc
2011 VoVPN-GW_66MHz_config \
2012 VoVPN-GW_100MHz_config: unconfig
2013 @mkdir -p $(obj)include
2014 @echo "#define CONFIG_CLKIN_$(word 2,$(subst _, ,$@))" > $(obj)include/config.h
2015 @$(MKCONFIG) -a VoVPN-GW ppc mpc8260 vovpn-gw funkwerk
2017 ZPC1900_config: unconfig
2018 @$(MKCONFIG) $(@:_config=) ppc mpc8260 zpc1900
2020 #########################################################################
2022 #########################################################################
2024 M5208EVBE_config : unconfig
2025 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5208evbe freescale
2028 M52277EVB_spansion_config \
2029 M52277EVB_stmicro_config : unconfig
2031 M52277EVB_config) FLASH=SPANSION;; \
2032 M52277EVB_spansion_config) FLASH=SPANSION;; \
2033 M52277EVB_stmicro_config) FLASH=STMICRO;; \
2035 if [ "$${FLASH}" = "SPANSION" ] ; then \
2036 echo "#define CONFIG_SYS_SPANSION_BOOT" >> $(obj)include/config.h ; \
2037 echo "TEXT_BASE = 0x00000000" > $(obj)board/freescale/m52277evb/config.tmp ; \
2038 cp $(obj)board/freescale/m52277evb/u-boot.spa $(obj)board/freescale/m52277evb/u-boot.lds ; \
2039 $(XECHO) "... with SPANSION boot..." ; \
2041 if [ "$${FLASH}" = "STMICRO" ] ; then \
2042 echo "#define CONFIG_CF_SBF" >> $(obj)include/config.h ; \
2043 echo "#define CONFIG_SYS_STMICRO_BOOT" >> $(obj)include/config.h ; \
2044 echo "TEXT_BASE = 0x43E00000" > $(obj)board/freescale/m52277evb/config.tmp ; \
2045 cp $(obj)board/freescale/m52277evb/u-boot.stm $(obj)board/freescale/m52277evb/u-boot.lds ; \
2046 $(XECHO) "... with ST Micro boot..." ; \
2048 @$(MKCONFIG) -a M52277EVB m68k mcf5227x m52277evb freescale
2051 M5235EVB_Flash16_config \
2052 M5235EVB_Flash32_config: unconfig
2054 M5235EVB_config) FLASH=16;; \
2055 M5235EVB_Flash16_config) FLASH=16;; \
2056 M5235EVB_Flash32_config) FLASH=32;; \
2058 if [ "$${FLASH}" != "16" ] ; then \
2059 echo "#define NORFLASH_PS32BIT 1" >> $(obj)include/config.h ; \
2060 echo "TEXT_BASE = 0xFFC00000" > $(obj)board/freescale/m5235evb/config.tmp ; \
2061 cp $(obj)board/freescale/m5235evb/u-boot.32 $(obj)board/freescale/m5235evb/u-boot.lds ; \
2063 echo "TEXT_BASE = 0xFFE00000" > $(obj)board/freescale/m5235evb/config.tmp ; \
2064 cp $(obj)board/freescale/m5235evb/u-boot.16 $(obj)board/freescale/m5235evb/u-boot.lds ; \
2066 @$(MKCONFIG) -a M5235EVB m68k mcf523x m5235evb freescale
2068 M5249EVB_config : unconfig
2069 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5249evb freescale
2071 M5253DEMO_config : unconfig
2072 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5253demo freescale
2074 M5253EVBE_config : unconfig
2075 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5253evbe freescale
2077 cobra5272_config : unconfig
2078 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 cobra5272
2080 EB+MCF-EV123_config : unconfig
2081 @mkdir -p $(obj)include
2082 @mkdir -p $(obj)board/BuS/EB+MCF-EV123
2083 @echo "TEXT_BASE = 0xFFE00000"|tee $(obj)board/BuS/EB+MCF-EV123/textbase.mk
2084 @$(MKCONFIG) EB+MCF-EV123 m68k mcf52x2 EB+MCF-EV123 BuS
2086 EB+MCF-EV123_internal_config : unconfig
2087 @mkdir -p $(obj)include
2088 @mkdir -p $(obj)board/BuS/EB+MCF-EV123
2089 @echo "TEXT_BASE = 0xF0000000"|tee $(obj)board/BuS/EB+MCF-EV123/textbase.mk
2090 @$(MKCONFIG) EB+MCF-EV123 m68k mcf52x2 EB+MCF-EV123 BuS
2092 idmr_config : unconfig
2093 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 idmr
2095 M5271EVB_config : unconfig
2096 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5271evb freescale
2098 M5272C3_config : unconfig
2099 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5272c3 freescale
2101 M5275EVB_config : unconfig
2102 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5275evb freescale
2104 M5282EVB_config : unconfig
2105 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5282evb freescale
2107 M53017EVB_config : unconfig
2108 @$(MKCONFIG) $(@:_config=) m68k mcf532x m53017evb freescale
2111 M5329BFEE_config : unconfig
2113 M5329AFEE_config) NAND=0;; \
2114 M5329BFEE_config) NAND=16;; \
2116 if [ "$${NAND}" != "0" ] ; then \
2117 echo "#define NANDFLASH_SIZE $${NAND}" > $(obj)include/config.h ; \
2119 @$(MKCONFIG) -a M5329EVB m68k mcf532x m5329evb freescale
2121 M5373EVB_config : unconfig
2123 M5373EVB_config) NAND=16;; \
2125 if [ "$${NAND}" != "0" ] ; then \
2126 echo "#define NANDFLASH_SIZE $${NAND}" > $(obj)include/config.h ; \
2128 @$(MKCONFIG) -a M5373EVB m68k mcf532x m5373evb freescale
2131 M54451EVB_stmicro_config : unconfig
2133 M54451EVB_config) FLASH=NOR;; \
2134 M54451EVB_stmicro_config) FLASH=STMICRO;; \
2136 if [ "$${FLASH}" = "NOR" ] ; then \
2137 echo "TEXT_BASE = 0x00000000" > $(obj)board/freescale/m54451evb/config.tmp ; \
2138 cp $(obj)board/freescale/m54451evb/u-boot.spa $(obj)board/freescale/m54451evb/u-boot.lds ; \
2139 $(XECHO) "... with NOR boot..." ; \
2141 if [ "$${FLASH}" = "STMICRO" ] ; then \
2142 echo "#define CONFIG_CF_SBF" >> $(obj)include/config.h ; \
2143 echo "#define CONFIG_SYS_STMICRO_BOOT" >> $(obj)include/config.h ; \
2144 echo "TEXT_BASE = 0x47E00000" > $(obj)board/freescale/m54451evb/config.tmp ; \
2145 cp $(obj)board/freescale/m54451evb/u-boot.stm $(obj)board/freescale/m54451evb/u-boot.lds ; \
2146 $(XECHO) "... with ST Micro boot..." ; \
2148 echo "#define CONFIG_SYS_INPUT_CLKSRC 24000000" >> $(obj)include/config.h ;
2149 @$(MKCONFIG) -a M54451EVB m68k mcf5445x m54451evb freescale
2152 M54455EVB_atmel_config \
2153 M54455EVB_intel_config \
2154 M54455EVB_a33_config \
2155 M54455EVB_a66_config \
2156 M54455EVB_i33_config \
2157 M54455EVB_i66_config \
2158 M54455EVB_stm33_config : unconfig
2160 M54455EVB_config) FLASH=ATMEL; FREQ=33333333;; \
2161 M54455EVB_atmel_config) FLASH=ATMEL; FREQ=33333333;; \
2162 M54455EVB_intel_config) FLASH=INTEL; FREQ=33333333;; \
2163 M54455EVB_a33_config) FLASH=ATMEL; FREQ=33333333;; \
2164 M54455EVB_a66_config) FLASH=ATMEL; FREQ=66666666;; \
2165 M54455EVB_i33_config) FLASH=INTEL; FREQ=33333333;; \
2166 M54455EVB_i66_config) FLASH=INTEL; FREQ=66666666;; \
2167 M54455EVB_stm33_config) FLASH=STMICRO; FREQ=33333333;; \
2169 if [ "$${FLASH}" = "INTEL" ] ; then \
2170 echo "#define CONFIG_SYS_INTEL_BOOT" >> $(obj)include/config.h ; \
2171 echo "TEXT_BASE = 0x00000000" > $(obj)board/freescale/m54455evb/config.tmp ; \
2172 cp $(obj)board/freescale/m54455evb/u-boot.int $(obj)board/freescale/m54455evb/u-boot.lds ; \
2173 $(XECHO) "... with INTEL boot..." ; \
2175 if [ "$${FLASH}" = "ATMEL" ] ; then \
2176 echo "#define CONFIG_SYS_ATMEL_BOOT" >> $(obj)include/config.h ; \
2177 echo "TEXT_BASE = 0x04000000" > $(obj)board/freescale/m54455evb/config.tmp ; \
2178 cp $(obj)board/freescale/m54455evb/u-boot.atm $(obj)board/freescale/m54455evb/u-boot.lds ; \
2179 $(XECHO) "... with ATMEL boot..." ; \
2181 if [ "$${FLASH}" = "STMICRO" ] ; then \
2182 echo "#define CONFIG_CF_SBF" >> $(obj)include/config.h ; \
2183 echo "#define CONFIG_SYS_STMICRO_BOOT" >> $(obj)include/config.h ; \
2184 echo "TEXT_BASE = 0x4FE00000" > $(obj)board/freescale/m54455evb/config.tmp ; \
2185 cp $(obj)board/freescale/m54455evb/u-boot.stm $(obj)board/freescale/m54455evb/u-boot.lds ; \
2186 $(XECHO) "... with ST Micro boot..." ; \
2188 echo "#define CONFIG_SYS_INPUT_CLKSRC $${FREQ}" >> $(obj)include/config.h ; \
2189 $(XECHO) "... with $${FREQ}Hz input clock"
2190 @$(MKCONFIG) -a M54455EVB m68k mcf5445x m54455evb freescale
2198 M5475GFE_config : unconfig
2200 M5475AFE_config) BOOT=2;CODE=0;VID=0;USB=0;RAM=64;RAM1=0;; \
2201 M5475BFE_config) BOOT=2;CODE=16;VID=0;USB=0;RAM=64;RAM1=0;; \
2202 M5475CFE_config) BOOT=2;CODE=16;VID=1;USB=1;RAM=64;RAM1=0;; \
2203 M5475DFE_config) BOOT=2;CODE=0;VID=0;USB=1;RAM=64;RAM1=0;; \
2204 M5475EFE_config) BOOT=2;CODE=0;VID=1;USB=1;RAM=64;RAM1=0;; \
2205 M5475FFE_config) BOOT=2;CODE=32;VID=1;USB=1;RAM=64;RAM1=64;; \
2206 M5475GFE_config) BOOT=4;CODE=0;VID=0;USB=0;RAM=64;RAM1=0;; \
2208 echo "#define CONFIG_SYS_BUSCLK 133333333" > $(obj)include/config.h ; \
2209 echo "#define CONFIG_SYS_BOOTSZ $${BOOT}" >> $(obj)include/config.h ; \
2210 echo "#define CONFIG_SYS_DRAMSZ $${RAM}" >> $(obj)include/config.h ; \
2211 if [ "$${RAM1}" != "0" ] ; then \
2212 echo "#define CONFIG_SYS_DRAMSZ1 $${RAM1}" >> $(obj)include/config.h ; \
2214 if [ "$${CODE}" != "0" ] ; then \
2215 echo "#define CONFIG_SYS_NOR1SZ $${CODE}" >> $(obj)include/config.h ; \
2217 if [ "$${VID}" == "1" ] ; then \
2218 echo "#define CONFIG_SYS_VIDEO" >> $(obj)include/config.h ; \
2220 if [ "$${USB}" == "1" ] ; then \
2221 echo "#define CONFIG_SYS_USBCTRL" >> $(obj)include/config.h ; \
2223 @$(MKCONFIG) -a M5475EVB m68k mcf547x_8x m547xevb freescale
2232 M5485HFE_config : unconfig
2234 M5485AFE_config) BOOT=2;CODE=0;VID=0;USB=0;RAM=64;RAM1=0;; \
2235 M5485BFE_config) BOOT=2;CODE=16;VID=0;USB=0;RAM=64;RAM1=0;; \
2236 M5485CFE_config) BOOT=2;CODE=16;VID=1;USB=1;RAM=64;RAM1=0;; \
2237 M5485DFE_config) BOOT=2;CODE=0;VID=0;USB=1;RAM=64;RAM1=0;; \
2238 M5485EFE_config) BOOT=2;CODE=0;VID=1;USB=1;RAM=64;RAM1=0;; \
2239 M5485FFE_config) BOOT=2;CODE=32;VID=1;USB=1;RAM=64;RAM1=64;; \
2240 M5485GFE_config) BOOT=4;CODE=0;VID=0;USB=0;RAM=64;RAM1=0;; \
2241 M5485HFE_config) BOOT=2;CODE=16;VID=1;USB=0;RAM=64;RAM1=0;; \
2243 echo "#define CONFIG_SYS_BUSCLK 100000000" > $(obj)include/config.h ; \
2244 echo "#define CONFIG_SYS_BOOTSZ $${BOOT}" >> $(obj)include/config.h ; \
2245 echo "#define CONFIG_SYS_DRAMSZ $${RAM}" >> $(obj)include/config.h ; \
2246 if [ "$${RAM1}" != "0" ] ; then \
2247 echo "#define CONFIG_SYS_DRAMSZ1 $${RAM1}" >> $(obj)include/config.h ; \
2249 if [ "$${CODE}" != "0" ] ; then \
2250 echo "#define CONFIG_SYS_NOR1SZ $${CODE}" >> $(obj)include/config.h ; \
2252 if [ "$${VID}" == "1" ] ; then \
2253 echo "#define CONFIG_SYS_VIDEO" >> $(obj)include/config.h ; \
2255 if [ "$${USB}" == "1" ] ; then \
2256 echo "#define CONFIG_SYS_USBCTRL" >> $(obj)include/config.h ; \
2258 @$(MKCONFIG) -a M5485EVB m68k mcf547x_8x m548xevb freescale
2260 TASREG_config : unconfig
2261 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 tasreg esd
2263 #########################################################################
2265 #########################################################################
2267 kmeter1_config: unconfig
2268 @$(MKCONFIG) kmeter1 ppc mpc83xx kmeter1 keymile
2270 MPC8313ERDB_33_config \
2271 MPC8313ERDB_66_config \
2272 MPC8313ERDB_NAND_33_config \
2273 MPC8313ERDB_NAND_66_config: unconfig
2274 @mkdir -p $(obj)include
2275 @mkdir -p $(obj)board/freescale/mpc8313erdb
2276 @if [ "$(findstring _33_,$@)" ] ; then \
2277 $(XECHO) -n "...33M ..." ; \
2278 echo "#define CONFIG_SYS_33MHZ" >>$(obj)include/config.h ; \
2280 if [ "$(findstring _66_,$@)" ] ; then \
2281 $(XECHO) -n "...66M..." ; \
2282 echo "#define CONFIG_SYS_66MHZ" >>$(obj)include/config.h ; \
2284 if [ "$(findstring _NAND_,$@)" ] ; then \
2285 $(XECHO) -n "...NAND..." ; \
2286 echo "TEXT_BASE = 0x00100000" > $(obj)board/freescale/mpc8313erdb/config.tmp ; \
2287 echo "#define CONFIG_NAND_U_BOOT" >>$(obj)include/config.h ; \
2289 @$(MKCONFIG) -a MPC8313ERDB ppc mpc83xx mpc8313erdb freescale
2290 @if [ "$(findstring _NAND_,$@)" ] ; then \
2291 echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk ; \
2294 MPC8315ERDB_config: unconfig
2295 @$(MKCONFIG) -a MPC8315ERDB ppc mpc83xx mpc8315erdb freescale
2297 MPC8323ERDB_config: unconfig
2298 @$(MKCONFIG) -a MPC8323ERDB ppc mpc83xx mpc8323erdb freescale
2300 MPC832XEMDS_config \
2301 MPC832XEMDS_HOST_33_config \
2302 MPC832XEMDS_HOST_66_config \
2303 MPC832XEMDS_SLAVE_config \
2304 MPC832XEMDS_ATM_config: unconfig
2305 @mkdir -p $(obj)include
2306 @if [ "$(findstring _HOST_,$@)" ] ; then \
2307 $(XECHO) -n "... PCI HOST " ; \
2308 echo "#define CONFIG_PCI" >>$(obj)include/config.h ; \
2310 if [ "$(findstring _SLAVE_,$@)" ] ; then \
2311 $(XECHO) "...PCI SLAVE 66M" ; \
2312 echo "#define CONFIG_PCI" >>$(obj)include/config.h ; \
2313 echo "#define CONFIG_PCISLAVE" >>$(obj)include/config.h ; \
2315 if [ "$(findstring _33_,$@)" ] ; then \
2316 $(XECHO) -n "...33M ..." ; \
2317 echo "#define PCI_33M" >>$(obj)include/config.h ; \
2318 echo "#define CONFIG_PQ_MDS_PIB 1" >>$(obj)include/config.h ; \
2320 if [ "$(findstring _66_,$@)" ] ; then \
2321 $(XECHO) -n "...66M..." ; \
2322 echo "#define PCI_66M" >>$(obj)include/config.h ; \
2323 echo "#define CONFIG_PQ_MDS_PIB 1" >>$(obj)include/config.h ; \
2325 if [ "$(findstring _ATM_,$@)" ] ; then \
2326 $(XECHO) -n "...ATM..." ; \
2327 echo "#define CONFIG_PQ_MDS_PIB 1" >>$(obj)include/config.h ; \
2328 echo "#define CONFIG_PQ_MDS_PIB_ATM 1" >>$(obj)include/config.h ; \
2330 @$(MKCONFIG) -a MPC832XEMDS ppc mpc83xx mpc832xemds freescale
2332 MPC8349EMDS_config: unconfig
2333 @$(MKCONFIG) $(@:_config=) ppc mpc83xx mpc8349emds freescale
2336 MPC8349ITX_LOWBOOT_config \
2337 MPC8349ITXGP_config: unconfig
2338 @mkdir -p $(obj)include
2339 @mkdir -p $(obj)board/freescale/mpc8349itx
2340 @echo "#define CONFIG_$(subst _LOWBOOT,,$(@:_config=))" >> $(obj)include/config.h
2341 @if [ "$(findstring GP,$@)" ] ; then \
2342 echo "TEXT_BASE = 0xFE000000" >$(obj)board/freescale/mpc8349itx/config.tmp ; \
2344 @if [ "$(findstring LOWBOOT,$@)" ] ; then \
2345 echo "TEXT_BASE = 0xFE000000" >$(obj)board/freescale/mpc8349itx/config.tmp ; \
2347 @$(MKCONFIG) -a -n $(@:_config=) MPC8349ITX ppc mpc83xx mpc8349itx freescale
2349 MPC8360EMDS_config \
2350 MPC8360EMDS_HOST_33_config \
2351 MPC8360EMDS_HOST_66_config \
2352 MPC8360EMDS_SLAVE_config \
2353 MPC8360EMDS_ATM_config: unconfig
2354 @mkdir -p $(obj)include
2355 @if [ "$(findstring _HOST_,$@)" ] ; then \
2356 $(XECHO) -n "... PCI HOST " ; \
2357 echo "#define CONFIG_PCI" >>$(obj)include/config.h ; \
2359 if [ "$(findstring _SLAVE_,$@)" ] ; then \
2360 $(XECHO) "...PCI SLAVE 66M" ; \
2361 echo "#define CONFIG_PCI" >>$(obj)include/config.h ; \
2362 echo "#define CONFIG_PCISLAVE" >>$(obj)include/config.h ; \
2364 if [ "$(findstring _33_,$@)" ] ; then \
2365 $(XECHO) -n "...33M ..." ; \
2366 echo "#define PCI_33M" >>$(obj)include/config.h ; \
2367 echo "#define CONFIG_PQ_MDS_PIB 1" >>$(obj)include/config.h ; \
2369 if [ "$(findstring _66_,$@)" ] ; then \
2370 $(XECHO) -n "...66M..." ; \
2371 echo "#define PCI_66M" >>$(obj)include/config.h ; \
2372 echo "#define CONFIG_PQ_MDS_PIB 1" >>$(obj)include/config.h ; \
2374 if [ "$(findstring _ATM_,$@)" ] ; then \
2375 $(XECHO) -n "...ATM..." ; \
2376 echo "#define CONFIG_PQ_MDS_PIB 1" >>$(obj)include/config.h ; \
2377 echo "#define CONFIG_PQ_MDS_PIB_ATM 1" >>$(obj)include/config.h ; \
2379 @$(MKCONFIG) -a MPC8360EMDS ppc mpc83xx mpc8360emds freescale
2381 MPC8360ERDK_33_config \
2382 MPC8360ERDK_66_config \
2383 MPC8360ERDK_config: unconfig
2384 @mkdir -p $(obj)include
2385 @if [ "$(findstring _33_,$@)" ] ; then \
2386 $(XECHO) -n "... CLKIN 33MHz " ; \
2387 echo "#define CONFIG_CLKIN_33MHZ" >>$(obj)include/config.h ;\
2389 @$(MKCONFIG) -a MPC8360ERDK ppc mpc83xx mpc8360erdk freescale
2391 MPC837XEMDS_config \
2392 MPC837XEMDS_HOST_config: unconfig
2393 @mkdir -p $(obj)include
2394 @if [ "$(findstring _HOST_,$@)" ] ; then \
2395 $(XECHO) -n "... PCI HOST " ; \
2396 echo "#define CONFIG_PCI" >>$(obj)include/config.h ; \
2398 @$(MKCONFIG) -a MPC837XEMDS ppc mpc83xx mpc837xemds freescale
2400 MPC837XERDB_config: unconfig
2401 @$(MKCONFIG) -a MPC837XERDB ppc mpc83xx mpc837xerdb freescale
2403 MVBLM7_config: unconfig
2404 @$(MKCONFIG) $(@:_config=) ppc mpc83xx mvblm7 matrix_vision
2407 sbc8349_PCI_33_config \
2408 sbc8349_PCI_66_config: unconfig
2409 @$(MKCONFIG) -t $(@:_config=) sbc8349 ppc mpc83xx sbc8349
2411 SIMPC8313_LP_config \
2412 SIMPC8313_SP_config: unconfig
2413 @mkdir -p $(obj)include
2414 @mkdir -p $(obj)board/sheldon/simpc8313
2415 @if [ "$(findstring _LP_,$@)" ] ; then \
2416 $(XECHO) -n "...Large Page NAND..." ; \
2417 echo "#define CONFIG_NAND_LP" >> $(obj)include/config.h ; \
2419 if [ "$(findstring _SP_,$@)" ] ; then \
2420 $(XECHO) -n "...Small Page NAND..." ; \
2421 echo "#define CONFIG_NAND_SP" >> $(obj)include/config.h ; \
2423 @$(MKCONFIG) -a SIMPC8313 ppc mpc83xx simpc8313 sheldon
2424 @echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk
2426 TQM834x_config: unconfig
2427 @$(MKCONFIG) $(@:_config=) ppc mpc83xx tqm834x tqc
2429 vme8349_config: unconfig
2430 @$(MKCONFIG) $(@:_config=) ppc mpc83xx vme8349 esd
2432 #########################################################################
2434 #########################################################################
2436 ATUM8548_config: unconfig
2437 @$(MKCONFIG) $(@:_config=) ppc mpc85xx atum8548
2439 MPC8536DS_NAND_config \
2440 MPC8536DS_SDCARD_config \
2441 MPC8536DS_SPIFLASH_config \
2442 MPC8536DS_36BIT_config \
2443 MPC8536DS_config: unconfig
2444 @$(MKCONFIG) -t $(@:_config=) MPC8536DS ppc mpc85xx mpc8536ds freescale
2446 MPC8540ADS_config: unconfig
2447 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8540ads freescale
2449 MPC8540EVAL_config \
2450 MPC8540EVAL_33_config \
2451 MPC8540EVAL_66_config \
2452 MPC8540EVAL_33_slave_config \
2453 MPC8540EVAL_66_slave_config: unconfig
2454 @mkdir -p $(obj)include
2455 @if [ "$(findstring _33_,$@)" ] ; then \
2456 $(XECHO) "... 33 MHz PCI" ; \
2458 echo "#define CONFIG_SYSCLK_66M" >>$(obj)include/config.h ; \
2459 $(XECHO) "... 66 MHz PCI" ; \
2461 if [ "$(findstring _slave_,$@)" ] ; then \
2462 echo "#define CONFIG_PCI_SLAVE" >>$(obj)include/config.h ; \
2463 $(XECHO) " slave" ; \
2465 $(XECHO) " host" ; \
2467 @$(MKCONFIG) -a MPC8540EVAL ppc mpc85xx mpc8540eval
2469 MPC8560ADS_config: unconfig
2470 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8560ads freescale
2472 MPC8541CDS_legacy_config \
2473 MPC8541CDS_config: unconfig
2474 @mkdir -p $(obj)include
2475 @if [ "$(findstring _legacy_,$@)" ] ; then \
2476 echo "#define CONFIG_LEGACY" >>$(obj)include/config.h ; \
2477 $(XECHO) "... legacy" ; \
2479 @$(MKCONFIG) -a MPC8541CDS ppc mpc85xx mpc8541cds freescale
2481 MPC8544DS_config: unconfig
2482 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8544ds freescale
2484 MPC8548CDS_legacy_config \
2485 MPC8548CDS_config: unconfig
2486 @mkdir -p $(obj)include
2487 @if [ "$(findstring _legacy_,$@)" ] ; then \
2488 echo "#define CONFIG_LEGACY" >>$(obj)include/config.h ; \
2489 $(XECHO) "... legacy" ; \
2491 @$(MKCONFIG) -a MPC8548CDS ppc mpc85xx mpc8548cds freescale
2493 MPC8555CDS_legacy_config \
2494 MPC8555CDS_config: unconfig
2495 @mkdir -p $(obj)include
2496 @if [ "$(findstring _legacy_,$@)" ] ; then \
2497 echo "#define CONFIG_LEGACY" >>$(obj)include/config.h ; \
2498 $(XECHO) "... legacy" ; \
2500 @$(MKCONFIG) -a MPC8555CDS ppc mpc85xx mpc8555cds freescale
2502 MPC8568MDS_config: unconfig
2503 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8568mds freescale
2505 MPC8569MDS_config: unconfig
2506 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8569mds freescale
2508 MPC8572DS_36BIT_config \
2509 MPC8572DS_config: unconfig
2510 @$(MKCONFIG) -t $(@:_config=) MPC8572DS ppc mpc85xx mpc8572ds freescale
2512 P2020DS_36BIT_config \
2513 P2020DS_config: unconfig
2514 @$(MKCONFIG) -t $(@:_config=) P2020DS ppc mpc85xx p2020ds freescale
2517 P1011RDB_NAND_config \
2518 P1011RDB_SDCARD_config \
2519 P1011RDB_SPIFLASH_config \
2521 P1020RDB_NAND_config \
2522 P1020RDB_SDCARD_config \
2523 P1020RDB_SPIFLASH_config \
2525 P2010RDB_NAND_config \
2526 P2010RDB_SDCARD_config \
2527 P2010RDB_SPIFLASH_config \
2529 P2020RDB_NAND_config \
2530 P2020RDB_SDCARD_config \
2531 P2020RDB_SPIFLASH_config: unconfig
2532 @$(MKCONFIG) -t $(@:_config=) P1_P2_RDB ppc mpc85xx p1_p2_rdb freescale
2534 PM854_config: unconfig
2535 @$(MKCONFIG) $(@:_config=) ppc mpc85xx pm854
2537 PM856_config: unconfig
2538 @$(MKCONFIG) $(@:_config=) ppc mpc85xx pm856
2542 sbc8540_66_config: unconfig
2543 @$(MKCONFIG) -t $(@:_config=) SBC8540 ppc mpc85xx sbc8560
2546 sbc8548_PCI_33_config \
2547 sbc8548_PCI_66_config \
2548 sbc8548_PCI_33_PCIE_config \
2549 sbc8548_PCI_66_PCIE_config: unconfig
2550 @$(MKCONFIG) -t $(@:_config=) sbc8548 ppc mpc85xx sbc8548
2554 sbc8560_66_config: unconfig
2555 @$(MKCONFIG) -t $(@:_config=) sbc8560 ppc mpc85xx sbc8560
2557 socrates_config: unconfig
2558 @$(MKCONFIG) $(@:_config=) ppc mpc85xx socrates
2560 stxgp3_config: unconfig
2561 @$(MKCONFIG) $(@:_config=) ppc mpc85xx stxgp3 stx
2564 stxssa_4M_config: unconfig
2565 @mkdir -p $(obj)include
2566 @if [ "$(findstring _4M_,$@)" ] ; then \
2567 echo "#define CONFIG_STXSSA_4M" >>$(obj)include/config.h ; \
2568 $(XECHO) "... with 4 MiB flash memory" ; \
2570 @$(MKCONFIG) -a stxssa ppc mpc85xx stxssa stx
2578 TQM8560_config: unconfig
2579 @mkdir -p $(obj)include
2580 @BTYPE=$(@:_config=); \
2581 CTYPE=$(subst TQM,,$(subst _AG,,$(subst _BE,,$(@:_config=)))); \
2582 $(XECHO) "... "$${BTYPE}" (MPC"$${CTYPE}")"; \
2583 echo "#define CONFIG_MPC$${CTYPE}">>$(obj)include/config.h; \
2584 echo "#define CONFIG_$${BTYPE}">>$(obj)include/config.h; \
2585 echo "#define CONFIG_HOSTNAME tqm$${CTYPE}">>$(obj)include/config.h; \
2586 echo "#define CONFIG_BOARDNAME \"$${BTYPE}\"">>$(obj)include/config.h;
2587 @$(MKCONFIG) -a TQM85xx ppc mpc85xx tqm85xx tqc
2588 @echo "CONFIG_$(@:_config=) = y">>$(obj)include/config.mk;
2590 XPEDITE5200_config: unconfig
2591 @$(MKCONFIG) $(@:_config=) ppc mpc85xx xpedite5200 xes
2593 XPEDITE5370_config: unconfig
2594 @$(MKCONFIG) $(@:_config=) ppc mpc85xx xpedite5370 xes
2596 #########################################################################
2598 #########################################################################
2600 MPC8610HPCD_config: unconfig
2601 @$(MKCONFIG) $(@:_config=) ppc mpc86xx mpc8610hpcd freescale
2603 MPC8641HPCN_36BIT_config \
2604 MPC8641HPCN_config: unconfig
2605 @mkdir -p $(obj)include
2606 @if [ "$(findstring _36BIT_,$@)" ] ; then \
2607 echo "#define CONFIG_PHYS_64BIT" >>$(obj)include/config.h ; \
2608 $(XECHO) "... enabling 36-bit physical addressing." ; \
2610 @$(MKCONFIG) -a MPC8641HPCN ppc mpc86xx mpc8641hpcn freescale
2612 sbc8641d_config: unconfig
2613 @$(MKCONFIG) $(@:_config=) ppc mpc86xx sbc8641d
2615 XPEDITE5170_config: unconfig
2616 @$(MKCONFIG) $(@:_config=) ppc mpc86xx xpedite5170 xes
2618 #########################################################################
2620 #########################################################################
2622 AmigaOneG3SE_config: unconfig
2623 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx AmigaOneG3SE MAI
2625 BAB7xx_config: unconfig
2626 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx bab7xx eltec
2628 CPCI750_config: unconfig
2629 @$(MKCONFIG) CPCI750 ppc 74xx_7xx cpci750 esd
2631 DB64360_config: unconfig
2632 @$(MKCONFIG) DB64360 ppc 74xx_7xx db64360 Marvell
2634 DB64460_config: unconfig
2635 @$(MKCONFIG) DB64460 ppc 74xx_7xx db64460 Marvell
2637 ELPPC_config: unconfig
2638 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx elppc eltec
2641 EVB64260_750CX_config: unconfig
2642 @$(MKCONFIG) EVB64260 ppc 74xx_7xx evb64260
2644 mpc7448hpc2_config: unconfig
2645 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx mpc7448hpc2 freescale
2647 P3G4_config: unconfig
2648 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx evb64260
2651 p3m7448_config: unconfig
2652 @mkdir -p $(obj)include
2653 @if [ "$(findstring 750_,$@)" ] ; then \
2654 echo "#define CONFIG_P3M750" >>$(obj)include/config.h ; \
2656 echo "#define CONFIG_P3M7448" >>$(obj)include/config.h ; \
2658 @$(MKCONFIG) -a p3mx ppc 74xx_7xx p3mx prodrive
2661 PCIPPC6_config: unconfig
2662 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx pcippc2
2664 ppmc7xx_config: unconfig
2665 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx ppmc7xx
2667 ZUMA_config: unconfig
2668 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx evb64260
2670 #========================================================================
2672 #========================================================================
2673 #########################################################################
2674 ## StrongARM Systems
2675 #########################################################################
2677 assabet_config : unconfig
2678 @$(MKCONFIG) $(@:_config=) arm sa1100 assabet
2680 dnp1110_config : unconfig
2681 @$(MKCONFIG) $(@:_config=) arm sa1100 dnp1110
2683 gcplus_config : unconfig
2684 @$(MKCONFIG) $(@:_config=) arm sa1100 gcplus
2686 lart_config : unconfig
2687 @$(MKCONFIG) $(@:_config=) arm sa1100 lart
2689 shannon_config : unconfig
2690 @$(MKCONFIG) $(@:_config=) arm sa1100 shannon
2692 #########################################################################
2694 #########################################################################
2696 #########################################################################
2697 ## Atmel AT91RM9200 Systems
2698 #########################################################################
2700 at91rm9200dk_config : unconfig
2701 @$(MKCONFIG) $(@:_config=) arm arm920t at91rm9200dk atmel at91rm9200
2703 at91rm9200ek_config : unconfig
2704 @$(MKCONFIG) $(@:_config=) arm arm920t at91rm9200ek atmel at91rm9200
2706 cmc_pu2_config : unconfig
2707 @$(MKCONFIG) $(@:_config=) arm arm920t cmc_pu2 NULL at91rm9200
2709 CPUAT91_RAM_config \
2710 CPUAT91_config : unconfig
2711 @mkdir -p $(obj)include
2712 @echo "#define CONFIG_$(@:_config=) 1" >$(obj)include/config.h
2713 @$(MKCONFIG) -a cpuat91 arm arm920t cpuat91 eukrea at91rm9200
2715 csb637_config : unconfig
2716 @$(MKCONFIG) $(@:_config=) arm arm920t csb637 NULL at91rm9200
2718 kb9202_config : unconfig
2719 @$(MKCONFIG) $(@:_config=) arm arm920t kb9202 NULL at91rm9200
2721 m501sk_config : unconfig
2722 @$(MKCONFIG) $(@:_config=) arm arm920t m501sk NULL at91rm9200
2724 mp2usb_config : unconfig
2725 @$(MKCONFIG) $(@:_config=) arm arm920t mp2usb NULL at91rm9200
2727 #########################################################################
2728 ## Atmel ARM926EJ-S Systems
2729 #########################################################################
2731 afeb9260_config: unconfig
2732 @$(MKCONFIG) $(@:_config=) arm arm926ejs afeb9260 NULL at91
2734 at91cap9adk_config : unconfig
2735 @$(MKCONFIG) $(@:_config=) arm arm926ejs at91cap9adk atmel at91
2737 at91sam9260ek_nandflash_config \
2738 at91sam9260ek_dataflash_cs0_config \
2739 at91sam9260ek_dataflash_cs1_config \
2740 at91sam9260ek_config \
2741 at91sam9g20ek_nandflash_config \
2742 at91sam9g20ek_dataflash_cs0_config \
2743 at91sam9g20ek_dataflash_cs1_config \
2744 at91sam9g20ek_config : unconfig
2745 @mkdir -p $(obj)include
2746 @if [ "$(findstring 9g20,$@)" ] ; then \
2747 echo "#define CONFIG_AT91SAM9G20EK 1" >>$(obj)include/config.h ; \
2748 $(XECHO) "... 9G20 Variant" ; \
2750 echo "#define CONFIG_AT91SAM9260EK 1" >>$(obj)include/config.h ; \
2752 @if [ "$(findstring _nandflash,$@)" ] ; then \
2753 echo "#define CONFIG_SYS_USE_NANDFLASH 1" >>$(obj)include/config.h ; \
2754 $(XECHO) "... with environment variable in NAND FLASH" ; \
2755 elif [ "$(findstring dataflash_cs0,$@)" ] ; then \
2756 echo "#define CONFIG_SYS_USE_DATAFLASH_CS0 1" >>$(obj)include/config.h ; \
2757 $(XECHO) "... with environment variable in SPI DATAFLASH CS0" ; \
2759 echo "#define CONFIG_SYS_USE_DATAFLASH_CS1 1" >>$(obj)include/config.h ; \
2760 $(XECHO) "... with environment variable in SPI DATAFLASH CS1" ; \
2762 @$(MKCONFIG) -a at91sam9260ek arm arm926ejs at91sam9260ek atmel at91
2764 at91sam9xeek_nandflash_config \
2765 at91sam9xeek_dataflash_cs0_config \
2766 at91sam9xeek_dataflash_cs1_config \
2767 at91sam9xeek_config : unconfig
2768 @mkdir -p $(obj)include
2769 @if [ "$(findstring _nandflash,$@)" ] ; then \
2770 echo "#define CONFIG_SYS_USE_NANDFLASH 1" >>$(obj)include/config.h ; \
2771 $(XECHO) "... with environment variable in NAND FLASH" ; \
2772 elif [ "$(findstring dataflash_cs0,$@)" ] ; then \
2773 echo "#define CONFIG_SYS_USE_DATAFLASH_CS0 1" >>$(obj)include/config.h ; \
2774 $(XECHO) "... with environment variable in SPI DATAFLASH CS0" ; \
2776 echo "#define CONFIG_SYS_USE_DATAFLASH_CS1 1" >>$(obj)include/config.h ; \
2777 $(XECHO) "... with environment variable in SPI DATAFLASH CS1" ; \
2779 @$(MKCONFIG) -n at91sam9xeek -a at91sam9260ek arm arm926ejs at91sam9260ek atmel at91
2781 at91sam9261ek_nandflash_config \
2782 at91sam9261ek_dataflash_cs0_config \
2783 at91sam9261ek_dataflash_cs3_config \
2784 at91sam9261ek_config \
2785 at91sam9g10ek_nandflash_config \
2786 at91sam9g10ek_dataflash_cs0_config \
2787 at91sam9g10ek_dataflash_cs3_config \
2788 at91sam9g10ek_config : unconfig
2789 @mkdir -p $(obj)include
2790 @if [ "$(findstring 9g10,$@)" ] ; then \
2791 echo "#define CONFIG_AT91SAM9G10EK 1" >>$(obj)include/config.h ; \
2792 $(XECHO) "... 9G10 Variant" ; \
2794 echo "#define CONFIG_AT91SAM9261EK 1" >>$(obj)include/config.h ; \
2796 @if [ "$(findstring _nandflash,$@)" ] ; then \
2797 echo "#define CONFIG_SYS_USE_NANDFLASH 1" >>$(obj)include/config.h ; \
2798 $(XECHO) "... with environment variable in NAND FLASH" ; \
2799 elif [ "$(findstring dataflash_cs0,$@)" ] ; then \
2800 echo "#define CONFIG_SYS_USE_DATAFLASH_CS3 1" >>$(obj)include/config.h ; \
2801 $(XECHO) "... with environment variable in SPI DATAFLASH CS3" ; \
2803 echo "#define CONFIG_SYS_USE_DATAFLASH_CS0 1" >>$(obj)include/config.h ; \
2804 $(XECHO) "... with environment variable in SPI DATAFLASH CS0" ; \
2806 @$(MKCONFIG) -a at91sam9261ek arm arm926ejs at91sam9261ek atmel at91
2808 at91sam9263ek_norflash_config \
2809 at91sam9263ek_norflash_boot_config \
2810 at91sam9263ek_nandflash_config \
2811 at91sam9263ek_dataflash_config \
2812 at91sam9263ek_dataflash_cs0_config \
2813 at91sam9263ek_config : unconfig
2814 @mkdir -p $(obj)include
2815 @if [ "$(findstring _nandflash,$@)" ] ; then \
2816 echo "#define CONFIG_SYS_USE_NANDFLASH 1" >>$(obj)include/config.h ; \
2817 $(XECHO) "... with environment variable in NAND FLASH" ; \
2818 elif [ "$(findstring norflash,$@)" ] ; then \
2819 echo "#define CONFIG_SYS_USE_NORFLASH 1" >>$(obj)include/config.h ; \
2820 $(XECHO) "... with environment variable in NOR FLASH" ; \
2822 echo "#define CONFIG_SYS_USE_DATAFLASH 1" >>$(obj)include/config.h ; \
2823 $(XECHO) "... with environment variable in SPI DATAFLASH CS0" ; \
2825 @if [ "$(findstring norflash_boot,$@)" ] ; then \
2826 echo "#define CONFIG_SYS_USE_BOOT_NORFLASH 1" >>$(obj)include/config.h ; \
2827 $(XECHO) "... and boot from NOR FLASH" ; \
2829 @$(MKCONFIG) -a at91sam9263ek arm arm926ejs at91sam9263ek atmel at91
2831 at91sam9rlek_nandflash_config \
2832 at91sam9rlek_dataflash_config \
2833 at91sam9rlek_dataflash_cs0_config \
2834 at91sam9rlek_config : unconfig
2835 @mkdir -p $(obj)include
2836 @if [ "$(findstring _nandflash,$@)" ] ; then \
2837 echo "#define CONFIG_SYS_USE_NANDFLASH 1" >>$(obj)include/config.h ; \
2838 $(XECHO) "... with environment variable in NAND FLASH" ; \
2840 echo "#define CONFIG_SYS_USE_DATAFLASH 1" >>$(obj)include/config.h ; \
2841 $(XECHO) "... with environment variable in SPI DATAFLASH CS0" ; \
2843 @$(MKCONFIG) -a at91sam9rlek arm arm926ejs at91sam9rlek atmel at91
2845 CPU9G20_128M_config \
2847 CPU9260_128M_config \
2848 CPU9260_config : unconfig
2849 @mkdir -p $(obj)include
2850 @echo "#define CONFIG_$(@:_config=) 1" >$(obj)include/config.h
2851 @$(MKCONFIG) -a cpu9260 arm arm926ejs cpu9260 eukrea at91
2853 meesc_config : unconfig
2854 @$(MKCONFIG) $(@:_config=) arm arm926ejs meesc esd at91
2856 pm9261_config : unconfig
2857 @$(MKCONFIG) $(@:_config=) arm arm926ejs pm9261 ronetix at91
2859 at91sam9m10g45ek_nandflash_config \
2860 at91sam9m10g45ek_dataflash_config \
2861 at91sam9m10g45ek_dataflash_cs0_config \
2862 at91sam9m10g45ek_config \
2863 at91sam9g45ekes_nandflash_config \
2864 at91sam9g45ekes_dataflash_config \
2865 at91sam9g45ekes_dataflash_cs0_config \
2866 at91sam9g45ekes_config : unconfig
2867 @mkdir -p $(obj)include
2868 @if [ "$(findstring 9m10,$@)" ] ; then \
2869 echo "#define CONFIG_AT91SAM9M10G45EK 1" >>$(obj)include/config.h ; \
2870 $(XECHO) "... 9M10G45 Variant" ; \
2872 echo "#define CONFIG_AT91SAM9G45EKES 1" >>$(obj)include/config.h ; \
2875 @if [ "$(findstring _nandflash,$@)" ] ; then \
2876 echo "#define CONFIG_SYS_USE_NANDFLASH 1" >>$(obj)include/config.h ; \
2877 $(XECHO) "... with environment variable in NAND FLASH" ; \
2879 echo "#define CONFIG_ATMEL_SPI 1" >>$(obj)include/config.h ; \
2880 $(XECHO) "... with environment variable in SPI DATAFLASH CS0" ; \
2882 @$(MKCONFIG) -a at91sam9m10g45ek arm arm926ejs at91sam9m10g45ek atmel at91
2884 pm9263_config : unconfig
2885 @$(MKCONFIG) $(@:_config=) arm arm926ejs pm9263 ronetix at91
2887 SBC35_A9G20_NANDFLASH_config \
2888 SBC35_A9G20_EEPROM_config \
2889 SBC35_A9G20_config : unconfig
2890 @mkdir -p $(obj)include
2891 @echo "#define CONFIG_$(@:_config=) 1" >$(obj)include/config.h
2892 @$(MKCONFIG) -a sbc35_a9g20 arm arm926ejs sbc35_a9g20 calao at91
2894 TNY_A9G20_NANDFLASH_config \
2895 TNY_A9G20_EEPROM_config \
2897 TNY_A9260_NANDFLASH_config \
2898 TNY_A9260_EEPROM_config \
2899 TNY_A9260_config : unconfig
2900 @mkdir -p $(obj)include
2901 @echo "#define CONFIG_$(@:_config=) 1" >$(obj)include/config.h
2902 @$(MKCONFIG) -a tny_a9260 arm arm926ejs tny_a9260 calao at91
2904 ########################################################################
2905 ## ARM Integrator boards - see doc/README-integrator for more info.
2906 integratorap_config \
2915 ap946es_config: unconfig
2916 @board/armltd/integrator/split_by_variant.sh ap $@
2918 integratorcp_config \
2927 cp1026_config: unconfig
2928 @board/armltd/integrator/split_by_variant.sh cp $@
2930 davinci_dvevm_config : unconfig
2931 @$(MKCONFIG) $(@:_config=) arm arm926ejs dvevm davinci davinci
2933 davinci_schmoogie_config : unconfig
2934 @$(MKCONFIG) $(@:_config=) arm arm926ejs schmoogie davinci davinci
2936 davinci_sffsdr_config : unconfig
2937 @$(MKCONFIG) $(@:_config=) arm arm926ejs sffsdr davinci davinci
2939 davinci_sonata_config : unconfig
2940 @$(MKCONFIG) $(@:_config=) arm arm926ejs sonata davinci davinci
2942 davinci_dm355evm_config : unconfig
2943 @$(MKCONFIG) $(@:_config=) arm arm926ejs dm355evm davinci davinci
2945 davinci_dm355leopard_config : unconfig
2946 @$(MKCONFIG) $(@:_config=) arm arm926ejs dm355leopard davinci davinci
2948 davinci_dm365evm_config : unconfig
2949 @$(MKCONFIG) $(@:_config=) arm arm926ejs dm365evm davinci davinci
2951 davinci_dm6467evm_config : unconfig
2952 @$(MKCONFIG) $(@:_config=) arm arm926ejs dm6467evm davinci davinci
2954 imx27lite_config: unconfig
2955 @$(MKCONFIG) $(@:_config=) arm arm926ejs imx27lite logicpd mx27
2958 lpd7a404_config: unconfig
2959 @$(MKCONFIG) $(@:_config=) arm lh7a40x lpd7a40x
2961 mv88f6281gtw_ge_config: unconfig
2962 @$(MKCONFIG) $(@:_config=) arm arm926ejs $(@:_config=) Marvell kirkwood
2964 mx1ads_config : unconfig
2965 @$(MKCONFIG) $(@:_config=) arm arm920t mx1ads NULL imx
2967 mx1fs2_config : unconfig
2968 @$(MKCONFIG) $(@:_config=) arm arm920t mx1fs2 NULL imx
2970 netstar_config: unconfig
2971 @$(MKCONFIG) $(@:_config=) arm arm925t netstar
2974 nhk8815_onenand_config: unconfig
2975 @mkdir -p $(obj)include
2976 @ > $(obj)include/config.h
2977 @if [ "$(findstring _onenand, $@)" ] ; then \
2978 echo "#define CONFIG_BOOT_ONENAND" >> $(obj)include/config.h; \
2979 $(XECHO) "... configured to boot from OneNand Flash"; \
2981 $(XECHO) "... configured to boot from Nand Flash"; \
2983 @$(MKCONFIG) -a nhk8815 arm arm926ejs nhk8815 st nomadik
2985 omap1510inn_config : unconfig
2986 @$(MKCONFIG) $(@:_config=) arm arm925t omap1510inn ti
2988 xtract_omap1610xxx = $(subst _cs0boot,,$(subst _cs3boot,,$(subst _cs_autoboot,,$(subst _config,,$1))))
2990 omap1610inn_config \
2991 omap1610inn_cs0boot_config \
2992 omap1610inn_cs3boot_config \
2993 omap1610inn_cs_autoboot_config \
2995 omap1610h2_cs0boot_config \
2996 omap1610h2_cs3boot_config \
2997 omap1610h2_cs_autoboot_config: unconfig
2998 @mkdir -p $(obj)include
2999 @if [ "$(findstring _cs0boot_, $@)" ] ; then \
3000 echo "#define CONFIG_CS0_BOOT" >> .$(obj)include/config.h ; \
3001 $(XECHO) "... configured for CS0 boot"; \
3002 elif [ "$(findstring _cs_autoboot_, $@)" ] ; then \
3003 echo "#define CONFIG_CS_AUTOBOOT" >> $(obj)include/config.h ; \
3004 $(XECHO) "... configured for CS_AUTO boot"; \
3006 echo "#define CONFIG_CS3_BOOT" >> $(obj)include/config.h ; \
3007 $(XECHO) "... configured for CS3 boot"; \
3009 @$(MKCONFIG) -a $(call xtract_omap1610xxx,$@) arm arm926ejs omap1610inn ti omap
3011 omap5912osk_config : unconfig
3012 @$(MKCONFIG) $(@:_config=) arm arm926ejs omap5912osk ti omap
3014 openrd_base_config: unconfig
3015 @$(MKCONFIG) $(@:_config=) arm arm926ejs $(@:_config=) Marvell kirkwood
3017 xtract_omap730p2 = $(subst _cs0boot,,$(subst _cs3boot,, $(subst _config,,$1)))
3020 omap730p2_cs0boot_config \
3021 omap730p2_cs3boot_config : unconfig
3022 @mkdir -p $(obj)include
3023 @if [ "$(findstring _cs0boot_, $@)" ] ; then \
3024 echo "#define CONFIG_CS0_BOOT" >> $(obj)include/config.h ; \
3025 $(XECHO) "... configured for CS0 boot"; \
3027 echo "#define CONFIG_CS3_BOOT" >> $(obj)include/config.h ; \
3028 $(XECHO) "... configured for CS3 boot"; \
3030 @$(MKCONFIG) -a $(call xtract_omap730p2,$@) arm arm926ejs omap730p2 ti omap
3032 rd6281a_config: unconfig
3033 @$(MKCONFIG) $(@:_config=) arm arm926ejs $(@:_config=) Marvell kirkwood
3035 sbc2410x_config: unconfig
3036 @$(MKCONFIG) $(@:_config=) arm arm920t sbc2410x NULL s3c24x0
3038 scb9328_config : unconfig
3039 @$(MKCONFIG) $(@:_config=) arm arm920t scb9328 NULL imx
3041 sheevaplug_config: unconfig
3042 @$(MKCONFIG) $(@:_config=) arm arm926ejs $(@:_config=) Marvell kirkwood
3044 smdk2400_config : unconfig
3045 @$(MKCONFIG) $(@:_config=) arm arm920t smdk2400 samsung s3c24x0
3047 smdk2410_config : unconfig
3048 @$(MKCONFIG) $(@:_config=) arm arm920t smdk2410 samsung s3c24x0
3050 SX1_stdout_serial_config \
3051 SX1_config: unconfig
3052 @mkdir -p $(obj)include
3053 @if [ "$(findstring _stdout_serial_, $@)" ] ; then \
3054 echo "#undef CONFIG_STDOUT_USBTTY" >> $(obj)include/config.h ; \
3055 $(XECHO) "... configured for stdout serial"; \
3057 echo "#define CONFIG_STDOUT_USBTTY" >> $(obj)include/config.h ; \
3058 $(XECHO) "... configured for stdout usbtty"; \
3060 @$(MKCONFIG) SX1 arm arm925t sx1
3062 # TRAB default configuration: 8 MB Flash, 32 MB RAM
3063 xtract_trab = $(subst _bigram,,$(subst _bigflash,,$(subst _old,,$(subst _config,,$1))))
3066 trab_bigram_config \
3067 trab_bigflash_config \
3068 trab_old_config: unconfig
3069 @mkdir -p $(obj)include
3070 @mkdir -p $(obj)board/trab
3071 @[ -z "$(findstring _bigram,$@)" ] || \
3072 { echo "#define CONFIG_FLASH_8MB" >>$(obj)include/config.h ; \
3073 echo "#define CONFIG_RAM_32MB" >>$(obj)include/config.h ; \
3074 $(XECHO) "... with 8 MB Flash, 32 MB RAM" ; \
3076 @[ -z "$(findstring _bigflash,$@)" ] || \
3077 { echo "#define CONFIG_FLASH_16MB" >>$(obj)include/config.h ; \
3078 echo "#define CONFIG_RAM_16MB" >>$(obj)include/config.h ; \
3079 $(XECHO) "... with 16 MB Flash, 16 MB RAM" ; \
3080 echo "TEXT_BASE = 0x0CF40000" >$(obj)board/trab/config.tmp ; \
3082 @[ -z "$(findstring _old,$@)" ] || \
3083 { echo "#define CONFIG_FLASH_8MB" >>$(obj)include/config.h ; \
3084 echo "#define CONFIG_RAM_16MB" >>$(obj)include/config.h ; \
3085 $(XECHO) "... with 8 MB Flash, 16 MB RAM" ; \
3086 echo "TEXT_BASE = 0x0CF40000" >$(obj)board/trab/config.tmp ; \
3088 @$(MKCONFIG) -a $(call xtract_trab,$@) arm arm920t trab NULL s3c24x0
3090 VCMA9_config : unconfig
3091 @$(MKCONFIG) $(@:_config=) arm arm920t vcma9 mpl s3c24x0
3093 #########################################################################
3094 # ARM supplied Versatile development boards
3095 #########################################################################
3097 cm4008_config : unconfig
3098 @$(MKCONFIG) $(@:_config=) arm arm920t cm4008 NULL ks8695
3100 cm41xx_config : unconfig
3101 @$(MKCONFIG) $(@:_config=) arm arm920t cm41xx NULL ks8695
3104 versatileab_config \
3105 versatilepb_config : unconfig
3106 @board/armltd/versatile/split_by_variant.sh $@
3108 voiceblue_config: unconfig
3109 @$(MKCONFIG) $(@:_config=) arm arm925t voiceblue
3111 #########################################################################
3113 #########################################################################
3115 B2_config : unconfig
3116 @$(MKCONFIG) $(@:_config=) arm s3c44b0 B2 dave
3118 #########################################################################
3120 #########################################################################
3122 armadillo_config: unconfig
3123 @$(MKCONFIG) $(@:_config=) arm arm720t armadillo
3125 ep7312_config : unconfig
3126 @$(MKCONFIG) $(@:_config=) arm arm720t ep7312
3128 impa7_config : unconfig
3129 @$(MKCONFIG) $(@:_config=) arm arm720t impa7
3131 modnet50_config : unconfig
3132 @$(MKCONFIG) $(@:_config=) arm arm720t modnet50
3134 evb4510_config : unconfig
3135 @$(MKCONFIG) $(@:_config=) arm arm720t evb4510 NULL s3c4510b
3137 lpc2292sodimm_config: unconfig
3138 @$(MKCONFIG) $(@:_config=) arm arm720t lpc2292sodimm NULL lpc2292
3140 SMN42_config : unconfig
3141 @$(MKCONFIG) $(@:_config=) arm arm720t SMN42 siemens lpc2292
3143 #########################################################################
3144 ## ARM CORTEX Systems
3145 #########################################################################
3147 devkit8000_config : unconfig
3148 @$(MKCONFIG) $(@:_config=) arm arm_cortexa8 devkit8000 timll omap3
3150 omap3_beagle_config : unconfig
3151 @$(MKCONFIG) $(@:_config=) arm arm_cortexa8 beagle ti omap3
3153 omap3_overo_config : unconfig
3154 @$(MKCONFIG) $(@:_config=) arm arm_cortexa8 overo NULL omap3
3156 omap3_evm_config : unconfig
3157 @$(MKCONFIG) $(@:_config=) arm arm_cortexa8 evm ti omap3
3159 omap3_pandora_config : unconfig
3160 @$(MKCONFIG) $(@:_config=) arm arm_cortexa8 pandora NULL omap3
3162 omap3_sdp3430_config : unconfig
3163 @$(MKCONFIG) $(@:_config=) arm arm_cortexa8 sdp3430 ti omap3
3165 omap3_zoom1_config : unconfig
3166 @$(MKCONFIG) $(@:_config=) arm arm_cortexa8 zoom1 logicpd omap3
3168 omap3_zoom2_config : unconfig
3169 @$(MKCONFIG) $(@:_config=) arm arm_cortexa8 zoom2 logicpd omap3
3171 smdkc100_config: unconfig
3172 @$(MKCONFIG) $(@:_config=) arm arm_cortexa8 smdkc100 samsung s5pc1xx
3174 #########################################################################
3176 #########################################################################
3178 actux1_config : unconfig
3179 @$(MKCONFIG) $(@:_config=) arm ixp actux1
3181 actux2_config : unconfig
3182 @$(MKCONFIG) $(@:_config=) arm ixp actux2
3184 actux3_config : unconfig
3185 @$(MKCONFIG) $(@:_config=) arm ixp actux3
3187 actux4_config : unconfig
3188 @$(MKCONFIG) $(@:_config=) arm ixp actux4
3190 cerf250_config : unconfig
3191 @$(MKCONFIG) $(@:_config=) arm pxa cerf250
3193 cradle_config : unconfig
3194 @$(MKCONFIG) $(@:_config=) arm pxa cradle
3196 csb226_config : unconfig
3197 @$(MKCONFIG) $(@:_config=) arm pxa csb226
3199 delta_config : unconfig
3200 @$(MKCONFIG) $(@:_config=) arm pxa delta
3202 innokom_config : unconfig
3203 @$(MKCONFIG) $(@:_config=) arm pxa innokom
3205 ixdp425_config : unconfig
3206 @$(MKCONFIG) $(@:_config=) arm ixp ixdp425
3208 ixdpg425_config : unconfig
3209 @$(MKCONFIG) $(@:_config=) arm ixp ixdp425
3211 lubbock_config : unconfig
3212 @$(MKCONFIG) $(@:_config=) arm pxa lubbock
3214 pleb2_config : unconfig
3215 @$(MKCONFIG) $(@:_config=) arm pxa pleb2
3217 logodl_config : unconfig
3218 @$(MKCONFIG) $(@:_config=) arm pxa logodl
3221 scpu_config: unconfig
3222 @mkdir -p $(obj)include
3223 @if [ "$(findstring scpu_,$@)" ] ; then \
3224 echo "#define CONFIG_SCPU" >>$(obj)include/config.h ; \
3225 $(XECHO) "... on SCPU board variant" ; \
3227 @$(MKCONFIG) -a pdnb3 arm ixp pdnb3 prodrive
3229 pxa255_idp_config: unconfig
3230 @$(MKCONFIG) $(@:_config=) arm pxa pxa255_idp
3233 trizepsiv_config : unconfig
3234 @mkdir -p $(obj)include
3235 @if [ "$(findstring polaris,$@)" ] ; then \
3236 echo "#define CONFIG_POLARIS 1" >>$(obj)include/config.h ; \
3238 @$(MKCONFIG) -a trizepsiv arm pxa trizepsiv
3240 wepep250_config : unconfig
3241 @$(MKCONFIG) $(@:_config=) arm pxa wepep250
3243 xaeniax_config : unconfig
3244 @$(MKCONFIG) $(@:_config=) arm pxa xaeniax
3246 xm250_config : unconfig
3247 @$(MKCONFIG) $(@:_config=) arm pxa xm250
3249 xsengine_config : unconfig
3250 @$(MKCONFIG) $(@:_config=) arm pxa xsengine
3253 @$(MKCONFIG) $(@:_config=) arm pxa zylonite
3255 #########################################################################
3257 #########################################################################
3259 apollon_config : unconfig
3260 @echo "#define CONFIG_ONENAND_U_BOOT" > $(obj)include/config.h
3261 @$(MKCONFIG) $(@:_config=) arm arm1136 apollon NULL omap24xx
3262 @echo "CONFIG_ONENAND_U_BOOT = y" >> $(obj)include/config.mk
3264 imx31_litekit_config : unconfig
3265 @$(MKCONFIG) $(@:_config=) arm arm1136 imx31_litekit logicpd mx31
3267 imx31_phycore_eet_config \
3268 imx31_phycore_config : unconfig
3269 @mkdir -p $(obj)include
3270 @if [ -n "$(findstring _eet_,$@)" ]; then \
3271 echo "#define CONFIG_IMX31_PHYCORE_EET" >> $(obj)include/config.h; \
3273 @$(MKCONFIG) -a imx31_phycore arm arm1136 imx31_phycore NULL mx31
3275 mx31ads_config : unconfig
3276 @$(MKCONFIG) $(@:_config=) arm arm1136 mx31ads freescale mx31
3279 mx31pdk_nand_config : unconfig
3280 @mkdir -p $(obj)include
3281 @if [ -n "$(findstring _nand_,$@)" ]; then \
3282 echo "#define CONFIG_NAND_U_BOOT" >> $(obj)include/config.h; \
3284 echo "#define CONFIG_SKIP_LOWLEVEL_INIT" >> $(obj)include/config.h; \
3285 echo "#define CONFIG_SKIP_RELOCATE_UBOOT" >> $(obj)include/config.h; \
3287 @$(MKCONFIG) -a mx31pdk arm arm1136 mx31pdk freescale mx31
3289 omap2420h4_config : unconfig
3290 @$(MKCONFIG) $(@:_config=) arm arm1136 omap2420h4 ti omap24xx
3292 qong_config : unconfig
3293 @$(MKCONFIG) $(@:_config=) arm arm1136 qong davedenx mx31
3295 #########################################################################
3297 #########################################################################
3298 smdk6400_noUSB_config \
3299 smdk6400_config : unconfig
3300 @mkdir -p $(obj)include $(obj)board/samsung/smdk6400
3301 @mkdir -p $(obj)nand_spl/board/samsung/smdk6400
3302 @echo "#define CONFIG_NAND_U_BOOT" > $(obj)include/config.h
3303 @if [ -z "$(findstring smdk6400_noUSB_config,$@)" ]; then \
3304 echo "RAM_TEXT = 0x57e00000" >> $(obj)board/samsung/smdk6400/config.tmp;\
3305 $(MKCONFIG) $(@:_config=) arm arm1176 smdk6400 samsung s3c64xx; \
3307 echo "RAM_TEXT = 0xc7e00000" >> $(obj)board/samsung/smdk6400/config.tmp;\
3308 $(MKCONFIG) $(@:_noUSB_config=) arm arm1176 smdk6400 samsung s3c64xx; \
3310 @echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk
3312 #========================================================================
3314 #========================================================================
3315 #########################################################################
3317 #########################################################################
3318 eNET_config : unconfig
3319 @$(MKCONFIG) $(@:_config=) i386 i386 eNET NULL sc520
3321 sc520_cdp_config : unconfig
3322 @$(MKCONFIG) $(@:_config=) i386 i386 sc520_cdp NULL sc520
3324 sc520_spunk_config : unconfig
3325 @$(MKCONFIG) $(@:_config=) i386 i386 sc520_spunk NULL sc520
3327 sc520_spunk_rel_config : unconfig
3328 @$(MKCONFIG) $(@:_config=) i386 i386 sc520_spunk NULL sc520
3330 #========================================================================
3332 #========================================================================
3333 #########################################################################
3335 #########################################################################
3337 xtract_incaip = $(subst _100MHz,,$(subst _133MHz,,$(subst _150MHz,,$(subst _config,,$1))))
3339 incaip_100MHz_config \
3340 incaip_133MHz_config \
3341 incaip_150MHz_config \
3342 incaip_config: unconfig
3343 @mkdir -p $(obj)include
3344 @[ -z "$(findstring _100MHz,$@)" ] || \
3345 { echo "#define CPU_CLOCK_RATE 100000000" >>$(obj)include/config.h ; \
3346 $(XECHO) "... with 100MHz system clock" ; \
3348 @[ -z "$(findstring _133MHz,$@)" ] || \
3349 { echo "#define CPU_CLOCK_RATE 133000000" >>$(obj)include/config.h ; \
3350 $(XECHO) "... with 133MHz system clock" ; \
3352 @[ -z "$(findstring _150MHz,$@)" ] || \
3353 { echo "#define CPU_CLOCK_RATE 150000000" >>$(obj)include/config.h ; \
3354 $(XECHO) "... with 150MHz system clock" ; \
3356 @$(MKCONFIG) -a $(call xtract_incaip,$@) mips mips incaip
3358 tb0229_config: unconfig
3359 @$(MKCONFIG) $(@:_config=) mips mips tb0229
3361 vct_premium_config \
3362 vct_premium_small_config \
3363 vct_premium_onenand_config \
3364 vct_premium_onenand_small_config \
3365 vct_platinum_config \
3366 vct_platinum_small_config \
3367 vct_platinum_onenand_config \
3368 vct_platinum_onenand_small_config \
3369 vct_platinumavc_config \
3370 vct_platinumavc_small_config \
3371 vct_platinumavc_onenand_config \
3372 vct_platinumavc_onenand_small_config: unconfig
3373 @mkdir -p $(obj)include
3374 @if [ "$(findstring _premium,$@)" ] ; then \
3375 echo "#define CONFIG_VCT_PREMIUM" > $(obj)include/config.h ; \
3376 $(XECHO) "... on Premium board variant" ; \
3378 @if [ "$(findstring _platinum_,$@)" ] ; then \
3379 echo "#define CONFIG_VCT_PLATINUM" > $(obj)include/config.h ; \
3380 $(XECHO) "... on Platinum board variant" ; \
3382 @if [ "$(findstring _platinumavc,$@)" ] ; then \
3383 echo "#define CONFIG_VCT_PLATINUMAVC" > $(obj)include/config.h ; \
3384 $(XECHO) "... on PlatinumAVC board variant" ; \
3386 @if [ "$(findstring _onenand,$@)" ] ; then \
3387 echo "#define CONFIG_VCT_ONENAND" >> $(obj)include/config.h ; \
3388 $(XECHO) "... on OneNAND board variant" ; \
3390 @if [ "$(findstring _small,$@)" ] ; then \
3391 echo "#define CONFIG_VCT_SMALL_IMAGE" >> $(obj)include/config.h ; \
3392 $(XECHO) "... stripped down image variant" ; \
3394 @$(MKCONFIG) -a vct mips mips vct micronas
3396 #########################################################################
3398 #########################################################################
3400 dbau1000_config : unconfig
3401 @mkdir -p $(obj)include
3402 @echo "#define CONFIG_DBAU1000 1" >$(obj)include/config.h
3403 @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00
3405 dbau1100_config : unconfig
3406 @mkdir -p $(obj)include
3407 @echo "#define CONFIG_DBAU1100 1" >$(obj)include/config.h
3408 @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00
3410 dbau1500_config : unconfig
3411 @mkdir -p $(obj)include
3412 @echo "#define CONFIG_DBAU1500 1" >$(obj)include/config.h
3413 @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00
3415 dbau1550_config : unconfig
3416 @mkdir -p $(obj)include
3417 @echo "#define CONFIG_DBAU1550 1" >$(obj)include/config.h
3418 @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00
3420 dbau1550_el_config : unconfig
3421 @mkdir -p $(obj)include
3422 @echo "#define CONFIG_DBAU1550 1" >$(obj)include/config.h
3423 @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00
3425 gth2_config : unconfig
3426 @mkdir -p $(obj)include
3427 @echo "#define CONFIG_GTH2 1" >$(obj)include/config.h
3428 @$(MKCONFIG) -a gth2 mips mips gth2
3430 pb1000_config : unconfig
3431 @mkdir -p $(obj)include
3432 @echo "#define CONFIG_PB1000 1" >$(obj)include/config.h
3433 @$(MKCONFIG) -a pb1x00 mips mips pb1x00
3435 qemu_mips_config : unconfig
3436 @mkdir -p $(obj)include
3437 @echo "#define CONFIG_QEMU_MIPS 1" >$(obj)include/config.h
3438 @$(MKCONFIG) -a qemu-mips mips mips qemu-mips
3440 #########################################################################
3442 #########################################################################
3444 purple_config : unconfig
3445 @$(MKCONFIG) $(@:_config=) mips mips purple
3447 #========================================================================
3449 #========================================================================
3450 #########################################################################
3452 #########################################################################
3454 ADNPESC1_DNPEVA2_base_32_config \
3455 ADNPESC1_base_32_config \
3456 ADNPESC1_config: unconfig
3457 @mkdir -p $(obj)include
3458 @[ -z "$(findstring _DNPEVA2,$@)" ] || \
3459 { echo "#define CONFIG_DNPEVA2 1" >>$(obj)include/config.h ; \
3460 $(XECHO) "... DNP/EVA2 configuration" ; \
3462 @[ -z "$(findstring _base_32,$@)" ] || \
3463 { echo "#define CONFIG_NIOS_BASE_32 1" >>$(obj)include/config.h ; \
3464 $(XECHO) "... NIOS 'base_32' configuration" ; \
3466 @[ -z "$(findstring ADNPESC1_config,$@)" ] || \
3467 { echo "#define CONFIG_NIOS_BASE_32 1" >>$(obj)include/config.h ; \
3468 $(XECHO) "... NIOS 'base_32' configuration (DEFAULT)" ; \
3470 @$(MKCONFIG) -a ADNPESC1 nios nios adnpesc1 ssv
3472 DK1C20_safe_32_config \
3473 DK1C20_standard_32_config \
3474 DK1C20_config: unconfig
3475 @mkdir -p $(obj)include
3476 @[ -z "$(findstring _safe_32,$@)" ] || \
3477 { echo "#define CONFIG_NIOS_SAFE_32 1" >>$(obj)include/config.h ; \
3478 $(XECHO) "... NIOS 'safe_32' configuration" ; \
3480 @[ -z "$(findstring _standard_32,$@)" ] || \
3481 { echo "#define CONFIG_NIOS_STANDARD_32 1" >>$(obj)include/config.h ; \
3482 $(XECHO) "... NIOS 'standard_32' configuration" ; \
3484 @[ -z "$(findstring DK1C20_config,$@)" ] || \
3485 { echo "#define CONFIG_NIOS_STANDARD_32 1" >>$(obj)include/config.h ; \
3486 $(XECHO) "... NIOS 'standard_32' configuration (DEFAULT)" ; \
3488 @$(MKCONFIG) -a DK1C20 nios nios dk1c20 altera
3490 DK1S10_safe_32_config \
3491 DK1S10_standard_32_config \
3492 DK1S10_mtx_ldk_20_config \
3493 DK1S10_config: unconfig
3494 @mkdir -p $(obj)include
3495 @[ -z "$(findstring _safe_32,$@)" ] || \
3496 { echo "#define CONFIG_NIOS_SAFE_32 1" >>$(obj)include/config.h ; \
3497 $(XECHO) "... NIOS 'safe_32' configuration" ; \
3499 @[ -z "$(findstring _standard_32,$@)" ] || \
3500 { echo "#define CONFIG_NIOS_STANDARD_32 1" >>$(obj)include/config.h ; \
3501 $(XECHO) "... NIOS 'standard_32' configuration" ; \
3503 @[ -z "$(findstring _mtx_ldk_20,$@)" ] || \
3504 { echo "#define CONFIG_NIOS_MTX_LDK_20 1" >>$(obj)include/config.h ; \
3505 $(XECHO) "... NIOS 'mtx_ldk_20' configuration" ; \
3507 @[ -z "$(findstring DK1S10_config,$@)" ] || \
3508 { echo "#define CONFIG_NIOS_STANDARD_32 1" >>$(obj)include/config.h ; \
3509 $(XECHO) "... NIOS 'standard_32' configuration (DEFAULT)" ; \
3511 @$(MKCONFIG) -a DK1S10 nios nios dk1s10 altera
3513 #########################################################################
3515 #########################################################################
3517 EP1C20_config : unconfig
3518 @$(MKCONFIG) EP1C20 nios2 nios2 ep1c20 altera
3520 EP1S10_config : unconfig
3521 @$(MKCONFIG) EP1S10 nios2 nios2 ep1s10 altera
3523 EP1S40_config : unconfig
3524 @$(MKCONFIG) EP1S40 nios2 nios2 ep1s40 altera
3526 PK1C20_config : unconfig
3527 @$(MKCONFIG) PK1C20 nios2 nios2 pk1c20 psyent
3529 PCI5441_config : unconfig
3530 @$(MKCONFIG) PCI5441 nios2 nios2 pci5441 psyent
3532 #========================================================================
3534 #========================================================================
3536 microblaze-generic_config: unconfig
3537 @mkdir -p $(obj)include
3538 @$(MKCONFIG) -a $(@:_config=) microblaze microblaze microblaze-generic xilinx
3540 #========================================================================
3542 #========================================================================
3544 # Analog Devices boards
3545 BFIN_BOARDS = bf518f-ezbrd bf526-ezbrd bf527-ezkit bf533-ezkit bf533-stamp \
3546 bf537-pnav bf537-stamp bf538f-ezkit bf548-ezkit bf561-ezkit
3548 # Bluetechnix tinyboards
3549 BFIN_BOARDS += cm-bf527 cm-bf533 cm-bf537e cm-bf537u cm-bf548 cm-bf561 tcm-bf537
3551 # Misc third party boards
3552 BFIN_BOARDS += bf537-minotaur bf537-srv1 blackstamp
3554 # I-SYST Micromodule
3555 BFIN_BOARDS += ibf-dsp561
3557 $(BFIN_BOARDS:%=%_config) : unconfig
3558 @$(MKCONFIG) $(@:_config=) blackfin blackfin $(@:_config=)
3560 #========================================================================
3562 #========================================================================
3564 atngw100_config : unconfig
3565 @$(MKCONFIG) $(@:_config=) avr32 at32ap atngw100 atmel at32ap700x
3567 atstk1002_config : unconfig
3568 @$(MKCONFIG) $(@:_config=) avr32 at32ap atstk1000 atmel at32ap700x
3570 atstk1003_config : unconfig
3571 @$(MKCONFIG) $(@:_config=) avr32 at32ap atstk1000 atmel at32ap700x
3573 atstk1004_config : unconfig
3574 @$(MKCONFIG) $(@:_config=) avr32 at32ap atstk1000 atmel at32ap700x
3576 atstk1006_config : unconfig
3577 @$(MKCONFIG) $(@:_config=) avr32 at32ap atstk1000 atmel at32ap700x
3579 favr-32-ezkit_config : unconfig
3580 @$(MKCONFIG) $(@:_config=) avr32 at32ap favr-32-ezkit earthlcd at32ap700x
3582 hammerhead_config : unconfig
3583 @$(MKCONFIG) $(@:_config=) avr32 at32ap hammerhead miromico at32ap700x
3585 mimc200_config : unconfig
3586 @$(MKCONFIG) $(@:_config=) avr32 at32ap mimc200 mimc at32ap700x
3588 #========================================================================
3590 #========================================================================
3592 #########################################################################
3593 ## sh2 (Renesas SuperH)
3594 #########################################################################
3595 rsk7203_config: unconfig
3596 @mkdir -p $(obj)include
3597 @echo "#define CONFIG_RSK7203 1" > $(obj)include/config.h
3598 @$(MKCONFIG) -a $(@:_config=) sh sh2 rsk7203 renesas
3600 #########################################################################
3601 ## sh3 (Renesas SuperH)
3602 #########################################################################
3604 mpr2_config: unconfig
3605 @mkdir -p $(obj)include
3606 @echo "#define CONFIG_MPR2 1" > $(obj)include/config.h
3607 @$(MKCONFIG) -a $(@:_config=) sh sh3 mpr2
3609 ms7720se_config: unconfig
3610 @mkdir -p $(obj)include
3611 @echo "#define CONFIG_MS7720SE 1" > $(obj)include/config.h
3612 @$(MKCONFIG) -a $(@:_config=) sh sh3 ms7720se
3614 #########################################################################
3615 ## sh4 (Renesas SuperH)
3616 #########################################################################
3618 MigoR_config : unconfig
3619 @mkdir -p $(obj)include
3620 @echo "#define CONFIG_MIGO_R 1" > $(obj)include/config.h
3621 @$(MKCONFIG) -a $(@:_config=) sh sh4 MigoR renesas
3623 ms7750se_config: unconfig
3624 @mkdir -p $(obj)include
3625 @echo "#define CONFIG_MS7750SE 1" > $(obj)include/config.h
3626 @$(MKCONFIG) -a $(@:_config=) sh sh4 ms7750se
3628 ms7722se_config : unconfig
3629 @mkdir -p $(obj)include
3630 @echo "#define CONFIG_MS7722SE 1" > $(obj)include/config.h
3631 @$(MKCONFIG) -a $(@:_config=) sh sh4 ms7722se
3633 r2dplus_config : unconfig
3634 @mkdir -p $(obj)include
3635 @echo "#define CONFIG_R2DPLUS 1" > $(obj)include/config.h
3636 @$(MKCONFIG) -a $(@:_config=) sh sh4 r2dplus renesas
3638 r7780mp_config: unconfig
3639 @mkdir -p $(obj)include
3640 @echo "#define CONFIG_R7780MP 1" > $(obj)include/config.h
3641 @$(MKCONFIG) -a $(@:_config=) sh sh4 r7780mp renesas
3643 sh7763rdp_config : unconfig
3644 @mkdir -p $(obj)include
3645 @echo "#define CONFIG_SH7763RDP 1" > $(obj)include/config.h
3646 @$(MKCONFIG) -a $(@:_config=) sh sh4 sh7763rdp renesas
3648 xtract_sh7785lcr = $(subst _32bit,,$(subst _config,,$1))
3649 sh7785lcr_32bit_config \
3650 sh7785lcr_config : unconfig
3651 @mkdir -p $(obj)include
3652 @mkdir -p $(obj)board/renesas/sh7785lcr
3653 @echo "#define CONFIG_SH7785LCR 1" > $(obj)include/config.h
3654 @if [ "$(findstring 32bit, $@)" ] ; then \
3655 echo "#define CONFIG_SH_32BIT 1" >> $(obj)include/config.h ; \
3656 echo "TEXT_BASE = 0x8ff80000" > \
3657 $(obj)board/renesas/sh7785lcr/config.tmp ; \
3658 $(XECHO) " ... enable 32-Bit Address Extended Mode" ; \
3660 @$(MKCONFIG) -a $(call xtract_sh7785lcr,$@) sh sh4 sh7785lcr renesas
3662 ap325rxa_config : unconfig
3663 @mkdir -p $(obj)include
3664 @echo "#define CONFIG_AP325RXA 1" > $(obj)include/config.h
3665 @$(MKCONFIG) -a $(@:_config=) sh sh4 ap325rxa renesas
3667 espt_config : unconfig
3668 @mkdir -p $(obj)include
3669 @echo "#define CONFIG_ESPT 1" > $(obj)include/config.h
3670 @$(MKCONFIG) -a $(@:_config=) sh sh4 espt
3672 #========================================================================
3674 #========================================================================
3676 #########################################################################
3678 #########################################################################
3680 # Gaisler GR-XC3S-1500 board
3681 gr_xc3s_1500_config : unconfig
3682 @$(MKCONFIG) $(@:_config=) sparc leon3 gr_xc3s_1500 gaisler
3684 # Gaisler GR-CPCI-AX2000 board, a General purpose FPGA-AX system
3685 gr_cpci_ax2000_config : unconfig
3686 @$(MKCONFIG) $(@:_config=) sparc leon3 gr_cpci_ax2000 gaisler
3688 # Gaisler GRLIB template design (GPL SPARC/LEON3) for Altera NIOS
3689 # Development board Stratix II edition, FPGA Device EP2S60.
3690 gr_ep2s60_config: unconfig
3691 @$(MKCONFIG) $(@:_config=) sparc leon3 gr_ep2s60 gaisler
3693 # Gaisler LEON3 GRSIM simulator
3694 grsim_config : unconfig
3695 @$(MKCONFIG) $(@:_config=) sparc leon3 grsim gaisler
3697 #########################################################################
3699 #########################################################################
3701 # Gaisler LEON2 GRSIM simulator
3702 grsim_leon2_config : unconfig
3703 @$(MKCONFIG) $(@:_config=) sparc leon2 grsim_leon2 gaisler
3705 #########################################################################
3706 #########################################################################
3707 #########################################################################
3710 @rm -f $(obj)examples/standalone/82559_eeprom \
3711 $(obj)examples/standalone/atmel_df_pow2 \
3712 $(obj)examples/standalone/eepro100_eeprom \
3713 $(obj)examples/standalone/hello_world \
3714 $(obj)examples/standalone/interrupt \
3715 $(obj)examples/standalone/mem_to_mem_idma2intr \
3716 $(obj)examples/standalone/sched \
3717 $(obj)examples/standalone/smc91111_eeprom \
3718 $(obj)examples/standalone/test_burst \
3719 $(obj)examples/standalone/timer
3720 @rm -f $(obj)examples/api/demo{,.bin}
3721 @rm -f $(obj)tools/bmp_logo $(obj)tools/easylogo/easylogo \
3722 $(obj)tools/env/{fw_printenv,fw_setenv} \
3723 $(obj)tools/envcrc \
3724 $(obj)tools/gdb/{astest,gdbcont,gdbsend} \
3725 $(obj)tools/gen_eth_addr $(obj)tools/img2srec \
3726 $(obj)tools/mkimage $(obj)tools/mpc86x_clk \
3727 $(obj)tools/ncb $(obj)tools/ubsha1
3728 @rm -f $(obj)board/cray/L1/{bootscript.c,bootscript.image} \
3729 $(obj)board/netstar/{eeprom,crcek,crcit,*.srec,*.bin} \
3730 $(obj)board/trab/trab_fkt $(obj)board/voiceblue/eeprom \
3731 $(obj)board/armltd/{integratorap,integratorcp}/u-boot.lds \
3732 $(obj)lib_blackfin/u-boot.lds \
3734 $(obj)cpu/blackfin/bootrom-asm-offsets.[chs]
3735 @rm -f $(obj)include/bmp_logo.h
3736 @rm -f $(obj)nand_spl/{u-boot.lds,u-boot-spl,u-boot-spl.map,System.map}
3737 @rm -f $(obj)onenand_ipl/onenand-{ipl,ipl.bin,ipl.map}
3738 @rm -f $(ONENAND_BIN)
3739 @rm -f $(obj)onenand_ipl/u-boot.lds
3740 @rm -f $(TIMESTAMP_FILE) $(VERSION_FILE)
3741 @find $(OBJTREE) -type f \
3742 \( -name 'core' -o -name '*.bak' -o -name '*~' \
3743 -o -name '*.o' -o -name '*.a' -o -name '*.exe' \) -print \
3747 @find $(OBJTREE) -type f \( -name .depend \
3748 -o -name '*.srec' -o -name '*.bin' -o -name u-boot.img \) \
3751 @rm -f $(OBJS) $(obj)*.bak $(obj)ctags $(obj)etags $(obj)TAGS \
3752 $(obj)cscope.* $(obj)*.*~
3753 @rm -f $(obj)u-boot $(obj)u-boot.map $(obj)u-boot.hex $(ALL)
3754 @rm -f $(obj)u-boot.kwb
3755 @rm -f $(obj)tools/{env/crc32.c,inca-swap-bytes}
3756 @rm -f $(obj)cpu/mpc824x/bedbug_603e.c
3757 @rm -f $(obj)include/asm/proc $(obj)include/asm/arch $(obj)include/asm
3758 @[ ! -d $(obj)nand_spl ] || find $(obj)nand_spl -name "*" -type l -print | xargs rm -f
3759 @[ ! -d $(obj)onenand_ipl ] || find $(obj)onenand_ipl -name "*" -type l -print | xargs rm -f
3761 ifeq ($(OBJTREE),$(SRCTREE))
3763 distclean: clobber unconfig
3766 distclean: clobber unconfig
3771 F=`basename $(TOPDIR)` ; cd .. ; \
3772 gtar --force-local -zcvf `date "+$$F-%Y-%m-%d-%T.tar.gz"` $$F
3774 #########################################################################