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