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