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