blob: 25d531edea7df338837461a198fa6820bd1da170 [file] [log] [blame]
wdenk7ebf7442002-11-02 23:17:16 +00001#
Detlev Zundela414c7a2010-03-12 10:01:12 +01002# (C) Copyright 2000-2010
wdenk7ebf7442002-11-02 23:17:16 +00003# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
5# See file CREDITS for list of people who contributed to this
6# project.
7#
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
Wolfgang Denkc98368a2006-07-19 17:52:30 +020010# published by the Free Software Foundatio; either version 2 of
wdenk7ebf7442002-11-02 23:17:16 +000011# the License, or (at your option) any later version.
12#
13# This program is distributed in the hope that it will be useful,
14# but WITHOUT ANY WARRANTY; without even the implied warranty of
Wolfgang Denk19b68c42008-03-04 14:58:31 +010015# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
wdenk7ebf7442002-11-02 23:17:16 +000016# GNU General Public License for more details.
17#
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,
21# MA 02111-1307 USA
22#
23
Wolfgang Denka2cfb242010-03-12 23:06:04 +010024VERSION = 2010
Wolfgang Denk23f490d2010-05-26 23:57:08 +020025PATCHLEVEL = 06
Wolfgang Denk88a060b2008-09-09 23:55:18 +020026SUBLEVEL =
Wolfgang Denk16fa98a2010-06-13 17:48:15 +020027EXTRAVERSION = -rc2
Wolfgang Denk88a060b2008-09-09 23:55:18 +020028ifneq "$(SUBLEVEL)" ""
Wolfgang Denk4d1d9a32006-02-21 17:33:04 +010029U_BOOT_VERSION = $(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)
Wolfgang Denk88a060b2008-09-09 23:55:18 +020030else
31U_BOOT_VERSION = $(VERSION).$(PATCHLEVEL)$(EXTRAVERSION)
32endif
Peter Tyser62948502008-11-03 09:30:59 -060033TIMESTAMP_FILE = $(obj)include/timestamp_autogenerated.h
Marian Balakowiczd62379d2006-09-01 19:49:50 +020034VERSION_FILE = $(obj)include/version_autogenerated.h
Wolfgang Denk4d1d9a32006-02-21 17:33:04 +010035
wdenk7ebf7442002-11-02 23:17:16 +000036HOSTARCH := $(shell uname -m | \
37 sed -e s/i.86/i386/ \
38 -e s/sun4u/sparc64/ \
39 -e s/arm.*/arm/ \
40 -e s/sa110/arm/ \
Kumar Galaf299a4c2010-04-28 02:52:02 -050041 -e s/ppc64/powerpc/ \
42 -e s/ppc/powerpc/ \
43 -e s/macppc/powerpc/)
wdenk7ebf7442002-11-02 23:17:16 +000044
Wolfgang Denkaf03f732005-08-12 23:23:46 +020045HOSTOS := $(shell uname -s | tr '[:upper:]' '[:lower:]' | \
wdenk7ebf7442002-11-02 23:17:16 +000046 sed -e 's/\(cygwin\).*/cygwin/')
47
Peter Tyser4338a3e2008-11-12 12:33:20 -060048# Set shell to bash if possible, otherwise fall back to sh
49SHELL := $(shell if [ -x "$$BASH" ]; then echo $$BASH; \
50 else if [ -x /bin/bash ]; then echo /bin/bash; \
51 else echo sh; fi; fi)
52
53export HOSTARCH HOSTOS SHELL
wdenk7ebf7442002-11-02 23:17:16 +000054
55# Deal with colliding definitions from tcsh etc.
56VENDOR=
57
58#########################################################################
Wolfgang Denk0a659ad2008-01-13 00:59:21 +010059# Allow for silent builds
60ifeq (,$(findstring s,$(MAKEFLAGS)))
61XECHO = echo
62else
63XECHO = :
64endif
65
66#########################################################################
Marian Balakowiczd62379d2006-09-01 19:49:50 +020067#
68# U-boot build supports producing a object files to the separate external
69# directory. Two use cases are supported:
Stefan Roese42fbddd2006-09-07 11:51:23 +020070#
Marian Balakowiczd62379d2006-09-01 19:49:50 +020071# 1) Add O= to the make command line
72# 'make O=/tmp/build all'
73#
74# 2) Set environement variable BUILD_DIR to point to the desired location
75# 'export BUILD_DIR=/tmp/build'
76# 'make'
77#
78# The second approach can also be used with a MAKEALL script
79# 'export BUILD_DIR=/tmp/build'
80# './MAKEALL'
Stefan Roese42fbddd2006-09-07 11:51:23 +020081#
Marian Balakowiczd62379d2006-09-01 19:49:50 +020082# Command line 'O=' setting overrides BUILD_DIR environent variable.
Stefan Roese42fbddd2006-09-07 11:51:23 +020083#
Marian Balakowiczd62379d2006-09-01 19:49:50 +020084# When none of the above methods is used the local build is performed and
85# the object files are placed in the source directory.
Stefan Roese42fbddd2006-09-07 11:51:23 +020086#
wdenk7ebf7442002-11-02 23:17:16 +000087
Marian Balakowiczd62379d2006-09-01 19:49:50 +020088ifdef O
89ifeq ("$(origin O)", "command line")
90BUILD_DIR := $(O)
91endif
92endif
93
94ifneq ($(BUILD_DIR),)
95saved-output := $(BUILD_DIR)
Marian Balakowicz7f783cb2006-09-07 12:05:53 +020096
97# Attempt to create a output directory.
98$(shell [ -d ${BUILD_DIR} ] || mkdir -p ${BUILD_DIR})
99
Stefan Roesea4108482006-09-12 08:49:07 +0200100# Verify if it was successful.
Marian Balakowiczd62379d2006-09-01 19:49:50 +0200101BUILD_DIR := $(shell cd $(BUILD_DIR) && /bin/pwd)
102$(if $(BUILD_DIR),,$(error output directory "$(saved-output)" does not exist))
103endif # ifneq ($(BUILD_DIR),)
104
105OBJTREE := $(if $(BUILD_DIR),$(BUILD_DIR),$(CURDIR))
106SRCTREE := $(CURDIR)
107TOPDIR := $(SRCTREE)
108LNDIR := $(OBJTREE)
109export TOPDIR SRCTREE OBJTREE
110
111MKCONFIG := $(SRCTREE)/mkconfig
112export MKCONFIG
113
114ifneq ($(OBJTREE),$(SRCTREE))
Wolfgang Denk87b3d4b2006-11-30 18:02:20 +0100115REMOTE_BUILD := 1
Marian Balakowiczd62379d2006-09-01 19:49:50 +0200116export REMOTE_BUILD
117endif
wdenk7ebf7442002-11-02 23:17:16 +0000118
Marian Balakowiczd62379d2006-09-01 19:49:50 +0200119# $(obj) and (src) are defined in config.mk but here in main Makefile
120# we also need them before config.mk is included which is the case for
121# some targets like unconfig, clean, clobber, distclean, etc.
122ifneq ($(OBJTREE),$(SRCTREE))
123obj := $(OBJTREE)/
124src := $(SRCTREE)/
125else
126obj :=
127src :=
Stefan Roese42fbddd2006-09-07 11:51:23 +0200128endif
Marian Balakowiczd62379d2006-09-01 19:49:50 +0200129export obj src
130
Wolfgang Denk6570eb32008-03-02 22:45:33 +0100131# Make sure CDPATH settings don't interfere
132unexport CDPATH
133
Marian Balakowiczd62379d2006-09-01 19:49:50 +0200134#########################################################################
wdenk7ebf7442002-11-02 23:17:16 +0000135
Mike Frysingerd8f0f912009-05-30 01:02:03 -0400136# The "tools" are needed early, so put this first
137# Don't include stuff already done in $(LIBS)
138SUBDIRS = tools \
Peter Tyser07a8af32009-07-10 11:03:19 -0500139 examples/standalone \
Peter Tyseracce4eb2009-07-20 19:02:21 -0500140 examples/api
Mike Frysingerd8f0f912009-05-30 01:02:03 -0400141
142.PHONY : $(SUBDIRS)
143
Wolfgang Denk0a659ad2008-01-13 00:59:21 +0100144ifeq ($(obj)include/config.mk,$(wildcard $(obj)include/config.mk))
Marian Balakowiczd62379d2006-09-01 19:49:50 +0200145
Mike Frysinger27e1c722009-07-21 22:59:36 -0400146# Include autoconf.mk before config.mk so that the config options are available
147# to all top level build files. We need the dummy all: target to prevent the
148# dependency target in autoconf.mk.dep from being the default.
149all:
150sinclude $(obj)include/autoconf.mk.dep
151sinclude $(obj)include/autoconf.mk
152
wdenk7ebf7442002-11-02 23:17:16 +0000153# load ARCH, BOARD, and CPU configuration
Wolfgang Denk0a659ad2008-01-13 00:59:21 +0100154include $(obj)include/config.mk
wdenkf8e9a232004-10-09 22:21:29 +0000155export ARCH CPU BOARD VENDOR SOC
Marian Balakowiczd62379d2006-09-01 19:49:50 +0200156
Mike Frysinger8378ba42009-06-14 23:33:14 -0400157# set default to nothing for native builds
Wolfgang Denkab4f2fe2007-03-06 18:01:47 +0100158ifeq ($(HOSTARCH),$(ARCH))
Mike Frysinger8378ba42009-06-14 23:33:14 -0400159CROSS_COMPILE ?=
Daniel Hellstrom9d7c6b22008-03-28 09:47:00 +0100160endif
wdenk7ebf7442002-11-02 23:17:16 +0000161
Wolfgang Denkbb874e32006-03-12 01:37:50 +0100162# load other configuration
163include $(TOPDIR)/config.mk
164
wdenk7ebf7442002-11-02 23:17:16 +0000165#########################################################################
166# U-Boot objects....order is important (i.e. start must be first)
167
Peter Tyserd53e8fd2010-04-12 22:28:02 -0500168OBJS = $(CPUDIR)/start.o
wdenk591dda52002-11-18 00:14:45 +0000169ifeq ($(CPU),i386)
Peter Tyserd53e8fd2010-04-12 22:28:02 -0500170OBJS += $(CPUDIR)/start16.o
171OBJS += $(CPUDIR)/resetvec.o
wdenk591dda52002-11-18 00:14:45 +0000172endif
wdenk7ebf7442002-11-02 23:17:16 +0000173ifeq ($(CPU),ppc4xx)
Peter Tyserd53e8fd2010-04-12 22:28:02 -0500174OBJS += $(CPUDIR)/resetvec.o
wdenk7ebf7442002-11-02 23:17:16 +0000175endif
wdenk9c53f402003-10-15 23:53:47 +0000176ifeq ($(CPU),mpc85xx)
Peter Tyserd53e8fd2010-04-12 22:28:02 -0500177OBJS += $(CPUDIR)/resetvec.o
wdenk9c53f402003-10-15 23:53:47 +0000178endif
wdenk7ebf7442002-11-02 23:17:16 +0000179
Marian Balakowiczd62379d2006-09-01 19:49:50 +0200180OBJS := $(addprefix $(obj),$(OBJS))
181
Peter Tyser685b7f52010-04-12 22:28:05 -0500182LIBS = lib/libgeneric.a
183LIBS += lib/lzma/liblzma.a
184LIBS += lib/lzo/liblzo.a
Kim Phillips53b34982007-08-21 17:00:17 -0500185LIBS += $(shell if [ -f board/$(VENDOR)/common/Makefile ]; then echo \
186 "board/$(VENDOR)/common/lib$(VENDOR).a"; fi)
Peter Tyserd53e8fd2010-04-12 22:28:02 -0500187LIBS += $(CPUDIR)/lib$(CPU).a
wdenkf8e9a232004-10-09 22:21:29 +0000188ifdef SOC
Peter Tyserd53e8fd2010-04-12 22:28:02 -0500189LIBS += $(CPUDIR)/$(SOC)/lib$(SOC).a
wdenkf8e9a232004-10-09 22:21:29 +0000190endif
Stefan Roese07653eb2007-04-23 12:00:22 +0200191ifeq ($(CPU),ixp)
Peter Tyserf7c67372010-04-12 22:28:11 -0500192LIBS += arch/arm/cpu/ixp/npe/libnpe.a
Stefan Roese07653eb2007-04-23 12:00:22 +0200193endif
Peter Tysercede5d82010-04-12 22:28:04 -0500194LIBS += arch/$(ARCH)/lib/lib$(ARCH).a
wdenk4d01d9e2004-03-25 14:59:05 +0000195LIBS += fs/cramfs/libcramfs.a fs/fat/libfat.a fs/fdos/libfdos.a fs/jffs2/libjffs2.a \
Stefan Roese2fc10f62009-03-19 15:35:05 +0100196 fs/reiserfs/libreiserfs.a fs/ext2/libext2fs.a fs/yaffs2/libyaffs2.a \
197 fs/ubifs/libubifs.a
wdenk7ebf7442002-11-02 23:17:16 +0000198LIBS += net/libnet.a
199LIBS += disk/libdisk.a
Jason Jinbb20f352007-07-13 12:14:58 +0800200LIBS += drivers/bios_emulator/libatibiosemu.a
Jean-Christophe PLAGNIOL-VILLARD7f7e6fb2007-11-24 21:13:59 +0100201LIBS += drivers/block/libblock.a
TsiChungLiew8cb946d2008-01-15 14:15:46 -0600202LIBS += drivers/dma/libdma.a
Jean-Christophe PLAGNIOL-VILLARDc0268772008-10-31 12:26:55 +0100203LIBS += drivers/fpga/libfpga.a
Peter Tyser9902e422008-12-17 16:36:21 -0600204LIBS += drivers/gpio/libgpio.a
Jean-Christophe PLAGNIOL-VILLARDcf2e1082007-11-24 20:14:44 +0100205LIBS += drivers/hwmon/libhwmon.a
Jean-Christophe PLAGNIOL-VILLARDed0ea1f2007-11-21 21:19:24 +0100206LIBS += drivers/i2c/libi2c.a
Jean-Christophe PLAGNIOL-VILLARD0c20dcd2007-11-24 19:46:45 +0100207LIBS += drivers/input/libinput.a
Jean-Christophe PLAGNIOL-VILLARDb7803012007-11-24 21:17:55 +0100208LIBS += drivers/misc/libmisc.a
Haavard Skinnemoeneb220962008-06-12 19:27:56 +0200209LIBS += drivers/mmc/libmmc.a
Jean-Christophe PLAGNIOL-VILLARD82ca9742007-11-24 21:26:56 +0100210LIBS += drivers/mtd/libmtd.a
211LIBS += drivers/mtd/nand/libnand.a
Jean-Christophe PLAGNIOL-VILLARD82ca9742007-11-24 21:26:56 +0100212LIBS += drivers/mtd/onenand/libonenand.a
Kyungmin Park0bd0c1f2008-11-19 16:38:24 +0100213LIBS += drivers/mtd/ubi/libubi.a
Haavard Skinnemoen2f5bfb72008-05-16 11:10:33 +0200214LIBS += drivers/mtd/spi/libspi_flash.a
TsiChung Liewf6afe722007-06-18 13:50:13 -0500215LIBS += drivers/net/libnet.a
Jean-Christophe PLAGNIOL-VILLARDf2266792008-08-29 01:18:01 +0200216LIBS += drivers/net/phy/libphy.a
Jean-Christophe PLAGNIOL-VILLARDed0ea1f2007-11-21 21:19:24 +0100217LIBS += drivers/pci/libpci.a
218LIBS += drivers/pcmcia/libpcmcia.a
Tom Rix330a90a2009-06-28 12:52:29 -0500219LIBS += drivers/power/libpower.a
Ben Warren7efe9272008-01-16 22:37:35 -0500220LIBS += drivers/spi/libspi.a
Dave Liue732e9c2006-11-03 12:11:15 -0600221ifeq ($(CPU),mpc83xx)
222LIBS += drivers/qe/qe.a
223endif
Andy Flemingee0e9172007-08-14 00:14:25 -0500224ifeq ($(CPU),mpc85xx)
225LIBS += drivers/qe/qe.a
Stefan Roese88fbf932010-04-15 16:07:28 +0200226LIBS += arch/powerpc/cpu/mpc8xxx/ddr/libddr.a
227LIBS += arch/powerpc/cpu/mpc8xxx/lib8xxx.a
Kumar Gala124b0822008-08-26 15:01:29 -0500228endif
229ifeq ($(CPU),mpc86xx)
Stefan Roese88fbf932010-04-15 16:07:28 +0200230LIBS += arch/powerpc/cpu/mpc8xxx/ddr/libddr.a
231LIBS += arch/powerpc/cpu/mpc8xxx/lib8xxx.a
Andy Flemingee0e9172007-08-14 00:14:25 -0500232endif
Jean-Christophe PLAGNIOL-VILLARD82ca9742007-11-24 21:26:56 +0100233LIBS += drivers/rtc/librtc.a
TsiChung Liewf6afe722007-06-18 13:50:13 -0500234LIBS += drivers/serial/libserial.a
Detlev Zundela9036ab2009-03-30 00:31:32 +0200235LIBS += drivers/twserial/libtws.a
Jean-Christophe PLAGNIOL-VILLARD8f6bcf42009-04-03 12:46:58 +0200236LIBS += drivers/usb/gadget/libusb_gadget.a
237LIBS += drivers/usb/host/libusb_host.a
238LIBS += drivers/usb/musb/libusb_musb.a
Tom Rix03f4fbb2009-10-31 12:37:40 -0500239LIBS += drivers/usb/phy/libusb_phy.a
Jean-Christophe PLAGNIOL-VILLARD82ca9742007-11-24 21:26:56 +0100240LIBS += drivers/video/libvideo.a
Jean-Christophe PLAGNIOL-VILLARDd5ee38e2009-03-27 23:26:42 +0100241LIBS += drivers/watchdog/libwatchdog.a
wdenk7ebf7442002-11-02 23:17:16 +0000242LIBS += common/libcommon.a
Peter Tyser8e7788f2010-04-12 22:28:06 -0500243LIBS += lib/libfdt/libfdt.a
Rafal Jaworowskia19be782008-01-09 19:39:36 +0100244LIBS += api/libapi.a
Yuri Tikhonovbdfd3022008-03-31 10:51:37 +0200245LIBS += post/libpost.a
Marian Balakowiczd62379d2006-09-01 19:49:50 +0200246
247LIBS := $(addprefix $(obj),$(LIBS))
Peter Tyser62948502008-11-03 09:30:59 -0600248.PHONY : $(LIBS) $(TIMESTAMP_FILE) $(VERSION_FILE)
wdenkc0aa5c52003-12-06 19:49:23 +0000249
Wolfgang Denk3823aa82008-04-30 17:25:07 +0200250LIBBOARD = board/$(BOARDDIR)/lib$(BOARD).a
251LIBBOARD := $(addprefix $(obj),$(LIBBOARD))
252
wdenk4cc02a82003-09-11 23:06:34 +0000253# Add GCC lib
Wolfgang Denkc73f44d2009-07-23 13:15:59 +0200254ifdef USE_PRIVATE_LIBGCC
255ifeq ("$(USE_PRIVATE_LIBGCC)", "yes")
Peter Tysercede5d82010-04-12 22:28:04 -0500256PLATFORM_LIBGCC = -L $(OBJTREE)/arch/$(ARCH)/lib -lgcc
Wolfgang Denkc73f44d2009-07-23 13:15:59 +0200257else
258PLATFORM_LIBGCC = -L $(USE_PRIVATE_LIBGCC) -lgcc
259endif
260else
261PLATFORM_LIBGCC = -L $(shell dirname `$(CC) $(CFLAGS) -print-libgcc-file-name`) -lgcc
262endif
263PLATFORM_LIBS += $(PLATFORM_LIBGCC)
264export PLATFORM_LIBS
wdenk4989f872004-03-14 15:06:13 +0000265
Mike Frysinger91acc212009-08-23 02:47:59 -0400266# Special flags for CPP when processing the linker script.
267# Pass the version down so we can handle backwards compatibility
268# on the fly.
269LDPPFLAGS += \
270 -include $(TOPDIR)/include/u-boot/u-boot.lds.h \
271 $(shell $(LD) --version | \
272 sed -ne 's/GNU ld version \([0-9][0-9]*\)\.\([0-9][0-9]*\).*/-DLD_MAJOR=\1 -DLD_MINOR=\2/p')
273
Stefan Roese42fbddd2006-09-07 11:51:23 +0200274ifeq ($(CONFIG_NAND_U_BOOT),y)
275NAND_SPL = nand_spl
276U_BOOT_NAND = $(obj)u-boot-nand.bin
277endif
278
Kyungmin Park33174212008-01-17 16:43:25 +0900279ifeq ($(CONFIG_ONENAND_U_BOOT),y)
280ONENAND_IPL = onenand_ipl
281U_BOOT_ONENAND = $(obj)u-boot-onenand.bin
Kyungmin Parkafb72e42009-09-22 09:05:00 +0900282ONENAND_BIN ?= $(obj)onenand_ipl/onenand-ipl-2k.bin
Kyungmin Park33174212008-01-17 16:43:25 +0900283endif
284
Marian Balakowiczd62379d2006-09-01 19:49:50 +0200285__OBJS := $(subst $(obj),,$(OBJS))
Wolfgang Denk3823aa82008-04-30 17:25:07 +0200286__LIBS := $(subst $(obj),,$(LIBS)) $(subst $(obj),,$(LIBBOARD))
Marian Balakowiczd62379d2006-09-01 19:49:50 +0200287
wdenk7ebf7442002-11-02 23:17:16 +0000288#########################################################################
wdenk0a658552003-08-05 17:43:17 +0000289#########################################################################
wdenk7ebf7442002-11-02 23:17:16 +0000290
Mike Frysinger57047e02009-06-15 00:25:19 -0400291# Always append ALL so that arch config.mk's can add custom ones
Kyungmin Park33174212008-01-17 16:43:25 +0900292ALL += $(obj)u-boot.srec $(obj)u-boot.bin $(obj)System.map $(U_BOOT_NAND) $(U_BOOT_ONENAND)
wdenk7ebf7442002-11-02 23:17:16 +0000293
wdenk0a658552003-08-05 17:43:17 +0000294all: $(ALL)
wdenk7ebf7442002-11-02 23:17:16 +0000295
Marian Balakowiczd62379d2006-09-01 19:49:50 +0200296$(obj)u-boot.hex: $(obj)u-boot
wdenk68005192005-01-09 21:28:15 +0000297 $(OBJCOPY) ${OBJCFLAGS} -O ihex $< $@
298
Marian Balakowiczd62379d2006-09-01 19:49:50 +0200299$(obj)u-boot.srec: $(obj)u-boot
Ricardo Ribalda Delgado0045fd82008-09-07 17:10:27 -0400300 $(OBJCOPY) -O srec $< $@
wdenk7ebf7442002-11-02 23:17:16 +0000301
Marian Balakowiczd62379d2006-09-01 19:49:50 +0200302$(obj)u-boot.bin: $(obj)u-boot
wdenk7ebf7442002-11-02 23:17:16 +0000303 $(OBJCOPY) ${OBJCFLAGS} -O binary $< $@
304
Mike Frysinger908e7762008-02-04 19:26:57 -0500305$(obj)u-boot.ldr: $(obj)u-boot
Mike Frysinger45b57bd2009-07-21 22:17:36 -0400306 $(CREATE_LDR_ENV)
Mike Frysinger41117ca2008-08-07 18:56:56 -0400307 $(LDR) -T $(CONFIG_BFIN_CPU) -c $@ $< $(LDR_FLAGS)
Mike Frysinger908e7762008-02-04 19:26:57 -0500308
309$(obj)u-boot.ldr.hex: $(obj)u-boot.ldr
310 $(OBJCOPY) ${OBJCFLAGS} -O ihex $< $@ -I binary
311
312$(obj)u-boot.ldr.srec: $(obj)u-boot.ldr
313 $(OBJCOPY) ${OBJCFLAGS} -O srec $< $@ -I binary
314
Marian Balakowiczd62379d2006-09-01 19:49:50 +0200315$(obj)u-boot.img: $(obj)u-boot.bin
Wolfgang Denk45b0c6c2010-05-15 21:23:51 +0200316 $(obj)tools/mkimage -A $(ARCH) -T firmware -C none \
wdenk0a658552003-08-05 17:43:17 +0000317 -a $(TEXT_BASE) -e 0 \
Wolfgang Denk4d1d9a32006-02-21 17:33:04 +0100318 -n $(shell sed -n -e 's/.*U_BOOT_VERSION//p' $(VERSION_FILE) | \
wdenk0a658552003-08-05 17:43:17 +0000319 sed -e 's/"[ ]*$$/ for $(BOARD) board"/') \
320 -d $< $@
321
Stefano Babic7b07f092010-01-20 18:19:10 +0100322$(obj)u-boot.imx: $(obj)u-boot.bin
323 $(obj)tools/mkimage -n $(IMX_CONFIG) -T imximage \
324 -e $(TEXT_BASE) -d $< $@
325
Prafulla Wadaskar07329412009-09-07 15:05:02 +0530326$(obj)u-boot.kwb: $(obj)u-boot.bin
327 $(obj)tools/mkimage -n $(KWD_CONFIG) -T kwbimage \
328 -a $(TEXT_BASE) -e $(TEXT_BASE) -d $< $@
329
Heiko Schocher633e03a2007-06-22 19:11:54 +0200330$(obj)u-boot.sha1: $(obj)u-boot.bin
Heiko Schocher6b765c32007-07-14 01:06:58 +0200331 $(obj)tools/ubsha1 $(obj)u-boot.bin
Heiko Schocher633e03a2007-06-22 19:11:54 +0200332
Marian Balakowiczd62379d2006-09-01 19:49:50 +0200333$(obj)u-boot.dis: $(obj)u-boot
wdenk7ebf7442002-11-02 23:17:16 +0000334 $(OBJDUMP) -d $< > $@
335
Mike Frysingera46fbba2009-05-20 04:35:14 -0400336GEN_UBOOT = \
Wolfgang Denk3823aa82008-04-30 17:25:07 +0200337 UNDEF_SYM=`$(OBJDUMP) -x $(LIBBOARD) $(LIBS) | \
338 sed -n -e 's/.*\($(SYM_PREFIX)__u_boot_cmd_.*\)/-u\1/p'|sort|uniq`;\
Marian Balakowiczd62379d2006-09-01 19:49:50 +0200339 cd $(LNDIR) && $(LD) $(LDFLAGS) $$UNDEF_SYM $(__OBJS) \
340 --start-group $(__LIBS) --end-group $(PLATFORM_LIBS) \
wdenk67ff36c2002-11-19 23:01:07 +0000341 -Map u-boot.map -o u-boot
Wolfgang Denk18d46c02009-08-17 14:00:53 +0200342$(obj)u-boot: depend $(SUBDIRS) $(OBJS) $(LIBBOARD) $(LIBS) $(LDSCRIPT) $(obj)u-boot.lds
Mike Frysingera46fbba2009-05-20 04:35:14 -0400343 $(GEN_UBOOT)
344ifeq ($(CONFIG_KALLSYMS),y)
Wolfgang Denk18d46c02009-08-17 14:00:53 +0200345 smap=`$(call SYSTEM_MAP,u-boot) | \
346 awk '$$2 ~ /[tTwW]/ {printf $$1 $$3 "\\\\000"}'` ; \
347 $(CC) $(CFLAGS) -DSYSTEM_MAP="\"$${smap}\"" \
348 -c common/system_map.c -o $(obj)common/system_map.o
Mike Frysingera46fbba2009-05-20 04:35:14 -0400349 $(GEN_UBOOT) $(obj)common/system_map.o
350endif
wdenk7ebf7442002-11-02 23:17:16 +0000351
Peter Tyser5e4668002009-03-13 18:54:25 -0500352$(OBJS): depend
Peter Tyserd53e8fd2010-04-12 22:28:02 -0500353 $(MAKE) -C $(CPUDIR) $(if $(REMOTE_BUILD),$@,$(notdir $@))
Marian Balakowiczd62379d2006-09-01 19:49:50 +0200354
Peter Tyser5e4668002009-03-13 18:54:25 -0500355$(LIBS): depend $(SUBDIRS)
Marian Balakowiczd62379d2006-09-01 19:49:50 +0200356 $(MAKE) -C $(dir $(subst $(obj),,$@))
wdenkc0aa5c52003-12-06 19:49:23 +0000357
Peter Tyser5e4668002009-03-13 18:54:25 -0500358$(LIBBOARD): depend $(LIBS)
Wolfgang Denk3823aa82008-04-30 17:25:07 +0200359 $(MAKE) -C $(dir $(subst $(obj),,$@))
360
Peter Tyser5e4668002009-03-13 18:54:25 -0500361$(SUBDIRS): depend
wdenk444f22b2003-12-07 21:39:28 +0000362 $(MAKE) -C $@ all
wdenk7ebf7442002-11-02 23:17:16 +0000363
Peter Tyser5e4668002009-03-13 18:54:25 -0500364$(LDSCRIPT): depend
Mike Frysingera47a7452008-02-16 02:12:37 -0500365 $(MAKE) -C $(dir $@) $(notdir $@)
366
Wolfgang Denk18d46c02009-08-17 14:00:53 +0200367$(obj)u-boot.lds: $(LDSCRIPT)
368 $(CPP) $(CPPFLAGS) $(LDPPFLAGS) -ansi -D__ASSEMBLY__ -P - <$^ >$@
369
Peter Tyser62948502008-11-03 09:30:59 -0600370$(NAND_SPL): $(TIMESTAMP_FILE) $(VERSION_FILE) $(obj)include/autoconf.mk
Marian Balakowicz814ed842006-10-23 22:17:05 +0200371 $(MAKE) -C nand_spl/board/$(BOARDDIR) all
Stefan Roese42fbddd2006-09-07 11:51:23 +0200372
Peter Tyser5e4668002009-03-13 18:54:25 -0500373$(U_BOOT_NAND): $(NAND_SPL) $(obj)u-boot.bin
Marian Balakowicz814ed842006-10-23 22:17:05 +0200374 cat $(obj)nand_spl/u-boot-spl-16k.bin $(obj)u-boot.bin > $(obj)u-boot-nand.bin
Stefan Roese42fbddd2006-09-07 11:51:23 +0200375
Peter Tyser62948502008-11-03 09:30:59 -0600376$(ONENAND_IPL): $(TIMESTAMP_FILE) $(VERSION_FILE) $(obj)include/autoconf.mk
Stefan Roese37628252008-08-06 14:05:38 +0200377 $(MAKE) -C onenand_ipl/board/$(BOARDDIR) all
Kyungmin Park33174212008-01-17 16:43:25 +0900378
Peter Tyser5e4668002009-03-13 18:54:25 -0500379$(U_BOOT_ONENAND): $(ONENAND_IPL) $(obj)u-boot.bin
Kyungmin Parkafb72e42009-09-22 09:05:00 +0900380 cat $(ONENAND_BIN) $(obj)u-boot.bin > $(obj)u-boot-onenand.bin
Kyungmin Park33174212008-01-17 16:43:25 +0900381
Wolfgang Denk0a659ad2008-01-13 00:59:21 +0100382$(VERSION_FILE):
Mike Frysinger547e8432008-05-02 21:45:12 -0400383 @( printf '#define U_BOOT_VERSION "U-Boot %s%s"\n' "$(U_BOOT_VERSION)" \
Peter Tyser98c02862008-11-12 13:06:48 -0600384 '$(shell $(TOPDIR)/tools/setlocalversion $(TOPDIR))' ) > $@.tmp
Mike Frysinger8cd0c7a2008-02-04 17:44:23 -0500385 @cmp -s $@ $@.tmp && rm -f $@.tmp || mv -f $@.tmp $@
Wolfgang Denk4d1d9a32006-02-21 17:33:04 +0100386
Peter Tyser62948502008-11-03 09:30:59 -0600387$(TIMESTAMP_FILE):
388 @date +'#define U_BOOT_DATE "%b %d %C%y"' > $@
389 @date +'#define U_BOOT_TIME "%T"' >> $@
390
dzu9b10ef982003-08-07 14:20:31 +0000391gdbtools:
Marian Balakowiczd62379d2006-09-01 19:49:50 +0200392 $(MAKE) -C tools/gdb all || exit 1
393
394updater:
395 $(MAKE) -C tools/updater all || exit 1
396
397env:
Markus Klotzbücher2c52a762007-11-27 10:23:20 +0100398 $(MAKE) -C tools/env all MTD_VERSION=${MTD_VERSION} || exit 1
dzu9b10ef982003-08-07 14:20:31 +0000399
Daniel Hobiad4eaa32010-01-18 18:13:39 +0100400# Explicitly make _depend in subdirs containing multiple targets to prevent
401# parallel sub-makes creating .depend files simultaneously.
Peter Tyser5e4668002009-03-13 18:54:25 -0500402depend dep: $(TIMESTAMP_FILE) $(VERSION_FILE) $(obj)include/autoconf.mk
Peter Tyserd53e8fd2010-04-12 22:28:02 -0500403 for dir in $(SUBDIRS) $(CPUDIR) $(dir $(LDSCRIPT)) ; do \
Daniel Hobiad4eaa32010-01-18 18:13:39 +0100404 $(MAKE) -C $$dir _depend ; done
wdenk7ebf7442002-11-02 23:17:16 +0000405
Li Yang22a6da62009-12-09 18:13:26 +0800406TAG_SUBDIRS = $(SUBDIRS)
407TAG_SUBDIRS += $(dir $(__LIBS))
Jean-Christophe PLAGNIOL-VILLARD957013c2007-11-25 18:45:47 +0100408TAG_SUBDIRS += include
Jean-Christophe PLAGNIOL-VILLARD957013c2007-11-25 18:45:47 +0100409
Marian Balakowiczd62379d2006-09-01 19:49:50 +0200410tags ctags:
Li Yang22a6da62009-12-09 18:13:26 +0800411 ctags -w -o $(obj)ctags `find $(TAG_SUBDIRS) \
412 -name '*.[chS]' -print`
wdenk7ebf7442002-11-02 23:17:16 +0000413
414etags:
Li Yang22a6da62009-12-09 18:13:26 +0800415 etags -a -o $(obj)etags `find $(TAG_SUBDIRS) \
416 -name '*.[chS]' -print`
Li Yang8c6dcf02008-02-29 11:46:05 +0800417cscope:
Li Yang22a6da62009-12-09 18:13:26 +0800418 find $(TAG_SUBDIRS) -name '*.[chS]' -print > cscope.files
Li Yang8c6dcf02008-02-29 11:46:05 +0800419 cscope -b -q -k
wdenk7ebf7442002-11-02 23:17:16 +0000420
Mike Frysingera46fbba2009-05-20 04:35:14 -0400421SYSTEM_MAP = \
422 $(NM) $1 | \
wdenk7ebf7442002-11-02 23:17:16 +0000423 grep -v '\(compiled\)\|\(\.o$$\)\|\( [aUw] \)\|\(\.\.ng$$\)\|\(LASH[RL]DI\)' | \
Mike Frysingera46fbba2009-05-20 04:35:14 -0400424 LC_ALL=C sort
425$(obj)System.map: $(obj)u-boot
426 @$(call SYSTEM_MAP,$<) > $(obj)System.map
wdenk7ebf7442002-11-02 23:17:16 +0000427
Grant Likely0f910192007-09-24 09:05:31 -0600428#
429# Auto-generate the autoconf.mk file (which is included by all makefiles)
430#
431# This target actually generates 2 files; autoconf.mk and autoconf.mk.dep.
432# the dep file is only include in this top level makefile to determine when
433# to regenerate the autoconf.mk file.
Wolfgang Denk9046f3f2008-05-13 23:15:52 +0200434$(obj)include/autoconf.mk.dep: $(obj)include/config.h include/common.h
435 @$(XECHO) Generating $@ ; \
Mike Frysingerd3380232008-02-18 05:10:07 -0500436 set -e ; \
Wolfgang Denk0a659ad2008-01-13 00:59:21 +0100437 : Generate the dependancies ; \
Mike Frysinger00d5bfd2009-07-19 15:17:03 -0400438 $(CC) -x c -DDO_DEPS_ONLY -M $(HOSTCFLAGS) $(CPPFLAGS) \
Wolfgang Denk9046f3f2008-05-13 23:15:52 +0200439 -MQ $(obj)include/autoconf.mk include/common.h > $@
440
441$(obj)include/autoconf.mk: $(obj)include/config.h
442 @$(XECHO) Generating $@ ; \
443 set -e ; \
Wolfgang Denk0a659ad2008-01-13 00:59:21 +0100444 : Extract the config macros ; \
Wolfgang Denk9046f3f2008-05-13 23:15:52 +0200445 $(CPP) $(CFLAGS) -DDO_DEPS_ONLY -dM include/common.h | \
Wolfgang Denk71d81002008-12-16 14:41:02 +0100446 sed -n -f tools/scripts/define2mk.sed > $@.tmp && \
447 mv $@.tmp $@
Grant Likely0f910192007-09-24 09:05:31 -0600448
wdenk7ebf7442002-11-02 23:17:16 +0000449#########################################################################
Wolfgang Denk0a659ad2008-01-13 00:59:21 +0100450else # !config.mk
Marian Balakowiczd62379d2006-09-01 19:49:50 +0200451all $(obj)u-boot.hex $(obj)u-boot.srec $(obj)u-boot.bin \
452$(obj)u-boot.img $(obj)u-boot.dis $(obj)u-boot \
Mike Frysinger39901cd2010-01-21 04:03:22 -0500453$(filter-out tools,$(SUBDIRS)) $(TIMESTAMP_FILE) $(VERSION_FILE) gdbtools \
454updater env depend dep tags ctags etags cscope $(obj)System.map:
wdenk7ebf7442002-11-02 23:17:16 +0000455 @echo "System not configured - see README" >&2
456 @ exit 1
Mike Frysinger39901cd2010-01-21 04:03:22 -0500457
458tools:
459 $(MAKE) -C tools
460tools-all:
461 $(MAKE) -C tools HOST_TOOLS_ALL=y
Wolfgang Denk0a659ad2008-01-13 00:59:21 +0100462endif # config.mk
wdenk7ebf7442002-11-02 23:17:16 +0000463
Wolfgang Denke5d99e22006-10-25 00:43:17 +0200464.PHONY : CHANGELOG
465CHANGELOG:
Ben Warrendc43c9c2006-10-26 14:38:25 -0400466 git log --no-merges U-Boot-1_1_5.. | \
467 unexpand -a | sed -e 's/\s\s*$$//' > $@
Wolfgang Denke5d99e22006-10-25 00:43:17 +0200468
Harald Welte5708dbf2008-07-09 22:30:30 +0800469include/license.h: tools/bin2header COPYING
Wolfgang Denk625bd332010-05-27 23:18:33 +0200470 cat COPYING | gzip -9 -c | ./tools/bin2header license_gzip > include/license.h
wdenk7ebf7442002-11-02 23:17:16 +0000471#########################################################################
472
473unconfig:
Stefan Roese42fbddd2006-09-07 11:51:23 +0200474 @rm -f $(obj)include/config.h $(obj)include/config.mk \
Grant Likely0f910192007-09-24 09:05:31 -0600475 $(obj)board/*/config.tmp $(obj)board/*/*/config.tmp \
476 $(obj)include/autoconf.mk $(obj)include/autoconf.mk.dep
wdenk7ebf7442002-11-02 23:17:16 +0000477
Mike Frysingera12e9412009-10-01 12:11:54 -0400478%: %_config
479 $(MAKE)
480
wdenk7ebf7442002-11-02 23:17:16 +0000481#========================================================================
482# PowerPC
483#========================================================================
wdenk359733b2003-03-31 17:27:09 +0000484
485#########################################################################
486## MPC5xx Systems
487#########################################################################
488
489cmi_mpc5xx_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +0200490 @$(MKCONFIG) $@ powerpc mpc5xx cmi
wdenk359733b2003-03-31 17:27:09 +0000491
wdenk634d2f72004-04-15 23:14:49 +0000492PATI_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +0200493 @$(MKCONFIG) $@ powerpc mpc5xx pati mpl
wdenkbc01dd52004-01-02 16:05:07 +0000494
wdenk7ebf7442002-11-02 23:17:16 +0000495#########################################################################
wdenk21136db2003-07-16 21:53:01 +0000496## MPC5xxx Systems
497#########################################################################
wdenk8d414a72005-06-10 10:00:19 +0000498
Wolfgang Denk3863d6b2005-08-12 00:22:49 +0200499aev_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +0200500 @$(MKCONFIG) $@ powerpc mpc5xxx tqm5200 tqc
Wolfgang Denk3863d6b2005-08-12 00:22:49 +0200501
dzu@denx.dec59e4ac2006-04-21 18:30:47 +0200502BC3450_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +0200503 @$(MKCONFIG) $@ powerpc mpc5xxx bc3450
504
505canmb_config: unconfig
506 @$(MKCONFIG) $@ powerpc mpc5xxx canmb
dzu@denx.dec59e4ac2006-04-21 18:30:47 +0200507
Wolfgang Denk28d8d702008-07-15 22:22:44 +0200508cm5200_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +0200509 @$(MKCONFIG) $@ powerpc mpc5xxx cm5200
Wolfgang Denk28d8d702008-07-15 22:22:44 +0200510
Stefan Roese99200d22005-08-22 17:51:53 +0200511cpci5200_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +0200512 @$(MKCONFIG) $@ powerpc mpc5xxx cpci5200 esd
Stefan Roese99200d22005-08-22 17:51:53 +0200513
Grzegorz Bernackiafc9d6d2009-03-17 10:06:40 +0100514digsy_mtc_config \
515digsy_mtc_LOWBOOT_config \
516digsy_mtc_RAMBOOT_config: unconfig
517 @mkdir -p $(obj)include
518 @mkdir -p $(obj)board/digsy_mtc
519 @ >$(obj)include/config.h
520 @[ -z "$(findstring LOWBOOT_,$@)" ] || \
Wolfgang Denk625bd332010-05-27 23:18:33 +0200521 echo "TEXT_BASE = 0xFF000000" >$(obj)board/digsy_mtc/config.tmp
Grzegorz Bernackiafc9d6d2009-03-17 10:06:40 +0100522 @[ -z "$(findstring RAMBOOT_,$@)" ] || \
Wolfgang Denk625bd332010-05-27 23:18:33 +0200523 echo "TEXT_BASE = 0x00100000" >$(obj)board/digsy_mtc/config.tmp
Wolfgang Denka97b6ab2010-05-27 23:18:34 +0200524 @$(MKCONFIG) -n $@ -a digsy_mtc powerpc mpc5xxx digsy_mtc
Grzegorz Bernackiafc9d6d2009-03-17 10:06:40 +0100525
Eric Millbrandt9fc91f02009-08-13 10:14:21 -0500526galaxy5200_LOWBOOT_config \
527galaxy5200_config: unconfig
528 @mkdir -p $(obj)include
529 @echo "#define CONFIG_$(@:_config=) 1" >$(obj)include/config.h
Wolfgang Denk625bd332010-05-27 23:18:33 +0200530 @$(MKCONFIG) -n $@ -a galaxy5200 powerpc mpc5xxx galaxy5200
Eric Millbrandt9fc91f02009-08-13 10:14:21 -0500531
Wolfgang Denkba930932007-10-21 01:01:17 +0200532hmi1001_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +0200533 @$(MKCONFIG) $@ powerpc mpc5xxx hmi1001
wdenk8d414a72005-06-10 10:00:19 +0000534
wdenke44b9112004-04-18 23:32:11 +0000535Lite5200_config \
536Lite5200_LOWBOOT_config \
537Lite5200_LOWBOOT08_config \
538icecube_5200_config \
539icecube_5200_LOWBOOT_config \
540icecube_5200_LOWBOOT08_config \
Wolfgang Denk87b3d4b2006-11-30 18:02:20 +0100541icecube_5200_DDR_config \
542icecube_5200_DDR_LOWBOOT_config \
Detlev Zundela414c7a2010-03-12 10:01:12 +0100543icecube_5200_DDR_LOWBOOT08_config: unconfig
Marian Balakowiczd62379d2006-09-01 19:49:50 +0200544 @mkdir -p $(obj)include
545 @mkdir -p $(obj)board/icecube
wdenk9c07bf62004-04-10 20:43:50 +0000546 @[ -z "$(findstring LOWBOOT_,$@)" ] || \
Wolfgang Denk625bd332010-05-27 23:18:33 +0200547 if [ "$(findstring DDR,$@)" ] ; \
Marian Balakowiczd62379d2006-09-01 19:49:50 +0200548 then echo "TEXT_BASE = 0xFF800000" >$(obj)board/icecube/config.tmp ; \
549 else echo "TEXT_BASE = 0xFF000000" >$(obj)board/icecube/config.tmp ; \
Wolfgang Denk625bd332010-05-27 23:18:33 +0200550 fi
wdenk4b16c2e2003-11-07 13:42:26 +0000551 @[ -z "$(findstring LOWBOOT08,$@)" ] || \
Wolfgang Denk625bd332010-05-27 23:18:33 +0200552 echo "TEXT_BASE = 0xFF800000" >$(obj)board/icecube/config.tmp
wdenk236d3fc2003-12-20 22:45:10 +0000553 @[ -z "$(findstring DDR,$@)" ] || \
Wolfgang Denk625bd332010-05-27 23:18:33 +0200554 echo "#define CONFIG_MPC5200_DDR" >>$(obj)include/config.h
555 @$(MKCONFIG) -n $@ -a IceCube powerpc mpc5xxx icecube
wdenk21136db2003-07-16 21:53:01 +0000556
Wolfgang Denkba930932007-10-21 01:01:17 +0200557jupiter_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +0200558 @$(MKCONFIG) $@ powerpc mpc5xxx jupiter
Heiko Schocherdc5f4e42007-02-16 07:57:42 +0100559
Wolfgang Denk07ad17c2006-02-22 00:43:16 +0100560inka4x0_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +0200561 @$(MKCONFIG) $@ powerpc mpc5xxx inka4x0
wdenk4ca32362004-12-16 15:52:40 +0000562
Wolfgang Grandegger1105e652009-10-23 12:03:16 +0200563ipek01_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +0200564 @$(MKCONFIG) $@ powerpc mpc5xxx ipek01
Wolfgang Grandegger1105e652009-10-23 12:03:16 +0200565
Wolfgang Denk315b46a2006-03-17 11:42:53 +0100566lite5200b_config \
Domen Puncer64b89ae2007-04-16 14:00:13 +0200567lite5200b_PM_config \
Wolfgang Denk315b46a2006-03-17 11:42:53 +0100568lite5200b_LOWBOOT_config: unconfig
Marian Balakowiczd62379d2006-09-01 19:49:50 +0200569 @mkdir -p $(obj)include
570 @mkdir -p $(obj)board/icecube
Marian Balakowiczd62379d2006-09-01 19:49:50 +0200571 @ echo "#define CONFIG_MPC5200_DDR" >>$(obj)include/config.h
Marian Balakowiczd62379d2006-09-01 19:49:50 +0200572 @ echo "#define CONFIG_LITE5200B" >>$(obj)include/config.h
Domen Puncer64b89ae2007-04-16 14:00:13 +0200573 @[ -z "$(findstring _PM_,$@)" ] || \
Wolfgang Denk625bd332010-05-27 23:18:33 +0200574 echo "#define CONFIG_LITE5200B_PM" >>$(obj)include/config.h
Wolfgang Denk315b46a2006-03-17 11:42:53 +0100575 @[ -z "$(findstring LOWBOOT_,$@)" ] || \
Wolfgang Denk625bd332010-05-27 23:18:33 +0200576 echo "TEXT_BASE = 0xFF000000" >$(obj)board/icecube/config.tmp
577 @$(MKCONFIG) -n $@ -a IceCube powerpc mpc5xxx icecube
Wolfgang Denk315b46a2006-03-17 11:42:53 +0100578
Stefan Roese531e94c2006-03-04 14:57:03 +0100579mcc200_config \
Wolfgang Denk472e5c22006-08-24 00:26:42 +0200580mcc200_SDRAM_config \
581mcc200_highboot_config \
582mcc200_COM12_config \
583mcc200_COM12_SDRAM_config \
Wolfgang Denk7aa5b452006-08-25 01:38:04 +0200584mcc200_COM12_highboot_config \
585mcc200_COM12_highboot_SDRAM_config \
Wolfgang Denk472e5c22006-08-24 00:26:42 +0200586mcc200_highboot_SDRAM_config \
587prs200_config \
588prs200_DDR_config \
589prs200_highboot_config \
590prs200_highboot_DDR_config: unconfig
Marian Balakowiczd62379d2006-09-01 19:49:50 +0200591 @mkdir -p $(obj)include
592 @mkdir -p $(obj)board/mcc200
Wolfgang Denk790dd202006-07-23 22:40:51 +0200593 @[ -z "$(findstring highboot,$@)" ] || \
Wolfgang Denk625bd332010-05-27 23:18:33 +0200594 echo "TEXT_BASE = 0xFFF00000" >$(obj)board/mcc200/config.tmp
Wolfgang Denk790dd202006-07-23 22:40:51 +0200595 @[ -n "$(findstring _SDRAM,$@)" ] || \
Wolfgang Denk625bd332010-05-27 23:18:33 +0200596 if [ -n "$(findstring prs200,$@)" ]; \
597 then \
598 if [ -z "$(findstring _DDR,$@)" ];\
Wolfgang Denk472e5c22006-08-24 00:26:42 +0200599 then \
Marian Balakowiczd62379d2006-09-01 19:49:50 +0200600 echo "#define CONFIG_MCC200_SDRAM" >>$(obj)include/config.h ;\
Wolfgang Denk472e5c22006-08-24 00:26:42 +0200601 fi; \
Wolfgang Denk625bd332010-05-27 23:18:33 +0200602 fi
Wolfgang Denk790dd202006-07-23 22:40:51 +0200603 @[ -z "$(findstring _SDRAM,$@)" ] || \
Wolfgang Denk625bd332010-05-27 23:18:33 +0200604 echo "#define CONFIG_MCC200_SDRAM" >>$(obj)include/config.h
Wolfgang Denk6d8fdf62006-08-17 00:36:51 +0200605 @[ -z "$(findstring COM12,$@)" ] || \
Wolfgang Denk625bd332010-05-27 23:18:33 +0200606 echo "#define CONFIG_CONSOLE_COM12" >>$(obj)include/config.h
Wolfgang Denk472e5c22006-08-24 00:26:42 +0200607 @[ -z "$(findstring prs200,$@)" ] || \
Wolfgang Denk625bd332010-05-27 23:18:33 +0200608 echo "#define CONFIG_PRS200" >>$(obj)include/config.h
Stefan Roese88fbf932010-04-15 16:07:28 +0200609 @$(MKCONFIG) -n $@ -a mcc200 powerpc mpc5xxx mcc200
Wolfgang Denk07ad17c2006-02-22 00:43:16 +0100610
Stefan Roese204e8e32007-01-31 16:37:34 +0100611mecp5200_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +0200612 @$(MKCONFIG) $@ powerpc mpc5xxx mecp5200 esd
Stefan Roese204e8e32007-01-31 16:37:34 +0100613
Wolfgang Denk28d8d702008-07-15 22:22:44 +0200614motionpro_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +0200615 @$(MKCONFIG) $@ powerpc mpc5xxx motionpro
Wolfgang Denk28d8d702008-07-15 22:22:44 +0200616
Heiko Schocher4e5781b2008-08-21 20:44:49 +0200617mucmc52_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +0200618 @$(MKCONFIG) $@ powerpc mpc5xxx mucmc52
Heiko Schocher4e5781b2008-08-21 20:44:49 +0200619
Heiko Schocher23cd0b12008-01-11 15:15:14 +0100620munices_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +0200621 @$(MKCONFIG) $@ powerpc mpc5xxx munices
Heiko Schocher23cd0b12008-01-11 15:15:14 +0100622
Wolfgang Denk28d8d702008-07-15 22:22:44 +0200623MVBC_P_config: unconfig
624 @mkdir -p $(obj)include
625 @mkdir -p $(obj)board/mvbc_p
626 @ >$(obj)include/config.h
627 @[ -z "$(findstring MVBC_P,$@)" ] || \
Wolfgang Denk625bd332010-05-27 23:18:33 +0200628 echo "#define CONFIG_MVBC_P" >>$(obj)include/config.h
Wolfgang Denka97b6ab2010-05-27 23:18:34 +0200629 @$(MKCONFIG) -n $@ -a $@ powerpc mpc5xxx mvbc_p matrix_vision
Wolfgang Denk28d8d702008-07-15 22:22:44 +0200630
Andre Schwarz3f4bd652010-04-01 21:26:55 +0200631MVSMR_config: unconfig
632 @mkdir -p $(obj)include
633 @mkdir -p $(obj)board/matrix_vision/mvsmr
Wolfgang Denka97b6ab2010-05-27 23:18:34 +0200634 @$(MKCONFIG) $@ powerpc mpc5xxx mvsmr matrix_vision
Andre Schwarz3f4bd652010-04-01 21:26:55 +0200635
Jean-Christophe PLAGNIOL-VILLARDca0350e2008-03-02 16:12:31 +0100636o2dnt_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +0200637 @$(MKCONFIG) $@ powerpc mpc5xxx o2dnt
Wolfgang Denk672f2e82005-08-18 01:22:22 +0200638
Jon Smirlbc03df92009-06-14 18:21:28 -0400639pcm030_config \
640pcm030_LOWBOOT_config: unconfig
Wolfgang Denk1b55ec82009-07-19 12:05:15 +0200641 @mkdir -p $(obj)include $(obj)board/phytec/pcm030
Wolfgang Denk4e82ddb2009-07-18 18:00:25 +0200642 @ >$(obj)include/config.h
Jon Smirlbc03df92009-06-14 18:21:28 -0400643 @[ -z "$(findstring LOWBOOT_,$@)" ] || \
Wolfgang Denk625bd332010-05-27 23:18:33 +0200644 echo "TEXT_BASE = 0xFF000000" >$(obj)board/phytec/pcm030/config.tmp
645 @$(MKCONFIG) -n $@ -a pcm030 powerpc mpc5xxx pcm030 phytec
Jon Smirlbc03df92009-06-14 18:21:28 -0400646
Wolfgang Denk19b68c42008-03-04 14:58:31 +0100647pf5200_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +0200648 @$(MKCONFIG) $@ powerpc mpc5xxx pf5200 esd
Stefan Roese99200d22005-08-22 17:51:53 +0200649
wdenkda54bc92004-08-04 21:56:49 +0000650PM520_config \
651PM520_DDR_config \
652PM520_ROMBOOT_config \
653PM520_ROMBOOT_DDR_config: unconfig
Marian Balakowiczd62379d2006-09-01 19:49:50 +0200654 @mkdir -p $(obj)include
wdenkda54bc92004-08-04 21:56:49 +0000655 @[ -z "$(findstring DDR,$@)" ] || \
Wolfgang Denk625bd332010-05-27 23:18:33 +0200656 echo "#define CONFIG_MPC5200_DDR" >>$(obj)include/config.h
wdenkda54bc92004-08-04 21:56:49 +0000657 @[ -z "$(findstring ROMBOOT,$@)" ] || \
Wolfgang Denk625bd332010-05-27 23:18:33 +0200658 echo "#define CONFIG_BOOT_ROM" >>$(obj)include/config.h
659 @$(MKCONFIG) -n $@ -a PM520 powerpc mpc5xxx pm520
wdenkda54bc92004-08-04 21:56:49 +0000660
Wolfgang Denkea055ba2006-02-22 10:25:39 +0100661smmaco4_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +0200662 @$(MKCONFIG) $@ powerpc mpc5xxx tqm5200 tqc
Wolfgang Denk2a61ee82006-02-22 01:59:13 +0100663
664spieval_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +0200665 @$(MKCONFIG) $@ powerpc mpc5xxx tqm5200 tqc
Wolfgang Denk2a61ee82006-02-22 01:59:13 +0100666
Wolfgang Denkc98368a2006-07-19 17:52:30 +0200667TB5200_B_config \
Wolfgang Denkba940932006-07-19 13:50:38 +0200668TB5200_config: unconfig
Marian Balakowiczd62379d2006-09-01 19:49:50 +0200669 @mkdir -p $(obj)include
Wolfgang Denkc98368a2006-07-19 17:52:30 +0200670 @[ -z "$(findstring _B,$@)" ] || \
Wolfgang Denk625bd332010-05-27 23:18:33 +0200671 echo "#define CONFIG_TQM5200_B" >>$(obj)include/config.h
Stefan Roese88fbf932010-04-15 16:07:28 +0200672 @$(MKCONFIG) -n $@ -a TB5200 powerpc mpc5xxx tqm5200 tqc
Wolfgang Denkba940932006-07-19 13:50:38 +0200673
wdenk1ebf41e2004-01-02 14:00:00 +0000674MINI5200_config \
675EVAL5200_config \
676TOP5200_config: unconfig
Marian Balakowiczd62379d2006-09-01 19:49:50 +0200677 @mkdir -p $(obj)include
678 @ echo "#define CONFIG_$(@:_config=) 1" >$(obj)include/config.h
Stefan Roese88fbf932010-04-15 16:07:28 +0200679 @$(MKCONFIG) -n $@ -a TOP5200 powerpc mpc5xxx top5200 emk
wdenk1ebf41e2004-01-02 14:00:00 +0000680
wdenkcc3f8a92004-07-11 19:17:20 +0000681Total5200_config \
682Total5200_lowboot_config \
683Total5200_Rev2_config \
684Total5200_Rev2_lowboot_config: unconfig
Marian Balakowiczd62379d2006-09-01 19:49:50 +0200685 @mkdir -p $(obj)include
686 @mkdir -p $(obj)board/total5200
wdenkcc3f8a92004-07-11 19:17:20 +0000687 @[ -n "$(findstring Rev,$@)" ] || \
Wolfgang Denk625bd332010-05-27 23:18:33 +0200688 echo "#define CONFIG_TOTAL5200_REV 1" >>$(obj)include/config.h
wdenkcc3f8a92004-07-11 19:17:20 +0000689 @[ -z "$(findstring Rev2_,$@)" ] || \
Wolfgang Denk625bd332010-05-27 23:18:33 +0200690 echo "#define CONFIG_TOTAL5200_REV 2" >>$(obj)include/config.h
wdenkcc3f8a92004-07-11 19:17:20 +0000691 @[ -z "$(findstring lowboot_,$@)" ] || \
Wolfgang Denk625bd332010-05-27 23:18:33 +0200692 echo "TEXT_BASE = 0xFE000000" >$(obj)board/total5200/config.tmp
693 @$(MKCONFIG) -n $@ -a Total5200 powerpc mpc5xxx total5200
wdenkcc3f8a92004-07-11 19:17:20 +0000694
Wolfgang Denk641e3572006-07-22 01:20:03 +0200695cam5200_config \
Marian Balakowicz4b7e4562007-01-10 00:26:15 +0100696cam5200_niosflash_config \
Wolfgang Denk9018bc92006-08-18 23:27:33 +0200697fo300_config \
Marian Balakowiczbcb0cca2006-08-18 19:14:46 +0200698MiniFAP_config \
Wolfgang Denk99753142006-07-21 11:16:34 +0200699TQM5200S_config \
700TQM5200S_HIGHBOOT_config \
Wolfgang Denk9018bc92006-08-18 23:27:33 +0200701TQM5200_B_config \
702TQM5200_B_HIGHBOOT_config \
703TQM5200_config \
704TQM5200_STK100_config: unconfig
Marian Balakowiczd62379d2006-09-01 19:49:50 +0200705 @mkdir -p $(obj)include
Wolfgang Grandeggeree38f682008-06-04 13:52:17 +0200706 @mkdir -p $(obj)board/tqc/tqm5200
Wolfgang Denk641e3572006-07-22 01:20:03 +0200707 @[ -z "$(findstring cam5200,$@)" ] || \
Wolfgang Denk625bd332010-05-27 23:18:33 +0200708 { echo "#define CONFIG_CAM5200" >>$(obj)include/config.h ; \
709 echo "#define CONFIG_TQM5200S" >>$(obj)include/config.h ; \
710 echo "#define CONFIG_TQM5200_B" >>$(obj)include/config.h ; \
Wolfgang Denk99753142006-07-21 11:16:34 +0200711 }
Marian Balakowicz4b7e4562007-01-10 00:26:15 +0100712 @[ -z "$(findstring niosflash,$@)" ] || \
Wolfgang Denk625bd332010-05-27 23:18:33 +0200713 echo "#define CONFIG_CAM5200_NIOSFLASH" >>$(obj)include/config.h
Marian Balakowiczbcb0cca2006-08-18 19:14:46 +0200714 @[ -z "$(findstring fo300,$@)" ] || \
Wolfgang Denk625bd332010-05-27 23:18:33 +0200715 echo "#define CONFIG_FO300" >>$(obj)include/config.h
Wolfgang Denk3f2f9dd2006-06-16 16:11:34 +0200716 @[ -z "$(findstring MiniFAP,$@)" ] || \
Wolfgang Denk625bd332010-05-27 23:18:33 +0200717 echo "#define CONFIG_MINIFAP" >>$(obj)include/config.h
Wolfgang Denk3f2f9dd2006-06-16 16:11:34 +0200718 @[ -z "$(findstring STK100,$@)" ] || \
Wolfgang Denk625bd332010-05-27 23:18:33 +0200719 echo "#define CONFIG_STK52XX_REV100" >>$(obj)include/config.h
Wolfgang Denk99753142006-07-21 11:16:34 +0200720 @[ -z "$(findstring TQM5200_B,$@)" ] || \
Wolfgang Denk625bd332010-05-27 23:18:33 +0200721 echo "#define CONFIG_TQM5200_B" >>$(obj)include/config.h
Wolfgang Denk99753142006-07-21 11:16:34 +0200722 @[ -z "$(findstring TQM5200S,$@)" ] || \
Wolfgang Denk625bd332010-05-27 23:18:33 +0200723 { echo "#define CONFIG_TQM5200S" >>$(obj)include/config.h ; \
724 echo "#define CONFIG_TQM5200_B" >>$(obj)include/config.h ; \
Wolfgang Denkc98368a2006-07-19 17:52:30 +0200725 }
Wolfgang Denk5591d9e2006-07-19 18:01:38 +0200726 @[ -z "$(findstring HIGHBOOT,$@)" ] || \
Wolfgang Denk625bd332010-05-27 23:18:33 +0200727 echo "TEXT_BASE = 0xFFF00000" >$(obj)board/tqm5200/config.tmp
Stefan Roese88fbf932010-04-15 16:07:28 +0200728 @$(MKCONFIG) -n $@ -a TQM5200 powerpc mpc5xxx tqm5200 tqc
Wolfgang Denk28d8d702008-07-15 22:22:44 +0200729
Wolfgang Denkba930932007-10-21 01:01:17 +0200730uc101_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +0200731 @$(MKCONFIG) $@ powerpc mpc5xxx uc101
Bartlomiej Siekac619a9f2007-02-09 10:45:42 +0100732
Wolfgang Denk28d8d702008-07-15 22:22:44 +0200733v38b_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +0200734 @$(MKCONFIG) $@ powerpc mpc5xxx v38b
wdenk64519362004-07-11 17:40:54 +0000735
wdenk21136db2003-07-16 21:53:01 +0000736#########################################################################
Rafal Jaworowskid3a02c32007-07-27 14:43:59 +0200737## MPC512x Systems
738#########################################################################
Wolfgang Denk28d8d702008-07-15 22:22:44 +0200739
Wolfgang Denk190ab732009-05-16 10:47:46 +0200740aria_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +0200741 @$(MKCONFIG) $@ powerpc mpc512x aria davedenx
Wolfgang Denk190ab732009-05-16 10:47:46 +0200742
Stefan Roeseabbd0da2009-06-09 11:50:40 +0200743mecp5123_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +0200744 @$(MKCONFIG) $@ powerpc mpc512x mecp5123 esd
Stefan Roeseabbd0da2009-06-09 11:50:40 +0200745
Wolfgang Denkbbcbb322009-05-16 10:47:41 +0200746mpc5121ads_config \
747mpc5121ads_rev2_config \
Martha Marxfd449ab2008-05-29 14:23:25 -0400748 : unconfig
Wolfgang Denkf10a5de2008-03-09 00:06:09 +0100749 @mkdir -p $(obj)include
Martha Marxfd449ab2008-05-29 14:23:25 -0400750 @if [ "$(findstring rev2,$@)" ] ; then \
751 echo "#define CONFIG_ADS5121_REV2 1" > $(obj)include/config.h; \
John Rigbyd1228c92008-02-26 09:38:14 -0700752 fi
Wolfgang Denk625bd332010-05-27 23:18:33 +0200753 @$(MKCONFIG) -n $@ -a mpc5121ads powerpc mpc512x mpc5121ads freescale
wdenk9f664dd2004-06-09 21:50:45 +0000754
Anatolij Gustschin81cad142010-04-24 19:27:09 +0200755pdm360ng_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +0200756 @$(MKCONFIG) $@ powerpc mpc512x pdm360ng
Anatolij Gustschin81cad142010-04-24 19:27:09 +0200757
wdenk7ebf7442002-11-02 23:17:16 +0000758#########################################################################
759## MPC8xx Systems
760#########################################################################
wdenkef5fe752003-03-12 10:41:04 +0000761
wdenk9f664dd2004-06-09 21:50:45 +0000762Adder87x_config \
Wolfgang Denk19b68c42008-03-04 14:58:31 +0100763AdderII_config \
Wolfgang Denk625bd332010-05-27 23:18:33 +0200764AdderUSB_config \
765Adder_config \
wdenk9f664dd2004-06-09 21:50:45 +0000766 : unconfig
Marian Balakowiczd62379d2006-09-01 19:49:50 +0200767 @mkdir -p $(obj)include
wdenkec5dc0d2004-07-09 22:51:01 +0000768 $(if $(findstring AdderII,$@), \
Wolfgang Denk625bd332010-05-27 23:18:33 +0200769 @echo "#define CONFIG_MPC852T" > $(obj)include/config.h)
770 @$(MKCONFIG) -n $@ -a Adder powerpc mpc8xx adder
Wolfgang Denk3f0137b2006-06-14 17:45:53 +0200771
Wolfgang Denk19b68c42008-03-04 14:58:31 +0100772ADS860_config \
773FADS823_config \
wdenkad276f22004-01-04 16:28:35 +0000774FADS850SAR_config \
775MPC86xADS_config \
wdenka7556b22004-06-06 21:35:06 +0000776MPC885ADS_config \
wdenkad276f22004-01-04 16:28:35 +0000777FADS860T_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +0200778 @$(MKCONFIG) -n $@ $@ powerpc mpc8xx fads
wdenk7ebf7442002-11-02 23:17:16 +0000779
780AMX860_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +0200781 @$(MKCONFIG) $@ powerpc mpc8xx amx860 westel
wdenk7ebf7442002-11-02 23:17:16 +0000782
783c2mon_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +0200784 @$(MKCONFIG) $@ powerpc mpc8xx c2mon
wdenk7ebf7442002-11-02 23:17:16 +0000785
786CCM_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +0200787 @$(MKCONFIG) $@ powerpc mpc8xx CCM siemens
wdenk7ebf7442002-11-02 23:17:16 +0000788
789cogent_mpc8xx_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +0200790 @$(MKCONFIG) $@ powerpc mpc8xx cogent
wdenk7ebf7442002-11-02 23:17:16 +0000791
wdenkef5fe752003-03-12 10:41:04 +0000792ELPT860_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +0200793 @$(MKCONFIG) $@ powerpc mpc8xx elpt860 LEOX
wdenkef5fe752003-03-12 10:41:04 +0000794
Wolfgang Denk62f1ef52006-03-12 23:17:31 +0100795EP88x_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +0200796 @$(MKCONFIG) $@ powerpc mpc8xx ep88x
Wolfgang Denk62f1ef52006-03-12 23:17:31 +0100797
wdenk7ebf7442002-11-02 23:17:16 +0000798ESTEEM192E_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +0200799 @$(MKCONFIG) $@ powerpc mpc8xx esteem192e
wdenk7ebf7442002-11-02 23:17:16 +0000800
801ETX094_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +0200802 @$(MKCONFIG) $@ powerpc mpc8xx etx094
wdenk7ebf7442002-11-02 23:17:16 +0000803
wdenk7ebf7442002-11-02 23:17:16 +0000804FLAGADM_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +0200805 @$(MKCONFIG) $@ powerpc mpc8xx flagadm
wdenk541a76d2003-05-03 15:50:43 +0000806
807GEN860T_SC_config \
wdenk7ebf7442002-11-02 23:17:16 +0000808GEN860T_config: unconfig
Marian Balakowiczd62379d2006-09-01 19:49:50 +0200809 @mkdir -p $(obj)include
wdenk541a76d2003-05-03 15:50:43 +0000810 @[ -z "$(findstring _SC,$@)" ] || \
Wolfgang Denk625bd332010-05-27 23:18:33 +0200811 echo "#define CONFIG_SC" >>$(obj)include/config.h
Wolfgang Denka97b6ab2010-05-27 23:18:34 +0200812 @$(MKCONFIG) -n $@ -a GEN860T powerpc mpc8xx gen860t
wdenk7ebf7442002-11-02 23:17:16 +0000813
814GENIETV_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +0200815 @$(MKCONFIG) $@ powerpc mpc8xx genietv
wdenk7ebf7442002-11-02 23:17:16 +0000816
817GTH_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +0200818 @$(MKCONFIG) $@ powerpc mpc8xx gth
wdenk7ebf7442002-11-02 23:17:16 +0000819
820hermes_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +0200821 @$(MKCONFIG) $@ powerpc mpc8xx hermes
wdenk7ebf7442002-11-02 23:17:16 +0000822
wdenkf602aa02004-03-13 23:29:43 +0000823HMI10_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +0200824 @$(MKCONFIG) $@ powerpc mpc8xx tqm8xx tqc
wdenkf602aa02004-03-13 23:29:43 +0000825
wdenk7ebf7442002-11-02 23:17:16 +0000826IAD210_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +0200827 @$(MKCONFIG) $@ powerpc mpc8xx IAD210 siemens
wdenk7ebf7442002-11-02 23:17:16 +0000828
829ICU862_100MHz_config \
830ICU862_config: unconfig
Marian Balakowiczd62379d2006-09-01 19:49:50 +0200831 @mkdir -p $(obj)include
wdenk7ebf7442002-11-02 23:17:16 +0000832 @[ -z "$(findstring _100MHz,$@)" ] || \
Wolfgang Denk625bd332010-05-27 23:18:33 +0200833 echo "#define CONFIG_100MHz" >>$(obj)include/config.h
Wolfgang Denka97b6ab2010-05-27 23:18:34 +0200834 @$(MKCONFIG) -n $@ -a ICU862 powerpc mpc8xx icu862
wdenk7ebf7442002-11-02 23:17:16 +0000835
836IP860_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +0200837 @$(MKCONFIG) $@ powerpc mpc8xx ip860
wdenk7ebf7442002-11-02 23:17:16 +0000838
839IVML24_256_config \
840IVML24_128_config \
841IVML24_config: unconfig
Marian Balakowiczd62379d2006-09-01 19:49:50 +0200842 @mkdir -p $(obj)include
wdenk7ebf7442002-11-02 23:17:16 +0000843 @[ -z "$(findstring IVML24_config,$@)" ] || \
Wolfgang Denk625bd332010-05-27 23:18:33 +0200844 echo "#define CONFIG_IVML24_16M" >>$(obj)include/config.h
wdenk7ebf7442002-11-02 23:17:16 +0000845 @[ -z "$(findstring IVML24_128_config,$@)" ] || \
Wolfgang Denk625bd332010-05-27 23:18:33 +0200846 echo "#define CONFIG_IVML24_32M" >>$(obj)include/config.h
wdenk7ebf7442002-11-02 23:17:16 +0000847 @[ -z "$(findstring IVML24_256_config,$@)" ] || \
Wolfgang Denk625bd332010-05-27 23:18:33 +0200848 echo "#define CONFIG_IVML24_64M" >>$(obj)include/config.h
849 @$(MKCONFIG) -n $@ -a IVML24 powerpc mpc8xx ivm
wdenk7ebf7442002-11-02 23:17:16 +0000850
851IVMS8_256_config \
852IVMS8_128_config \
853IVMS8_config: unconfig
Marian Balakowiczd62379d2006-09-01 19:49:50 +0200854 @mkdir -p $(obj)include
wdenk7ebf7442002-11-02 23:17:16 +0000855 @[ -z "$(findstring IVMS8_config,$@)" ] || \
Wolfgang Denk625bd332010-05-27 23:18:33 +0200856 echo "#define CONFIG_IVMS8_16M" >>$(obj)include/config.h
wdenk7ebf7442002-11-02 23:17:16 +0000857 @[ -z "$(findstring IVMS8_128_config,$@)" ] || \
Wolfgang Denk625bd332010-05-27 23:18:33 +0200858 echo "#define CONFIG_IVMS8_32M" >>$(obj)include/config.h
wdenk7ebf7442002-11-02 23:17:16 +0000859 @[ -z "$(findstring IVMS8_256_config,$@)" ] || \
Wolfgang Denk625bd332010-05-27 23:18:33 +0200860 echo "#define CONFIG_IVMS8_64M" >>$(obj)include/config.h
861 @$(MKCONFIG) -n $@ -a IVMS8 powerpc mpc8xx ivm
wdenk7ebf7442002-11-02 23:17:16 +0000862
Heiko Schocher643e7c02009-03-12 07:37:34 +0100863kmsupx4_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +0200864 @$(MKCONFIG) $@ powerpc mpc8xx km8xx keymile
Heiko Schocher643e7c02009-03-12 07:37:34 +0100865
wdenk56f94be2002-11-05 16:35:14 +0000866KUP4K_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +0200867 @$(MKCONFIG) $@ powerpc mpc8xx kup4k kup
wdenk65faef92004-03-25 19:29:38 +0000868
Wolfgang Denk19b68c42008-03-04 14:58:31 +0100869KUP4X_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +0200870 @$(MKCONFIG) $@ powerpc mpc8xx kup4x kup
wdenk56f94be2002-11-05 16:35:14 +0000871
wdenk7ebf7442002-11-02 23:17:16 +0000872LANTEC_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +0200873 @$(MKCONFIG) $@ powerpc mpc8xx lantec
wdenk7ebf7442002-11-02 23:17:16 +0000874
875lwmon_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +0200876 @$(MKCONFIG) $@ powerpc mpc8xx lwmon
wdenk7ebf7442002-11-02 23:17:16 +0000877
878MBX_config \
879MBX860T_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +0200880 @$(MKCONFIG) -n $@ $@ powerpc mpc8xx mbx8xx
wdenk7ebf7442002-11-02 23:17:16 +0000881
Heiko Schocher30c0feb2008-01-11 01:12:06 +0100882mgsuvd_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +0200883 @$(MKCONFIG) $@ powerpc mpc8xx km8xx keymile
Heiko Schocher30c0feb2008-01-11 01:12:06 +0100884
wdenk7ebf7442002-11-02 23:17:16 +0000885MHPC_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +0200886 @$(MKCONFIG) $@ powerpc mpc8xx mhpc eltec
wdenk70764a32003-06-26 22:04:09 +0000887
888NETVIA_V2_config \
wdenk7ebf7442002-11-02 23:17:16 +0000889NETVIA_config: unconfig
Marian Balakowiczd62379d2006-09-01 19:49:50 +0200890 @mkdir -p $(obj)include
wdenk70764a32003-06-26 22:04:09 +0000891 @[ -z "$(findstring NETVIA_config,$@)" ] || \
Wolfgang Denk625bd332010-05-27 23:18:33 +0200892 echo "#define CONFIG_NETVIA_VERSION 1" >>$(obj)include/config.h
wdenk70764a32003-06-26 22:04:09 +0000893 @[ -z "$(findstring NETVIA_V2_config,$@)" ] || \
Wolfgang Denk625bd332010-05-27 23:18:33 +0200894 echo "#define CONFIG_NETVIA_VERSION 2" >>$(obj)include/config.h
Wolfgang Denka97b6ab2010-05-27 23:18:34 +0200895 @$(MKCONFIG) -n $@ -a NETVIA powerpc mpc8xx netvia
wdenk6203e402004-04-18 10:13:26 +0000896
897NETPHONE_V2_config \
wdenk3902d702004-04-15 18:22:41 +0000898NETPHONE_config: unconfig
Marian Balakowiczd62379d2006-09-01 19:49:50 +0200899 @mkdir -p $(obj)include
wdenk6203e402004-04-18 10:13:26 +0000900 @[ -z "$(findstring NETPHONE_config,$@)" ] || \
Wolfgang Denk625bd332010-05-27 23:18:33 +0200901 echo "#define CONFIG_NETPHONE_VERSION 1" >>$(obj)include/config.h
wdenk6203e402004-04-18 10:13:26 +0000902 @[ -z "$(findstring NETPHONE_V2_config,$@)" ] || \
Wolfgang Denk625bd332010-05-27 23:18:33 +0200903 echo "#define CONFIG_NETPHONE_VERSION 2" >>$(obj)include/config.h
Wolfgang Denka97b6ab2010-05-27 23:18:34 +0200904 @$(MKCONFIG) -n $@ -a NETPHONE powerpc mpc8xx netphone
wdenk3902d702004-04-15 18:22:41 +0000905
wdenkc4e854f2004-06-07 23:46:25 +0000906NETTA_ISDN_6412_SWAPHOOK_config \
907NETTA_ISDN_SWAPHOOK_config \
908NETTA_6412_SWAPHOOK_config \
909NETTA_SWAPHOOK_config \
910NETTA_ISDN_6412_config \
wdenk3902d702004-04-15 18:22:41 +0000911NETTA_ISDN_config \
wdenkc4e854f2004-06-07 23:46:25 +0000912NETTA_6412_config \
wdenk3902d702004-04-15 18:22:41 +0000913NETTA_config: unconfig
Marian Balakowiczd62379d2006-09-01 19:49:50 +0200914 @mkdir -p $(obj)include
wdenkc4e854f2004-06-07 23:46:25 +0000915 @[ -z "$(findstring ISDN_,$@)" ] || \
Wolfgang Denk625bd332010-05-27 23:18:33 +0200916 echo "#define CONFIG_NETTA_ISDN 1" >>$(obj)include/config.h
wdenkc4e854f2004-06-07 23:46:25 +0000917 @[ -n "$(findstring ISDN_,$@)" ] || \
Wolfgang Denk625bd332010-05-27 23:18:33 +0200918 echo "#undef CONFIG_NETTA_ISDN" >>$(obj)include/config.h
wdenkc4e854f2004-06-07 23:46:25 +0000919 @[ -z "$(findstring 6412_,$@)" ] || \
Wolfgang Denk625bd332010-05-27 23:18:33 +0200920 echo "#define CONFIG_NETTA_6412 1" >>$(obj)include/config.h
wdenkc4e854f2004-06-07 23:46:25 +0000921 @[ -n "$(findstring 6412_,$@)" ] || \
Wolfgang Denk625bd332010-05-27 23:18:33 +0200922 echo "#undef CONFIG_NETTA_6412" >>$(obj)include/config.h
wdenkc4e854f2004-06-07 23:46:25 +0000923 @[ -z "$(findstring SWAPHOOK_,$@)" ] || \
Wolfgang Denk625bd332010-05-27 23:18:33 +0200924 echo "#define CONFIG_NETTA_SWAPHOOK 1" >>$(obj)include/config.h
wdenkc4e854f2004-06-07 23:46:25 +0000925 @[ -n "$(findstring SWAPHOOK_,$@)" ] || \
Wolfgang Denk625bd332010-05-27 23:18:33 +0200926 echo "#undef CONFIG_NETTA_SWAPHOOK" >>$(obj)include/config.h
Wolfgang Denka97b6ab2010-05-27 23:18:34 +0200927 @$(MKCONFIG) -n $@ -a NETTA powerpc mpc8xx netta
wdenkc4e854f2004-06-07 23:46:25 +0000928
929NETTA2_V2_config \
930NETTA2_config: unconfig
Marian Balakowiczd62379d2006-09-01 19:49:50 +0200931 @mkdir -p $(obj)include
wdenkc4e854f2004-06-07 23:46:25 +0000932 @[ -z "$(findstring NETTA2_config,$@)" ] || \
Wolfgang Denk625bd332010-05-27 23:18:33 +0200933 echo "#define CONFIG_NETTA2_VERSION 1" >>$(obj)include/config.h
wdenkc4e854f2004-06-07 23:46:25 +0000934 @[ -z "$(findstring NETTA2_V2_config,$@)" ] || \
Wolfgang Denk625bd332010-05-27 23:18:33 +0200935 echo "#define CONFIG_NETTA2_VERSION 2" >>$(obj)include/config.h
Wolfgang Denka97b6ab2010-05-27 23:18:34 +0200936 @$(MKCONFIG) -n $@ -a NETTA2 powerpc mpc8xx netta2
wdenkc4e854f2004-06-07 23:46:25 +0000937
dzu@denx.de8f6fedd2006-04-19 11:52:46 +0200938NC650_Rev1_config \
939NC650_Rev2_config \
940CP850_config: unconfig
Marian Balakowiczd62379d2006-09-01 19:49:50 +0200941 @mkdir -p $(obj)include
dzu@denx.de8f6fedd2006-04-19 11:52:46 +0200942 @[ -z "$(findstring CP850,$@)" ] || \
Wolfgang Denk625bd332010-05-27 23:18:33 +0200943 { echo "#define CONFIG_CP850 1" >>$(obj)include/config.h ; \
944 echo "#define CONFIG_IDS852_REV2 1" >>$(obj)include/config.h ; \
945 }
dzu@denx.de8f6fedd2006-04-19 11:52:46 +0200946 @[ -z "$(findstring Rev1,$@)" ] || \
Wolfgang Denk625bd332010-05-27 23:18:33 +0200947 { echo "#define CONFIG_IDS852_REV1 1" >>$(obj)include/config.h ; \
948 }
dzu@denx.de8f6fedd2006-04-19 11:52:46 +0200949 @[ -z "$(findstring Rev2,$@)" ] || \
Wolfgang Denk625bd332010-05-27 23:18:33 +0200950 { echo "#define CONFIG_IDS852_REV2 1" >>$(obj)include/config.h ; \
951 }
952 @$(MKCONFIG) -n $@ -a NC650 powerpc mpc8xx nc650
wdenk0bbcbd22004-08-28 22:45:57 +0000953
wdenk7ebf7442002-11-02 23:17:16 +0000954NX823_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +0200955 @$(MKCONFIG) $@ powerpc mpc8xx nx823
wdenk7ebf7442002-11-02 23:17:16 +0000956
957pcu_e_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +0200958 @$(MKCONFIG) $@ powerpc mpc8xx pcu_e siemens
wdenk7ebf7442002-11-02 23:17:16 +0000959
wdenk174e0e52003-12-07 22:27:15 +0000960QS850_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +0200961 @$(MKCONFIG) $@ powerpc mpc8xx qs850 snmc
wdenk174e0e52003-12-07 22:27:15 +0000962
963QS823_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +0200964 @$(MKCONFIG) $@ powerpc mpc8xx qs850 snmc
wdenk174e0e52003-12-07 22:27:15 +0000965
966QS860T_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +0200967 @$(MKCONFIG) $@ powerpc mpc8xx qs860t snmc
wdenk174e0e52003-12-07 22:27:15 +0000968
wdenk7d1eb822004-09-29 11:02:56 +0000969quantum_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +0200970 @$(MKCONFIG) $@ powerpc mpc8xx quantum
wdenk7d1eb822004-09-29 11:02:56 +0000971
wdenk7ebf7442002-11-02 23:17:16 +0000972R360MPI_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +0200973 @$(MKCONFIG) $@ powerpc mpc8xx r360mpi
wdenk7ebf7442002-11-02 23:17:16 +0000974
wdenk4e112c12003-06-03 23:54:09 +0000975RBC823_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +0200976 @$(MKCONFIG) $@ powerpc mpc8xx rbc823
wdenk4e112c12003-06-03 23:54:09 +0000977
wdenk7ebf7442002-11-02 23:17:16 +0000978RPXClassic_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +0200979 @$(MKCONFIG) $@ powerpc mpc8xx RPXClassic
wdenk7ebf7442002-11-02 23:17:16 +0000980
981RPXlite_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +0200982 @$(MKCONFIG) $@ powerpc mpc8xx RPXlite
wdenk7ebf7442002-11-02 23:17:16 +0000983
Wolfgang Denk87b3d4b2006-11-30 18:02:20 +0100984RPXlite_DW_64_config \
985RPXlite_DW_LCD_config \
986RPXlite_DW_64_LCD_config \
wdenkec432742004-06-09 21:04:48 +0000987RPXlite_DW_NVRAM_config \
Wolfgang Denk19b68c42008-03-04 14:58:31 +0100988RPXlite_DW_NVRAM_64_config \
wdenkec432742004-06-09 21:04:48 +0000989RPXlite_DW_NVRAM_LCD_config \
Wolfgang Denk19b68c42008-03-04 14:58:31 +0100990RPXlite_DW_NVRAM_64_LCD_config \
Wolfgang Denkba930932007-10-21 01:01:17 +0200991RPXlite_DW_config: unconfig
Marian Balakowiczd62379d2006-09-01 19:49:50 +0200992 @mkdir -p $(obj)include
wdenkec432742004-06-09 21:04:48 +0000993 @[ -z "$(findstring _64,$@)" ] || \
Wolfgang Denk625bd332010-05-27 23:18:33 +0200994 echo "#define RPXlite_64MHz" >>$(obj)include/config.h
wdenkec432742004-06-09 21:04:48 +0000995 @[ -z "$(findstring _LCD,$@)" ] || \
Wolfgang Denk87b3d4b2006-11-30 18:02:20 +0100996 { echo "#define CONFIG_LCD" >>$(obj)include/config.h ; \
Marian Balakowiczd62379d2006-09-01 19:49:50 +0200997 echo "#define CONFIG_NEC_NL6448BC20" >>$(obj)include/config.h ; \
wdenkec432742004-06-09 21:04:48 +0000998 }
999 @[ -z "$(findstring _NVRAM,$@)" ] || \
Wolfgang Denk625bd332010-05-27 23:18:33 +02001000 echo "#define CONFIG_ENV_IS_IN_NVRAM" >>$(obj)include/config.h
1001 @$(MKCONFIG) -n $@ -a RPXlite_DW powerpc mpc8xx RPXlite_dw
wdenkec432742004-06-09 21:04:48 +00001002
wdenke6466f62003-06-05 19:27:42 +00001003rmu_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001004 @$(MKCONFIG) $@ powerpc mpc8xx rmu
wdenke6466f62003-06-05 19:27:42 +00001005
wdenk7ebf7442002-11-02 23:17:16 +00001006RRvision_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001007 @$(MKCONFIG) $@ powerpc mpc8xx RRvision
wdenk7ebf7442002-11-02 23:17:16 +00001008
1009RRvision_LCD_config: unconfig
Marian Balakowiczd62379d2006-09-01 19:49:50 +02001010 @mkdir -p $(obj)include
1011 @echo "#define CONFIG_LCD" >$(obj)include/config.h
1012 @echo "#define CONFIG_SHARP_LQ104V7DS01" >>$(obj)include/config.h
Stefan Roese88fbf932010-04-15 16:07:28 +02001013 @$(MKCONFIG) -a RRvision powerpc mpc8xx RRvision
wdenk7ebf7442002-11-02 23:17:16 +00001014
1015SM850_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001016 @$(MKCONFIG) $@ powerpc mpc8xx tqm8xx tqc
wdenk7ebf7442002-11-02 23:17:16 +00001017
Jean-Christophe PLAGNIOL-VILLARDca0350e2008-03-02 16:12:31 +01001018spc1920_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001019 @$(MKCONFIG) $@ powerpc mpc8xx spc1920
Markus Klotzbuecher8f824852006-07-12 08:48:24 +02001020
wdenk7ebf7442002-11-02 23:17:16 +00001021SPD823TS_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001022 @$(MKCONFIG) $@ powerpc mpc8xx spd8xx
wdenk7ebf7442002-11-02 23:17:16 +00001023
Wolfgang Denk72fdb6c2005-08-15 15:55:00 +02001024stxxtc_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001025 @$(MKCONFIG) $@ powerpc mpc8xx stxxtc stx
Wolfgang Denk72fdb6c2005-08-15 15:55:00 +02001026
wdenkc8434db2003-03-26 06:55:25 +00001027svm_sc8xx_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001028 @$(MKCONFIG) $@ powerpc mpc8xx svm_sc8xx
wdenkc8434db2003-03-26 06:55:25 +00001029
wdenk7ebf7442002-11-02 23:17:16 +00001030SXNI855T_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001031 @$(MKCONFIG) $@ powerpc mpc8xx sixnet
wdenk7ebf7442002-11-02 23:17:16 +00001032
wdenkb666c8f2003-03-06 00:58:30 +00001033# EMK MPC8xx based modules
1034TOP860_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001035 @$(MKCONFIG) $@ powerpc mpc8xx top860 emk
wdenkb666c8f2003-03-06 00:58:30 +00001036
wdenk7ebf7442002-11-02 23:17:16 +00001037# Play some tricks for configuration selection
wdenkc78bf132004-04-24 23:23:30 +00001038# Only 855 and 860 boards may come with FEC
1039# and only 823 boards may have LCD support
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001040xtract_8xx = $(subst _LCD,,$1)
wdenk7ebf7442002-11-02 23:17:16 +00001041
1042FPS850L_config \
wdenk384ae022002-11-05 00:17:55 +00001043FPS860L_config \
wdenk69141282003-07-07 20:07:54 +00001044NSCU_config \
wdenk7ebf7442002-11-02 23:17:16 +00001045TQM823L_config \
wdenk7ebf7442002-11-02 23:17:16 +00001046TQM823L_LCD_config \
wdenk7ebf7442002-11-02 23:17:16 +00001047TQM850L_config \
wdenk7ebf7442002-11-02 23:17:16 +00001048TQM855L_config \
wdenk7ebf7442002-11-02 23:17:16 +00001049TQM860L_config \
wdenk6bd14892003-04-10 11:18:18 +00001050TQM862L_config \
wdenkfb229ae2003-08-07 22:18:11 +00001051TQM823M_config \
wdenkfb229ae2003-08-07 22:18:11 +00001052TQM850M_config \
wdenk69141282003-07-07 20:07:54 +00001053TQM855M_config \
wdenk69141282003-07-07 20:07:54 +00001054TQM860M_config \
wdenk69141282003-07-07 20:07:54 +00001055TQM862M_config \
Wolfgang Denk67ffef32006-05-12 16:15:46 +02001056TQM866M_config \
Markus Klotzbuecher13af9f02006-07-12 15:26:01 +02001057TQM885D_config \
Guennadi Liakhovetski7a90bb92008-01-10 17:59:07 +01001058TK885D_config \
Wolfgang Denk67ffef32006-05-12 16:15:46 +02001059virtlab2_config: unconfig
Marian Balakowiczd62379d2006-09-01 19:49:50 +02001060 @mkdir -p $(obj)include
wdenk7ebf7442002-11-02 23:17:16 +00001061 @[ -z "$(findstring _LCD,$@)" ] || \
Marian Balakowiczd62379d2006-09-01 19:49:50 +02001062 { echo "#define CONFIG_LCD" >>$(obj)include/config.h ; \
1063 echo "#define CONFIG_NEC_NL6448BC20" >>$(obj)include/config.h ; \
wdenk7ebf7442002-11-02 23:17:16 +00001064 }
Wolfgang Denk625bd332010-05-27 23:18:33 +02001065 @$(MKCONFIG) -n $@ -a $(call xtract_8xx,$@) powerpc mpc8xx tqm8xx tqc
wdenk7ebf7442002-11-02 23:17:16 +00001066
1067TTTech_config: unconfig
Marian Balakowiczd62379d2006-09-01 19:49:50 +02001068 @mkdir -p $(obj)include
1069 @echo "#define CONFIG_LCD" >$(obj)include/config.h
1070 @echo "#define CONFIG_SHARP_LQ104V7DS01" >>$(obj)include/config.h
Stefan Roese88fbf932010-04-15 16:07:28 +02001071 @$(MKCONFIG) -a TQM823L powerpc mpc8xx tqm8xx tqc
wdenk7ebf7442002-11-02 23:17:16 +00001072
wdenk11392db2004-12-19 09:58:11 +00001073uc100_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001074 @$(MKCONFIG) $@ powerpc mpc8xx uc100
wdenk51242782004-12-18 22:35:43 +00001075
wdenk2dad91b2003-01-13 23:54:46 +00001076v37_config: unconfig
Marian Balakowiczd62379d2006-09-01 19:49:50 +02001077 @mkdir -p $(obj)include
1078 @echo "#define CONFIG_LCD" >$(obj)include/config.h
1079 @echo "#define CONFIG_SHARP_LQ084V1DG21" >>$(obj)include/config.h
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001080 @$(MKCONFIG) $@ powerpc mpc8xx v37
wdenk2dad91b2003-01-13 23:54:46 +00001081
dzu69438f62003-09-25 22:32:40 +00001082wtk_config: unconfig
Marian Balakowiczd62379d2006-09-01 19:49:50 +02001083 @mkdir -p $(obj)include
1084 @echo "#define CONFIG_LCD" >$(obj)include/config.h
1085 @echo "#define CONFIG_SHARP_LQ065T9DR51U" >>$(obj)include/config.h
Stefan Roese88fbf932010-04-15 16:07:28 +02001086 @$(MKCONFIG) -a TQM823L powerpc mpc8xx tqm8xx tqc
dzu69438f62003-09-25 22:32:40 +00001087
wdenk7ebf7442002-11-02 23:17:16 +00001088#########################################################################
1089## PPC4xx Systems
1090#########################################################################
1091
Stefan Roesefdf21b12007-03-21 13:39:57 +01001092acadia_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001093 @$(MKCONFIG) $@ powerpc ppc4xx acadia amcc
Stefan Roesefdf21b12007-03-21 13:39:57 +01001094
Stefan Roese23d8d342007-06-06 11:42:13 +02001095acadia_nand_config: unconfig
Wolfgang Denk6b99a462007-08-02 10:11:18 +02001096 @mkdir -p $(obj)include $(obj)board/amcc/acadia
1097 @mkdir -p $(obj)nand_spl/board/amcc/acadia
Stefan Roese23d8d342007-06-06 11:42:13 +02001098 @echo "#define CONFIG_NAND_U_BOOT" > $(obj)include/config.h
Stefan Roese23d8d342007-06-06 11:42:13 +02001099 @echo "TEXT_BASE = 0x01000000" > $(obj)board/amcc/acadia/config.tmp
1100 @echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001101 @$(MKCONFIG) -n $@ -a acadia powerpc ppc4xx acadia amcc
Stefan Roese23d8d342007-06-06 11:42:13 +02001102
wdenk7ebf7442002-11-02 23:17:16 +00001103ADCIOP_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001104 @$(MKCONFIG) $@ powerpc ppc4xx adciop esd
wdenk7ebf7442002-11-02 23:17:16 +00001105
Stefan Roese49639682006-08-15 14:22:35 +02001106alpr_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001107 @$(MKCONFIG) $@ powerpc ppc4xx alpr prodrive
Stefan Roese49639682006-08-15 14:22:35 +02001108
Wolfgang Denk56811f62005-10-09 01:04:33 +02001109AP1000_config:unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001110 @$(MKCONFIG) $@ powerpc ppc4xx ap1000 amirix
Wolfgang Denk56811f62005-10-09 01:04:33 +02001111
stroese05b88912004-12-16 18:44:40 +00001112APC405_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001113 @$(MKCONFIG) $@ powerpc ppc4xx apc405 esd
stroese05b88912004-12-16 18:44:40 +00001114
wdenk7ebf7442002-11-02 23:17:16 +00001115AR405_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001116 @$(MKCONFIG) $@ powerpc ppc4xx ar405 esd
wdenk7ebf7442002-11-02 23:17:16 +00001117
stroesebfcc82b2003-05-23 11:41:44 +00001118ASH405_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001119 @$(MKCONFIG) $@ powerpc ppc4xx ash405 esd
stroesebfcc82b2003-05-23 11:41:44 +00001120
Stefan Roese3e1f1b32005-08-01 16:49:12 +02001121bamboo_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001122 @$(MKCONFIG) $@ powerpc ppc4xx bamboo amcc
Stefan Roese3e1f1b32005-08-01 16:49:12 +02001123
Stefan Roese42743512007-06-01 15:27:11 +02001124bamboo_nand_config: unconfig
Wolfgang Denk6b99a462007-08-02 10:11:18 +02001125 @mkdir -p $(obj)include $(obj)board/amcc/bamboo
1126 @mkdir -p $(obj)nand_spl/board/amcc/bamboo
Stefan Roese42743512007-06-01 15:27:11 +02001127 @echo "#define CONFIG_NAND_U_BOOT" > $(obj)include/config.h
Stefan Roese42743512007-06-01 15:27:11 +02001128 @echo "TEXT_BASE = 0x01000000" > $(obj)board/amcc/bamboo/config.tmp
1129 @echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001130 @$(MKCONFIG) -n $@ -a bamboo powerpc ppc4xx bamboo amcc
Stefan Roese42743512007-06-01 15:27:11 +02001131
Stefan Roese3e1f1b32005-08-01 16:49:12 +02001132bubinga_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001133 @$(MKCONFIG) $@ powerpc ppc4xx bubinga amcc
stroesebfcc82b2003-05-23 11:41:44 +00001134
wdenk7ebf7442002-11-02 23:17:16 +00001135CANBT_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001136 @$(MKCONFIG) $@ powerpc ppc4xx canbt esd
wdenk7ebf7442002-11-02 23:17:16 +00001137
Adam Graham4900ed22008-10-08 10:12:53 -07001138# Arches, Canyonlands & Glacier use different U-Boot images
1139arches_config \
Stefan Roese52df4192008-03-19 16:20:49 +01001140canyonlands_config \
1141glacier_config: unconfig
1142 @mkdir -p $(obj)include
1143 @echo "#define CONFIG_$$(echo $(subst ,,$(@:_config=)) | \
1144 tr '[:lower:]' '[:upper:]')" >$(obj)include/config.h
Stefan Roese88fbf932010-04-15 16:07:28 +02001145 @$(MKCONFIG) -n $@ -a canyonlands powerpc ppc4xx canyonlands amcc
Stefan Roese075f7a22008-03-11 16:53:00 +01001146
Stefan Roese216f92e2008-04-08 10:33:27 +02001147canyonlands_nand_config \
1148glacier_nand_config: unconfig
Stefan Roese0b86db72008-03-03 17:27:02 +01001149 @mkdir -p $(obj)include $(obj)board/amcc/canyonlands
1150 @mkdir -p $(obj)nand_spl/board/amcc/canyonlands
1151 @echo "#define CONFIG_NAND_U_BOOT" > $(obj)include/config.h
Stefan Roese216f92e2008-04-08 10:33:27 +02001152 @echo "#define CONFIG_$$(echo $(subst ,,$(@:_nand_config=)) | \
1153 tr '[:lower:]' '[:upper:]')" >> $(obj)include/config.h
Stefan Roese0b86db72008-03-03 17:27:02 +01001154 @echo "TEXT_BASE = 0x01000000" > $(obj)board/amcc/canyonlands/config.tmp
1155 @echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk
Wolfgang Denk625bd332010-05-27 23:18:33 +02001156 @$(MKCONFIG) -n $@ -a canyonlands powerpc ppc4xx canyonlands amcc
Stefan Roese0b86db72008-03-03 17:27:02 +01001157
wdenk9e7130b2004-09-09 17:44:35 +00001158CATcenter_config \
1159CATcenter_25_config \
1160CATcenter_33_config: unconfig
Marian Balakowiczd62379d2006-09-01 19:49:50 +02001161 @mkdir -p $(obj)include
Wolfgang Denk625bd332010-05-27 23:18:33 +02001162 @echo "/* CATcenter uses PPChameleon Model ME */" > $(obj)include/config.h
1163 @echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 1" >> $(obj)include/config.h
wdenk9e7130b2004-09-09 17:44:35 +00001164 @[ -z "$(findstring _25,$@)" ] || \
Wolfgang Denk625bd332010-05-27 23:18:33 +02001165 echo "#define CONFIG_PPCHAMELEON_CLK_25" >> $(obj)include/config.h
wdenk9e7130b2004-09-09 17:44:35 +00001166 @[ -z "$(findstring _33,$@)" ] || \
Wolfgang Denk625bd332010-05-27 23:18:33 +02001167 echo "#define CONFIG_PPCHAMELEON_CLK_33" >> $(obj)include/config.h
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001168 @$(MKCONFIG) -n $@ -a CATcenter powerpc ppc4xx PPChameleonEVB dave
wdenkbb33bab2004-05-13 13:23:58 +00001169
Wolfgang Denk28d8d702008-07-15 22:22:44 +02001170CMS700_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001171 @$(MKCONFIG) $@ powerpc ppc4xx cms700 esd
Wolfgang Denk28d8d702008-07-15 22:22:44 +02001172
Stefan Roesea34997d2005-09-22 09:16:57 +02001173CPCI2DP_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001174 @$(MKCONFIG) $@ powerpc ppc4xx cpci2dp esd
Stefan Roesea34997d2005-09-22 09:16:57 +02001175
Matthias Fuchs06e5fda2008-12-10 14:41:25 +01001176CPCI405_config \
Matthias Fuchs5afb76b2008-09-05 15:34:02 +02001177CPCI4052_config \
stroese05b88912004-12-16 18:44:40 +00001178CPCI405DT_config \
stroesebfcc82b2003-05-23 11:41:44 +00001179CPCI405AB_config: unconfig
Matthias Fuchs182c4cf2008-09-09 09:50:24 +02001180 @mkdir -p $(obj)board/esd/cpci405
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001181 @$(MKCONFIG) -n $@ $@ powerpc ppc4xx cpci405 esd
wdenk7ebf7442002-11-02 23:17:16 +00001182
wdenk7ebf7442002-11-02 23:17:16 +00001183CPCIISER4_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001184 @$(MKCONFIG) $@ powerpc ppc4xx cpciiser4 esd
wdenk7ebf7442002-11-02 23:17:16 +00001185
wdenk634d2f72004-04-15 23:14:49 +00001186CRAYL1_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001187 @$(MKCONFIG) $@ powerpc ppc4xx L1 cray
wdenk7ebf7442002-11-02 23:17:16 +00001188
wdenkf70cbb22004-02-23 20:48:38 +00001189csb272_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001190 @$(MKCONFIG) $@ powerpc ppc4xx csb272
wdenkf70cbb22004-02-23 20:48:38 +00001191
wdenk7e920de2004-06-09 12:47:02 +00001192csb472_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001193 @$(MKCONFIG) $@ powerpc ppc4xx csb472
wdenk7e920de2004-06-09 12:47:02 +00001194
wdenk7ebf7442002-11-02 23:17:16 +00001195DASA_SIM_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001196 @$(MKCONFIG) $@ powerpc ppc4xx dasa_sim esd
wdenk7ebf7442002-11-02 23:17:16 +00001197
Dirk Eibach96580242009-07-17 14:16:40 +02001198dlvision_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001199 @$(MKCONFIG) $@ powerpc ppc4xx dlvision gdsys
Dirk Eibach96580242009-07-17 14:16:40 +02001200
stroese3361eb72003-09-12 08:57:15 +00001201DP405_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001202 @$(MKCONFIG) $@ powerpc ppc4xx dp405 esd
stroese3361eb72003-09-12 08:57:15 +00001203
wdenk7ebf7442002-11-02 23:17:16 +00001204DU405_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001205 @$(MKCONFIG) $@ powerpc ppc4xx du405 esd
wdenk7ebf7442002-11-02 23:17:16 +00001206
Matthias Fuchs69df55b2008-01-17 10:53:08 +01001207DU440_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001208 @$(MKCONFIG) $@ powerpc ppc4xx du440 esd
Matthias Fuchs69df55b2008-01-17 10:53:08 +01001209
Stefan Roese3e1f1b32005-08-01 16:49:12 +02001210ebony_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001211 @$(MKCONFIG) $@ powerpc ppc4xx ebony amcc
wdenk7ebf7442002-11-02 23:17:16 +00001212
wdenk634d2f72004-04-15 23:14:49 +00001213ERIC_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001214 @$(MKCONFIG) $@ powerpc ppc4xx eric
wdenk7ebf7442002-11-02 23:17:16 +00001215
Georg Schardt3ce59a12008-10-24 13:51:52 +02001216fx12mm_flash_config: unconfig
1217 @mkdir -p $(obj)include $(obj)board/xilinx/ppc405-generic
1218 @mkdir -p $(obj)include $(obj)board/avnet/fx12mm
1219 @echo "LDSCRIPT:=$(SRCTREE)/board/xilinx/ppc405-generic/u-boot-rom.lds"\
1220 > $(obj)board/avnet/fx12mm/config.tmp
1221 @echo "TEXT_BASE := 0xFFCB0000" \
1222 >> $(obj)board/avnet/fx12mm/config.tmp
Stefan Roese88fbf932010-04-15 16:07:28 +02001223 @$(MKCONFIG) fx12mm powerpc ppc4xx fx12mm avnet
Georg Schardt3ce59a12008-10-24 13:51:52 +02001224
1225fx12mm_config: unconfig
1226 @mkdir -p $(obj)include $(obj)board/xilinx/ppc405-generic
1227 @mkdir -p $(obj)include $(obj)board/avnet/fx12mm
1228 @echo "LDSCRIPT:=$(SRCTREE)/board/xilinx/ppc405-generic/u-boot-ram.lds"\
1229 > $(obj)board/avnet/fx12mm/config.tmp
1230 @echo "TEXT_BASE := 0x03000000" \
1231 >> $(obj)board/avnet/fx12mm/config.tmp
Stefan Roese88fbf932010-04-15 16:07:28 +02001232 @$(MKCONFIG) fx12mm powerpc ppc4xx fx12mm avnet
Georg Schardt3ce59a12008-10-24 13:51:52 +02001233
stroese05b88912004-12-16 18:44:40 +00001234G2000_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001235 @$(MKCONFIG) $@ powerpc ppc4xx g2000
stroese05b88912004-12-16 18:44:40 +00001236
Dirk Eibach43fed3c2008-12-09 13:12:40 +01001237gdppc440etx_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001238 @$(MKCONFIG) $@ powerpc ppc4xx gdppc440etx gdsys
Dirk Eibach43fed3c2008-12-09 13:12:40 +01001239
Niklaus Giger13f9f1e2007-07-27 11:28:44 +02001240hcu4_config: unconfig
Niklaus Giger36595652008-02-05 10:26:42 +01001241 @mkdir -p $(obj)board/netstal/common
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001242 @$(MKCONFIG) $@ powerpc ppc4xx hcu4 netstal
Niklaus Giger13f9f1e2007-07-27 11:28:44 +02001243
1244hcu5_config: unconfig
Niklaus Giger36595652008-02-05 10:26:42 +01001245 @mkdir -p $(obj)board/netstal/common
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001246 @$(MKCONFIG) $@ powerpc ppc4xx hcu5 netstal
Niklaus Giger13f9f1e2007-07-27 11:28:44 +02001247
stroese05b88912004-12-16 18:44:40 +00001248HH405_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001249 @$(MKCONFIG) $@ powerpc ppc4xx hh405 esd
stroese05b88912004-12-16 18:44:40 +00001250
stroese3361eb72003-09-12 08:57:15 +00001251HUB405_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001252 @$(MKCONFIG) $@ powerpc ppc4xx hub405 esd
stroese3361eb72003-09-12 08:57:15 +00001253
Stefan Roese2a1a8cb2010-04-27 11:37:28 +02001254icon_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001255 @$(MKCONFIG) $@ powerpc ppc4xx icon mosaixtech
Stefan Roese2a1a8cb2010-04-27 11:37:28 +02001256
Dirk Eibach62dbcba2009-09-09 12:36:07 +02001257# Compact-Center(codename intip) & DevCon-Center use different U-Boot images
1258intip_config \
1259devconcenter_config: unconfig
1260 @mkdir -p $(obj)include
1261 @echo "#define CONFIG_$$(echo $(subst ,,$(@:_config=)) | \
1262 tr '[:lower:]' '[:upper:]')" >$(obj)include/config.h
Stefan Roese88fbf932010-04-15 16:07:28 +02001263 @$(MKCONFIG) -n $@ -a intip powerpc ppc4xx intip gdsys
Dirk Eibach62dbcba2009-09-09 12:36:07 +02001264
wdenk634d2f72004-04-15 23:14:49 +00001265JSE_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001266 @$(MKCONFIG) $@ powerpc ppc4xx jse
wdenk634d2f72004-04-15 23:14:49 +00001267
Stefan Roese5ff4c3f2005-08-15 12:31:23 +02001268KAREF_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001269 @$(MKCONFIG) $@ powerpc ppc4xx karef sandburst
Stefan Roese5ff4c3f2005-08-15 12:31:23 +02001270
Stefan Roesea8856e32007-02-20 10:57:08 +01001271katmai_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001272 @$(MKCONFIG) $@ powerpc ppc4xx katmai amcc
Stefan Roesea8856e32007-02-20 10:57:08 +01001273
Stefan Roese15668052007-10-23 10:10:08 +02001274# Kilauea & Haleakala images are identical (recognized via PVR)
1275kilauea_config \
1276haleakala_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001277 @$(MKCONFIG) -n $@ kilauea powerpc ppc4xx kilauea amcc
Stefan Roese7de9fc72007-10-05 17:11:30 +02001278
Stefan Roese720c5852007-11-03 12:08:28 +01001279kilauea_nand_config \
1280haleakala_nand_config: unconfig
1281 @mkdir -p $(obj)include $(obj)board/amcc/kilauea
1282 @mkdir -p $(obj)nand_spl/board/amcc/kilauea
1283 @echo "#define CONFIG_NAND_U_BOOT" > $(obj)include/config.h
Stefan Roese720c5852007-11-03 12:08:28 +01001284 @echo "TEXT_BASE = 0x01000000" > $(obj)board/amcc/kilauea/config.tmp
1285 @echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk
Wolfgang Denk625bd332010-05-27 23:18:33 +02001286 @$(MKCONFIG) -n $@ -a kilauea powerpc ppc4xx kilauea amcc
Stefan Roese720c5852007-11-03 12:08:28 +01001287
Larry Johnson667a3d42007-12-27 11:28:51 -05001288korat_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001289 @$(MKCONFIG) $@ powerpc ppc4xx korat
Larry Johnson667a3d42007-12-27 11:28:51 -05001290
Stefan Roese99644742005-11-29 18:18:21 +01001291luan_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001292 @$(MKCONFIG) $@ powerpc ppc4xx luan amcc
Stefan Roese99644742005-11-29 18:18:21 +01001293
Stefan Roeseade5a512007-06-15 08:18:01 +02001294lwmon5_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001295 @$(MKCONFIG) $@ powerpc ppc4xx lwmon5
Stefan Roeseade5a512007-06-15 08:18:01 +02001296
Stefan Roesee3c73582007-10-22 07:34:34 +02001297makalu_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001298 @$(MKCONFIG) $@ powerpc ppc4xx makalu amcc
Stefan Roesee3c73582007-10-22 07:34:34 +02001299
Niklaus Giger3fdbc1c2008-02-25 18:46:41 +01001300mcu25_config: unconfig
1301 @mkdir -p $(obj)board/netstal/common
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001302 @$(MKCONFIG) $@ powerpc ppc4xx mcu25 netstal
Niklaus Giger3fdbc1c2008-02-25 18:46:41 +01001303
Stefan Roese5ff4c3f2005-08-15 12:31:23 +02001304METROBOX_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001305 @$(MKCONFIG) $@ powerpc ppc4xx metrobox sandburst
Stefan Roese5ff4c3f2005-08-15 12:31:23 +02001306
wdenk634d2f72004-04-15 23:14:49 +00001307MIP405_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001308 @$(MKCONFIG) $@ powerpc ppc4xx mip405 mpl
wdenk7ebf7442002-11-02 23:17:16 +00001309
wdenk634d2f72004-04-15 23:14:49 +00001310MIP405T_config: unconfig
Marian Balakowiczd62379d2006-09-01 19:49:50 +02001311 @mkdir -p $(obj)include
1312 @echo "#define CONFIG_MIP405T" >$(obj)include/config.h
Wolfgang Denk0a659ad2008-01-13 00:59:21 +01001313 @$(XECHO) "Enable subset config for MIP405T"
Stefan Roese88fbf932010-04-15 16:07:28 +02001314 @$(MKCONFIG) -a MIP405 powerpc ppc4xx mip405 mpl
wdenke39c2842003-06-04 15:05:30 +00001315
wdenk634d2f72004-04-15 23:14:49 +00001316ML2_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001317 @$(MKCONFIG) $@ powerpc ppc4xx ml2
wdenk7ebf7442002-11-02 23:17:16 +00001318
Ricardo Ribalda Delgadof84496a2008-09-01 13:09:39 -04001319ml507_flash_config: unconfig
Ricardo Ribalda Delgado184ce1c2008-09-09 10:00:33 -04001320 @mkdir -p $(obj)include $(obj)board/xilinx/ppc440-generic
Ricardo Ribalda Delgado2a019eb2008-07-21 20:30:07 +02001321 @mkdir -p $(obj)include $(obj)board/xilinx/ml507
Ricardo Ribalda Delgado184ce1c2008-09-09 10:00:33 -04001322 @echo "LDSCRIPT:=$(SRCTREE)/board/xilinx/ppc440-generic/u-boot-rom.lds"\
1323 > $(obj)board/xilinx/ml507/config.tmp
1324 @echo "TEXT_BASE := 0xFE360000" \
1325 >> $(obj)board/xilinx/ml507/config.tmp
Stefan Roese88fbf932010-04-15 16:07:28 +02001326 @$(MKCONFIG) ml507 powerpc ppc4xx ml507 xilinx
Ricardo Ribalda Delgado2a019eb2008-07-21 20:30:07 +02001327
Ricardo Ribalda Delgadof84496a2008-09-01 13:09:39 -04001328ml507_config: unconfig
Ricardo Ribalda Delgado184ce1c2008-09-09 10:00:33 -04001329 @mkdir -p $(obj)include $(obj)board/xilinx/ppc440-generic
Ricardo Ribalda Delgado2a019eb2008-07-21 20:30:07 +02001330 @mkdir -p $(obj)include $(obj)board/xilinx/ml507
Ricardo Ribalda Delgado184ce1c2008-09-09 10:00:33 -04001331 @echo "LDSCRIPT:=$(SRCTREE)/board/xilinx/ppc440-generic/u-boot-ram.lds"\
1332 > $(obj)board/xilinx/ml507/config.tmp
1333 @echo "TEXT_BASE := 0x04000000" \
1334 >> $(obj)board/xilinx/ml507/config.tmp
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001335 @$(MKCONFIG) $@ powerpc ppc4xx ml507 xilinx
Ricardo Ribalda Delgadoa8822a72008-07-17 12:47:09 +02001336
Dirk Eibach3397ec62008-10-08 15:37:50 +02001337neo_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001338 @$(MKCONFIG) $@ powerpc ppc4xx neo gdsys
Dirk Eibach3397ec62008-10-08 15:37:50 +02001339
Stefan Roese3e1f1b32005-08-01 16:49:12 +02001340ocotea_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001341 @$(MKCONFIG) $@ powerpc ppc4xx ocotea amcc
wdenk00fe1612004-03-14 00:07:33 +00001342
wdenk7ebf7442002-11-02 23:17:16 +00001343OCRTC_config \
1344ORSG_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001345 @$(MKCONFIG) -n $@ $@ powerpc ppc4xx ocrtc esd
wdenk7ebf7442002-11-02 23:17:16 +00001346
Stefan Roesec443fe92005-11-22 13:20:42 +01001347p3p440_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001348 @$(MKCONFIG) $@ powerpc ppc4xx p3p440 prodrive
Stefan Roesec443fe92005-11-22 13:20:42 +01001349
wdenk7ebf7442002-11-02 23:17:16 +00001350PCI405_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001351 @$(MKCONFIG) $@ powerpc ppc4xx pci405 esd
wdenk7ebf7442002-11-02 23:17:16 +00001352
Stefan Roese9eba0c82006-06-02 16:18:04 +02001353pcs440ep_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001354 @$(MKCONFIG) $@ powerpc ppc4xx pcs440ep
Stefan Roese9eba0c82006-06-02 16:18:04 +02001355
wdenk634d2f72004-04-15 23:14:49 +00001356PIP405_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001357 @$(MKCONFIG) $@ powerpc ppc4xx pip405 mpl
wdenk7ebf7442002-11-02 23:17:16 +00001358
stroese3361eb72003-09-12 08:57:15 +00001359PLU405_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001360 @$(MKCONFIG) $@ powerpc ppc4xx plu405 esd
stroese3361eb72003-09-12 08:57:15 +00001361
stroesebfcc82b2003-05-23 11:41:44 +00001362PMC405_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001363 @$(MKCONFIG) $@ powerpc ppc4xx pmc405 esd
stroesebfcc82b2003-05-23 11:41:44 +00001364
Matthias Fuchs1df4d252009-07-22 13:56:21 +02001365PMC405DE_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001366 @$(MKCONFIG) $@ powerpc ppc4xx pmc405de esd
Matthias Fuchs1df4d252009-07-22 13:56:21 +02001367
Matthias Fuchse139c0a2007-12-28 17:07:24 +01001368PMC440_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001369 @$(MKCONFIG) $@ powerpc ppc4xx pmc440 esd
Matthias Fuchse139c0a2007-12-28 17:07:24 +01001370
wdenk7ac16102004-08-01 22:48:16 +00001371PPChameleonEVB_config \
wdenk99874b42004-07-01 21:40:08 +00001372PPChameleonEVB_BA_25_config \
1373PPChameleonEVB_ME_25_config \
1374PPChameleonEVB_HI_25_config \
1375PPChameleonEVB_BA_33_config \
1376PPChameleonEVB_ME_33_config \
1377PPChameleonEVB_HI_33_config: unconfig
Marian Balakowiczd62379d2006-09-01 19:49:50 +02001378 @mkdir -p $(obj)include
wdenk9e7130b2004-09-09 17:44:35 +00001379 @[ -z "$(findstring EVB_BA,$@)" ] || \
Wolfgang Denk625bd332010-05-27 23:18:33 +02001380 echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 0" >>$(obj)include/config.h
wdenk9e7130b2004-09-09 17:44:35 +00001381 @[ -z "$(findstring EVB_ME,$@)" ] || \
Wolfgang Denk625bd332010-05-27 23:18:33 +02001382 echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 1" >>$(obj)include/config.h
wdenk9e7130b2004-09-09 17:44:35 +00001383 @[ -z "$(findstring EVB_HI,$@)" ] || \
Wolfgang Denk625bd332010-05-27 23:18:33 +02001384 echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 2" >>$(obj)include/config.h
wdenk99874b42004-07-01 21:40:08 +00001385 @[ -z "$(findstring _25,$@)" ] || \
Wolfgang Denk625bd332010-05-27 23:18:33 +02001386 echo "#define CONFIG_PPCHAMELEON_CLK_25" >>$(obj)include/config.h
wdenk99874b42004-07-01 21:40:08 +00001387 @[ -z "$(findstring _33,$@)" ] || \
Wolfgang Denk625bd332010-05-27 23:18:33 +02001388 echo "#define CONFIG_PPCHAMELEON_CLK_33" >>$(obj)include/config.h
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001389 @$(MKCONFIG) -n $@ -a PPChameleonEVB powerpc ppc4xx PPChameleonEVB dave
wdenk232fe0b2003-09-02 22:48:03 +00001390
Gary Jennejohn0ec4f302008-04-28 14:04:32 +02001391quad100hd_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001392 @$(MKCONFIG) $@ powerpc ppc4xx quad100hd
Gary Jennejohn0ec4f302008-04-28 14:04:32 +02001393
Stefan Roese71fe7832008-07-17 10:40:51 +02001394redwood_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001395 @$(MKCONFIG) $@ powerpc ppc4xx redwood amcc
Stefan Roese71fe7832008-07-17 10:40:51 +02001396
wdenkd3341052005-01-09 23:48:14 +00001397sbc405_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001398 @$(MKCONFIG) $@ powerpc ppc4xx sbc405
wdenkd3341052005-01-09 23:48:14 +00001399
Wolfgang Denk28d8d702008-07-15 22:22:44 +02001400sc3_config:unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001401 @$(MKCONFIG) $@ powerpc ppc4xx sc3
Wolfgang Denk28d8d702008-07-15 22:22:44 +02001402
Stefan Roese374f38b2007-03-28 15:03:16 +02001403sequoia_config \
1404rainier_config: unconfig
1405 @mkdir -p $(obj)include
1406 @echo "#define CONFIG_$$(echo $(subst ,,$(@:_config=)) | \
1407 tr '[:lower:]' '[:upper:]')" >$(obj)include/config.h
Stefan Roese88fbf932010-04-15 16:07:28 +02001408 @$(MKCONFIG) -n $@ -a sequoia powerpc ppc4xx sequoia amcc
Stefan Roese42fbddd2006-09-07 11:51:23 +02001409
Stefan Roese374f38b2007-03-28 15:03:16 +02001410sequoia_nand_config \
1411rainier_nand_config: unconfig
Wolfgang Denk6b99a462007-08-02 10:11:18 +02001412 @mkdir -p $(obj)include $(obj)board/amcc/sequoia
1413 @mkdir -p $(obj)nand_spl/board/amcc/sequoia
Marian Balakowicz814ed842006-10-23 22:17:05 +02001414 @echo "#define CONFIG_NAND_U_BOOT" > $(obj)include/config.h
Stefan Roese374f38b2007-03-28 15:03:16 +02001415 @echo "#define CONFIG_$$(echo $(subst ,,$(@:_config=)) | \
1416 tr '[:lower:]' '[:upper:]')" >> $(obj)include/config.h
Marian Balakowicz814ed842006-10-23 22:17:05 +02001417 @echo "TEXT_BASE = 0x01000000" > $(obj)board/amcc/sequoia/config.tmp
1418 @echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk
Wolfgang Denk625bd332010-05-27 23:18:33 +02001419 @$(MKCONFIG) -n $@ -a sequoia powerpc ppc4xx sequoia amcc
stroese3361eb72003-09-12 08:57:15 +00001420
Stefan Roesec20ef322009-05-11 13:46:14 +02001421sequoia_ramboot_config \
1422rainier_ramboot_config: unconfig
1423 @mkdir -p $(obj)include $(obj)board/amcc/sequoia
1424 @echo "#define CONFIG_SYS_RAMBOOT" > $(obj)include/config.h
1425 @echo "#define CONFIG_$$(echo $(subst ,,$(@:_config=)) | \
1426 tr '[:lower:]' '[:upper:]')" >> $(obj)include/config.h
Stefan Roesec20ef322009-05-11 13:46:14 +02001427 @echo "TEXT_BASE = 0x01000000" > $(obj)board/amcc/sequoia/config.tmp
1428 @echo "LDSCRIPT = board/amcc/sequoia/u-boot-ram.lds" >> \
1429 $(obj)board/amcc/sequoia/config.tmp
Wolfgang Denk625bd332010-05-27 23:18:33 +02001430 @$(MKCONFIG) -n $@ -a sequoia powerpc ppc4xx sequoia amcc
Stefan Roesec20ef322009-05-11 13:46:14 +02001431
John Otken9aa36772007-07-26 17:49:11 +02001432taihu_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001433 @$(MKCONFIG) $@ powerpc ppc4xx taihu amcc
John Otken9aa36772007-07-26 17:49:11 +02001434
Stefan Roese8d982302007-01-18 10:25:34 +01001435taishan_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001436 @$(MKCONFIG) $@ powerpc ppc4xx taishan amcc
Stefan Roese8d982302007-01-18 10:25:34 +01001437
Ricardo Ribalda Delgadof84496a2008-09-01 13:09:39 -04001438v5fx30teval_config: unconfig
Ricardo Ribalda Delgado184ce1c2008-09-09 10:00:33 -04001439 @mkdir -p $(obj)include $(obj)board/xilinx/ppc440-generic
Ricardo Ribalda Delgadof84496a2008-09-01 13:09:39 -04001440 @mkdir -p $(obj)include $(obj)board/avnet/v5fx30teval
Ricardo Ribalda Delgado184ce1c2008-09-09 10:00:33 -04001441 @echo "LDSCRIPT:=$(SRCTREE)/board/xilinx/ppc440-generic/u-boot-ram.lds"\
1442 > $(obj)board/avnet/v5fx30teval/config.tmp
1443 @echo "TEXT_BASE := 0x03000000" \
1444 >> $(obj)board/avnet/v5fx30teval/config.tmp
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001445 @$(MKCONFIG) $@ powerpc ppc4xx v5fx30teval avnet
Ricardo Ribalda Delgadof84496a2008-09-01 13:09:39 -04001446
1447v5fx30teval_flash_config: unconfig
Ricardo Ribalda Delgado184ce1c2008-09-09 10:00:33 -04001448 @mkdir -p $(obj)include $(obj)board/xilinx/ppc440-generic
Ricardo Ribalda Delgadof84496a2008-09-01 13:09:39 -04001449 @mkdir -p $(obj)include $(obj)board/avnet/v5fx30teval
Ricardo Ribalda Delgado184ce1c2008-09-09 10:00:33 -04001450 @echo "LDSCRIPT:=$(SRCTREE)/board/xilinx/ppc440-generic/u-boot-rom.lds"\
Ricardo Ribalda Delgado162458a2008-09-11 19:41:25 -04001451 > $(obj)board/avnet/v5fx30teval/config.tmp
Ricardo Ribalda Delgado184ce1c2008-09-09 10:00:33 -04001452 @echo "TEXT_BASE := 0xFF1C0000" \
Ricardo Ribalda Delgado162458a2008-09-11 19:41:25 -04001453 >> $(obj)board/avnet/v5fx30teval/config.tmp
Stefan Roese88fbf932010-04-15 16:07:28 +02001454 @$(MKCONFIG) v5fx30teval powerpc ppc4xx v5fx30teval avnet
Ricardo Ribalda Delgadof84496a2008-09-01 13:09:39 -04001455
wdenk7ebf7442002-11-02 23:17:16 +00001456VOH405_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001457 @$(MKCONFIG) $@ powerpc ppc4xx voh405 esd
wdenkef5fe752003-03-12 10:41:04 +00001458
stroese05b88912004-12-16 18:44:40 +00001459VOM405_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001460 @$(MKCONFIG) $@ powerpc ppc4xx vom405 esd
stroese05b88912004-12-16 18:44:40 +00001461
wdenk7ebf7442002-11-02 23:17:16 +00001462W7OLMC_config \
1463W7OLMG_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001464 @$(MKCONFIG) $@ powerpc ppc4xx w7o
wdenk7ebf7442002-11-02 23:17:16 +00001465
Stefan Roese374f38b2007-03-28 15:03:16 +02001466# Walnut & Sycamore images are identical (recognized via PVR)
1467walnut_config \
1468sycamore_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001469 @$(MKCONFIG) -n $@ walnut powerpc ppc4xx walnut amcc
wdenk7ebf7442002-11-02 23:17:16 +00001470
stroese05b88912004-12-16 18:44:40 +00001471WUH405_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001472 @$(MKCONFIG) $@ powerpc ppc4xx wuh405 esd
stroese05b88912004-12-16 18:44:40 +00001473
Ricardo Ribalda Delgado78ea77e2008-10-21 18:29:46 +02001474xilinx-ppc405-generic_flash_config: unconfig
1475 @mkdir -p $(obj)include $(obj)board/xilinx/ppc405-generic
1476 @echo "LDSCRIPT:=$(SRCTREE)/board/xilinx/ppc405-generic/u-boot-rom.lds"\
1477 > $(obj)board/xilinx/ppc405-generic/config.tmp
1478 @echo "TEXT_BASE := 0xFE360000" \
1479 >> $(obj)board/xilinx/ppc405-generic/config.tmp
Stefan Roese88fbf932010-04-15 16:07:28 +02001480 @$(MKCONFIG) xilinx-ppc405-generic powerpc ppc4xx ppc405-generic xilinx
Ricardo Ribalda Delgado78ea77e2008-10-21 18:29:46 +02001481
1482xilinx-ppc405-generic_config: unconfig
1483 @mkdir -p $(obj)include $(obj)board/xilinx/ppc405-generic
1484 @echo "LDSCRIPT:=$(SRCTREE)/board/xilinx/ppc405-generic/u-boot-ram.lds"\
1485 > $(obj)board/xilinx/ppc405-generic/config.tmp
1486 @echo "TEXT_BASE := 0x04000000" \
1487 >> $(obj)board/xilinx/ppc405-generic/config.tmp
Stefan Roese88fbf932010-04-15 16:07:28 +02001488 @$(MKCONFIG) xilinx-ppc405-generic powerpc ppc4xx ppc405-generic xilinx
Ricardo Ribalda Delgado78ea77e2008-10-21 18:29:46 +02001489
Ricardo Ribalda Delgadof84496a2008-09-01 13:09:39 -04001490xilinx-ppc440-generic_flash_config: unconfig
Ricardo Ribalda Delgado184ce1c2008-09-09 10:00:33 -04001491 @mkdir -p $(obj)include $(obj)board/xilinx/ppc440-generic
1492 @echo "LDSCRIPT:=$(SRCTREE)/board/xilinx/ppc440-generic/u-boot-rom.lds"\
1493 > $(obj)board/xilinx/ppc440-generic/config.tmp
1494 @echo "TEXT_BASE := 0xFE360000" \
1495 >> $(obj)board/xilinx/ppc440-generic/config.tmp
Stefan Roese88fbf932010-04-15 16:07:28 +02001496 @$(MKCONFIG) xilinx-ppc440-generic powerpc ppc4xx ppc440-generic xilinx
Ricardo Ribalda Delgadof84496a2008-09-01 13:09:39 -04001497
1498xilinx-ppc440-generic_config: unconfig
Ricardo Ribalda Delgado184ce1c2008-09-09 10:00:33 -04001499 @mkdir -p $(obj)include $(obj)board/xilinx/ppc440-generic
1500 @echo "LDSCRIPT:=$(SRCTREE)/board/xilinx/ppc440-generic/u-boot-ram.lds"\
1501 > $(obj)board/xilinx/ppc440-generic/config.tmp
1502 @echo "TEXT_BASE := 0x04000000" \
1503 >> $(obj)board/xilinx/ppc440-generic/config.tmp
Stefan Roese88fbf932010-04-15 16:07:28 +02001504 @$(MKCONFIG) xilinx-ppc440-generic powerpc ppc4xx ppc440-generic xilinx
Ricardo Ribalda Delgadof84496a2008-09-01 13:09:39 -04001505
Peter Tyser20934772009-07-17 19:01:16 -05001506XPEDITE1000_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001507 @$(MKCONFIG) $@ powerpc ppc4xx xpedite1000 xes
wdenk544e9732004-02-06 23:19:44 +00001508
Stefan Roese374f38b2007-03-28 15:03:16 +02001509yosemite_config \
1510yellowstone_config: unconfig
Stefan Roeseb1669da2007-01-30 17:04:19 +01001511 @mkdir -p $(obj)include
Stefan Roese374f38b2007-03-28 15:03:16 +02001512 @echo "#define CONFIG_$$(echo $(subst ,,$(@:_config=)) | \
1513 tr '[:lower:]' '[:upper:]')" >$(obj)include/config.h
Stefan Roese88fbf932010-04-15 16:07:28 +02001514 @$(MKCONFIG) -n $@ -a yosemite powerpc ppc4xx yosemite amcc
Stefan Roese3e1f1b32005-08-01 16:49:12 +02001515
Marian Balakowicz49d0eee2006-06-30 16:30:46 +02001516yucca_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001517 @$(MKCONFIG) $@ powerpc ppc4xx yucca amcc
Marian Balakowicz49d0eee2006-06-30 16:30:46 +02001518
Stefan Roesea5d182e2007-08-14 14:44:41 +02001519zeus_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001520 @$(MKCONFIG) $@ powerpc ppc4xx zeus
Stefan Roesea5d182e2007-08-14 14:44:41 +02001521
wdenk7ebf7442002-11-02 23:17:16 +00001522#########################################################################
wdenk337f5652004-10-28 00:09:35 +00001523## MPC8220 Systems
1524#########################################################################
Wolfgang Denkdb5f3862005-08-03 22:32:02 +02001525
1526Alaska8220_config \
1527Yukon8220_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001528 @$(MKCONFIG) $@ powerpc mpc8220 alaska
wdenk337f5652004-10-28 00:09:35 +00001529
wdenkccfe25d2005-04-05 21:57:18 +00001530sorcery_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001531 @$(MKCONFIG) $@ powerpc mpc8220 sorcery
wdenkccfe25d2005-04-05 21:57:18 +00001532
wdenk337f5652004-10-28 00:09:35 +00001533#########################################################################
wdenk7ebf7442002-11-02 23:17:16 +00001534## MPC824x Systems
1535#########################################################################
wdenk7ebf7442002-11-02 23:17:16 +00001536
wdenk8aeb24e2003-06-20 22:36:30 +00001537A3000_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001538 @$(MKCONFIG) $@ powerpc mpc824x a3000
wdenk8aeb24e2003-06-20 22:36:30 +00001539
Wolfgang Denka48c7252005-09-25 18:59:36 +02001540barco_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001541 @$(MKCONFIG) $@ powerpc mpc824x barco
Wolfgang Denka48c7252005-09-25 18:59:36 +02001542
wdenk7ebf7442002-11-02 23:17:16 +00001543BMW_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001544 @$(MKCONFIG) $@ powerpc mpc824x bmw
wdenk7ebf7442002-11-02 23:17:16 +00001545
wdenkef5fe752003-03-12 10:41:04 +00001546CPC45_config \
1547CPC45_ROMBOOT_config: unconfig
Wolfgang Denk625bd332010-05-27 23:18:33 +02001548 @mkdir -p $(obj)include ; \
wdenkef5fe752003-03-12 10:41:04 +00001549 if [ "$(findstring _ROMBOOT_,$@)" ] ; then \
Wolfgang Denk625bd332010-05-27 23:18:33 +02001550 echo "CONFIG_BOOT_ROM = y" >> $(obj)include/config.mk ; \
wdenkef5fe752003-03-12 10:41:04 +00001551 else \
Wolfgang Denk625bd332010-05-27 23:18:33 +02001552 echo "CONFIG_BOOT_ROM = n" >> $(obj)include/config.mk ; \
wdenkef5fe752003-03-12 10:41:04 +00001553 fi; \
Wolfgang Denk625bd332010-05-27 23:18:33 +02001554 echo "export CONFIG_BOOT_ROM" >> $(obj)include/config.mk;
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001555 @$(MKCONFIG) -n $@ CPC45 powerpc mpc824x cpc45
wdenkef5fe752003-03-12 10:41:04 +00001556
wdenk7ebf7442002-11-02 23:17:16 +00001557CU824_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001558 @$(MKCONFIG) $@ powerpc mpc824x cu824
wdenk7ebf7442002-11-02 23:17:16 +00001559
wdenk78924a72004-04-18 21:45:42 +00001560debris_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001561 @$(MKCONFIG) $@ powerpc mpc824x debris etin
wdenk78924a72004-04-18 21:45:42 +00001562
wdenk5f495752004-02-26 23:46:20 +00001563eXalion_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001564 @$(MKCONFIG) $@ powerpc mpc824x eXalion
wdenk5f495752004-02-26 23:46:20 +00001565
wdenke0c812a2005-04-03 15:51:42 +00001566HIDDEN_DRAGON_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001567 @$(MKCONFIG) $@ powerpc mpc824x hidden_dragon
wdenke0c812a2005-04-03 15:51:42 +00001568
Wolfgang Denk11f95cb2006-07-21 11:29:20 +02001569kvme080_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001570 @$(MKCONFIG) $@ powerpc mpc824x kvme080 etin
Wolfgang Denk11f95cb2006-07-21 11:29:20 +02001571
Guennadi Liakhovetski40c26b22008-03-31 01:32:15 +02001572# HDLAN is broken ATM. Should be fixed as soon as hardware is available and as
1573# time permits.
1574#linkstation_HDLAN_config \
1575# Remove this line when HDLAN is fixed
1576linkstation_HGLAN_config: unconfig
1577 @mkdir -p $(obj)include
1578 @case $@ in \
1579 *HGLAN*) echo "#define CONFIG_HGLAN 1" >$(obj)include/config.h; ;; \
1580 *HDLAN*) echo "#define CONFIG_HLAN 1" >$(obj)include/config.h; ;; \
1581 esac
Stefan Roese88fbf932010-04-15 16:07:28 +02001582 @$(MKCONFIG) -n $@ -a linkstation powerpc mpc824x linkstation
Guennadi Liakhovetski40c26b22008-03-31 01:32:15 +02001583
wdenk7ebf7442002-11-02 23:17:16 +00001584MOUSSE_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001585 @$(MKCONFIG) $@ powerpc mpc824x mousse
wdenk7ebf7442002-11-02 23:17:16 +00001586
1587MUSENKI_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001588 @$(MKCONFIG) $@ powerpc mpc824x musenki
wdenk7ebf7442002-11-02 23:17:16 +00001589
wdenk4e7a58a2003-12-07 19:24:00 +00001590MVBLUE_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001591 @$(MKCONFIG) $@ powerpc mpc824x mvblue
wdenk4e7a58a2003-12-07 19:24:00 +00001592
wdenk7ebf7442002-11-02 23:17:16 +00001593OXC_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001594 @$(MKCONFIG) $@ powerpc mpc824x oxc
wdenk7ebf7442002-11-02 23:17:16 +00001595
1596PN62_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001597 @$(MKCONFIG) $@ powerpc mpc824x pn62
wdenk7ebf7442002-11-02 23:17:16 +00001598
1599Sandpoint8240_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001600 @$(MKCONFIG) $@ powerpc mpc824x sandpoint
wdenk7ebf7442002-11-02 23:17:16 +00001601
1602Sandpoint8245_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001603 @$(MKCONFIG) $@ powerpc mpc824x sandpoint
wdenk7ebf7442002-11-02 23:17:16 +00001604
wdenk265d2172004-07-10 22:35:59 +00001605sbc8240_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001606 @$(MKCONFIG) $@ powerpc mpc824x sbc8240
wdenk265d2172004-07-10 22:35:59 +00001607
wdenk7ebf7442002-11-02 23:17:16 +00001608utx8245_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001609 @$(MKCONFIG) $@ powerpc mpc824x utx8245
wdenk7ebf7442002-11-02 23:17:16 +00001610
1611#########################################################################
1612## MPC8260 Systems
1613#########################################################################
wdenk7ebf7442002-11-02 23:17:16 +00001614
wdenk2f0812d2003-10-08 22:45:44 +00001615atc_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001616 @$(MKCONFIG) $@ powerpc mpc8260 atc
wdenk2f0812d2003-10-08 22:45:44 +00001617
wdenk7ebf7442002-11-02 23:17:16 +00001618cogent_mpc8260_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001619 @$(MKCONFIG) $@ powerpc mpc8260 cogent
wdenk7ebf7442002-11-02 23:17:16 +00001620
1621CPU86_config \
1622CPU86_ROMBOOT_config: unconfig
Wolfgang Denk625bd332010-05-27 23:18:33 +02001623 @mkdir -p $(obj)include ; \
wdenk7ebf7442002-11-02 23:17:16 +00001624 if [ "$(findstring _ROMBOOT_,$@)" ] ; then \
Wolfgang Denk625bd332010-05-27 23:18:33 +02001625 echo "CONFIG_BOOT_ROM = y" >> $(obj)include/config.mk ; \
wdenk7ebf7442002-11-02 23:17:16 +00001626 else \
Wolfgang Denk625bd332010-05-27 23:18:33 +02001627 echo "CONFIG_BOOT_ROM = n" >> $(obj)include/config.mk ; \
wdenk7ebf7442002-11-02 23:17:16 +00001628 fi; \
Wolfgang Denk625bd332010-05-27 23:18:33 +02001629 echo "export CONFIG_BOOT_ROM" >> $(obj)include/config.mk;
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001630 @$(MKCONFIG) -n $@ CPU86 powerpc mpc8260 cpu86
wdenk7ebf7442002-11-02 23:17:16 +00001631
wdenk6d3c6d12005-04-03 22:35:21 +00001632CPU87_config \
1633CPU87_ROMBOOT_config: unconfig
Wolfgang Denk625bd332010-05-27 23:18:33 +02001634 @mkdir -p $(obj)include ; \
wdenk6d3c6d12005-04-03 22:35:21 +00001635 if [ "$(findstring _ROMBOOT_,$@)" ] ; then \
Wolfgang Denk625bd332010-05-27 23:18:33 +02001636 echo "CONFIG_BOOT_ROM = y" >> $(obj)include/config.mk ; \
wdenk6d3c6d12005-04-03 22:35:21 +00001637 else \
Wolfgang Denk625bd332010-05-27 23:18:33 +02001638 echo "CONFIG_BOOT_ROM = n" >> $(obj)include/config.mk ; \
wdenk6d3c6d12005-04-03 22:35:21 +00001639 fi; \
Wolfgang Denk625bd332010-05-27 23:18:33 +02001640 echo "export CONFIG_BOOT_ROM" >> $(obj)include/config.mk;
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001641 @$(MKCONFIG) -n $@ CPU87 powerpc mpc8260 cpu87
wdenk6d3c6d12005-04-03 22:35:21 +00001642
Wolfgang Denk8dd4d332005-08-06 01:42:58 +02001643ep8248_config \
1644ep8248E_config : unconfig
Wolfgang Denk625bd332010-05-27 23:18:33 +02001645 @$(MKCONFIG) -n $@ ep8248 powerpc mpc8260 ep8248
Wolfgang Denk8dd4d332005-08-06 01:42:58 +02001646
wdenk7ebf7442002-11-02 23:17:16 +00001647ep8260_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001648 @$(MKCONFIG) $@ powerpc mpc8260 ep8260
wdenk7ebf7442002-11-02 23:17:16 +00001649
Wolfgang Denk73a92752006-10-09 00:35:30 +02001650ep82xxm_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001651 @$(MKCONFIG) $@ powerpc mpc8260 ep82xxm
Wolfgang Denk73a92752006-10-09 00:35:30 +02001652
wdenk7ebf7442002-11-02 23:17:16 +00001653gw8260_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001654 @$(MKCONFIG) $@ powerpc mpc8260 gw8260
wdenk7ebf7442002-11-02 23:17:16 +00001655
1656hymod_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001657 @$(MKCONFIG) $@ powerpc mpc8260 hymod
wdenk7ebf7442002-11-02 23:17:16 +00001658
wdenka7316b02005-05-12 22:48:09 +00001659IDS8247_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001660 @$(MKCONFIG) $@ powerpc mpc8260 ids8247
wdenka7316b02005-05-12 22:48:09 +00001661
wdenk7ebf7442002-11-02 23:17:16 +00001662IPHASE4539_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001663 @$(MKCONFIG) $@ powerpc mpc8260 iphase4539
wdenk7ebf7442002-11-02 23:17:16 +00001664
wdenk76dd6c72004-06-09 14:47:54 +00001665ISPAN_config \
1666ISPAN_REVB_config: unconfig
Marian Balakowiczd62379d2006-09-01 19:49:50 +02001667 @mkdir -p $(obj)include
wdenk76dd6c72004-06-09 14:47:54 +00001668 @if [ "$(findstring _REVB_,$@)" ] ; then \
Jean-Christophe PLAGNIOL-VILLARD03836942008-10-16 15:01:15 +02001669 echo "#define CONFIG_SYS_REV_B" > $(obj)include/config.h ; \
wdenk76dd6c72004-06-09 14:47:54 +00001670 fi
Wolfgang Denk625bd332010-05-27 23:18:33 +02001671 @$(MKCONFIG) -n $@ -a ISPAN powerpc mpc8260 ispan
wdenk76dd6c72004-06-09 14:47:54 +00001672
Heiko Schocher30de2ed2008-01-11 01:12:08 +01001673mgcoge_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001674 @$(MKCONFIG) $@ powerpc mpc8260 mgcoge keymile
Heiko Schocher30de2ed2008-01-11 01:12:08 +01001675
wdenk3902d702004-04-15 18:22:41 +00001676MPC8260ADS_config \
wdenk874c6752005-04-03 23:22:21 +00001677MPC8260ADS_lowboot_config \
wdenk3902d702004-04-15 18:22:41 +00001678MPC8260ADS_33MHz_config \
wdenk874c6752005-04-03 23:22:21 +00001679MPC8260ADS_33MHz_lowboot_config \
wdenk3902d702004-04-15 18:22:41 +00001680MPC8260ADS_40MHz_config \
wdenk874c6752005-04-03 23:22:21 +00001681MPC8260ADS_40MHz_lowboot_config \
wdenk3902d702004-04-15 18:22:41 +00001682MPC8272ADS_config \
wdenk874c6752005-04-03 23:22:21 +00001683MPC8272ADS_lowboot_config \
wdenk3902d702004-04-15 18:22:41 +00001684PQ2FADS_config \
wdenk874c6752005-04-03 23:22:21 +00001685PQ2FADS_lowboot_config \
wdenk3902d702004-04-15 18:22:41 +00001686PQ2FADS-VR_config \
wdenk874c6752005-04-03 23:22:21 +00001687PQ2FADS-VR_lowboot_config \
wdenk3902d702004-04-15 18:22:41 +00001688PQ2FADS-ZU_config \
wdenk874c6752005-04-03 23:22:21 +00001689PQ2FADS-ZU_lowboot_config \
wdenk3902d702004-04-15 18:22:41 +00001690PQ2FADS-ZU_66MHz_config \
wdenk874c6752005-04-03 23:22:21 +00001691PQ2FADS-ZU_66MHz_lowboot_config \
wdenk3902d702004-04-15 18:22:41 +00001692 : unconfig
Marian Balakowiczd62379d2006-09-01 19:49:50 +02001693 @mkdir -p $(obj)include
Jon Loeliger39bf01e2008-03-05 18:05:45 -06001694 @mkdir -p $(obj)board/freescale/mpc8260ads
wdenk3902d702004-04-15 18:22:41 +00001695 $(if $(findstring PQ2FADS,$@), \
Jean-Christophe PLAGNIOL-VILLARD03836942008-10-16 15:01:15 +02001696 @echo "#define CONFIG_ADSTYPE CONFIG_SYS_PQ2FADS" > $(obj)include/config.h, \
1697 @echo "#define CONFIG_ADSTYPE CONFIG_SYS_"$(subst MPC,,$(word 1,$(subst _, ,$@))) > $(obj)include/config.h)
wdenk3902d702004-04-15 18:22:41 +00001698 $(if $(findstring MHz,$@), \
Marian Balakowiczd62379d2006-09-01 19:49:50 +02001699 @echo "#define CONFIG_8260_CLKIN" $(subst MHz,,$(word 2,$(subst _, ,$@)))"000000" >> $(obj)include/config.h, \
wdenk3902d702004-04-15 18:22:41 +00001700 $(if $(findstring VR,$@), \
Marian Balakowiczd62379d2006-09-01 19:49:50 +02001701 @echo "#define CONFIG_8260_CLKIN 66000000" >> $(obj)include/config.h))
wdenk874c6752005-04-03 23:22:21 +00001702 @[ -z "$(findstring lowboot_,$@)" ] || \
Wolfgang Denk625bd332010-05-27 23:18:33 +02001703 echo "TEXT_BASE = 0xFF800000" >$(obj)board/freescale/mpc8260ads/config.tmp
1704 @$(MKCONFIG) -n $@ -a MPC8260ADS powerpc mpc8260 mpc8260ads freescale
wdenk7ebf7442002-11-02 23:17:16 +00001705
wdenkb666c8f2003-03-06 00:58:30 +00001706MPC8266ADS_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001707 @$(MKCONFIG) $@ powerpc mpc8260 mpc8266ads freescale
wdenkb666c8f2003-03-06 00:58:30 +00001708
Heiko Schochera772a162008-08-19 10:08:49 +02001709muas3001_dev_config \
1710muas3001_config : unconfig
1711 @mkdir -p $(obj)include
1712 @mkdir -p $(obj)board/muas3001
1713 @if [ "$(findstring dev,$@)" ] ; then \
1714 echo "#define CONFIG_MUAS_DEV_BOARD" > $(obj)include/config.h ; \
1715 fi
Wolfgang Denk625bd332010-05-27 23:18:33 +02001716 @$(MKCONFIG) -n $@ -a muas3001 powerpc mpc8260 muas3001
Heiko Schochera772a162008-08-19 10:08:49 +02001717
wdenkc12081a2004-03-23 20:18:25 +00001718# PM825/PM826 default configuration: small (= 8 MB) Flash / boot from 64-bit flash
wdenk4b57dcc2003-03-25 18:06:06 +00001719PM825_config \
wdenkc12081a2004-03-23 20:18:25 +00001720PM825_ROMBOOT_config \
1721PM825_BIGFLASH_config \
1722PM825_ROMBOOT_BIGFLASH_config \
1723PM826_config \
1724PM826_ROMBOOT_config \
1725PM826_BIGFLASH_config \
1726PM826_ROMBOOT_BIGFLASH_config: unconfig
Marian Balakowiczd62379d2006-09-01 19:49:50 +02001727 @mkdir -p $(obj)include
1728 @mkdir -p $(obj)board/pm826
wdenkc12081a2004-03-23 20:18:25 +00001729 @if [ "$(findstring PM825_,$@)" ] ; then \
Marian Balakowiczd62379d2006-09-01 19:49:50 +02001730 echo "#define CONFIG_PCI" >$(obj)include/config.h ; \
wdenkc12081a2004-03-23 20:18:25 +00001731 else \
Marian Balakowiczd62379d2006-09-01 19:49:50 +02001732 >$(obj)include/config.h ; \
wdenkc12081a2004-03-23 20:18:25 +00001733 fi
1734 @if [ "$(findstring _ROMBOOT_,$@)" ] ; then \
Marian Balakowiczd62379d2006-09-01 19:49:50 +02001735 echo "#define CONFIG_BOOT_ROM" >>$(obj)include/config.h ; \
1736 echo "TEXT_BASE = 0xFF800000" >$(obj)board/pm826/config.tmp ; \
wdenkc12081a2004-03-23 20:18:25 +00001737 if [ "$(findstring _BIGFLASH_,$@)" ] ; then \
Marian Balakowiczd62379d2006-09-01 19:49:50 +02001738 echo "#define CONFIG_FLASH_32MB" >>$(obj)include/config.h ; \
wdenkc12081a2004-03-23 20:18:25 +00001739 fi; \
wdenk4b57dcc2003-03-25 18:06:06 +00001740 else \
wdenkc12081a2004-03-23 20:18:25 +00001741 if [ "$(findstring _BIGFLASH_,$@)" ] ; then \
Wolfgang Denk0a659ad2008-01-13 00:59:21 +01001742 $(XECHO) "... with 32 MB Flash" ; \
Marian Balakowiczd62379d2006-09-01 19:49:50 +02001743 echo "#define CONFIG_FLASH_32MB" >>$(obj)include/config.h ; \
1744 echo "TEXT_BASE = 0x40000000" >$(obj)board/pm826/config.tmp ; \
wdenkc12081a2004-03-23 20:18:25 +00001745 else \
Marian Balakowiczd62379d2006-09-01 19:49:50 +02001746 echo "TEXT_BASE = 0xFF000000" >$(obj)board/pm826/config.tmp ; \
wdenkc12081a2004-03-23 20:18:25 +00001747 fi; \
1748 fi
Wolfgang Denk625bd332010-05-27 23:18:33 +02001749 @$(MKCONFIG) -n $@ -a PM826 powerpc mpc8260 pm826
wdenk4b57dcc2003-03-25 18:06:06 +00001750
wdenkc12081a2004-03-23 20:18:25 +00001751PM828_config \
1752PM828_PCI_config \
1753PM828_ROMBOOT_config \
1754PM828_ROMBOOT_PCI_config: unconfig
Marian Balakowiczd62379d2006-09-01 19:49:50 +02001755 @mkdir -p $(obj)include
1756 @mkdir -p $(obj)board/pm826
Marian Balakowicz3d8d1252006-04-05 20:37:11 +02001757 @if [ "$(findstring _PCI_,$@)" ] ; then \
Marian Balakowiczd62379d2006-09-01 19:49:50 +02001758 echo "#define CONFIG_PCI" >>$(obj)include/config.h ; \
wdenkc12081a2004-03-23 20:18:25 +00001759 fi
1760 @if [ "$(findstring _ROMBOOT_,$@)" ] ; then \
Marian Balakowiczd62379d2006-09-01 19:49:50 +02001761 echo "#define CONFIG_BOOT_ROM" >>$(obj)include/config.h ; \
1762 echo "TEXT_BASE = 0xFF800000" >$(obj)board/pm826/config.tmp ; \
wdenkc12081a2004-03-23 20:18:25 +00001763 fi
Wolfgang Denk625bd332010-05-27 23:18:33 +02001764 @$(MKCONFIG) -n $@ -a PM828 powerpc mpc8260 pm828
wdenk7ebf7442002-11-02 23:17:16 +00001765
1766ppmc8260_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001767 @$(MKCONFIG) $@ powerpc mpc8260 ppmc8260
wdenk7ebf7442002-11-02 23:17:16 +00001768
wdenkbc3202a2005-04-03 23:11:38 +00001769Rattler8248_config \
1770Rattler_config: unconfig
Marian Balakowiczd62379d2006-09-01 19:49:50 +02001771 @mkdir -p $(obj)include
wdenkbc3202a2005-04-03 23:11:38 +00001772 $(if $(findstring 8248,$@), \
Wolfgang Denk625bd332010-05-27 23:18:33 +02001773 @echo "#define CONFIG_MPC8248" > $(obj)include/config.h)
1774 @$(MKCONFIG) -n $@ -a Rattler powerpc mpc8260 rattler
wdenkbc3202a2005-04-03 23:11:38 +00001775
wdenk7ebf7442002-11-02 23:17:16 +00001776RPXsuper_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001777 @$(MKCONFIG) $@ powerpc mpc8260 rpxsuper
wdenk7ebf7442002-11-02 23:17:16 +00001778
1779rsdproto_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001780 @$(MKCONFIG) $@ powerpc mpc8260 rsdproto
wdenk7ebf7442002-11-02 23:17:16 +00001781
1782sacsng_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001783 @$(MKCONFIG) $@ powerpc mpc8260 sacsng
wdenk7ebf7442002-11-02 23:17:16 +00001784
1785sbc8260_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001786 @$(MKCONFIG) $@ powerpc mpc8260 sbc8260
wdenk7ebf7442002-11-02 23:17:16 +00001787
1788SCM_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001789 @$(MKCONFIG) $@ powerpc mpc8260 SCM siemens
wdenk7ebf7442002-11-02 23:17:16 +00001790
wdenk874ac262003-07-24 23:38:38 +00001791TQM8255_AA_config \
1792TQM8260_AA_config \
1793TQM8260_AB_config \
1794TQM8260_AC_config \
1795TQM8260_AD_config \
1796TQM8260_AE_config \
1797TQM8260_AF_config \
1798TQM8260_AG_config \
1799TQM8260_AH_config \
Wolfgang Denk47673562006-03-07 00:32:07 +01001800TQM8260_AI_config \
wdenk874ac262003-07-24 23:38:38 +00001801TQM8265_AA_config: unconfig
Marian Balakowiczd62379d2006-09-01 19:49:50 +02001802 @mkdir -p $(obj)include
wdenk874ac262003-07-24 23:38:38 +00001803 @case "$@" in \
Wolfgang Denk47673562006-03-07 00:32:07 +01001804 TQM8255_AA_config) CTYPE=MPC8255; CFREQ=300; CACHE=no; BMODE=8260;; \
1805 TQM8260_AA_config) CTYPE=MPC8260; CFREQ=200; CACHE=no; BMODE=8260;; \
1806 TQM8260_AB_config) CTYPE=MPC8260; CFREQ=200; CACHE=yes; BMODE=60x;; \
1807 TQM8260_AC_config) CTYPE=MPC8260; CFREQ=200; CACHE=yes; BMODE=60x;; \
1808 TQM8260_AD_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=60x;; \
1809 TQM8260_AE_config) CTYPE=MPC8260; CFREQ=266; CACHE=no; BMODE=8260;; \
1810 TQM8260_AF_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=60x;; \
1811 TQM8260_AG_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=8260;; \
1812 TQM8260_AH_config) CTYPE=MPC8260; CFREQ=300; CACHE=yes; BMODE=60x;; \
1813 TQM8260_AI_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=60x;; \
1814 TQM8265_AA_config) CTYPE=MPC8265; CFREQ=300; CACHE=no; BMODE=60x;; \
wdenk874ac262003-07-24 23:38:38 +00001815 esac; \
wdenk874ac262003-07-24 23:38:38 +00001816 if [ "$${CTYPE}" != "MPC8260" ] ; then \
Marian Balakowiczd62379d2006-09-01 19:49:50 +02001817 echo "#define CONFIG_$${CTYPE}" >>$(obj)include/config.h ; \
wdenk874ac262003-07-24 23:38:38 +00001818 fi; \
Marian Balakowiczd62379d2006-09-01 19:49:50 +02001819 echo "#define CONFIG_$${CFREQ}MHz" >>$(obj)include/config.h ; \
Wolfgang Denk111d6062008-01-02 15:54:45 +01001820 if [ "$${CACHE}" = "yes" ] ; then \
Marian Balakowiczd62379d2006-09-01 19:49:50 +02001821 echo "#define CONFIG_L2_CACHE" >>$(obj)include/config.h ; \
wdenk7ebf7442002-11-02 23:17:16 +00001822 else \
Marian Balakowiczd62379d2006-09-01 19:49:50 +02001823 echo "#undef CONFIG_L2_CACHE" >>$(obj)include/config.h ; \
wdenk874ac262003-07-24 23:38:38 +00001824 fi; \
Wolfgang Denk111d6062008-01-02 15:54:45 +01001825 if [ "$${BMODE}" = "60x" ] ; then \
Marian Balakowiczd62379d2006-09-01 19:49:50 +02001826 echo "#define CONFIG_BUSMODE_60x" >>$(obj)include/config.h ; \
wdenk874ac262003-07-24 23:38:38 +00001827 else \
Marian Balakowiczd62379d2006-09-01 19:49:50 +02001828 echo "#undef CONFIG_BUSMODE_60x" >>$(obj)include/config.h ; \
wdenk7ebf7442002-11-02 23:17:16 +00001829 fi
Wolfgang Denk625bd332010-05-27 23:18:33 +02001830 @$(MKCONFIG) -n $@ -a TQM8260 powerpc mpc8260 tqm8260 tqc
wdenk7ebf7442002-11-02 23:17:16 +00001831
Heiko Schocher3ec43662006-12-21 17:17:02 +01001832TQM8272_config: unconfig
Stefan Roese88fbf932010-04-15 16:07:28 +02001833 @$(MKCONFIG) TQM8272 powerpc mpc8260 tqm8272 tqc
Heiko Schocher3ec43662006-12-21 17:17:02 +01001834
wdenkc28149c2005-05-30 23:55:42 +00001835VoVPN-GW_66MHz_config \
1836VoVPN-GW_100MHz_config: unconfig
Marian Balakowiczd62379d2006-09-01 19:49:50 +02001837 @mkdir -p $(obj)include
1838 @echo "#define CONFIG_CLKIN_$(word 2,$(subst _, ,$@))" > $(obj)include/config.h
Wolfgang Denk625bd332010-05-27 23:18:33 +02001839 @$(MKCONFIG) -n $@ -a VoVPN-GW powerpc mpc8260 vovpn-gw funkwerk
wdenkc28149c2005-05-30 23:55:42 +00001840
wdenk2f0812d2003-10-08 22:45:44 +00001841ZPC1900_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001842 @$(MKCONFIG) $@ powerpc mpc8260 zpc1900
wdenk541a76d2003-05-03 15:50:43 +00001843
wdenkabf7a7c2003-12-08 01:34:36 +00001844#########################################################################
1845## Coldfire
1846#########################################################################
1847
Wolfgang Wegner406471c2010-01-25 11:27:44 +01001848astro_mcf5373l_config \
1849astro_mcf5373l_RAM_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001850 @$(MKCONFIG) -n $@ -t $@ astro_mcf5373l m68k mcf532x mcf5373l astro
Wolfgang Wegner406471c2010-01-25 11:27:44 +01001851
TsiChung Liewb354aef2009-06-12 11:29:00 +00001852M5208EVBE_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001853 @$(MKCONFIG) $@ m68k mcf52x2 m5208evbe freescale
TsiChung Liewb354aef2009-06-12 11:29:00 +00001854
TsiChung Liew39966e32008-10-21 15:37:02 +00001855M52277EVB_config \
1856M52277EVB_spansion_config \
1857M52277EVB_stmicro_config : unconfig
1858 @case "$@" in \
1859 M52277EVB_config) FLASH=SPANSION;; \
1860 M52277EVB_spansion_config) FLASH=SPANSION;; \
1861 M52277EVB_stmicro_config) FLASH=STMICRO;; \
1862 esac; \
1863 if [ "$${FLASH}" = "SPANSION" ] ; then \
1864 echo "#define CONFIG_SYS_SPANSION_BOOT" >> $(obj)include/config.h ; \
1865 echo "TEXT_BASE = 0x00000000" > $(obj)board/freescale/m52277evb/config.tmp ; \
1866 cp $(obj)board/freescale/m52277evb/u-boot.spa $(obj)board/freescale/m52277evb/u-boot.lds ; \
TsiChung Liew39966e32008-10-21 15:37:02 +00001867 fi; \
1868 if [ "$${FLASH}" = "STMICRO" ] ; then \
1869 echo "#define CONFIG_CF_SBF" >> $(obj)include/config.h ; \
1870 echo "#define CONFIG_SYS_STMICRO_BOOT" >> $(obj)include/config.h ; \
1871 echo "TEXT_BASE = 0x43E00000" > $(obj)board/freescale/m52277evb/config.tmp ; \
1872 cp $(obj)board/freescale/m52277evb/u-boot.stm $(obj)board/freescale/m52277evb/u-boot.lds ; \
TsiChung Liew39966e32008-10-21 15:37:02 +00001873 fi
Wolfgang Denk625bd332010-05-27 23:18:33 +02001874 @$(MKCONFIG) -n $@ -a M52277EVB m68k mcf5227x m52277evb freescale
TsiChungLiew99b037a2008-01-14 17:43:33 -06001875
TsiChungLiewb859ef12007-08-16 19:23:50 -05001876M5235EVB_config \
1877M5235EVB_Flash16_config \
1878M5235EVB_Flash32_config: unconfig
1879 @case "$@" in \
1880 M5235EVB_config) FLASH=16;; \
1881 M5235EVB_Flash16_config) FLASH=16;; \
1882 M5235EVB_Flash32_config) FLASH=32;; \
1883 esac; \
TsiChungLiewb859ef12007-08-16 19:23:50 -05001884 if [ "$${FLASH}" != "16" ] ; then \
Wolfgang Denk0a659ad2008-01-13 00:59:21 +01001885 echo "#define NORFLASH_PS32BIT 1" >> $(obj)include/config.h ; \
TsiChungLiewb859ef12007-08-16 19:23:50 -05001886 echo "TEXT_BASE = 0xFFC00000" > $(obj)board/freescale/m5235evb/config.tmp ; \
1887 cp $(obj)board/freescale/m5235evb/u-boot.32 $(obj)board/freescale/m5235evb/u-boot.lds ; \
1888 else \
1889 echo "TEXT_BASE = 0xFFE00000" > $(obj)board/freescale/m5235evb/config.tmp ; \
1890 cp $(obj)board/freescale/m5235evb/u-boot.16 $(obj)board/freescale/m5235evb/u-boot.lds ; \
1891 fi
Wolfgang Denk625bd332010-05-27 23:18:33 +02001892 @$(MKCONFIG) -n $@ -a M5235EVB m68k mcf523x m5235evb freescale
TsiChungLiewb859ef12007-08-16 19:23:50 -05001893
TsiChungLiewade32cd2007-08-16 05:04:31 -05001894M5249EVB_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001895 @$(MKCONFIG) $@ m68k mcf52x2 m5249evb freescale
TsiChungLiewade32cd2007-08-16 05:04:31 -05001896
TsiChung Liewdd8513c2008-07-23 17:11:47 -05001897M5253DEMO_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001898 @$(MKCONFIG) $@ m68k mcf52x2 m5253demo freescale
TsiChung Liewdd8513c2008-07-23 17:11:47 -05001899
TsiChungLiew34674692007-08-16 13:20:50 -05001900M5253EVBE_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001901 @$(MKCONFIG) $@ m68k mcf52x2 m5253evbe freescale
TsiChungLiew34674692007-08-16 13:20:50 -05001902
Wolfgang Denkaaa7c002005-12-12 16:06:05 +01001903cobra5272_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001904 @$(MKCONFIG) $@ m68k mcf52x2 cobra5272
Wolfgang Denkaaa7c002005-12-12 16:06:05 +01001905
Wolfgang Denkb4b1c462006-06-10 19:27:47 +02001906EB+MCF-EV123_config : unconfig
Marian Balakowiczd62379d2006-09-01 19:49:50 +02001907 @mkdir -p $(obj)include
1908 @mkdir -p $(obj)board/BuS/EB+MCF-EV123
Marian Balakowiczd62379d2006-09-01 19:49:50 +02001909 @echo "TEXT_BASE = 0xFFE00000"|tee $(obj)board/BuS/EB+MCF-EV123/textbase.mk
Wolfgang Denk625bd332010-05-27 23:18:33 +02001910 @$(MKCONFIG) -n $@ EB+MCF-EV123 m68k mcf52x2 EB+MCF-EV123 BuS
Wolfgang Denkb4b1c462006-06-10 19:27:47 +02001911
1912EB+MCF-EV123_internal_config : unconfig
Marian Balakowiczd62379d2006-09-01 19:49:50 +02001913 @mkdir -p $(obj)include
1914 @mkdir -p $(obj)board/BuS/EB+MCF-EV123
Marian Balakowiczd62379d2006-09-01 19:49:50 +02001915 @echo "TEXT_BASE = 0xF0000000"|tee $(obj)board/BuS/EB+MCF-EV123/textbase.mk
Wolfgang Denk625bd332010-05-27 23:18:33 +02001916 @$(MKCONFIG) -n $@ EB+MCF-EV123 m68k mcf52x2 EB+MCF-EV123 BuS
Wolfgang Denkb4b1c462006-06-10 19:27:47 +02001917
Michael Durranta4991f22010-01-20 19:33:02 -06001918EP2500_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001919 @$(MKCONFIG) $@ m68k mcf52x2 ep2500 Mercury
Michael Durranta4991f22010-01-20 19:33:02 -06001920
Bartlomiej Sieka8ff81c62006-12-20 00:27:32 +01001921idmr_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001922 @$(MKCONFIG) $@ m68k mcf52x2 idmr
Bartlomiej Sieka8ff81c62006-12-20 00:27:32 +01001923
Wolfgang Denkb4b1c462006-06-10 19:27:47 +02001924M5271EVB_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001925 @$(MKCONFIG) $@ m68k mcf52x2 m5271evb freescale
Wolfgang Denkb4b1c462006-06-10 19:27:47 +02001926
wdenkabf7a7c2003-12-08 01:34:36 +00001927M5272C3_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001928 @$(MKCONFIG) $@ m68k mcf52x2 m5272c3 freescale
wdenkabf7a7c2003-12-08 01:34:36 +00001929
Matthew Fettke9f3b3bb2008-01-24 14:02:32 -06001930M5275EVB_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001931 @$(MKCONFIG) $@ m68k mcf52x2 m5275evb freescale
Matthew Fettke9f3b3bb2008-01-24 14:02:32 -06001932
wdenkabf7a7c2003-12-08 01:34:36 +00001933M5282EVB_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001934 @$(MKCONFIG) $@ m68k mcf52x2 m5282evb freescale
wdenkabf7a7c2003-12-08 01:34:36 +00001935
TsiChung Liewe7e4fc82008-10-22 11:38:21 +00001936M53017EVB_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02001937 @$(MKCONFIG) $@ m68k mcf532x m53017evb freescale
TsiChung Liewe7e4fc82008-10-22 11:38:21 +00001938
TsiChung Liewf6afe722007-06-18 13:50:13 -05001939M5329AFEE_config \
1940M5329BFEE_config : unconfig
1941 @case "$@" in \
1942 M5329AFEE_config) NAND=0;; \
1943 M5329BFEE_config) NAND=16;; \
1944 esac; \
TsiChung Liewf6afe722007-06-18 13:50:13 -05001945 if [ "$${NAND}" != "0" ] ; then \
TsiChungLiewaedd3d72007-08-15 15:39:17 -05001946 echo "#define NANDFLASH_SIZE $${NAND}" > $(obj)include/config.h ; \
TsiChung Liewf6afe722007-06-18 13:50:13 -05001947 fi
Wolfgang Denk625bd332010-05-27 23:18:33 +02001948 @$(MKCONFIG) -n $@ -a M5329EVB m68k mcf532x m5329evb freescale
TsiChung Liewf6afe722007-06-18 13:50:13 -05001949
TsiChungLiew6f8a0a32008-01-14 17:23:08 -06001950M5373EVB_config : unconfig
1951 @case "$@" in \
1952 M5373EVB_config) NAND=16;; \
1953 esac; \
TsiChungLiew6f8a0a32008-01-14 17:23:08 -06001954 if [ "$${NAND}" != "0" ] ; then \
1955 echo "#define NANDFLASH_SIZE $${NAND}" > $(obj)include/config.h ; \
1956 fi
1957 @$(MKCONFIG) -a M5373EVB m68k mcf532x m5373evb freescale
1958
TsiChung Liew3cdc00a2008-08-11 13:41:49 +00001959M54451EVB_config \
TsiChung Liew3cdc00a2008-08-11 13:41:49 +00001960M54451EVB_stmicro_config : unconfig
1961 @case "$@" in \
TsiChung Liewb78c9882009-06-11 15:39:57 +00001962 M54451EVB_config) FLASH=NOR;; \
TsiChung Liew3cdc00a2008-08-11 13:41:49 +00001963 M54451EVB_stmicro_config) FLASH=STMICRO;; \
1964 esac; \
TsiChung Liewb78c9882009-06-11 15:39:57 +00001965 if [ "$${FLASH}" = "NOR" ] ; then \
TsiChung Liew3cdc00a2008-08-11 13:41:49 +00001966 echo "TEXT_BASE = 0x00000000" > $(obj)board/freescale/m54451evb/config.tmp ; \
1967 cp $(obj)board/freescale/m54451evb/u-boot.spa $(obj)board/freescale/m54451evb/u-boot.lds ; \
TsiChung Liew3cdc00a2008-08-11 13:41:49 +00001968 fi; \
1969 if [ "$${FLASH}" = "STMICRO" ] ; then \
1970 echo "#define CONFIG_CF_SBF" >> $(obj)include/config.h ; \
Jean-Christophe PLAGNIOL-VILLARD03836942008-10-16 15:01:15 +02001971 echo "#define CONFIG_SYS_STMICRO_BOOT" >> $(obj)include/config.h ; \
TsiChung Liew3cdc00a2008-08-11 13:41:49 +00001972 echo "TEXT_BASE = 0x47E00000" > $(obj)board/freescale/m54451evb/config.tmp ; \
1973 cp $(obj)board/freescale/m54451evb/u-boot.stm $(obj)board/freescale/m54451evb/u-boot.lds ; \
TsiChung Liew3cdc00a2008-08-11 13:41:49 +00001974 fi; \
Jean-Christophe PLAGNIOL-VILLARD03836942008-10-16 15:01:15 +02001975 echo "#define CONFIG_SYS_INPUT_CLKSRC 24000000" >> $(obj)include/config.h ;
Wolfgang Denk625bd332010-05-27 23:18:33 +02001976 @$(MKCONFIG) -n $@ -a M54451EVB m68k mcf5445x m54451evb freescale
TsiChung Liew3cdc00a2008-08-11 13:41:49 +00001977
TsiChungLiewfc3ca3b62007-08-16 15:05:11 -05001978M54455EVB_config \
1979M54455EVB_atmel_config \
1980M54455EVB_intel_config \
1981M54455EVB_a33_config \
1982M54455EVB_a66_config \
1983M54455EVB_i33_config \
TsiChung Liew23cf8fd2008-07-23 20:38:53 -05001984M54455EVB_i66_config \
1985M54455EVB_stm33_config : unconfig
TsiChungLiewfc3ca3b62007-08-16 15:05:11 -05001986 @case "$@" in \
1987 M54455EVB_config) FLASH=ATMEL; FREQ=33333333;; \
1988 M54455EVB_atmel_config) FLASH=ATMEL; FREQ=33333333;; \
1989 M54455EVB_intel_config) FLASH=INTEL; FREQ=33333333;; \
1990 M54455EVB_a33_config) FLASH=ATMEL; FREQ=33333333;; \
1991 M54455EVB_a66_config) FLASH=ATMEL; FREQ=66666666;; \
1992 M54455EVB_i33_config) FLASH=INTEL; FREQ=33333333;; \
1993 M54455EVB_i66_config) FLASH=INTEL; FREQ=66666666;; \
TsiChung Liew23cf8fd2008-07-23 20:38:53 -05001994 M54455EVB_stm33_config) FLASH=STMICRO; FREQ=33333333;; \
TsiChungLiewfc3ca3b62007-08-16 15:05:11 -05001995 esac; \
Wolfgang Denk111d6062008-01-02 15:54:45 +01001996 if [ "$${FLASH}" = "INTEL" ] ; then \
Jean-Christophe PLAGNIOL-VILLARD03836942008-10-16 15:01:15 +02001997 echo "#define CONFIG_SYS_INTEL_BOOT" >> $(obj)include/config.h ; \
TsiChungLiewd98a8d62007-10-25 17:16:22 -05001998 echo "TEXT_BASE = 0x00000000" > $(obj)board/freescale/m54455evb/config.tmp ; \
1999 cp $(obj)board/freescale/m54455evb/u-boot.int $(obj)board/freescale/m54455evb/u-boot.lds ; \
TsiChung Liew23cf8fd2008-07-23 20:38:53 -05002000 fi; \
2001 if [ "$${FLASH}" = "ATMEL" ] ; then \
Jean-Christophe PLAGNIOL-VILLARD03836942008-10-16 15:01:15 +02002002 echo "#define CONFIG_SYS_ATMEL_BOOT" >> $(obj)include/config.h ; \
TsiChungLiewd98a8d62007-10-25 17:16:22 -05002003 echo "TEXT_BASE = 0x04000000" > $(obj)board/freescale/m54455evb/config.tmp ; \
2004 cp $(obj)board/freescale/m54455evb/u-boot.atm $(obj)board/freescale/m54455evb/u-boot.lds ; \
TsiChungLiewfc3ca3b62007-08-16 15:05:11 -05002005 fi; \
TsiChung Liew23cf8fd2008-07-23 20:38:53 -05002006 if [ "$${FLASH}" = "STMICRO" ] ; then \
2007 echo "#define CONFIG_CF_SBF" >> $(obj)include/config.h ; \
Jean-Christophe PLAGNIOL-VILLARD03836942008-10-16 15:01:15 +02002008 echo "#define CONFIG_SYS_STMICRO_BOOT" >> $(obj)include/config.h ; \
TsiChung Liew23cf8fd2008-07-23 20:38:53 -05002009 echo "TEXT_BASE = 0x4FE00000" > $(obj)board/freescale/m54455evb/config.tmp ; \
2010 cp $(obj)board/freescale/m54455evb/u-boot.stm $(obj)board/freescale/m54455evb/u-boot.lds ; \
TsiChung Liew23cf8fd2008-07-23 20:38:53 -05002011 fi; \
Jean-Christophe PLAGNIOL-VILLARD03836942008-10-16 15:01:15 +02002012 echo "#define CONFIG_SYS_INPUT_CLKSRC $${FREQ}" >> $(obj)include/config.h ; \
Wolfgang Denk625bd332010-05-27 23:18:33 +02002013 @$(MKCONFIG) -n $@ -a M54455EVB m68k mcf5445x m54455evb freescale
TsiChungLiewfc3ca3b62007-08-16 15:05:11 -05002014
TsiChungLiew8cb946d2008-01-15 14:15:46 -06002015M5475AFE_config \
2016M5475BFE_config \
2017M5475CFE_config \
2018M5475DFE_config \
2019M5475EFE_config \
2020M5475FFE_config \
2021M5475GFE_config : unconfig
2022 @case "$@" in \
2023 M5475AFE_config) BOOT=2;CODE=0;VID=0;USB=0;RAM=64;RAM1=0;; \
2024 M5475BFE_config) BOOT=2;CODE=16;VID=0;USB=0;RAM=64;RAM1=0;; \
2025 M5475CFE_config) BOOT=2;CODE=16;VID=1;USB=1;RAM=64;RAM1=0;; \
2026 M5475DFE_config) BOOT=2;CODE=0;VID=0;USB=1;RAM=64;RAM1=0;; \
2027 M5475EFE_config) BOOT=2;CODE=0;VID=1;USB=1;RAM=64;RAM1=0;; \
2028 M5475FFE_config) BOOT=2;CODE=32;VID=1;USB=1;RAM=64;RAM1=64;; \
2029 M5475GFE_config) BOOT=4;CODE=0;VID=0;USB=0;RAM=64;RAM1=0;; \
2030 esac; \
Jean-Christophe PLAGNIOL-VILLARD03836942008-10-16 15:01:15 +02002031 echo "#define CONFIG_SYS_BUSCLK 133333333" > $(obj)include/config.h ; \
2032 echo "#define CONFIG_SYS_BOOTSZ $${BOOT}" >> $(obj)include/config.h ; \
2033 echo "#define CONFIG_SYS_DRAMSZ $${RAM}" >> $(obj)include/config.h ; \
TsiChungLiew8cb946d2008-01-15 14:15:46 -06002034 if [ "$${RAM1}" != "0" ] ; then \
Jean-Christophe PLAGNIOL-VILLARD03836942008-10-16 15:01:15 +02002035 echo "#define CONFIG_SYS_DRAMSZ1 $${RAM1}" >> $(obj)include/config.h ; \
TsiChungLiew8cb946d2008-01-15 14:15:46 -06002036 fi; \
2037 if [ "$${CODE}" != "0" ] ; then \
Jean-Christophe PLAGNIOL-VILLARD03836942008-10-16 15:01:15 +02002038 echo "#define CONFIG_SYS_NOR1SZ $${CODE}" >> $(obj)include/config.h ; \
TsiChungLiew8cb946d2008-01-15 14:15:46 -06002039 fi; \
2040 if [ "$${VID}" == "1" ] ; then \
Jean-Christophe PLAGNIOL-VILLARD03836942008-10-16 15:01:15 +02002041 echo "#define CONFIG_SYS_VIDEO" >> $(obj)include/config.h ; \
TsiChungLiew8cb946d2008-01-15 14:15:46 -06002042 fi; \
2043 if [ "$${USB}" == "1" ] ; then \
Jean-Christophe PLAGNIOL-VILLARD03836942008-10-16 15:01:15 +02002044 echo "#define CONFIG_SYS_USBCTRL" >> $(obj)include/config.h ; \
TsiChungLiew8cb946d2008-01-15 14:15:46 -06002045 fi
Wolfgang Denk625bd332010-05-27 23:18:33 +02002046 @$(MKCONFIG) -n $@ -a M5475EVB m68k mcf547x_8x m547xevb freescale
TsiChungLiew8cb946d2008-01-15 14:15:46 -06002047
2048M5485AFE_config \
2049M5485BFE_config \
2050M5485CFE_config \
2051M5485DFE_config \
2052M5485EFE_config \
2053M5485FFE_config \
2054M5485GFE_config \
2055M5485HFE_config : unconfig
2056 @case "$@" in \
2057 M5485AFE_config) BOOT=2;CODE=0;VID=0;USB=0;RAM=64;RAM1=0;; \
2058 M5485BFE_config) BOOT=2;CODE=16;VID=0;USB=0;RAM=64;RAM1=0;; \
2059 M5485CFE_config) BOOT=2;CODE=16;VID=1;USB=1;RAM=64;RAM1=0;; \
2060 M5485DFE_config) BOOT=2;CODE=0;VID=0;USB=1;RAM=64;RAM1=0;; \
2061 M5485EFE_config) BOOT=2;CODE=0;VID=1;USB=1;RAM=64;RAM1=0;; \
2062 M5485FFE_config) BOOT=2;CODE=32;VID=1;USB=1;RAM=64;RAM1=64;; \
2063 M5485GFE_config) BOOT=4;CODE=0;VID=0;USB=0;RAM=64;RAM1=0;; \
TsiChungLiew561db012008-01-30 15:08:15 -06002064 M5485HFE_config) BOOT=2;CODE=16;VID=1;USB=0;RAM=64;RAM1=0;; \
TsiChungLiew8cb946d2008-01-15 14:15:46 -06002065 esac; \
Jean-Christophe PLAGNIOL-VILLARD03836942008-10-16 15:01:15 +02002066 echo "#define CONFIG_SYS_BUSCLK 100000000" > $(obj)include/config.h ; \
2067 echo "#define CONFIG_SYS_BOOTSZ $${BOOT}" >> $(obj)include/config.h ; \
2068 echo "#define CONFIG_SYS_DRAMSZ $${RAM}" >> $(obj)include/config.h ; \
TsiChungLiew8cb946d2008-01-15 14:15:46 -06002069 if [ "$${RAM1}" != "0" ] ; then \
Jean-Christophe PLAGNIOL-VILLARD03836942008-10-16 15:01:15 +02002070 echo "#define CONFIG_SYS_DRAMSZ1 $${RAM1}" >> $(obj)include/config.h ; \
TsiChungLiew8cb946d2008-01-15 14:15:46 -06002071 fi; \
2072 if [ "$${CODE}" != "0" ] ; then \
Jean-Christophe PLAGNIOL-VILLARD03836942008-10-16 15:01:15 +02002073 echo "#define CONFIG_SYS_NOR1SZ $${CODE}" >> $(obj)include/config.h ; \
TsiChungLiew8cb946d2008-01-15 14:15:46 -06002074 fi; \
2075 if [ "$${VID}" == "1" ] ; then \
Jean-Christophe PLAGNIOL-VILLARD03836942008-10-16 15:01:15 +02002076 echo "#define CONFIG_SYS_VIDEO" >> $(obj)include/config.h ; \
TsiChungLiew8cb946d2008-01-15 14:15:46 -06002077 fi; \
2078 if [ "$${USB}" == "1" ] ; then \
Jean-Christophe PLAGNIOL-VILLARD03836942008-10-16 15:01:15 +02002079 echo "#define CONFIG_SYS_USBCTRL" >> $(obj)include/config.h ; \
TsiChungLiew8cb946d2008-01-15 14:15:46 -06002080 fi
Wolfgang Denk625bd332010-05-27 23:18:33 +02002081 @$(MKCONFIG) -n $@ -a M5485EVB m68k mcf547x_8x m548xevb freescale
TsiChungLiew8cb946d2008-01-15 14:15:46 -06002082
Wolfgang Denk28d8d702008-07-15 22:22:44 +02002083TASREG_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002084 @$(MKCONFIG) $@ m68k mcf52x2 tasreg esd
Wolfgang Denk28d8d702008-07-15 22:22:44 +02002085
wdenk7ebf7442002-11-02 23:17:16 +00002086#########################################################################
Eran Liberty9095d4a2005-07-28 10:08:46 -05002087## MPC83xx Systems
2088#########################################################################
2089
Heiko Schocher3f8dcb52008-11-20 09:57:47 +01002090kmeter1_config: unconfig
Stefan Roese88fbf932010-04-15 16:07:28 +02002091 @$(MKCONFIG) kmeter1 powerpc mpc83xx kmeter1 keymile
Heiko Schocher3f8dcb52008-11-20 09:57:47 +01002092
Kim Phillipsffc21c02007-04-25 12:34:38 -05002093MPC8313ERDB_33_config \
Scott Woodb71689b2008-06-30 14:13:28 -05002094MPC8313ERDB_66_config \
2095MPC8313ERDB_NAND_33_config \
2096MPC8313ERDB_NAND_66_config: unconfig
Wolfgang Denk4d5a8e32007-08-02 00:48:45 +02002097 @mkdir -p $(obj)include
Scott Woodb71689b2008-06-30 14:13:28 -05002098 @mkdir -p $(obj)board/freescale/mpc8313erdb
Wolfgang Denkeeb656c2008-03-09 02:13:19 +01002099 @if [ "$(findstring _33_,$@)" ] ; then \
Jean-Christophe PLAGNIOL-VILLARD03836942008-10-16 15:01:15 +02002100 echo "#define CONFIG_SYS_33MHZ" >>$(obj)include/config.h ; \
Kim Phillipsffc21c02007-04-25 12:34:38 -05002101 fi ; \
2102 if [ "$(findstring _66_,$@)" ] ; then \
Jean-Christophe PLAGNIOL-VILLARD03836942008-10-16 15:01:15 +02002103 echo "#define CONFIG_SYS_66MHZ" >>$(obj)include/config.h ; \
Scott Woodb71689b2008-06-30 14:13:28 -05002104 fi ; \
2105 if [ "$(findstring _NAND_,$@)" ] ; then \
Kim Phillips44f15e52008-08-25 14:53:09 -05002106 echo "TEXT_BASE = 0x00100000" > $(obj)board/freescale/mpc8313erdb/config.tmp ; \
Scott Woodb71689b2008-06-30 14:13:28 -05002107 echo "#define CONFIG_NAND_U_BOOT" >>$(obj)include/config.h ; \
Kim Phillipsffc21c02007-04-25 12:34:38 -05002108 fi ;
Nick Spence120097e2008-09-02 15:21:16 -05002109 @if [ "$(findstring _NAND_,$@)" ] ; then \
2110 echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk ; \
2111 fi ;
Wolfgang Denk625bd332010-05-27 23:18:33 +02002112 @$(MKCONFIG) -n $@ -a MPC8313ERDB powerpc mpc83xx mpc8313erdb freescale
Kim Phillipsffc21c02007-04-25 12:34:38 -05002113
Anton Vorontsovec821752009-11-24 20:12:12 +03002114MPC8315ERDB_NAND_config \
Dave Liu19b247e2008-01-11 18:48:24 +08002115MPC8315ERDB_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002116 @$(MKCONFIG) -n $@ -t $@ MPC8315ERDB powerpc mpc83xx mpc8315erdb freescale
Dave Liu19b247e2008-01-11 18:48:24 +08002117
Kim Phillipsb22fc902007-07-25 19:25:33 -05002118MPC8323ERDB_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002119 @$(MKCONFIG) $@ powerpc mpc83xx mpc8323erdb freescale
Kim Phillipsb22fc902007-07-25 19:25:33 -05002120
Kim Phillips2380d432007-01-24 17:18:37 -06002121MPC832XEMDS_config \
2122MPC832XEMDS_HOST_33_config \
2123MPC832XEMDS_HOST_66_config \
Tony Lic5c40d82007-10-18 17:47:19 +08002124MPC832XEMDS_SLAVE_config \
2125MPC832XEMDS_ATM_config: unconfig
Wolfgang Denk4d5a8e32007-08-02 00:48:45 +02002126 @mkdir -p $(obj)include
Wolfgang Denkeeb656c2008-03-09 02:13:19 +01002127 @if [ "$(findstring _HOST_,$@)" ] ; then \
Wolfgang Denk4d5a8e32007-08-02 00:48:45 +02002128 echo "#define CONFIG_PCI" >>$(obj)include/config.h ; \
Dave Liua46daea2006-11-03 19:33:44 -06002129 fi ; \
2130 if [ "$(findstring _SLAVE_,$@)" ] ; then \
Wolfgang Denk4d5a8e32007-08-02 00:48:45 +02002131 echo "#define CONFIG_PCI" >>$(obj)include/config.h ; \
2132 echo "#define CONFIG_PCISLAVE" >>$(obj)include/config.h ; \
Dave Liua46daea2006-11-03 19:33:44 -06002133 fi ; \
2134 if [ "$(findstring _33_,$@)" ] ; then \
Wolfgang Denk4d5a8e32007-08-02 00:48:45 +02002135 echo "#define PCI_33M" >>$(obj)include/config.h ; \
Tony Lic5c40d82007-10-18 17:47:19 +08002136 echo "#define CONFIG_PQ_MDS_PIB 1" >>$(obj)include/config.h ; \
Dave Liua46daea2006-11-03 19:33:44 -06002137 fi ; \
2138 if [ "$(findstring _66_,$@)" ] ; then \
Wolfgang Denk4d5a8e32007-08-02 00:48:45 +02002139 echo "#define PCI_66M" >>$(obj)include/config.h ; \
Tony Lic5c40d82007-10-18 17:47:19 +08002140 echo "#define CONFIG_PQ_MDS_PIB 1" >>$(obj)include/config.h ; \
2141 fi ; \
2142 if [ "$(findstring _ATM_,$@)" ] ; then \
Tony Lic5c40d82007-10-18 17:47:19 +08002143 echo "#define CONFIG_PQ_MDS_PIB 1" >>$(obj)include/config.h ; \
Wolfgang Denk19b68c42008-03-04 14:58:31 +01002144 echo "#define CONFIG_PQ_MDS_PIB_ATM 1" >>$(obj)include/config.h ; \
Dave Liua46daea2006-11-03 19:33:44 -06002145 fi ;
Wolfgang Denk625bd332010-05-27 23:18:33 +02002146 @$(MKCONFIG) -n $@ -a MPC832XEMDS powerpc mpc83xx mpc832xemds freescale
Marian Balakowicz513b4a12005-10-11 19:09:42 +02002147
Marian Balakowiczd7a3f722006-03-14 16:24:38 +01002148MPC8349EMDS_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002149 @$(MKCONFIG) $@ powerpc mpc83xx mpc8349emds freescale
Marian Balakowiczd7a3f722006-03-14 16:24:38 +01002150
Timur Tabi435e3a72007-01-31 15:54:29 -06002151MPC8349ITX_config \
2152MPC8349ITX_LOWBOOT_config \
2153MPC8349ITXGP_config: unconfig
2154 @mkdir -p $(obj)include
Sam Sparksb9e9a372007-09-14 11:14:42 -06002155 @mkdir -p $(obj)board/freescale/mpc8349itx
Timur Tabi435e3a72007-01-31 15:54:29 -06002156 @echo "#define CONFIG_$(subst _LOWBOOT,,$(@:_config=))" >> $(obj)include/config.h
2157 @if [ "$(findstring GP,$@)" ] ; then \
Sam Sparksb9e9a372007-09-14 11:14:42 -06002158 echo "TEXT_BASE = 0xFE000000" >$(obj)board/freescale/mpc8349itx/config.tmp ; \
Timur Tabi435e3a72007-01-31 15:54:29 -06002159 fi
2160 @if [ "$(findstring LOWBOOT,$@)" ] ; then \
Sam Sparksb9e9a372007-09-14 11:14:42 -06002161 echo "TEXT_BASE = 0xFE000000" >$(obj)board/freescale/mpc8349itx/config.tmp ; \
Timur Tabi435e3a72007-01-31 15:54:29 -06002162 fi
Wolfgang Denk625bd332010-05-27 23:18:33 +02002163 @$(MKCONFIG) -n $@ -a MPC8349ITX powerpc mpc83xx mpc8349itx freescale
Timur Tabi054838e2006-10-31 18:44:42 -06002164
Eran Liberty9095d4a2005-07-28 10:08:46 -05002165MPC8360EMDS_config \
wdenk9c53f402003-10-15 23:53:47 +00002166MPC8360EMDS_HOST_33_config \
2167MPC8360EMDS_HOST_66_config \
Tony Lic5c40d82007-10-18 17:47:19 +08002168MPC8360EMDS_SLAVE_config \
2169MPC8360EMDS_ATM_config: unconfig
Wolfgang Denk4d5a8e32007-08-02 00:48:45 +02002170 @mkdir -p $(obj)include
Wolfgang Denkeeb656c2008-03-09 02:13:19 +01002171 @if [ "$(findstring _HOST_,$@)" ] ; then \
Wolfgang Denk4d5a8e32007-08-02 00:48:45 +02002172 echo "#define CONFIG_PCI" >>$(obj)include/config.h ; \
Marian Balakowiczd62379d2006-09-01 19:49:50 +02002173 fi ; \
wdenk9c53f402003-10-15 23:53:47 +00002174 if [ "$(findstring _SLAVE_,$@)" ] ; then \
Wolfgang Denk4d5a8e32007-08-02 00:48:45 +02002175 echo "#define CONFIG_PCI" >>$(obj)include/config.h ; \
2176 echo "#define CONFIG_PCISLAVE" >>$(obj)include/config.h ; \
Lunsheng Wang61e61952005-07-29 10:20:29 -05002177 fi ; \
2178 if [ "$(findstring _33_,$@)" ] ; then \
Wolfgang Denk4d5a8e32007-08-02 00:48:45 +02002179 echo "#define PCI_33M" >>$(obj)include/config.h ; \
Tony Lic5c40d82007-10-18 17:47:19 +08002180 echo "#define CONFIG_PQ_MDS_PIB 1" >>$(obj)include/config.h ; \
Lunsheng Wang61e61952005-07-29 10:20:29 -05002181 fi ; \
2182 if [ "$(findstring _66_,$@)" ] ; then \
Wolfgang Denk4d5a8e32007-08-02 00:48:45 +02002183 echo "#define PCI_66M" >>$(obj)include/config.h ; \
Tony Lic5c40d82007-10-18 17:47:19 +08002184 echo "#define CONFIG_PQ_MDS_PIB 1" >>$(obj)include/config.h ; \
2185 fi ; \
2186 if [ "$(findstring _ATM_,$@)" ] ; then \
Tony Lic5c40d82007-10-18 17:47:19 +08002187 echo "#define CONFIG_PQ_MDS_PIB 1" >>$(obj)include/config.h ; \
Wolfgang Denk19b68c42008-03-04 14:58:31 +01002188 echo "#define CONFIG_PQ_MDS_PIB_ATM 1" >>$(obj)include/config.h ; \
Lunsheng Wang61e61952005-07-29 10:20:29 -05002189 fi ;
Wolfgang Denk625bd332010-05-27 23:18:33 +02002190 @$(MKCONFIG) -n $@ -a MPC8360EMDS powerpc mpc83xx mpc8360emds freescale
Lunsheng Wang61e61952005-07-29 10:20:29 -05002191
Anton Vorontsovb6678de2008-01-09 20:57:47 +03002192MPC8360ERDK_33_config \
2193MPC8360ERDK_66_config \
Jean-Christophe PLAGNIOL-VILLARDca0350e2008-03-02 16:12:31 +01002194MPC8360ERDK_config: unconfig
Anton Vorontsovb6678de2008-01-09 20:57:47 +03002195 @mkdir -p $(obj)include
Wolfgang Denkeeb656c2008-03-09 02:13:19 +01002196 @if [ "$(findstring _33_,$@)" ] ; then \
Anton Vorontsovb6678de2008-01-09 20:57:47 +03002197 echo "#define CONFIG_CLKIN_33MHZ" >>$(obj)include/config.h ;\
2198 fi ;
Wolfgang Denk625bd332010-05-27 23:18:33 +02002199 @$(MKCONFIG) -n $@ -a MPC8360ERDK powerpc mpc83xx mpc8360erdk freescale
Anton Vorontsovb6678de2008-01-09 20:57:47 +03002200
Dave Liub19ecd32007-09-18 12:37:57 +08002201MPC837XEMDS_config \
2202MPC837XEMDS_HOST_config: unconfig
2203 @mkdir -p $(obj)include
Wolfgang Denkeeb656c2008-03-09 02:13:19 +01002204 @if [ "$(findstring _HOST_,$@)" ] ; then \
Dave Liub19ecd32007-09-18 12:37:57 +08002205 echo "#define CONFIG_PCI" >>$(obj)include/config.h ; \
2206 fi ;
Wolfgang Denk625bd332010-05-27 23:18:33 +02002207 @$(MKCONFIG) -n $@ -a MPC837XEMDS powerpc mpc83xx mpc837xemds freescale
Dave Liub19ecd32007-09-18 12:37:57 +08002208
Kim Phillips1cb07e62008-01-16 00:38:05 -06002209MPC837XERDB_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002210 @$(MKCONFIG) $@ powerpc mpc83xx mpc837xerdb freescale
Kim Phillips1cb07e62008-01-16 00:38:05 -06002211
Andre Schwarzb2de4242008-06-10 09:14:05 +02002212MVBLM7_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002213 @$(MKCONFIG) $@ powerpc mpc83xx mvblm7 matrix_vision
Andre Schwarzb2de4242008-06-10 09:14:05 +02002214
Paul Gortmaker0aaee142009-08-21 16:21:58 -05002215sbc8349_config \
2216sbc8349_PCI_33_config \
2217sbc8349_PCI_66_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002218 @$(MKCONFIG) -n $@ -t $@ sbc8349 powerpc mpc83xx sbc8349
Kim Phillips2380d432007-01-24 17:18:37 -06002219
Ron Madrid9ff89b72009-01-22 15:05:24 -08002220SIMPC8313_LP_config \
2221SIMPC8313_SP_config: unconfig
2222 @mkdir -p $(obj)include
2223 @mkdir -p $(obj)board/sheldon/simpc8313
2224 @if [ "$(findstring _LP_,$@)" ] ; then \
Ron Madrid9ff89b72009-01-22 15:05:24 -08002225 echo "#define CONFIG_NAND_LP" >> $(obj)include/config.h ; \
2226 fi ; \
2227 if [ "$(findstring _SP_,$@)" ] ; then \
Ron Madrid9ff89b72009-01-22 15:05:24 -08002228 echo "#define CONFIG_NAND_SP" >> $(obj)include/config.h ; \
2229 fi ;
Ron Madrid9ff89b72009-01-22 15:05:24 -08002230 @echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk
Wolfgang Denk625bd332010-05-27 23:18:33 +02002231 @$(MKCONFIG) -n $@ -a SIMPC8313 powerpc mpc83xx simpc8313 sheldon
Ron Madrid9ff89b72009-01-22 15:05:24 -08002232
Kim Phillips2380d432007-01-24 17:18:37 -06002233TQM834x_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002234 @$(MKCONFIG) $@ powerpc mpc83xx tqm834x tqc
Kim Phillips2380d432007-01-24 17:18:37 -06002235
Reinhard Arlt63881352009-12-08 09:13:08 +01002236caddy2_config \
Reinhard Arlt46911792009-07-25 06:19:12 +02002237vme8349_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002238 @$(MKCONFIG) -n $@ -t $@ vme8349 powerpc mpc83xx vme8349 esd
Lunsheng Wang61e61952005-07-29 10:20:29 -05002239
Matthias Kaehlcke279437d2010-02-01 21:29:48 +01002240edb9301_config \
2241edb9302_config \
2242edb9302a_config \
2243edb9307_config \
2244edb9307a_config \
2245edb9312_config \
2246edb9315_config \
2247edb9315a_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002248 @$(MKCONFIG) -n $@ -t $@ edb93xx arm arm920t edb93xx NULL ep93xx
Matthias Kaehlcke279437d2010-02-01 21:29:48 +01002249
wdenk9c53f402003-10-15 23:53:47 +00002250#########################################################################
2251## MPC85xx Systems
2252#########################################################################
2253
robert lazarskia36f5552007-12-21 10:36:37 -05002254ATUM8548_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002255 @$(MKCONFIG) $@ powerpc mpc85xx atum8548
robert lazarskia36f5552007-12-21 10:36:37 -05002256
Mingkai Huc2a6dca2009-09-23 15:20:37 +08002257MPC8536DS_NAND_config \
Mingkai Hua74e3952009-09-23 15:20:38 +08002258MPC8536DS_SDCARD_config \
2259MPC8536DS_SPIFLASH_config \
Kumar Galaee1ca7e2009-07-30 15:54:07 -05002260MPC8536DS_36BIT_config \
Kumar Galafd83aa82008-07-25 13:31:05 -05002261MPC8536DS_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002262 @$(MKCONFIG) -n $@ -t $@ MPC8536DS powerpc mpc85xx mpc8536ds freescale
Kumar Galafd83aa82008-07-25 13:31:05 -05002263
wdenk9c53f402003-10-15 23:53:47 +00002264MPC8540ADS_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002265 @$(MKCONFIG) $@ powerpc mpc85xx mpc8540ads freescale
wdenk9c53f402003-10-15 23:53:47 +00002266
2267MPC8540EVAL_config \
Lunsheng Wang61e61952005-07-29 10:20:29 -05002268MPC8540EVAL_33_config \
2269MPC8540EVAL_66_config \
2270MPC8540EVAL_33_slave_config \
Wolfgang Denk625bd332010-05-27 23:18:33 +02002271MPC8540EVAL_66_slave_config: unconfig
Lunsheng Wang61e61952005-07-29 10:20:29 -05002272 @mkdir -p $(obj)include
Wolfgang Denk625bd332010-05-27 23:18:33 +02002273 @if [ -z "$(findstring _33_,$@)" ] ; then \
Lunsheng Wang61e61952005-07-29 10:20:29 -05002274 echo "#define CONFIG_SYSCLK_66M" >>$(obj)include/config.h ; \
Lunsheng Wang61e61952005-07-29 10:20:29 -05002275 fi ; \
2276 if [ "$(findstring _slave_,$@)" ] ; then \
2277 echo "#define CONFIG_PCI_SLAVE" >>$(obj)include/config.h ; \
Lunsheng Wang61e61952005-07-29 10:20:29 -05002278 fi
Wolfgang Denk625bd332010-05-27 23:18:33 +02002279 @$(MKCONFIG) -n $@ -a MPC8540EVAL powerpc mpc85xx mpc8540eval
Lunsheng Wang61e61952005-07-29 10:20:29 -05002280
wdenk13eb2212004-07-09 23:27:13 +00002281MPC8560ADS_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002282 @$(MKCONFIG) $@ powerpc mpc85xx mpc8560ads freescale
wdenk9c53f402003-10-15 23:53:47 +00002283
Randy Vinson1dfd6d92007-02-27 19:42:22 -07002284MPC8541CDS_legacy_config \
wdenk0aeb8532004-10-10 21:21:55 +00002285MPC8541CDS_config: unconfig
Randy Vinson1dfd6d92007-02-27 19:42:22 -07002286 @mkdir -p $(obj)include
Wolfgang Denkeeb656c2008-03-09 02:13:19 +01002287 @if [ "$(findstring _legacy_,$@)" ] ; then \
Randy Vinson1dfd6d92007-02-27 19:42:22 -07002288 echo "#define CONFIG_LEGACY" >>$(obj)include/config.h ; \
Randy Vinson1dfd6d92007-02-27 19:42:22 -07002289 fi
Wolfgang Denk625bd332010-05-27 23:18:33 +02002290 @$(MKCONFIG) -n $@ -a MPC8541CDS powerpc mpc85xx mpc8541cds freescale
wdenk0aeb8532004-10-10 21:21:55 +00002291
Andy Fleming2fffa052007-04-23 02:24:28 -05002292MPC8544DS_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002293 @$(MKCONFIG) $@ powerpc mpc85xx mpc8544ds freescale
Andy Fleming2fffa052007-04-23 02:24:28 -05002294
Randy Vinson1dfd6d92007-02-27 19:42:22 -07002295MPC8548CDS_legacy_config \
Jon Loeliger77a4f6e2005-07-25 14:05:07 -05002296MPC8548CDS_config: unconfig
Randy Vinson1dfd6d92007-02-27 19:42:22 -07002297 @mkdir -p $(obj)include
Wolfgang Denkeeb656c2008-03-09 02:13:19 +01002298 @if [ "$(findstring _legacy_,$@)" ] ; then \
Randy Vinson1dfd6d92007-02-27 19:42:22 -07002299 echo "#define CONFIG_LEGACY" >>$(obj)include/config.h ; \
Randy Vinson1dfd6d92007-02-27 19:42:22 -07002300 fi
Wolfgang Denk625bd332010-05-27 23:18:33 +02002301 @$(MKCONFIG) -n $@ -a MPC8548CDS powerpc mpc85xx mpc8548cds freescale
Jon Loeliger77a4f6e2005-07-25 14:05:07 -05002302
Randy Vinson1dfd6d92007-02-27 19:42:22 -07002303MPC8555CDS_legacy_config \
wdenk0aeb8532004-10-10 21:21:55 +00002304MPC8555CDS_config: unconfig
Randy Vinson1dfd6d92007-02-27 19:42:22 -07002305 @mkdir -p $(obj)include
Wolfgang Denkeeb656c2008-03-09 02:13:19 +01002306 @if [ "$(findstring _legacy_,$@)" ] ; then \
Randy Vinson1dfd6d92007-02-27 19:42:22 -07002307 echo "#define CONFIG_LEGACY" >>$(obj)include/config.h ; \
Randy Vinson1dfd6d92007-02-27 19:42:22 -07002308 fi
Wolfgang Denk625bd332010-05-27 23:18:33 +02002309 @$(MKCONFIG) -n $@ -a MPC8555CDS powerpc mpc85xx mpc8555cds freescale
wdenk78924a72004-04-18 21:45:42 +00002310
Andy Fleming71706df2007-04-23 02:54:25 -05002311MPC8568MDS_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002312 @$(MKCONFIG) $@ powerpc mpc85xx mpc8568mds freescale
Andy Fleming71706df2007-04-23 02:54:25 -05002313
Liu Yu06f0ebe2009-11-27 15:31:52 +08002314MPC8569MDS_ATM_config \
Liu Yu2639e512010-01-18 19:03:28 +08002315MPC8569MDS_NAND_config \
Haiying Wangbd255372009-03-27 17:02:45 -04002316MPC8569MDS_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002317 @$(MKCONFIG) -n $@ -t $@ MPC8569MDS powerpc mpc85xx mpc8569mds freescale
Haiying Wangbd255372009-03-27 17:02:45 -04002318
Kumar Galae0f97412009-01-23 14:22:14 -06002319MPC8572DS_36BIT_config \
Kumar Gala3ab0b2d2008-08-12 11:13:08 -05002320MPC8572DS_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002321 @$(MKCONFIG) -n $@ -t $@ MPC8572DS powerpc mpc85xx mpc8572ds freescale
Kumar Gala3ab0b2d2008-08-12 11:13:08 -05002322
Srikanth Srinivasan949a2d52009-04-03 15:36:13 -05002323P2020DS_36BIT_config \
2324P2020DS_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002325 @$(MKCONFIG) -n $@ -t $@ P2020DS powerpc mpc85xx p2020ds freescale
Srikanth Srinivasan949a2d52009-04-03 15:36:13 -05002326
Kumar Gala5b62efc2009-09-10 16:31:53 -05002327P1011RDB_config \
Dipen Dudhate98a3fc2009-10-08 13:33:18 +05302328P1011RDB_NAND_config \
Dipen Dudhat529e5fd2009-10-08 13:33:29 +05302329P1011RDB_SDCARD_config \
2330P1011RDB_SPIFLASH_config \
Kumar Gala5b62efc2009-09-10 16:31:53 -05002331P1020RDB_config \
Dipen Dudhate98a3fc2009-10-08 13:33:18 +05302332P1020RDB_NAND_config \
Dipen Dudhat529e5fd2009-10-08 13:33:29 +05302333P1020RDB_SDCARD_config \
2334P1020RDB_SPIFLASH_config \
Kumar Gala5b62efc2009-09-10 16:31:53 -05002335P2010RDB_config \
Dipen Dudhate98a3fc2009-10-08 13:33:18 +05302336P2010RDB_NAND_config \
Dipen Dudhat529e5fd2009-10-08 13:33:29 +05302337P2010RDB_SDCARD_config \
2338P2010RDB_SPIFLASH_config \
Dipen Dudhate98a3fc2009-10-08 13:33:18 +05302339P2020RDB_config \
Dipen Dudhat529e5fd2009-10-08 13:33:29 +05302340P2020RDB_NAND_config \
2341P2020RDB_SDCARD_config \
2342P2020RDB_SPIFLASH_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002343 @$(MKCONFIG) -n $@ -t $@ P1_P2_RDB powerpc mpc85xx p1_p2_rdb freescale
Poonam Aggrwal987862c2009-08-05 13:29:24 +05302344
wdenk6d3c6d12005-04-03 22:35:21 +00002345PM854_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002346 @$(MKCONFIG) $@ powerpc mpc85xx pm854
wdenk6d3c6d12005-04-03 22:35:21 +00002347
Wolfgang Denk9733b3c2005-08-05 12:19:30 +02002348PM856_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002349 @$(MKCONFIG) $@ powerpc mpc85xx pm856
Wolfgang Denk9733b3c2005-08-05 12:19:30 +02002350
wdenkadf849c2004-10-10 22:44:24 +00002351sbc8540_config \
2352sbc8540_33_config \
2353sbc8540_66_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002354 @$(MKCONFIG) -n $@ -t $@ SBC8540 powerpc mpc85xx sbc8560
wdenkadf849c2004-10-10 22:44:24 +00002355
Paul Gortmakerf5c69a52009-09-20 20:36:06 -04002356sbc8548_config \
2357sbc8548_PCI_33_config \
2358sbc8548_PCI_66_config \
2359sbc8548_PCI_33_PCIE_config \
2360sbc8548_PCI_66_PCIE_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002361 @$(MKCONFIG) -n $@ -t $@ sbc8548 powerpc mpc85xx sbc8548
Joe Hammanccefae42007-12-13 06:45:08 -06002362
wdenk265d2172004-07-10 22:35:59 +00002363sbc8560_config \
2364sbc8560_33_config \
Wolfgang Denk19b68c42008-03-04 14:58:31 +01002365sbc8560_66_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002366 @$(MKCONFIG) -n $@ -t $@ sbc8560 powerpc mpc85xx sbc8560
wdenk3203c8f2004-07-10 21:45:47 +00002367
Sergei Poselenovf2bf96c2008-04-30 11:42:50 +02002368socrates_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002369 @$(MKCONFIG) $@ powerpc mpc85xx socrates
Sergei Poselenovf2bf96c2008-04-30 11:42:50 +02002370
wdenk0aeb8532004-10-10 21:21:55 +00002371stxgp3_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002372 @$(MKCONFIG) $@ powerpc mpc85xx stxgp3 stx
wdenk0aeb8532004-10-10 21:21:55 +00002373
Wolfgang Denk5b9a5d82007-05-31 17:20:09 +02002374stxssa_config \
2375stxssa_4M_config: unconfig
2376 @mkdir -p $(obj)include
2377 @if [ "$(findstring _4M_,$@)" ] ; then \
2378 echo "#define CONFIG_STXSSA_4M" >>$(obj)include/config.h ; \
Wolfgang Denk5b9a5d82007-05-31 17:20:09 +02002379 fi
Wolfgang Denk625bd332010-05-27 23:18:33 +02002380 @$(MKCONFIG) -n $@ -a stxssa powerpc mpc85xx stxssa stx
Dan Malek6acf0482007-01-05 09:15:34 +01002381
Stefan Roese09554022005-11-30 13:06:40 +01002382TQM8540_config \
2383TQM8541_config \
Wolfgang Grandegger328c6ec2008-06-05 13:12:07 +02002384TQM8548_config \
Wolfgang Grandegger7ebcfec2009-02-11 18:38:22 +01002385TQM8548_AG_config \
Wolfgang Grandeggere85bbc62009-02-11 18:38:21 +01002386TQM8548_BE_config \
Stefan Roese09554022005-11-30 13:06:40 +01002387TQM8555_config \
2388TQM8560_config: unconfig
Marian Balakowiczd62379d2006-09-01 19:49:50 +02002389 @mkdir -p $(obj)include
Wolfgang Grandeggere85bbc62009-02-11 18:38:21 +01002390 @BTYPE=$(@:_config=); \
Wolfgang Grandegger7ebcfec2009-02-11 18:38:22 +01002391 CTYPE=$(subst TQM,,$(subst _AG,,$(subst _BE,,$(@:_config=)))); \
Marian Balakowiczd62379d2006-09-01 19:49:50 +02002392 echo "#define CONFIG_MPC$${CTYPE}">>$(obj)include/config.h; \
Wolfgang Grandeggere85bbc62009-02-11 18:38:21 +01002393 echo "#define CONFIG_$${BTYPE}">>$(obj)include/config.h; \
Marian Balakowiczd62379d2006-09-01 19:49:50 +02002394 echo "#define CONFIG_HOSTNAME tqm$${CTYPE}">>$(obj)include/config.h; \
Wolfgang Grandeggere85bbc62009-02-11 18:38:21 +01002395 echo "#define CONFIG_BOARDNAME \"$${BTYPE}\"">>$(obj)include/config.h;
Wolfgang Grandeggere85bbc62009-02-11 18:38:21 +01002396 @echo "CONFIG_$(@:_config=) = y">>$(obj)include/config.mk;
Wolfgang Denk625bd332010-05-27 23:18:33 +02002397 @$(MKCONFIG) -n $@ -a TQM85xx powerpc mpc85xx tqm85xx tqc
wdenk8e5263c2005-04-05 16:26:47 +00002398
Peter Tyser59b5fdf2008-12-01 13:47:13 -06002399XPEDITE5200_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002400 @$(MKCONFIG) $@ powerpc mpc85xx xpedite5200 xes
Peter Tyser59b5fdf2008-12-01 13:47:13 -06002401
Peter Tyser1c2b3292008-12-17 16:36:23 -06002402XPEDITE5370_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002403 @$(MKCONFIG) $@ powerpc mpc85xx xpedite5370 xes
Peter Tyser1c2b3292008-12-17 16:36:23 -06002404
wdenk9c53f402003-10-15 23:53:47 +00002405#########################################################################
Jon Loeliger5c8aa972006-04-26 17:58:56 -05002406## MPC86xx Systems
2407#########################################################################
2408
Jon Loeligeredf4bc62007-10-16 15:27:43 -05002409MPC8610HPCD_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002410 @$(MKCONFIG) $@ powerpc mpc86xx mpc8610hpcd freescale
Jon Loeligeredf4bc62007-10-16 15:27:43 -05002411
Becky Brucef4a865c2008-11-06 13:04:09 -06002412MPC8641HPCN_36BIT_config \
Jon Loeliger5c8aa972006-04-26 17:58:56 -05002413MPC8641HPCN_config: unconfig
Becky Brucef4a865c2008-11-06 13:04:09 -06002414 @mkdir -p $(obj)include
2415 @if [ "$(findstring _36BIT_,$@)" ] ; then \
2416 echo "#define CONFIG_PHYS_64BIT" >>$(obj)include/config.h ; \
Becky Brucef4a865c2008-11-06 13:04:09 -06002417 fi
Wolfgang Denk625bd332010-05-27 23:18:33 +02002418 @$(MKCONFIG) -n $@ -a MPC8641HPCN powerpc mpc86xx mpc8641hpcn freescale
Jon Loeliger5c8aa972006-04-26 17:58:56 -05002419
Joe Hamman1bab0b02007-08-09 15:11:03 -05002420sbc8641d_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002421 @$(MKCONFIG) $@ powerpc mpc86xx sbc8641d
Jon Loeliger5c8aa972006-04-26 17:58:56 -05002422
Peter Tyseredb9d592009-06-30 17:26:01 -05002423XPEDITE5170_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002424 @$(MKCONFIG) $@ powerpc mpc86xx xpedite5170 xes
Peter Tyseredb9d592009-06-30 17:26:01 -05002425
Jon Loeliger5c8aa972006-04-26 17:58:56 -05002426#########################################################################
wdenk7ebf7442002-11-02 23:17:16 +00002427## 74xx/7xx Systems
2428#########################################################################
2429
wdenk452cfd62002-11-19 11:04:11 +00002430AmigaOneG3SE_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002431 @$(MKCONFIG) $@ powerpc 74xx_7xx AmigaOneG3SE MAI
wdenk452cfd62002-11-19 11:04:11 +00002432
wdenk9f837932003-10-09 19:00:25 +00002433BAB7xx_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002434 @$(MKCONFIG) $@ powerpc 74xx_7xx bab7xx eltec
wdenk9f837932003-10-09 19:00:25 +00002435
Wolfgang Denkba930932007-10-21 01:01:17 +02002436CPCI750_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002437 @$(MKCONFIG) $@ powerpc 74xx_7xx cpci750 esd
stroese05b88912004-12-16 18:44:40 +00002438
Wolfgang Denkba930932007-10-21 01:01:17 +02002439DB64360_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002440 @$(MKCONFIG) $@ powerpc 74xx_7xx db64360 Marvell
wdenk5da7f2f2004-01-03 00:43:19 +00002441
Wolfgang Denkba930932007-10-21 01:01:17 +02002442DB64460_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002443 @$(MKCONFIG) $@ powerpc 74xx_7xx db64460 Marvell
wdenk5da7f2f2004-01-03 00:43:19 +00002444
wdenk9f837932003-10-09 19:00:25 +00002445ELPPC_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002446 @$(MKCONFIG) $@ powerpc 74xx_7xx elppc eltec
wdenk9f837932003-10-09 19:00:25 +00002447
wdenk7ebf7442002-11-02 23:17:16 +00002448EVB64260_config \
2449EVB64260_750CX_config: unconfig
Wolfgang Denk625bd332010-05-27 23:18:33 +02002450 @$(MKCONFIG) -n $@ EVB64260 powerpc 74xx_7xx evb64260
wdenk7ebf7442002-11-02 23:17:16 +00002451
roy zangd136d662006-11-02 18:49:51 +08002452mpc7448hpc2_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002453 @$(MKCONFIG) $@ powerpc 74xx_7xx mpc7448hpc2 freescale
roy zangd136d662006-11-02 18:49:51 +08002454
wdenk9f837932003-10-09 19:00:25 +00002455P3G4_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002456 @$(MKCONFIG) $@ powerpc 74xx_7xx evb64260
wdenk7ebf7442002-11-02 23:17:16 +00002457
Stefan Roese45993ea2006-11-29 15:42:37 +01002458p3m750_config \
2459p3m7448_config: unconfig
2460 @mkdir -p $(obj)include
2461 @if [ "$(findstring 750_,$@)" ] ; then \
2462 echo "#define CONFIG_P3M750" >>$(obj)include/config.h ; \
2463 else \
2464 echo "#define CONFIG_P3M7448" >>$(obj)include/config.h ; \
2465 fi
Wolfgang Denk625bd332010-05-27 23:18:33 +02002466 @$(MKCONFIG) -n $@ -a p3mx powerpc 74xx_7xx p3mx prodrive
Stefan Roese45993ea2006-11-29 15:42:37 +01002467
wdenk7ebf7442002-11-02 23:17:16 +00002468PCIPPC2_config \
2469PCIPPC6_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002470 @$(MKCONFIG) -n $@ $@ powerpc 74xx_7xx pcippc2
wdenk7ebf7442002-11-02 23:17:16 +00002471
Heiko Schocherd7f77fb2006-06-19 11:02:41 +02002472ppmc7xx_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002473 @$(MKCONFIG) $@ powerpc 74xx_7xx ppmc7xx
Wolfgang Denkba940932006-07-19 13:50:38 +02002474
Wolfgang Denk28d8d702008-07-15 22:22:44 +02002475ZUMA_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002476 @$(MKCONFIG) $@ powerpc 74xx_7xx evb64260
Wolfgang Denk28d8d702008-07-15 22:22:44 +02002477
wdenk7ebf7442002-11-02 23:17:16 +00002478#========================================================================
2479# ARM
2480#========================================================================
2481#########################################################################
2482## StrongARM Systems
2483#########################################################################
2484
wdenke5cda752004-04-15 23:23:39 +00002485assabet_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002486 @$(MKCONFIG) $@ arm sa1100 assabet
wdenke5cda752004-04-15 23:23:39 +00002487
wdenk7ebf7442002-11-02 23:17:16 +00002488dnp1110_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002489 @$(MKCONFIG) $@ arm sa1100 dnp1110
wdenk7ebf7442002-11-02 23:17:16 +00002490
wdenked2ac4b2004-03-14 18:23:55 +00002491gcplus_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002492 @$(MKCONFIG) $@ arm sa1100 gcplus
wdenked2ac4b2004-03-14 18:23:55 +00002493
2494lart_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002495 @$(MKCONFIG) $@ arm sa1100 lart
wdenked2ac4b2004-03-14 18:23:55 +00002496
wdenk7ebf7442002-11-02 23:17:16 +00002497shannon_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002498 @$(MKCONFIG) $@ arm sa1100 shannon
wdenk7ebf7442002-11-02 23:17:16 +00002499
2500#########################################################################
wdenkf6f96f72003-07-15 20:04:06 +00002501## ARM92xT Systems
wdenk7ebf7442002-11-02 23:17:16 +00002502#########################################################################
2503
Po-Yu Chuang5614a4d2009-11-11 17:27:30 +08002504a320evb_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002505 @$(MKCONFIG) $@ arm arm920t a320evb faraday a320
Po-Yu Chuang5614a4d2009-11-11 17:27:30 +08002506
Ulf Samuelsson1c5fdbf2008-04-12 20:56:03 +02002507#########################################################################
2508## Atmel AT91RM9200 Systems
2509#########################################################################
Stelian Pop6c939742008-01-20 19:49:21 +00002510
wdenk91fcc952005-04-06 13:52:31 +00002511at91rm9200dk_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002512 @$(MKCONFIG) $@ arm arm920t at91rm9200dk atmel at91rm9200
wdenk91fcc952005-04-06 13:52:31 +00002513
Ulf Samuelsson07f9b4e2009-03-27 23:26:43 +01002514at91rm9200ek_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002515 @$(MKCONFIG) $@ arm arm920t at91rm9200ek atmel at91rm9200
Ulf Samuelsson07f9b4e2009-03-27 23:26:43 +01002516
wdenk91fcc952005-04-06 13:52:31 +00002517cmc_pu2_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002518 @$(MKCONFIG) $@ arm arm920t cmc_pu2 NULL at91rm9200
wdenk91fcc952005-04-06 13:52:31 +00002519
Tom Rix3db7af72009-09-27 07:47:24 -05002520CPUAT91_RAM_config \
2521CPUAT91_config : unconfig
2522 @mkdir -p $(obj)include
2523 @echo "#define CONFIG_$(@:_config=) 1" >$(obj)include/config.h
Wolfgang Denk625bd332010-05-27 23:18:33 +02002524 @$(MKCONFIG) -n $@ -a cpuat91 arm arm920t cpuat91 eukrea at91rm9200
Tom Rix3db7af72009-09-27 07:47:24 -05002525
Wolfgang Denke35470b2005-10-05 02:00:09 +02002526csb637_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002527 @$(MKCONFIG) $@ arm arm920t csb637 NULL at91rm9200
Wolfgang Denke35470b2005-10-05 02:00:09 +02002528
Jens Scharsigaeceb502010-02-03 22:48:09 +01002529eb_cpux9k2_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002530 @$(MKCONFIG) $@ arm arm920t eb_cpux9k2 BuS at91
Jens Scharsigaeceb502010-02-03 22:48:09 +01002531
Ulf Samuelsson1c5fdbf2008-04-12 20:56:03 +02002532kb9202_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002533 @$(MKCONFIG) $@ arm arm920t kb9202 NULL at91rm9200
Ulf Samuelsson1c5fdbf2008-04-12 20:56:03 +02002534
Timo Tuunainen7174cc02008-02-01 10:09:03 +00002535m501sk_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002536 @$(MKCONFIG) $@ arm arm920t m501sk NULL at91rm9200
Wolfgang Denkadf20a12005-09-25 01:48:28 +02002537
Wolfgang Denk28d8d702008-07-15 22:22:44 +02002538mp2usb_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002539 @$(MKCONFIG) $@ arm arm920t mp2usb NULL at91rm9200
Wolfgang Denk28d8d702008-07-15 22:22:44 +02002540
Ulf Samuelsson1c5fdbf2008-04-12 20:56:03 +02002541#########################################################################
Matthias Weisseraea03572010-01-18 10:58:13 +01002542## ARM926EJ-S Systems
Ulf Samuelsson1c5fdbf2008-04-12 20:56:03 +02002543#########################################################################
2544
Sergey Lapin77e524c2008-10-31 12:28:43 +01002545afeb9260_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002546 @$(MKCONFIG) $@ arm arm926ejs afeb9260 NULL at91
Sergey Lapin77e524c2008-10-31 12:28:43 +01002547
Ulf Samuelsson1c5fdbf2008-04-12 20:56:03 +02002548at91cap9adk_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002549 @$(MKCONFIG) $@ arm arm926ejs at91cap9adk atmel at91
Ulf Samuelsson1c5fdbf2008-04-12 20:56:03 +02002550
Nicolas Ferre09e10902008-12-06 13:11:14 +01002551at91sam9260ek_nandflash_config \
2552at91sam9260ek_dataflash_cs0_config \
2553at91sam9260ek_dataflash_cs1_config \
Nicolas Ferre4ef545e2009-03-22 14:48:16 +01002554at91sam9260ek_config \
2555at91sam9g20ek_nandflash_config \
2556at91sam9g20ek_dataflash_cs0_config \
2557at91sam9g20ek_dataflash_cs1_config \
2558at91sam9g20ek_config : unconfig
Jean-Christophe PLAGNIOL-VILLARDe7f5aab2009-01-03 17:22:24 +01002559 @mkdir -p $(obj)include
Nicolas Ferre4ef545e2009-03-22 14:48:16 +01002560 @if [ "$(findstring 9g20,$@)" ] ; then \
2561 echo "#define CONFIG_AT91SAM9G20EK 1" >>$(obj)include/config.h ; \
Nicolas Ferre4ef545e2009-03-22 14:48:16 +01002562 else \
2563 echo "#define CONFIG_AT91SAM9260EK 1" >>$(obj)include/config.h ; \
2564 fi;
Nicolas Ferre09e10902008-12-06 13:11:14 +01002565 @if [ "$(findstring _nandflash,$@)" ] ; then \
2566 echo "#define CONFIG_SYS_USE_NANDFLASH 1" >>$(obj)include/config.h ; \
Nicolas Ferre09e10902008-12-06 13:11:14 +01002567 elif [ "$(findstring dataflash_cs0,$@)" ] ; then \
2568 echo "#define CONFIG_SYS_USE_DATAFLASH_CS0 1" >>$(obj)include/config.h ; \
Nicolas Ferre09e10902008-12-06 13:11:14 +01002569 else \
2570 echo "#define CONFIG_SYS_USE_DATAFLASH_CS1 1" >>$(obj)include/config.h ; \
Nicolas Ferre09e10902008-12-06 13:11:14 +01002571 fi;
Wolfgang Denk625bd332010-05-27 23:18:33 +02002572 @$(MKCONFIG) -n $@ -a at91sam9260ek arm arm926ejs at91sam9260ek atmel at91
Ulf Samuelsson1c5fdbf2008-04-12 20:56:03 +02002573
Nicolas Ferreca5bfc12009-01-06 21:13:14 +01002574at91sam9xeek_nandflash_config \
2575at91sam9xeek_dataflash_cs0_config \
2576at91sam9xeek_dataflash_cs1_config \
2577at91sam9xeek_config : unconfig
2578 @mkdir -p $(obj)include
2579 @if [ "$(findstring _nandflash,$@)" ] ; then \
2580 echo "#define CONFIG_SYS_USE_NANDFLASH 1" >>$(obj)include/config.h ; \
Nicolas Ferreca5bfc12009-01-06 21:13:14 +01002581 elif [ "$(findstring dataflash_cs0,$@)" ] ; then \
2582 echo "#define CONFIG_SYS_USE_DATAFLASH_CS0 1" >>$(obj)include/config.h ; \
Nicolas Ferreca5bfc12009-01-06 21:13:14 +01002583 else \
2584 echo "#define CONFIG_SYS_USE_DATAFLASH_CS1 1" >>$(obj)include/config.h ; \
Nicolas Ferreca5bfc12009-01-06 21:13:14 +01002585 fi;
Wolfgang Denk625bd332010-05-27 23:18:33 +02002586 @$(MKCONFIG) -n $@ -a at91sam9260ek arm arm926ejs at91sam9260ek atmel at91
Nicolas Ferreca5bfc12009-01-06 21:13:14 +01002587
Nicolas Ferre09e10902008-12-06 13:11:14 +01002588at91sam9261ek_nandflash_config \
2589at91sam9261ek_dataflash_cs0_config \
2590at91sam9261ek_dataflash_cs3_config \
Sedji Gaouaou97a031b2009-06-25 17:04:15 +02002591at91sam9261ek_config \
2592at91sam9g10ek_nandflash_config \
2593at91sam9g10ek_dataflash_cs0_config \
2594at91sam9g10ek_dataflash_cs3_config \
2595at91sam9g10ek_config : unconfig
Jean-Christophe PLAGNIOL-VILLARDe7f5aab2009-01-03 17:22:24 +01002596 @mkdir -p $(obj)include
Sedji Gaouaou97a031b2009-06-25 17:04:15 +02002597 @if [ "$(findstring 9g10,$@)" ] ; then \
2598 echo "#define CONFIG_AT91SAM9G10EK 1" >>$(obj)include/config.h ; \
Sedji Gaouaou97a031b2009-06-25 17:04:15 +02002599 else \
2600 echo "#define CONFIG_AT91SAM9261EK 1" >>$(obj)include/config.h ; \
2601 fi;
Nicolas Ferre09e10902008-12-06 13:11:14 +01002602 @if [ "$(findstring _nandflash,$@)" ] ; then \
2603 echo "#define CONFIG_SYS_USE_NANDFLASH 1" >>$(obj)include/config.h ; \
Sedji Gaouaou97a031b2009-06-25 17:04:15 +02002604 elif [ "$(findstring dataflash_cs0,$@)" ] ; then \
Nicolas Ferre09e10902008-12-06 13:11:14 +01002605 echo "#define CONFIG_SYS_USE_DATAFLASH_CS3 1" >>$(obj)include/config.h ; \
Nicolas Ferre09e10902008-12-06 13:11:14 +01002606 else \
2607 echo "#define CONFIG_SYS_USE_DATAFLASH_CS0 1" >>$(obj)include/config.h ; \
Nicolas Ferre09e10902008-12-06 13:11:14 +01002608 fi;
Wolfgang Denk625bd332010-05-27 23:18:33 +02002609 @$(MKCONFIG) -n $@ -a at91sam9261ek arm arm926ejs at91sam9261ek atmel at91
Jean-Christophe PLAGNIOL-VILLARDc804eb22008-11-01 10:47:59 +01002610
Jean-Christophe PLAGNIOL-VILLARD32774732009-06-13 12:48:36 +02002611at91sam9263ek_norflash_config \
2612at91sam9263ek_norflash_boot_config \
Nicolas Ferre09e10902008-12-06 13:11:14 +01002613at91sam9263ek_nandflash_config \
2614at91sam9263ek_dataflash_config \
2615at91sam9263ek_dataflash_cs0_config \
Jean-Christophe PLAGNIOL-VILLARDc804eb22008-11-01 10:47:59 +01002616at91sam9263ek_config : unconfig
Jean-Christophe PLAGNIOL-VILLARDe7f5aab2009-01-03 17:22:24 +01002617 @mkdir -p $(obj)include
Nicolas Ferre09e10902008-12-06 13:11:14 +01002618 @if [ "$(findstring _nandflash,$@)" ] ; then \
2619 echo "#define CONFIG_SYS_USE_NANDFLASH 1" >>$(obj)include/config.h ; \
Jean-Christophe PLAGNIOL-VILLARD32774732009-06-13 12:48:36 +02002620 elif [ "$(findstring norflash,$@)" ] ; then \
2621 echo "#define CONFIG_SYS_USE_NORFLASH 1" >>$(obj)include/config.h ; \
Nicolas Ferre09e10902008-12-06 13:11:14 +01002622 else \
2623 echo "#define CONFIG_SYS_USE_DATAFLASH 1" >>$(obj)include/config.h ; \
Nicolas Ferre09e10902008-12-06 13:11:14 +01002624 fi;
Jean-Christophe PLAGNIOL-VILLARD32774732009-06-13 12:48:36 +02002625 @if [ "$(findstring norflash_boot,$@)" ] ; then \
2626 echo "#define CONFIG_SYS_USE_BOOT_NORFLASH 1" >>$(obj)include/config.h ; \
Jean-Christophe PLAGNIOL-VILLARD32774732009-06-13 12:48:36 +02002627 fi;
Wolfgang Denk625bd332010-05-27 23:18:33 +02002628 @$(MKCONFIG) -n $@ -a at91sam9263ek arm arm926ejs at91sam9263ek atmel at91
Jean-Christophe PLAGNIOL-VILLARDc804eb22008-11-01 10:47:59 +01002629
Nicolas Ferre09e10902008-12-06 13:11:14 +01002630at91sam9rlek_nandflash_config \
2631at91sam9rlek_dataflash_config \
2632at91sam9rlek_dataflash_cs0_config \
Jean-Christophe PLAGNIOL-VILLARDc804eb22008-11-01 10:47:59 +01002633at91sam9rlek_config : unconfig
Jean-Christophe PLAGNIOL-VILLARDe7f5aab2009-01-03 17:22:24 +01002634 @mkdir -p $(obj)include
Nicolas Ferre09e10902008-12-06 13:11:14 +01002635 @if [ "$(findstring _nandflash,$@)" ] ; then \
2636 echo "#define CONFIG_SYS_USE_NANDFLASH 1" >>$(obj)include/config.h ; \
Nicolas Ferre09e10902008-12-06 13:11:14 +01002637 else \
2638 echo "#define CONFIG_SYS_USE_DATAFLASH 1" >>$(obj)include/config.h ; \
Nicolas Ferre09e10902008-12-06 13:11:14 +01002639 fi;
Wolfgang Denk625bd332010-05-27 23:18:33 +02002640 @$(MKCONFIG) -n $@ -a at91sam9rlek arm arm926ejs at91sam9rlek atmel at91
Jean-Christophe PLAGNIOL-VILLARDc804eb22008-11-01 10:47:59 +01002641
Tom Rix799a05b2009-09-27 11:10:09 -05002642CPU9G20_128M_config \
2643CPU9G20_config \
2644CPU9260_128M_config \
2645CPU9260_config : unconfig
2646 @mkdir -p $(obj)include
2647 @echo "#define CONFIG_$(@:_config=) 1" >$(obj)include/config.h
Wolfgang Denk625bd332010-05-27 23:18:33 +02002648 @$(MKCONFIG) -n $@ -a cpu9260 arm arm926ejs cpu9260 eukrea at91
Tom Rix799a05b2009-09-27 11:10:09 -05002649
Daniel Gorsulowski6f196d52009-06-30 21:03:37 +02002650meesc_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002651 @$(MKCONFIG) $@ arm arm926ejs meesc esd at91
Daniel Gorsulowski6f196d52009-06-30 21:03:37 +02002652
Ilko Iliev61fdb732009-06-12 21:20:39 +02002653pm9261_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002654 @$(MKCONFIG) $@ arm arm926ejs pm9261 ronetix at91
Ilko Iliev61fdb732009-06-12 21:20:39 +02002655
Sedji Gaouaou538566d2009-07-09 10:16:29 +02002656at91sam9m10g45ek_nandflash_config \
2657at91sam9m10g45ek_dataflash_config \
2658at91sam9m10g45ek_dataflash_cs0_config \
2659at91sam9m10g45ek_config \
2660at91sam9g45ekes_nandflash_config \
2661at91sam9g45ekes_dataflash_config \
2662at91sam9g45ekes_dataflash_cs0_config \
2663at91sam9g45ekes_config : unconfig
2664 @mkdir -p $(obj)include
2665 @if [ "$(findstring 9m10,$@)" ] ; then \
2666 echo "#define CONFIG_AT91SAM9M10G45EK 1" >>$(obj)include/config.h ; \
Sedji Gaouaou538566d2009-07-09 10:16:29 +02002667 else \
2668 echo "#define CONFIG_AT91SAM9G45EKES 1" >>$(obj)include/config.h ; \
2669 fi;
Sedji Gaouaou538566d2009-07-09 10:16:29 +02002670 @if [ "$(findstring _nandflash,$@)" ] ; then \
2671 echo "#define CONFIG_SYS_USE_NANDFLASH 1" >>$(obj)include/config.h ; \
Sedji Gaouaou538566d2009-07-09 10:16:29 +02002672 else \
2673 echo "#define CONFIG_ATMEL_SPI 1" >>$(obj)include/config.h ; \
Sedji Gaouaou538566d2009-07-09 10:16:29 +02002674 fi;
Wolfgang Denk625bd332010-05-27 23:18:33 +02002675 @$(MKCONFIG) -n $@ -a at91sam9m10g45ek arm arm926ejs at91sam9m10g45ek atmel at91
Sedji Gaouaou538566d2009-07-09 10:16:29 +02002676
Daniel Gorsulowski6e02da52010-01-25 10:50:41 +01002677otc570_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002678 @$(MKCONFIG) $@ arm arm926ejs otc570 esd at91
Daniel Gorsulowski6e02da52010-01-25 10:50:41 +01002679
Ilko Iliev8b954a92009-04-16 21:30:48 +02002680pm9263_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002681 @$(MKCONFIG) $@ arm arm926ejs pm9263 ronetix at91
Ilko Iliev8b954a92009-04-16 21:30:48 +02002682
Albin Tonnerre4f572d82009-08-24 18:03:26 +02002683SBC35_A9G20_NANDFLASH_config \
2684SBC35_A9G20_EEPROM_config \
2685SBC35_A9G20_config : unconfig
2686 @mkdir -p $(obj)include
2687 @echo "#define CONFIG_$(@:_config=) 1" >$(obj)include/config.h
Wolfgang Denk625bd332010-05-27 23:18:33 +02002688 @$(MKCONFIG) -n $@ -a sbc35_a9g20 arm arm926ejs sbc35_a9g20 calao at91
Albin Tonnerre4f572d82009-08-24 18:03:26 +02002689
Albin Tonnerre20615462009-08-20 16:04:49 +02002690TNY_A9G20_NANDFLASH_config \
2691TNY_A9G20_EEPROM_config \
2692TNY_A9G20_config \
2693TNY_A9260_NANDFLASH_config \
2694TNY_A9260_EEPROM_config \
2695TNY_A9260_config : unconfig
2696 @mkdir -p $(obj)include
2697 @echo "#define CONFIG_$(@:_config=) 1" >$(obj)include/config.h
Wolfgang Denk625bd332010-05-27 23:18:33 +02002698 @$(MKCONFIG) -n $@ -a tny_a9260 arm arm926ejs tny_a9260 calao at91
Albin Tonnerre20615462009-08-20 16:04:49 +02002699
Wolfgang Denk7f88a5e2005-10-06 17:08:18 +02002700########################################################################
2701## ARM Integrator boards - see doc/README-integrator for more info.
2702integratorap_config \
2703ap_config \
2704ap966_config \
2705ap922_config \
2706ap922_XA10_config \
2707ap7_config \
Wolfgang Denk87b3d4b2006-11-30 18:02:20 +01002708ap720t_config \
Wolfgang Denk7f88a5e2005-10-06 17:08:18 +02002709ap920t_config \
2710ap926ejs_config \
2711ap946es_config: unconfig
Jean-Christophe PLAGNIOL-VILLARD693a7ae2009-05-17 00:58:37 +02002712 @board/armltd/integrator/split_by_variant.sh ap $@
wdenk4989f872004-03-14 15:06:13 +00002713
Wolfgang Denk7f88a5e2005-10-06 17:08:18 +02002714integratorcp_config \
2715cp_config \
2716cp920t_config \
2717cp926ejs_config \
2718cp946es_config \
2719cp1136_config \
2720cp966_config \
2721cp922_config \
2722cp922_XA10_config \
2723cp1026_config: unconfig
Jean-Christophe PLAGNIOL-VILLARD693a7ae2009-05-17 00:58:37 +02002724 @board/armltd/integrator/split_by_variant.sh cp $@
wdenkb3a4a702004-12-10 11:40:40 +00002725
Wolfgang Denk625bd332010-05-27 23:18:33 +02002726da830evm_config \
2727davinci_dvevm_config \
2728davinci_schmoogie_config \
2729davinci_sffsdr_config \
2730davinci_sonata_config \
2731davinci_dm355evm_config \
2732davinci_dm355leopard_config \
2733davinci_dm365evm_config \
2734davinci_dm6467evm_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002735 @$(MKCONFIG) -n $@ $@ arm arm926ejs \
Wolfgang Denk625bd332010-05-27 23:18:33 +02002736 $(subst davinci_,,$(@:_config=)) davinci davinci
Sandeep Paulraj1830bba2009-10-10 12:00:47 -04002737
Siddarth Gore11b10b02010-03-18 20:25:40 +05302738guruplug_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002739 @$(MKCONFIG) $@ arm arm926ejs $(@:_config=) Marvell kirkwood
Siddarth Gore11b10b02010-03-18 20:25:40 +05302740
Heiko Schocherc8f51122010-03-05 07:36:33 +01002741magnesium_config \
Ilya Yanok016b7022009-08-11 02:32:09 +04002742imx27lite_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002743 @$(MKCONFIG) $@ arm arm926ejs imx27lite logicpd mx27
Ilya Yanok016b7022009-08-11 02:32:09 +04002744
wdenk37bdfdf2004-06-10 21:55:33 +00002745lpd7a400_config \
2746lpd7a404_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002747 @$(MKCONFIG) $@ arm lh7a40x lpd7a40x
wdenk4989f872004-03-14 15:06:13 +00002748
Prafulla Wadaskar60a04f92009-07-16 20:58:01 +05302749mv88f6281gtw_ge_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002750 @$(MKCONFIG) $@ arm arm926ejs $(@:_config=) Marvell kirkwood
Prafulla Wadaskar60a04f92009-07-16 20:58:01 +05302751
wdenk7ac16102004-08-01 22:48:16 +00002752mx1ads_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002753 @$(MKCONFIG) $@ arm arm920t mx1ads NULL imx
wdenk7ac16102004-08-01 22:48:16 +00002754
2755mx1fs2_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002756 @$(MKCONFIG) $@ arm arm920t mx1fs2 NULL imx
wdenk7ac16102004-08-01 22:48:16 +00002757
Wolfgang Denk7b9bc3a2005-09-14 23:53:32 +02002758netstar_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002759 @$(MKCONFIG) $@ arm arm925t netstar
Wolfgang Denk7b9bc3a2005-09-14 23:53:32 +02002760
Alessandro Rubini42a98012009-06-22 09:18:37 +02002761nhk8815_config \
2762nhk8815_onenand_config: unconfig
Alessandro Rubinibb930d12009-01-24 18:10:37 +01002763 @mkdir -p $(obj)include
2764 @ > $(obj)include/config.h
2765 @if [ "$(findstring _onenand, $@)" ] ; then \
2766 echo "#define CONFIG_BOOT_ONENAND" >> $(obj)include/config.h; \
Alessandro Rubinibb930d12009-01-24 18:10:37 +01002767 fi
Wolfgang Denk625bd332010-05-27 23:18:33 +02002768 @$(MKCONFIG) -n $@ -a nhk8815 arm arm926ejs nhk8815 st nomadik
Alessandro Rubinibb930d12009-01-24 18:10:37 +01002769
wdenkf6f96f72003-07-15 20:04:06 +00002770omap1510inn_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002771 @$(MKCONFIG) $@ arm arm925t omap1510inn ti
wdenkf6f96f72003-07-15 20:04:06 +00002772
Ulf Samuelsson1c5fdbf2008-04-12 20:56:03 +02002773xtract_omap1610xxx = $(subst _cs0boot,,$(subst _cs3boot,,$(subst _cs_autoboot,,$(subst _config,,$1))))
2774
wdenke97d3d92004-02-23 22:22:28 +00002775omap1610inn_config \
2776omap1610inn_cs0boot_config \
2777omap1610inn_cs3boot_config \
wdenk920e91b2004-06-09 15:25:53 +00002778omap1610inn_cs_autoboot_config \
wdenke97d3d92004-02-23 22:22:28 +00002779omap1610h2_config \
2780omap1610h2_cs0boot_config \
wdenk920e91b2004-06-09 15:25:53 +00002781omap1610h2_cs3boot_config \
2782omap1610h2_cs_autoboot_config: unconfig
Marian Balakowiczd62379d2006-09-01 19:49:50 +02002783 @mkdir -p $(obj)include
wdenke97d3d92004-02-23 22:22:28 +00002784 @if [ "$(findstring _cs0boot_, $@)" ] ; then \
Wolfgang Denk4d5a8e32007-08-02 00:48:45 +02002785 echo "#define CONFIG_CS0_BOOT" >> .$(obj)include/config.h ; \
wdenk920e91b2004-06-09 15:25:53 +00002786 elif [ "$(findstring _cs_autoboot_, $@)" ] ; then \
Wolfgang Denk4d5a8e32007-08-02 00:48:45 +02002787 echo "#define CONFIG_CS_AUTOBOOT" >> $(obj)include/config.h ; \
wdenke97d3d92004-02-23 22:22:28 +00002788 else \
Wolfgang Denk4d5a8e32007-08-02 00:48:45 +02002789 echo "#define CONFIG_CS3_BOOT" >> $(obj)include/config.h ; \
wdenke97d3d92004-02-23 22:22:28 +00002790 fi;
Wolfgang Denk625bd332010-05-27 23:18:33 +02002791 @$(MKCONFIG) -n $@ -a $(call xtract_omap1610xxx,$@) arm arm926ejs omap1610inn ti omap
wdenk7eaacc52003-08-29 22:00:43 +00002792
Wolfgang Denk28d8d702008-07-15 22:22:44 +02002793omap5912osk_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002794 @$(MKCONFIG) $@ arm arm926ejs omap5912osk ti omap
Wolfgang Denk28d8d702008-07-15 22:22:44 +02002795
Simon Kagstrom258c3302009-09-22 04:01:01 +05302796openrd_base_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002797 @$(MKCONFIG) $@ arm arm926ejs $(@:_config=) Marvell kirkwood
Ulf Samuelsson1c5fdbf2008-04-12 20:56:03 +02002798
wdenke3a06802004-06-06 23:13:55 +00002799omap730p2_config \
2800omap730p2_cs0boot_config \
2801omap730p2_cs3boot_config : unconfig
Marian Balakowiczd62379d2006-09-01 19:49:50 +02002802 @mkdir -p $(obj)include
wdenke3a06802004-06-06 23:13:55 +00002803 @if [ "$(findstring _cs0boot_, $@)" ] ; then \
Marian Balakowiczd62379d2006-09-01 19:49:50 +02002804 echo "#define CONFIG_CS0_BOOT" >> $(obj)include/config.h ; \
wdenke3a06802004-06-06 23:13:55 +00002805 else \
Marian Balakowiczd62379d2006-09-01 19:49:50 +02002806 echo "#define CONFIG_CS3_BOOT" >> $(obj)include/config.h ; \
wdenke3a06802004-06-06 23:13:55 +00002807 fi;
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002808 @$(MKCONFIG) -n $@ -a omap730p2 arm arm926ejs omap730p2 ti omap
wdenke3a06802004-06-06 23:13:55 +00002809
Prafulla Wadaskar4aab4ae2009-07-16 21:02:24 +05302810rd6281a_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002811 @$(MKCONFIG) $@ arm arm926ejs $(@:_config=) Marvell kirkwood
Prafulla Wadaskar4aab4ae2009-07-16 21:02:24 +05302812
Wolfgang Denk5873ca52006-07-21 11:31:42 +02002813sbc2410x_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002814 @$(MKCONFIG) $@ arm arm920t sbc2410x NULL s3c24x0
Wolfgang Denk5873ca52006-07-21 11:31:42 +02002815
wdenk7ac16102004-08-01 22:48:16 +00002816scb9328_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002817 @$(MKCONFIG) $@ arm arm920t scb9328 NULL imx
wdenk7ac16102004-08-01 22:48:16 +00002818
Prafulla Wadaskar62634642009-07-16 20:58:00 +05302819sheevaplug_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002820 @$(MKCONFIG) $@ arm arm926ejs $(@:_config=) Marvell kirkwood
Prafulla Wadaskar62634642009-07-16 20:58:00 +05302821
wdenk7ebf7442002-11-02 23:17:16 +00002822smdk2400_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002823 @$(MKCONFIG) $@ arm arm920t smdk2400 samsung s3c24x0
wdenk7ebf7442002-11-02 23:17:16 +00002824
2825smdk2410_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002826 @$(MKCONFIG) $@ arm arm920t smdk2410 samsung s3c24x0
wdenk7ebf7442002-11-02 23:17:16 +00002827
Vipin KUMAR6e2998f2010-01-15 19:15:52 +05302828spear300_config \
Vipin KUMARcc0da712010-01-15 19:15:53 +05302829spear310_config \
2830spear320_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002831 @$(MKCONFIG) -n $@ -t $@ spear3xx arm arm926ejs $(@:_config=) spear spear
Vipin KUMARb0ea0892010-01-15 19:15:50 +05302832
Vipin KUMAR7cc4c462010-01-15 19:15:48 +05302833spear600_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002834 @$(MKCONFIG) -n $@ -t $@ spear6xx arm arm926ejs $(@:_config=) spear spear
Vipin KUMAR7cc4c462010-01-15 19:15:48 +05302835
Heiko Schocher60301192010-02-22 16:43:02 +05302836suen3_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002837 @$(MKCONFIG) $@ arm arm926ejs km_arm keymile kirkwood
Heiko Schocher60301192010-02-22 16:43:02 +05302838
Jean-Christophe PLAGNIOL-VILLARD82b8e882009-01-28 21:58:03 +01002839SX1_stdout_serial_config \
2840SX1_config: unconfig
2841 @mkdir -p $(obj)include
2842 @if [ "$(findstring _stdout_serial_, $@)" ] ; then \
2843 echo "#undef CONFIG_STDOUT_USBTTY" >> $(obj)include/config.h ; \
Jean-Christophe PLAGNIOL-VILLARD82b8e882009-01-28 21:58:03 +01002844 else \
2845 echo "#define CONFIG_STDOUT_USBTTY" >> $(obj)include/config.h ; \
Jean-Christophe PLAGNIOL-VILLARD82b8e882009-01-28 21:58:03 +01002846 fi;
Wolfgang Denk625bd332010-05-27 23:18:33 +02002847 @$(MKCONFIG) -n $@ SX1 arm arm925t sx1
wdenk9f664dd2004-06-09 21:50:45 +00002848
wdenk236d3fc2003-12-20 22:45:10 +00002849# TRAB default configuration: 8 MB Flash, 32 MB RAM
wdenk4a5c8a72003-03-06 00:02:04 +00002850trab_config \
wdenkb6b2f0e2003-09-17 22:48:07 +00002851trab_bigram_config \
2852trab_bigflash_config \
wdenkf6a6ac12003-09-17 15:10:32 +00002853trab_old_config: unconfig
Marian Balakowiczd62379d2006-09-01 19:49:50 +02002854 @mkdir -p $(obj)include
2855 @mkdir -p $(obj)board/trab
wdenkb6b2f0e2003-09-17 22:48:07 +00002856 @[ -z "$(findstring _bigram,$@)" ] || \
Marian Balakowiczd62379d2006-09-01 19:49:50 +02002857 { echo "#define CONFIG_FLASH_8MB" >>$(obj)include/config.h ; \
2858 echo "#define CONFIG_RAM_32MB" >>$(obj)include/config.h ; \
wdenkb6b2f0e2003-09-17 22:48:07 +00002859 }
2860 @[ -z "$(findstring _bigflash,$@)" ] || \
Marian Balakowiczd62379d2006-09-01 19:49:50 +02002861 { echo "#define CONFIG_FLASH_16MB" >>$(obj)include/config.h ; \
2862 echo "#define CONFIG_RAM_16MB" >>$(obj)include/config.h ; \
Marian Balakowiczd62379d2006-09-01 19:49:50 +02002863 echo "TEXT_BASE = 0x0CF40000" >$(obj)board/trab/config.tmp ; \
wdenkb6b2f0e2003-09-17 22:48:07 +00002864 }
wdenkf6a6ac12003-09-17 15:10:32 +00002865 @[ -z "$(findstring _old,$@)" ] || \
Marian Balakowiczd62379d2006-09-01 19:49:50 +02002866 { echo "#define CONFIG_FLASH_8MB" >>$(obj)include/config.h ; \
2867 echo "#define CONFIG_RAM_16MB" >>$(obj)include/config.h ; \
Marian Balakowiczd62379d2006-09-01 19:49:50 +02002868 echo "TEXT_BASE = 0x0CF40000" >$(obj)board/trab/config.tmp ; \
wdenk4a5c8a72003-03-06 00:02:04 +00002869 }
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002870 @$(MKCONFIG) -n $@ -a trab arm arm920t trab NULL s3c24x0
wdenk7ebf7442002-11-02 23:17:16 +00002871
John Rigby6478a752010-01-25 23:12:58 -07002872tx25_config : unconfig
John Rigby6478a752010-01-25 23:12:58 -07002873 @echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002874 @$(MKCONFIG) $@ arm arm926ejs tx25 karo mx25
John Rigby6478a752010-01-25 23:12:58 -07002875
wdenk1fe2c702003-03-06 21:55:29 +00002876VCMA9_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002877 @$(MKCONFIG) $@ arm arm920t vcma9 mpl s3c24x0
wdenk1fe2c702003-03-06 21:55:29 +00002878
Wolfgang Denk28d8d702008-07-15 22:22:44 +02002879#########################################################################
Wolfgang Denk7f88a5e2005-10-06 17:08:18 +02002880# ARM supplied Versatile development boards
Wolfgang Denk28d8d702008-07-15 22:22:44 +02002881#########################################################################
2882
2883cm4008_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002884 @$(MKCONFIG) $@ arm arm920t cm4008 NULL ks8695
Wolfgang Denk28d8d702008-07-15 22:22:44 +02002885
2886cm41xx_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002887 @$(MKCONFIG) $@ arm arm920t cm41xx NULL ks8695
Wolfgang Denk28d8d702008-07-15 22:22:44 +02002888
Wolfgang Denk7f88a5e2005-10-06 17:08:18 +02002889versatile_config \
2890versatileab_config \
2891versatilepb_config : unconfig
Jean-Christophe PLAGNIOL-VILLARD98e0d072009-01-29 12:07:21 +01002892 @board/armltd/versatile/split_by_variant.sh $@
wdenkb98ac282004-02-24 00:16:43 +00002893
wdenke085e5b2005-04-05 23:32:21 +00002894voiceblue_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002895 @$(MKCONFIG) $@ arm arm925t voiceblue
wdenke085e5b2005-04-05 23:32:21 +00002896
wdenkb98ac282004-02-24 00:16:43 +00002897#########################################################################
2898## S3C44B0 Systems
2899#########################################################################
2900
2901B2_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002902 @$(MKCONFIG) $@ arm s3c44b0 B2 dave
wdenkb98ac282004-02-24 00:16:43 +00002903
wdenk7ebf7442002-11-02 23:17:16 +00002904#########################################################################
wdenk9f664dd2004-06-09 21:50:45 +00002905## ARM720T Systems
2906#########################################################################
wdenk7ebf7442002-11-02 23:17:16 +00002907
Wolfgang Denk4dc11462005-09-26 01:06:33 +02002908armadillo_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002909 @$(MKCONFIG) $@ arm arm720t armadillo
Wolfgang Denk4dc11462005-09-26 01:06:33 +02002910
wdenk7ebf7442002-11-02 23:17:16 +00002911ep7312_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002912 @$(MKCONFIG) $@ arm arm720t ep7312
wdenk7ebf7442002-11-02 23:17:16 +00002913
wdenk9f664dd2004-06-09 21:50:45 +00002914impa7_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002915 @$(MKCONFIG) $@ arm arm720t impa7
wdenk9f664dd2004-06-09 21:50:45 +00002916
wdenk2ebee312004-02-23 19:30:57 +00002917modnet50_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002918 @$(MKCONFIG) $@ arm arm720t modnet50
wdenk2ebee312004-02-23 19:30:57 +00002919
wdenkf2140d52004-07-01 16:30:44 +00002920evb4510_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002921 @$(MKCONFIG) $@ arm arm720t evb4510 NULL s3c4510b
wdenkf2140d52004-07-01 16:30:44 +00002922
Gary Jennejohn7968bb52007-01-24 12:16:56 +01002923lpc2292sodimm_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002924 @$(MKCONFIG) $@ arm arm720t lpc2292sodimm NULL lpc2292
Peter Pearsed862a252007-05-09 11:37:56 +01002925
2926SMN42_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002927 @$(MKCONFIG) $@ arm arm720t SMN42 siemens lpc2292
Gary Jennejohn7968bb52007-01-24 12:16:56 +01002928
wdenk7ebf7442002-11-02 23:17:16 +00002929#########################################################################
Dirk Behme2781f802009-01-27 18:19:12 +01002930## ARM CORTEX Systems
2931#########################################################################
2932
Frederik Kriewitz99396502009-08-23 12:56:42 +02002933devkit8000_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002934 @$(MKCONFIG) $@ arm arm_cortexa8 devkit8000 timll omap3
Frederik Kriewitz99396502009-08-23 12:56:42 +02002935
Dirk Behme2781f802009-01-27 18:19:12 +01002936omap3_beagle_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002937 @$(MKCONFIG) $@ arm arm_cortexa8 beagle ti omap3
Dirk Behme2781f802009-01-27 18:19:12 +01002938
Dirk Behme220faba2009-01-28 21:39:57 +01002939omap3_overo_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002940 @$(MKCONFIG) $@ arm arm_cortexa8 overo NULL omap3
Dirk Behme220faba2009-01-28 21:39:57 +01002941
Dirk Behmebb732be2009-01-28 21:39:58 +01002942omap3_evm_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002943 @$(MKCONFIG) $@ arm arm_cortexa8 evm ti omap3
Dirk Behmebb732be2009-01-28 21:39:58 +01002944
Dirk Behme7b84a7b2009-01-28 21:39:58 +01002945omap3_pandora_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002946 @$(MKCONFIG) $@ arm arm_cortexa8 pandora NULL omap3
Dirk Behme7b84a7b2009-01-28 21:39:58 +01002947
Tom Rixc5a51352009-10-17 12:41:06 -05002948omap3_sdp3430_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002949 @$(MKCONFIG) $@ arm arm_cortexa8 sdp3430 ti omap3
Tom Rixc5a51352009-10-17 12:41:06 -05002950
Dirk Behmebab104e2009-01-28 21:40:16 +01002951omap3_zoom1_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002952 @$(MKCONFIG) $@ arm arm_cortexa8 zoom1 logicpd omap3
Dirk Behmebab104e2009-01-28 21:40:16 +01002953
Tom Rix0419d912009-05-15 23:48:36 +02002954omap3_zoom2_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002955 @$(MKCONFIG) $@ arm arm_cortexa8 zoom2 logicpd omap3
Tom Rix0419d912009-05-15 23:48:36 +02002956
Minkyu Kang29325572009-10-01 17:20:40 +09002957smdkc100_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002958 @$(MKCONFIG) $@ arm arm_cortexa8 smdkc100 samsung s5pc1xx
Minkyu Kang29325572009-10-01 17:20:40 +09002959
Dirk Behme2781f802009-01-27 18:19:12 +01002960#########################################################################
wdenk4a5c8a72003-03-06 00:02:04 +00002961## XScale Systems
wdenk7ebf7442002-11-02 23:17:16 +00002962#########################################################################
2963
Michael Schwingena31f2592008-01-18 00:04:28 +01002964actux1_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002965 @$(MKCONFIG) $@ arm ixp actux1
Michael Schwingena31f2592008-01-18 00:04:28 +01002966
2967actux2_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002968 @$(MKCONFIG) $@ arm ixp actux2
Michael Schwingena31f2592008-01-18 00:04:28 +01002969
2970actux3_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002971 @$(MKCONFIG) $@ arm ixp actux3
Michael Schwingena31f2592008-01-18 00:04:28 +01002972
2973actux4_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002974 @$(MKCONFIG) $@ arm ixp actux4
Michael Schwingena31f2592008-01-18 00:04:28 +01002975
wdenkb5bb1392004-07-10 23:11:10 +00002976cerf250_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002977 @$(MKCONFIG) $@ arm pxa cerf250
wdenkb5bb1392004-07-10 23:11:10 +00002978
wdenk7ebf7442002-11-02 23:17:16 +00002979cradle_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002980 @$(MKCONFIG) $@ arm pxa cradle
wdenk7ebf7442002-11-02 23:17:16 +00002981
2982csb226_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002983 @$(MKCONFIG) $@ arm pxa csb226
wdenk7ebf7442002-11-02 23:17:16 +00002984
Jean-Christophe PLAGNIOL-VILLARDca0350e2008-03-02 16:12:31 +01002985delta_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002986 @$(MKCONFIG) $@ arm pxa delta
Wolfgang Denk2105aa22006-03-07 00:22:36 +01002987
wdenk4a5c8a72003-03-06 00:02:04 +00002988innokom_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002989 @$(MKCONFIG) $@ arm pxa innokom
wdenk4a5c8a72003-03-06 00:02:04 +00002990
wdenkbd1575f2003-10-14 19:43:55 +00002991ixdp425_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002992 @$(MKCONFIG) $@ arm ixp ixdp425
wdenkbd1575f2003-10-14 19:43:55 +00002993
Wolfgang Denk4646d2a2006-05-30 15:56:48 +02002994ixdpg425_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002995 @$(MKCONFIG) $@ arm ixp ixdp425
Wolfgang Denk4646d2a2006-05-30 15:56:48 +02002996
wdenk4a5c8a72003-03-06 00:02:04 +00002997lubbock_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02002998 @$(MKCONFIG) $@ arm pxa lubbock
wdenk4a5c8a72003-03-06 00:02:04 +00002999
Heiko Schocher221a5062006-05-02 07:51:46 +02003000pleb2_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02003001 @$(MKCONFIG) $@ arm pxa pleb2
Heiko Schocher221a5062006-05-02 07:51:46 +02003002
wdenk88e72a32003-06-19 23:04:19 +00003003logodl_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02003004 @$(MKCONFIG) $@ arm pxa logodl
wdenk88e72a32003-06-19 23:04:19 +00003005
Stefan Roese1b5f1ff2007-01-18 16:05:47 +01003006pdnb3_config \
Wolfgang Denk19b68c42008-03-04 14:58:31 +01003007scpu_config: unconfig
Wolfgang Denk4d5a8e32007-08-02 00:48:45 +02003008 @mkdir -p $(obj)include
Stefan Roese1b5f1ff2007-01-18 16:05:47 +01003009 @if [ "$(findstring scpu_,$@)" ] ; then \
Wolfgang Denk19b68c42008-03-04 14:58:31 +01003010 echo "#define CONFIG_SCPU" >>$(obj)include/config.h ; \
Stefan Roese1b5f1ff2007-01-18 16:05:47 +01003011 fi
Wolfgang Denk625bd332010-05-27 23:18:33 +02003012 @$(MKCONFIG) -n $@ -a pdnb3 arm ixp pdnb3 prodrive
Wolfgang Denk4646d2a2006-05-30 15:56:48 +02003013
Wolfgang Denk27a5b0b2005-10-13 01:45:54 +02003014pxa255_idp_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02003015 @$(MKCONFIG) $@ arm pxa pxa255_idp
Wolfgang Denk27a5b0b2005-10-13 01:45:54 +02003016
Stefano Babice33f8042009-07-01 20:40:41 +02003017polaris_config \
stefano babic6708a602007-08-30 23:01:49 +02003018trizepsiv_config : unconfig
Stefano Babice33f8042009-07-01 20:40:41 +02003019 @mkdir -p $(obj)include
3020 @if [ "$(findstring polaris,$@)" ] ; then \
3021 echo "#define CONFIG_POLARIS 1" >>$(obj)include/config.h ; \
3022 fi;
Wolfgang Denk625bd332010-05-27 23:18:33 +02003023 @$(MKCONFIG) -n $@ -a trizepsiv arm pxa trizepsiv
stefano babic6708a602007-08-30 23:01:49 +02003024
wdenkb02744a2003-04-05 00:53:31 +00003025wepep250_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02003026 @$(MKCONFIG) $@ arm pxa wepep250
wdenkb02744a2003-04-05 00:53:31 +00003027
wdenkfa89d7c2004-09-28 16:44:41 +00003028xaeniax_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02003029 @$(MKCONFIG) $@ arm pxa xaeniax
wdenkfa89d7c2004-09-28 16:44:41 +00003030
wdenkc12081a2004-03-23 20:18:25 +00003031xm250_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02003032 @$(MKCONFIG) $@ arm pxa xm250
wdenkc12081a2004-03-23 20:18:25 +00003033
wdenk51108172004-06-09 15:37:23 +00003034xsengine_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02003035 @$(MKCONFIG) $@ arm pxa xsengine
wdenk51108172004-06-09 15:37:23 +00003036
Markus Klotzbücher21e69a02006-02-07 20:04:48 +01003037zylonite_config :
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02003038 @$(MKCONFIG) $@ arm pxa zylonite
Markus Klotzbücher21e69a02006-02-07 20:04:48 +01003039
wdenkf8062712005-01-09 23:16:25 +00003040#########################################################################
3041## ARM1136 Systems
3042#########################################################################
wdenkf8062712005-01-09 23:16:25 +00003043
Peter Pearseba348b52007-11-09 15:24:26 +00003044apollon_config : unconfig
Wolfgang Denkec40b4c2009-12-06 00:26:19 +01003045 @mkdir -p $(obj)include
Kyungmin Park33174212008-01-17 16:43:25 +09003046 @echo "#define CONFIG_ONENAND_U_BOOT" > $(obj)include/config.h
Kyungmin Park33174212008-01-17 16:43:25 +09003047 @echo "CONFIG_ONENAND_U_BOOT = y" >> $(obj)include/config.mk
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02003048 @$(MKCONFIG) $@ arm arm1136 apollon NULL omap24xx
Peter Pearseba348b52007-11-09 15:24:26 +00003049
Sascha Hauerce6fc522008-03-26 20:41:09 +01003050imx31_litekit_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02003051 @$(MKCONFIG) $@ arm arm1136 imx31_litekit logicpd mx31
Sascha Hauerce6fc522008-03-26 20:41:09 +01003052
Guennadi Liakhovetskie99f10a2009-02-24 10:44:02 +01003053imx31_phycore_eet_config \
Sascha Hauera5864c02008-03-26 20:41:17 +01003054imx31_phycore_config : unconfig
Guennadi Liakhovetski46d94732009-04-05 00:37:07 +02003055 @mkdir -p $(obj)include
Guennadi Liakhovetskie99f10a2009-02-24 10:44:02 +01003056 @if [ -n "$(findstring _eet_,$@)" ]; then \
3057 echo "#define CONFIG_IMX31_PHYCORE_EET" >> $(obj)include/config.h; \
3058 fi
Wolfgang Denk625bd332010-05-27 23:18:33 +02003059 @$(MKCONFIG) -n $@ -a imx31_phycore arm arm1136 imx31_phycore NULL mx31
Sascha Hauera5864c02008-03-26 20:41:17 +01003060
Guennadi Liakhovetski3b26c6b2008-04-14 10:53:12 +02003061mx31ads_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02003062 @$(MKCONFIG) $@ arm arm1136 mx31ads freescale mx31
Guennadi Liakhovetski3b26c6b2008-04-14 10:53:12 +02003063
Magnus Lilja24f8b412009-07-04 10:31:24 +02003064mx31pdk_config \
3065mx31pdk_nand_config : unconfig
3066 @mkdir -p $(obj)include
3067 @if [ -n "$(findstring _nand_,$@)" ]; then \
3068 echo "#define CONFIG_NAND_U_BOOT" >> $(obj)include/config.h; \
3069 else \
3070 echo "#define CONFIG_SKIP_LOWLEVEL_INIT" >> $(obj)include/config.h; \
3071 echo "#define CONFIG_SKIP_RELOCATE_UBOOT" >> $(obj)include/config.h; \
3072 fi
Wolfgang Denk625bd332010-05-27 23:18:33 +02003073 @$(MKCONFIG) -n $@ -a mx31pdk arm arm1136 mx31pdk freescale mx31
Magnus Lilja6eeb6f72009-07-01 01:07:55 +02003074
Stefano Babic421834e2010-02-05 15:13:58 +01003075mx51evk_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02003076 @$(MKCONFIG) $@ arm arm_cortexa8 mx51evk freescale mx51
Stefano Babic421834e2010-02-05 15:13:58 +01003077
Wolfgang Denk28d8d702008-07-15 22:22:44 +02003078omap2420h4_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02003079 @$(MKCONFIG) $@ arm arm1136 omap2420h4 ti omap24xx
Wolfgang Denk28d8d702008-07-15 22:22:44 +02003080
Ilya Yanok509a1ea2009-02-10 00:22:31 +01003081qong_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02003082 @$(MKCONFIG) $@ arm arm1136 qong davedenx mx31
Ilya Yanok509a1ea2009-02-10 00:22:31 +01003083
Guennadi Liakhovetskib2d42742008-08-31 00:39:47 +02003084#########################################################################
3085## ARM1176 Systems
3086#########################################################################
3087smdk6400_noUSB_config \
3088smdk6400_config : unconfig
3089 @mkdir -p $(obj)include $(obj)board/samsung/smdk6400
3090 @mkdir -p $(obj)nand_spl/board/samsung/smdk6400
3091 @echo "#define CONFIG_NAND_U_BOOT" > $(obj)include/config.h
Wolfgang Denk625bd332010-05-27 23:18:33 +02003092 @echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk
Guennadi Liakhovetskib2d42742008-08-31 00:39:47 +02003093 @if [ -z "$(findstring smdk6400_noUSB_config,$@)" ]; then \
3094 echo "RAM_TEXT = 0x57e00000" >> $(obj)board/samsung/smdk6400/config.tmp;\
Guennadi Liakhovetskib2d42742008-08-31 00:39:47 +02003095 else \
3096 echo "RAM_TEXT = 0xc7e00000" >> $(obj)board/samsung/smdk6400/config.tmp;\
Guennadi Liakhovetskib2d42742008-08-31 00:39:47 +02003097 fi
Wolfgang Denk625bd332010-05-27 23:18:33 +02003098 @$(MKCONFIG) $(subst _noUSB,,$(@:_config=)) arm arm1176 smdk6400 samsung s3c64xx
Guennadi Liakhovetskib2d42742008-08-31 00:39:47 +02003099
wdenk591dda52002-11-18 00:14:45 +00003100#========================================================================
3101# i386
3102#========================================================================
3103#########################################################################
wdenk1fe2c702003-03-06 21:55:29 +00003104## AMD SC520 CDP
wdenk591dda52002-11-18 00:14:45 +00003105#########################################################################
Graeme Russe56d3972008-12-07 10:28:57 +11003106eNET_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02003107 @$(MKCONFIG) $@ i386 i386 eNET NULL sc520
Graeme Russe56d3972008-12-07 10:28:57 +11003108
Wolfgang Denk5bc73fb2009-01-24 01:01:49 +01003109sc520_cdp_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02003110 @$(MKCONFIG) $@ i386 i386 sc520_cdp NULL sc520
Wolfgang Denk5bc73fb2009-01-24 01:01:49 +01003111
wdenkabda5ca2003-05-31 18:35:21 +00003112sc520_spunk_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02003113 @$(MKCONFIG) $@ i386 i386 sc520_spunk NULL sc520
wdenkabda5ca2003-05-31 18:35:21 +00003114
3115sc520_spunk_rel_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02003116 @$(MKCONFIG) $@ i386 i386 sc520_spunk NULL sc520
wdenkabda5ca2003-05-31 18:35:21 +00003117
wdenk4a5c8a72003-03-06 00:02:04 +00003118#========================================================================
3119# MIPS
3120#========================================================================
wdenk7ebf7442002-11-02 23:17:16 +00003121#########################################################################
wdenk4a5c8a72003-03-06 00:02:04 +00003122## MIPS32 4Kc
3123#########################################################################
3124
wdenk5d841732003-08-17 18:55:18 +00003125incaip_100MHz_config \
3126incaip_133MHz_config \
3127incaip_150MHz_config \
3128incaip_config: unconfig
Marian Balakowiczd62379d2006-09-01 19:49:50 +02003129 @mkdir -p $(obj)include
wdenk5d841732003-08-17 18:55:18 +00003130 @[ -z "$(findstring _100MHz,$@)" ] || \
Wolfgang Denk625bd332010-05-27 23:18:33 +02003131 echo "#define CPU_CLOCK_RATE 100000000" >>$(obj)include/config.h
wdenk5d841732003-08-17 18:55:18 +00003132 @[ -z "$(findstring _133MHz,$@)" ] || \
Wolfgang Denk625bd332010-05-27 23:18:33 +02003133 echo "#define CPU_CLOCK_RATE 133000000" >>$(obj)include/config.h
wdenk5d841732003-08-17 18:55:18 +00003134 @[ -z "$(findstring _150MHz,$@)" ] || \
Wolfgang Denk625bd332010-05-27 23:18:33 +02003135 echo "#define CPU_CLOCK_RATE 150000000" >>$(obj)include/config.h
3136 @$(MKCONFIG) -n $@ -a incaip mips mips incaip
wdenk5d841732003-08-17 18:55:18 +00003137
wdenk5401de42004-02-07 01:27:10 +00003138tb0229_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02003139 @$(MKCONFIG) $@ mips mips tb0229
wdenk5401de42004-02-07 01:27:10 +00003140
Stefan Roeseee7a6ba2009-01-21 17:25:01 +01003141vct_premium_config \
3142vct_premium_small_config \
3143vct_premium_onenand_config \
3144vct_premium_onenand_small_config \
3145vct_platinum_config \
3146vct_platinum_small_config \
3147vct_platinum_onenand_config \
3148vct_platinum_onenand_small_config \
3149vct_platinumavc_config \
3150vct_platinumavc_small_config \
3151vct_platinumavc_onenand_config \
3152vct_platinumavc_onenand_small_config: unconfig
3153 @mkdir -p $(obj)include
Wolfgang Denk625bd332010-05-27 23:18:33 +02003154 @[ -z "$(findstring _premium,$@)" ] || \
3155 echo "#define CONFIG_VCT_PREMIUM" > $(obj)include/config.h
3156 @[ -z "$(findstring _platinum_,$@)" ] || \
3157 echo "#define CONFIG_VCT_PLATINUM" > $(obj)include/config.h
3158 @[ -z "$(findstring _platinumavc,$@)" ] || \
3159 echo "#define CONFIG_VCT_PLATINUMAVC" > $(obj)include/config.h
3160 @[ -z "$(findstring _onenand,$@)" ] || \
3161 echo "#define CONFIG_VCT_ONENAND" >> $(obj)include/config.h
3162 @[ -z "$(findstring _small,$@)" ] || \
3163 echo "#define CONFIG_VCT_SMALL_IMAGE" >> $(obj)include/config.h
3164 @$(MKCONFIG) -n $@ -a vct mips mips vct micronas
Stefan Roeseee7a6ba2009-01-21 17:25:01 +01003165
wdenk5d841732003-08-17 18:55:18 +00003166#########################################################################
wdenkcd914452004-05-29 16:53:29 +00003167## MIPS32 AU1X00
3168#########################################################################
Wolfgang Denk28d8d702008-07-15 22:22:44 +02003169
Wolfgang Denk87b3d4b2006-11-30 18:02:20 +01003170dbau1000_config : unconfig
Marian Balakowiczd62379d2006-09-01 19:49:50 +02003171 @mkdir -p $(obj)include
Wolfgang Denkf10a5de2008-03-09 00:06:09 +01003172 @echo "#define CONFIG_DBAU1000 1" >$(obj)include/config.h
Marian Balakowiczd62379d2006-09-01 19:49:50 +02003173 @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00
wdenkcd914452004-05-29 16:53:29 +00003174
Wolfgang Denk87b3d4b2006-11-30 18:02:20 +01003175dbau1100_config : unconfig
Marian Balakowiczd62379d2006-09-01 19:49:50 +02003176 @mkdir -p $(obj)include
Wolfgang Denkf10a5de2008-03-09 00:06:09 +01003177 @echo "#define CONFIG_DBAU1100 1" >$(obj)include/config.h
Marian Balakowiczd62379d2006-09-01 19:49:50 +02003178 @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00
wdenkcd914452004-05-29 16:53:29 +00003179
Wolfgang Denk87b3d4b2006-11-30 18:02:20 +01003180dbau1500_config : unconfig
Marian Balakowiczd62379d2006-09-01 19:49:50 +02003181 @mkdir -p $(obj)include
Wolfgang Denkf10a5de2008-03-09 00:06:09 +01003182 @echo "#define CONFIG_DBAU1500 1" >$(obj)include/config.h
Marian Balakowiczd62379d2006-09-01 19:49:50 +02003183 @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00
wdenkcd914452004-05-29 16:53:29 +00003184
wdenk96c7a8c2005-01-09 22:28:56 +00003185dbau1550_config : unconfig
Marian Balakowiczd62379d2006-09-01 19:49:50 +02003186 @mkdir -p $(obj)include
Wolfgang Denkf10a5de2008-03-09 00:06:09 +01003187 @echo "#define CONFIG_DBAU1550 1" >$(obj)include/config.h
Marian Balakowiczd62379d2006-09-01 19:49:50 +02003188 @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00
wdenk96c7a8c2005-01-09 22:28:56 +00003189
3190dbau1550_el_config : unconfig
Marian Balakowiczd62379d2006-09-01 19:49:50 +02003191 @mkdir -p $(obj)include
Wolfgang Denkf10a5de2008-03-09 00:06:09 +01003192 @echo "#define CONFIG_DBAU1550 1" >$(obj)include/config.h
Marian Balakowiczd62379d2006-09-01 19:49:50 +02003193 @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00
wdenk96c7a8c2005-01-09 22:28:56 +00003194
Wolfgang Denk28d8d702008-07-15 22:22:44 +02003195gth2_config : unconfig
3196 @mkdir -p $(obj)include
3197 @echo "#define CONFIG_GTH2 1" >$(obj)include/config.h
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02003198 @$(MKCONFIG) -a $@ mips mips gth2
Wolfgang Denk28d8d702008-07-15 22:22:44 +02003199
Wolfgang Denk87b3d4b2006-11-30 18:02:20 +01003200pb1000_config : unconfig
Marian Balakowiczd62379d2006-09-01 19:49:50 +02003201 @mkdir -p $(obj)include
Wolfgang Denkf10a5de2008-03-09 00:06:09 +01003202 @echo "#define CONFIG_PB1000 1" >$(obj)include/config.h
Marian Balakowiczd62379d2006-09-01 19:49:50 +02003203 @$(MKCONFIG) -a pb1x00 mips mips pb1x00
Wolfgang Denk0cbaf642005-09-25 00:53:22 +02003204
Wolfgang Denk28d8d702008-07-15 22:22:44 +02003205qemu_mips_config : unconfig
Vlad Lungu635e76c2008-01-16 19:27:51 +02003206 @mkdir -p $(obj)include
Wolfgang Denkf10a5de2008-03-09 00:06:09 +01003207 @echo "#define CONFIG_QEMU_MIPS 1" >$(obj)include/config.h
Vlad Lungu635e76c2008-01-16 19:27:51 +02003208 @$(MKCONFIG) -a qemu-mips mips mips qemu-mips
3209
wdenkcd914452004-05-29 16:53:29 +00003210#########################################################################
wdenk5d841732003-08-17 18:55:18 +00003211## MIPS64 5Kc
3212#########################################################################
wdenk4a5c8a72003-03-06 00:02:04 +00003213
wdenkb02744a2003-04-05 00:53:31 +00003214purple_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02003215 @$(MKCONFIG) $@ mips mips purple
wdenk4a5c8a72003-03-06 00:02:04 +00003216
wdenk60164a82003-10-08 23:26:14 +00003217#========================================================================
3218# Nios
3219#========================================================================
wdenk60164a82003-10-08 23:26:14 +00003220
wdenkef3386f2004-10-10 21:27:30 +00003221#########################################################################
3222## Nios-II
3223#########################################################################
3224
Scott McNutt2ca00852006-06-08 13:37:39 -04003225EP1C20_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02003226 @$(MKCONFIG) $@ nios2 nios2 ep1c20 altera
Scott McNutt2ca00852006-06-08 13:37:39 -04003227
3228EP1S10_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02003229 @$(MKCONFIG) $@ nios2 nios2 ep1s10 altera
Scott McNutt2ca00852006-06-08 13:37:39 -04003230
3231EP1S40_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02003232 @$(MKCONFIG) $@ nios2 nios2 ep1s40 altera
Scott McNutt2ca00852006-06-08 13:37:39 -04003233
wdenkef3386f2004-10-10 21:27:30 +00003234PK1C20_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02003235 @$(MKCONFIG) $@ nios2 nios2 pk1c20 psyent
wdenkef3386f2004-10-10 21:27:30 +00003236
3237PCI5441_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02003238 @$(MKCONFIG) $@ nios2 nios2 pci5441 psyent
wdenk12490652004-04-18 21:13:41 +00003239
Thomas Chou7ffbbf52010-04-21 08:40:59 +08003240# nios2 generic boards
3241NIOS2_GENERIC = nios2-generic
3242
3243$(NIOS2_GENERIC:%=%_config) : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02003244 @$(MKCONFIG) $@ nios2 nios2 nios2-generic altera
Thomas Chou7ffbbf52010-04-21 08:40:59 +08003245
wdenk12490652004-04-18 21:13:41 +00003246#========================================================================
wdenk12490652004-04-18 21:13:41 +00003247## Microblaze
Wolfgang Denk28d8d702008-07-15 22:22:44 +02003248#========================================================================
wdenk60164a82003-10-08 23:26:14 +00003249
Michal Simek87ed95b2008-12-19 13:14:05 +01003250microblaze-generic_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02003251 @$(MKCONFIG) $@ microblaze microblaze microblaze-generic xilinx
Michal Simek922ce202007-03-11 13:48:24 +01003252
Mike Frysinger18ba9f82008-02-04 19:26:55 -05003253#========================================================================
3254# Blackfin
3255#========================================================================
Wolfgang Denk46d2b522006-03-12 02:10:00 +01003256
Mike Frysinger18ba9f82008-02-04 19:26:55 -05003257# Analog Devices boards
Mike Frysinger4752c192008-10-12 21:32:52 -04003258BFIN_BOARDS = bf518f-ezbrd bf526-ezbrd bf527-ezkit bf533-ezkit bf533-stamp \
Mike Frysinger22e89bf2008-10-12 23:08:03 -04003259 bf537-pnav bf537-stamp bf538f-ezkit bf548-ezkit bf561-ezkit
Wolfgang Denk46d2b522006-03-12 02:10:00 +01003260
Mike Frysinger9768ab92008-10-12 21:36:22 -04003261# Bluetechnix tinyboards
Harald Krapfenbauer5e6362c2010-01-13 09:04:53 -05003262BFIN_BOARDS += cm-bf527 cm-bf533 cm-bf537e cm-bf537u cm-bf548 cm-bf561 \
3263 tcm-bf518 tcm-bf537
Mike Frysinger9768ab92008-10-12 21:36:22 -04003264
Mike Frysingerb704a202008-10-12 23:16:52 -04003265# Misc third party boards
Brent Kandetzki0ae93ab2010-03-24 17:41:33 -04003266BFIN_BOARDS += bf537-minotaur bf537-srv1 bf561-acvilon blackstamp ip04
Mike Frysingerb704a202008-10-12 23:16:52 -04003267
Hoan Hoanga13b05b2009-01-18 22:44:17 -05003268# I-SYST Micromodule
3269BFIN_BOARDS += ibf-dsp561
3270
Mike Frysinger18ba9f82008-02-04 19:26:55 -05003271$(BFIN_BOARDS:%=%_config) : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02003272 @$(MKCONFIG) $@ blackfin blackfin $(@:_config=)
Aubrey Li10ebdd92007-03-19 01:24:52 +08003273
Michael Henneriche9621622009-12-10 09:19:21 +00003274bf527-ezkit-v2_config : unconfig
3275 @$(MKCONFIG) -t BF527_EZKIT_REV_2_1 \
3276 bf527-ezkit blackfin blackfin bf527-ezkit
3277
Haavard Skinnemoen79f35b92006-10-25 15:48:59 +02003278#========================================================================
3279# AVR32
3280#========================================================================
Wolfgang Denk28d8d702008-07-15 22:22:44 +02003281
3282atngw100_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02003283 @$(MKCONFIG) $@ avr32 at32ap atngw100 atmel at32ap700x
Haavard Skinnemoen79f35b92006-10-25 15:48:59 +02003284
Wolfgang Denk625bd332010-05-27 23:18:33 +02003285atstk1002_config \
3286atstk1003_config \
3287atstk1004_config \
Haavard Skinnemoen1ba3b742007-11-22 12:14:11 +01003288atstk1006_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02003289 @$(MKCONFIG) $@ avr32 at32ap atstk1000 atmel at32ap700x
Haavard Skinnemoen1ba3b742007-11-22 12:14:11 +01003290
Hans-Christian Egtvedtd4b48b82008-08-06 14:42:13 +02003291favr-32-ezkit_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02003292 @$(MKCONFIG) $@ avr32 at32ap favr-32-ezkit earthlcd at32ap700x
Hans-Christian Egtvedtd4b48b82008-08-06 14:42:13 +02003293
Julien May72646d22008-06-23 13:57:52 +02003294hammerhead_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02003295 @$(MKCONFIG) $@ avr32 at32ap hammerhead miromico at32ap700x
Julien May72646d22008-06-23 13:57:52 +02003296
Mark Jackson1744f5b2008-07-30 13:07:27 +01003297mimc200_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02003298 @$(MKCONFIG) $@ avr32 at32ap mimc200 mimc at32ap700x
Mark Jackson1744f5b2008-07-30 13:07:27 +01003299
Wolfgang Denk28d8d702008-07-15 22:22:44 +02003300#========================================================================
3301# SH3 (SuperH)
3302#========================================================================
wdenk7ebf7442002-11-02 23:17:16 +00003303
Nobuhiro Iwamatsu45254852007-05-13 21:01:03 +09003304#########################################################################
Nobuhiro Iwamatsu6f7d4362008-08-31 23:02:04 +09003305## sh2 (Renesas SuperH)
3306#########################################################################
3307rsk7203_config: unconfig
Kieran Binghamc7e4e352008-12-30 01:16:03 +00003308 @mkdir -p $(obj)include
Peter Griffinde8cd4d2009-02-10 16:44:45 +00003309 @echo "#define CONFIG_RSK7203 1" > $(obj)include/config.h
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02003310 @$(MKCONFIG) -a $@ sh sh2 rsk7203 renesas
Nobuhiro Iwamatsu6f7d4362008-08-31 23:02:04 +09003311
3312#########################################################################
Yoshihiro Shimodadad925c2007-12-03 22:58:50 +09003313## sh3 (Renesas SuperH)
3314#########################################################################
Wolfgang Denk28d8d702008-07-15 22:22:44 +02003315
Mark Jonas35a398a2008-03-10 11:37:10 +01003316mpr2_config: unconfig
Wolfgang Denk741c6882008-07-07 00:45:03 +02003317 @mkdir -p $(obj)include
3318 @echo "#define CONFIG_MPR2 1" > $(obj)include/config.h
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02003319 @$(MKCONFIG) -a $@ sh sh3 mpr2
Mark Jonas35a398a2008-03-10 11:37:10 +01003320
Yoshihiro Shimodadad925c2007-12-03 22:58:50 +09003321ms7720se_config: unconfig
Wolfgang Denk741c6882008-07-07 00:45:03 +02003322 @mkdir -p $(obj)include
3323 @echo "#define CONFIG_MS7720SE 1" > $(obj)include/config.h
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02003324 @$(MKCONFIG) -a $@ sh sh3 ms7720se
Yoshihiro Shimodadad925c2007-12-03 22:58:50 +09003325
3326#########################################################################
Nobuhiro Iwamatsu45254852007-05-13 21:01:03 +09003327## sh4 (Renesas SuperH)
3328#########################################################################
Wolfgang Denk28d8d702008-07-15 22:22:44 +02003329
3330MigoR_config : unconfig
3331 @mkdir -p $(obj)include
3332 @echo "#define CONFIG_MIGO_R 1" > $(obj)include/config.h
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02003333 @$(MKCONFIG) -a $@ sh sh4 MigoR renesas
Wolfgang Denk28d8d702008-07-15 22:22:44 +02003334
Nobuhiro Iwamatsu45254852007-05-13 21:01:03 +09003335ms7750se_config: unconfig
Wolfgang Denk741c6882008-07-07 00:45:03 +02003336 @mkdir -p $(obj)include
Wolfgang Denkf10a5de2008-03-09 00:06:09 +01003337 @echo "#define CONFIG_MS7750SE 1" > $(obj)include/config.h
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02003338 @$(MKCONFIG) -a $@ sh sh4 ms7750se
Nobuhiro Iwamatsu45254852007-05-13 21:01:03 +09003339
Wolfgang Denk19b68c42008-03-04 14:58:31 +01003340ms7722se_config : unconfig
Wolfgang Denk741c6882008-07-07 00:45:03 +02003341 @mkdir -p $(obj)include
Wolfgang Denkf10a5de2008-03-09 00:06:09 +01003342 @echo "#define CONFIG_MS7722SE 1" > $(obj)include/config.h
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02003343 @$(MKCONFIG) -a $@ sh sh4 ms7722se
wdenkabda5ca2003-05-31 18:35:21 +00003344
Wolfgang Denk28d8d702008-07-15 22:22:44 +02003345r2dplus_config : unconfig
Wolfgang Denk741c6882008-07-07 00:45:03 +02003346 @mkdir -p $(obj)include
Wolfgang Denk28d8d702008-07-15 22:22:44 +02003347 @echo "#define CONFIG_R2DPLUS 1" > $(obj)include/config.h
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02003348 @$(MKCONFIG) -a $@ sh sh4 r2dplus renesas
goda.yusukefd768072008-01-25 20:46:36 +09003349
Yusuke Godacf236022008-03-11 12:55:12 +09003350r7780mp_config: unconfig
Wolfgang Denk741c6882008-07-07 00:45:03 +02003351 @mkdir -p $(obj)include
3352 @echo "#define CONFIG_R7780MP 1" > $(obj)include/config.h
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02003353 @$(MKCONFIG) -a $@ sh sh4 r7780mp renesas
Yusuke Godacf236022008-03-11 12:55:12 +09003354
Nobuhiro Iwamatsu113a37e2008-06-09 13:39:57 +09003355sh7763rdp_config : unconfig
Wolfgang Denk741c6882008-07-07 00:45:03 +02003356 @mkdir -p $(obj)include
3357 @echo "#define CONFIG_SH7763RDP 1" > $(obj)include/config.h
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02003358 @$(MKCONFIG) -a $@ sh sh4 sh7763rdp renesas
Nobuhiro Iwamatsu113a37e2008-06-09 13:39:57 +09003359
Yoshihiro Shimoda22dc9ec2009-03-03 15:11:17 +09003360sh7785lcr_32bit_config \
Nobuhiro Iwamatsu52f73c02008-08-31 22:45:08 +09003361sh7785lcr_config : unconfig
Jean-Christophe PLAGNIOL-VILLARDb24d23c2009-06-04 12:06:43 +02003362 @mkdir -p $(obj)include
3363 @mkdir -p $(obj)board/renesas/sh7785lcr
3364 @echo "#define CONFIG_SH7785LCR 1" > $(obj)include/config.h
Yoshihiro Shimoda22dc9ec2009-03-03 15:11:17 +09003365 @if [ "$(findstring 32bit, $@)" ] ; then \
3366 echo "#define CONFIG_SH_32BIT 1" >> $(obj)include/config.h ; \
Yoshihiro Shimoda22dc9ec2009-03-03 15:11:17 +09003367 echo "TEXT_BASE = 0x8ff80000" > \
3368 $(obj)board/renesas/sh7785lcr/config.tmp ; \
Yoshihiro Shimoda22dc9ec2009-03-03 15:11:17 +09003369 fi
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02003370 @$(MKCONFIG) -n $@ -a sh7785lcr sh sh4 sh7785lcr renesas
Nobuhiro Iwamatsu52f73c02008-08-31 22:45:08 +09003371
Nobuhiro Iwamatsu3e590432008-08-22 17:39:09 +09003372ap325rxa_config : unconfig
3373 @mkdir -p $(obj)include
3374 @echo "#define CONFIG_AP325RXA 1" > $(obj)include/config.h
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02003375 @$(MKCONFIG) -a $@ sh sh4 ap325rxa renesas
Nobuhiro Iwamatsu3e590432008-08-22 17:39:09 +09003376
Nobuhiro Iwamatsud1f2a0c2009-06-25 16:31:26 +09003377espt_config : unconfig
3378 @mkdir -p $(obj)include
3379 @echo "#define CONFIG_ESPT 1" > $(obj)include/config.h
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02003380 @$(MKCONFIG) -a $@ sh sh4 espt
Nobuhiro Iwamatsud1f2a0c2009-06-25 16:31:26 +09003381
Daniel Hellstrom9d7c6b22008-03-28 09:47:00 +01003382#========================================================================
3383# SPARC
3384#========================================================================
Wolfgang Denk28d8d702008-07-15 22:22:44 +02003385
Daniel Hellstromb552dbe2008-03-26 22:51:29 +01003386#########################################################################
3387## LEON3
3388#########################################################################
Daniel Hellstrom9d7c6b22008-03-28 09:47:00 +01003389
Daniel Hellstroma2d96db2008-03-26 23:26:48 +01003390# Gaisler GR-XC3S-1500 board
3391gr_xc3s_1500_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02003392 @$(MKCONFIG) $@ sparc leon3 gr_xc3s_1500 gaisler
Daniel Hellstroma2d96db2008-03-26 23:26:48 +01003393
Daniel Hellstrom5b059f72008-03-26 23:38:48 +01003394# Gaisler GR-CPCI-AX2000 board, a General purpose FPGA-AX system
3395gr_cpci_ax2000_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02003396 @$(MKCONFIG) $@ sparc leon3 gr_cpci_ax2000 gaisler
Daniel Hellstrom5b059f72008-03-26 23:38:48 +01003397
Daniel Hellstrome045a4c2008-03-26 23:34:47 +01003398# Gaisler GRLIB template design (GPL SPARC/LEON3) for Altera NIOS
3399# Development board Stratix II edition, FPGA Device EP2S60.
3400gr_ep2s60_config: unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02003401 @$(MKCONFIG) $@ sparc leon3 gr_ep2s60 gaisler
Daniel Hellstrome045a4c2008-03-26 23:34:47 +01003402
Daniel Hellstromce43fed2008-03-28 10:06:52 +01003403# Gaisler LEON3 GRSIM simulator
3404grsim_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02003405 @$(MKCONFIG) $@ sparc leon3 grsim gaisler
Daniel Hellstromce43fed2008-03-28 10:06:52 +01003406
wdenk7ebf7442002-11-02 23:17:16 +00003407#########################################################################
Daniel Hellstrom207e6952008-03-28 10:00:33 +01003408## LEON2
3409#########################################################################
3410
Daniel Hellstrom73caf572008-03-28 10:20:43 +01003411# Gaisler LEON2 GRSIM simulator
3412grsim_leon2_config : unconfig
Wolfgang Denka97b6ab2010-05-27 23:18:34 +02003413 @$(MKCONFIG) $@ sparc leon2 grsim_leon2 gaisler
Daniel Hellstrom73caf572008-03-28 10:20:43 +01003414
wdenk7ebf7442002-11-02 23:17:16 +00003415#########################################################################
3416#########################################################################
3417#########################################################################
wdenk8dba0502003-03-31 16:34:49 +00003418
wdenkb02744a2003-04-05 00:53:31 +00003419clean:
Peter Tyser07a8af32009-07-10 11:03:19 -05003420 @rm -f $(obj)examples/standalone/82559_eeprom \
Wolfgang Denk96b0dfd2009-09-07 23:52:31 +02003421 $(obj)examples/standalone/atmel_df_pow2 \
Peter Tyser07a8af32009-07-10 11:03:19 -05003422 $(obj)examples/standalone/eepro100_eeprom \
3423 $(obj)examples/standalone/hello_world \
3424 $(obj)examples/standalone/interrupt \
3425 $(obj)examples/standalone/mem_to_mem_idma2intr \
3426 $(obj)examples/standalone/sched \
3427 $(obj)examples/standalone/smc91111_eeprom \
3428 $(obj)examples/standalone/test_burst \
3429 $(obj)examples/standalone/timer
Peter Tyseracce4eb2009-07-20 19:02:21 -05003430 @rm -f $(obj)examples/api/demo{,.bin}
Wolfgang Denk19b68c42008-03-04 14:58:31 +01003431 @rm -f $(obj)tools/bmp_logo $(obj)tools/easylogo/easylogo \
3432 $(obj)tools/env/{fw_printenv,fw_setenv} \
3433 $(obj)tools/envcrc \
3434 $(obj)tools/gdb/{astest,gdbcont,gdbsend} \
3435 $(obj)tools/gen_eth_addr $(obj)tools/img2srec \
3436 $(obj)tools/mkimage $(obj)tools/mpc86x_clk \
3437 $(obj)tools/ncb $(obj)tools/ubsha1
3438 @rm -f $(obj)board/cray/L1/{bootscript.c,bootscript.image} \
3439 $(obj)board/netstar/{eeprom,crcek,crcit,*.srec,*.bin} \
3440 $(obj)board/trab/trab_fkt $(obj)board/voiceblue/eeprom \
Wolfgang Denk375babe2009-02-22 01:17:47 +01003441 $(obj)board/armltd/{integratorap,integratorcp}/u-boot.lds \
Peter Tysercede5d82010-04-12 22:28:04 -05003442 $(obj)arch/blackfin/lib/u-boot.lds \
Wolfgang Denk18d46c02009-08-17 14:00:53 +02003443 $(obj)u-boot.lds \
Peter Tyser12e57652010-04-12 22:28:13 -05003444 $(obj)arch/blackfin/cpu/bootrom-asm-offsets.[chs]
Wolfgang Denk3cf55ef2008-04-20 15:39:38 -07003445 @rm -f $(obj)include/bmp_logo.h
Wolfgang Denk18d46c02009-08-17 14:00:53 +02003446 @rm -f $(obj)nand_spl/{u-boot.lds,u-boot-spl,u-boot-spl.map,System.map}
Kyungmin Parkafb72e42009-09-22 09:05:00 +09003447 @rm -f $(obj)onenand_ipl/onenand-{ipl,ipl.bin,ipl.map}
3448 @rm -f $(ONENAND_BIN)
Wolfgang Denk18d46c02009-08-17 14:00:53 +02003449 @rm -f $(obj)onenand_ipl/u-boot.lds
Peter Tyseracce4eb2009-07-20 19:02:21 -05003450 @rm -f $(TIMESTAMP_FILE) $(VERSION_FILE)
Wolfgang Denk0a659ad2008-01-13 00:59:21 +01003451 @find $(OBJTREE) -type f \
wdenk7ebf7442002-11-02 23:17:16 +00003452 \( -name 'core' -o -name '*.bak' -o -name '*~' \
Peter Tyser1ba4b312009-03-13 18:54:26 -05003453 -o -name '*.o' -o -name '*.a' -o -name '*.exe' \) -print \
wdenk7ebf7442002-11-02 23:17:16 +00003454 | xargs rm -f
wdenk7ebf7442002-11-02 23:17:16 +00003455
3456clobber: clean
Wolfgang Denk0a659ad2008-01-13 00:59:21 +01003457 @find $(OBJTREE) -type f \( -name .depend \
wdenkaeba06f2004-06-09 17:34:58 +00003458 -o -name '*.srec' -o -name '*.bin' -o -name u-boot.img \) \
3459 -print0 \
3460 | xargs -0 rm -f
Li Yang8c6dcf02008-02-29 11:46:05 +08003461 @rm -f $(OBJS) $(obj)*.bak $(obj)ctags $(obj)etags $(obj)TAGS \
Wolfgang Denk6570eb32008-03-02 22:45:33 +01003462 $(obj)cscope.* $(obj)*.*~
Wolfgang Denk0a659ad2008-01-13 00:59:21 +01003463 @rm -f $(obj)u-boot $(obj)u-boot.map $(obj)u-boot.hex $(ALL)
Prafulla Wadaskar07329412009-09-07 15:05:02 +05303464 @rm -f $(obj)u-boot.kwb
Stefano Babic421834e2010-02-05 15:13:58 +01003465 @rm -f $(obj)u-boot.imx
Peter Tyserbd5605b2009-03-13 18:54:47 -05003466 @rm -f $(obj)tools/{env/crc32.c,inca-swap-bytes}
Stefan Roese88fbf932010-04-15 16:07:28 +02003467 @rm -f $(obj)arch/powerpc/cpu/mpc824x/bedbug_603e.c
Wolfgang Denk0a659ad2008-01-13 00:59:21 +01003468 @rm -f $(obj)include/asm/proc $(obj)include/asm/arch $(obj)include/asm
Jean-Christophe PLAGNIOL-VILLARD70e976e2008-08-16 18:54:27 +02003469 @[ ! -d $(obj)nand_spl ] || find $(obj)nand_spl -name "*" -type l -print | xargs rm -f
3470 @[ ! -d $(obj)onenand_ipl ] || find $(obj)onenand_ipl -name "*" -type l -print | xargs rm -f
wdenk7ebf7442002-11-02 23:17:16 +00003471
Marian Balakowiczd62379d2006-09-01 19:49:50 +02003472ifeq ($(OBJTREE),$(SRCTREE))
3473mrproper \
3474distclean: clobber unconfig
3475else
wdenk7ebf7442002-11-02 23:17:16 +00003476mrproper \
3477distclean: clobber unconfig
Wolfgang Denk0a659ad2008-01-13 00:59:21 +01003478 rm -rf $(obj)*
Marian Balakowiczd62379d2006-09-01 19:49:50 +02003479endif
wdenk7ebf7442002-11-02 23:17:16 +00003480
3481backup:
3482 F=`basename $(TOPDIR)` ; cd .. ; \
3483 gtar --force-local -zcvf `date "+$$F-%Y-%m-%d-%T.tar.gz"` $$F
3484
3485#########################################################################