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