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