2 # (C) Copyright 2000-2008
3 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
5 # See file CREDITS for list of people who contributed to this
8 # This program is free software; you can redistribute it and/or
9 # modify it under the terms of the GNU General Public License as
10 # published by the Free Software Foundatio; either version 2 of
11 # the License, or (at your option) any later version.
13 # This program is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 # GNU General Public License for more details.
18 # You should have received a copy of the GNU General Public License
19 # along with this program; if not, write to the Free Software
20 # Foundation, Inc., 59 Temple Place, Suite 330, Boston,
28 ifneq "$(SUBLEVEL)" ""
29 U_BOOT_VERSION = $(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)
31 U_BOOT_VERSION = $(VERSION).$(PATCHLEVEL)$(EXTRAVERSION)
33 VERSION_FILE = $(obj)include/version_autogenerated.h
35 HOSTARCH := $(shell uname -m | \
44 HOSTOS := $(shell uname -s | tr '[:upper:]' '[:lower:]' | \
45 sed -e 's/\(cygwin\).*/cygwin/')
47 export HOSTARCH HOSTOS
49 # Deal with colliding definitions from tcsh etc.
52 #########################################################################
53 # Allow for silent builds
54 ifeq (,$(findstring s,$(MAKEFLAGS)))
60 #########################################################################
62 # U-boot build supports producing a object files to the separate external
63 # directory. Two use cases are supported:
65 # 1) Add O= to the make command line
66 # 'make O=/tmp/build all'
68 # 2) Set environement variable BUILD_DIR to point to the desired location
69 # 'export BUILD_DIR=/tmp/build'
72 # The second approach can also be used with a MAKEALL script
73 # 'export BUILD_DIR=/tmp/build'
76 # Command line 'O=' setting overrides BUILD_DIR environent variable.
78 # When none of the above methods is used the local build is performed and
79 # the object files are placed in the source directory.
83 ifeq ("$(origin O)", "command line")
89 saved-output := $(BUILD_DIR)
91 # Attempt to create a output directory.
92 $(shell [ -d ${BUILD_DIR} ] || mkdir -p ${BUILD_DIR})
94 # Verify if it was successful.
95 BUILD_DIR := $(shell cd $(BUILD_DIR) && /bin/pwd)
96 $(if $(BUILD_DIR),,$(error output directory "$(saved-output)" does not exist))
97 endif # ifneq ($(BUILD_DIR),)
99 OBJTREE := $(if $(BUILD_DIR),$(BUILD_DIR),$(CURDIR))
103 export TOPDIR SRCTREE OBJTREE
105 MKCONFIG := $(SRCTREE)/mkconfig
108 ifneq ($(OBJTREE),$(SRCTREE))
113 # $(obj) and (src) are defined in config.mk but here in main Makefile
114 # we also need them before config.mk is included which is the case for
115 # some targets like unconfig, clean, clobber, distclean, etc.
116 ifneq ($(OBJTREE),$(SRCTREE))
125 # Make sure CDPATH settings don't interfere
128 #########################################################################
130 ifeq ($(ARCH),powerpc)
134 ifeq ($(obj)include/config.mk,$(wildcard $(obj)include/config.mk))
136 # load ARCH, BOARD, and CPU configuration
137 include $(obj)include/config.mk
138 export ARCH CPU BOARD VENDOR SOC
141 ifeq ($(HOSTARCH),$(ARCH))
145 CROSS_COMPILE = ppc_8xx-
148 CROSS_COMPILE = arm-linux-
151 CROSS_COMPILE = i386-linux-
154 CROSS_COMPILE = mips_4KC-
157 CROSS_COMPILE = nios-elf-
160 CROSS_COMPILE = nios2-elf-
163 CROSS_COMPILE = m68k-elf-
165 ifeq ($(ARCH),microblaze)
168 ifeq ($(ARCH),blackfin)
169 CROSS_COMPILE = bfin-uclinux-
172 CROSS_COMPILE = avr32-linux-
175 CROSS_COMPILE = sh4-linux-
178 CROSS_COMPILE = sparc-elf-
180 endif # HOSTARCH,ARCH
181 endif # CROSS_COMPILE
185 # load other configuration
186 include $(TOPDIR)/config.mk
188 #########################################################################
189 # U-Boot objects....order is important (i.e. start must be first)
191 OBJS = cpu/$(CPU)/start.o
193 OBJS += cpu/$(CPU)/start16.o
194 OBJS += cpu/$(CPU)/reset.o
197 OBJS += cpu/$(CPU)/resetvec.o
199 ifeq ($(CPU),mpc85xx)
200 OBJS += cpu/$(CPU)/resetvec.o
203 OBJS := $(addprefix $(obj),$(OBJS))
205 LIBS = lib_generic/libgeneric.a
206 LIBS += lib_generic/lzma/liblzma.a
207 LIBS += $(shell if [ -f board/$(VENDOR)/common/Makefile ]; then echo \
208 "board/$(VENDOR)/common/lib$(VENDOR).a"; fi)
209 LIBS += cpu/$(CPU)/lib$(CPU).a
211 LIBS += cpu/$(CPU)/$(SOC)/lib$(SOC).a
214 LIBS += cpu/ixp/npe/libnpe.a
216 LIBS += lib_$(ARCH)/lib$(ARCH).a
217 LIBS += fs/cramfs/libcramfs.a fs/fat/libfat.a fs/fdos/libfdos.a fs/jffs2/libjffs2.a \
218 fs/reiserfs/libreiserfs.a fs/ext2/libext2fs.a fs/yaffs2/libyaffs2.a
220 LIBS += disk/libdisk.a
221 LIBS += drivers/bios_emulator/libatibiosemu.a
222 LIBS += drivers/block/libblock.a
223 LIBS += drivers/dma/libdma.a
224 LIBS += drivers/fpga/libfpga.a
225 LIBS += drivers/hwmon/libhwmon.a
226 LIBS += drivers/i2c/libi2c.a
227 LIBS += drivers/input/libinput.a
228 LIBS += drivers/misc/libmisc.a
229 LIBS += drivers/mmc/libmmc.a
230 LIBS += drivers/mtd/libmtd.a
231 LIBS += drivers/mtd/nand/libnand.a
232 LIBS += drivers/mtd/nand_legacy/libnand_legacy.a
233 LIBS += drivers/mtd/onenand/libonenand.a
234 LIBS += drivers/mtd/ubi/libubi.a
235 LIBS += drivers/mtd/spi/libspi_flash.a
236 LIBS += drivers/net/libnet.a
237 LIBS += drivers/net/phy/libphy.a
238 LIBS += drivers/net/sk98lin/libsk98lin.a
239 LIBS += drivers/pci/libpci.a
240 LIBS += drivers/pcmcia/libpcmcia.a
241 LIBS += drivers/spi/libspi.a
242 ifeq ($(CPU),mpc83xx)
243 LIBS += drivers/qe/qe.a
245 ifeq ($(CPU),mpc85xx)
246 LIBS += drivers/qe/qe.a
247 LIBS += cpu/mpc8xxx/ddr/libddr.a
248 TAG_SUBDIRS += cpu/mpc8xxx
250 ifeq ($(CPU),mpc86xx)
251 LIBS += cpu/mpc8xxx/ddr/libddr.a
252 TAG_SUBDIRS += cpu/mpc8xxx
254 LIBS += drivers/rtc/librtc.a
255 LIBS += drivers/serial/libserial.a
256 LIBS += drivers/usb/libusb.a
257 LIBS += drivers/video/libvideo.a
258 LIBS += common/libcommon.a
259 LIBS += libfdt/libfdt.a
261 LIBS += post/libpost.a
263 LIBS := $(addprefix $(obj),$(LIBS))
264 .PHONY : $(LIBS) $(VERSION_FILE)
266 LIBBOARD = board/$(BOARDDIR)/lib$(BOARD).a
267 LIBBOARD := $(addprefix $(obj),$(LIBBOARD))
270 PLATFORM_LIBS += -L $(shell dirname `$(CC) $(CFLAGS) -print-libgcc-file-name`) -lgcc
272 # The "tools" are needed early, so put this first
273 # Don't include stuff already done in $(LIBS)
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
290 __OBJS := $(subst $(obj),,$(OBJS))
291 __LIBS := $(subst $(obj),,$(LIBS)) $(subst $(obj),,$(LIBBOARD))
293 #########################################################################
294 #########################################################################
296 ALL += $(obj)u-boot.srec $(obj)u-boot.bin $(obj)System.map $(U_BOOT_NAND) $(U_BOOT_ONENAND)
297 ifeq ($(ARCH),blackfin)
298 ALL += $(obj)u-boot.ldr
303 $(obj)u-boot.hex: $(obj)u-boot
304 $(OBJCOPY) ${OBJCFLAGS} -O ihex $< $@
306 $(obj)u-boot.srec: $(obj)u-boot
307 $(OBJCOPY) -O srec $< $@
309 $(obj)u-boot.bin: $(obj)u-boot
310 $(OBJCOPY) ${OBJCFLAGS} -O binary $< $@
312 $(obj)u-boot.ldr: $(obj)u-boot
313 $(LDR) -T $(CONFIG_BFIN_CPU) -f -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.sha1: $(obj)u-boot.bin
329 $(obj)tools/ubsha1 $(obj)u-boot.bin
331 $(obj)u-boot.dis: $(obj)u-boot
332 $(OBJDUMP) -d $< > $@
334 $(obj)u-boot: depend $(SUBDIRS) $(OBJS) $(LIBBOARD) $(LIBS) $(LDSCRIPT)
335 UNDEF_SYM=`$(OBJDUMP) -x $(LIBBOARD) $(LIBS) | \
336 sed -n -e 's/.*\($(SYM_PREFIX)__u_boot_cmd_.*\)/-u\1/p'|sort|uniq`;\
337 cd $(LNDIR) && $(LD) $(LDFLAGS) $$UNDEF_SYM $(__OBJS) \
338 --start-group $(__LIBS) --end-group $(PLATFORM_LIBS) \
339 -Map u-boot.map -o u-boot
341 $(OBJS): depend $(obj)include/autoconf.mk
342 $(MAKE) -C cpu/$(CPU) $(if $(REMOTE_BUILD),$@,$(notdir $@))
344 $(LIBS): depend $(obj)include/autoconf.mk
345 $(MAKE) -C $(dir $(subst $(obj),,$@))
347 $(LIBBOARD): depend $(LIBS) $(obj)include/autoconf.mk
348 $(MAKE) -C $(dir $(subst $(obj),,$@))
350 $(SUBDIRS): depend $(obj)include/autoconf.mk
353 $(LDSCRIPT): depend $(obj)include/autoconf.mk
354 $(MAKE) -C $(dir $@) $(notdir $@)
356 $(NAND_SPL): $(VERSION_FILE) $(obj)include/autoconf.mk
357 $(MAKE) -C nand_spl/board/$(BOARDDIR) all
359 $(U_BOOT_NAND): $(NAND_SPL) $(obj)u-boot.bin $(obj)include/autoconf.mk
360 cat $(obj)nand_spl/u-boot-spl-16k.bin $(obj)u-boot.bin > $(obj)u-boot-nand.bin
362 $(ONENAND_IPL): $(VERSION_FILE) $(obj)include/autoconf.mk
363 $(MAKE) -C onenand_ipl/board/$(BOARDDIR) all
365 $(U_BOOT_ONENAND): $(ONENAND_IPL) $(obj)u-boot.bin $(obj)include/autoconf.mk
366 cat $(obj)onenand_ipl/onenand-ipl-2k.bin $(obj)u-boot.bin > $(obj)u-boot-onenand.bin
367 cat $(obj)onenand_ipl/onenand-ipl-4k.bin $(obj)u-boot.bin > $(obj)u-boot-flexonenand.bin
370 @( printf '#define U_BOOT_VERSION "U-Boot %s%s"\n' "$(U_BOOT_VERSION)" \
371 '$(shell $(CONFIG_SHELL) $(TOPDIR)/tools/setlocalversion $(TOPDIR))' \
373 @cmp -s $@ $@.tmp && rm -f $@.tmp || mv -f $@.tmp $@
376 $(MAKE) -C tools/gdb all || exit 1
379 $(MAKE) -C tools/updater all || exit 1
382 $(MAKE) -C tools/env all MTD_VERSION=${MTD_VERSION} || exit 1
384 depend dep: $(VERSION_FILE)
385 for dir in $(SUBDIRS) ; do $(MAKE) -C $$dir _depend ; done
387 TAG_SUBDIRS += include
388 TAG_SUBDIRS += lib_generic board/$(BOARDDIR)
389 TAG_SUBDIRS += cpu/$(CPU)
390 TAG_SUBDIRS += lib_$(ARCH)
391 TAG_SUBDIRS += fs/cramfs
392 TAG_SUBDIRS += fs/fat
393 TAG_SUBDIRS += fs/fdos
394 TAG_SUBDIRS += fs/jffs2
395 TAG_SUBDIRS += fs/yaffs2
398 TAG_SUBDIRS += common
399 TAG_SUBDIRS += drivers/bios_emulator
400 TAG_SUBDIRS += drivers/block
401 TAG_SUBDIRS += drivers/hwmon
402 TAG_SUBDIRS += drivers/i2c
403 TAG_SUBDIRS += drivers/input
404 TAG_SUBDIRS += drivers/misc
405 TAG_SUBDIRS += drivers/mmc
406 TAG_SUBDIRS += drivers/mtd
407 TAG_SUBDIRS += drivers/mtd/nand
408 TAG_SUBDIRS += drivers/mtd/nand_legacy
409 TAG_SUBDIRS += drivers/mtd/onenand
410 TAG_SUBDIRS += drivers/mtd/spi
411 TAG_SUBDIRS += drivers/net
412 TAG_SUBDIRS += drivers/net/sk98lin
413 TAG_SUBDIRS += drivers/pci
414 TAG_SUBDIRS += drivers/pcmcia
415 TAG_SUBDIRS += drivers/qe
416 TAG_SUBDIRS += drivers/rtc
417 TAG_SUBDIRS += drivers/serial
418 TAG_SUBDIRS += drivers/spi
419 TAG_SUBDIRS += drivers/usb
420 TAG_SUBDIRS += drivers/video
423 ctags -w -o $(obj)ctags `find $(SUBDIRS) $(TAG_SUBDIRS) \
424 -name '*.[ch]' -print`
427 etags -a -o $(obj)etags `find $(SUBDIRS) $(TAG_SUBDIRS) \
428 -name '*.[ch]' -print`
430 find $(SUBDIRS) $(TAG_SUBDIRS) -name '*.[ch]' -print \
434 $(obj)System.map: $(obj)u-boot
436 grep -v '\(compiled\)\|\(\.o$$\)\|\( [aUw] \)\|\(\.\.ng$$\)\|\(LASH[RL]DI\)' | \
437 sort > $(obj)System.map
440 # Auto-generate the autoconf.mk file (which is included by all makefiles)
442 # This target actually generates 2 files; autoconf.mk and autoconf.mk.dep.
443 # the dep file is only include in this top level makefile to determine when
444 # to regenerate the autoconf.mk file.
445 $(obj)include/autoconf.mk.dep: $(obj)include/config.h include/common.h
446 @$(XECHO) Generating $@ ; \
448 : Generate the dependancies ; \
449 $(CC) -x c -DDO_DEPS_ONLY -M $(HOST_CFLAGS) $(CPPFLAGS) \
450 -MQ $(obj)include/autoconf.mk include/common.h > $@
452 $(obj)include/autoconf.mk: $(obj)include/config.h
453 @$(XECHO) Generating $@ ; \
455 : Extract the config macros ; \
456 $(CPP) $(CFLAGS) -DDO_DEPS_ONLY -dM include/common.h | \
457 sed -n -f tools/scripts/define2mk.sed > $@
459 sinclude $(obj)include/autoconf.mk.dep
461 #########################################################################
463 all $(obj)u-boot.hex $(obj)u-boot.srec $(obj)u-boot.bin \
464 $(obj)u-boot.img $(obj)u-boot.dis $(obj)u-boot \
465 $(SUBDIRS) $(VERSION_FILE) gdbtools updater env depend \
466 dep tags ctags etags cscope $(obj)System.map:
467 @echo "System not configured - see README" >&2
473 git log --no-merges U-Boot-1_1_5.. | \
474 unexpand -a | sed -e 's/\s\s*$$//' > $@
476 include/license.h: tools/bin2header COPYING
477 cat COPYING | gzip -9 -c | ./tools/bin2header license_gzip > include/license.h
478 #########################################################################
481 @rm -f $(obj)include/config.h $(obj)include/config.mk \
482 $(obj)board/*/config.tmp $(obj)board/*/*/config.tmp \
483 $(obj)include/autoconf.mk $(obj)include/autoconf.mk.dep
485 #========================================================================
487 #========================================================================
489 #########################################################################
491 #########################################################################
493 canmb_config: unconfig
494 @$(MKCONFIG) -a canmb ppc mpc5xxx canmb
496 cmi_mpc5xx_config: unconfig
497 @$(MKCONFIG) $(@:_config=) ppc mpc5xx cmi
499 PATI_config: unconfig
500 @$(MKCONFIG) $(@:_config=) ppc mpc5xx pati mpl
502 #########################################################################
504 #########################################################################
507 @$(MKCONFIG) -a aev ppc mpc5xxx tqm5200 tqc
509 BC3450_config: unconfig
510 @$(MKCONFIG) -a BC3450 ppc mpc5xxx bc3450
512 cm5200_config: unconfig
513 @$(MKCONFIG) -a cm5200 ppc mpc5xxx cm5200
515 cpci5200_config: unconfig
516 @$(MKCONFIG) -a cpci5200 ppc mpc5xxx cpci5200 esd
518 hmi1001_config: unconfig
519 @$(MKCONFIG) hmi1001 ppc mpc5xxx hmi1001
522 Lite5200_LOWBOOT_config \
523 Lite5200_LOWBOOT08_config \
524 icecube_5200_config \
525 icecube_5200_LOWBOOT_config \
526 icecube_5200_LOWBOOT08_config \
527 icecube_5200_DDR_config \
528 icecube_5200_DDR_LOWBOOT_config \
529 icecube_5200_DDR_LOWBOOT08_config \
530 icecube_5100_config: unconfig
531 @mkdir -p $(obj)include
532 @mkdir -p $(obj)board/icecube
533 @[ -z "$(findstring LOWBOOT_,$@)" ] || \
534 { if [ "$(findstring DDR,$@)" ] ; \
535 then echo "TEXT_BASE = 0xFF800000" >$(obj)board/icecube/config.tmp ; \
536 else echo "TEXT_BASE = 0xFF000000" >$(obj)board/icecube/config.tmp ; \
538 $(XECHO) "... with LOWBOOT configuration" ; \
540 @[ -z "$(findstring LOWBOOT08,$@)" ] || \
541 { echo "TEXT_BASE = 0xFF800000" >$(obj)board/icecube/config.tmp ; \
542 echo "... with 8 MB flash only" ; \
543 $(XECHO) "... with LOWBOOT configuration" ; \
545 @[ -z "$(findstring DDR,$@)" ] || \
546 { echo "#define CONFIG_MPC5200_DDR" >>$(obj)include/config.h ; \
547 $(XECHO) "... DDR memory revision" ; \
549 @[ -z "$(findstring 5200,$@)" ] || \
550 { echo "#define CONFIG_MPC5200" >>$(obj)include/config.h ; \
551 $(XECHO) "... with MPC5200 processor" ; \
553 @[ -z "$(findstring 5100,$@)" ] || \
554 { echo "#define CONFIG_MGT5100" >>$(obj)include/config.h ; \
555 $(XECHO) "... with MGT5100 processor" ; \
557 @$(MKCONFIG) -a IceCube ppc mpc5xxx icecube
559 jupiter_config: unconfig
560 @$(MKCONFIG) jupiter ppc mpc5xxx jupiter
562 inka4x0_config: unconfig
563 @$(MKCONFIG) inka4x0 ppc mpc5xxx inka4x0
566 lite5200b_PM_config \
567 lite5200b_LOWBOOT_config: unconfig
568 @mkdir -p $(obj)include
569 @mkdir -p $(obj)board/icecube
570 @ echo "#define CONFIG_MPC5200_DDR" >>$(obj)include/config.h
571 @ $(XECHO) "... DDR memory revision"
572 @ echo "#define CONFIG_MPC5200" >>$(obj)include/config.h
573 @ echo "#define CONFIG_LITE5200B" >>$(obj)include/config.h
574 @[ -z "$(findstring _PM_,$@)" ] || \
575 { echo "#define CONFIG_LITE5200B_PM" >>$(obj)include/config.h ; \
576 $(XECHO) "... with power management (low-power mode) support" ; \
578 @[ -z "$(findstring LOWBOOT_,$@)" ] || \
579 { echo "TEXT_BASE = 0xFF000000" >$(obj)board/icecube/config.tmp ; \
580 $(XECHO) "... with LOWBOOT configuration" ; \
582 @ $(XECHO) "... with MPC5200B processor"
583 @$(MKCONFIG) -a IceCube ppc mpc5xxx icecube
586 mcc200_SDRAM_config \
587 mcc200_highboot_config \
588 mcc200_COM12_config \
589 mcc200_COM12_SDRAM_config \
590 mcc200_COM12_highboot_config \
591 mcc200_COM12_highboot_SDRAM_config \
592 mcc200_highboot_SDRAM_config \
595 prs200_highboot_config \
596 prs200_highboot_DDR_config: unconfig
597 @mkdir -p $(obj)include
598 @mkdir -p $(obj)board/mcc200
599 @[ -n "$(findstring highboot,$@)" ] || \
600 { $(XECHO) "... with lowboot configuration" ; \
602 @[ -z "$(findstring highboot,$@)" ] || \
603 { echo "TEXT_BASE = 0xFFF00000" >$(obj)board/mcc200/config.tmp ; \
604 $(XECHO) "... with highboot configuration" ; \
606 @[ -n "$(findstring _SDRAM,$@)" ] || \
607 { if [ -n "$(findstring mcc200,$@)" ]; \
609 $(XECHO) "... with DDR" ; \
611 if [ -n "$(findstring _DDR,$@)" ];\
613 $(XECHO) "... with DDR" ; \
615 echo "#define CONFIG_MCC200_SDRAM" >>$(obj)include/config.h ;\
616 $(XECHO) "... with SDRAM" ; \
620 @[ -z "$(findstring _SDRAM,$@)" ] || \
621 { echo "#define CONFIG_MCC200_SDRAM" >>$(obj)include/config.h ; \
622 $(XECHO) "... with SDRAM" ; \
624 @[ -z "$(findstring COM12,$@)" ] || \
625 { echo "#define CONFIG_CONSOLE_COM12" >>$(obj)include/config.h ; \
626 $(XECHO) "... with console on COM12" ; \
628 @[ -z "$(findstring prs200,$@)" ] || \
629 { echo "#define CONFIG_PRS200" >>$(obj)include/config.h ;\
631 @$(MKCONFIG) -n $@ -a mcc200 ppc mpc5xxx mcc200
633 mecp5200_config: unconfig
634 @$(MKCONFIG) mecp5200 ppc mpc5xxx mecp5200 esd
636 motionpro_config: unconfig
637 @$(MKCONFIG) motionpro ppc mpc5xxx motionpro
639 mucmc52_config: unconfig
640 @$(MKCONFIG) mucmc52 ppc mpc5xxx mucmc52
642 munices_config: unconfig
643 @$(MKCONFIG) munices ppc mpc5xxx munices
645 MVBC_P_config: unconfig
646 @mkdir -p $(obj)include
647 @mkdir -p $(obj)board/mvbc_p
648 @ >$(obj)include/config.h
649 @[ -z "$(findstring MVBC_P,$@)" ] || \
650 { echo "#define CONFIG_MVBC_P" >>$(obj)include/config.h; }
651 @$(MKCONFIG) -n $@ -a MVBC_P ppc mpc5xxx mvbc_p matrix_vision
653 o2dnt_config: unconfig
654 @$(MKCONFIG) o2dnt ppc mpc5xxx o2dnt
656 pf5200_config: unconfig
657 @$(MKCONFIG) pf5200 ppc mpc5xxx pf5200 esd
661 PM520_ROMBOOT_config \
662 PM520_ROMBOOT_DDR_config: unconfig
663 @mkdir -p $(obj)include
664 @[ -z "$(findstring DDR,$@)" ] || \
665 { echo "#define CONFIG_MPC5200_DDR" >>$(obj)include/config.h ; \
666 $(XECHO) "... DDR memory revision" ; \
668 @[ -z "$(findstring ROMBOOT,$@)" ] || \
669 { echo "#define CONFIG_BOOT_ROM" >>$(obj)include/config.h ; \
670 $(XECHO) "... booting from 8-bit flash" ; \
672 @$(MKCONFIG) -a PM520 ppc mpc5xxx pm520
674 smmaco4_config: unconfig
675 @$(MKCONFIG) -a smmaco4 ppc mpc5xxx tqm5200 tqc
677 spieval_config: unconfig
678 @$(MKCONFIG) -a spieval ppc mpc5xxx tqm5200 tqc
681 TB5200_config: unconfig
682 @mkdir -p $(obj)include
683 @[ -z "$(findstring _B,$@)" ] || \
684 { echo "#define CONFIG_TQM5200_B" >>$(obj)include/config.h ; \
685 $(XECHO) "... with MPC5200B processor" ; \
687 @$(MKCONFIG) -n $@ -a TB5200 ppc mpc5xxx tqm5200 tqc
691 TOP5200_config: unconfig
692 @mkdir -p $(obj)include
693 @ echo "#define CONFIG_$(@:_config=) 1" >$(obj)include/config.h
694 @$(MKCONFIG) -n $@ -a TOP5200 ppc mpc5xxx top5200 emk
698 Total5200_lowboot_config \
699 Total5200_Rev2_config \
700 Total5200_Rev2_lowboot_config: unconfig
701 @mkdir -p $(obj)include
702 @mkdir -p $(obj)board/total5200
703 @[ -z "$(findstring 5100,$@)" ] || \
704 { echo "#define CONFIG_MGT5100" >>$(obj)include/config.h ; \
705 $(XECHO) "... with MGT5100 processor" ; \
707 @[ -z "$(findstring 5200,$@)" ] || \
708 { echo "#define CONFIG_MPC5200" >>$(obj)include/config.h ; \
709 $(XECHO) "... with MPC5200 processor" ; \
711 @[ -n "$(findstring Rev,$@)" ] || \
712 { echo "#define CONFIG_TOTAL5200_REV 1" >>$(obj)include/config.h ; \
713 $(XECHO) "... revision 1 board" ; \
715 @[ -z "$(findstring Rev2_,$@)" ] || \
716 { echo "#define CONFIG_TOTAL5200_REV 2" >>$(obj)include/config.h ; \
717 $(XECHO) "... revision 2 board" ; \
719 @[ -z "$(findstring lowboot_,$@)" ] || \
720 { echo "TEXT_BASE = 0xFE000000" >$(obj)board/total5200/config.tmp ; \
721 $(XECHO) "... with lowboot configuration" ; \
723 @$(MKCONFIG) -a Total5200 ppc mpc5xxx total5200
726 cam5200_niosflash_config \
730 TQM5200S_HIGHBOOT_config \
732 TQM5200_B_HIGHBOOT_config \
734 TQM5200_STK100_config: unconfig
735 @mkdir -p $(obj)include
736 @mkdir -p $(obj)board/tqc/tqm5200
737 @[ -z "$(findstring cam5200,$@)" ] || \
738 { echo "#define CONFIG_CAM5200" >>$(obj)include/config.h ; \
739 echo "#define CONFIG_TQM5200S" >>$(obj)include/config.h ; \
740 echo "#define CONFIG_TQM5200_B" >>$(obj)include/config.h ; \
741 $(XECHO) "... TQM5200S on Cam5200" ; \
743 @[ -z "$(findstring niosflash,$@)" ] || \
744 { echo "#define CONFIG_CAM5200_NIOSFLASH" >>$(obj)include/config.h ; \
745 $(XECHO) "... with NIOS flash driver" ; \
747 @[ -z "$(findstring fo300,$@)" ] || \
748 { echo "#define CONFIG_FO300" >>$(obj)include/config.h ; \
749 $(XECHO) "... TQM5200 on FO300" ; \
751 @[ -z "$(findstring MiniFAP,$@)" ] || \
752 { echo "#define CONFIG_MINIFAP" >>$(obj)include/config.h ; \
753 $(XECHO) "... TQM5200_AC on MiniFAP" ; \
755 @[ -z "$(findstring STK100,$@)" ] || \
756 { echo "#define CONFIG_STK52XX_REV100" >>$(obj)include/config.h ; \
757 $(XECHO) "... on a STK52XX.100 base board" ; \
759 @[ -z "$(findstring TQM5200_B,$@)" ] || \
760 { echo "#define CONFIG_TQM5200_B" >>$(obj)include/config.h ; \
762 @[ -z "$(findstring TQM5200S,$@)" ] || \
763 { echo "#define CONFIG_TQM5200S" >>$(obj)include/config.h ; \
764 echo "#define CONFIG_TQM5200_B" >>$(obj)include/config.h ; \
766 @[ -z "$(findstring HIGHBOOT,$@)" ] || \
767 { echo "TEXT_BASE = 0xFFF00000" >$(obj)board/tqm5200/config.tmp ; \
769 @$(MKCONFIG) -n $@ -a TQM5200 ppc mpc5xxx tqm5200 tqc
771 uc101_config: unconfig
772 @$(MKCONFIG) uc101 ppc mpc5xxx uc101
774 v38b_config: unconfig
775 @$(MKCONFIG) -a v38b ppc mpc5xxx v38b
777 #########################################################################
779 #########################################################################
782 ads5121_rev2_config \
784 @mkdir -p $(obj)include
785 @if [ "$(findstring rev2,$@)" ] ; then \
786 echo "#define CONFIG_ADS5121_REV2 1" > $(obj)include/config.h; \
788 @$(MKCONFIG) -a ads5121 ppc mpc512x ads5121
791 #########################################################################
793 #########################################################################
799 @mkdir -p $(obj)include
800 $(if $(findstring AdderII,$@), \
801 @echo "#define CONFIG_MPC852T" > $(obj)include/config.h)
802 @$(MKCONFIG) -a Adder ppc mpc8xx adder
804 AdderUSB_config: unconfig
805 @$(MKCONFIG) -a AdderUSB ppc mpc8xx adder
812 FADS860T_config: unconfig
813 @$(MKCONFIG) $(@:_config=) ppc mpc8xx fads
815 AMX860_config : unconfig
816 @$(MKCONFIG) $(@:_config=) ppc mpc8xx amx860 westel
818 c2mon_config: unconfig
819 @$(MKCONFIG) $(@:_config=) ppc mpc8xx c2mon
822 @$(MKCONFIG) $(@:_config=) ppc mpc8xx CCM siemens
824 cogent_mpc8xx_config: unconfig
825 @$(MKCONFIG) $(@:_config=) ppc mpc8xx cogent
827 ELPT860_config: unconfig
828 @$(MKCONFIG) $(@:_config=) ppc mpc8xx elpt860 LEOX
830 EP88x_config: unconfig
831 @$(MKCONFIG) $(@:_config=) ppc mpc8xx ep88x
833 ESTEEM192E_config: unconfig
834 @$(MKCONFIG) $(@:_config=) ppc mpc8xx esteem192e
836 ETX094_config : unconfig
837 @$(MKCONFIG) $(@:_config=) ppc mpc8xx etx094
839 FLAGADM_config: unconfig
840 @$(MKCONFIG) $(@:_config=) ppc mpc8xx flagadm
842 xtract_GEN860T = $(subst _SC,,$(subst _config,,$1))
845 GEN860T_config: unconfig
846 @mkdir -p $(obj)include
847 @[ -z "$(findstring _SC,$@)" ] || \
848 { echo "#define CONFIG_SC" >>$(obj)include/config.h ; \
849 $(XECHO) "With reduced H/W feature set (SC)..." ; \
851 @$(MKCONFIG) -a $(call xtract_GEN860T,$@) ppc mpc8xx gen860t
853 GENIETV_config: unconfig
854 @$(MKCONFIG) $(@:_config=) ppc mpc8xx genietv
857 @$(MKCONFIG) $(@:_config=) ppc mpc8xx gth
859 hermes_config : unconfig
860 @$(MKCONFIG) $(@:_config=) ppc mpc8xx hermes
862 HMI10_config : unconfig
863 @$(MKCONFIG) $(@:_config=) ppc mpc8xx tqm8xx tqc
865 IAD210_config: unconfig
866 @$(MKCONFIG) $(@:_config=) ppc mpc8xx IAD210 siemens
868 xtract_ICU862 = $(subst _100MHz,,$(subst _config,,$1))
870 ICU862_100MHz_config \
871 ICU862_config: unconfig
872 @mkdir -p $(obj)include
873 @[ -z "$(findstring _100MHz,$@)" ] || \
874 { echo "#define CONFIG_100MHz" >>$(obj)include/config.h ; \
875 $(XECHO) "... with 100MHz system clock" ; \
877 @$(MKCONFIG) -a $(call xtract_ICU862,$@) ppc mpc8xx icu862
879 IP860_config : unconfig
880 @$(MKCONFIG) $(@:_config=) ppc mpc8xx ip860
884 IVML24_config: unconfig
885 @mkdir -p $(obj)include
886 @[ -z "$(findstring IVML24_config,$@)" ] || \
887 { echo "#define CONFIG_IVML24_16M" >>$(obj)include/config.h ; \
889 @[ -z "$(findstring IVML24_128_config,$@)" ] || \
890 { echo "#define CONFIG_IVML24_32M" >>$(obj)include/config.h ; \
892 @[ -z "$(findstring IVML24_256_config,$@)" ] || \
893 { echo "#define CONFIG_IVML24_64M" >>$(obj)include/config.h ; \
895 @$(MKCONFIG) -a IVML24 ppc mpc8xx ivm
899 IVMS8_config: unconfig
900 @mkdir -p $(obj)include
901 @[ -z "$(findstring IVMS8_config,$@)" ] || \
902 { echo "#define CONFIG_IVMS8_16M" >>$(obj)include/config.h ; \
904 @[ -z "$(findstring IVMS8_128_config,$@)" ] || \
905 { echo "#define CONFIG_IVMS8_32M" >>$(obj)include/config.h ; \
907 @[ -z "$(findstring IVMS8_256_config,$@)" ] || \
908 { echo "#define CONFIG_IVMS8_64M" >>$(obj)include/config.h ; \
910 @$(MKCONFIG) -a IVMS8 ppc mpc8xx ivm
912 KUP4K_config : unconfig
913 @$(MKCONFIG) $(@:_config=) ppc mpc8xx kup4k kup
915 KUP4X_config : unconfig
916 @$(MKCONFIG) $(@:_config=) ppc mpc8xx kup4x kup
918 LANTEC_config : unconfig
919 @$(MKCONFIG) $(@:_config=) ppc mpc8xx lantec
921 lwmon_config: unconfig
922 @$(MKCONFIG) $(@:_config=) ppc mpc8xx lwmon
925 MBX860T_config: unconfig
926 @$(MKCONFIG) $(@:_config=) ppc mpc8xx mbx8xx
928 mgsuvd_config: unconfig
929 @$(MKCONFIG) $(@:_config=) ppc mpc8xx mgsuvd keymile
931 MHPC_config: unconfig
932 @$(MKCONFIG) $(@:_config=) ppc mpc8xx mhpc eltec
934 xtract_NETVIA = $(subst _V2,,$(subst _config,,$1))
937 NETVIA_config: unconfig
938 @mkdir -p $(obj)include
939 @[ -z "$(findstring NETVIA_config,$@)" ] || \
940 { echo "#define CONFIG_NETVIA_VERSION 1" >>$(obj)include/config.h ; \
941 $(XECHO) "... Version 1" ; \
943 @[ -z "$(findstring NETVIA_V2_config,$@)" ] || \
944 { echo "#define CONFIG_NETVIA_VERSION 2" >>$(obj)include/config.h ; \
945 $(XECHO) "... Version 2" ; \
947 @$(MKCONFIG) -a $(call xtract_NETVIA,$@) ppc mpc8xx netvia
949 xtract_NETPHONE = $(subst _V2,,$(subst _config,,$1))
952 NETPHONE_config: unconfig
953 @mkdir -p $(obj)include
954 @[ -z "$(findstring NETPHONE_config,$@)" ] || \
955 { echo "#define CONFIG_NETPHONE_VERSION 1" >>$(obj)include/config.h ; \
957 @[ -z "$(findstring NETPHONE_V2_config,$@)" ] || \
958 { echo "#define CONFIG_NETPHONE_VERSION 2" >>$(obj)include/config.h ; \
960 @$(MKCONFIG) -a $(call xtract_NETPHONE,$@) ppc mpc8xx netphone
962 xtract_NETTA = $(subst _SWAPHOOK,,$(subst _6412,,$(subst _ISDN,,$(subst _config,,$1))))
964 NETTA_ISDN_6412_SWAPHOOK_config \
965 NETTA_ISDN_SWAPHOOK_config \
966 NETTA_6412_SWAPHOOK_config \
967 NETTA_SWAPHOOK_config \
968 NETTA_ISDN_6412_config \
971 NETTA_config: unconfig
972 @mkdir -p $(obj)include
973 @[ -z "$(findstring ISDN_,$@)" ] || \
974 { echo "#define CONFIG_NETTA_ISDN 1" >>$(obj)include/config.h ; \
976 @[ -n "$(findstring ISDN_,$@)" ] || \
977 { echo "#undef CONFIG_NETTA_ISDN" >>$(obj)include/config.h ; \
979 @[ -z "$(findstring 6412_,$@)" ] || \
980 { echo "#define CONFIG_NETTA_6412 1" >>$(obj)include/config.h ; \
982 @[ -n "$(findstring 6412_,$@)" ] || \
983 { echo "#undef CONFIG_NETTA_6412" >>$(obj)include/config.h ; \
985 @[ -z "$(findstring SWAPHOOK_,$@)" ] || \
986 { echo "#define CONFIG_NETTA_SWAPHOOK 1" >>$(obj)include/config.h ; \
988 @[ -n "$(findstring SWAPHOOK_,$@)" ] || \
989 { echo "#undef CONFIG_NETTA_SWAPHOOK" >>$(obj)include/config.h ; \
991 @$(MKCONFIG) -a $(call xtract_NETTA,$@) ppc mpc8xx netta
993 xtract_NETTA2 = $(subst _V2,,$(subst _config,,$1))
996 NETTA2_config: unconfig
997 @mkdir -p $(obj)include
998 @[ -z "$(findstring NETTA2_config,$@)" ] || \
999 { echo "#define CONFIG_NETTA2_VERSION 1" >>$(obj)include/config.h ; \
1001 @[ -z "$(findstring NETTA2_V2_config,$@)" ] || \
1002 { echo "#define CONFIG_NETTA2_VERSION 2" >>$(obj)include/config.h ; \
1004 @$(MKCONFIG) -a $(call xtract_NETTA2,$@) ppc mpc8xx netta2
1008 CP850_config: unconfig
1009 @mkdir -p $(obj)include
1010 @[ -z "$(findstring CP850,$@)" ] || \
1011 { echo "#define CONFIG_CP850 1" >>$(obj)include/config.h ; \
1012 echo "#define CONFIG_IDS852_REV2 1" >>$(obj)include/config.h ; \
1014 @[ -z "$(findstring Rev1,$@)" ] || \
1015 { echo "#define CONFIG_IDS852_REV1 1" >>$(obj)include/config.h ; \
1017 @[ -z "$(findstring Rev2,$@)" ] || \
1018 { echo "#define CONFIG_IDS852_REV2 1" >>$(obj)include/config.h ; \
1020 @$(MKCONFIG) -a NC650 ppc mpc8xx nc650
1022 NX823_config: unconfig
1023 @$(MKCONFIG) $(@:_config=) ppc mpc8xx nx823
1025 pcu_e_config: unconfig
1026 @$(MKCONFIG) $(@:_config=) ppc mpc8xx pcu_e siemens
1028 QS850_config: unconfig
1029 @$(MKCONFIG) $(@:_config=) ppc mpc8xx qs850 snmc
1031 QS823_config: unconfig
1032 @$(MKCONFIG) $(@:_config=) ppc mpc8xx qs850 snmc
1034 QS860T_config: unconfig
1035 @$(MKCONFIG) $(@:_config=) ppc mpc8xx qs860t snmc
1037 quantum_config: unconfig
1038 @$(MKCONFIG) $(@:_config=) ppc mpc8xx quantum
1040 R360MPI_config: unconfig
1041 @$(MKCONFIG) $(@:_config=) ppc mpc8xx r360mpi
1043 RBC823_config: unconfig
1044 @$(MKCONFIG) $(@:_config=) ppc mpc8xx rbc823
1046 RPXClassic_config: unconfig
1047 @$(MKCONFIG) $(@:_config=) ppc mpc8xx RPXClassic
1049 RPXlite_config: unconfig
1050 @$(MKCONFIG) $(@:_config=) ppc mpc8xx RPXlite
1052 RPXlite_DW_64_config \
1053 RPXlite_DW_LCD_config \
1054 RPXlite_DW_64_LCD_config \
1055 RPXlite_DW_NVRAM_config \
1056 RPXlite_DW_NVRAM_64_config \
1057 RPXlite_DW_NVRAM_LCD_config \
1058 RPXlite_DW_NVRAM_64_LCD_config \
1059 RPXlite_DW_config: unconfig
1060 @mkdir -p $(obj)include
1061 @[ -z "$(findstring _64,$@)" ] || \
1062 { echo "#define RPXlite_64MHz" >>$(obj)include/config.h ; \
1063 $(XECHO) "... with 64MHz system clock ..."; \
1065 @[ -z "$(findstring _LCD,$@)" ] || \
1066 { echo "#define CONFIG_LCD" >>$(obj)include/config.h ; \
1067 echo "#define CONFIG_NEC_NL6448BC20" >>$(obj)include/config.h ; \
1068 $(XECHO) "... with LCD display ..."; \
1070 @[ -z "$(findstring _NVRAM,$@)" ] || \
1071 { echo "#define CONFIG_ENV_IS_IN_NVRAM" >>$(obj)include/config.h ; \
1072 $(XECHO) "... with ENV in NVRAM ..."; \
1074 @$(MKCONFIG) -a RPXlite_DW ppc mpc8xx RPXlite_dw
1076 rmu_config: unconfig
1077 @$(MKCONFIG) $(@:_config=) ppc mpc8xx rmu
1079 RRvision_config: unconfig
1080 @$(MKCONFIG) $(@:_config=) ppc mpc8xx RRvision
1082 RRvision_LCD_config: unconfig
1083 @mkdir -p $(obj)include
1084 @echo "#define CONFIG_LCD" >$(obj)include/config.h
1085 @echo "#define CONFIG_SHARP_LQ104V7DS01" >>$(obj)include/config.h
1086 @$(MKCONFIG) -a RRvision ppc mpc8xx RRvision
1088 SM850_config : unconfig
1089 @$(MKCONFIG) $(@:_config=) ppc mpc8xx tqm8xx tqc
1091 spc1920_config: unconfig
1092 @$(MKCONFIG) $(@:_config=) ppc mpc8xx spc1920
1094 SPD823TS_config: unconfig
1095 @$(MKCONFIG) $(@:_config=) ppc mpc8xx spd8xx
1097 stxxtc_config: unconfig
1098 @$(MKCONFIG) $(@:_config=) ppc mpc8xx stxxtc
1100 svm_sc8xx_config: unconfig
1101 @$(MKCONFIG) $(@:_config=) ppc mpc8xx svm_sc8xx
1103 SXNI855T_config: unconfig
1104 @$(MKCONFIG) $(@:_config=) ppc mpc8xx sixnet
1106 # EMK MPC8xx based modules
1107 TOP860_config: unconfig
1108 @$(MKCONFIG) $(@:_config=) ppc mpc8xx top860 emk
1110 # Play some tricks for configuration selection
1111 # Only 855 and 860 boards may come with FEC
1112 # and only 823 boards may have LCD support
1113 xtract_8xx = $(subst _LCD,,$(subst _config,,$1))
1119 TQM823L_LCD_config \
1132 virtlab2_config: unconfig
1133 @mkdir -p $(obj)include
1134 @[ -z "$(findstring _LCD,$@)" ] || \
1135 { echo "#define CONFIG_LCD" >>$(obj)include/config.h ; \
1136 echo "#define CONFIG_NEC_NL6448BC20" >>$(obj)include/config.h ; \
1137 $(XECHO) "... with LCD display" ; \
1139 @$(MKCONFIG) -a $(call xtract_8xx,$@) ppc mpc8xx tqm8xx tqc
1141 TTTech_config: unconfig
1142 @mkdir -p $(obj)include
1143 @echo "#define CONFIG_LCD" >$(obj)include/config.h
1144 @echo "#define CONFIG_SHARP_LQ104V7DS01" >>$(obj)include/config.h
1145 @$(MKCONFIG) -a TQM823L ppc mpc8xx tqm8xx tqc
1147 uc100_config : unconfig
1148 @$(MKCONFIG) $(@:_config=) ppc mpc8xx uc100
1150 v37_config: unconfig
1151 @mkdir -p $(obj)include
1152 @echo "#define CONFIG_LCD" >$(obj)include/config.h
1153 @echo "#define CONFIG_SHARP_LQ084V1DG21" >>$(obj)include/config.h
1154 @$(MKCONFIG) $(@:_config=) ppc mpc8xx v37
1156 wtk_config: unconfig
1157 @mkdir -p $(obj)include
1158 @echo "#define CONFIG_LCD" >$(obj)include/config.h
1159 @echo "#define CONFIG_SHARP_LQ065T9DR51U" >>$(obj)include/config.h
1160 @$(MKCONFIG) -a TQM823L ppc mpc8xx tqm8xx tqc
1162 #########################################################################
1164 #########################################################################
1165 xtract_4xx = $(subst _25,,$(subst _33,,$(subst _BA,,$(subst _ME,,$(subst _HI,,$(subst _config,,$1))))))
1167 acadia_config: unconfig
1168 @$(MKCONFIG) $(@:_config=) ppc ppc4xx acadia amcc
1170 acadia_nand_config: unconfig
1171 @mkdir -p $(obj)include $(obj)board/amcc/acadia
1172 @mkdir -p $(obj)nand_spl/board/amcc/acadia
1173 @echo "#define CONFIG_NAND_U_BOOT" > $(obj)include/config.h
1174 @$(MKCONFIG) -n $@ -a acadia ppc ppc4xx acadia amcc
1175 @echo "TEXT_BASE = 0x01000000" > $(obj)board/amcc/acadia/config.tmp
1176 @echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk
1178 ADCIOP_config: unconfig
1179 @$(MKCONFIG) $(@:_config=) ppc ppc4xx adciop esd
1181 alpr_config: unconfig
1182 @$(MKCONFIG) $(@:_config=) ppc ppc4xx alpr prodrive
1184 AP1000_config:unconfig
1185 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ap1000 amirix
1187 APC405_config: unconfig
1188 @$(MKCONFIG) $(@:_config=) ppc ppc4xx apc405 esd
1190 AR405_config: unconfig
1191 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ar405 esd
1193 ASH405_config: unconfig
1194 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ash405 esd
1196 bamboo_config: unconfig
1197 @$(MKCONFIG) $(@:_config=) ppc ppc4xx bamboo amcc
1199 bamboo_nand_config: unconfig
1200 @mkdir -p $(obj)include $(obj)board/amcc/bamboo
1201 @mkdir -p $(obj)nand_spl/board/amcc/bamboo
1202 @echo "#define CONFIG_NAND_U_BOOT" > $(obj)include/config.h
1203 @$(MKCONFIG) -n $@ -a bamboo ppc ppc4xx bamboo amcc
1204 @echo "TEXT_BASE = 0x01000000" > $(obj)board/amcc/bamboo/config.tmp
1205 @echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk
1207 bubinga_config: unconfig
1208 @$(MKCONFIG) $(@:_config=) ppc ppc4xx bubinga amcc
1210 CANBT_config: unconfig
1211 @$(MKCONFIG) $(@:_config=) ppc ppc4xx canbt esd
1213 # Arches, Canyonlands & Glacier use different U-Boot images
1215 canyonlands_config \
1216 glacier_config: unconfig
1217 @mkdir -p $(obj)include
1218 @echo "#define CONFIG_$$(echo $(subst ,,$(@:_config=)) | \
1219 tr '[:lower:]' '[:upper:]')" >$(obj)include/config.h
1220 @$(MKCONFIG) -n $@ -a canyonlands ppc ppc4xx canyonlands amcc
1222 canyonlands_nand_config \
1223 glacier_nand_config: unconfig
1224 @mkdir -p $(obj)include $(obj)board/amcc/canyonlands
1225 @mkdir -p $(obj)nand_spl/board/amcc/canyonlands
1226 @echo "#define CONFIG_NAND_U_BOOT" > $(obj)include/config.h
1227 @echo "#define CONFIG_$$(echo $(subst ,,$(@:_nand_config=)) | \
1228 tr '[:lower:]' '[:upper:]')" >> $(obj)include/config.h
1229 @$(MKCONFIG) -n $@ -a canyonlands ppc ppc4xx canyonlands amcc
1230 @echo "TEXT_BASE = 0x01000000" > $(obj)board/amcc/canyonlands/config.tmp
1231 @echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk
1234 CATcenter_25_config \
1235 CATcenter_33_config: unconfig
1236 @mkdir -p $(obj)include
1237 @ echo "/* CATcenter uses PPChameleon Model ME */" > $(obj)include/config.h
1238 @ echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 1" >> $(obj)include/config.h
1239 @[ -z "$(findstring _25,$@)" ] || \
1240 { echo "#define CONFIG_PPCHAMELEON_CLK_25" >> $(obj)include/config.h ; \
1241 $(XECHO) "SysClk = 25MHz" ; \
1243 @[ -z "$(findstring _33,$@)" ] || \
1244 { echo "#define CONFIG_PPCHAMELEON_CLK_33" >> $(obj)include/config.h ; \
1245 $(XECHO) "SysClk = 33MHz" ; \
1247 @$(MKCONFIG) -a $(call xtract_4xx,$@) ppc ppc4xx PPChameleonEVB dave
1249 CMS700_config: unconfig
1250 @$(MKCONFIG) $(@:_config=) ppc ppc4xx cms700 esd
1252 CPCI2DP_config: unconfig
1253 @$(MKCONFIG) $(@:_config=) ppc ppc4xx cpci2dp esd
1255 CPCI405_config: unconfig
1256 @$(MKCONFIG) $(@:_config=) ppc ppc4xx cpci405 esd
1260 CPCI405AB_config: unconfig
1261 @mkdir -p $(obj)board/esd/cpci405
1262 @echo "TEXT_BASE = 0xFFFC0000" > $(obj)board/esd/cpci405/config.tmp
1263 @$(MKCONFIG) $(@:_config=) ppc ppc4xx cpci405 esd
1265 CPCIISER4_config: unconfig
1266 @$(MKCONFIG) $(@:_config=) ppc ppc4xx cpciiser4 esd
1268 CRAYL1_config: unconfig
1269 @$(MKCONFIG) $(@:_config=) ppc ppc4xx L1 cray
1271 csb272_config: unconfig
1272 @$(MKCONFIG) $(@:_config=) ppc ppc4xx csb272
1274 csb472_config: unconfig
1275 @$(MKCONFIG) $(@:_config=) ppc ppc4xx csb472
1277 DASA_SIM_config: unconfig
1278 @$(MKCONFIG) $(@:_config=) ppc ppc4xx dasa_sim esd
1280 DP405_config: unconfig
1281 @$(MKCONFIG) $(@:_config=) ppc ppc4xx dp405 esd
1283 DU405_config: unconfig
1284 @$(MKCONFIG) $(@:_config=) ppc ppc4xx du405 esd
1286 DU440_config: unconfig
1287 @$(MKCONFIG) $(@:_config=) ppc ppc4xx du440 esd
1289 ebony_config: unconfig
1290 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ebony amcc
1292 ERIC_config: unconfig
1293 @$(MKCONFIG) $(@:_config=) ppc ppc4xx eric
1295 EXBITGEN_config: unconfig
1296 @$(MKCONFIG) $(@:_config=) ppc ppc4xx exbitgen
1298 fx12mm_flash_config: unconfig
1299 @mkdir -p $(obj)include $(obj)board/xilinx/ppc405-generic
1300 @mkdir -p $(obj)include $(obj)board/avnet/fx12mm
1301 @echo "LDSCRIPT:=$(SRCTREE)/board/xilinx/ppc405-generic/u-boot-rom.lds"\
1302 > $(obj)board/avnet/fx12mm/config.tmp
1303 @echo "TEXT_BASE := 0xFFCB0000" \
1304 >> $(obj)board/avnet/fx12mm/config.tmp
1305 @$(MKCONFIG) fx12mm ppc ppc4xx fx12mm avnet
1307 fx12mm_config: unconfig
1308 @mkdir -p $(obj)include $(obj)board/xilinx/ppc405-generic
1309 @mkdir -p $(obj)include $(obj)board/avnet/fx12mm
1310 @echo "LDSCRIPT:=$(SRCTREE)/board/xilinx/ppc405-generic/u-boot-ram.lds"\
1311 > $(obj)board/avnet/fx12mm/config.tmp
1312 @echo "TEXT_BASE := 0x03000000" \
1313 >> $(obj)board/avnet/fx12mm/config.tmp
1314 @$(MKCONFIG) fx12mm ppc ppc4xx fx12mm avnet
1316 G2000_config: unconfig
1317 @$(MKCONFIG) $(@:_config=) ppc ppc4xx g2000
1319 hcu4_config: unconfig
1320 @mkdir -p $(obj)board/netstal/common
1321 @$(MKCONFIG) $(@:_config=) ppc ppc4xx hcu4 netstal
1323 hcu5_config: unconfig
1324 @mkdir -p $(obj)board/netstal/common
1325 @$(MKCONFIG) $(@:_config=) ppc ppc4xx hcu5 netstal
1327 HH405_config: unconfig
1328 @$(MKCONFIG) $(@:_config=) ppc ppc4xx hh405 esd
1330 HUB405_config: unconfig
1331 @$(MKCONFIG) $(@:_config=) ppc ppc4xx hub405 esd
1333 JSE_config: unconfig
1334 @$(MKCONFIG) $(@:_config=) ppc ppc4xx jse
1336 KAREF_config: unconfig
1337 @$(MKCONFIG) $(@:_config=) ppc ppc4xx karef sandburst
1339 katmai_config: unconfig
1340 @$(MKCONFIG) $(@:_config=) ppc ppc4xx katmai amcc
1342 # Kilauea & Haleakala images are identical (recognized via PVR)
1344 haleakala_config: unconfig
1345 @$(MKCONFIG) -n $@ -a kilauea ppc ppc4xx kilauea amcc
1347 kilauea_nand_config \
1348 haleakala_nand_config: unconfig
1349 @mkdir -p $(obj)include $(obj)board/amcc/kilauea
1350 @mkdir -p $(obj)nand_spl/board/amcc/kilauea
1351 @echo "#define CONFIG_NAND_U_BOOT" > $(obj)include/config.h
1352 @$(MKCONFIG) -n $@ -a kilauea ppc ppc4xx kilauea amcc
1353 @echo "TEXT_BASE = 0x01000000" > $(obj)board/amcc/kilauea/config.tmp
1354 @echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk
1356 korat_config: unconfig
1357 @$(MKCONFIG) $(@:_config=) ppc ppc4xx korat
1359 luan_config: unconfig
1360 @$(MKCONFIG) $(@:_config=) ppc ppc4xx luan amcc
1362 lwmon5_config: unconfig
1363 @$(MKCONFIG) $(@:_config=) ppc ppc4xx lwmon5
1365 makalu_config: unconfig
1366 @$(MKCONFIG) $(@:_config=) ppc ppc4xx makalu amcc
1368 mcu25_config: unconfig
1369 @mkdir -p $(obj)board/netstal/common
1370 @$(MKCONFIG) $(@:_config=) ppc ppc4xx mcu25 netstal
1372 METROBOX_config: unconfig
1373 @$(MKCONFIG) $(@:_config=) ppc ppc4xx metrobox sandburst
1375 MIP405_config: unconfig
1376 @$(MKCONFIG) $(@:_config=) ppc ppc4xx mip405 mpl
1378 MIP405T_config: unconfig
1379 @mkdir -p $(obj)include
1380 @echo "#define CONFIG_MIP405T" >$(obj)include/config.h
1381 @$(XECHO) "Enable subset config for MIP405T"
1382 @$(MKCONFIG) -a MIP405 ppc ppc4xx mip405 mpl
1384 ML2_config: unconfig
1385 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ml2
1387 ml300_config: unconfig
1388 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ml300 xilinx
1390 ml507_flash_config: unconfig
1391 @mkdir -p $(obj)include $(obj)board/xilinx/ppc440-generic
1392 @mkdir -p $(obj)include $(obj)board/xilinx/ml507
1393 @echo "LDSCRIPT:=$(SRCTREE)/board/xilinx/ppc440-generic/u-boot-rom.lds"\
1394 > $(obj)board/xilinx/ml507/config.tmp
1395 @echo "TEXT_BASE := 0xFE360000" \
1396 >> $(obj)board/xilinx/ml507/config.tmp
1397 @$(MKCONFIG) ml507 ppc ppc4xx ml507 xilinx
1399 ml507_config: unconfig
1400 @mkdir -p $(obj)include $(obj)board/xilinx/ppc440-generic
1401 @mkdir -p $(obj)include $(obj)board/xilinx/ml507
1402 @echo "LDSCRIPT:=$(SRCTREE)/board/xilinx/ppc440-generic/u-boot-ram.lds"\
1403 > $(obj)board/xilinx/ml507/config.tmp
1404 @echo "TEXT_BASE := 0x04000000" \
1405 >> $(obj)board/xilinx/ml507/config.tmp
1406 @$(MKCONFIG) ml507 ppc ppc4xx ml507 xilinx
1408 neo_config: unconfig
1409 @$(MKCONFIG) $(@:_config=) ppc ppc4xx neo gdsys
1411 ocotea_config: unconfig
1412 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ocotea amcc
1415 ORSG_config: unconfig
1416 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ocrtc esd
1418 p3p440_config: unconfig
1419 @$(MKCONFIG) $(@:_config=) ppc ppc4xx p3p440 prodrive
1421 PCI405_config: unconfig
1422 @$(MKCONFIG) $(@:_config=) ppc ppc4xx pci405 esd
1424 pcs440ep_config: unconfig
1425 @$(MKCONFIG) $(@:_config=) ppc ppc4xx pcs440ep
1427 PIP405_config: unconfig
1428 @$(MKCONFIG) $(@:_config=) ppc ppc4xx pip405 mpl
1430 PLU405_config: unconfig
1431 @$(MKCONFIG) $(@:_config=) ppc ppc4xx plu405 esd
1433 PMC405_config: unconfig
1434 @$(MKCONFIG) $(@:_config=) ppc ppc4xx pmc405 esd
1436 PMC440_config: unconfig
1437 @$(MKCONFIG) $(@:_config=) ppc ppc4xx pmc440 esd
1439 PPChameleonEVB_config \
1440 PPChameleonEVB_BA_25_config \
1441 PPChameleonEVB_ME_25_config \
1442 PPChameleonEVB_HI_25_config \
1443 PPChameleonEVB_BA_33_config \
1444 PPChameleonEVB_ME_33_config \
1445 PPChameleonEVB_HI_33_config: unconfig
1446 @mkdir -p $(obj)include
1447 @[ -z "$(findstring EVB_BA,$@)" ] || \
1448 { echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 0" >>$(obj)include/config.h ; \
1449 $(XECHO) "... BASIC model" ; \
1451 @[ -z "$(findstring EVB_ME,$@)" ] || \
1452 { echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 1" >>$(obj)include/config.h ; \
1453 $(XECHO) "... MEDIUM model" ; \
1455 @[ -z "$(findstring EVB_HI,$@)" ] || \
1456 { echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 2" >>$(obj)include/config.h ; \
1457 $(XECHO) "... HIGH-END model" ; \
1459 @[ -z "$(findstring _25,$@)" ] || \
1460 { echo "#define CONFIG_PPCHAMELEON_CLK_25" >>$(obj)include/config.h ; \
1461 $(XECHO) "SysClk = 25MHz" ; \
1463 @[ -z "$(findstring _33,$@)" ] || \
1464 { echo "#define CONFIG_PPCHAMELEON_CLK_33" >>$(obj)include/config.h ; \
1465 $(XECHO) "SysClk = 33MHz" ; \
1467 @$(MKCONFIG) -a $(call xtract_4xx,$@) ppc ppc4xx PPChameleonEVB dave
1469 quad100hd_config: unconfig
1470 @$(MKCONFIG) $(@:_config=) ppc ppc4xx quad100hd
1472 redwood_config: unconfig
1473 @$(MKCONFIG) $(@:_config=) ppc ppc4xx redwood amcc
1475 sbc405_config: unconfig
1476 @$(MKCONFIG) $(@:_config=) ppc ppc4xx sbc405
1479 @$(MKCONFIG) $(@:_config=) ppc ppc4xx sc3
1482 rainier_config: unconfig
1483 @mkdir -p $(obj)include
1484 @echo "#define CONFIG_$$(echo $(subst ,,$(@:_config=)) | \
1485 tr '[:lower:]' '[:upper:]')" >$(obj)include/config.h
1486 @$(MKCONFIG) -n $@ -a sequoia ppc ppc4xx sequoia amcc
1488 sequoia_nand_config \
1489 rainier_nand_config: unconfig
1490 @mkdir -p $(obj)include $(obj)board/amcc/sequoia
1491 @mkdir -p $(obj)nand_spl/board/amcc/sequoia
1492 @echo "#define CONFIG_NAND_U_BOOT" > $(obj)include/config.h
1493 @echo "#define CONFIG_$$(echo $(subst ,,$(@:_config=)) | \
1494 tr '[:lower:]' '[:upper:]')" >> $(obj)include/config.h
1495 @$(MKCONFIG) -n $@ -a sequoia ppc ppc4xx sequoia amcc
1496 @echo "TEXT_BASE = 0x01000000" > $(obj)board/amcc/sequoia/config.tmp
1497 @echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk
1499 taihu_config: unconfig
1500 @$(MKCONFIG) $(@:_config=) ppc ppc4xx taihu amcc
1502 taishan_config: unconfig
1503 @$(MKCONFIG) $(@:_config=) ppc ppc4xx taishan amcc
1505 v5fx30teval_config: unconfig
1506 @mkdir -p $(obj)include $(obj)board/xilinx/ppc440-generic
1507 @mkdir -p $(obj)include $(obj)board/avnet/v5fx30teval
1508 @echo "LDSCRIPT:=$(SRCTREE)/board/xilinx/ppc440-generic/u-boot-ram.lds"\
1509 > $(obj)board/avnet/v5fx30teval/config.tmp
1510 @echo "TEXT_BASE := 0x03000000" \
1511 >> $(obj)board/avnet/v5fx30teval/config.tmp
1512 @$(MKCONFIG) v5fx30teval ppc ppc4xx v5fx30teval avnet
1514 v5fx30teval_flash_config: unconfig
1515 @mkdir -p $(obj)include $(obj)board/xilinx/ppc440-generic
1516 @mkdir -p $(obj)include $(obj)board/avnet/v5fx30teval
1517 @echo "LDSCRIPT:=$(SRCTREE)/board/xilinx/ppc440-generic/u-boot-rom.lds"\
1518 > $(obj)board/avnet/v5fx30teval/config.tmp
1519 @echo "TEXT_BASE := 0xFF1C0000" \
1520 >> $(obj)board/avnet/v5fx30teval/config.tmp
1521 @$(MKCONFIG) v5fx30teval ppc ppc4xx v5fx30teval avnet
1523 VOH405_config: unconfig
1524 @$(MKCONFIG) $(@:_config=) ppc ppc4xx voh405 esd
1526 VOM405_config: unconfig
1527 @$(MKCONFIG) $(@:_config=) ppc ppc4xx vom405 esd
1530 W7OLMG_config: unconfig
1531 @$(MKCONFIG) $(@:_config=) ppc ppc4xx w7o
1533 # Walnut & Sycamore images are identical (recognized via PVR)
1535 sycamore_config: unconfig
1536 @$(MKCONFIG) -n $@ -a walnut ppc ppc4xx walnut amcc
1538 WUH405_config: unconfig
1539 @$(MKCONFIG) $(@:_config=) ppc ppc4xx wuh405 esd
1541 xilinx-ppc405-generic_flash_config: unconfig
1542 @mkdir -p $(obj)include $(obj)board/xilinx/ppc405-generic
1543 @echo "LDSCRIPT:=$(SRCTREE)/board/xilinx/ppc405-generic/u-boot-rom.lds"\
1544 > $(obj)board/xilinx/ppc405-generic/config.tmp
1545 @echo "TEXT_BASE := 0xFE360000" \
1546 >> $(obj)board/xilinx/ppc405-generic/config.tmp
1547 @$(MKCONFIG) xilinx-ppc405-generic ppc ppc4xx ppc405-generic xilinx
1549 xilinx-ppc405-generic_config: unconfig
1550 @mkdir -p $(obj)include $(obj)board/xilinx/ppc405-generic
1551 @echo "LDSCRIPT:=$(SRCTREE)/board/xilinx/ppc405-generic/u-boot-ram.lds"\
1552 > $(obj)board/xilinx/ppc405-generic/config.tmp
1553 @echo "TEXT_BASE := 0x04000000" \
1554 >> $(obj)board/xilinx/ppc405-generic/config.tmp
1555 @$(MKCONFIG) xilinx-ppc405-generic ppc ppc4xx ppc405-generic xilinx
1557 xilinx-ppc440-generic_flash_config: unconfig
1558 @mkdir -p $(obj)include $(obj)board/xilinx/ppc440-generic
1559 @echo "LDSCRIPT:=$(SRCTREE)/board/xilinx/ppc440-generic/u-boot-rom.lds"\
1560 > $(obj)board/xilinx/ppc440-generic/config.tmp
1561 @echo "TEXT_BASE := 0xFE360000" \
1562 >> $(obj)board/xilinx/ppc440-generic/config.tmp
1563 @$(MKCONFIG) xilinx-ppc440-generic ppc ppc4xx ppc440-generic xilinx
1565 xilinx-ppc440-generic_config: unconfig
1566 @mkdir -p $(obj)include $(obj)board/xilinx/ppc440-generic
1567 @echo "LDSCRIPT:=$(SRCTREE)/board/xilinx/ppc440-generic/u-boot-ram.lds"\
1568 > $(obj)board/xilinx/ppc440-generic/config.tmp
1569 @echo "TEXT_BASE := 0x04000000" \
1570 >> $(obj)board/xilinx/ppc440-generic/config.tmp
1571 @$(MKCONFIG) xilinx-ppc440-generic ppc ppc4xx ppc440-generic xilinx
1573 XPEDITE1K_config: unconfig
1574 @$(MKCONFIG) $(@:_config=) ppc ppc4xx xpedite1k
1577 yellowstone_config: unconfig
1578 @mkdir -p $(obj)include
1579 @echo "#define CONFIG_$$(echo $(subst ,,$(@:_config=)) | \
1580 tr '[:lower:]' '[:upper:]')" >$(obj)include/config.h
1581 @$(MKCONFIG) -n $@ -a yosemite ppc ppc4xx yosemite amcc
1583 yucca_config: unconfig
1584 @$(MKCONFIG) $(@:_config=) ppc ppc4xx yucca amcc
1586 zeus_config: unconfig
1587 @$(MKCONFIG) $(@:_config=) ppc ppc4xx zeus
1589 #########################################################################
1591 #########################################################################
1594 Yukon8220_config: unconfig
1595 @$(MKCONFIG) $(@:_config=) ppc mpc8220 alaska
1597 sorcery_config: unconfig
1598 @$(MKCONFIG) $(@:_config=) ppc mpc8220 sorcery
1600 #########################################################################
1602 #########################################################################
1603 xtract_82xx = $(subst _BIGFLASH,,$(subst _ROMBOOT,,$(subst _L2,,$(subst _266MHz,,$(subst _300MHz,,$(subst _config,,$1))))))
1605 A3000_config: unconfig
1606 @$(MKCONFIG) $(@:_config=) ppc mpc824x a3000
1608 barco_config: unconfig
1609 @$(MKCONFIG) $(@:_config=) ppc mpc824x barco
1611 BMW_config: unconfig
1612 @$(MKCONFIG) $(@:_config=) ppc mpc824x bmw
1615 CPC45_ROMBOOT_config: unconfig
1616 @$(MKCONFIG) $(call xtract_82xx,$@) ppc mpc824x cpc45
1617 @cd $(obj)include ; \
1618 if [ "$(findstring _ROMBOOT_,$@)" ] ; then \
1619 echo "CONFIG_BOOT_ROM = y" >> config.mk ; \
1620 $(XECHO) "... booting from 8-bit flash" ; \
1622 echo "CONFIG_BOOT_ROM = n" >> config.mk ; \
1623 $(XECHO) "... booting from 64-bit flash" ; \
1625 echo "export CONFIG_BOOT_ROM" >> config.mk;
1627 CU824_config: unconfig
1628 @$(MKCONFIG) $(@:_config=) ppc mpc824x cu824
1630 debris_config: unconfig
1631 @$(MKCONFIG) $(@:_config=) ppc mpc824x debris etin
1633 eXalion_config: unconfig
1634 @$(MKCONFIG) $(@:_config=) ppc mpc824x eXalion
1636 HIDDEN_DRAGON_config: unconfig
1637 @$(MKCONFIG) $(@:_config=) ppc mpc824x hidden_dragon
1639 kvme080_config: unconfig
1640 @$(MKCONFIG) $(@:_config=) ppc mpc824x kvme080 etin
1642 # HDLAN is broken ATM. Should be fixed as soon as hardware is available and as
1644 #linkstation_HDLAN_config \
1645 # Remove this line when HDLAN is fixed
1646 linkstation_HGLAN_config: unconfig
1647 @mkdir -p $(obj)include
1649 *HGLAN*) echo "#define CONFIG_HGLAN 1" >$(obj)include/config.h; ;; \
1650 *HDLAN*) echo "#define CONFIG_HLAN 1" >$(obj)include/config.h; ;; \
1652 @$(MKCONFIG) -n $@ -a linkstation ppc mpc824x linkstation
1654 MOUSSE_config: unconfig
1655 @$(MKCONFIG) $(@:_config=) ppc mpc824x mousse
1657 MUSENKI_config: unconfig
1658 @$(MKCONFIG) $(@:_config=) ppc mpc824x musenki
1660 MVBLUE_config: unconfig
1661 @$(MKCONFIG) $(@:_config=) ppc mpc824x mvblue
1663 OXC_config: unconfig
1664 @$(MKCONFIG) $(@:_config=) ppc mpc824x oxc
1666 PN62_config: unconfig
1667 @$(MKCONFIG) $(@:_config=) ppc mpc824x pn62
1669 Sandpoint8240_config: unconfig
1670 @$(MKCONFIG) $(@:_config=) ppc mpc824x sandpoint
1672 Sandpoint8245_config: unconfig
1673 @$(MKCONFIG) $(@:_config=) ppc mpc824x sandpoint
1675 sbc8240_config: unconfig
1676 @$(MKCONFIG) $(@:_config=) ppc mpc824x sbc8240
1678 SL8245_config: unconfig
1679 @$(MKCONFIG) $(@:_config=) ppc mpc824x sl8245
1681 utx8245_config: unconfig
1682 @$(MKCONFIG) $(@:_config=) ppc mpc824x utx8245
1684 #########################################################################
1686 #########################################################################
1688 atc_config: unconfig
1689 @$(MKCONFIG) $(@:_config=) ppc mpc8260 atc
1691 cogent_mpc8260_config: unconfig
1692 @$(MKCONFIG) $(@:_config=) ppc mpc8260 cogent
1695 CPU86_ROMBOOT_config: unconfig
1696 @$(MKCONFIG) $(call xtract_82xx,$@) ppc mpc8260 cpu86
1697 @cd $(obj)include ; \
1698 if [ "$(findstring _ROMBOOT_,$@)" ] ; then \
1699 echo "CONFIG_BOOT_ROM = y" >> config.mk ; \
1700 $(XECHO) "... booting from 8-bit flash" ; \
1702 echo "CONFIG_BOOT_ROM = n" >> config.mk ; \
1703 $(XECHO) "... booting from 64-bit flash" ; \
1705 echo "export CONFIG_BOOT_ROM" >> config.mk;
1708 CPU87_ROMBOOT_config: unconfig
1709 @$(MKCONFIG) $(call xtract_82xx,$@) ppc mpc8260 cpu87
1710 @cd $(obj)include ; \
1711 if [ "$(findstring _ROMBOOT_,$@)" ] ; then \
1712 echo "CONFIG_BOOT_ROM = y" >> config.mk ; \
1713 $(XECHO) "... booting from 8-bit flash" ; \
1715 echo "CONFIG_BOOT_ROM = n" >> config.mk ; \
1716 $(XECHO) "... booting from 64-bit flash" ; \
1718 echo "export CONFIG_BOOT_ROM" >> config.mk;
1721 ep8248E_config : unconfig
1722 @$(MKCONFIG) ep8248 ppc mpc8260 ep8248
1724 ep8260_config: unconfig
1725 @$(MKCONFIG) $(@:_config=) ppc mpc8260 ep8260
1727 ep82xxm_config: unconfig
1728 @$(MKCONFIG) $(@:_config=) ppc mpc8260 ep82xxm
1730 gw8260_config: unconfig
1731 @$(MKCONFIG) $(@:_config=) ppc mpc8260 gw8260
1733 hymod_config: unconfig
1734 @$(MKCONFIG) $(@:_config=) ppc mpc8260 hymod
1736 IDS8247_config: unconfig
1737 @$(MKCONFIG) $(@:_config=) ppc mpc8260 ids8247
1739 IPHASE4539_config: unconfig
1740 @$(MKCONFIG) $(@:_config=) ppc mpc8260 iphase4539
1743 ISPAN_REVB_config: unconfig
1744 @mkdir -p $(obj)include
1745 @if [ "$(findstring _REVB_,$@)" ] ; then \
1746 echo "#define CONFIG_SYS_REV_B" > $(obj)include/config.h ; \
1748 @$(MKCONFIG) -a ISPAN ppc mpc8260 ispan
1750 mgcoge_config : unconfig
1751 @$(MKCONFIG) mgcoge ppc mpc8260 mgcoge keymile
1754 MPC8260ADS_lowboot_config \
1755 MPC8260ADS_33MHz_config \
1756 MPC8260ADS_33MHz_lowboot_config \
1757 MPC8260ADS_40MHz_config \
1758 MPC8260ADS_40MHz_lowboot_config \
1760 MPC8272ADS_lowboot_config \
1762 PQ2FADS_lowboot_config \
1764 PQ2FADS-VR_lowboot_config \
1766 PQ2FADS-ZU_lowboot_config \
1767 PQ2FADS-ZU_66MHz_config \
1768 PQ2FADS-ZU_66MHz_lowboot_config \
1770 @mkdir -p $(obj)include
1771 @mkdir -p $(obj)board/freescale/mpc8260ads
1772 $(if $(findstring PQ2FADS,$@), \
1773 @echo "#define CONFIG_ADSTYPE CONFIG_SYS_PQ2FADS" > $(obj)include/config.h, \
1774 @echo "#define CONFIG_ADSTYPE CONFIG_SYS_"$(subst MPC,,$(word 1,$(subst _, ,$@))) > $(obj)include/config.h)
1775 $(if $(findstring MHz,$@), \
1776 @echo "#define CONFIG_8260_CLKIN" $(subst MHz,,$(word 2,$(subst _, ,$@)))"000000" >> $(obj)include/config.h, \
1777 $(if $(findstring VR,$@), \
1778 @echo "#define CONFIG_8260_CLKIN 66000000" >> $(obj)include/config.h))
1779 @[ -z "$(findstring lowboot_,$@)" ] || \
1780 { echo "TEXT_BASE = 0xFF800000" >$(obj)board/freescale/mpc8260ads/config.tmp ; \
1781 $(XECHO) "... with lowboot configuration" ; \
1783 @$(MKCONFIG) -a MPC8260ADS ppc mpc8260 mpc8260ads freescale
1785 MPC8266ADS_config: unconfig
1786 @$(MKCONFIG) $(@:_config=) ppc mpc8260 mpc8266ads freescale
1788 muas3001_dev_config \
1789 muas3001_config : unconfig
1790 @mkdir -p $(obj)include
1791 @mkdir -p $(obj)board/muas3001
1792 @if [ "$(findstring dev,$@)" ] ; then \
1793 echo "#define CONFIG_MUAS_DEV_BOARD" > $(obj)include/config.h ; \
1795 @$(MKCONFIG) -a muas3001 ppc mpc8260 muas3001
1797 # PM825/PM826 default configuration: small (= 8 MB) Flash / boot from 64-bit flash
1799 PM825_ROMBOOT_config \
1800 PM825_BIGFLASH_config \
1801 PM825_ROMBOOT_BIGFLASH_config \
1803 PM826_ROMBOOT_config \
1804 PM826_BIGFLASH_config \
1805 PM826_ROMBOOT_BIGFLASH_config: unconfig
1806 @mkdir -p $(obj)include
1807 @mkdir -p $(obj)board/pm826
1808 @if [ "$(findstring PM825_,$@)" ] ; then \
1809 echo "#define CONFIG_PCI" >$(obj)include/config.h ; \
1811 >$(obj)include/config.h ; \
1813 @if [ "$(findstring _ROMBOOT_,$@)" ] ; then \
1814 $(XECHO) "... booting from 8-bit flash" ; \
1815 echo "#define CONFIG_BOOT_ROM" >>$(obj)include/config.h ; \
1816 echo "TEXT_BASE = 0xFF800000" >$(obj)board/pm826/config.tmp ; \
1817 if [ "$(findstring _BIGFLASH_,$@)" ] ; then \
1818 $(XECHO) "... with 32 MB Flash" ; \
1819 echo "#define CONFIG_FLASH_32MB" >>$(obj)include/config.h ; \
1822 $(XECHO) "... booting from 64-bit flash" ; \
1823 if [ "$(findstring _BIGFLASH_,$@)" ] ; then \
1824 $(XECHO) "... with 32 MB Flash" ; \
1825 echo "#define CONFIG_FLASH_32MB" >>$(obj)include/config.h ; \
1826 echo "TEXT_BASE = 0x40000000" >$(obj)board/pm826/config.tmp ; \
1828 echo "TEXT_BASE = 0xFF000000" >$(obj)board/pm826/config.tmp ; \
1831 @$(MKCONFIG) -a PM826 ppc mpc8260 pm826
1835 PM828_ROMBOOT_config \
1836 PM828_ROMBOOT_PCI_config: unconfig
1837 @mkdir -p $(obj)include
1838 @mkdir -p $(obj)board/pm826
1839 @if [ "$(findstring _PCI_,$@)" ] ; then \
1840 echo "#define CONFIG_PCI" >>$(obj)include/config.h ; \
1841 $(XECHO) "... with PCI enabled" ; \
1843 @if [ "$(findstring _ROMBOOT_,$@)" ] ; then \
1844 $(XECHO) "... booting from 8-bit flash" ; \
1845 echo "#define CONFIG_BOOT_ROM" >>$(obj)include/config.h ; \
1846 echo "TEXT_BASE = 0xFF800000" >$(obj)board/pm826/config.tmp ; \
1848 @$(MKCONFIG) -a PM828 ppc mpc8260 pm828
1850 ppmc8260_config: unconfig
1851 @$(MKCONFIG) $(@:_config=) ppc mpc8260 ppmc8260
1853 Rattler8248_config \
1854 Rattler_config: unconfig
1855 @mkdir -p $(obj)include
1856 $(if $(findstring 8248,$@), \
1857 @echo "#define CONFIG_MPC8248" > $(obj)include/config.h)
1858 @$(MKCONFIG) -a Rattler ppc mpc8260 rattler
1860 RPXsuper_config: unconfig
1861 @$(MKCONFIG) $(@:_config=) ppc mpc8260 rpxsuper
1863 rsdproto_config: unconfig
1864 @$(MKCONFIG) $(@:_config=) ppc mpc8260 rsdproto
1866 sacsng_config: unconfig
1867 @$(MKCONFIG) $(@:_config=) ppc mpc8260 sacsng
1869 sbc8260_config: unconfig
1870 @$(MKCONFIG) $(@:_config=) ppc mpc8260 sbc8260
1872 SCM_config: unconfig
1873 @$(MKCONFIG) $(@:_config=) ppc mpc8260 SCM siemens
1885 TQM8265_AA_config: unconfig
1886 @mkdir -p $(obj)include
1888 TQM8255_AA_config) CTYPE=MPC8255; CFREQ=300; CACHE=no; BMODE=8260;; \
1889 TQM8260_AA_config) CTYPE=MPC8260; CFREQ=200; CACHE=no; BMODE=8260;; \
1890 TQM8260_AB_config) CTYPE=MPC8260; CFREQ=200; CACHE=yes; BMODE=60x;; \
1891 TQM8260_AC_config) CTYPE=MPC8260; CFREQ=200; CACHE=yes; BMODE=60x;; \
1892 TQM8260_AD_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=60x;; \
1893 TQM8260_AE_config) CTYPE=MPC8260; CFREQ=266; CACHE=no; BMODE=8260;; \
1894 TQM8260_AF_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=60x;; \
1895 TQM8260_AG_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=8260;; \
1896 TQM8260_AH_config) CTYPE=MPC8260; CFREQ=300; CACHE=yes; BMODE=60x;; \
1897 TQM8260_AI_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=60x;; \
1898 TQM8265_AA_config) CTYPE=MPC8265; CFREQ=300; CACHE=no; BMODE=60x;; \
1900 if [ "$${CTYPE}" != "MPC8260" ] ; then \
1901 echo "#define CONFIG_$${CTYPE}" >>$(obj)include/config.h ; \
1903 echo "#define CONFIG_$${CFREQ}MHz" >>$(obj)include/config.h ; \
1904 echo "... with $${CFREQ}MHz system clock" ; \
1905 if [ "$${CACHE}" = "yes" ] ; then \
1906 echo "#define CONFIG_L2_CACHE" >>$(obj)include/config.h ; \
1907 $(XECHO) "... with L2 Cache support" ; \
1909 echo "#undef CONFIG_L2_CACHE" >>$(obj)include/config.h ; \
1910 $(XECHO) "... without L2 Cache support" ; \
1912 if [ "$${BMODE}" = "60x" ] ; then \
1913 echo "#define CONFIG_BUSMODE_60x" >>$(obj)include/config.h ; \
1914 $(XECHO) "... with 60x Bus Mode" ; \
1916 echo "#undef CONFIG_BUSMODE_60x" >>$(obj)include/config.h ; \
1917 $(XECHO) "... without 60x Bus Mode" ; \
1919 @$(MKCONFIG) -a TQM8260 ppc mpc8260 tqm8260 tqc
1921 TQM8272_config: unconfig
1922 @$(MKCONFIG) TQM8272 ppc mpc8260 tqm8272 tqc
1924 VoVPN-GW_66MHz_config \
1925 VoVPN-GW_100MHz_config: unconfig
1926 @mkdir -p $(obj)include
1927 @echo "#define CONFIG_CLKIN_$(word 2,$(subst _, ,$@))" > $(obj)include/config.h
1928 @$(MKCONFIG) -a VoVPN-GW ppc mpc8260 vovpn-gw funkwerk
1930 ZPC1900_config: unconfig
1931 @$(MKCONFIG) $(@:_config=) ppc mpc8260 zpc1900
1933 #########################################################################
1935 #########################################################################
1938 M52277EVB_spansion_config \
1939 M52277EVB_stmicro_config : unconfig
1941 M52277EVB_config) FLASH=SPANSION;; \
1942 M52277EVB_spansion_config) FLASH=SPANSION;; \
1943 M52277EVB_stmicro_config) FLASH=STMICRO;; \
1945 if [ "$${FLASH}" = "SPANSION" ] ; then \
1946 echo "#define CONFIG_SYS_SPANSION_BOOT" >> $(obj)include/config.h ; \
1947 echo "TEXT_BASE = 0x00000000" > $(obj)board/freescale/m52277evb/config.tmp ; \
1948 cp $(obj)board/freescale/m52277evb/u-boot.spa $(obj)board/freescale/m52277evb/u-boot.lds ; \
1949 $(XECHO) "... with SPANSION boot..." ; \
1951 if [ "$${FLASH}" = "STMICRO" ] ; then \
1952 echo "#define CONFIG_CF_SBF" >> $(obj)include/config.h ; \
1953 echo "#define CONFIG_SYS_STMICRO_BOOT" >> $(obj)include/config.h ; \
1954 echo "TEXT_BASE = 0x43E00000" > $(obj)board/freescale/m52277evb/config.tmp ; \
1955 cp $(obj)board/freescale/m52277evb/u-boot.stm $(obj)board/freescale/m52277evb/u-boot.lds ; \
1956 $(XECHO) "... with ST Micro boot..." ; \
1958 @$(MKCONFIG) -a M52277EVB m68k mcf5227x m52277evb freescale
1961 M5235EVB_Flash16_config \
1962 M5235EVB_Flash32_config: unconfig
1964 M5235EVB_config) FLASH=16;; \
1965 M5235EVB_Flash16_config) FLASH=16;; \
1966 M5235EVB_Flash32_config) FLASH=32;; \
1968 if [ "$${FLASH}" != "16" ] ; then \
1969 echo "#define NORFLASH_PS32BIT 1" >> $(obj)include/config.h ; \
1970 echo "TEXT_BASE = 0xFFC00000" > $(obj)board/freescale/m5235evb/config.tmp ; \
1971 cp $(obj)board/freescale/m5235evb/u-boot.32 $(obj)board/freescale/m5235evb/u-boot.lds ; \
1973 echo "TEXT_BASE = 0xFFE00000" > $(obj)board/freescale/m5235evb/config.tmp ; \
1974 cp $(obj)board/freescale/m5235evb/u-boot.16 $(obj)board/freescale/m5235evb/u-boot.lds ; \
1976 @$(MKCONFIG) -a M5235EVB m68k mcf523x m5235evb freescale
1978 M5249EVB_config : unconfig
1979 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5249evb freescale
1981 M5253DEMO_config : unconfig
1982 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5253demo freescale
1984 M5253EVBE_config : unconfig
1985 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5253evbe freescale
1987 cobra5272_config : unconfig
1988 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 cobra5272
1990 EB+MCF-EV123_config : unconfig
1991 @mkdir -p $(obj)include
1992 @mkdir -p $(obj)board/BuS/EB+MCF-EV123
1993 @echo "TEXT_BASE = 0xFFE00000"|tee $(obj)board/BuS/EB+MCF-EV123/textbase.mk
1994 @$(MKCONFIG) EB+MCF-EV123 m68k mcf52x2 EB+MCF-EV123 BuS
1996 EB+MCF-EV123_internal_config : unconfig
1997 @mkdir -p $(obj)include
1998 @mkdir -p $(obj)board/BuS/EB+MCF-EV123
1999 @echo "TEXT_BASE = 0xF0000000"|tee $(obj)board/BuS/EB+MCF-EV123/textbase.mk
2000 @$(MKCONFIG) EB+MCF-EV123 m68k mcf52x2 EB+MCF-EV123 BuS
2002 idmr_config : unconfig
2003 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 idmr
2005 M5271EVB_config : unconfig
2006 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5271evb freescale
2008 M5272C3_config : unconfig
2009 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5272c3 freescale
2011 M5275EVB_config : unconfig
2012 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5275evb freescale
2014 M5282EVB_config : unconfig
2015 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5282evb freescale
2017 M53017EVB_config : unconfig
2018 @$(MKCONFIG) $(@:_config=) m68k mcf532x m53017evb freescale
2021 M5329BFEE_config : unconfig
2023 M5329AFEE_config) NAND=0;; \
2024 M5329BFEE_config) NAND=16;; \
2026 if [ "$${NAND}" != "0" ] ; then \
2027 echo "#define NANDFLASH_SIZE $${NAND}" > $(obj)include/config.h ; \
2029 @$(MKCONFIG) -a M5329EVB m68k mcf532x m5329evb freescale
2031 M5373EVB_config : unconfig
2033 M5373EVB_config) NAND=16;; \
2035 if [ "$${NAND}" != "0" ] ; then \
2036 echo "#define NANDFLASH_SIZE $${NAND}" > $(obj)include/config.h ; \
2038 @$(MKCONFIG) -a M5373EVB m68k mcf532x m5373evb freescale
2041 M54451EVB_spansion_config \
2042 M54451EVB_stmicro_config : unconfig
2044 M54451EVB_config) FLASH=SPANSION;; \
2045 M54451EVB_spansion_config) FLASH=SPANSION;; \
2046 M54451EVB_stmicro_config) FLASH=STMICRO;; \
2048 if [ "$${FLASH}" = "SPANSION" ] ; then \
2049 echo "#define CONFIG_SYS_SPANSION_BOOT" >> $(obj)include/config.h ; \
2050 echo "TEXT_BASE = 0x00000000" > $(obj)board/freescale/m54451evb/config.tmp ; \
2051 cp $(obj)board/freescale/m54451evb/u-boot.spa $(obj)board/freescale/m54451evb/u-boot.lds ; \
2052 $(XECHO) "... with SPANSION boot..." ; \
2054 if [ "$${FLASH}" = "STMICRO" ] ; then \
2055 echo "#define CONFIG_CF_SBF" >> $(obj)include/config.h ; \
2056 echo "#define CONFIG_SYS_STMICRO_BOOT" >> $(obj)include/config.h ; \
2057 echo "TEXT_BASE = 0x47E00000" > $(obj)board/freescale/m54451evb/config.tmp ; \
2058 cp $(obj)board/freescale/m54451evb/u-boot.stm $(obj)board/freescale/m54451evb/u-boot.lds ; \
2059 $(XECHO) "... with ST Micro boot..." ; \
2061 echo "#define CONFIG_SYS_INPUT_CLKSRC 24000000" >> $(obj)include/config.h ;
2062 @$(MKCONFIG) -a M54451EVB m68k mcf5445x m54451evb freescale
2065 M54455EVB_atmel_config \
2066 M54455EVB_intel_config \
2067 M54455EVB_a33_config \
2068 M54455EVB_a66_config \
2069 M54455EVB_i33_config \
2070 M54455EVB_i66_config \
2071 M54455EVB_stm33_config : unconfig
2073 M54455EVB_config) FLASH=ATMEL; FREQ=33333333;; \
2074 M54455EVB_atmel_config) FLASH=ATMEL; FREQ=33333333;; \
2075 M54455EVB_intel_config) FLASH=INTEL; FREQ=33333333;; \
2076 M54455EVB_a33_config) FLASH=ATMEL; FREQ=33333333;; \
2077 M54455EVB_a66_config) FLASH=ATMEL; FREQ=66666666;; \
2078 M54455EVB_i33_config) FLASH=INTEL; FREQ=33333333;; \
2079 M54455EVB_i66_config) FLASH=INTEL; FREQ=66666666;; \
2080 M54455EVB_stm33_config) FLASH=STMICRO; FREQ=33333333;; \
2082 if [ "$${FLASH}" = "INTEL" ] ; then \
2083 echo "#define CONFIG_SYS_INTEL_BOOT" >> $(obj)include/config.h ; \
2084 echo "TEXT_BASE = 0x00000000" > $(obj)board/freescale/m54455evb/config.tmp ; \
2085 cp $(obj)board/freescale/m54455evb/u-boot.int $(obj)board/freescale/m54455evb/u-boot.lds ; \
2086 $(XECHO) "... with INTEL boot..." ; \
2088 if [ "$${FLASH}" = "ATMEL" ] ; then \
2089 echo "#define CONFIG_SYS_ATMEL_BOOT" >> $(obj)include/config.h ; \
2090 echo "TEXT_BASE = 0x04000000" > $(obj)board/freescale/m54455evb/config.tmp ; \
2091 cp $(obj)board/freescale/m54455evb/u-boot.atm $(obj)board/freescale/m54455evb/u-boot.lds ; \
2092 $(XECHO) "... with ATMEL boot..." ; \
2094 if [ "$${FLASH}" = "STMICRO" ] ; then \
2095 echo "#define CONFIG_CF_SBF" >> $(obj)include/config.h ; \
2096 echo "#define CONFIG_SYS_STMICRO_BOOT" >> $(obj)include/config.h ; \
2097 echo "TEXT_BASE = 0x4FE00000" > $(obj)board/freescale/m54455evb/config.tmp ; \
2098 cp $(obj)board/freescale/m54455evb/u-boot.stm $(obj)board/freescale/m54455evb/u-boot.lds ; \
2099 $(XECHO) "... with ST Micro boot..." ; \
2101 echo "#define CONFIG_SYS_INPUT_CLKSRC $${FREQ}" >> $(obj)include/config.h ; \
2102 $(XECHO) "... with $${FREQ}Hz input clock"
2103 @$(MKCONFIG) -a M54455EVB m68k mcf5445x m54455evb freescale
2111 M5475GFE_config : unconfig
2113 M5475AFE_config) BOOT=2;CODE=0;VID=0;USB=0;RAM=64;RAM1=0;; \
2114 M5475BFE_config) BOOT=2;CODE=16;VID=0;USB=0;RAM=64;RAM1=0;; \
2115 M5475CFE_config) BOOT=2;CODE=16;VID=1;USB=1;RAM=64;RAM1=0;; \
2116 M5475DFE_config) BOOT=2;CODE=0;VID=0;USB=1;RAM=64;RAM1=0;; \
2117 M5475EFE_config) BOOT=2;CODE=0;VID=1;USB=1;RAM=64;RAM1=0;; \
2118 M5475FFE_config) BOOT=2;CODE=32;VID=1;USB=1;RAM=64;RAM1=64;; \
2119 M5475GFE_config) BOOT=4;CODE=0;VID=0;USB=0;RAM=64;RAM1=0;; \
2121 echo "#define CONFIG_SYS_BUSCLK 133333333" > $(obj)include/config.h ; \
2122 echo "#define CONFIG_SYS_BOOTSZ $${BOOT}" >> $(obj)include/config.h ; \
2123 echo "#define CONFIG_SYS_DRAMSZ $${RAM}" >> $(obj)include/config.h ; \
2124 if [ "$${RAM1}" != "0" ] ; then \
2125 echo "#define CONFIG_SYS_DRAMSZ1 $${RAM1}" >> $(obj)include/config.h ; \
2127 if [ "$${CODE}" != "0" ] ; then \
2128 echo "#define CONFIG_SYS_NOR1SZ $${CODE}" >> $(obj)include/config.h ; \
2130 if [ "$${VID}" == "1" ] ; then \
2131 echo "#define CONFIG_SYS_VIDEO" >> $(obj)include/config.h ; \
2133 if [ "$${USB}" == "1" ] ; then \
2134 echo "#define CONFIG_SYS_USBCTRL" >> $(obj)include/config.h ; \
2136 @$(MKCONFIG) -a M5475EVB m68k mcf547x_8x m547xevb freescale
2145 M5485HFE_config : unconfig
2147 M5485AFE_config) BOOT=2;CODE=0;VID=0;USB=0;RAM=64;RAM1=0;; \
2148 M5485BFE_config) BOOT=2;CODE=16;VID=0;USB=0;RAM=64;RAM1=0;; \
2149 M5485CFE_config) BOOT=2;CODE=16;VID=1;USB=1;RAM=64;RAM1=0;; \
2150 M5485DFE_config) BOOT=2;CODE=0;VID=0;USB=1;RAM=64;RAM1=0;; \
2151 M5485EFE_config) BOOT=2;CODE=0;VID=1;USB=1;RAM=64;RAM1=0;; \
2152 M5485FFE_config) BOOT=2;CODE=32;VID=1;USB=1;RAM=64;RAM1=64;; \
2153 M5485GFE_config) BOOT=4;CODE=0;VID=0;USB=0;RAM=64;RAM1=0;; \
2154 M5485HFE_config) BOOT=2;CODE=16;VID=1;USB=0;RAM=64;RAM1=0;; \
2156 echo "#define CONFIG_SYS_BUSCLK 100000000" > $(obj)include/config.h ; \
2157 echo "#define CONFIG_SYS_BOOTSZ $${BOOT}" >> $(obj)include/config.h ; \
2158 echo "#define CONFIG_SYS_DRAMSZ $${RAM}" >> $(obj)include/config.h ; \
2159 if [ "$${RAM1}" != "0" ] ; then \
2160 echo "#define CONFIG_SYS_DRAMSZ1 $${RAM1}" >> $(obj)include/config.h ; \
2162 if [ "$${CODE}" != "0" ] ; then \
2163 echo "#define CONFIG_SYS_NOR1SZ $${CODE}" >> $(obj)include/config.h ; \
2165 if [ "$${VID}" == "1" ] ; then \
2166 echo "#define CONFIG_SYS_VIDEO" >> $(obj)include/config.h ; \
2168 if [ "$${USB}" == "1" ] ; then \
2169 echo "#define CONFIG_SYS_USBCTRL" >> $(obj)include/config.h ; \
2171 @$(MKCONFIG) -a M5485EVB m68k mcf547x_8x m548xevb freescale
2173 TASREG_config : unconfig
2174 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 tasreg esd
2176 #########################################################################
2178 #########################################################################
2180 MPC8313ERDB_33_config \
2181 MPC8313ERDB_66_config \
2182 MPC8313ERDB_NAND_33_config \
2183 MPC8313ERDB_NAND_66_config: unconfig
2184 @mkdir -p $(obj)include
2185 @mkdir -p $(obj)board/freescale/mpc8313erdb
2186 @if [ "$(findstring _33_,$@)" ] ; then \
2187 $(XECHO) -n "...33M ..." ; \
2188 echo "#define CONFIG_SYS_33MHZ" >>$(obj)include/config.h ; \
2190 if [ "$(findstring _66_,$@)" ] ; then \
2191 $(XECHO) -n "...66M..." ; \
2192 echo "#define CONFIG_SYS_66MHZ" >>$(obj)include/config.h ; \
2194 if [ "$(findstring _NAND_,$@)" ] ; then \
2195 $(XECHO) -n "...NAND..." ; \
2196 echo "TEXT_BASE = 0x00100000" > $(obj)board/freescale/mpc8313erdb/config.tmp ; \
2197 echo "#define CONFIG_NAND_U_BOOT" >>$(obj)include/config.h ; \
2199 @$(MKCONFIG) -a MPC8313ERDB ppc mpc83xx mpc8313erdb freescale
2200 @if [ "$(findstring _NAND_,$@)" ] ; then \
2201 echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk ; \
2204 MPC8315ERDB_config: unconfig
2205 @$(MKCONFIG) -a MPC8315ERDB ppc mpc83xx mpc8315erdb freescale
2207 MPC8323ERDB_config: unconfig
2208 @$(MKCONFIG) -a MPC8323ERDB ppc mpc83xx mpc8323erdb freescale
2210 MPC832XEMDS_config \
2211 MPC832XEMDS_HOST_33_config \
2212 MPC832XEMDS_HOST_66_config \
2213 MPC832XEMDS_SLAVE_config \
2214 MPC832XEMDS_ATM_config: unconfig
2215 @mkdir -p $(obj)include
2216 @if [ "$(findstring _HOST_,$@)" ] ; then \
2217 $(XECHO) -n "... PCI HOST " ; \
2218 echo "#define CONFIG_PCI" >>$(obj)include/config.h ; \
2220 if [ "$(findstring _SLAVE_,$@)" ] ; then \
2221 $(XECHO) "...PCI SLAVE 66M" ; \
2222 echo "#define CONFIG_PCI" >>$(obj)include/config.h ; \
2223 echo "#define CONFIG_PCISLAVE" >>$(obj)include/config.h ; \
2225 if [ "$(findstring _33_,$@)" ] ; then \
2226 $(XECHO) -n "...33M ..." ; \
2227 echo "#define PCI_33M" >>$(obj)include/config.h ; \
2228 echo "#define CONFIG_PQ_MDS_PIB 1" >>$(obj)include/config.h ; \
2230 if [ "$(findstring _66_,$@)" ] ; then \
2231 $(XECHO) -n "...66M..." ; \
2232 echo "#define PCI_66M" >>$(obj)include/config.h ; \
2233 echo "#define CONFIG_PQ_MDS_PIB 1" >>$(obj)include/config.h ; \
2235 if [ "$(findstring _ATM_,$@)" ] ; then \
2236 $(XECHO) -n "...ATM..." ; \
2237 echo "#define CONFIG_PQ_MDS_PIB 1" >>$(obj)include/config.h ; \
2238 echo "#define CONFIG_PQ_MDS_PIB_ATM 1" >>$(obj)include/config.h ; \
2240 @$(MKCONFIG) -a MPC832XEMDS ppc mpc83xx mpc832xemds freescale
2242 MPC8349EMDS_config: unconfig
2243 @$(MKCONFIG) $(@:_config=) ppc mpc83xx mpc8349emds freescale
2246 MPC8349ITX_LOWBOOT_config \
2247 MPC8349ITXGP_config: unconfig
2248 @mkdir -p $(obj)include
2249 @mkdir -p $(obj)board/freescale/mpc8349itx
2250 @echo "#define CONFIG_$(subst _LOWBOOT,,$(@:_config=))" >> $(obj)include/config.h
2251 @if [ "$(findstring GP,$@)" ] ; then \
2252 echo "TEXT_BASE = 0xFE000000" >$(obj)board/freescale/mpc8349itx/config.tmp ; \
2254 @if [ "$(findstring LOWBOOT,$@)" ] ; then \
2255 echo "TEXT_BASE = 0xFE000000" >$(obj)board/freescale/mpc8349itx/config.tmp ; \
2257 @$(MKCONFIG) -a -n $(@:_config=) MPC8349ITX ppc mpc83xx mpc8349itx freescale
2259 MPC8360EMDS_config \
2260 MPC8360EMDS_HOST_33_config \
2261 MPC8360EMDS_HOST_66_config \
2262 MPC8360EMDS_SLAVE_config \
2263 MPC8360EMDS_ATM_config: unconfig
2264 @mkdir -p $(obj)include
2265 @if [ "$(findstring _HOST_,$@)" ] ; then \
2266 $(XECHO) -n "... PCI HOST " ; \
2267 echo "#define CONFIG_PCI" >>$(obj)include/config.h ; \
2269 if [ "$(findstring _SLAVE_,$@)" ] ; then \
2270 $(XECHO) "...PCI SLAVE 66M" ; \
2271 echo "#define CONFIG_PCI" >>$(obj)include/config.h ; \
2272 echo "#define CONFIG_PCISLAVE" >>$(obj)include/config.h ; \
2274 if [ "$(findstring _33_,$@)" ] ; then \
2275 $(XECHO) -n "...33M ..." ; \
2276 echo "#define PCI_33M" >>$(obj)include/config.h ; \
2277 echo "#define CONFIG_PQ_MDS_PIB 1" >>$(obj)include/config.h ; \
2279 if [ "$(findstring _66_,$@)" ] ; then \
2280 $(XECHO) -n "...66M..." ; \
2281 echo "#define PCI_66M" >>$(obj)include/config.h ; \
2282 echo "#define CONFIG_PQ_MDS_PIB 1" >>$(obj)include/config.h ; \
2284 if [ "$(findstring _ATM_,$@)" ] ; then \
2285 $(XECHO) -n "...ATM..." ; \
2286 echo "#define CONFIG_PQ_MDS_PIB 1" >>$(obj)include/config.h ; \
2287 echo "#define CONFIG_PQ_MDS_PIB_ATM 1" >>$(obj)include/config.h ; \
2289 @$(MKCONFIG) -a MPC8360EMDS ppc mpc83xx mpc8360emds freescale
2291 MPC8360ERDK_33_config \
2292 MPC8360ERDK_66_config \
2293 MPC8360ERDK_config: unconfig
2294 @mkdir -p $(obj)include
2295 @if [ "$(findstring _33_,$@)" ] ; then \
2296 $(XECHO) -n "... CLKIN 33MHz " ; \
2297 echo "#define CONFIG_CLKIN_33MHZ" >>$(obj)include/config.h ;\
2299 @$(MKCONFIG) -a MPC8360ERDK ppc mpc83xx mpc8360erdk freescale
2301 MPC837XEMDS_config \
2302 MPC837XEMDS_HOST_config: unconfig
2303 @mkdir -p $(obj)include
2304 @if [ "$(findstring _HOST_,$@)" ] ; then \
2305 $(XECHO) -n "... PCI HOST " ; \
2306 echo "#define CONFIG_PCI" >>$(obj)include/config.h ; \
2308 @$(MKCONFIG) -a MPC837XEMDS ppc mpc83xx mpc837xemds freescale
2310 MPC837XERDB_config: unconfig
2311 @$(MKCONFIG) -a MPC837XERDB ppc mpc83xx mpc837xerdb freescale
2313 MVBLM7_config: unconfig
2314 @$(MKCONFIG) $(@:_config=) ppc mpc83xx mvblm7 matrix_vision
2316 sbc8349_config: unconfig
2317 @$(MKCONFIG) $(@:_config=) ppc mpc83xx sbc8349
2319 TQM834x_config: unconfig
2320 @$(MKCONFIG) $(@:_config=) ppc mpc83xx tqm834x tqc
2323 #########################################################################
2325 #########################################################################
2327 ATUM8548_config: unconfig
2328 @$(MKCONFIG) $(@:_config=) ppc mpc85xx atum8548
2330 MPC8536DS_config: unconfig
2331 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8536ds freescale
2333 MPC8540ADS_config: unconfig
2334 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8540ads freescale
2336 MPC8540EVAL_config \
2337 MPC8540EVAL_33_config \
2338 MPC8540EVAL_66_config \
2339 MPC8540EVAL_33_slave_config \
2340 MPC8540EVAL_66_slave_config: unconfig
2341 @mkdir -p $(obj)include
2342 @if [ "$(findstring _33_,$@)" ] ; then \
2343 $(XECHO) "... 33 MHz PCI" ; \
2345 echo "#define CONFIG_SYSCLK_66M" >>$(obj)include/config.h ; \
2346 $(XECHO) "... 66 MHz PCI" ; \
2348 if [ "$(findstring _slave_,$@)" ] ; then \
2349 echo "#define CONFIG_PCI_SLAVE" >>$(obj)include/config.h ; \
2350 $(XECHO) " slave" ; \
2352 $(XECHO) " host" ; \
2354 @$(MKCONFIG) -a MPC8540EVAL ppc mpc85xx mpc8540eval
2356 MPC8560ADS_config: unconfig
2357 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8560ads freescale
2359 MPC8541CDS_legacy_config \
2360 MPC8541CDS_config: unconfig
2361 @mkdir -p $(obj)include
2362 @if [ "$(findstring _legacy_,$@)" ] ; then \
2363 echo "#define CONFIG_LEGACY" >>$(obj)include/config.h ; \
2364 $(XECHO) "... legacy" ; \
2366 @$(MKCONFIG) -a MPC8541CDS ppc mpc85xx mpc8541cds freescale
2368 MPC8544DS_config: unconfig
2369 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8544ds freescale
2371 MPC8548CDS_legacy_config \
2372 MPC8548CDS_config: unconfig
2373 @mkdir -p $(obj)include
2374 @if [ "$(findstring _legacy_,$@)" ] ; then \
2375 echo "#define CONFIG_LEGACY" >>$(obj)include/config.h ; \
2376 $(XECHO) "... legacy" ; \
2378 @$(MKCONFIG) -a MPC8548CDS ppc mpc85xx mpc8548cds freescale
2380 MPC8555CDS_legacy_config \
2381 MPC8555CDS_config: unconfig
2382 @mkdir -p $(obj)include
2383 @if [ "$(findstring _legacy_,$@)" ] ; then \
2384 echo "#define CONFIG_LEGACY" >>$(obj)include/config.h ; \
2385 $(XECHO) "... legacy" ; \
2387 @$(MKCONFIG) -a MPC8555CDS ppc mpc85xx mpc8555cds freescale
2389 MPC8568MDS_config: unconfig
2390 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8568mds freescale
2392 MPC8572DS_config: unconfig
2393 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8572ds freescale
2395 PM854_config: unconfig
2396 @$(MKCONFIG) $(@:_config=) ppc mpc85xx pm854
2398 PM856_config: unconfig
2399 @$(MKCONFIG) $(@:_config=) ppc mpc85xx pm856
2403 sbc8540_66_config: unconfig
2404 @mkdir -p $(obj)include
2405 @if [ "$(findstring _66_,$@)" ] ; then \
2406 echo "#define CONFIG_PCI_66" >>$(obj)include/config.h ; \
2407 $(XECHO) "... 66 MHz PCI" ; \
2409 $(XECHO) "... 33 MHz PCI" ; \
2411 @$(MKCONFIG) -a SBC8540 ppc mpc85xx sbc8560
2413 sbc8548_config: unconfig
2414 @$(MKCONFIG) $(@:_config=) ppc mpc85xx sbc8548
2418 sbc8560_66_config: unconfig
2419 @mkdir -p $(obj)include
2420 @if [ "$(findstring _66_,$@)" ] ; then \
2421 echo "#define CONFIG_PCI_66" >>$(obj)include/config.h ; \
2422 $(XECHO) "... 66 MHz PCI" ; \
2424 $(XECHO) "... 33 MHz PCI" ; \
2426 @$(MKCONFIG) -a sbc8560 ppc mpc85xx sbc8560
2428 socrates_config: unconfig
2429 @$(MKCONFIG) $(@:_config=) ppc mpc85xx socrates
2431 stxgp3_config: unconfig
2432 @$(MKCONFIG) $(@:_config=) ppc mpc85xx stxgp3
2435 stxssa_4M_config: unconfig
2436 @mkdir -p $(obj)include
2437 @if [ "$(findstring _4M_,$@)" ] ; then \
2438 echo "#define CONFIG_STXSSA_4M" >>$(obj)include/config.h ; \
2439 $(XECHO) "... with 4 MiB flash memory" ; \
2441 @$(MKCONFIG) -a stxssa ppc mpc85xx stxssa
2447 TQM8560_config: unconfig
2448 @mkdir -p $(obj)include
2449 @CTYPE=$(subst TQM,,$(@:_config=)); \
2450 $(XECHO) "... TQM"$${CTYPE}; \
2451 echo "#define CONFIG_MPC$${CTYPE}">>$(obj)include/config.h; \
2452 echo "#define CONFIG_TQM$${CTYPE}">>$(obj)include/config.h; \
2453 echo "#define CONFIG_HOSTNAME tqm$${CTYPE}">>$(obj)include/config.h; \
2454 echo "#define CONFIG_BOARDNAME \"TQM$${CTYPE}\"">>$(obj)include/config.h;
2455 @$(MKCONFIG) -a TQM85xx ppc mpc85xx tqm85xx tqc
2457 #########################################################################
2459 #########################################################################
2461 MPC8610HPCD_config: unconfig
2462 @$(MKCONFIG) $(@:_config=) ppc mpc86xx mpc8610hpcd freescale
2464 MPC8641HPCN_36BIT_config \
2465 MPC8641HPCN_config: unconfig
2466 @mkdir -p $(obj)include
2467 @if [ "$(findstring _36BIT_,$@)" ] ; then \
2468 echo "#define CONFIG_PHYS_64BIT" >>$(obj)include/config.h ; \
2469 $(XECHO) "... enabling 36-bit physical addressing." ; \
2471 @$(MKCONFIG) -a MPC8641HPCN ppc mpc86xx mpc8641hpcn freescale
2473 sbc8641d_config: unconfig
2474 @$(MKCONFIG) $(@:_config=) ppc mpc86xx sbc8641d
2476 #########################################################################
2478 #########################################################################
2480 AmigaOneG3SE_config: unconfig
2481 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx AmigaOneG3SE MAI
2483 BAB7xx_config: unconfig
2484 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx bab7xx eltec
2486 CPCI750_config: unconfig
2487 @$(MKCONFIG) CPCI750 ppc 74xx_7xx cpci750 esd
2489 DB64360_config: unconfig
2490 @$(MKCONFIG) DB64360 ppc 74xx_7xx db64360 Marvell
2492 DB64460_config: unconfig
2493 @$(MKCONFIG) DB64460 ppc 74xx_7xx db64460 Marvell
2495 ELPPC_config: unconfig
2496 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx elppc eltec
2499 EVB64260_750CX_config: unconfig
2500 @$(MKCONFIG) EVB64260 ppc 74xx_7xx evb64260
2502 mpc7448hpc2_config: unconfig
2503 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx mpc7448hpc2 freescale
2505 P3G4_config: unconfig
2506 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx evb64260
2509 p3m7448_config: unconfig
2510 @mkdir -p $(obj)include
2511 @if [ "$(findstring 750_,$@)" ] ; then \
2512 echo "#define CONFIG_P3M750" >>$(obj)include/config.h ; \
2514 echo "#define CONFIG_P3M7448" >>$(obj)include/config.h ; \
2516 @$(MKCONFIG) -a p3mx ppc 74xx_7xx p3mx prodrive
2519 PCIPPC6_config: unconfig
2520 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx pcippc2
2522 ppmc7xx_config: unconfig
2523 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx ppmc7xx
2525 ZUMA_config: unconfig
2526 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx evb64260
2528 #========================================================================
2530 #========================================================================
2531 #########################################################################
2532 ## StrongARM Systems
2533 #########################################################################
2535 assabet_config : unconfig
2536 @$(MKCONFIG) $(@:_config=) arm sa1100 assabet
2538 dnp1110_config : unconfig
2539 @$(MKCONFIG) $(@:_config=) arm sa1100 dnp1110
2541 gcplus_config : unconfig
2542 @$(MKCONFIG) $(@:_config=) arm sa1100 gcplus
2544 lart_config : unconfig
2545 @$(MKCONFIG) $(@:_config=) arm sa1100 lart
2547 shannon_config : unconfig
2548 @$(MKCONFIG) $(@:_config=) arm sa1100 shannon
2550 #########################################################################
2552 #########################################################################
2554 #########################################################################
2555 ## Atmel AT91RM9200 Systems
2556 #########################################################################
2558 at91rm9200dk_config : unconfig
2559 @$(MKCONFIG) $(@:_config=) arm arm920t at91rm9200dk atmel at91rm9200
2561 cmc_pu2_config : unconfig
2562 @$(MKCONFIG) $(@:_config=) arm arm920t cmc_pu2 NULL at91rm9200
2564 csb637_config : unconfig
2565 @$(MKCONFIG) $(@:_config=) arm arm920t csb637 NULL at91rm9200
2567 kb9202_config : unconfig
2568 @$(MKCONFIG) $(@:_config=) arm arm920t kb9202 NULL at91rm9200
2570 m501sk_config : unconfig
2571 @$(MKCONFIG) $(@:_config=) arm arm920t m501sk NULL at91rm9200
2573 mp2usb_config : unconfig
2574 @$(MKCONFIG) $(@:_config=) arm arm920t mp2usb NULL at91rm9200
2576 #########################################################################
2577 ## Atmel ARM926EJ-S Systems
2578 #########################################################################
2580 afeb9260_config: unconfig
2581 @$(MKCONFIG) $(@:_config=) arm arm926ejs afeb9260 NULL at91
2583 at91cap9adk_config : unconfig
2584 @$(MKCONFIG) $(@:_config=) arm arm926ejs at91cap9adk atmel at91
2586 at91sam9260ek_config : unconfig
2587 @$(MKCONFIG) $(@:_config=) arm arm926ejs at91sam9260ek atmel at91
2589 at91sam9261ek_config : unconfig
2590 @$(MKCONFIG) $(@:_config=) arm arm926ejs at91sam9261ek atmel at91
2592 at91sam9263ek_config : unconfig
2593 @$(MKCONFIG) $(@:_config=) arm arm926ejs at91sam9263ek atmel at91
2595 at91sam9rlek_config : unconfig
2596 @$(MKCONFIG) $(@:_config=) arm arm926ejs at91sam9rlek atmel at91
2598 ########################################################################
2599 ## ARM Integrator boards - see doc/README-integrator for more info.
2600 integratorap_config \
2609 ap946es_config: unconfig
2610 @board/integratorap/split_by_variant.sh $@
2612 integratorcp_config \
2621 cp1026_config: unconfig
2622 @board/integratorcp/split_by_variant.sh $@
2624 davinci_dvevm_config : unconfig
2625 @$(MKCONFIG) $(@:_config=) arm arm926ejs dvevm davinci davinci
2627 davinci_schmoogie_config : unconfig
2628 @$(MKCONFIG) $(@:_config=) arm arm926ejs schmoogie davinci davinci
2630 davinci_sffsdr_config : unconfig
2631 @$(MKCONFIG) $(@:_config=) arm arm926ejs sffsdr davinci davinci
2633 davinci_sonata_config : unconfig
2634 @$(MKCONFIG) $(@:_config=) arm arm926ejs sonata davinci davinci
2637 lpd7a404_config: unconfig
2638 @$(MKCONFIG) $(@:_config=) arm lh7a40x lpd7a40x
2640 mx1ads_config : unconfig
2641 @$(MKCONFIG) $(@:_config=) arm arm920t mx1ads NULL imx
2643 mx1fs2_config : unconfig
2644 @$(MKCONFIG) $(@:_config=) arm arm920t mx1fs2 NULL imx
2646 netstar_config: unconfig
2647 @$(MKCONFIG) $(@:_config=) arm arm925t netstar
2649 omap1510inn_config : unconfig
2650 @$(MKCONFIG) $(@:_config=) arm arm925t omap1510inn
2652 xtract_omap1610xxx = $(subst _cs0boot,,$(subst _cs3boot,,$(subst _cs_autoboot,,$(subst _config,,$1))))
2654 omap1610inn_config \
2655 omap1610inn_cs0boot_config \
2656 omap1610inn_cs3boot_config \
2657 omap1610inn_cs_autoboot_config \
2659 omap1610h2_cs0boot_config \
2660 omap1610h2_cs3boot_config \
2661 omap1610h2_cs_autoboot_config: unconfig
2662 @mkdir -p $(obj)include
2663 @if [ "$(findstring _cs0boot_, $@)" ] ; then \
2664 echo "#define CONFIG_CS0_BOOT" >> .$(obj)include/config.h ; \
2665 $(XECHO) "... configured for CS0 boot"; \
2666 elif [ "$(findstring _cs_autoboot_, $@)" ] ; then \
2667 echo "#define CONFIG_CS_AUTOBOOT" >> $(obj)include/config.h ; \
2668 $(XECHO) "... configured for CS_AUTO boot"; \
2670 echo "#define CONFIG_CS3_BOOT" >> $(obj)include/config.h ; \
2671 $(XECHO) "... configured for CS3 boot"; \
2673 @$(MKCONFIG) -a $(call xtract_omap1610xxx,$@) arm arm926ejs omap1610inn NULL omap
2675 omap5912osk_config : unconfig
2676 @$(MKCONFIG) $(@:_config=) arm arm926ejs omap5912osk NULL omap
2678 xtract_omap730p2 = $(subst _cs0boot,,$(subst _cs3boot,, $(subst _config,,$1)))
2681 omap730p2_cs0boot_config \
2682 omap730p2_cs3boot_config : unconfig
2683 @mkdir -p $(obj)include
2684 @if [ "$(findstring _cs0boot_, $@)" ] ; then \
2685 echo "#define CONFIG_CS0_BOOT" >> $(obj)include/config.h ; \
2686 $(XECHO) "... configured for CS0 boot"; \
2688 echo "#define CONFIG_CS3_BOOT" >> $(obj)include/config.h ; \
2689 $(XECHO) "... configured for CS3 boot"; \
2691 @$(MKCONFIG) -a $(call xtract_omap730p2,$@) arm arm926ejs omap730p2 NULL omap
2693 sbc2410x_config: unconfig
2694 @$(MKCONFIG) $(@:_config=) arm arm920t sbc2410x NULL s3c24x0
2696 scb9328_config : unconfig
2697 @$(MKCONFIG) $(@:_config=) arm arm920t scb9328 NULL imx
2699 smdk2400_config : unconfig
2700 @$(MKCONFIG) $(@:_config=) arm arm920t smdk2400 NULL s3c24x0
2702 smdk2410_config : unconfig
2703 @$(MKCONFIG) $(@:_config=) arm arm920t smdk2410 NULL s3c24x0
2705 SX1_config : unconfig
2706 @$(MKCONFIG) $(@:_config=) arm arm925t sx1
2708 # TRAB default configuration: 8 MB Flash, 32 MB RAM
2709 xtract_trab = $(subst _bigram,,$(subst _bigflash,,$(subst _old,,$(subst _config,,$1))))
2712 trab_bigram_config \
2713 trab_bigflash_config \
2714 trab_old_config: unconfig
2715 @mkdir -p $(obj)include
2716 @mkdir -p $(obj)board/trab
2717 @[ -z "$(findstring _bigram,$@)" ] || \
2718 { echo "#define CONFIG_FLASH_8MB" >>$(obj)include/config.h ; \
2719 echo "#define CONFIG_RAM_32MB" >>$(obj)include/config.h ; \
2720 $(XECHO) "... with 8 MB Flash, 32 MB RAM" ; \
2722 @[ -z "$(findstring _bigflash,$@)" ] || \
2723 { echo "#define CONFIG_FLASH_16MB" >>$(obj)include/config.h ; \
2724 echo "#define CONFIG_RAM_16MB" >>$(obj)include/config.h ; \
2725 $(XECHO) "... with 16 MB Flash, 16 MB RAM" ; \
2726 echo "TEXT_BASE = 0x0CF40000" >$(obj)board/trab/config.tmp ; \
2728 @[ -z "$(findstring _old,$@)" ] || \
2729 { echo "#define CONFIG_FLASH_8MB" >>$(obj)include/config.h ; \
2730 echo "#define CONFIG_RAM_16MB" >>$(obj)include/config.h ; \
2731 $(XECHO) "... with 8 MB Flash, 16 MB RAM" ; \
2732 echo "TEXT_BASE = 0x0CF40000" >$(obj)board/trab/config.tmp ; \
2734 @$(MKCONFIG) -a $(call xtract_trab,$@) arm arm920t trab NULL s3c24x0
2736 VCMA9_config : unconfig
2737 @$(MKCONFIG) $(@:_config=) arm arm920t vcma9 mpl s3c24x0
2739 #########################################################################
2740 # ARM supplied Versatile development boards
2741 #########################################################################
2743 cm4008_config : unconfig
2744 @$(MKCONFIG) $(@:_config=) arm arm920t cm4008 NULL ks8695
2746 cm41xx_config : unconfig
2747 @$(MKCONFIG) $(@:_config=) arm arm920t cm41xx NULL ks8695
2750 versatileab_config \
2751 versatilepb_config : unconfig
2752 @board/versatile/split_by_variant.sh $@
2754 voiceblue_config: unconfig
2755 @$(MKCONFIG) $(@:_config=) arm arm925t voiceblue
2757 #########################################################################
2759 #########################################################################
2761 B2_config : unconfig
2762 @$(MKCONFIG) $(@:_config=) arm s3c44b0 B2 dave
2764 #########################################################################
2766 #########################################################################
2768 armadillo_config: unconfig
2769 @$(MKCONFIG) $(@:_config=) arm arm720t armadillo
2771 ep7312_config : unconfig
2772 @$(MKCONFIG) $(@:_config=) arm arm720t ep7312
2774 impa7_config : unconfig
2775 @$(MKCONFIG) $(@:_config=) arm arm720t impa7
2777 modnet50_config : unconfig
2778 @$(MKCONFIG) $(@:_config=) arm arm720t modnet50
2780 evb4510_config : unconfig
2781 @$(MKCONFIG) $(@:_config=) arm arm720t evb4510
2783 lpc2292sodimm_config: unconfig
2784 @$(MKCONFIG) $(@:_config=) arm arm720t lpc2292sodimm NULL lpc2292
2786 SMN42_config : unconfig
2787 @$(MKCONFIG) $(@:_config=) arm arm720t SMN42 siemens lpc2292
2789 #########################################################################
2791 #########################################################################
2793 actux1_config : unconfig
2794 @$(MKCONFIG) $(@:_config=) arm ixp actux1
2796 actux2_config : unconfig
2797 @$(MKCONFIG) $(@:_config=) arm ixp actux2
2799 actux3_config : unconfig
2800 @$(MKCONFIG) $(@:_config=) arm ixp actux3
2802 actux4_config : unconfig
2803 @$(MKCONFIG) $(@:_config=) arm ixp actux4
2805 cerf250_config : unconfig
2806 @$(MKCONFIG) $(@:_config=) arm pxa cerf250
2808 cradle_config : unconfig
2809 @$(MKCONFIG) $(@:_config=) arm pxa cradle
2811 csb226_config : unconfig
2812 @$(MKCONFIG) $(@:_config=) arm pxa csb226
2814 delta_config : unconfig
2815 @$(MKCONFIG) $(@:_config=) arm pxa delta
2817 innokom_config : unconfig
2818 @$(MKCONFIG) $(@:_config=) arm pxa innokom
2820 ixdp425_config : unconfig
2821 @$(MKCONFIG) $(@:_config=) arm ixp ixdp425
2823 ixdpg425_config : unconfig
2824 @$(MKCONFIG) $(@:_config=) arm ixp ixdp425
2826 lubbock_config : unconfig
2827 @$(MKCONFIG) $(@:_config=) arm pxa lubbock
2829 pleb2_config : unconfig
2830 @$(MKCONFIG) $(@:_config=) arm pxa pleb2
2832 logodl_config : unconfig
2833 @$(MKCONFIG) $(@:_config=) arm pxa logodl
2836 scpu_config: unconfig
2837 @mkdir -p $(obj)include
2838 @if [ "$(findstring scpu_,$@)" ] ; then \
2839 echo "#define CONFIG_SCPU" >>$(obj)include/config.h ; \
2840 $(XECHO) "... on SCPU board variant" ; \
2842 @$(MKCONFIG) -a pdnb3 arm ixp pdnb3 prodrive
2844 pxa255_idp_config: unconfig
2845 @$(MKCONFIG) $(@:_config=) arm pxa pxa255_idp
2847 trizepsiv_config : unconfig
2848 @$(MKCONFIG) $(@:_config=) arm pxa trizepsiv
2850 wepep250_config : unconfig
2851 @$(MKCONFIG) $(@:_config=) arm pxa wepep250
2853 xaeniax_config : unconfig
2854 @$(MKCONFIG) $(@:_config=) arm pxa xaeniax
2856 xm250_config : unconfig
2857 @$(MKCONFIG) $(@:_config=) arm pxa xm250
2859 xsengine_config : unconfig
2860 @$(MKCONFIG) $(@:_config=) arm pxa xsengine
2863 @$(MKCONFIG) $(@:_config=) arm pxa zylonite
2865 #########################################################################
2867 #########################################################################
2869 apollon_config : unconfig
2870 @mkdir -p $(obj)include
2871 @mkdir -p $(obj)onenand_ipl/board/apollon
2872 @echo "#define CONFIG_ONENAND_U_BOOT" > $(obj)include/config.h
2873 @$(MKCONFIG) $(@:_config=) arm arm1136 apollon NULL omap24xx
2874 @echo "CONFIG_ONENAND_U_BOOT = y" >> $(obj)include/config.mk
2876 imx31_litekit_config : unconfig
2877 @$(MKCONFIG) $(@:_config=) arm arm1136 imx31_litekit NULL mx31
2879 imx31_phycore_config : unconfig
2880 @$(MKCONFIG) $(@:_config=) arm arm1136 imx31_phycore NULL mx31
2882 mx31ads_config : unconfig
2883 @$(MKCONFIG) $(@:_config=) arm arm1136 mx31ads freescale mx31
2885 omap2420h4_config : unconfig
2886 @$(MKCONFIG) $(@:_config=) arm arm1136 omap2420h4 NULL omap24xx
2888 #########################################################################
2890 #########################################################################
2891 smdk6400_noUSB_config \
2892 smdk6400_config : unconfig
2893 @mkdir -p $(obj)include $(obj)board/samsung/smdk6400
2894 @mkdir -p $(obj)nand_spl/board/samsung/smdk6400
2895 @echo "#define CONFIG_NAND_U_BOOT" > $(obj)include/config.h
2896 @if [ -z "$(findstring smdk6400_noUSB_config,$@)" ]; then \
2897 echo "RAM_TEXT = 0x57e00000" >> $(obj)board/samsung/smdk6400/config.tmp;\
2898 $(MKCONFIG) $(@:_config=) arm arm1176 smdk6400 samsung s3c64xx; \
2900 echo "RAM_TEXT = 0xc7e00000" >> $(obj)board/samsung/smdk6400/config.tmp;\
2901 $(MKCONFIG) $(@:_noUSB_config=) arm arm1176 smdk6400 samsung s3c64xx; \
2903 @echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk
2905 #========================================================================
2907 #========================================================================
2908 #########################################################################
2910 #########################################################################
2911 sc520_cdp_config : unconfig
2912 @$(MKCONFIG) $(@:_config=) i386 i386 sc520_cdp
2914 sc520_spunk_config : unconfig
2915 @$(MKCONFIG) $(@:_config=) i386 i386 sc520_spunk
2917 sc520_spunk_rel_config : unconfig
2918 @$(MKCONFIG) $(@:_config=) i386 i386 sc520_spunk
2920 #========================================================================
2922 #========================================================================
2923 #########################################################################
2925 #########################################################################
2927 xtract_incaip = $(subst _100MHz,,$(subst _133MHz,,$(subst _150MHz,,$(subst _config,,$1))))
2929 incaip_100MHz_config \
2930 incaip_133MHz_config \
2931 incaip_150MHz_config \
2932 incaip_config: unconfig
2933 @mkdir -p $(obj)include
2934 @[ -z "$(findstring _100MHz,$@)" ] || \
2935 { echo "#define CPU_CLOCK_RATE 100000000" >>$(obj)include/config.h ; \
2936 $(XECHO) "... with 100MHz system clock" ; \
2938 @[ -z "$(findstring _133MHz,$@)" ] || \
2939 { echo "#define CPU_CLOCK_RATE 133000000" >>$(obj)include/config.h ; \
2940 $(XECHO) "... with 133MHz system clock" ; \
2942 @[ -z "$(findstring _150MHz,$@)" ] || \
2943 { echo "#define CPU_CLOCK_RATE 150000000" >>$(obj)include/config.h ; \
2944 $(XECHO) "... with 150MHz system clock" ; \
2946 @$(MKCONFIG) -a $(call xtract_incaip,$@) mips mips incaip
2948 tb0229_config: unconfig
2949 @$(MKCONFIG) $(@:_config=) mips mips tb0229
2951 #########################################################################
2953 #########################################################################
2955 dbau1000_config : unconfig
2956 @mkdir -p $(obj)include
2957 @echo "#define CONFIG_DBAU1000 1" >$(obj)include/config.h
2958 @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00
2960 dbau1100_config : unconfig
2961 @mkdir -p $(obj)include
2962 @echo "#define CONFIG_DBAU1100 1" >$(obj)include/config.h
2963 @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00
2965 dbau1500_config : unconfig
2966 @mkdir -p $(obj)include
2967 @echo "#define CONFIG_DBAU1500 1" >$(obj)include/config.h
2968 @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00
2970 dbau1550_config : unconfig
2971 @mkdir -p $(obj)include
2972 @echo "#define CONFIG_DBAU1550 1" >$(obj)include/config.h
2973 @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00
2975 dbau1550_el_config : unconfig
2976 @mkdir -p $(obj)include
2977 @echo "#define CONFIG_DBAU1550 1" >$(obj)include/config.h
2978 @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00
2980 gth2_config : unconfig
2981 @mkdir -p $(obj)include
2982 @echo "#define CONFIG_GTH2 1" >$(obj)include/config.h
2983 @$(MKCONFIG) -a gth2 mips mips gth2
2985 pb1000_config : unconfig
2986 @mkdir -p $(obj)include
2987 @echo "#define CONFIG_PB1000 1" >$(obj)include/config.h
2988 @$(MKCONFIG) -a pb1x00 mips mips pb1x00
2990 qemu_mips_config : unconfig
2991 @mkdir -p $(obj)include
2992 @echo "#define CONFIG_QEMU_MIPS 1" >$(obj)include/config.h
2993 @$(MKCONFIG) -a qemu-mips mips mips qemu-mips
2995 #########################################################################
2997 #########################################################################
2999 purple_config : unconfig
3000 @$(MKCONFIG) $(@:_config=) mips mips purple
3002 #========================================================================
3004 #========================================================================
3005 #########################################################################
3007 #########################################################################
3009 ADNPESC1_DNPEVA2_base_32_config \
3010 ADNPESC1_base_32_config \
3011 ADNPESC1_config: unconfig
3012 @mkdir -p $(obj)include
3013 @[ -z "$(findstring _DNPEVA2,$@)" ] || \
3014 { echo "#define CONFIG_DNPEVA2 1" >>$(obj)include/config.h ; \
3015 $(XECHO) "... DNP/EVA2 configuration" ; \
3017 @[ -z "$(findstring _base_32,$@)" ] || \
3018 { echo "#define CONFIG_NIOS_BASE_32 1" >>$(obj)include/config.h ; \
3019 $(XECHO) "... NIOS 'base_32' configuration" ; \
3021 @[ -z "$(findstring ADNPESC1_config,$@)" ] || \
3022 { echo "#define CONFIG_NIOS_BASE_32 1" >>$(obj)include/config.h ; \
3023 $(XECHO) "... NIOS 'base_32' configuration (DEFAULT)" ; \
3025 @$(MKCONFIG) -a ADNPESC1 nios nios adnpesc1 ssv
3027 DK1C20_safe_32_config \
3028 DK1C20_standard_32_config \
3029 DK1C20_config: unconfig
3030 @mkdir -p $(obj)include
3031 @[ -z "$(findstring _safe_32,$@)" ] || \
3032 { echo "#define CONFIG_NIOS_SAFE_32 1" >>$(obj)include/config.h ; \
3033 $(XECHO) "... NIOS 'safe_32' configuration" ; \
3035 @[ -z "$(findstring _standard_32,$@)" ] || \
3036 { echo "#define CONFIG_NIOS_STANDARD_32 1" >>$(obj)include/config.h ; \
3037 $(XECHO) "... NIOS 'standard_32' configuration" ; \
3039 @[ -z "$(findstring DK1C20_config,$@)" ] || \
3040 { echo "#define CONFIG_NIOS_STANDARD_32 1" >>$(obj)include/config.h ; \
3041 $(XECHO) "... NIOS 'standard_32' configuration (DEFAULT)" ; \
3043 @$(MKCONFIG) -a DK1C20 nios nios dk1c20 altera
3045 DK1S10_safe_32_config \
3046 DK1S10_standard_32_config \
3047 DK1S10_mtx_ldk_20_config \
3048 DK1S10_config: unconfig
3049 @mkdir -p $(obj)include
3050 @[ -z "$(findstring _safe_32,$@)" ] || \
3051 { echo "#define CONFIG_NIOS_SAFE_32 1" >>$(obj)include/config.h ; \
3052 $(XECHO) "... NIOS 'safe_32' configuration" ; \
3054 @[ -z "$(findstring _standard_32,$@)" ] || \
3055 { echo "#define CONFIG_NIOS_STANDARD_32 1" >>$(obj)include/config.h ; \
3056 $(XECHO) "... NIOS 'standard_32' configuration" ; \
3058 @[ -z "$(findstring _mtx_ldk_20,$@)" ] || \
3059 { echo "#define CONFIG_NIOS_MTX_LDK_20 1" >>$(obj)include/config.h ; \
3060 $(XECHO) "... NIOS 'mtx_ldk_20' configuration" ; \
3062 @[ -z "$(findstring DK1S10_config,$@)" ] || \
3063 { echo "#define CONFIG_NIOS_STANDARD_32 1" >>$(obj)include/config.h ; \
3064 $(XECHO) "... NIOS 'standard_32' configuration (DEFAULT)" ; \
3066 @$(MKCONFIG) -a DK1S10 nios nios dk1s10 altera
3068 #########################################################################
3070 #########################################################################
3072 EP1C20_config : unconfig
3073 @$(MKCONFIG) EP1C20 nios2 nios2 ep1c20 altera
3075 EP1S10_config : unconfig
3076 @$(MKCONFIG) EP1S10 nios2 nios2 ep1s10 altera
3078 EP1S40_config : unconfig
3079 @$(MKCONFIG) EP1S40 nios2 nios2 ep1s40 altera
3081 PK1C20_config : unconfig
3082 @$(MKCONFIG) PK1C20 nios2 nios2 pk1c20 psyent
3084 PCI5441_config : unconfig
3085 @$(MKCONFIG) PCI5441 nios2 nios2 pci5441 psyent
3087 #========================================================================
3089 #========================================================================
3091 ml401_config: unconfig
3092 @mkdir -p $(obj)include
3093 @echo "#define CONFIG_ML401 1" > $(obj)include/config.h
3094 @$(MKCONFIG) -a $(@:_config=) microblaze microblaze ml401 xilinx
3096 suzaku_config: unconfig
3097 @mkdir -p $(obj)include
3098 @echo "#define CONFIG_SUZAKU 1" > $(obj)include/config.h
3099 @$(MKCONFIG) -a $(@:_config=) microblaze microblaze suzaku AtmarkTechno
3101 xupv2p_config: unconfig
3102 @mkdir -p $(obj)include
3103 @echo "#define CONFIG_XUPV2P 1" > $(obj)include/config.h
3104 @$(MKCONFIG) -a $(@:_config=) microblaze microblaze xupv2p xilinx
3106 #========================================================================
3108 #========================================================================
3110 # Analog Devices boards
3111 BFIN_BOARDS = bf533-ezkit bf533-stamp bf537-stamp bf561-ezkit
3113 $(BFIN_BOARDS:%=%_config) : unconfig
3114 @$(MKCONFIG) $(@:_config=) blackfin blackfin $(@:_config=)
3120 #========================================================================
3122 #========================================================================
3124 atngw100_config : unconfig
3125 @$(MKCONFIG) $(@:_config=) avr32 at32ap atngw100 atmel at32ap700x
3127 atstk1002_config : unconfig
3128 @$(MKCONFIG) $(@:_config=) avr32 at32ap atstk1000 atmel at32ap700x
3130 atstk1003_config : unconfig
3131 @$(MKCONFIG) $(@:_config=) avr32 at32ap atstk1000 atmel at32ap700x
3133 atstk1004_config : unconfig
3134 @$(MKCONFIG) $(@:_config=) avr32 at32ap atstk1000 atmel at32ap700x
3136 atstk1006_config : unconfig
3137 @$(MKCONFIG) $(@:_config=) avr32 at32ap atstk1000 atmel at32ap700x
3139 favr-32-ezkit_config : unconfig
3140 @$(MKCONFIG) $(@:_config=) avr32 at32ap favr-32-ezkit earthlcd at32ap700x
3142 hammerhead_config : unconfig
3143 @$(MKCONFIG) $(@:_config=) avr32 at32ap hammerhead miromico at32ap700x
3145 mimc200_config : unconfig
3146 @$(MKCONFIG) $(@:_config=) avr32 at32ap mimc200 mimc at32ap700x
3148 #========================================================================
3150 #========================================================================
3152 #########################################################################
3153 ## sh2 (Renesas SuperH)
3154 #########################################################################
3155 rsk7203_config: unconfig
3157 @echo "#define CONFIG_RSK7203 1" >> include/config.h
3158 @./mkconfig -a $(@:_config=) sh sh2 rsk7203 renesas
3160 #########################################################################
3161 ## sh3 (Renesas SuperH)
3162 #########################################################################
3164 mpr2_config: unconfig
3165 @mkdir -p $(obj)include
3166 @echo "#define CONFIG_MPR2 1" > $(obj)include/config.h
3167 @$(MKCONFIG) -a $(@:_config=) sh sh3 mpr2
3169 ms7720se_config: unconfig
3170 @mkdir -p $(obj)include
3171 @echo "#define CONFIG_MS7720SE 1" > $(obj)include/config.h
3172 @$(MKCONFIG) -a $(@:_config=) sh sh3 ms7720se
3174 #########################################################################
3175 ## sh4 (Renesas SuperH)
3176 #########################################################################
3178 MigoR_config : unconfig
3179 @mkdir -p $(obj)include
3180 @echo "#define CONFIG_MIGO_R 1" > $(obj)include/config.h
3181 @./mkconfig -a $(@:_config=) sh sh4 MigoR renesas
3183 ms7750se_config: unconfig
3184 @mkdir -p $(obj)include
3185 @echo "#define CONFIG_MS7750SE 1" > $(obj)include/config.h
3186 @$(MKCONFIG) -a $(@:_config=) sh sh4 ms7750se
3188 ms7722se_config : unconfig
3189 @mkdir -p $(obj)include
3190 @echo "#define CONFIG_MS7722SE 1" > $(obj)include/config.h
3191 @$(MKCONFIG) -a $(@:_config=) sh sh4 ms7722se
3193 r2dplus_config : unconfig
3194 @mkdir -p $(obj)include
3195 @echo "#define CONFIG_R2DPLUS 1" > $(obj)include/config.h
3196 @$(MKCONFIG) -a $(@:_config=) sh sh4 r2dplus renesas
3198 r7780mp_config: unconfig
3199 @mkdir -p $(obj)include
3200 @echo "#define CONFIG_R7780MP 1" > $(obj)include/config.h
3201 @$(MKCONFIG) -a $(@:_config=) sh sh4 r7780mp renesas
3203 sh7763rdp_config : unconfig
3204 @mkdir -p $(obj)include
3205 @echo "#define CONFIG_SH7763RDP 1" > $(obj)include/config.h
3206 @$(MKCONFIG) -a $(@:_config=) sh sh4 sh7763rdp renesas
3208 sh7785lcr_config : unconfig
3210 @echo "#define CONFIG_SH7785LCR 1" >> include/config.h
3211 @$(MKCONFIG) -a $(@:_config=) sh sh4 sh7785lcr renesas
3213 ap325rxa_config : unconfig
3214 @mkdir -p $(obj)include
3215 @echo "#define CONFIG_AP325RXA 1" > $(obj)include/config.h
3216 @$(MKCONFIG) -a $(@:_config=) sh sh4 ap325rxa renesas
3218 #========================================================================
3220 #========================================================================
3222 #########################################################################
3224 #########################################################################
3226 # Gaisler GR-XC3S-1500 board
3227 gr_xc3s_1500_config : unconfig
3228 @$(MKCONFIG) $(@:_config=) sparc leon3 gr_xc3s_1500 gaisler
3230 # Gaisler GR-CPCI-AX2000 board, a General purpose FPGA-AX system
3231 gr_cpci_ax2000_config : unconfig
3232 @$(MKCONFIG) $(@:_config=) sparc leon3 gr_cpci_ax2000 gaisler
3234 # Gaisler GRLIB template design (GPL SPARC/LEON3) for Altera NIOS
3235 # Development board Stratix II edition, FPGA Device EP2S60.
3236 gr_ep2s60_config: unconfig
3237 @$(MKCONFIG) $(@:_config=) sparc leon3 gr_ep2s60 gaisler
3239 # Gaisler LEON3 GRSIM simulator
3240 grsim_config : unconfig
3241 @$(MKCONFIG) $(@:_config=) sparc leon3 grsim gaisler
3243 #########################################################################
3245 #########################################################################
3247 # Gaisler LEON2 GRSIM simulator
3248 grsim_leon2_config : unconfig
3249 @$(MKCONFIG) $(@:_config=) sparc leon2 grsim_leon2 gaisler
3251 #########################################################################
3252 #########################################################################
3253 #########################################################################
3256 @rm -f $(obj)examples/82559_eeprom $(obj)examples/eepro100_eeprom \
3257 $(obj)examples/hello_world $(obj)examples/interrupt \
3258 $(obj)examples/mem_to_mem_idma2intr \
3259 $(obj)examples/sched $(obj)examples/smc91111_eeprom \
3260 $(obj)examples/test_burst $(obj)examples/timer
3261 @rm -f $(obj)tools/bmp_logo $(obj)tools/easylogo/easylogo \
3262 $(obj)tools/env/{fw_printenv,fw_setenv} \
3263 $(obj)tools/envcrc \
3264 $(obj)tools/gdb/{astest,gdbcont,gdbsend} \
3265 $(obj)tools/gen_eth_addr $(obj)tools/img2srec \
3266 $(obj)tools/mkimage $(obj)tools/mpc86x_clk \
3267 $(obj)tools/ncb $(obj)tools/ubsha1
3268 @rm -f $(obj)board/cray/L1/{bootscript.c,bootscript.image} \
3269 $(obj)board/netstar/{eeprom,crcek,crcit,*.srec,*.bin} \
3270 $(obj)board/trab/trab_fkt $(obj)board/voiceblue/eeprom \
3271 $(obj)board/{integratorap,integratorcp}/u-boot.lds \
3272 $(obj)board/{bf533-ezkit,bf533-stamp,bf537-stamp,bf561-ezkit}/u-boot.lds \
3273 $(obj)cpu/blackfin/bootrom-asm-offsets.[chs]
3274 @rm -f $(obj)include/bmp_logo.h
3275 @rm -f $(obj)nand_spl/{u-boot-spl,u-boot-spl.map,System.map}
3276 @rm -f $(obj)onenand_ipl/onenand-{ipl,ipl.bin,ipl-2k.bin,ipl-4k.bin,ipl.map}
3277 @rm -f $(obj)api_examples/demo $(VERSION_FILE)
3278 @find $(OBJTREE) -type f \
3279 \( -name 'core' -o -name '*.bak' -o -name '*~' \
3280 -o -name '*.o' -o -name '*.a' \) -print \
3284 @find $(OBJTREE) -type f \( -name .depend \
3285 -o -name '*.srec' -o -name '*.bin' -o -name u-boot.img \) \
3288 @rm -f $(OBJS) $(obj)*.bak $(obj)ctags $(obj)etags $(obj)TAGS \
3289 $(obj)cscope.* $(obj)*.*~
3290 @rm -f $(obj)u-boot $(obj)u-boot.map $(obj)u-boot.hex $(ALL)
3291 @rm -f $(obj)tools/{crc32.c,env_embedded.c,env/crc32.c,md5.c,sha1.c,inca-swap-bytes}
3292 @rm -f $(obj)tools/{image.c,fdt.c,fdt_ro.c,fdt_rw.c,fdt_strerror.c,zlib.h}
3293 @rm -f $(obj)tools/{fdt_wip.c,libfdt_internal.h}
3294 @rm -f $(obj)cpu/mpc824x/bedbug_603e.c
3295 @rm -f $(obj)include/asm/proc $(obj)include/asm/arch $(obj)include/asm
3296 @[ ! -d $(obj)nand_spl ] || find $(obj)nand_spl -name "*" -type l -print | xargs rm -f
3297 @[ ! -d $(obj)onenand_ipl ] || find $(obj)onenand_ipl -name "*" -type l -print | xargs rm -f
3298 @[ ! -d $(obj)api_examples ] || find $(obj)api_examples -name "*" -type l -print | xargs rm -f
3300 ifeq ($(OBJTREE),$(SRCTREE))
3302 distclean: clobber unconfig
3305 distclean: clobber unconfig
3310 F=`basename $(TOPDIR)` ; cd .. ; \
3311 gtar --force-local -zcvf `date "+$$F-%Y-%m-%d-%T.tar.gz"` $$F
3313 #########################################################################