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