]> Git Repo - J-u-boot.git/blame - Makefile
[PATCH] Fix ppc4xx bootstrap letter displayed on startup
[J-u-boot.git] / Makefile
CommitLineData
7ebf7443 1#
881a87ec 2# (C) Copyright 2000-2006
7ebf7443
WD
3# Wolfgang Denk, DENX Software Engineering, [email protected].
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
45a212c4 10# published by the Free Software Foundatio; either version 2 of
7ebf7443
WD
11# 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
15# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16# 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
881a87ec 24VERSION = 1
f4eb5452
WD
25PATCHLEVEL = 2
26SUBLEVEL = 0
881a87ec
WD
27EXTRAVERSION =
28U_BOOT_VERSION = $(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)
f9328639 29VERSION_FILE = $(obj)include/version_autogenerated.h
881a87ec 30
7ebf7443
WD
31HOSTARCH := $(shell uname -m | \
32 sed -e s/i.86/i386/ \
33 -e s/sun4u/sparc64/ \
34 -e s/arm.*/arm/ \
35 -e s/sa110/arm/ \
36 -e s/powerpc/ppc/ \
37 -e s/macppc/ppc/)
38
f9d77ed3 39HOSTOS := $(shell uname -s | tr '[:upper:]' '[:lower:]' | \
7ebf7443
WD
40 sed -e 's/\(cygwin\).*/cygwin/')
41
f9d77ed3 42export HOSTARCH HOSTOS
7ebf7443
WD
43
44# Deal with colliding definitions from tcsh etc.
45VENDOR=
46
47#########################################################################
f9328639
MB
48#
49# U-boot build supports producing a object files to the separate external
50# directory. Two use cases are supported:
887e2ec9 51#
f9328639
MB
52# 1) Add O= to the make command line
53# 'make O=/tmp/build all'
54#
55# 2) Set environement variable BUILD_DIR to point to the desired location
56# 'export BUILD_DIR=/tmp/build'
57# 'make'
58#
59# The second approach can also be used with a MAKEALL script
60# 'export BUILD_DIR=/tmp/build'
61# './MAKEALL'
887e2ec9 62#
f9328639 63# Command line 'O=' setting overrides BUILD_DIR environent variable.
887e2ec9 64#
f9328639
MB
65# When none of the above methods is used the local build is performed and
66# the object files are placed in the source directory.
887e2ec9 67#
f9328639
MB
68
69ifdef O
70ifeq ("$(origin O)", "command line")
71BUILD_DIR := $(O)
72endif
73endif
74
75ifneq ($(BUILD_DIR),)
76saved-output := $(BUILD_DIR)
4f0645eb
MB
77
78# Attempt to create a output directory.
79$(shell [ -d ${BUILD_DIR} ] || mkdir -p ${BUILD_DIR})
80
a73c8dbb 81# Verify if it was successful.
f9328639
MB
82BUILD_DIR := $(shell cd $(BUILD_DIR) && /bin/pwd)
83$(if $(BUILD_DIR),,$(error output directory "$(saved-output)" does not exist))
84endif # ifneq ($(BUILD_DIR),)
85
86OBJTREE := $(if $(BUILD_DIR),$(BUILD_DIR),$(CURDIR))
87SRCTREE := $(CURDIR)
88TOPDIR := $(SRCTREE)
89LNDIR := $(OBJTREE)
90export TOPDIR SRCTREE OBJTREE
91
92MKCONFIG := $(SRCTREE)/mkconfig
93export MKCONFIG
7ebf7443 94
f9328639 95ifneq ($(OBJTREE),$(SRCTREE))
dd520bf3 96REMOTE_BUILD := 1
f9328639
MB
97export REMOTE_BUILD
98endif
99
100# $(obj) and (src) are defined in config.mk but here in main Makefile
101# we also need them before config.mk is included which is the case for
102# some targets like unconfig, clean, clobber, distclean, etc.
103ifneq ($(OBJTREE),$(SRCTREE))
104obj := $(OBJTREE)/
105src := $(SRCTREE)/
106else
107obj :=
108src :=
887e2ec9 109endif
f9328639
MB
110export obj src
111
7ebf7443
WD
112#########################################################################
113
f9328639 114ifeq ($(OBJTREE)/include/config.mk,$(wildcard $(OBJTREE)/include/config.mk))
7ebf7443 115
7ebf7443 116# load ARCH, BOARD, and CPU configuration
f9328639 117include $(OBJTREE)/include/config.mk
1d9f4105 118export ARCH CPU BOARD VENDOR SOC
f9328639 119
7ebf7443 120ifndef CROSS_COMPILE
a5284efd 121ifeq ($(HOSTARCH),$(ARCH))
7ebf7443
WD
122CROSS_COMPILE =
123else
7ebf7443 124ifeq ($(ARCH),ppc)
f046ccd1 125CROSS_COMPILE = powerpc-linux-
7ebf7443
WD
126endif
127ifeq ($(ARCH),arm)
dc7c9a1a 128CROSS_COMPILE = arm-linux-
7ebf7443 129endif
2262cfee 130ifeq ($(ARCH),i386)
7a8e9bed
WD
131CROSS_COMPILE = i386-linux-
132endif
43d9616c
WD
133ifeq ($(ARCH),mips)
134CROSS_COMPILE = mips_4KC-
135endif
4a551709
WD
136ifeq ($(ARCH),nios)
137CROSS_COMPILE = nios-elf-
138endif
5c952cf0
WD
139ifeq ($(ARCH),nios2)
140CROSS_COMPILE = nios2-elf-
141endif
4e5ca3eb
WD
142ifeq ($(ARCH),m68k)
143CROSS_COMPILE = m68k-elf-
144endif
507bbe3e
WD
145ifeq ($(ARCH),microblaze)
146CROSS_COMPILE = mb-
147endif
0afe519a 148ifeq ($(ARCH),blackfin)
ef26a08f 149CROSS_COMPILE = bfin-uclinux-
0afe519a 150endif
7b64fef3 151ifeq ($(ARCH),avr32)
5374b36d 152CROSS_COMPILE = avr32-linux-
7b64fef3 153endif
7ebf7443
WD
154endif
155endif
156
157export CROSS_COMPILE
158
92b197f0
WD
159# load other configuration
160include $(TOPDIR)/config.mk
161
7ebf7443
WD
162#########################################################################
163# U-Boot objects....order is important (i.e. start must be first)
164
9fd5e31f 165OBJS = cpu/$(CPU)/start.o
2262cfee 166ifeq ($(CPU),i386)
9fd5e31f
WD
167OBJS += cpu/$(CPU)/start16.o
168OBJS += cpu/$(CPU)/reset.o
2262cfee 169endif
7ebf7443 170ifeq ($(CPU),ppc4xx)
9fd5e31f 171OBJS += cpu/$(CPU)/resetvec.o
7ebf7443 172endif
42d1f039
WD
173ifeq ($(CPU),mpc85xx)
174OBJS += cpu/$(CPU)/resetvec.o
175endif
debb7354
JL
176ifeq ($(CPU),mpc86xx)
177OBJS += cpu/$(CPU)/resetvec.o
178endif
0afe519a
WD
179ifeq ($(CPU),bf533)
180OBJS += cpu/$(CPU)/start1.o cpu/$(CPU)/interrupt.o cpu/$(CPU)/cache.o
ef26a08f 181OBJS += cpu/$(CPU)/flush.o cpu/$(CPU)/init_sdram.o
0afe519a 182endif
26bf7dec
AL
183ifeq ($(CPU),bf537)
184OBJS += cpu/$(CPU)/start1.o cpu/$(CPU)/interrupt.o cpu/$(CPU)/cache.o
65458987
AL
185OBJS += cpu/$(CPU)/flush.o cpu/$(CPU)/init_sdram.o
186endif
187ifeq ($(CPU),bf561)
188OBJS += cpu/$(CPU)/start1.o cpu/$(CPU)/interrupt.o cpu/$(CPU)/cache.o
189OBJS += cpu/$(CPU)/flush.o cpu/$(CPU)/init_sdram.o
0afe519a 190endif
7ebf7443 191
f9328639
MB
192OBJS := $(addprefix $(obj),$(OBJS))
193
9fd5e31f
WD
194LIBS = lib_generic/libgeneric.a
195LIBS += board/$(BOARDDIR)/lib$(BOARD).a
7ebf7443 196LIBS += cpu/$(CPU)/lib$(CPU).a
1d9f4105
WD
197ifdef SOC
198LIBS += cpu/$(CPU)/$(SOC)/lib$(SOC).a
199endif
323bfa8f
SR
200ifeq ($(CPU),ixp)
201LIBS += cpu/ixp/npe/libnpe.a
202endif
7ebf7443 203LIBS += lib_$(ARCH)/lib$(ARCH).a
518e2e1a 204LIBS += fs/cramfs/libcramfs.a fs/fat/libfat.a fs/fdos/libfdos.a fs/jffs2/libjffs2.a \
c419d1d6 205 fs/reiserfs/libreiserfs.a fs/ext2/libext2fs.a
7ebf7443
WD
206LIBS += net/libnet.a
207LIBS += disk/libdisk.a
208LIBS += rtc/librtc.a
209LIBS += dtt/libdtt.a
210LIBS += drivers/libdrivers.a
6db39708
MB
211LIBS += drivers/nand/libnand.a
212LIBS += drivers/nand_legacy/libnand_legacy.a
7737d5c6
DL
213ifeq ($(CPU),mpc83xx)
214LIBS += drivers/qe/qe.a
215endif
7152b1d0 216LIBS += drivers/sk98lin/libsk98lin.a
ad5bb451
WD
217LIBS += post/libpost.a post/drivers/libpostdrivers.a
218LIBS += $(shell if [ -d post/lib_$(ARCH) ]; then echo \
219 "post/lib_$(ARCH)/libpost$(ARCH).a"; fi)
220LIBS += $(shell if [ -d post/cpu/$(CPU) ]; then echo \
221 "post/cpu/$(CPU)/libpost$(CPU).a"; fi)
222LIBS += $(shell if [ -d post/board/$(BOARDDIR) ]; then echo \
223 "post/board/$(BOARDDIR)/libpost$(BOARD).a"; fi)
7ebf7443 224LIBS += common/libcommon.a
7651f8bd 225LIBS += libfdt/libfdt.a
f9328639
MB
226
227LIBS := $(addprefix $(obj),$(LIBS))
9fd5e31f 228.PHONY : $(LIBS)
a8c7c708 229
4f7cb08e 230# Add GCC lib
1a344f29 231PLATFORM_LIBS += -L $(shell dirname `$(CC) $(CFLAGS) -print-libgcc-file-name`) -lgcc
3d3befa7 232
a8c7c708
WD
233# The "tools" are needed early, so put this first
234# Don't include stuff already done in $(LIBS)
235SUBDIRS = tools \
ad5bb451
WD
236 examples
237
b028f715 238.PHONY : $(SUBDIRS)
a8c7c708 239
887e2ec9
SR
240ifeq ($(CONFIG_NAND_U_BOOT),y)
241NAND_SPL = nand_spl
242U_BOOT_NAND = $(obj)u-boot-nand.bin
243endif
244
f9328639
MB
245__OBJS := $(subst $(obj),,$(OBJS))
246__LIBS := $(subst $(obj),,$(LIBS))
247
bdccc4fe 248#########################################################################
7ebf7443
WD
249#########################################################################
250
887e2ec9 251ALL = $(obj)u-boot.srec $(obj)u-boot.bin $(obj)System.map $(U_BOOT_NAND)
7ebf7443 252
bdccc4fe 253all: $(ALL)
7ebf7443 254
f9328639 255$(obj)u-boot.hex: $(obj)u-boot
6310eb9d
WD
256 $(OBJCOPY) ${OBJCFLAGS} -O ihex $< $@
257
f9328639 258$(obj)u-boot.srec: $(obj)u-boot
7ebf7443
WD
259 $(OBJCOPY) ${OBJCFLAGS} -O srec $< $@
260
f9328639 261$(obj)u-boot.bin: $(obj)u-boot
7ebf7443
WD
262 $(OBJCOPY) ${OBJCFLAGS} -O binary $< $@
263
f9328639 264$(obj)u-boot.img: $(obj)u-boot.bin
bdccc4fe
WD
265 ./tools/mkimage -A $(ARCH) -T firmware -C none \
266 -a $(TEXT_BASE) -e 0 \
881a87ec 267 -n $(shell sed -n -e 's/.*U_BOOT_VERSION//p' $(VERSION_FILE) | \
bdccc4fe
WD
268 sed -e 's/"[ ]*$$/ for $(BOARD) board"/') \
269 -d $< $@
270
f9328639 271$(obj)u-boot.dis: $(obj)u-boot
7ebf7443
WD
272 $(OBJDUMP) -d $< > $@
273
f9328639 274$(obj)u-boot: depend version $(SUBDIRS) $(OBJS) $(LIBS) $(LDSCRIPT)
8bde7f77 275 UNDEF_SYM=`$(OBJDUMP) -x $(LIBS) |sed -n -e 's/.*\(__u_boot_cmd_.*\)/-u\1/p'|sort|uniq`;\
f9328639
MB
276 cd $(LNDIR) && $(LD) $(LDFLAGS) $$UNDEF_SYM $(__OBJS) \
277 --start-group $(__LIBS) --end-group $(PLATFORM_LIBS) \
b2184c31 278 -Map u-boot.map -o u-boot
7ebf7443 279
f9328639
MB
280$(OBJS):
281 $(MAKE) -C cpu/$(CPU) $(if $(REMOTE_BUILD),$@,$(notdir $@))
282
a8c7c708 283$(LIBS):
f9328639 284 $(MAKE) -C $(dir $(subst $(obj),,$@))
a8c7c708
WD
285
286$(SUBDIRS):
b028f715 287 $(MAKE) -C $@ all
7ebf7443 288
887e2ec9 289$(NAND_SPL): version
8318fbf8 290 $(MAKE) -C nand_spl/board/$(BOARDDIR) all
887e2ec9
SR
291
292$(U_BOOT_NAND): $(NAND_SPL) $(obj)u-boot.bin
8318fbf8 293 cat $(obj)nand_spl/u-boot-spl-16k.bin $(obj)u-boot.bin > $(obj)u-boot-nand.bin
887e2ec9 294
881a87ec
WD
295version:
296 @echo -n "#define U_BOOT_VERSION \"U-Boot " > $(VERSION_FILE); \
297 echo -n "$(U_BOOT_VERSION)" >> $(VERSION_FILE); \
298 echo -n $(shell $(CONFIG_SHELL) $(TOPDIR)/tools/setlocalversion \
299 $(TOPDIR)) >> $(VERSION_FILE); \
300 echo "\"" >> $(VERSION_FILE)
301
8f713fdf 302gdbtools:
f9328639
MB
303 $(MAKE) -C tools/gdb all || exit 1
304
305updater:
306 $(MAKE) -C tools/updater all || exit 1
307
308env:
309 $(MAKE) -C tools/env all || exit 1
8f713fdf 310
7ebf7443 311depend dep:
f9328639 312 for dir in $(SUBDIRS) ; do $(MAKE) -C $$dir _depend ; done
7ebf7443 313
f9328639
MB
314tags ctags:
315 ctags -w -o $(OBJTREE)/ctags `find $(SUBDIRS) include \
bda6c8ae
WD
316 lib_generic board/$(BOARDDIR) cpu/$(CPU) lib_$(ARCH) \
317 fs/cramfs fs/fat fs/fdos fs/jffs2 \
318 net disk rtc dtt drivers drivers/sk98lin common \
7ebf7443
WD
319 \( -name CVS -prune \) -o \( -name '*.[ch]' -print \)`
320
321etags:
f9328639 322 etags -a -o $(OBJTREE)/etags `find $(SUBDIRS) include \
eedcd078
WD
323 lib_generic board/$(BOARDDIR) cpu/$(CPU) lib_$(ARCH) \
324 fs/cramfs fs/fat fs/fdos fs/jffs2 \
325 net disk rtc dtt drivers drivers/sk98lin common \
7ebf7443
WD
326 \( -name CVS -prune \) -o \( -name '*.[ch]' -print \)`
327
f9328639 328$(obj)System.map: $(obj)u-boot
7ebf7443
WD
329 @$(NM) $< | \
330 grep -v '\(compiled\)\|\(\.o$$\)\|\( [aUw] \)\|\(\.\.ng$$\)\|\(LASH[RL]DI\)' | \
f9328639 331 sort > $(obj)System.map
7ebf7443
WD
332
333#########################################################################
334else
f9328639
MB
335all $(obj)u-boot.hex $(obj)u-boot.srec $(obj)u-boot.bin \
336$(obj)u-boot.img $(obj)u-boot.dis $(obj)u-boot \
337$(SUBDIRS) version gdbtools updater env depend \
338dep tags ctags etags $(obj)System.map:
7ebf7443
WD
339 @echo "System not configured - see README" >&2
340 @ exit 1
341endif
342
4e53a258
WD
343.PHONY : CHANGELOG
344CHANGELOG:
b985b5d6
BW
345 git log --no-merges U-Boot-1_1_5.. | \
346 unexpand -a | sed -e 's/\s\s*$$//' > $@
4e53a258 347
7ebf7443
WD
348#########################################################################
349
350unconfig:
887e2ec9
SR
351 @rm -f $(obj)include/config.h $(obj)include/config.mk \
352 $(obj)board/*/config.tmp $(obj)board/*/*/config.tmp
7ebf7443
WD
353
354#========================================================================
355# PowerPC
356#========================================================================
0db5bca8
WD
357
358#########################################################################
359## MPC5xx Systems
360#########################################################################
361
5e5f9ed2 362canmb_config: unconfig
f9328639 363 @$(MKCONFIG) -a canmb ppc mpc5xxx canmb
5e5f9ed2 364
0db5bca8 365cmi_mpc5xx_config: unconfig
f9328639 366 @$(MKCONFIG) $(@:_config=) ppc mpc5xx cmi
0db5bca8 367
db01a2ea 368PATI_config: unconfig
f9328639 369 @$(MKCONFIG) $(@:_config=) ppc mpc5xx pati mpl
b6e4c403 370
945af8d7
WD
371#########################################################################
372## MPC5xxx Systems
373#########################################################################
a87589da 374
dafba16e 375aev_config: unconfig
f9328639 376 @$(MKCONFIG) -a aev ppc mpc5xxx tqm5200
dafba16e 377
6ca24c64 378BC3450_config: unconfig
f9328639 379 @$(MKCONFIG) -a BC3450 ppc mpc5xxx bc3450
6ca24c64 380
5e4b3361 381cpci5200_config: unconfig
f9328639 382 @$(MKCONFIG) -a cpci5200 ppc mpc5xxx cpci5200 esd
5e4b3361 383
a87589da 384hmi1001_config: unconfig
f9328639 385 @$(MKCONFIG) hmi1001 ppc mpc5xxx hmi1001
a87589da 386
e35745bb
WD
387Lite5200_config \
388Lite5200_LOWBOOT_config \
389Lite5200_LOWBOOT08_config \
390icecube_5200_config \
391icecube_5200_LOWBOOT_config \
392icecube_5200_LOWBOOT08_config \
dd520bf3
WD
393icecube_5200_DDR_config \
394icecube_5200_DDR_LOWBOOT_config \
e35745bb
WD
395icecube_5200_DDR_LOWBOOT08_config \
396icecube_5100_config: unconfig
f9328639
MB
397 @mkdir -p $(obj)include
398 @mkdir -p $(obj)board/icecube
399 @ >$(obj)include/config.h
17d704eb
WD
400 @[ -z "$(findstring LOWBOOT_,$@)" ] || \
401 { if [ "$(findstring DDR,$@)" ] ; \
f9328639
MB
402 then echo "TEXT_BASE = 0xFF800000" >$(obj)board/icecube/config.tmp ; \
403 else echo "TEXT_BASE = 0xFF000000" >$(obj)board/icecube/config.tmp ; \
17d704eb 404 fi ; \
5cf9da48
WD
405 echo "... with LOWBOOT configuration" ; \
406 }
407 @[ -z "$(findstring LOWBOOT08,$@)" ] || \
f9328639 408 { echo "TEXT_BASE = 0xFF800000" >$(obj)board/icecube/config.tmp ; \
5cf9da48 409 echo "... with 8 MB flash only" ; \
17d704eb 410 echo "... with LOWBOOT configuration" ; \
5cf9da48 411 }
b2001f27 412 @[ -z "$(findstring DDR,$@)" ] || \
f9328639 413 { echo "#define CONFIG_MPC5200_DDR" >>$(obj)include/config.h ; \
b2001f27
WD
414 echo "... DDR memory revision" ; \
415 }
d4ca31c4 416 @[ -z "$(findstring 5200,$@)" ] || \
f9328639 417 { echo "#define CONFIG_MPC5200" >>$(obj)include/config.h ; \
d4ca31c4
WD
418 echo "... with MPC5200 processor" ; \
419 }
a0f2fe52 420 @[ -z "$(findstring 5100,$@)" ] || \
f9328639 421 { echo "#define CONFIG_MGT5100" >>$(obj)include/config.h ; \
945af8d7
WD
422 echo "... with MGT5100 processor" ; \
423 }
f9328639 424 @$(MKCONFIG) -a IceCube ppc mpc5xxx icecube
945af8d7 425
2605e90b
HS
426jupiter_config: unconfig
427 @$(MKCONFIG) jupiter ppc mpc5xxx jupiter
428
4707fb50 429v38b_config: unconfig
82d9c9ec 430 @./mkconfig -a v38b ppc mpc5xxx v38b
4707fb50 431
86ea5f93 432inka4x0_config: unconfig
f9328639 433 @$(MKCONFIG) inka4x0 ppc mpc5xxx inka4x0
138ff60c 434
09e4b0c5 435lite5200b_config \
d3832e8f 436lite5200b_PM_config \
09e4b0c5 437lite5200b_LOWBOOT_config: unconfig
f9328639
MB
438 @mkdir -p $(obj)include
439 @mkdir -p $(obj)board/icecube
440 @ >$(obj)include/config.h
441 @ echo "#define CONFIG_MPC5200_DDR" >>$(obj)include/config.h
09e4b0c5 442 @ echo "... DDR memory revision"
f9328639
MB
443 @ echo "#define CONFIG_MPC5200" >>$(obj)include/config.h
444 @ echo "#define CONFIG_LITE5200B" >>$(obj)include/config.h
d3832e8f
DP
445 @[ -z "$(findstring _PM_,$@)" ] || \
446 { echo "#define CONFIG_LITE5200B_PM" >>$(obj)include/config.h ; \
447 echo "... with power management (low-power mode) support" ; \
448 }
09e4b0c5 449 @[ -z "$(findstring LOWBOOT_,$@)" ] || \
f9328639 450 { echo "TEXT_BASE = 0xFF000000" >$(obj)board/icecube/config.tmp ; \
09e4b0c5
WD
451 echo "... with LOWBOOT configuration" ; \
452 }
453 @ echo "... with MPC5200B processor"
f9328639 454 @$(MKCONFIG) -a IceCube ppc mpc5xxx icecube
09e4b0c5 455
f1ee9825 456mcc200_config \
ed1cf845
WD
457mcc200_SDRAM_config \
458mcc200_highboot_config \
459mcc200_COM12_config \
460mcc200_COM12_SDRAM_config \
113f64e0
WD
461mcc200_COM12_highboot_config \
462mcc200_COM12_highboot_SDRAM_config \
ed1cf845
WD
463mcc200_highboot_SDRAM_config \
464prs200_config \
465prs200_DDR_config \
466prs200_highboot_config \
467prs200_highboot_DDR_config: unconfig
f9328639
MB
468 @mkdir -p $(obj)include
469 @mkdir -p $(obj)board/mcc200
470 @ >$(obj)include/config.h
4819fad9
WD
471 @[ -n "$(findstring highboot,$@)" ] || \
472 { echo "... with lowboot configuration" ; \
f1ee9825 473 }
4819fad9 474 @[ -z "$(findstring highboot,$@)" ] || \
f9328639 475 { echo "TEXT_BASE = 0xFFF00000" >$(obj)board/mcc200/config.tmp ; \
4819fad9
WD
476 echo "... with highboot configuration" ; \
477 }
478 @[ -n "$(findstring _SDRAM,$@)" ] || \
ed1cf845
WD
479 { if [ -n "$(findstring mcc200,$@)" ]; \
480 then \
dd520bf3 481 echo "... with DDR" ; \
ed1cf845
WD
482 else \
483 if [ -n "$(findstring _DDR,$@)" ];\
484 then \
485 echo "... with DDR" ; \
486 else \
f9328639 487 echo "#define CONFIG_MCC200_SDRAM" >>$(obj)include/config.h ;\
ed1cf845
WD
488 echo "... with SDRAM" ; \
489 fi; \
490 fi; \
4819fad9
WD
491 }
492 @[ -z "$(findstring _SDRAM,$@)" ] || \
f9328639 493 { echo "#define CONFIG_MCC200_SDRAM" >>$(obj)include/config.h ; \
4819fad9
WD
494 echo "... with SDRAM" ; \
495 }
463764c8 496 @[ -z "$(findstring COM12,$@)" ] || \
f9328639 497 { echo "#define CONFIG_CONSOLE_COM12" >>$(obj)include/config.h ; \
463764c8
WD
498 echo "... with console on COM12" ; \
499 }
ed1cf845 500 @[ -z "$(findstring prs200,$@)" ] || \
f9328639 501 { echo "#define CONFIG_PRS200" >>$(obj)include/config.h ;\
ed1cf845 502 }
f9328639 503 @$(MKCONFIG) -n $@ -a mcc200 ppc mpc5xxx mcc200
86ea5f93 504
8b7d1f0a
SR
505mecp5200_config: unconfig
506 @$(MKCONFIG) -a mecp5200 ppc mpc5xxx mecp5200 esd
507
df04a3df 508o2dnt_config:
f9328639 509 @$(MKCONFIG) o2dnt ppc mpc5xxx o2dnt
df04a3df 510
5e4b3361 511pf5200_config: unconfig
f9328639 512 @$(MKCONFIG) pf5200 ppc mpc5xxx pf5200 esd
5e4b3361 513
89394047
WD
514PM520_config \
515PM520_DDR_config \
516PM520_ROMBOOT_config \
517PM520_ROMBOOT_DDR_config: unconfig
f9328639
MB
518 @mkdir -p $(obj)include
519 @ >$(obj)include/config.h
89394047 520 @[ -z "$(findstring DDR,$@)" ] || \
f9328639 521 { echo "#define CONFIG_MPC5200_DDR" >>$(obj)include/config.h ; \
89394047
WD
522 echo "... DDR memory revision" ; \
523 }
524 @[ -z "$(findstring ROMBOOT,$@)" ] || \
f9328639 525 { echo "#define CONFIG_BOOT_ROM" >>$(obj)include/config.h ; \
89394047
WD
526 echo "... booting from 8-bit flash" ; \
527 }
f9328639 528 @$(MKCONFIG) -a PM520 ppc mpc5xxx pm520
89394047 529
6624b687 530smmaco4_config: unconfig
f9328639 531 @$(MKCONFIG) -a smmaco4 ppc mpc5xxx tqm5200
9cdc8386
WD
532
533spieval_config: unconfig
f9328639 534 @$(MKCONFIG) -a spieval ppc mpc5xxx tqm5200
9cdc8386 535
45a212c4 536TB5200_B_config \
b87dfd28 537TB5200_config: unconfig
f9328639 538 @mkdir -p $(obj)include
45a212c4 539 @[ -z "$(findstring _B,$@)" ] || \
f9328639 540 { echo "#define CONFIG_TQM5200_B" >>$(obj)include/config.h ; \
45a212c4
WD
541 echo "... with MPC5200B processor" ; \
542 }
f9328639 543 @$(MKCONFIG) -n $@ -a TB5200 ppc mpc5xxx tqm5200
b87dfd28 544
d4ca31c4
WD
545MINI5200_config \
546EVAL5200_config \
547TOP5200_config: unconfig
f9328639
MB
548 @mkdir -p $(obj)include
549 @ echo "#define CONFIG_$(@:_config=) 1" >$(obj)include/config.h
550 @$(MKCONFIG) -n $@ -a TOP5200 ppc mpc5xxx top5200 emk
d4ca31c4 551
6c7a1408
WD
552Total5100_config \
553Total5200_config \
554Total5200_lowboot_config \
555Total5200_Rev2_config \
556Total5200_Rev2_lowboot_config: unconfig
f9328639
MB
557 @mkdir -p $(obj)include
558 @mkdir -p $(obj)board/total5200
559 @ >$(obj)include/config.h
6c7a1408 560 @[ -z "$(findstring 5100,$@)" ] || \
f9328639 561 { echo "#define CONFIG_MGT5100" >>$(obj)include/config.h ; \
6c7a1408
WD
562 echo "... with MGT5100 processor" ; \
563 }
564 @[ -z "$(findstring 5200,$@)" ] || \
f9328639 565 { echo "#define CONFIG_MPC5200" >>$(obj)include/config.h ; \
6c7a1408
WD
566 echo "... with MPC5200 processor" ; \
567 }
568 @[ -n "$(findstring Rev,$@)" ] || \
f9328639 569 { echo "#define CONFIG_TOTAL5200_REV 1" >>$(obj)include/config.h ; \
6c7a1408
WD
570 echo "... revision 1 board" ; \
571 }
572 @[ -z "$(findstring Rev2_,$@)" ] || \
f9328639 573 { echo "#define CONFIG_TOTAL5200_REV 2" >>$(obj)include/config.h ; \
6c7a1408
WD
574 echo "... revision 2 board" ; \
575 }
576 @[ -z "$(findstring lowboot_,$@)" ] || \
f9328639 577 { echo "TEXT_BASE = 0xFE000000" >$(obj)board/total5200/config.tmp ; \
6c7a1408
WD
578 echo "... with lowboot configuration" ; \
579 }
f9328639 580 @$(MKCONFIG) -a Total5200 ppc mpc5xxx total5200
6c7a1408 581
135ae006 582cam5200_config \
d9384de2 583cam5200_niosflash_config \
5196a7a0 584fo300_config \
6d3bc9b8 585MiniFAP_config \
5078cce8
WD
586TQM5200S_config \
587TQM5200S_HIGHBOOT_config \
5196a7a0
WD
588TQM5200_B_config \
589TQM5200_B_HIGHBOOT_config \
590TQM5200_config \
591TQM5200_STK100_config: unconfig
f9328639
MB
592 @mkdir -p $(obj)include
593 @mkdir -p $(obj)board/tqm5200
594 @ >$(obj)include/config.h
135ae006 595 @[ -z "$(findstring cam5200,$@)" ] || \
f9328639
MB
596 { echo "#define CONFIG_CAM5200" >>$(obj)include/config.h ; \
597 echo "#define CONFIG_TQM5200S" >>$(obj)include/config.h ; \
598 echo "#define CONFIG_TQM5200_B" >>$(obj)include/config.h ; \
135ae006 599 echo "... TQM5200S on Cam5200" ; \
5078cce8 600 }
d9384de2
MB
601 @[ -z "$(findstring niosflash,$@)" ] || \
602 { echo "#define CONFIG_CAM5200_NIOSFLASH" >>$(obj)include/config.h ; \
603 echo "... with NIOS flash driver" ; \
604 }
6d3bc9b8 605 @[ -z "$(findstring fo300,$@)" ] || \
f9328639 606 { echo "#define CONFIG_FO300" >>$(obj)include/config.h ; \
6d3bc9b8
MB
607 echo "... TQM5200 on FO300" ; \
608 }
89394047 609 @[ -z "$(findstring MiniFAP,$@)" ] || \
f9328639 610 { echo "#define CONFIG_MINIFAP" >>$(obj)include/config.h ; \
89394047 611 echo "... TQM5200_AC on MiniFAP" ; \
56523f12 612 }
cd65a3dc 613 @[ -z "$(findstring STK100,$@)" ] || \
f9328639 614 { echo "#define CONFIG_STK52XX_REV100" >>$(obj)include/config.h ; \
cd65a3dc 615 echo "... on a STK52XX.100 base board" ; \
7e6bf358 616 }
5078cce8 617 @[ -z "$(findstring TQM5200_B,$@)" ] || \
f9328639 618 { echo "#define CONFIG_TQM5200_B" >>$(obj)include/config.h ; \
5078cce8
WD
619 }
620 @[ -z "$(findstring TQM5200S,$@)" ] || \
f9328639
MB
621 { echo "#define CONFIG_TQM5200S" >>$(obj)include/config.h ; \
622 echo "#define CONFIG_TQM5200_B" >>$(obj)include/config.h ; \
45a212c4 623 }
978b1096 624 @[ -z "$(findstring HIGHBOOT,$@)" ] || \
f9328639 625 { echo "TEXT_BASE = 0xFFF00000" >$(obj)board/tqm5200/config.tmp ; \
978b1096 626 }
f9328639 627 @$(MKCONFIG) -n $@ -a TQM5200 ppc mpc5xxx tqm5200
6dedf3d4
HS
628uc101_config: unconfig
629 @$(MKCONFIG) uc101 ppc mpc5xxx uc101
53d4a498
BS
630motionpro_config: unconfig
631 @$(MKCONFIG) motionpro ppc mpc5xxx motionpro
632
56523f12 633
7ebf7443
WD
634#########################################################################
635## MPC8xx Systems
636#########################################################################
637
2d24a3a7
WD
638Adder_config \
639Adder87x_config \
26238132 640AdderII_config \
2d24a3a7 641 : unconfig
f9328639 642 @mkdir -p $(obj)include
26238132 643 $(if $(findstring AdderII,$@), \
f9328639
MB
644 @echo "#define CONFIG_MPC852T" > $(obj)include/config.h)
645 @$(MKCONFIG) -a Adder ppc mpc8xx adder
2d24a3a7 646
180d3f74 647ADS860_config \
180d3f74
WD
648FADS823_config \
649FADS850SAR_config \
650MPC86xADS_config \
1114257c 651MPC885ADS_config \
180d3f74 652FADS860T_config: unconfig
f9328639 653 @$(MKCONFIG) $(@:_config=) ppc mpc8xx fads
7ebf7443
WD
654
655AMX860_config : unconfig
f9328639 656 @$(MKCONFIG) $(@:_config=) ppc mpc8xx amx860 westel
7ebf7443
WD
657
658c2mon_config: unconfig
f9328639 659 @$(MKCONFIG) $(@:_config=) ppc mpc8xx c2mon
7ebf7443
WD
660
661CCM_config: unconfig
f9328639 662 @$(MKCONFIG) $(@:_config=) ppc mpc8xx CCM siemens
7ebf7443
WD
663
664cogent_mpc8xx_config: unconfig
f9328639 665 @$(MKCONFIG) $(@:_config=) ppc mpc8xx cogent
7ebf7443 666
3bac3513 667ELPT860_config: unconfig
f9328639 668 @$(MKCONFIG) $(@:_config=) ppc mpc8xx elpt860 LEOX
3bac3513 669
84c960ce 670EP88x_config: unconfig
f9328639 671 @$(MKCONFIG) $(@:_config=) ppc mpc8xx ep88x
84c960ce 672
7ebf7443 673ESTEEM192E_config: unconfig
f9328639 674 @$(MKCONFIG) $(@:_config=) ppc mpc8xx esteem192e
7ebf7443
WD
675
676ETX094_config : unconfig
f9328639 677 @$(MKCONFIG) $(@:_config=) ppc mpc8xx etx094
7ebf7443 678
7ebf7443 679FLAGADM_config: unconfig
f9328639 680 @$(MKCONFIG) $(@:_config=) ppc mpc8xx flagadm
7ebf7443 681
7aa78614
WD
682xtract_GEN860T = $(subst _SC,,$(subst _config,,$1))
683
684GEN860T_SC_config \
7ebf7443 685GEN860T_config: unconfig
f9328639
MB
686 @mkdir -p $(obj)include
687 @ >$(obj)include/config.h
7aa78614 688 @[ -z "$(findstring _SC,$@)" ] || \
f9328639 689 { echo "#define CONFIG_SC" >>$(obj)include/config.h ; \
7aa78614
WD
690 echo "With reduced H/W feature set (SC)..." ; \
691 }
f9328639 692 @$(MKCONFIG) -a $(call xtract_GEN860T,$@) ppc mpc8xx gen860t
7ebf7443
WD
693
694GENIETV_config: unconfig
f9328639 695 @$(MKCONFIG) $(@:_config=) ppc mpc8xx genietv
7ebf7443
WD
696
697GTH_config: unconfig
f9328639 698 @$(MKCONFIG) $(@:_config=) ppc mpc8xx gth
7ebf7443
WD
699
700hermes_config : unconfig
f9328639 701 @$(MKCONFIG) $(@:_config=) ppc mpc8xx hermes
7ebf7443 702
c40b2956 703HMI10_config : unconfig
f9328639 704 @$(MKCONFIG) $(@:_config=) ppc mpc8xx tqm8xx
c40b2956 705
7ebf7443 706IAD210_config: unconfig
f9328639 707 @$(MKCONFIG) $(@:_config=) ppc mpc8xx IAD210 siemens
7ebf7443
WD
708
709xtract_ICU862 = $(subst _100MHz,,$(subst _config,,$1))
710
711ICU862_100MHz_config \
712ICU862_config: unconfig
f9328639
MB
713 @mkdir -p $(obj)include
714 @ >$(obj)include/config.h
7ebf7443 715 @[ -z "$(findstring _100MHz,$@)" ] || \
f9328639 716 { echo "#define CONFIG_100MHz" >>$(obj)include/config.h ; \
7ebf7443
WD
717 echo "... with 100MHz system clock" ; \
718 }
f9328639 719 @$(MKCONFIG) -a $(call xtract_ICU862,$@) ppc mpc8xx icu862
7ebf7443
WD
720
721IP860_config : unconfig
f9328639 722 @$(MKCONFIG) $(@:_config=) ppc mpc8xx ip860
7ebf7443
WD
723
724IVML24_256_config \
725IVML24_128_config \
726IVML24_config: unconfig
f9328639
MB
727 @mkdir -p $(obj)include
728 @ >$(obj)include/config.h
7ebf7443 729 @[ -z "$(findstring IVML24_config,$@)" ] || \
f9328639 730 { echo "#define CONFIG_IVML24_16M" >>$(obj)include/config.h ; \
7ebf7443
WD
731 }
732 @[ -z "$(findstring IVML24_128_config,$@)" ] || \
f9328639 733 { echo "#define CONFIG_IVML24_32M" >>$(obj)include/config.h ; \
7ebf7443
WD
734 }
735 @[ -z "$(findstring IVML24_256_config,$@)" ] || \
f9328639 736 { echo "#define CONFIG_IVML24_64M" >>$(obj)include/config.h ; \
7ebf7443 737 }
f9328639 738 @$(MKCONFIG) -a IVML24 ppc mpc8xx ivm
7ebf7443
WD
739
740IVMS8_256_config \
741IVMS8_128_config \
742IVMS8_config: unconfig
f9328639
MB
743 @mkdir -p $(obj)include
744 @ >$(obj)include/config.h
7ebf7443 745 @[ -z "$(findstring IVMS8_config,$@)" ] || \
f9328639 746 { echo "#define CONFIG_IVMS8_16M" >>$(obj)include/config.h ; \
7ebf7443
WD
747 }
748 @[ -z "$(findstring IVMS8_128_config,$@)" ] || \
f9328639 749 { echo "#define CONFIG_IVMS8_32M" >>$(obj)include/config.h ; \
7ebf7443
WD
750 }
751 @[ -z "$(findstring IVMS8_256_config,$@)" ] || \
f9328639 752 { echo "#define CONFIG_IVMS8_64M" >>$(obj)include/config.h ; \
7ebf7443 753 }
f9328639 754 @$(MKCONFIG) -a IVMS8 ppc mpc8xx ivm
7ebf7443 755
56f94be3 756KUP4K_config : unconfig
f9328639 757 @$(MKCONFIG) $(@:_config=) ppc mpc8xx kup4k kup
0608e04d
WD
758
759KUP4X_config : unconfig
f9328639 760 @$(MKCONFIG) $(@:_config=) ppc mpc8xx kup4x kup
56f94be3 761
7ebf7443 762LANTEC_config : unconfig
f9328639 763 @$(MKCONFIG) $(@:_config=) ppc mpc8xx lantec
7ebf7443
WD
764
765lwmon_config: unconfig
f9328639 766 @$(MKCONFIG) $(@:_config=) ppc mpc8xx lwmon
7ebf7443
WD
767
768MBX_config \
769MBX860T_config: unconfig
f9328639 770 @$(MKCONFIG) $(@:_config=) ppc mpc8xx mbx8xx
7ebf7443
WD
771
772MHPC_config: unconfig
f9328639 773 @$(MKCONFIG) $(@:_config=) ppc mpc8xx mhpc eltec
7ebf7443
WD
774
775MVS1_config : unconfig
f9328639 776 @$(MKCONFIG) $(@:_config=) ppc mpc8xx mvs1
7ebf7443 777
993cad93
WD
778xtract_NETVIA = $(subst _V2,,$(subst _config,,$1))
779
780NETVIA_V2_config \
7ebf7443 781NETVIA_config: unconfig
f9328639
MB
782 @mkdir -p $(obj)include
783 @ >$(obj)include/config.h
993cad93 784 @[ -z "$(findstring NETVIA_config,$@)" ] || \
f9328639 785 { echo "#define CONFIG_NETVIA_VERSION 1" >>$(obj)include/config.h ; \
993cad93
WD
786 echo "... Version 1" ; \
787 }
788 @[ -z "$(findstring NETVIA_V2_config,$@)" ] || \
f9328639 789 { echo "#define CONFIG_NETVIA_VERSION 2" >>$(obj)include/config.h ; \
993cad93
WD
790 echo "... Version 2" ; \
791 }
f9328639 792 @$(MKCONFIG) -a $(call xtract_NETVIA,$@) ppc mpc8xx netvia
7ebf7443 793
c26e454d
WD
794xtract_NETPHONE = $(subst _V2,,$(subst _config,,$1))
795
796NETPHONE_V2_config \
04a85b3b 797NETPHONE_config: unconfig
f9328639
MB
798 @mkdir -p $(obj)include
799 @ >$(obj)include/config.h
c26e454d 800 @[ -z "$(findstring NETPHONE_config,$@)" ] || \
f9328639 801 { echo "#define CONFIG_NETPHONE_VERSION 1" >>$(obj)include/config.h ; \
c26e454d
WD
802 }
803 @[ -z "$(findstring NETPHONE_V2_config,$@)" ] || \
f9328639 804 { echo "#define CONFIG_NETPHONE_VERSION 2" >>$(obj)include/config.h ; \
c26e454d 805 }
f9328639 806 @$(MKCONFIG) -a $(call xtract_NETPHONE,$@) ppc mpc8xx netphone
04a85b3b 807
79fa88f3 808xtract_NETTA = $(subst _SWAPHOOK,,$(subst _6412,,$(subst _ISDN,,$(subst _config,,$1))))
04a85b3b 809
79fa88f3
WD
810NETTA_ISDN_6412_SWAPHOOK_config \
811NETTA_ISDN_SWAPHOOK_config \
812NETTA_6412_SWAPHOOK_config \
813NETTA_SWAPHOOK_config \
814NETTA_ISDN_6412_config \
04a85b3b 815NETTA_ISDN_config \
79fa88f3 816NETTA_6412_config \
04a85b3b 817NETTA_config: unconfig
f9328639
MB
818 @mkdir -p $(obj)include
819 @ >$(obj)include/config.h
79fa88f3 820 @[ -z "$(findstring ISDN_,$@)" ] || \
f9328639 821 { echo "#define CONFIG_NETTA_ISDN 1" >>$(obj)include/config.h ; \
79fa88f3
WD
822 }
823 @[ -n "$(findstring ISDN_,$@)" ] || \
f9328639 824 { echo "#undef CONFIG_NETTA_ISDN" >>$(obj)include/config.h ; \
04a85b3b 825 }
79fa88f3 826 @[ -z "$(findstring 6412_,$@)" ] || \
f9328639 827 { echo "#define CONFIG_NETTA_6412 1" >>$(obj)include/config.h ; \
79fa88f3
WD
828 }
829 @[ -n "$(findstring 6412_,$@)" ] || \
f9328639 830 { echo "#undef CONFIG_NETTA_6412" >>$(obj)include/config.h ; \
79fa88f3
WD
831 }
832 @[ -z "$(findstring SWAPHOOK_,$@)" ] || \
f9328639 833 { echo "#define CONFIG_NETTA_SWAPHOOK 1" >>$(obj)include/config.h ; \
79fa88f3
WD
834 }
835 @[ -n "$(findstring SWAPHOOK_,$@)" ] || \
f9328639 836 { echo "#undef CONFIG_NETTA_SWAPHOOK" >>$(obj)include/config.h ; \
04a85b3b 837 }
f9328639 838 @$(MKCONFIG) -a $(call xtract_NETTA,$@) ppc mpc8xx netta
04a85b3b 839
79fa88f3
WD
840xtract_NETTA2 = $(subst _V2,,$(subst _config,,$1))
841
842NETTA2_V2_config \
843NETTA2_config: unconfig
f9328639
MB
844 @mkdir -p $(obj)include
845 @ >$(obj)include/config.h
79fa88f3 846 @[ -z "$(findstring NETTA2_config,$@)" ] || \
f9328639 847 { echo "#define CONFIG_NETTA2_VERSION 1" >>$(obj)include/config.h ; \
79fa88f3
WD
848 }
849 @[ -z "$(findstring NETTA2_V2_config,$@)" ] || \
f9328639 850 { echo "#define CONFIG_NETTA2_VERSION 2" >>$(obj)include/config.h ; \
79fa88f3 851 }
f9328639 852 @$(MKCONFIG) -a $(call xtract_NETTA2,$@) ppc mpc8xx netta2
79fa88f3 853
a367d426 854NC650_Rev1_config \
855NC650_Rev2_config \
856CP850_config: unconfig
f9328639
MB
857 @mkdir -p $(obj)include
858 @ >$(obj)include/config.h
a367d426 859 @[ -z "$(findstring CP850,$@)" ] || \
f9328639
MB
860 { echo "#define CONFIG_CP850 1" >>$(obj)include/config.h ; \
861 echo "#define CONFIG_IDS852_REV2 1" >>$(obj)include/config.h ; \
a367d426 862 }
863 @[ -z "$(findstring Rev1,$@)" ] || \
f9328639 864 { echo "#define CONFIG_IDS852_REV1 1" >>$(obj)include/config.h ; \
a367d426 865 }
866 @[ -z "$(findstring Rev2,$@)" ] || \
f9328639 867 { echo "#define CONFIG_IDS852_REV2 1" >>$(obj)include/config.h ; \
a367d426 868 }
f9328639 869 @$(MKCONFIG) -a NC650 ppc mpc8xx nc650
7ca202f5 870
7ebf7443 871NX823_config: unconfig
f9328639 872 @$(MKCONFIG) $(@:_config=) ppc mpc8xx nx823
7ebf7443
WD
873
874pcu_e_config: unconfig
f9328639 875 @$(MKCONFIG) $(@:_config=) ppc mpc8xx pcu_e siemens
7ebf7443 876
3bbc899f 877QS850_config: unconfig
f9328639 878 @$(MKCONFIG) $(@:_config=) ppc mpc8xx qs850 snmc
3bbc899f
WD
879
880QS823_config: unconfig
f9328639 881 @$(MKCONFIG) $(@:_config=) ppc mpc8xx qs850 snmc
3bbc899f
WD
882
883QS860T_config: unconfig
f9328639 884 @$(MKCONFIG) $(@:_config=) ppc mpc8xx qs860t snmc
3bbc899f 885
da93ed81 886quantum_config: unconfig
f9328639 887 @$(MKCONFIG) $(@:_config=) ppc mpc8xx quantum
da93ed81 888
7ebf7443 889R360MPI_config: unconfig
f9328639 890 @$(MKCONFIG) $(@:_config=) ppc mpc8xx r360mpi
7ebf7443 891
682011ff 892RBC823_config: unconfig
f9328639 893 @$(MKCONFIG) $(@:_config=) ppc mpc8xx rbc823
682011ff 894
7ebf7443 895RPXClassic_config: unconfig
f9328639 896 @$(MKCONFIG) $(@:_config=) ppc mpc8xx RPXClassic
7ebf7443
WD
897
898RPXlite_config: unconfig
f9328639 899 @$(MKCONFIG) $(@:_config=) ppc mpc8xx RPXlite
7ebf7443 900
dd520bf3
WD
901RPXlite_DW_64_config \
902RPXlite_DW_LCD_config \
903RPXlite_DW_64_LCD_config \
e63c8ee3
WD
904RPXlite_DW_NVRAM_config \
905RPXlite_DW_NVRAM_64_config \
906RPXlite_DW_NVRAM_LCD_config \
907RPXlite_DW_NVRAM_64_LCD_config \
908RPXlite_DW_config: unconfig
f9328639
MB
909 @mkdir -p $(obj)include
910 @ >$(obj)include/config.h
e63c8ee3 911 @[ -z "$(findstring _64,$@)" ] || \
f9328639 912 { echo "#define RPXlite_64MHz" >>$(obj)include/config.h ; \
e63c8ee3
WD
913 echo "... with 64MHz system clock ..."; \
914 }
915 @[ -z "$(findstring _LCD,$@)" ] || \
dd520bf3 916 { echo "#define CONFIG_LCD" >>$(obj)include/config.h ; \
f9328639 917 echo "#define CONFIG_NEC_NL6448BC20" >>$(obj)include/config.h ; \
e63c8ee3
WD
918 echo "... with LCD display ..."; \
919 }
920 @[ -z "$(findstring _NVRAM,$@)" ] || \
dd520bf3 921 { echo "#define CFG_ENV_IS_IN_NVRAM" >>$(obj)include/config.h ; \
e63c8ee3
WD
922 echo "... with ENV in NVRAM ..."; \
923 }
f9328639 924 @$(MKCONFIG) -a RPXlite_DW ppc mpc8xx RPXlite_dw
e63c8ee3 925
73a8b27c 926rmu_config: unconfig
f9328639 927 @$(MKCONFIG) $(@:_config=) ppc mpc8xx rmu
73a8b27c 928
7ebf7443 929RRvision_config: unconfig
f9328639 930 @$(MKCONFIG) $(@:_config=) ppc mpc8xx RRvision
7ebf7443
WD
931
932RRvision_LCD_config: unconfig
f9328639
MB
933 @mkdir -p $(obj)include
934 @echo "#define CONFIG_LCD" >$(obj)include/config.h
935 @echo "#define CONFIG_SHARP_LQ104V7DS01" >>$(obj)include/config.h
936 @$(MKCONFIG) -a RRvision ppc mpc8xx RRvision
7ebf7443
WD
937
938SM850_config : unconfig
f9328639 939 @$(MKCONFIG) $(@:_config=) ppc mpc8xx tqm8xx
7ebf7443 940
b02d0177 941spc1920_config:
f9328639 942 @$(MKCONFIG) $(@:_config=) ppc mpc8xx spc1920
b02d0177 943
7ebf7443 944SPD823TS_config: unconfig
f9328639 945 @$(MKCONFIG) $(@:_config=) ppc mpc8xx spd8xx
7ebf7443 946
6bdf4306 947stxxtc_config: unconfig
f9328639 948 @$(MKCONFIG) $(@:_config=) ppc mpc8xx stxxtc
6bdf4306 949
dc7c9a1a 950svm_sc8xx_config: unconfig
f9328639 951 @$(MKCONFIG) $(@:_config=) ppc mpc8xx svm_sc8xx
dc7c9a1a 952
7ebf7443 953SXNI855T_config: unconfig
f9328639 954 @$(MKCONFIG) $(@:_config=) ppc mpc8xx sixnet
7ebf7443 955
db2f721f
WD
956# EMK MPC8xx based modules
957TOP860_config: unconfig
f9328639 958 @$(MKCONFIG) $(@:_config=) ppc mpc8xx top860 emk
db2f721f 959
7ebf7443 960# Play some tricks for configuration selection
e9132ea9
WD
961# Only 855 and 860 boards may come with FEC
962# and only 823 boards may have LCD support
963xtract_8xx = $(subst _LCD,,$(subst _config,,$1))
7ebf7443
WD
964
965FPS850L_config \
384ae025 966FPS860L_config \
f12e568c 967NSCU_config \
7ebf7443 968TQM823L_config \
7ebf7443 969TQM823L_LCD_config \
7ebf7443 970TQM850L_config \
7ebf7443 971TQM855L_config \
7ebf7443 972TQM860L_config \
d126bfbd 973TQM862L_config \
ae3af05e 974TQM823M_config \
ae3af05e 975TQM850M_config \
f12e568c 976TQM855M_config \
f12e568c 977TQM860M_config \
f12e568c 978TQM862M_config \
8cba090c 979TQM866M_config \
090eb735 980TQM885D_config \
8cba090c 981virtlab2_config: unconfig
f9328639
MB
982 @mkdir -p $(obj)include
983 @ >$(obj)include/config.h
7ebf7443 984 @[ -z "$(findstring _LCD,$@)" ] || \
f9328639
MB
985 { echo "#define CONFIG_LCD" >>$(obj)include/config.h ; \
986 echo "#define CONFIG_NEC_NL6448BC20" >>$(obj)include/config.h ; \
7ebf7443
WD
987 echo "... with LCD display" ; \
988 }
f9328639 989 @$(MKCONFIG) -a $(call xtract_8xx,$@) ppc mpc8xx tqm8xx
7ebf7443
WD
990
991TTTech_config: unconfig
f9328639
MB
992 @mkdir -p $(obj)include
993 @echo "#define CONFIG_LCD" >$(obj)include/config.h
994 @echo "#define CONFIG_SHARP_LQ104V7DS01" >>$(obj)include/config.h
995 @$(MKCONFIG) -a TQM823L ppc mpc8xx tqm8xx
7ebf7443 996
ec0aee7b 997uc100_config : unconfig
f9328639 998 @$(MKCONFIG) $(@:_config=) ppc mpc8xx uc100
f7d1572b 999
608c9146 1000v37_config: unconfig
f9328639
MB
1001 @mkdir -p $(obj)include
1002 @echo "#define CONFIG_LCD" >$(obj)include/config.h
1003 @echo "#define CONFIG_SHARP_LQ084V1DG21" >>$(obj)include/config.h
1004 @$(MKCONFIG) $(@:_config=) ppc mpc8xx v37
608c9146 1005
91e940d9 1006wtk_config: unconfig
f9328639
MB
1007 @mkdir -p $(obj)include
1008 @echo "#define CONFIG_LCD" >$(obj)include/config.h
1009 @echo "#define CONFIG_SHARP_LQ065T9DR51U" >>$(obj)include/config.h
1010 @$(MKCONFIG) -a TQM823L ppc mpc8xx tqm8xx
91e940d9 1011
7ebf7443
WD
1012#########################################################################
1013## PPC4xx Systems
1014#########################################################################
e55ca7e2 1015xtract_4xx = $(subst _25,,$(subst _33,,$(subst _BA,,$(subst _ME,,$(subst _HI,,$(subst _config,,$1))))))
7ebf7443 1016
16c0cc1c
SR
1017acadia_config: unconfig
1018 @$(MKCONFIG) $(@:_config=) ppc ppc4xx acadia amcc
1019
7ebf7443 1020ADCIOP_config: unconfig
f9328639 1021 @$(MKCONFIG) $(@:_config=) ppc ppc4xx adciop esd
7ebf7443 1022
899620c2
SR
1023alpr_config: unconfig
1024 @./mkconfig $(@:_config=) ppc ppc4xx alpr prodrive
1025
7521af1c 1026AP1000_config:unconfig
f9328639 1027 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ap1000 amirix
7521af1c 1028
c419d1d6 1029APC405_config: unconfig
f9328639 1030 @$(MKCONFIG) $(@:_config=) ppc ppc4xx apc405 esd
c419d1d6 1031
7ebf7443 1032AR405_config: unconfig
f9328639 1033 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ar405 esd
7ebf7443 1034
549826ea 1035ASH405_config: unconfig
f9328639 1036 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ash405 esd
549826ea 1037
8a316c9b 1038bamboo_config: unconfig
f9328639 1039 @$(MKCONFIG) $(@:_config=) ppc ppc4xx bamboo amcc
8a316c9b 1040
cf959c7d
SR
1041bamboo_nand_config: unconfig
1042 @mkdir -p $(obj)include
1043 @mkdir -p $(obj)nand_spl
1044 @mkdir -p $(obj)board/amcc/bamboo
1045 @echo "#define CONFIG_NAND_U_BOOT" > $(obj)include/config.h
f3679aa1 1046 @$(MKCONFIG) -n $@ -a bamboo ppc ppc4xx bamboo amcc
cf959c7d
SR
1047 @echo "TEXT_BASE = 0x01000000" > $(obj)board/amcc/bamboo/config.tmp
1048 @echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk
1049
8a316c9b 1050bubinga_config: unconfig
f9328639 1051 @$(MKCONFIG) $(@:_config=) ppc ppc4xx bubinga amcc
549826ea 1052
7ebf7443 1053CANBT_config: unconfig
f9328639 1054 @$(MKCONFIG) $(@:_config=) ppc ppc4xx canbt esd
7ebf7443 1055
1d6f9720
WD
1056CATcenter_config \
1057CATcenter_25_config \
1058CATcenter_33_config: unconfig
f9328639
MB
1059 @mkdir -p $(obj)include
1060 @ echo "/* CATcenter uses PPChameleon Model ME */" > $(obj)include/config.h
1061 @ echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 1" >> $(obj)include/config.h
1d6f9720 1062 @[ -z "$(findstring _25,$@)" ] || \
f9328639 1063 { echo "#define CONFIG_PPCHAMELEON_CLK_25" >> $(obj)include/config.h ; \
1d6f9720
WD
1064 echo "SysClk = 25MHz" ; \
1065 }
1066 @[ -z "$(findstring _33,$@)" ] || \
f9328639 1067 { echo "#define CONFIG_PPCHAMELEON_CLK_33" >> $(obj)include/config.h ; \
1d6f9720
WD
1068 echo "SysClk = 33MHz" ; \
1069 }
f9328639 1070 @$(MKCONFIG) -a $(call xtract_4xx,$@) ppc ppc4xx PPChameleonEVB dave
10767ccb 1071
7644f16f 1072CPCI2DP_config: unconfig
f9328639 1073 @$(MKCONFIG) $(@:_config=) ppc ppc4xx cpci2dp esd
7644f16f 1074
549826ea
SR
1075CPCI405_config \
1076CPCI4052_config \
c419d1d6 1077CPCI405DT_config \
549826ea 1078CPCI405AB_config: unconfig
f9328639
MB
1079 @$(MKCONFIG) $(@:_config=) ppc ppc4xx cpci405 esd
1080 @echo "BOARD_REVISION = $(@:_config=)" >> $(obj)include/config.mk
7ebf7443
WD
1081
1082CPCI440_config: unconfig
f9328639 1083 @$(MKCONFIG) $(@:_config=) ppc ppc4xx cpci440 esd
7ebf7443
WD
1084
1085CPCIISER4_config: unconfig
f9328639 1086 @$(MKCONFIG) $(@:_config=) ppc ppc4xx cpciiser4 esd
7ebf7443 1087
db01a2ea 1088CRAYL1_config: unconfig
f9328639 1089 @$(MKCONFIG) $(@:_config=) ppc ppc4xx L1 cray
7ebf7443 1090
cd0a9de6 1091csb272_config: unconfig
f9328639 1092 @$(MKCONFIG) $(@:_config=) ppc ppc4xx csb272
cd0a9de6 1093
aa245090 1094csb472_config: unconfig
f9328639 1095 @$(MKCONFIG) $(@:_config=) ppc ppc4xx csb472
aa245090 1096
7ebf7443 1097DASA_SIM_config: unconfig
f9328639 1098 @$(MKCONFIG) $(@:_config=) ppc ppc4xx dasa_sim esd
7ebf7443 1099
72cd5aa7 1100DP405_config: unconfig
f9328639 1101 @$(MKCONFIG) $(@:_config=) ppc ppc4xx dp405 esd
72cd5aa7 1102
7ebf7443 1103DU405_config: unconfig
f9328639 1104 @$(MKCONFIG) $(@:_config=) ppc ppc4xx du405 esd
7ebf7443 1105
8a316c9b 1106ebony_config: unconfig
f9328639 1107 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ebony amcc
7ebf7443 1108
db01a2ea 1109ERIC_config: unconfig
f9328639 1110 @$(MKCONFIG) $(@:_config=) ppc ppc4xx eric
7ebf7443 1111
db01a2ea 1112EXBITGEN_config: unconfig
f9328639 1113 @$(MKCONFIG) $(@:_config=) ppc ppc4xx exbitgen
d1cbe85b 1114
c419d1d6 1115G2000_config: unconfig
f9328639 1116 @$(MKCONFIG) $(@:_config=) ppc ppc4xx g2000
c419d1d6
SR
1117
1118HH405_config: unconfig
f9328639 1119 @$(MKCONFIG) $(@:_config=) ppc ppc4xx hh405 esd
c419d1d6 1120
72cd5aa7 1121HUB405_config: unconfig
f9328639 1122 @$(MKCONFIG) $(@:_config=) ppc ppc4xx hub405 esd
72cd5aa7 1123
db01a2ea 1124JSE_config: unconfig
f9328639 1125 @$(MKCONFIG) $(@:_config=) ppc ppc4xx jse
db01a2ea 1126
b79316f2 1127KAREF_config: unconfig
f9328639 1128 @$(MKCONFIG) $(@:_config=) ppc ppc4xx karef sandburst
b79316f2 1129
4745acaa
SR
1130katmai_config: unconfig
1131 @$(MKCONFIG) $(@:_config=) ppc ppc4xx katmai amcc
1132
6e7fb6ea 1133luan_config: unconfig
f9328639 1134 @$(MKCONFIG) $(@:_config=) ppc ppc4xx luan amcc
6e7fb6ea 1135
b79316f2 1136METROBOX_config: unconfig
f9328639 1137 @$(MKCONFIG) $(@:_config=) ppc ppc4xx metrobox sandburst
b79316f2 1138
db01a2ea 1139MIP405_config: unconfig
f9328639 1140 @$(MKCONFIG) $(@:_config=) ppc ppc4xx mip405 mpl
7ebf7443 1141
db01a2ea 1142MIP405T_config: unconfig
f9328639
MB
1143 @mkdir -p $(obj)include
1144 @echo "#define CONFIG_MIP405T" >$(obj)include/config.h
f3e0de60 1145 @echo "Enable subset config for MIP405T"
f9328639 1146 @$(MKCONFIG) -a MIP405 ppc ppc4xx mip405 mpl
f3e0de60 1147
db01a2ea 1148ML2_config: unconfig
f9328639 1149 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ml2
7ebf7443 1150
db01a2ea 1151ml300_config: unconfig
f9328639 1152 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ml300 xilinx
028ab6b5 1153
8a316c9b 1154ocotea_config: unconfig
f9328639 1155 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ocotea amcc
0e6d798c 1156
7ebf7443
WD
1157OCRTC_config \
1158ORSG_config: unconfig
f9328639 1159 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ocrtc esd
7ebf7443 1160
5568e613 1161p3p440_config: unconfig
f9328639 1162 @$(MKCONFIG) $(@:_config=) ppc ppc4xx p3p440 prodrive
5568e613 1163
7ebf7443 1164PCI405_config: unconfig
f9328639 1165 @$(MKCONFIG) $(@:_config=) ppc ppc4xx pci405 esd
7ebf7443 1166
a4c8d138 1167pcs440ep_config: unconfig
f9328639 1168 @$(MKCONFIG) $(@:_config=) ppc ppc4xx pcs440ep
a4c8d138 1169
db01a2ea 1170PIP405_config: unconfig
f9328639 1171 @$(MKCONFIG) $(@:_config=) ppc ppc4xx pip405 mpl
7ebf7443 1172
72cd5aa7 1173PLU405_config: unconfig
f9328639 1174 @$(MKCONFIG) $(@:_config=) ppc ppc4xx plu405 esd
72cd5aa7 1175
549826ea 1176PMC405_config: unconfig
f9328639 1177 @$(MKCONFIG) $(@:_config=) ppc ppc4xx pmc405 esd
549826ea 1178
281e00a3 1179PPChameleonEVB_config \
e55ca7e2
WD
1180PPChameleonEVB_BA_25_config \
1181PPChameleonEVB_ME_25_config \
1182PPChameleonEVB_HI_25_config \
1183PPChameleonEVB_BA_33_config \
1184PPChameleonEVB_ME_33_config \
1185PPChameleonEVB_HI_33_config: unconfig
f9328639
MB
1186 @mkdir -p $(obj)include
1187 @ >$(obj)include/config.h
1d6f9720 1188 @[ -z "$(findstring EVB_BA,$@)" ] || \
f9328639 1189 { echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 0" >>$(obj)include/config.h ; \
fbe4b5cb
WD
1190 echo "... BASIC model" ; \
1191 }
1d6f9720 1192 @[ -z "$(findstring EVB_ME,$@)" ] || \
f9328639 1193 { echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 1" >>$(obj)include/config.h ; \
fbe4b5cb
WD
1194 echo "... MEDIUM model" ; \
1195 }
1d6f9720 1196 @[ -z "$(findstring EVB_HI,$@)" ] || \
f9328639 1197 { echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 2" >>$(obj)include/config.h ; \
fbe4b5cb
WD
1198 echo "... HIGH-END model" ; \
1199 }
e55ca7e2 1200 @[ -z "$(findstring _25,$@)" ] || \
f9328639 1201 { echo "#define CONFIG_PPCHAMELEON_CLK_25" >>$(obj)include/config.h ; \
1d6f9720 1202 echo "SysClk = 25MHz" ; \
e55ca7e2
WD
1203 }
1204 @[ -z "$(findstring _33,$@)" ] || \
f9328639 1205 { echo "#define CONFIG_PPCHAMELEON_CLK_33" >>$(obj)include/config.h ; \
1d6f9720 1206 echo "SysClk = 33MHz" ; \
e55ca7e2 1207 }
f9328639 1208 @$(MKCONFIG) -a $(call xtract_4xx,$@) ppc ppc4xx PPChameleonEVB dave
12f34241 1209
652a10c0 1210sbc405_config: unconfig
f9328639 1211 @$(MKCONFIG) $(@:_config=) ppc ppc4xx sbc405
652a10c0 1212
430f1b0f
SR
1213sequoia_config \
1214rainier_config: unconfig
1215 @mkdir -p $(obj)include
1216 @echo "#define CONFIG_$$(echo $(subst ,,$(@:_config=)) | \
1217 tr '[:lower:]' '[:upper:]')" >$(obj)include/config.h
1218 @$(MKCONFIG) -n $@ -a sequoia ppc ppc4xx sequoia amcc
887e2ec9 1219
430f1b0f
SR
1220sequoia_nand_config \
1221rainier_nand_config: unconfig
8318fbf8
MB
1222 @mkdir -p $(obj)include
1223 @mkdir -p $(obj)nand_spl
1224 @mkdir -p $(obj)board/amcc/sequoia
1225 @echo "#define CONFIG_NAND_U_BOOT" > $(obj)include/config.h
430f1b0f
SR
1226 @echo "#define CONFIG_$$(echo $(subst ,,$(@:_config=)) | \
1227 tr '[:lower:]' '[:upper:]')" >> $(obj)include/config.h
1228 @$(MKCONFIG) -n $@ -a sequoia ppc ppc4xx sequoia amcc
8318fbf8
MB
1229 @echo "TEXT_BASE = 0x01000000" > $(obj)board/amcc/sequoia/config.tmp
1230 @echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk
652a10c0 1231
6d3e0107
WD
1232sc3_config:unconfig
1233 @./mkconfig $(@:_config=) ppc ppc4xx sc3
ca43ba18 1234
5fb692ca
SR
1235taishan_config: unconfig
1236 @$(MKCONFIG) $(@:_config=) ppc ppc4xx taishan amcc
1237
72cd5aa7 1238VOH405_config: unconfig
f9328639 1239 @$(MKCONFIG) $(@:_config=) ppc ppc4xx voh405 esd
72cd5aa7 1240
c419d1d6 1241VOM405_config: unconfig
f9328639 1242 @$(MKCONFIG) $(@:_config=) ppc ppc4xx vom405 esd
c419d1d6 1243
feaedfcf 1244CMS700_config: unconfig
f9328639 1245 @$(MKCONFIG) $(@:_config=) ppc ppc4xx cms700 esd
feaedfcf 1246
7ebf7443
WD
1247W7OLMC_config \
1248W7OLMG_config: unconfig
f9328639 1249 @$(MKCONFIG) $(@:_config=) ppc ppc4xx w7o
7ebf7443 1250
430f1b0f
SR
1251# Walnut & Sycamore images are identical (recognized via PVR)
1252walnut_config \
1253sycamore_config: unconfig
1254 @$(MKCONFIG) -n $@ -a walnut ppc ppc4xx walnut amcc
7ebf7443 1255
c419d1d6 1256WUH405_config: unconfig
f9328639 1257 @$(MKCONFIG) $(@:_config=) ppc ppc4xx wuh405 esd
c419d1d6 1258
db01a2ea 1259XPEDITE1K_config: unconfig
f9328639 1260 @$(MKCONFIG) $(@:_config=) ppc ppc4xx xpedite1k
ba56f625 1261
430f1b0f
SR
1262yosemite_config \
1263yellowstone_config: unconfig
700200c6 1264 @mkdir -p $(obj)include
430f1b0f
SR
1265 @echo "#define CONFIG_$$(echo $(subst ,,$(@:_config=)) | \
1266 tr '[:lower:]' '[:upper:]')" >$(obj)include/config.h
2aa54f65 1267 @$(MKCONFIG) -n $@ -a yosemite ppc ppc4xx yosemite amcc
8a316c9b 1268
6c5879f3 1269yucca_config: unconfig
f9328639 1270 @$(MKCONFIG) $(@:_config=) ppc ppc4xx yucca amcc
6c5879f3 1271
7ebf7443 1272#########################################################################
983fda83
WD
1273## MPC8220 Systems
1274#########################################################################
dc17fb6d
WD
1275
1276Alaska8220_config \
1277Yukon8220_config: unconfig
f9328639 1278 @$(MKCONFIG) $(@:_config=) ppc mpc8220 alaska
983fda83 1279
12b43d51 1280sorcery_config: unconfig
f9328639 1281 @$(MKCONFIG) $(@:_config=) ppc mpc8220 sorcery
12b43d51 1282
983fda83 1283#########################################################################
7ebf7443
WD
1284## MPC824x Systems
1285#########################################################################
efa329cb 1286xtract_82xx = $(subst _BIGFLASH,,$(subst _ROMBOOT,,$(subst _L2,,$(subst _266MHz,,$(subst _300MHz,,$(subst _config,,$1))))))
3bac3513 1287
0332990b 1288A3000_config: unconfig
f9328639 1289 @$(MKCONFIG) $(@:_config=) ppc mpc824x a3000
0332990b 1290
8e6f1a8e 1291barco_config: unconfig
f9328639 1292 @$(MKCONFIG) $(@:_config=) ppc mpc824x barco
8e6f1a8e 1293
7ebf7443 1294BMW_config: unconfig
f9328639 1295 @$(MKCONFIG) $(@:_config=) ppc mpc824x bmw
7ebf7443 1296
3bac3513
WD
1297CPC45_config \
1298CPC45_ROMBOOT_config: unconfig
f9328639
MB
1299 @$(MKCONFIG) $(call xtract_82xx,$@) ppc mpc824x cpc45
1300 @cd $(obj)include ; \
3bac3513
WD
1301 if [ "$(findstring _ROMBOOT_,$@)" ] ; then \
1302 echo "CONFIG_BOOT_ROM = y" >> config.mk ; \
1303 echo "... booting from 8-bit flash" ; \
1304 else \
1305 echo "CONFIG_BOOT_ROM = n" >> config.mk ; \
1306 echo "... booting from 64-bit flash" ; \
1307 fi; \
1308 echo "export CONFIG_BOOT_ROM" >> config.mk;
1309
7ebf7443 1310CU824_config: unconfig
f9328639 1311 @$(MKCONFIG) $(@:_config=) ppc mpc824x cu824
7ebf7443 1312
7abf0c58 1313debris_config: unconfig
f9328639 1314 @$(MKCONFIG) $(@:_config=) ppc mpc824x debris etin
7abf0c58 1315
80885a9d 1316eXalion_config: unconfig
f9328639 1317 @$(MKCONFIG) $(@:_config=) ppc mpc824x eXalion
80885a9d 1318
756f586a 1319HIDDEN_DRAGON_config: unconfig
f9328639 1320 @$(MKCONFIG) $(@:_config=) ppc mpc824x hidden_dragon
756f586a 1321
53dd6ce4 1322kvme080_config: unconfig
f9328639 1323 @$(MKCONFIG) $(@:_config=) ppc mpc824x kvme080 etin
53dd6ce4 1324
7ebf7443 1325MOUSSE_config: unconfig
f9328639 1326 @$(MKCONFIG) $(@:_config=) ppc mpc824x mousse
7ebf7443
WD
1327
1328MUSENKI_config: unconfig
f9328639 1329 @$(MKCONFIG) $(@:_config=) ppc mpc824x musenki
7ebf7443 1330
b4676a25 1331MVBLUE_config: unconfig
f9328639 1332 @$(MKCONFIG) $(@:_config=) ppc mpc824x mvblue
b4676a25 1333
7ebf7443 1334OXC_config: unconfig
f9328639 1335 @$(MKCONFIG) $(@:_config=) ppc mpc824x oxc
7ebf7443
WD
1336
1337PN62_config: unconfig
f9328639 1338 @$(MKCONFIG) $(@:_config=) ppc mpc824x pn62
7ebf7443
WD
1339
1340Sandpoint8240_config: unconfig
f9328639 1341 @$(MKCONFIG) $(@:_config=) ppc mpc824x sandpoint
7ebf7443
WD
1342
1343Sandpoint8245_config: unconfig
f9328639 1344 @$(MKCONFIG) $(@:_config=) ppc mpc824x sandpoint
7ebf7443 1345
466b7410 1346sbc8240_config: unconfig
f9328639 1347 @$(MKCONFIG) $(@:_config=) ppc mpc824x sbc8240
466b7410 1348
d1cbe85b 1349SL8245_config: unconfig
f9328639 1350 @$(MKCONFIG) $(@:_config=) ppc mpc824x sl8245
d1cbe85b 1351
7ebf7443 1352utx8245_config: unconfig
f9328639 1353 @$(MKCONFIG) $(@:_config=) ppc mpc824x utx8245
7ebf7443
WD
1354
1355#########################################################################
1356## MPC8260 Systems
1357#########################################################################
7ebf7443 1358
54387ac9 1359atc_config: unconfig
f9328639 1360 @$(MKCONFIG) $(@:_config=) ppc mpc8260 atc
54387ac9 1361
7ebf7443 1362cogent_mpc8260_config: unconfig
f9328639 1363 @$(MKCONFIG) $(@:_config=) ppc mpc8260 cogent
7ebf7443
WD
1364
1365CPU86_config \
1366CPU86_ROMBOOT_config: unconfig
f9328639
MB
1367 @$(MKCONFIG) $(call xtract_82xx,$@) ppc mpc8260 cpu86
1368 @cd $(obj)include ; \
7ebf7443
WD
1369 if [ "$(findstring _ROMBOOT_,$@)" ] ; then \
1370 echo "CONFIG_BOOT_ROM = y" >> config.mk ; \
1371 echo "... booting from 8-bit flash" ; \
1372 else \
1373 echo "CONFIG_BOOT_ROM = n" >> config.mk ; \
1374 echo "... booting from 64-bit flash" ; \
1375 fi; \
1376 echo "export CONFIG_BOOT_ROM" >> config.mk;
1377
384cc687
WD
1378CPU87_config \
1379CPU87_ROMBOOT_config: unconfig
f9328639
MB
1380 @$(MKCONFIG) $(call xtract_82xx,$@) ppc mpc8260 cpu87
1381 @cd $(obj)include ; \
384cc687
WD
1382 if [ "$(findstring _ROMBOOT_,$@)" ] ; then \
1383 echo "CONFIG_BOOT_ROM = y" >> config.mk ; \
1384 echo "... booting from 8-bit flash" ; \
1385 else \
1386 echo "CONFIG_BOOT_ROM = n" >> config.mk ; \
1387 echo "... booting from 64-bit flash" ; \
1388 fi; \
1389 echo "export CONFIG_BOOT_ROM" >> config.mk;
1390
f901a83b
WD
1391ep8248_config \
1392ep8248E_config : unconfig
f9328639 1393 @$(MKCONFIG) ep8248 ppc mpc8260 ep8248
f901a83b 1394
7ebf7443 1395ep8260_config: unconfig
f9328639 1396 @$(MKCONFIG) $(@:_config=) ppc mpc8260 ep8260
7ebf7443 1397
8d4ac794
WD
1398ep82xxm_config: unconfig
1399 @./mkconfig $(@:_config=) ppc mpc8260 ep82xxm
1400
7ebf7443 1401gw8260_config: unconfig
f9328639 1402 @$(MKCONFIG) $(@:_config=) ppc mpc8260 gw8260
7ebf7443
WD
1403
1404hymod_config: unconfig
f9328639 1405 @$(MKCONFIG) $(@:_config=) ppc mpc8260 hymod
7ebf7443 1406
9dd41a7b 1407IDS8247_config: unconfig
f9328639 1408 @$(MKCONFIG) $(@:_config=) ppc mpc8260 ids8247
9dd41a7b 1409
7ebf7443 1410IPHASE4539_config: unconfig
f9328639 1411 @$(MKCONFIG) $(@:_config=) ppc mpc8260 iphase4539
7ebf7443 1412
c3c7f861
WD
1413ISPAN_config \
1414ISPAN_REVB_config: unconfig
f9328639 1415 @mkdir -p $(obj)include
c3c7f861 1416 @if [ "$(findstring _REVB_,$@)" ] ; then \
f9328639 1417 echo "#define CFG_REV_B" > $(obj)include/config.h ; \
c3c7f861 1418 fi
f9328639 1419 @$(MKCONFIG) -a ISPAN ppc mpc8260 ispan
c3c7f861 1420
04a85b3b 1421MPC8260ADS_config \
901787d6 1422MPC8260ADS_lowboot_config \
04a85b3b 1423MPC8260ADS_33MHz_config \
901787d6 1424MPC8260ADS_33MHz_lowboot_config \
04a85b3b 1425MPC8260ADS_40MHz_config \
901787d6 1426MPC8260ADS_40MHz_lowboot_config \
04a85b3b 1427MPC8272ADS_config \
901787d6 1428MPC8272ADS_lowboot_config \
04a85b3b 1429PQ2FADS_config \
901787d6 1430PQ2FADS_lowboot_config \
04a85b3b 1431PQ2FADS-VR_config \
901787d6 1432PQ2FADS-VR_lowboot_config \
04a85b3b 1433PQ2FADS-ZU_config \
901787d6 1434PQ2FADS-ZU_lowboot_config \
04a85b3b 1435PQ2FADS-ZU_66MHz_config \
901787d6 1436PQ2FADS-ZU_66MHz_lowboot_config \
04a85b3b 1437 : unconfig
f9328639
MB
1438 @mkdir -p $(obj)include
1439 @mkdir -p $(obj)board/mpc8260ads
04a85b3b 1440 $(if $(findstring PQ2FADS,$@), \
f9328639
MB
1441 @echo "#define CONFIG_ADSTYPE CFG_PQ2FADS" > $(obj)include/config.h, \
1442 @echo "#define CONFIG_ADSTYPE CFG_"$(subst MPC,,$(word 1,$(subst _, ,$@))) > $(obj)include/config.h)
04a85b3b 1443 $(if $(findstring MHz,$@), \
f9328639 1444 @echo "#define CONFIG_8260_CLKIN" $(subst MHz,,$(word 2,$(subst _, ,$@)))"000000" >> $(obj)include/config.h, \
04a85b3b 1445 $(if $(findstring VR,$@), \
f9328639 1446 @echo "#define CONFIG_8260_CLKIN 66000000" >> $(obj)include/config.h))
901787d6 1447 @[ -z "$(findstring lowboot_,$@)" ] || \
f9328639 1448 { echo "TEXT_BASE = 0xFF800000" >$(obj)board/mpc8260ads/config.tmp ; \
901787d6
WD
1449 echo "... with lowboot configuration" ; \
1450 }
f9328639 1451 @$(MKCONFIG) -a MPC8260ADS ppc mpc8260 mpc8260ads
7ebf7443 1452
db2f721f 1453MPC8266ADS_config: unconfig
f9328639 1454 @$(MKCONFIG) $(@:_config=) ppc mpc8260 mpc8266ads
db2f721f 1455
efa329cb 1456# PM825/PM826 default configuration: small (= 8 MB) Flash / boot from 64-bit flash
10f67017 1457PM825_config \
efa329cb
WD
1458PM825_ROMBOOT_config \
1459PM825_BIGFLASH_config \
1460PM825_ROMBOOT_BIGFLASH_config \
1461PM826_config \
1462PM826_ROMBOOT_config \
1463PM826_BIGFLASH_config \
1464PM826_ROMBOOT_BIGFLASH_config: unconfig
f9328639
MB
1465 @mkdir -p $(obj)include
1466 @mkdir -p $(obj)board/pm826
efa329cb 1467 @if [ "$(findstring PM825_,$@)" ] ; then \
f9328639 1468 echo "#define CONFIG_PCI" >$(obj)include/config.h ; \
efa329cb 1469 else \
f9328639 1470 >$(obj)include/config.h ; \
efa329cb
WD
1471 fi
1472 @if [ "$(findstring _ROMBOOT_,$@)" ] ; then \
10f67017 1473 echo "... booting from 8-bit flash" ; \
f9328639
MB
1474 echo "#define CONFIG_BOOT_ROM" >>$(obj)include/config.h ; \
1475 echo "TEXT_BASE = 0xFF800000" >$(obj)board/pm826/config.tmp ; \
efa329cb
WD
1476 if [ "$(findstring _BIGFLASH_,$@)" ] ; then \
1477 echo "... with 32 MB Flash" ; \
f9328639 1478 echo "#define CONFIG_FLASH_32MB" >>$(obj)include/config.h ; \
efa329cb 1479 fi; \
10f67017 1480 else \
10f67017 1481 echo "... booting from 64-bit flash" ; \
efa329cb
WD
1482 if [ "$(findstring _BIGFLASH_,$@)" ] ; then \
1483 echo "... with 32 MB Flash" ; \
f9328639
MB
1484 echo "#define CONFIG_FLASH_32MB" >>$(obj)include/config.h ; \
1485 echo "TEXT_BASE = 0x40000000" >$(obj)board/pm826/config.tmp ; \
efa329cb 1486 else \
f9328639 1487 echo "TEXT_BASE = 0xFF000000" >$(obj)board/pm826/config.tmp ; \
efa329cb
WD
1488 fi; \
1489 fi
f9328639 1490 @$(MKCONFIG) -a PM826 ppc mpc8260 pm826
10f67017 1491
efa329cb
WD
1492PM828_config \
1493PM828_PCI_config \
1494PM828_ROMBOOT_config \
1495PM828_ROMBOOT_PCI_config: unconfig
f9328639
MB
1496 @mkdir -p $(obj)include
1497 @mkdir -p $(obj)board/pm826
17076266 1498 @if [ "$(findstring _PCI_,$@)" ] ; then \
f9328639 1499 echo "#define CONFIG_PCI" >>$(obj)include/config.h ; \
efa329cb 1500 echo "... with PCI enabled" ; \
7ebf7443 1501 else \
f9328639 1502 >$(obj)include/config.h ; \
efa329cb
WD
1503 fi
1504 @if [ "$(findstring _ROMBOOT_,$@)" ] ; then \
1505 echo "... booting from 8-bit flash" ; \
f9328639
MB
1506 echo "#define CONFIG_BOOT_ROM" >>$(obj)include/config.h ; \
1507 echo "TEXT_BASE = 0xFF800000" >$(obj)board/pm826/config.tmp ; \
efa329cb 1508 fi
f9328639 1509 @$(MKCONFIG) -a PM828 ppc mpc8260 pm828
7ebf7443
WD
1510
1511ppmc8260_config: unconfig
f9328639 1512 @$(MKCONFIG) $(@:_config=) ppc mpc8260 ppmc8260
7ebf7443 1513
8b0bfc68
WD
1514Rattler8248_config \
1515Rattler_config: unconfig
f9328639 1516 @mkdir -p $(obj)include
8b0bfc68 1517 $(if $(findstring 8248,$@), \
f9328639
MB
1518 @echo "#define CONFIG_MPC8248" > $(obj)include/config.h)
1519 @$(MKCONFIG) -a Rattler ppc mpc8260 rattler
8b0bfc68 1520
7ebf7443 1521RPXsuper_config: unconfig
f9328639 1522 @$(MKCONFIG) $(@:_config=) ppc mpc8260 rpxsuper
7ebf7443
WD
1523
1524rsdproto_config: unconfig
f9328639 1525 @$(MKCONFIG) $(@:_config=) ppc mpc8260 rsdproto
7ebf7443
WD
1526
1527sacsng_config: unconfig
f9328639 1528 @$(MKCONFIG) $(@:_config=) ppc mpc8260 sacsng
7ebf7443
WD
1529
1530sbc8260_config: unconfig
f9328639 1531 @$(MKCONFIG) $(@:_config=) ppc mpc8260 sbc8260
7ebf7443
WD
1532
1533SCM_config: unconfig
f9328639 1534 @$(MKCONFIG) $(@:_config=) ppc mpc8260 SCM siemens
7ebf7443 1535
27b207fd
WD
1536TQM8255_AA_config \
1537TQM8260_AA_config \
1538TQM8260_AB_config \
1539TQM8260_AC_config \
1540TQM8260_AD_config \
1541TQM8260_AE_config \
1542TQM8260_AF_config \
1543TQM8260_AG_config \
1544TQM8260_AH_config \
1f62bc2d 1545TQM8260_AI_config \
27b207fd 1546TQM8265_AA_config: unconfig
f9328639 1547 @mkdir -p $(obj)include
27b207fd 1548 @case "$@" in \
1f62bc2d
WD
1549 TQM8255_AA_config) CTYPE=MPC8255; CFREQ=300; CACHE=no; BMODE=8260;; \
1550 TQM8260_AA_config) CTYPE=MPC8260; CFREQ=200; CACHE=no; BMODE=8260;; \
1551 TQM8260_AB_config) CTYPE=MPC8260; CFREQ=200; CACHE=yes; BMODE=60x;; \
1552 TQM8260_AC_config) CTYPE=MPC8260; CFREQ=200; CACHE=yes; BMODE=60x;; \
1553 TQM8260_AD_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=60x;; \
1554 TQM8260_AE_config) CTYPE=MPC8260; CFREQ=266; CACHE=no; BMODE=8260;; \
1555 TQM8260_AF_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=60x;; \
1556 TQM8260_AG_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=8260;; \
1557 TQM8260_AH_config) CTYPE=MPC8260; CFREQ=300; CACHE=yes; BMODE=60x;; \
1558 TQM8260_AI_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=60x;; \
1559 TQM8265_AA_config) CTYPE=MPC8265; CFREQ=300; CACHE=no; BMODE=60x;; \
27b207fd 1560 esac; \
f9328639 1561 >$(obj)include/config.h ; \
27b207fd 1562 if [ "$${CTYPE}" != "MPC8260" ] ; then \
f9328639 1563 echo "#define CONFIG_$${CTYPE}" >>$(obj)include/config.h ; \
27b207fd 1564 fi; \
f9328639 1565 echo "#define CONFIG_$${CFREQ}MHz" >>$(obj)include/config.h ; \
27b207fd
WD
1566 echo "... with $${CFREQ}MHz system clock" ; \
1567 if [ "$${CACHE}" == "yes" ] ; then \
f9328639 1568 echo "#define CONFIG_L2_CACHE" >>$(obj)include/config.h ; \
27b207fd 1569 echo "... with L2 Cache support" ; \
7ebf7443 1570 else \
f9328639 1571 echo "#undef CONFIG_L2_CACHE" >>$(obj)include/config.h ; \
7ebf7443 1572 echo "... without L2 Cache support" ; \
27b207fd
WD
1573 fi; \
1574 if [ "$${BMODE}" == "60x" ] ; then \
f9328639 1575 echo "#define CONFIG_BUSMODE_60x" >>$(obj)include/config.h ; \
27b207fd
WD
1576 echo "... with 60x Bus Mode" ; \
1577 else \
f9328639 1578 echo "#undef CONFIG_BUSMODE_60x" >>$(obj)include/config.h ; \
27b207fd 1579 echo "... without 60x Bus Mode" ; \
7ebf7443 1580 fi
f9328639 1581 @$(MKCONFIG) -a TQM8260 ppc mpc8260 tqm8260
7ebf7443 1582
fa230445
HS
1583TQM8272_config: unconfig
1584 @$(MKCONFIG) -a TQM8272 ppc mpc8260 tqm8272
1585
ba91e26a
WD
1586VoVPN-GW_66MHz_config \
1587VoVPN-GW_100MHz_config: unconfig
f9328639
MB
1588 @mkdir -p $(obj)include
1589 @echo "#define CONFIG_CLKIN_$(word 2,$(subst _, ,$@))" > $(obj)include/config.h
1590 @$(MKCONFIG) -a VoVPN-GW ppc mpc8260 vovpn-gw funkwerk
ba91e26a 1591
54387ac9 1592ZPC1900_config: unconfig
f9328639 1593 @$(MKCONFIG) $(@:_config=) ppc mpc8260 zpc1900
7aa78614 1594
4e5ca3eb
WD
1595#########################################################################
1596## Coldfire
1597#########################################################################
1598
7481266e 1599cobra5272_config : unconfig
f9328639 1600 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 cobra5272
7481266e 1601
4176c799 1602EB+MCF-EV123_config : unconfig
f9328639
MB
1603 @mkdir -p $(obj)include
1604 @mkdir -p $(obj)board/BuS/EB+MCF-EV123
1605 @ >$(obj)include/config.h
1606 @echo "TEXT_BASE = 0xFFE00000"|tee $(obj)board/BuS/EB+MCF-EV123/textbase.mk
1607 @$(MKCONFIG) EB+MCF-EV123 m68k mcf52x2 EB+MCF-EV123 BuS
4176c799
WD
1608
1609EB+MCF-EV123_internal_config : unconfig
f9328639
MB
1610 @mkdir -p $(obj)include
1611 @mkdir -p $(obj)board/BuS/EB+MCF-EV123
1612 @ >$(obj)include/config.h
1613 @echo "TEXT_BASE = 0xF0000000"|tee $(obj)board/BuS/EB+MCF-EV123/textbase.mk
1614 @$(MKCONFIG) EB+MCF-EV123 m68k mcf52x2 EB+MCF-EV123 BuS
4176c799 1615
daa6e418
BS
1616idmr_config : unconfig
1617 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 idmr
1618
4176c799 1619M5271EVB_config : unconfig
f9328639 1620 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5271evb
4176c799 1621
4e5ca3eb 1622M5272C3_config : unconfig
f9328639 1623 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5272c3
4e5ca3eb
WD
1624
1625M5282EVB_config : unconfig
f9328639 1626 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5282evb
4e5ca3eb 1627
c419d1d6 1628TASREG_config : unconfig
f9328639 1629 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 tasreg esd
c419d1d6 1630
3a108ed8 1631r5200_config : unconfig
f9328639 1632 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 r5200
3a108ed8 1633
f046ccd1
EL
1634#########################################################################
1635## MPC83xx Systems
1636#########################################################################
1637
5c5d3242
KP
1638MPC8313ERDB_33_config \
1639MPC8313ERDB_66_config: unconfig
1640 @echo "" >include/config.h ; \
1641 if [ "$(findstring _33_,$@)" ] ; then \
1642 echo -n "...33M ..." ; \
1643 echo "#define CFG_33MHZ" >>include/config.h ; \
1644 fi ; \
1645 if [ "$(findstring _66_,$@)" ] ; then \
1646 echo -n "...66M..." ; \
1647 echo "#define CFG_66MHZ" >>include/config.h ; \
1648 fi ;
1649 @$(MKCONFIG) -a MPC8313ERDB ppc mpc83xx mpc8313erdb
1650
4decd84e
KP
1651MPC832XEMDS_config \
1652MPC832XEMDS_HOST_33_config \
1653MPC832XEMDS_HOST_66_config \
1654MPC832XEMDS_SLAVE_config: unconfig
5f820439
DL
1655 @echo "" >include/config.h ; \
1656 if [ "$(findstring _HOST_,$@)" ] ; then \
1657 echo -n "... PCI HOST " ; \
1658 echo "#define CONFIG_PCI" >>include/config.h ; \
1659 fi ; \
1660 if [ "$(findstring _SLAVE_,$@)" ] ; then \
1661 echo "...PCI SLAVE 66M" ; \
1662 echo "#define CONFIG_PCI" >>include/config.h ; \
1663 echo "#define CONFIG_PCISLAVE" >>include/config.h ; \
1664 fi ; \
1665 if [ "$(findstring _33_,$@)" ] ; then \
1666 echo -n "...33M ..." ; \
1667 echo "#define PCI_33M" >>include/config.h ; \
1668 fi ; \
1669 if [ "$(findstring _66_,$@)" ] ; then \
1670 echo -n "...66M..." ; \
1671 echo "#define PCI_66M" >>include/config.h ; \
1672 fi ;
4decd84e 1673 @$(MKCONFIG) -a MPC832XEMDS ppc mpc83xx mpc832xemds
e6f2e902 1674
991425fe 1675MPC8349EMDS_config: unconfig
f9328639 1676 @$(MKCONFIG) $(@:_config=) ppc mpc83xx mpc8349emds
991425fe 1677
7a78f148
TT
1678MPC8349ITX_config \
1679MPC8349ITX_LOWBOOT_config \
1680MPC8349ITXGP_config: unconfig
1681 @mkdir -p $(obj)include
1682 @mkdir -p $(obj)board/mpc8349itx
1683 @echo "#define CONFIG_$(subst _LOWBOOT,,$(@:_config=))" >> $(obj)include/config.h
1684 @if [ "$(findstring GP,$@)" ] ; then \
1685 echo "TEXT_BASE = 0xFE000000" >$(obj)board/mpc8349itx/config.tmp ; \
1686 fi
1687 @if [ "$(findstring LOWBOOT,$@)" ] ; then \
1688 echo "TEXT_BASE = 0xFE000000" >$(obj)board/mpc8349itx/config.tmp ; \
1689 fi
1690 @$(MKCONFIG) -a -n $(@:_config=) MPC8349ITX ppc mpc83xx mpc8349itx
2ad6b513 1691
5f820439
DL
1692MPC8360EMDS_config \
1693MPC8360EMDS_HOST_33_config \
1694MPC8360EMDS_HOST_66_config \
1695MPC8360EMDS_SLAVE_config: unconfig
1696 @echo "" >include/config.h ; \
1697 if [ "$(findstring _HOST_,$@)" ] ; then \
1698 echo -n "... PCI HOST " ; \
1699 echo "#define CONFIG_PCI" >>include/config.h ; \
1700 fi ; \
1701 if [ "$(findstring _SLAVE_,$@)" ] ; then \
1702 echo "...PCI SLAVE 66M" ; \
1703 echo "#define CONFIG_PCI" >>include/config.h ; \
1704 echo "#define CONFIG_PCISLAVE" >>include/config.h ; \
1705 fi ; \
1706 if [ "$(findstring _33_,$@)" ] ; then \
1707 echo -n "...33M ..." ; \
1708 echo "#define PCI_33M" >>include/config.h ; \
1709 fi ; \
1710 if [ "$(findstring _66_,$@)" ] ; then \
1711 echo -n "...66M..." ; \
1712 echo "#define PCI_66M" >>include/config.h ; \
1713 fi ;
1714 @$(MKCONFIG) -a MPC8360EMDS ppc mpc83xx mpc8360emds
1715
4decd84e
KP
1716sbc8349_config: unconfig
1717 @$(MKCONFIG) $(@:_config=) ppc mpc83xx sbc8349
1718
1719TQM834x_config: unconfig
1720 @$(MKCONFIG) $(@:_config=) ppc mpc83xx tqm834x
1721
2ad6b513 1722
42d1f039
WD
1723#########################################################################
1724## MPC85xx Systems
1725#########################################################################
1726
0ac6f8b7 1727MPC8540ADS_config: unconfig
f9328639 1728 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8540ads
42d1f039 1729
b0e32949
LW
1730MPC8540EVAL_config \
1731MPC8540EVAL_33_config \
1732MPC8540EVAL_66_config \
1733MPC8540EVAL_33_slave_config \
1734MPC8540EVAL_66_slave_config: unconfig
f9328639
MB
1735 @mkdir -p $(obj)include
1736 @echo "" >$(obj)include/config.h ; \
b0e32949
LW
1737 if [ "$(findstring _33_,$@)" ] ; then \
1738 echo -n "... 33 MHz PCI" ; \
1739 else \
f9328639 1740 echo "#define CONFIG_SYSCLK_66M" >>$(obj)include/config.h ; \
b0e32949
LW
1741 echo -n "... 66 MHz PCI" ; \
1742 fi ; \
1743 if [ "$(findstring _slave_,$@)" ] ; then \
f9328639 1744 echo "#define CONFIG_PCI_SLAVE" >>$(obj)include/config.h ; \
b0e32949
LW
1745 echo " slave" ; \
1746 else \
1747 echo " host" ; \
1748 fi
f9328639 1749 @$(MKCONFIG) -a MPC8540EVAL ppc mpc85xx mpc8540eval
b0e32949 1750
0ac6f8b7 1751MPC8560ADS_config: unconfig
f9328639 1752 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8560ads
42d1f039 1753
03f5c550 1754MPC8541CDS_config: unconfig
f9328639 1755 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8541cds cds
03f5c550 1756
81f481ca
AF
1757MPC8544DS_config: unconfig
1758 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8544ds freescale
1759
d9b94f28 1760MPC8548CDS_config: unconfig
f9328639 1761 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8548cds cds
d9b94f28 1762
03f5c550 1763MPC8555CDS_config: unconfig
f9328639 1764 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8555cds cds
7abf0c58 1765
67431059
AF
1766MPC8568MDS_config: unconfig
1767 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8568mds
1768
384cc687 1769PM854_config: unconfig
f9328639 1770 @$(MKCONFIG) $(@:_config=) ppc mpc85xx pm854
384cc687 1771
b20d0032 1772PM856_config: unconfig
f9328639 1773 @$(MKCONFIG) $(@:_config=) ppc mpc85xx pm856
b20d0032 1774
c15f3120
WD
1775sbc8540_config \
1776sbc8540_33_config \
1777sbc8540_66_config: unconfig
f9328639 1778 @mkdir -p $(obj)include
c15f3120 1779 @if [ "$(findstring _66_,$@)" ] ; then \
f9328639 1780 echo "#define CONFIG_PCI_66" >>$(obj)include/config.h ; \
c15f3120
WD
1781 echo "... 66 MHz PCI" ; \
1782 else \
f9328639 1783 >$(obj)include/config.h ; \
c15f3120
WD
1784 echo "... 33 MHz PCI" ; \
1785 fi
f9328639 1786 @$(MKCONFIG) -a SBC8540 ppc mpc85xx sbc8560
c15f3120 1787
466b7410
WD
1788sbc8560_config \
1789sbc8560_33_config \
1790sbc8560_66_config: unconfig
f9328639 1791 @mkdir -p $(obj)include
8b07a110 1792 @if [ "$(findstring _66_,$@)" ] ; then \
f9328639 1793 echo "#define CONFIG_PCI_66" >>$(obj)include/config.h ; \
8b07a110
WD
1794 echo "... 66 MHz PCI" ; \
1795 else \
f9328639 1796 >$(obj)include/config.h ; \
8b07a110
WD
1797 echo "... 33 MHz PCI" ; \
1798 fi
f9328639 1799 @$(MKCONFIG) -a sbc8560 ppc mpc85xx sbc8560
8b07a110 1800
03f5c550 1801stxgp3_config: unconfig
f9328639 1802 @$(MKCONFIG) $(@:_config=) ppc mpc85xx stxgp3
03f5c550 1803
35171dc0
DM
1804stxssa_config: unconfig
1805 @$(MKCONFIG) $(@:_config=) ppc mpc85xx stxssa
1806
d96f41e0
SR
1807TQM8540_config \
1808TQM8541_config \
1809TQM8555_config \
1810TQM8560_config: unconfig
f9328639 1811 @mkdir -p $(obj)include
a889bd27 1812 @CTYPE=$(subst TQM,,$(@:_config=)); \
f9328639 1813 >$(obj)include/config.h ; \
d96f41e0 1814 echo "... TQM"$${CTYPE}; \
f9328639
MB
1815 echo "#define CONFIG_MPC$${CTYPE}">>$(obj)include/config.h; \
1816 echo "#define CONFIG_TQM$${CTYPE}">>$(obj)include/config.h; \
1817 echo "#define CONFIG_HOSTNAME tqm$${CTYPE}">>$(obj)include/config.h; \
1818 echo "#define CONFIG_BOARDNAME \"TQM$${CTYPE}\"">>$(obj)include/config.h; \
1819 echo "#define CFG_BOOTFILE \"bootfile=/tftpboot/tqm$${CTYPE}/uImage\0\"">>$(obj)include/config.h
1820 @$(MKCONFIG) -a TQM85xx ppc mpc85xx tqm85xx
f5c5ef4a 1821
debb7354
JL
1822#########################################################################
1823## MPC86xx Systems
1824#########################################################################
1825
1826MPC8641HPCN_config: unconfig
1827 @./mkconfig $(@:_config=) ppc mpc86xx mpc8641hpcn
1828
1829
7ebf7443
WD
1830#########################################################################
1831## 74xx/7xx Systems
1832#########################################################################
1833
c7de829c 1834AmigaOneG3SE_config: unconfig
f9328639 1835 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx AmigaOneG3SE MAI
c7de829c 1836
15647dc7 1837BAB7xx_config: unconfig
f9328639 1838 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx bab7xx eltec
15647dc7 1839
c419d1d6 1840CPCI750_config: unconfig
f9328639 1841 @$(MKCONFIG) CPCI750 ppc 74xx_7xx cpci750 esd
c419d1d6 1842
3a473b2a 1843DB64360_config: unconfig
f9328639 1844 @$(MKCONFIG) DB64360 ppc 74xx_7xx db64360 Marvell
3a473b2a
WD
1845
1846DB64460_config: unconfig
f9328639 1847 @$(MKCONFIG) DB64460 ppc 74xx_7xx db64460 Marvell
3a473b2a 1848
15647dc7 1849ELPPC_config: unconfig
f9328639 1850 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx elppc eltec
15647dc7 1851
7ebf7443
WD
1852EVB64260_config \
1853EVB64260_750CX_config: unconfig
f9328639 1854 @$(MKCONFIG) EVB64260 ppc 74xx_7xx evb64260
7ebf7443 1855
4c52783b 1856mpc7448hpc2_config: unconfig
ee311214 1857 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx mpc7448hpc2
4c52783b 1858
15647dc7 1859P3G4_config: unconfig
f9328639 1860 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx evb64260
7ebf7443 1861
1eac2a71
SR
1862p3m750_config \
1863p3m7448_config: unconfig
1864 @mkdir -p $(obj)include
1865 @if [ "$(findstring 750_,$@)" ] ; then \
1866 echo "#define CONFIG_P3M750" >>$(obj)include/config.h ; \
1867 else \
1868 echo "#define CONFIG_P3M7448" >>$(obj)include/config.h ; \
1869 fi
1870 @$(MKCONFIG) -a p3mx ppc 74xx_7xx p3mx prodrive
1871
7ebf7443
WD
1872PCIPPC2_config \
1873PCIPPC6_config: unconfig
f9328639 1874 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx pcippc2
7ebf7443 1875
15647dc7 1876ZUMA_config: unconfig
f9328639 1877 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx evb64260
12f34241 1878
f5e0d039 1879ppmc7xx_config: unconfig
f9328639 1880 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx ppmc7xx
b87dfd28 1881
7ebf7443
WD
1882#========================================================================
1883# ARM
1884#========================================================================
1885#########################################################################
1886## StrongARM Systems
1887#########################################################################
1888
ea66bc88 1889assabet_config : unconfig
f9328639 1890 @$(MKCONFIG) $(@:_config=) arm sa1100 assabet
ea66bc88 1891
7ebf7443 1892dnp1110_config : unconfig
f9328639 1893 @$(MKCONFIG) $(@:_config=) arm sa1100 dnp1110
7ebf7443 1894
855a496f 1895gcplus_config : unconfig
f9328639 1896 @$(MKCONFIG) $(@:_config=) arm sa1100 gcplus
855a496f
WD
1897
1898lart_config : unconfig
f9328639 1899 @$(MKCONFIG) $(@:_config=) arm sa1100 lart
855a496f 1900
7ebf7443 1901shannon_config : unconfig
f9328639 1902 @$(MKCONFIG) $(@:_config=) arm sa1100 shannon
7ebf7443
WD
1903
1904#########################################################################
2e5983d2 1905## ARM92xT Systems
7ebf7443
WD
1906#########################################################################
1907
b0639ca3 1908xtract_trab = $(subst _bigram,,$(subst _bigflash,,$(subst _old,,$(subst _config,,$1))))
43d9616c 1909
3ff02c27 1910xtract_omap1610xxx = $(subst _cs0boot,,$(subst _cs3boot,,$(subst _cs_autoboot,,$(subst _config,,$1))))
63e73c9a 1911
a56bd922
WD
1912xtract_omap730p2 = $(subst _cs0boot,,$(subst _cs3boot,, $(subst _config,,$1)))
1913
a85f9f21 1914at91rm9200dk_config : unconfig
f9328639 1915 @$(MKCONFIG) $(@:_config=) arm arm920t at91rm9200dk NULL at91rm9200
a85f9f21
WD
1916
1917cmc_pu2_config : unconfig
f9328639 1918 @$(MKCONFIG) $(@:_config=) arm arm920t cmc_pu2 NULL at91rm9200
a85f9f21 1919
645da510 1920csb637_config : unconfig
f9328639 1921 @$(MKCONFIG) $(@:_config=) arm arm920t csb637 NULL at91rm9200
645da510 1922
0e4018d2 1923mp2usb_config : unconfig
f9328639 1924 @$(MKCONFIG) $(@:_config=) arm arm920t mp2usb NULL at91rm9200
0e4018d2 1925
3d3befa7 1926
87cb6862
WD
1927########################################################################
1928## ARM Integrator boards - see doc/README-integrator for more info.
1929integratorap_config \
1930ap_config \
1931ap966_config \
1932ap922_config \
1933ap922_XA10_config \
1934ap7_config \
dd520bf3 1935ap720t_config \
87cb6862
WD
1936ap920t_config \
1937ap926ejs_config \
1938ap946es_config: unconfig
96782c63 1939 @board/integratorap/split_by_variant.sh $@
87cb6862
WD
1940
1941integratorcp_config \
1942cp_config \
1943cp920t_config \
1944cp926ejs_config \
1945cp946es_config \
1946cp1136_config \
1947cp966_config \
1948cp922_config \
1949cp922_XA10_config \
1950cp1026_config: unconfig
96782c63 1951 @board/integratorcp/split_by_variant.sh $@
25d6712a 1952
99b0d285 1953kb9202_config : unconfig
f9328639 1954 @$(MKCONFIG) $(@:_config=) arm arm920t kb9202 NULL at91rm9200
99b0d285 1955
f832d8a1
WD
1956lpd7a400_config \
1957lpd7a404_config: unconfig
f9328639 1958 @$(MKCONFIG) $(@:_config=) arm lh7a40x lpd7a40x
3d3befa7 1959
281e00a3 1960mx1ads_config : unconfig
f9328639 1961 @$(MKCONFIG) $(@:_config=) arm arm920t mx1ads NULL imx
281e00a3
WD
1962
1963mx1fs2_config : unconfig
f9328639 1964 @$(MKCONFIG) $(@:_config=) arm arm920t mx1fs2 NULL imx
281e00a3 1965
ac7eb8a3
WD
1966netstar_32_config \
1967netstar_config: unconfig
f9328639 1968 @mkdir -p $(obj)include
ac7eb8a3
WD
1969 @if [ "$(findstring _32_,$@)" ] ; then \
1970 echo "... 32MB SDRAM" ; \
f9328639 1971 echo "#define PHYS_SDRAM_1_SIZE SZ_32M" >>$(obj)include/config.h ; \
ac7eb8a3
WD
1972 else \
1973 echo "... 64MB SDRAM" ; \
f9328639 1974 echo "#define PHYS_SDRAM_1_SIZE SZ_64M" >>$(obj)include/config.h ; \
ac7eb8a3 1975 fi
f9328639 1976 @$(MKCONFIG) -a netstar arm arm925t netstar
ac7eb8a3 1977
2e5983d2 1978omap1510inn_config : unconfig
f9328639 1979 @$(MKCONFIG) $(@:_config=) arm arm925t omap1510inn
2e5983d2 1980
1eaeb58e 1981omap5912osk_config : unconfig
f9328639 1982 @$(MKCONFIG) $(@:_config=) arm arm926ejs omap5912osk NULL omap
1eaeb58e 1983
63e73c9a
WD
1984omap1610inn_config \
1985omap1610inn_cs0boot_config \
1986omap1610inn_cs3boot_config \
3ff02c27 1987omap1610inn_cs_autoboot_config \
63e73c9a
WD
1988omap1610h2_config \
1989omap1610h2_cs0boot_config \
3ff02c27
WD
1990omap1610h2_cs3boot_config \
1991omap1610h2_cs_autoboot_config: unconfig
f9328639 1992 @mkdir -p $(obj)include
63e73c9a 1993 @if [ "$(findstring _cs0boot_, $@)" ] ; then \
f9328639 1994 echo "#define CONFIG_CS0_BOOT" >> .$(obj)/include/config.h ; \
b79a11cc 1995 echo "... configured for CS0 boot"; \
3ff02c27 1996 elif [ "$(findstring _cs_autoboot_, $@)" ] ; then \
f9328639 1997 echo "#define CONFIG_CS_AUTOBOOT" >> $(obj)./include/config.h ; \
3ff02c27 1998 echo "... configured for CS_AUTO boot"; \
63e73c9a 1999 else \
f9328639 2000 echo "#define CONFIG_CS3_BOOT" >> $(obj)./include/config.h ; \
b79a11cc 2001 echo "... configured for CS3 boot"; \
63e73c9a 2002 fi;
f9328639 2003 @$(MKCONFIG) -a $(call xtract_omap1610xxx,$@) arm arm926ejs omap1610inn NULL omap
6f21347d 2004
a56bd922
WD
2005omap730p2_config \
2006omap730p2_cs0boot_config \
2007omap730p2_cs3boot_config : unconfig
f9328639 2008 @mkdir -p $(obj)include
a56bd922 2009 @if [ "$(findstring _cs0boot_, $@)" ] ; then \
f9328639 2010 echo "#define CONFIG_CS0_BOOT" >> $(obj)include/config.h ; \
a56bd922
WD
2011 echo "... configured for CS0 boot"; \
2012 else \
f9328639 2013 echo "#define CONFIG_CS3_BOOT" >> $(obj)include/config.h ; \
a56bd922
WD
2014 echo "... configured for CS3 boot"; \
2015 fi;
f9328639 2016 @$(MKCONFIG) -a $(call xtract_omap730p2,$@) arm arm926ejs omap730p2 NULL omap
a56bd922 2017
32cb2c70 2018sbc2410x_config: unconfig
f9328639 2019 @$(MKCONFIG) $(@:_config=) arm arm920t sbc2410x NULL s3c24x0
32cb2c70 2020
281e00a3 2021scb9328_config : unconfig
f9328639 2022 @$(MKCONFIG) $(@:_config=) arm arm920t scb9328 NULL imx
281e00a3 2023
7ebf7443 2024smdk2400_config : unconfig
f9328639 2025 @$(MKCONFIG) $(@:_config=) arm arm920t smdk2400 NULL s3c24x0
7ebf7443
WD
2026
2027smdk2410_config : unconfig
f9328639 2028 @$(MKCONFIG) $(@:_config=) arm arm920t smdk2410 NULL s3c24x0
7ebf7443 2029
2d24a3a7 2030SX1_config : unconfig
f9328639 2031 @$(MKCONFIG) $(@:_config=) arm arm925t sx1
2d24a3a7 2032
b2001f27 2033# TRAB default configuration: 8 MB Flash, 32 MB RAM
43d9616c 2034trab_config \
b0639ca3
WD
2035trab_bigram_config \
2036trab_bigflash_config \
f54ebdfa 2037trab_old_config: unconfig
f9328639
MB
2038 @mkdir -p $(obj)include
2039 @mkdir -p $(obj)board/trab
2040 @ >$(obj)include/config.h
b0639ca3 2041 @[ -z "$(findstring _bigram,$@)" ] || \
f9328639
MB
2042 { echo "#define CONFIG_FLASH_8MB" >>$(obj)include/config.h ; \
2043 echo "#define CONFIG_RAM_32MB" >>$(obj)include/config.h ; \
b0639ca3
WD
2044 echo "... with 8 MB Flash, 32 MB RAM" ; \
2045 }
2046 @[ -z "$(findstring _bigflash,$@)" ] || \
f9328639
MB
2047 { echo "#define CONFIG_FLASH_16MB" >>$(obj)include/config.h ; \
2048 echo "#define CONFIG_RAM_16MB" >>$(obj)include/config.h ; \
b0639ca3 2049 echo "... with 16 MB Flash, 16 MB RAM" ; \
f9328639 2050 echo "TEXT_BASE = 0x0CF40000" >$(obj)board/trab/config.tmp ; \
b0639ca3 2051 }
f54ebdfa 2052 @[ -z "$(findstring _old,$@)" ] || \
f9328639
MB
2053 { echo "#define CONFIG_FLASH_8MB" >>$(obj)include/config.h ; \
2054 echo "#define CONFIG_RAM_16MB" >>$(obj)include/config.h ; \
b2001f27 2055 echo "... with 8 MB Flash, 16 MB RAM" ; \
f9328639 2056 echo "TEXT_BASE = 0x0CF40000" >$(obj)board/trab/config.tmp ; \
43d9616c 2057 }
f9328639 2058 @$(MKCONFIG) -a $(call xtract_trab,$@) arm arm920t trab NULL s3c24x0
7ebf7443 2059
1cb8e980 2060VCMA9_config : unconfig
f9328639 2061 @$(MKCONFIG) $(@:_config=) arm arm920t vcma9 mpl s3c24x0
1cb8e980 2062
87cb6862
WD
2063#========================================================================
2064# ARM supplied Versatile development boards
2065#========================================================================
2066versatile_config \
2067versatileab_config \
2068versatilepb_config : unconfig
96782c63 2069 @board/versatile/split_by_variant.sh $@
074cff0d 2070
3c2b3d45
WD
2071voiceblue_smallflash_config \
2072voiceblue_config: unconfig
f9328639
MB
2073 @mkdir -p $(obj)include
2074 @mkdir -p $(obj)board/voiceblue
3c2b3d45
WD
2075 @if [ "$(findstring _smallflash_,$@)" ] ; then \
2076 echo "... boot from lower flash bank" ; \
f9328639
MB
2077 echo "#define VOICEBLUE_SMALL_FLASH" >>$(obj)include/config.h ; \
2078 echo "VOICEBLUE_SMALL_FLASH=y" >$(obj)board/voiceblue/config.tmp ; \
3c2b3d45
WD
2079 else \
2080 echo "... boot from upper flash bank" ; \
f9328639
MB
2081 >$(obj)include/config.h ; \
2082 echo "VOICEBLUE_SMALL_FLASH=n" >$(obj)board/voiceblue/config.tmp ; \
3c2b3d45 2083 fi
f9328639 2084 @$(MKCONFIG) -a voiceblue arm arm925t voiceblue
3c2b3d45 2085
16b013e7 2086cm4008_config : unconfig
f9328639 2087 @$(MKCONFIG) $(@:_config=) arm arm920t cm4008 NULL ks8695
16b013e7
WD
2088
2089cm41xx_config : unconfig
f9328639 2090 @$(MKCONFIG) $(@:_config=) arm arm920t cm41xx NULL ks8695
16b013e7 2091
dd520bf3 2092gth2_config : unconfig
f9328639
MB
2093 @mkdir -p $(obj)include
2094 @ >$(obj)include/config.h
2095 @echo "#define CONFIG_GTH2 1" >>$(obj)include/config.h
2096 @$(MKCONFIG) -a gth2 mips mips gth2
0c32d96d 2097
074cff0d
WD
2098#########################################################################
2099## S3C44B0 Systems
2100#########################################################################
2101
2102B2_config : unconfig
f9328639 2103 @$(MKCONFIG) $(@:_config=) arm s3c44b0 B2 dave
074cff0d 2104
2d24a3a7
WD
2105#########################################################################
2106## ARM720T Systems
2107#########################################################################
7ebf7443 2108
c570b2fd 2109armadillo_config: unconfig
f9328639 2110 @$(MKCONFIG) $(@:_config=) arm arm720t armadillo
c570b2fd 2111
7ebf7443 2112ep7312_config : unconfig
f9328639 2113 @$(MKCONFIG) $(@:_config=) arm arm720t ep7312
7ebf7443 2114
2d24a3a7 2115impa7_config : unconfig
f9328639 2116 @$(MKCONFIG) $(@:_config=) arm arm720t impa7
2d24a3a7 2117
2d1a537d 2118modnet50_config : unconfig
f9328639 2119 @$(MKCONFIG) $(@:_config=) arm arm720t modnet50
2d1a537d 2120
39539887 2121evb4510_config : unconfig
f9328639 2122 @$(MKCONFIG) $(@:_config=) arm arm720t evb4510
39539887 2123
6bd2447e
GJ
2124lpc2292sodimm_config: unconfig
2125 @$(MKCONFIG) $(@:_config=) arm arm720t lpc2292sodimm
2126
7ebf7443 2127#########################################################################
43d9616c 2128## XScale Systems
7ebf7443
WD
2129#########################################################################
2130
20787e23 2131adsvix_config : unconfig
f9328639 2132 @$(MKCONFIG) $(@:_config=) arm pxa adsvix
20787e23 2133
fabd46ac 2134cerf250_config : unconfig
f9328639 2135 @$(MKCONFIG) $(@:_config=) arm pxa cerf250
fabd46ac 2136
7ebf7443 2137cradle_config : unconfig
f9328639 2138 @$(MKCONFIG) $(@:_config=) arm pxa cradle
7ebf7443
WD
2139
2140csb226_config : unconfig
f9328639 2141 @$(MKCONFIG) $(@:_config=) arm pxa csb226
7ebf7443 2142
0be248fa 2143delta_config :
f9328639 2144 @$(MKCONFIG) $(@:_config=) arm pxa delta
0be248fa 2145
43d9616c 2146innokom_config : unconfig
f9328639 2147 @$(MKCONFIG) $(@:_config=) arm pxa innokom
43d9616c 2148
2d5b561e 2149ixdp425_config : unconfig
f9328639 2150 @$(MKCONFIG) $(@:_config=) arm ixp ixdp425
2d5b561e 2151
ba94a1bb 2152ixdpg425_config : unconfig
f9328639 2153 @$(MKCONFIG) $(@:_config=) arm ixp ixdp425
ba94a1bb 2154
43d9616c 2155lubbock_config : unconfig
f9328639 2156 @$(MKCONFIG) $(@:_config=) arm pxa lubbock
43d9616c 2157
5720df78 2158pleb2_config : unconfig
f9328639 2159 @$(MKCONFIG) $(@:_config=) arm pxa pleb2
5720df78 2160
52f52c14 2161logodl_config : unconfig
f9328639 2162 @$(MKCONFIG) $(@:_config=) arm pxa logodl
52f52c14 2163
9d8d5a5b
SR
2164pdnb3_config \
2165scpu_config: unconfig
2166 @if [ "$(findstring scpu_,$@)" ] ; then \
2167 echo "#define CONFIG_SCPU" >>include/config.h ; \
2168 echo "... on SCPU board variant" ; \
2169 else \
2170 >include/config.h ; \
2171 fi
2172 @$(MKCONFIG) -a pdnb3 arm ixp pdnb3 prodrive
ba94a1bb 2173
f57f70aa 2174pxa255_idp_config: unconfig
f9328639 2175 @$(MKCONFIG) $(@:_config=) arm pxa pxa255_idp
f57f70aa 2176
3e38691e 2177wepep250_config : unconfig
f9328639 2178 @$(MKCONFIG) $(@:_config=) arm pxa wepep250
3e38691e 2179
4ec3a7f0 2180xaeniax_config : unconfig
f9328639 2181 @$(MKCONFIG) $(@:_config=) arm pxa xaeniax
4ec3a7f0 2182
efa329cb 2183xm250_config : unconfig
f9328639 2184 @$(MKCONFIG) $(@:_config=) arm pxa xm250
efa329cb 2185
ca0e7748 2186xsengine_config : unconfig
f9328639 2187 @$(MKCONFIG) $(@:_config=) arm pxa xsengine
ca0e7748 2188