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