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