1 7ebf7443Swdenk# 2 63640019SWolfgang Denk# (C) Copyright 2000-2007 3 7ebf7443Swdenk# Wolfgang Denk, DENX Software Engineering, wd@denx.de. 4 7ebf7443Swdenk# 5 7ebf7443Swdenk# See file CREDITS for list of people who contributed to this 6 7ebf7443Swdenk# project. 7 7ebf7443Swdenk# 8 7ebf7443Swdenk# This program is free software; you can redistribute it and/or 9 7ebf7443Swdenk# modify it under the terms of the GNU General Public License as 10 45a212c4SWolfgang Denk# published by the Free Software Foundatio; either version 2 of 11 7ebf7443Swdenk# the License, or (at your option) any later version. 12 7ebf7443Swdenk# 13 7ebf7443Swdenk# This program is distributed in the hope that it will be useful, 14 7ebf7443Swdenk# but WITHOUT ANY WARRANTY; without even the implied warranty of 15 7ebf7443Swdenk# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 7ebf7443Swdenk# GNU General Public License for more details. 17 7ebf7443Swdenk# 18 7ebf7443Swdenk# You should have received a copy of the GNU General Public License 19 7ebf7443Swdenk# along with this program; if not, write to the Free Software 20 7ebf7443Swdenk# Foundation, Inc., 59 Temple Place, Suite 330, Boston, 21 7ebf7443Swdenk# MA 02111-1307 USA 22 7ebf7443Swdenk# 23 7ebf7443Swdenk 24 881a87ecSWolfgang DenkVERSION = 1 25 754bac48SWolfgang DenkPATCHLEVEL = 3 26 f4eb5452SWolfgang DenkSUBLEVEL = 0 27 9a337ddcSWolfgang DenkEXTRAVERSION = 28 881a87ecSWolfgang DenkU_BOOT_VERSION = $(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION) 29 f9328639SMarian BalakowiczVERSION_FILE = $(obj)include/version_autogenerated.h 30 881a87ecSWolfgang Denk 31 7ebf7443SwdenkHOSTARCH := $(shell uname -m | \ 32 7ebf7443Swdenk sed -e s/i.86/i386/ \ 33 7ebf7443Swdenk -e s/sun4u/sparc64/ \ 34 7ebf7443Swdenk -e s/arm.*/arm/ \ 35 7ebf7443Swdenk -e s/sa110/arm/ \ 36 7ebf7443Swdenk -e s/powerpc/ppc/ \ 37 a2280646SKumar Gala -e s/ppc64/ppc/ \ 38 7ebf7443Swdenk -e s/macppc/ppc/) 39 7ebf7443Swdenk 40 f9d77ed3SWolfgang DenkHOSTOS := $(shell uname -s | tr '[:upper:]' '[:lower:]' | \ 41 7ebf7443Swdenk sed -e 's/\(cygwin\).*/cygwin/') 42 7ebf7443Swdenk 43 f9d77ed3SWolfgang Denkexport HOSTARCH HOSTOS 44 7ebf7443Swdenk 45 7ebf7443Swdenk# Deal with colliding definitions from tcsh etc. 46 7ebf7443SwdenkVENDOR= 47 7ebf7443Swdenk 48 7ebf7443Swdenk######################################################################### 49 f9328639SMarian Balakowicz# 50 f9328639SMarian Balakowicz# U-boot build supports producing a object files to the separate external 51 f9328639SMarian Balakowicz# directory. Two use cases are supported: 52 f9328639SMarian Balakowicz# 53 f9328639SMarian Balakowicz# 1) Add O= to the make command line 54 f9328639SMarian Balakowicz# 'make O=/tmp/build all' 55 f9328639SMarian Balakowicz# 56 f9328639SMarian Balakowicz# 2) Set environement variable BUILD_DIR to point to the desired location 57 f9328639SMarian Balakowicz# 'export BUILD_DIR=/tmp/build' 58 f9328639SMarian Balakowicz# 'make' 59 f9328639SMarian Balakowicz# 60 f9328639SMarian Balakowicz# The second approach can also be used with a MAKEALL script 61 f9328639SMarian Balakowicz# 'export BUILD_DIR=/tmp/build' 62 f9328639SMarian Balakowicz# './MAKEALL' 63 f9328639SMarian Balakowicz# 64 f9328639SMarian Balakowicz# Command line 'O=' setting overrides BUILD_DIR environent variable. 65 f9328639SMarian Balakowicz# 66 f9328639SMarian Balakowicz# When none of the above methods is used the local build is performed and 67 f9328639SMarian Balakowicz# the object files are placed in the source directory. 68 f9328639SMarian Balakowicz# 69 7ebf7443Swdenk 70 f9328639SMarian Balakowiczifdef O 71 f9328639SMarian Balakowiczifeq ("$(origin O)", "command line") 72 f9328639SMarian BalakowiczBUILD_DIR := $(O) 73 f9328639SMarian Balakowiczendif 74 f9328639SMarian Balakowiczendif 75 7ebf7443Swdenk 76 f9328639SMarian Balakowiczifneq ($(BUILD_DIR),) 77 f9328639SMarian Balakowiczsaved-output := $(BUILD_DIR) 78 4f0645ebSMarian Balakowicz 79 4f0645ebSMarian Balakowicz# Attempt to create a output directory. 80 4f0645ebSMarian Balakowicz$(shell [ -d ${BUILD_DIR} ] || mkdir -p ${BUILD_DIR}) 81 4f0645ebSMarian Balakowicz 82 4f0645ebSMarian Balakowicz# Verify if it was successful. 83 f9328639SMarian BalakowiczBUILD_DIR := $(shell cd $(BUILD_DIR) && /bin/pwd) 84 f9328639SMarian Balakowicz$(if $(BUILD_DIR),,$(error output directory "$(saved-output)" does not exist)) 85 f9328639SMarian Balakowiczendif # ifneq ($(BUILD_DIR),) 86 f9328639SMarian Balakowicz 87 f9328639SMarian BalakowiczOBJTREE := $(if $(BUILD_DIR),$(BUILD_DIR),$(CURDIR)) 88 f9328639SMarian BalakowiczSRCTREE := $(CURDIR) 89 f9328639SMarian BalakowiczTOPDIR := $(SRCTREE) 90 f9328639SMarian BalakowiczLNDIR := $(OBJTREE) 91 f9328639SMarian Balakowiczexport TOPDIR SRCTREE OBJTREE 92 f9328639SMarian Balakowicz 93 f9328639SMarian BalakowiczMKCONFIG := $(SRCTREE)/mkconfig 94 f9328639SMarian Balakowiczexport MKCONFIG 95 f9328639SMarian Balakowicz 96 f9328639SMarian Balakowiczifneq ($(OBJTREE),$(SRCTREE)) 97 f9328639SMarian BalakowiczREMOTE_BUILD := 1 98 f9328639SMarian Balakowiczexport REMOTE_BUILD 99 f9328639SMarian Balakowiczendif 100 f9328639SMarian Balakowicz 101 f9328639SMarian Balakowicz# $(obj) and (src) are defined in config.mk but here in main Makefile 102 f9328639SMarian Balakowicz# we also need them before config.mk is included which is the case for 103 f9328639SMarian Balakowicz# some targets like unconfig, clean, clobber, distclean, etc. 104 f9328639SMarian Balakowiczifneq ($(OBJTREE),$(SRCTREE)) 105 f9328639SMarian Balakowiczobj := $(OBJTREE)/ 106 f9328639SMarian Balakowiczsrc := $(SRCTREE)/ 107 f9328639SMarian Balakowiczelse 108 f9328639SMarian Balakowiczobj := 109 f9328639SMarian Balakowiczsrc := 110 f9328639SMarian Balakowiczendif 111 f9328639SMarian Balakowiczexport obj src 112 f9328639SMarian Balakowicz 113 f9328639SMarian Balakowicz######################################################################### 114 f9328639SMarian Balakowicz 115 f9328639SMarian Balakowiczifeq ($(OBJTREE)/include/config.mk,$(wildcard $(OBJTREE)/include/config.mk)) 116 f9328639SMarian Balakowicz 117 7ebf7443Swdenk# load ARCH, BOARD, and CPU configuration 118 f9328639SMarian Balakowiczinclude $(OBJTREE)/include/config.mk 119 1d9f4105Swdenkexport ARCH CPU BOARD VENDOR SOC 120 f9328639SMarian Balakowicz 121 7ebf7443Swdenkifndef CROSS_COMPILE 122 a5284efdSWolfgang Denkifeq ($(HOSTARCH),$(ARCH)) 123 7ebf7443SwdenkCROSS_COMPILE = 124 7ebf7443Swdenkelse 125 7ebf7443Swdenkifeq ($(ARCH),ppc) 126 16c8d5e7SWolfgang DenkCROSS_COMPILE = ppc_8xx- 127 7ebf7443Swdenkendif 128 7ebf7443Swdenkifeq ($(ARCH),arm) 129 dc7c9a1aSwdenkCROSS_COMPILE = arm-linux- 130 7ebf7443Swdenkendif 131 2262cfeeSwdenkifeq ($(ARCH),i386) 132 7a8e9bedSwdenkCROSS_COMPILE = i386-linux- 133 7a8e9bedSwdenkendif 134 43d9616cSwdenkifeq ($(ARCH),mips) 135 43d9616cSwdenkCROSS_COMPILE = mips_4KC- 136 43d9616cSwdenkendif 137 4a551709Swdenkifeq ($(ARCH),nios) 138 4a551709SwdenkCROSS_COMPILE = nios-elf- 139 4a551709Swdenkendif 140 5c952cf0Swdenkifeq ($(ARCH),nios2) 141 5c952cf0SwdenkCROSS_COMPILE = nios2-elf- 142 5c952cf0Swdenkendif 143 4e5ca3ebSwdenkifeq ($(ARCH),m68k) 144 4e5ca3ebSwdenkCROSS_COMPILE = m68k-elf- 145 4e5ca3ebSwdenkendif 146 507bbe3eSwdenkifeq ($(ARCH),microblaze) 147 507bbe3eSwdenkCROSS_COMPILE = mb- 148 507bbe3eSwdenkendif 149 0afe519aSWolfgang Denkifeq ($(ARCH),blackfin) 150 ef26a08fSAubrey.LiCROSS_COMPILE = bfin-uclinux- 151 0afe519aSWolfgang Denkendif 152 7b64fef3SWolfgang Denkifeq ($(ARCH),avr32) 153 5374b36dSHaavard SkinnemoenCROSS_COMPILE = avr32-linux- 154 7b64fef3SWolfgang Denkendif 155 7ebf7443Swdenkendif 156 7ebf7443Swdenkendif 157 7ebf7443Swdenk 158 7ebf7443Swdenkexport CROSS_COMPILE 159 7ebf7443Swdenk 160 92b197f0SWolfgang Denk# load other configuration 161 92b197f0SWolfgang Denkinclude $(TOPDIR)/config.mk 162 92b197f0SWolfgang Denk 163 7ebf7443Swdenk######################################################################### 164 7ebf7443Swdenk# U-Boot objects....order is important (i.e. start must be first) 165 7ebf7443Swdenk 166 7ebf7443SwdenkOBJS = cpu/$(CPU)/start.o 167 2262cfeeSwdenkifeq ($(CPU),i386) 168 2262cfeeSwdenkOBJS += cpu/$(CPU)/start16.o 169 2262cfeeSwdenkOBJS += cpu/$(CPU)/reset.o 170 2262cfeeSwdenkendif 171 7ebf7443Swdenkifeq ($(CPU),ppc4xx) 172 7ebf7443SwdenkOBJS += cpu/$(CPU)/resetvec.o 173 7ebf7443Swdenkendif 174 42d1f039Swdenkifeq ($(CPU),mpc85xx) 175 42d1f039SwdenkOBJS += cpu/$(CPU)/resetvec.o 176 42d1f039Swdenkendif 177 0afe519aSWolfgang Denkifeq ($(CPU),bf533) 178 0afe519aSWolfgang DenkOBJS += cpu/$(CPU)/start1.o cpu/$(CPU)/interrupt.o cpu/$(CPU)/cache.o 179 ef26a08fSAubrey.LiOBJS += cpu/$(CPU)/flush.o cpu/$(CPU)/init_sdram.o 180 0afe519aSWolfgang Denkendif 181 26bf7decSAubrey Liifeq ($(CPU),bf537) 182 26bf7decSAubrey LiOBJS += cpu/$(CPU)/start1.o cpu/$(CPU)/interrupt.o cpu/$(CPU)/cache.o 183 26bf7decSAubrey LiOBJS += cpu/$(CPU)/flush.o cpu/$(CPU)/init_sdram.o 184 26bf7decSAubrey Liendif 185 65458987SAubrey Liifeq ($(CPU),bf561) 186 65458987SAubrey LiOBJS += cpu/$(CPU)/start1.o cpu/$(CPU)/interrupt.o cpu/$(CPU)/cache.o 187 65458987SAubrey LiOBJS += cpu/$(CPU)/flush.o cpu/$(CPU)/init_sdram.o 188 7ebf7443Swdenkendif 189 7ebf7443Swdenk 190 f9328639SMarian BalakowiczOBJS := $(addprefix $(obj),$(OBJS)) 191 f9328639SMarian Balakowicz 192 9fd5e31fSwdenkLIBS = lib_generic/libgeneric.a 193 7608d75fSKim PhillipsLIBS += $(shell if [ -f board/$(VENDOR)/common/Makefile ]; then echo \ 194 7608d75fSKim Phillips "board/$(VENDOR)/common/lib$(VENDOR).a"; fi) 195 9fd5e31fSwdenkLIBS += board/$(BOARDDIR)/lib$(BOARD).a 196 7ebf7443SwdenkLIBS += cpu/$(CPU)/lib$(CPU).a 197 1d9f4105Swdenkifdef SOC 198 1d9f4105SwdenkLIBS += cpu/$(CPU)/$(SOC)/lib$(SOC).a 199 1d9f4105Swdenkendif 200 323bfa8fSStefan Roeseifeq ($(CPU),ixp) 201 323bfa8fSStefan RoeseLIBS += cpu/ixp/npe/libnpe.a 202 323bfa8fSStefan Roeseendif 203 7ebf7443SwdenkLIBS += lib_$(ARCH)/lib$(ARCH).a 204 518e2e1aSwdenkLIBS += fs/cramfs/libcramfs.a fs/fat/libfat.a fs/fdos/libfdos.a fs/jffs2/libjffs2.a \ 205 c419d1d6Sstroese fs/reiserfs/libreiserfs.a fs/ext2/libext2fs.a 206 7ebf7443SwdenkLIBS += net/libnet.a 207 7ebf7443SwdenkLIBS += disk/libdisk.a 208 2439e4bfSJean-Christophe PLAGNIOL-VILLARDLIBS += drivers/bios_emulator/libatibiosemu.a 209 33daf5b7SJean-Christophe PLAGNIOL-VILLARDLIBS += drivers/block/libblock.a 210 f868cc5aSJean-Christophe PLAGNIOL-VILLARDLIBS += drivers/hwmon/libhwmon.a 211 080c646dSJean-Christophe PLAGNIOL-VILLARDLIBS += drivers/i2c/libi2c.a 212 16b195c8SJean-Christophe PLAGNIOL-VILLARDLIBS += drivers/input/libinput.a 213 318c0b90SJean-Christophe PLAGNIOL-VILLARDLIBS += drivers/misc/libmisc.a 214 59829cc1SJean-Christophe PLAGNIOL-VILLARDLIBS += drivers/mtd/libmtd.a 215 59829cc1SJean-Christophe PLAGNIOL-VILLARDLIBS += drivers/mtd/nand/libnand.a 216 59829cc1SJean-Christophe PLAGNIOL-VILLARDLIBS += drivers/mtd/nand_legacy/libnand_legacy.a 217 59829cc1SJean-Christophe PLAGNIOL-VILLARDLIBS += drivers/mtd/onenand/libonenand.a 218 2439e4bfSJean-Christophe PLAGNIOL-VILLARDLIBS += drivers/net/libnet.a 219 2439e4bfSJean-Christophe PLAGNIOL-VILLARDLIBS += drivers/net/sk98lin/libsk98lin.a 220 93a686eeSJean-Christophe PLAGNIOL-VILLARDLIBS += drivers/pci/libpci.a 221 73646217SJean-Christophe PLAGNIOL-VILLARDLIBS += drivers/pcmcia/libpcmcia.a 222 7737d5c6SDave Liuifeq ($(CPU),mpc83xx) 223 7737d5c6SDave LiuLIBS += drivers/qe/qe.a 224 7737d5c6SDave Liuendif 225 da9d4610SAndy Flemingifeq ($(CPU),mpc85xx) 226 da9d4610SAndy FlemingLIBS += drivers/qe/qe.a 227 da9d4610SAndy Flemingendif 228 59829cc1SJean-Christophe PLAGNIOL-VILLARDLIBS += drivers/rtc/librtc.a 229 59829cc1SJean-Christophe PLAGNIOL-VILLARDLIBS += drivers/serial/libserial.a 230 59829cc1SJean-Christophe PLAGNIOL-VILLARDLIBS += drivers/usb/libusb.a 231 59829cc1SJean-Christophe PLAGNIOL-VILLARDLIBS += drivers/video/libvideo.a 232 ad5bb451SWolfgang DenkLIBS += post/libpost.a post/drivers/libpostdrivers.a 233 ad5bb451SWolfgang DenkLIBS += $(shell if [ -d post/lib_$(ARCH) ]; then echo \ 234 ad5bb451SWolfgang Denk "post/lib_$(ARCH)/libpost$(ARCH).a"; fi) 235 b4489621SSergei PoselenovLIBS += $(shell if [ -d post/lib_$(ARCH)/fpu ]; then echo \ 236 b4489621SSergei Poselenov "post/lib_$(ARCH)/fpu/libpost$(ARCH)fpu.a"; fi) 237 ad5bb451SWolfgang DenkLIBS += $(shell if [ -d post/cpu/$(CPU) ]; then echo \ 238 ad5bb451SWolfgang Denk "post/cpu/$(CPU)/libpost$(CPU).a"; fi) 239 ad5bb451SWolfgang DenkLIBS += $(shell if [ -d post/board/$(BOARDDIR) ]; then echo \ 240 ad5bb451SWolfgang Denk "post/board/$(BOARDDIR)/libpost$(BOARD).a"; fi) 241 7ebf7443SwdenkLIBS += common/libcommon.a 242 7651f8bdSGerald Van BarenLIBS += libfdt/libfdt.a 243 f9328639SMarian Balakowicz 244 f9328639SMarian BalakowiczLIBS := $(addprefix $(obj),$(LIBS)) 245 9fd5e31fSwdenk.PHONY : $(LIBS) 246 a8c7c708Swdenk 247 4f7cb08eSwdenk# Add GCC lib 248 1a344f29SwdenkPLATFORM_LIBS += -L $(shell dirname `$(CC) $(CFLAGS) -print-libgcc-file-name`) -lgcc 249 3d3befa7Swdenk 250 a8c7c708Swdenk# The "tools" are needed early, so put this first 251 a8c7c708Swdenk# Don't include stuff already done in $(LIBS) 252 a8c7c708SwdenkSUBDIRS = tools \ 253 ad5bb451SWolfgang Denk examples 254 ad5bb451SWolfgang Denk 255 b028f715Swdenk.PHONY : $(SUBDIRS) 256 a8c7c708Swdenk 257 887e2ec9SStefan Roeseifeq ($(CONFIG_NAND_U_BOOT),y) 258 887e2ec9SStefan RoeseNAND_SPL = nand_spl 259 887e2ec9SStefan RoeseU_BOOT_NAND = $(obj)u-boot-nand.bin 260 887e2ec9SStefan Roeseendif 261 887e2ec9SStefan Roese 262 f9328639SMarian Balakowicz__OBJS := $(subst $(obj),,$(OBJS)) 263 f9328639SMarian Balakowicz__LIBS := $(subst $(obj),,$(LIBS)) 264 f9328639SMarian Balakowicz 265 7ebf7443Swdenk######################################################################### 266 bdccc4feSwdenk######################################################################### 267 7ebf7443Swdenk 268 566a494fSHeiko SchocherALL += $(obj)u-boot.srec $(obj)u-boot.bin $(obj)System.map $(U_BOOT_NAND) 269 7ebf7443Swdenk 270 bdccc4feSwdenkall: $(ALL) 271 7ebf7443Swdenk 272 f9328639SMarian Balakowicz$(obj)u-boot.hex: $(obj)u-boot 273 6310eb9dSwdenk $(OBJCOPY) ${OBJCFLAGS} -O ihex $< $@ 274 6310eb9dSwdenk 275 f9328639SMarian Balakowicz$(obj)u-boot.srec: $(obj)u-boot 276 7ebf7443Swdenk $(OBJCOPY) ${OBJCFLAGS} -O srec $< $@ 277 7ebf7443Swdenk 278 f9328639SMarian Balakowicz$(obj)u-boot.bin: $(obj)u-boot 279 7ebf7443Swdenk $(OBJCOPY) ${OBJCFLAGS} -O binary $< $@ 280 7ebf7443Swdenk 281 f9328639SMarian Balakowicz$(obj)u-boot.img: $(obj)u-boot.bin 282 bdccc4feSwdenk ./tools/mkimage -A $(ARCH) -T firmware -C none \ 283 bdccc4feSwdenk -a $(TEXT_BASE) -e 0 \ 284 881a87ecSWolfgang Denk -n $(shell sed -n -e 's/.*U_BOOT_VERSION//p' $(VERSION_FILE) | \ 285 bdccc4feSwdenk sed -e 's/"[ ]*$$/ for $(BOARD) board"/') \ 286 bdccc4feSwdenk -d $< $@ 287 bdccc4feSwdenk 288 566a494fSHeiko Schocher$(obj)u-boot.sha1: $(obj)u-boot.bin 289 01159530SHeiko Schocher $(obj)tools/ubsha1 $(obj)u-boot.bin 290 566a494fSHeiko Schocher 291 f9328639SMarian Balakowicz$(obj)u-boot.dis: $(obj)u-boot 292 7ebf7443Swdenk $(OBJDUMP) -d $< > $@ 293 7ebf7443Swdenk 294 f9328639SMarian Balakowicz$(obj)u-boot: depend version $(SUBDIRS) $(OBJS) $(LIBS) $(LDSCRIPT) 295 8bde7f77Swdenk UNDEF_SYM=`$(OBJDUMP) -x $(LIBS) |sed -n -e 's/.*\(__u_boot_cmd_.*\)/-u\1/p'|sort|uniq`;\ 296 f9328639SMarian Balakowicz cd $(LNDIR) && $(LD) $(LDFLAGS) $$UNDEF_SYM $(__OBJS) \ 297 f9328639SMarian Balakowicz --start-group $(__LIBS) --end-group $(PLATFORM_LIBS) \ 298 b2184c31Swdenk -Map u-boot.map -o u-boot 299 7ebf7443Swdenk 300 f9328639SMarian Balakowicz$(OBJS): 301 f9328639SMarian Balakowicz $(MAKE) -C cpu/$(CPU) $(if $(REMOTE_BUILD),$@,$(notdir $@)) 302 f9328639SMarian Balakowicz 303 a8c7c708Swdenk$(LIBS): 304 f9328639SMarian Balakowicz $(MAKE) -C $(dir $(subst $(obj),,$@)) 305 a8c7c708Swdenk 306 a8c7c708Swdenk$(SUBDIRS): 307 b028f715Swdenk $(MAKE) -C $@ all 308 7ebf7443Swdenk 309 887e2ec9SStefan Roese$(NAND_SPL): version 310 8318fbf8SMarian Balakowicz $(MAKE) -C nand_spl/board/$(BOARDDIR) all 311 887e2ec9SStefan Roese 312 887e2ec9SStefan Roese$(U_BOOT_NAND): $(NAND_SPL) $(obj)u-boot.bin 313 8318fbf8SMarian Balakowicz cat $(obj)nand_spl/u-boot-spl-16k.bin $(obj)u-boot.bin > $(obj)u-boot-nand.bin 314 887e2ec9SStefan Roese 315 881a87ecSWolfgang Denkversion: 316 881a87ecSWolfgang Denk @echo -n "#define U_BOOT_VERSION \"U-Boot " > $(VERSION_FILE); \ 317 881a87ecSWolfgang Denk echo -n "$(U_BOOT_VERSION)" >> $(VERSION_FILE); \ 318 881a87ecSWolfgang Denk echo -n $(shell $(CONFIG_SHELL) $(TOPDIR)/tools/setlocalversion \ 319 881a87ecSWolfgang Denk $(TOPDIR)) >> $(VERSION_FILE); \ 320 881a87ecSWolfgang Denk echo "\"" >> $(VERSION_FILE) 321 881a87ecSWolfgang Denk 322 8f713fdfSdzugdbtools: 323 f9328639SMarian Balakowicz $(MAKE) -C tools/gdb all || exit 1 324 f9328639SMarian Balakowicz 325 f9328639SMarian Balakowiczupdater: 326 f9328639SMarian Balakowicz $(MAKE) -C tools/updater all || exit 1 327 f9328639SMarian Balakowicz 328 f9328639SMarian Balakowiczenv: 329 f9328639SMarian Balakowicz $(MAKE) -C tools/env all || exit 1 330 8f713fdfSdzu 331 f8d3ca7bSWolfgang Denkdepend dep: version 332 f9328639SMarian Balakowicz for dir in $(SUBDIRS) ; do $(MAKE) -C $$dir _depend ; done 333 7ebf7443Swdenk 334 *a340c325SJean-Christophe PLAGNIOL-VILLARDTAG_SUBDIRS += include 335 *a340c325SJean-Christophe PLAGNIOL-VILLARDTAG_SUBDIRS += lib_generic board/$(BOARDDIR) 336 *a340c325SJean-Christophe PLAGNIOL-VILLARDTAG_SUBDIRS += cpu/$(CPU) 337 *a340c325SJean-Christophe PLAGNIOL-VILLARDTAG_SUBDIRS += lib_$(ARCH) 338 *a340c325SJean-Christophe PLAGNIOL-VILLARDTAG_SUBDIRS += fs/cramfs 339 *a340c325SJean-Christophe PLAGNIOL-VILLARDTAG_SUBDIRS += fs/fat 340 *a340c325SJean-Christophe PLAGNIOL-VILLARDTAG_SUBDIRS += fs/fdos 341 *a340c325SJean-Christophe PLAGNIOL-VILLARDTAG_SUBDIRS += fs/jffs2 342 *a340c325SJean-Christophe PLAGNIOL-VILLARDTAG_SUBDIRS += net 343 *a340c325SJean-Christophe PLAGNIOL-VILLARDTAG_SUBDIRS += disk 344 *a340c325SJean-Christophe PLAGNIOL-VILLARDTAG_SUBDIRS += common 345 *a340c325SJean-Christophe PLAGNIOL-VILLARDTAG_SUBDIRS += drivers/bios_emulator 346 *a340c325SJean-Christophe PLAGNIOL-VILLARDTAG_SUBDIRS += drivers/block 347 *a340c325SJean-Christophe PLAGNIOL-VILLARDTAG_SUBDIRS += drivers/hwmon 348 *a340c325SJean-Christophe PLAGNIOL-VILLARDTAG_SUBDIRS += drivers/i2c 349 *a340c325SJean-Christophe PLAGNIOL-VILLARDTAG_SUBDIRS += drivers/input 350 *a340c325SJean-Christophe PLAGNIOL-VILLARDTAG_SUBDIRS += drivers/misc 351 *a340c325SJean-Christophe PLAGNIOL-VILLARDTAG_SUBDIRS += drivers/mtd 352 *a340c325SJean-Christophe PLAGNIOL-VILLARDTAG_SUBDIRS += drivers/mtd/nand 353 *a340c325SJean-Christophe PLAGNIOL-VILLARDTAG_SUBDIRS += drivers/mtd/nand_legacy 354 *a340c325SJean-Christophe PLAGNIOL-VILLARDTAG_SUBDIRS += drivers/mtd/onenand 355 *a340c325SJean-Christophe PLAGNIOL-VILLARDTAG_SUBDIRS += drivers/net 356 *a340c325SJean-Christophe PLAGNIOL-VILLARDTAG_SUBDIRS += drivers/net/sk98lin 357 *a340c325SJean-Christophe PLAGNIOL-VILLARDTAG_SUBDIRS += drivers/pci 358 *a340c325SJean-Christophe PLAGNIOL-VILLARDTAG_SUBDIRS += drivers/pcmcia 359 *a340c325SJean-Christophe PLAGNIOL-VILLARDTAG_SUBDIRS += drivers/qe 360 *a340c325SJean-Christophe PLAGNIOL-VILLARDTAG_SUBDIRS += drivers/rtc 361 *a340c325SJean-Christophe PLAGNIOL-VILLARDTAG_SUBDIRS += drivers/serial 362 *a340c325SJean-Christophe PLAGNIOL-VILLARDTAG_SUBDIRS += drivers/usb 363 *a340c325SJean-Christophe PLAGNIOL-VILLARDTAG_SUBDIRS += drivers/video 364 *a340c325SJean-Christophe PLAGNIOL-VILLARD 365 f9328639SMarian Balakowicztags ctags: 366 *a340c325SJean-Christophe PLAGNIOL-VILLARD ctags -w -o $(OBJTREE)/ctags `find $(SUBDIRS) $(TAG_SUBDIRS) \ 367 7ebf7443Swdenk \( -name CVS -prune \) -o \( -name '*.[ch]' -print \)` 368 7ebf7443Swdenk 369 7ebf7443Swdenketags: 370 *a340c325SJean-Christophe PLAGNIOL-VILLARD etags -a -o $(OBJTREE)/etags `find $(SUBDIRS) $(TAG_SUBDIRS) \ 371 7ebf7443Swdenk \( -name CVS -prune \) -o \( -name '*.[ch]' -print \)` 372 7ebf7443Swdenk 373 f9328639SMarian Balakowicz$(obj)System.map: $(obj)u-boot 374 7ebf7443Swdenk @$(NM) $< | \ 375 7ebf7443Swdenk grep -v '\(compiled\)\|\(\.o$$\)\|\( [aUw] \)\|\(\.\.ng$$\)\|\(LASH[RL]DI\)' | \ 376 f9328639SMarian Balakowicz sort > $(obj)System.map 377 7ebf7443Swdenk 378 7ebf7443Swdenk######################################################################### 379 7ebf7443Swdenkelse 380 f9328639SMarian Balakowiczall $(obj)u-boot.hex $(obj)u-boot.srec $(obj)u-boot.bin \ 381 f9328639SMarian Balakowicz$(obj)u-boot.img $(obj)u-boot.dis $(obj)u-boot \ 382 f9328639SMarian Balakowicz$(SUBDIRS) version gdbtools updater env depend \ 383 f9328639SMarian Balakowiczdep tags ctags etags $(obj)System.map: 384 7ebf7443Swdenk @echo "System not configured - see README" >&2 385 7ebf7443Swdenk @ exit 1 386 7ebf7443Swdenkendif 387 7ebf7443Swdenk 388 4e53a258SWolfgang Denk.PHONY : CHANGELOG 389 4e53a258SWolfgang DenkCHANGELOG: 390 b985b5d6SBen Warren git log --no-merges U-Boot-1_1_5.. | \ 391 b985b5d6SBen Warren unexpand -a | sed -e 's/\s\s*$$//' > $@ 392 4e53a258SWolfgang Denk 393 7ebf7443Swdenk######################################################################### 394 7ebf7443Swdenk 395 7ebf7443Swdenkunconfig: 396 887e2ec9SStefan Roese @rm -f $(obj)include/config.h $(obj)include/config.mk \ 397 887e2ec9SStefan Roese $(obj)board/*/config.tmp $(obj)board/*/*/config.tmp 398 7ebf7443Swdenk 399 7ebf7443Swdenk#======================================================================== 400 7ebf7443Swdenk# PowerPC 401 7ebf7443Swdenk#======================================================================== 402 0db5bca8Swdenk 403 0db5bca8Swdenk######################################################################### 404 0db5bca8Swdenk## MPC5xx Systems 405 0db5bca8Swdenk######################################################################### 406 0db5bca8Swdenk 407 5e5f9ed2Swdenkcanmb_config: unconfig 408 f9328639SMarian Balakowicz @$(MKCONFIG) -a canmb ppc mpc5xxx canmb 409 5e5f9ed2Swdenk 410 0db5bca8Swdenkcmi_mpc5xx_config: unconfig 411 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc5xx cmi 412 0db5bca8Swdenk 413 b6e4c403SwdenkPATI_config: unconfig 414 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc5xx pati mpl 415 b6e4c403Swdenk 416 7ebf7443Swdenk######################################################################### 417 945af8d7Swdenk## MPC5xxx Systems 418 945af8d7Swdenk######################################################################### 419 a87589daSwdenk 420 dafba16eSWolfgang Denkaev_config: unconfig 421 f9328639SMarian Balakowicz @$(MKCONFIG) -a aev ppc mpc5xxx tqm5200 422 dafba16eSWolfgang Denk 423 6ca24c64Sdzu@denx.deBC3450_config: unconfig 424 f9328639SMarian Balakowicz @$(MKCONFIG) -a BC3450 ppc mpc5xxx bc3450 425 6ca24c64Sdzu@denx.de 426 5e4b3361SStefan Roesecpci5200_config: unconfig 427 f9328639SMarian Balakowicz @$(MKCONFIG) -a cpci5200 ppc mpc5xxx cpci5200 esd 428 5e4b3361SStefan Roese 429 a87589daSwdenkhmi1001_config: unconfig 430 f9328639SMarian Balakowicz @$(MKCONFIG) hmi1001 ppc mpc5xxx hmi1001 431 a87589daSwdenk 432 e35745bbSwdenkLite5200_config \ 433 e35745bbSwdenkLite5200_LOWBOOT_config \ 434 e35745bbSwdenkLite5200_LOWBOOT08_config \ 435 e35745bbSwdenkicecube_5200_config \ 436 e35745bbSwdenkicecube_5200_LOWBOOT_config \ 437 e35745bbSwdenkicecube_5200_LOWBOOT08_config \ 438 b2001f27Swdenkicecube_5200_DDR_config \ 439 79d696fcSwdenkicecube_5200_DDR_LOWBOOT_config \ 440 79d696fcSwdenkicecube_5200_DDR_LOWBOOT08_config \ 441 e35745bbSwdenkicecube_5100_config: unconfig 442 f9328639SMarian Balakowicz @mkdir -p $(obj)include 443 f9328639SMarian Balakowicz @mkdir -p $(obj)board/icecube 444 f9328639SMarian Balakowicz @ >$(obj)include/config.h 445 17d704ebSwdenk @[ -z "$(findstring LOWBOOT_,$@)" ] || \ 446 17d704ebSwdenk { if [ "$(findstring DDR,$@)" ] ; \ 447 f9328639SMarian Balakowicz then echo "TEXT_BASE = 0xFF800000" >$(obj)board/icecube/config.tmp ; \ 448 f9328639SMarian Balakowicz else echo "TEXT_BASE = 0xFF000000" >$(obj)board/icecube/config.tmp ; \ 449 17d704ebSwdenk fi ; \ 450 5cf9da48Swdenk echo "... with LOWBOOT configuration" ; \ 451 5cf9da48Swdenk } 452 5cf9da48Swdenk @[ -z "$(findstring LOWBOOT08,$@)" ] || \ 453 f9328639SMarian Balakowicz { echo "TEXT_BASE = 0xFF800000" >$(obj)board/icecube/config.tmp ; \ 454 5cf9da48Swdenk echo "... with 8 MB flash only" ; \ 455 17d704ebSwdenk echo "... with LOWBOOT configuration" ; \ 456 5cf9da48Swdenk } 457 b2001f27Swdenk @[ -z "$(findstring DDR,$@)" ] || \ 458 f9328639SMarian Balakowicz { echo "#define CONFIG_MPC5200_DDR" >>$(obj)include/config.h ; \ 459 b2001f27Swdenk echo "... DDR memory revision" ; \ 460 b2001f27Swdenk } 461 d4ca31c4Swdenk @[ -z "$(findstring 5200,$@)" ] || \ 462 f9328639SMarian Balakowicz { echo "#define CONFIG_MPC5200" >>$(obj)include/config.h ; \ 463 d4ca31c4Swdenk echo "... with MPC5200 processor" ; \ 464 d4ca31c4Swdenk } 465 a0f2fe52Swdenk @[ -z "$(findstring 5100,$@)" ] || \ 466 f9328639SMarian Balakowicz { echo "#define CONFIG_MGT5100" >>$(obj)include/config.h ; \ 467 945af8d7Swdenk echo "... with MGT5100 processor" ; \ 468 945af8d7Swdenk } 469 f9328639SMarian Balakowicz @$(MKCONFIG) -a IceCube ppc mpc5xxx icecube 470 945af8d7Swdenk 471 2605e90bSHeiko Schocherjupiter_config: unconfig 472 2605e90bSHeiko Schocher @$(MKCONFIG) jupiter ppc mpc5xxx jupiter 473 2605e90bSHeiko Schocher 474 4707fb50SBartlomiej Siekav38b_config: unconfig 475 90b1b2d6SGrant Likely @$(MKCONFIG) -a v38b ppc mpc5xxx v38b 476 4707fb50SBartlomiej Sieka 477 138ff60cSwdenkinka4x0_config: unconfig 478 f9328639SMarian Balakowicz @$(MKCONFIG) inka4x0 ppc mpc5xxx inka4x0 479 138ff60cSwdenk 480 09e4b0c5SWolfgang Denklite5200b_config \ 481 d3832e8fSDomen Puncerlite5200b_PM_config \ 482 09e4b0c5SWolfgang Denklite5200b_LOWBOOT_config: unconfig 483 f9328639SMarian Balakowicz @mkdir -p $(obj)include 484 f9328639SMarian Balakowicz @mkdir -p $(obj)board/icecube 485 f9328639SMarian Balakowicz @ >$(obj)include/config.h 486 f9328639SMarian Balakowicz @ echo "#define CONFIG_MPC5200_DDR" >>$(obj)include/config.h 487 09e4b0c5SWolfgang Denk @ echo "... DDR memory revision" 488 f9328639SMarian Balakowicz @ echo "#define CONFIG_MPC5200" >>$(obj)include/config.h 489 f9328639SMarian Balakowicz @ echo "#define CONFIG_LITE5200B" >>$(obj)include/config.h 490 d3832e8fSDomen Puncer @[ -z "$(findstring _PM_,$@)" ] || \ 491 d3832e8fSDomen Puncer { echo "#define CONFIG_LITE5200B_PM" >>$(obj)include/config.h ; \ 492 d3832e8fSDomen Puncer echo "... with power management (low-power mode) support" ; \ 493 d3832e8fSDomen Puncer } 494 09e4b0c5SWolfgang Denk @[ -z "$(findstring LOWBOOT_,$@)" ] || \ 495 f9328639SMarian Balakowicz { echo "TEXT_BASE = 0xFF000000" >$(obj)board/icecube/config.tmp ; \ 496 09e4b0c5SWolfgang Denk echo "... with LOWBOOT configuration" ; \ 497 09e4b0c5SWolfgang Denk } 498 09e4b0c5SWolfgang Denk @ echo "... with MPC5200B processor" 499 f9328639SMarian Balakowicz @$(MKCONFIG) -a IceCube ppc mpc5xxx icecube 500 09e4b0c5SWolfgang Denk 501 f1ee9825SStefan Roesemcc200_config \ 502 ed1cf845SWolfgang Denkmcc200_SDRAM_config \ 503 ed1cf845SWolfgang Denkmcc200_highboot_config \ 504 ed1cf845SWolfgang Denkmcc200_COM12_config \ 505 ed1cf845SWolfgang Denkmcc200_COM12_SDRAM_config \ 506 113f64e0SWolfgang Denkmcc200_COM12_highboot_config \ 507 113f64e0SWolfgang Denkmcc200_COM12_highboot_SDRAM_config \ 508 ed1cf845SWolfgang Denkmcc200_highboot_SDRAM_config \ 509 ed1cf845SWolfgang Denkprs200_config \ 510 ed1cf845SWolfgang Denkprs200_DDR_config \ 511 ed1cf845SWolfgang Denkprs200_highboot_config \ 512 ed1cf845SWolfgang Denkprs200_highboot_DDR_config: unconfig 513 f9328639SMarian Balakowicz @mkdir -p $(obj)include 514 f9328639SMarian Balakowicz @mkdir -p $(obj)board/mcc200 515 f9328639SMarian Balakowicz @ >$(obj)include/config.h 516 4819fad9SWolfgang Denk @[ -n "$(findstring highboot,$@)" ] || \ 517 4819fad9SWolfgang Denk { echo "... with lowboot configuration" ; \ 518 f1ee9825SStefan Roese } 519 4819fad9SWolfgang Denk @[ -z "$(findstring highboot,$@)" ] || \ 520 f9328639SMarian Balakowicz { echo "TEXT_BASE = 0xFFF00000" >$(obj)board/mcc200/config.tmp ; \ 521 4819fad9SWolfgang Denk echo "... with highboot configuration" ; \ 522 4819fad9SWolfgang Denk } 523 4819fad9SWolfgang Denk @[ -n "$(findstring _SDRAM,$@)" ] || \ 524 ed1cf845SWolfgang Denk { if [ -n "$(findstring mcc200,$@)" ]; \ 525 ed1cf845SWolfgang Denk then \ 526 ed1cf845SWolfgang Denk echo "... with DDR" ; \ 527 ed1cf845SWolfgang Denk else \ 528 ed1cf845SWolfgang Denk if [ -n "$(findstring _DDR,$@)" ];\ 529 ed1cf845SWolfgang Denk then \ 530 ed1cf845SWolfgang Denk echo "... with DDR" ; \ 531 ed1cf845SWolfgang Denk else \ 532 f9328639SMarian Balakowicz echo "#define CONFIG_MCC200_SDRAM" >>$(obj)include/config.h ;\ 533 ed1cf845SWolfgang Denk echo "... with SDRAM" ; \ 534 ed1cf845SWolfgang Denk fi; \ 535 ed1cf845SWolfgang Denk fi; \ 536 4819fad9SWolfgang Denk } 537 4819fad9SWolfgang Denk @[ -z "$(findstring _SDRAM,$@)" ] || \ 538 f9328639SMarian Balakowicz { echo "#define CONFIG_MCC200_SDRAM" >>$(obj)include/config.h ; \ 539 4819fad9SWolfgang Denk echo "... with SDRAM" ; \ 540 4819fad9SWolfgang Denk } 541 463764c8SWolfgang Denk @[ -z "$(findstring COM12,$@)" ] || \ 542 f9328639SMarian Balakowicz { echo "#define CONFIG_CONSOLE_COM12" >>$(obj)include/config.h ; \ 543 463764c8SWolfgang Denk echo "... with console on COM12" ; \ 544 463764c8SWolfgang Denk } 545 ed1cf845SWolfgang Denk @[ -z "$(findstring prs200,$@)" ] || \ 546 f9328639SMarian Balakowicz { echo "#define CONFIG_PRS200" >>$(obj)include/config.h ;\ 547 ed1cf845SWolfgang Denk } 548 f9328639SMarian Balakowicz @$(MKCONFIG) -n $@ -a mcc200 ppc mpc5xxx mcc200 549 86ea5f93SWolfgang Denk 550 8b7d1f0aSStefan Roesemecp5200_config: unconfig 551 8b7d1f0aSStefan Roese @$(MKCONFIG) -a mecp5200 ppc mpc5xxx mecp5200 esd 552 8b7d1f0aSStefan Roese 553 df04a3dfSWolfgang Denko2dnt_config: 554 f9328639SMarian Balakowicz @$(MKCONFIG) o2dnt ppc mpc5xxx o2dnt 555 df04a3dfSWolfgang Denk 556 5e4b3361SStefan Roesepf5200_config: unconfig 557 f9328639SMarian Balakowicz @$(MKCONFIG) pf5200 ppc mpc5xxx pf5200 esd 558 5e4b3361SStefan Roese 559 89394047SwdenkPM520_config \ 560 89394047SwdenkPM520_DDR_config \ 561 89394047SwdenkPM520_ROMBOOT_config \ 562 89394047SwdenkPM520_ROMBOOT_DDR_config: unconfig 563 f9328639SMarian Balakowicz @mkdir -p $(obj)include 564 f9328639SMarian Balakowicz @ >$(obj)include/config.h 565 89394047Swdenk @[ -z "$(findstring DDR,$@)" ] || \ 566 f9328639SMarian Balakowicz { echo "#define CONFIG_MPC5200_DDR" >>$(obj)include/config.h ; \ 567 89394047Swdenk echo "... DDR memory revision" ; \ 568 89394047Swdenk } 569 89394047Swdenk @[ -z "$(findstring ROMBOOT,$@)" ] || \ 570 f9328639SMarian Balakowicz { echo "#define CONFIG_BOOT_ROM" >>$(obj)include/config.h ; \ 571 89394047Swdenk echo "... booting from 8-bit flash" ; \ 572 89394047Swdenk } 573 f9328639SMarian Balakowicz @$(MKCONFIG) -a PM520 ppc mpc5xxx pm520 574 89394047Swdenk 575 6624b687SWolfgang Denksmmaco4_config: unconfig 576 f9328639SMarian Balakowicz @$(MKCONFIG) -a smmaco4 ppc mpc5xxx tqm5200 577 9cdc8386SWolfgang Denk 578 86b116b1SBartlomiej Siekacm5200_config: unconfig 579 86b116b1SBartlomiej Sieka @./mkconfig -a cm5200 ppc mpc5xxx cm5200 580 fa1df308SBartlomiej Sieka 581 9cdc8386SWolfgang Denkspieval_config: unconfig 582 f9328639SMarian Balakowicz @$(MKCONFIG) -a spieval ppc mpc5xxx tqm5200 583 9cdc8386SWolfgang Denk 584 45a212c4SWolfgang DenkTB5200_B_config \ 585 b87dfd28SWolfgang DenkTB5200_config: unconfig 586 f9328639SMarian Balakowicz @mkdir -p $(obj)include 587 45a212c4SWolfgang Denk @[ -z "$(findstring _B,$@)" ] || \ 588 f9328639SMarian Balakowicz { echo "#define CONFIG_TQM5200_B" >>$(obj)include/config.h ; \ 589 45a212c4SWolfgang Denk echo "... with MPC5200B processor" ; \ 590 45a212c4SWolfgang Denk } 591 f9328639SMarian Balakowicz @$(MKCONFIG) -n $@ -a TB5200 ppc mpc5xxx tqm5200 592 b87dfd28SWolfgang Denk 593 d4ca31c4SwdenkMINI5200_config \ 594 d4ca31c4SwdenkEVAL5200_config \ 595 d4ca31c4SwdenkTOP5200_config: unconfig 596 f9328639SMarian Balakowicz @mkdir -p $(obj)include 597 f9328639SMarian Balakowicz @ echo "#define CONFIG_$(@:_config=) 1" >$(obj)include/config.h 598 f9328639SMarian Balakowicz @$(MKCONFIG) -n $@ -a TOP5200 ppc mpc5xxx top5200 emk 599 d4ca31c4Swdenk 600 6c7a1408SwdenkTotal5100_config \ 601 6c7a1408SwdenkTotal5200_config \ 602 6c7a1408SwdenkTotal5200_lowboot_config \ 603 6c7a1408SwdenkTotal5200_Rev2_config \ 604 6c7a1408SwdenkTotal5200_Rev2_lowboot_config: unconfig 605 f9328639SMarian Balakowicz @mkdir -p $(obj)include 606 f9328639SMarian Balakowicz @mkdir -p $(obj)board/total5200 607 f9328639SMarian Balakowicz @ >$(obj)include/config.h 608 6c7a1408Swdenk @[ -z "$(findstring 5100,$@)" ] || \ 609 f9328639SMarian Balakowicz { echo "#define CONFIG_MGT5100" >>$(obj)include/config.h ; \ 610 6c7a1408Swdenk echo "... with MGT5100 processor" ; \ 611 6c7a1408Swdenk } 612 6c7a1408Swdenk @[ -z "$(findstring 5200,$@)" ] || \ 613 f9328639SMarian Balakowicz { echo "#define CONFIG_MPC5200" >>$(obj)include/config.h ; \ 614 6c7a1408Swdenk echo "... with MPC5200 processor" ; \ 615 6c7a1408Swdenk } 616 6c7a1408Swdenk @[ -n "$(findstring Rev,$@)" ] || \ 617 f9328639SMarian Balakowicz { echo "#define CONFIG_TOTAL5200_REV 1" >>$(obj)include/config.h ; \ 618 6c7a1408Swdenk echo "... revision 1 board" ; \ 619 6c7a1408Swdenk } 620 6c7a1408Swdenk @[ -z "$(findstring Rev2_,$@)" ] || \ 621 f9328639SMarian Balakowicz { echo "#define CONFIG_TOTAL5200_REV 2" >>$(obj)include/config.h ; \ 622 6c7a1408Swdenk echo "... revision 2 board" ; \ 623 6c7a1408Swdenk } 624 6c7a1408Swdenk @[ -z "$(findstring lowboot_,$@)" ] || \ 625 f9328639SMarian Balakowicz { echo "TEXT_BASE = 0xFE000000" >$(obj)board/total5200/config.tmp ; \ 626 6c7a1408Swdenk echo "... with lowboot configuration" ; \ 627 6c7a1408Swdenk } 628 f9328639SMarian Balakowicz @$(MKCONFIG) -a Total5200 ppc mpc5xxx total5200 629 6c7a1408Swdenk 630 5196a7a0SWolfgang Denkcam5200_config \ 631 d9384de2SMarian Balakowiczcam5200_niosflash_config \ 632 5196a7a0SWolfgang Denkfo300_config \ 633 5196a7a0SWolfgang DenkMiniFAP_config \ 634 5078cce8SWolfgang DenkTQM5200S_config \ 635 5078cce8SWolfgang DenkTQM5200S_HIGHBOOT_config \ 636 5196a7a0SWolfgang DenkTQM5200_B_config \ 637 5196a7a0SWolfgang DenkTQM5200_B_HIGHBOOT_config \ 638 5196a7a0SWolfgang DenkTQM5200_config \ 639 5196a7a0SWolfgang DenkTQM5200_STK100_config: unconfig 640 f9328639SMarian Balakowicz @mkdir -p $(obj)include 641 f9328639SMarian Balakowicz @mkdir -p $(obj)board/tqm5200 642 f9328639SMarian Balakowicz @ >$(obj)include/config.h 643 135ae006SWolfgang Denk @[ -z "$(findstring cam5200,$@)" ] || \ 644 f9328639SMarian Balakowicz { echo "#define CONFIG_CAM5200" >>$(obj)include/config.h ; \ 645 f9328639SMarian Balakowicz echo "#define CONFIG_TQM5200S" >>$(obj)include/config.h ; \ 646 f9328639SMarian Balakowicz echo "#define CONFIG_TQM5200_B" >>$(obj)include/config.h ; \ 647 135ae006SWolfgang Denk echo "... TQM5200S on Cam5200" ; \ 648 5078cce8SWolfgang Denk } 649 d9384de2SMarian Balakowicz @[ -z "$(findstring niosflash,$@)" ] || \ 650 d9384de2SMarian Balakowicz { echo "#define CONFIG_CAM5200_NIOSFLASH" >>$(obj)include/config.h ; \ 651 d9384de2SMarian Balakowicz echo "... with NIOS flash driver" ; \ 652 d9384de2SMarian Balakowicz } 653 6d3bc9b8SMarian Balakowicz @[ -z "$(findstring fo300,$@)" ] || \ 654 f9328639SMarian Balakowicz { echo "#define CONFIG_FO300" >>$(obj)include/config.h ; \ 655 6d3bc9b8SMarian Balakowicz echo "... TQM5200 on FO300" ; \ 656 6d3bc9b8SMarian Balakowicz } 657 cd65a3dcSWolfgang Denk @[ -z "$(findstring MiniFAP,$@)" ] || \ 658 f9328639SMarian Balakowicz { echo "#define CONFIG_MINIFAP" >>$(obj)include/config.h ; \ 659 45a212c4SWolfgang Denk echo "... TQM5200_AC on MiniFAP" ; \ 660 978b1096SWolfgang Denk } 661 cd65a3dcSWolfgang Denk @[ -z "$(findstring STK100,$@)" ] || \ 662 f9328639SMarian Balakowicz { echo "#define CONFIG_STK52XX_REV100" >>$(obj)include/config.h ; \ 663 cd65a3dcSWolfgang Denk echo "... on a STK52XX.100 base board" ; \ 664 56523f12Swdenk } 665 5078cce8SWolfgang Denk @[ -z "$(findstring TQM5200_B,$@)" ] || \ 666 f9328639SMarian Balakowicz { echo "#define CONFIG_TQM5200_B" >>$(obj)include/config.h ; \ 667 5078cce8SWolfgang Denk } 668 5078cce8SWolfgang Denk @[ -z "$(findstring TQM5200S,$@)" ] || \ 669 f9328639SMarian Balakowicz { echo "#define CONFIG_TQM5200S" >>$(obj)include/config.h ; \ 670 f9328639SMarian Balakowicz echo "#define CONFIG_TQM5200_B" >>$(obj)include/config.h ; \ 671 45a212c4SWolfgang Denk } 672 978b1096SWolfgang Denk @[ -z "$(findstring HIGHBOOT,$@)" ] || \ 673 f9328639SMarian Balakowicz { echo "TEXT_BASE = 0xFFF00000" >$(obj)board/tqm5200/config.tmp ; \ 674 978b1096SWolfgang Denk } 675 f9328639SMarian Balakowicz @$(MKCONFIG) -n $@ -a TQM5200 ppc mpc5xxx tqm5200 676 6dedf3d4SHeiko Schocheruc101_config: unconfig 677 6dedf3d4SHeiko Schocher @$(MKCONFIG) uc101 ppc mpc5xxx uc101 678 53d4a498SBartlomiej Siekamotionpro_config: unconfig 679 53d4a498SBartlomiej Sieka @$(MKCONFIG) motionpro ppc mpc5xxx motionpro 680 53d4a498SBartlomiej Sieka 681 56523f12Swdenk 682 945af8d7Swdenk######################################################################### 683 8993e54bSRafal Jaworowski## MPC512x Systems 684 8993e54bSRafal Jaworowski######################################################################### 685 8993e54bSRafal Jaworowskiads5121_config: unconfig 686 8993e54bSRafal Jaworowski @$(MKCONFIG) ads5121 ppc mpc512x ads5121 687 8993e54bSRafal Jaworowski 688 8993e54bSRafal Jaworowski 689 8993e54bSRafal Jaworowski######################################################################### 690 7ebf7443Swdenk## MPC8xx Systems 691 7ebf7443Swdenk######################################################################### 692 7ebf7443Swdenk 693 2d24a3a7SwdenkAdder_config \ 694 2d24a3a7SwdenkAdder87x_config \ 695 26238132SwdenkAdderII_config \ 696 2d24a3a7Swdenk : unconfig 697 f9328639SMarian Balakowicz @mkdir -p $(obj)include 698 26238132Swdenk $(if $(findstring AdderII,$@), \ 699 f9328639SMarian Balakowicz @echo "#define CONFIG_MPC852T" > $(obj)include/config.h) 700 f9328639SMarian Balakowicz @$(MKCONFIG) -a Adder ppc mpc8xx adder 701 2d24a3a7Swdenk 702 16c8d5e7SWolfgang DenkAdderUSB_config: unconfig 703 16c8d5e7SWolfgang Denk @./mkconfig -a AdderUSB ppc mpc8xx adder 704 16c8d5e7SWolfgang Denk 705 180d3f74SwdenkADS860_config \ 706 180d3f74SwdenkFADS823_config \ 707 180d3f74SwdenkFADS850SAR_config \ 708 180d3f74SwdenkMPC86xADS_config \ 709 1114257cSwdenkMPC885ADS_config \ 710 180d3f74SwdenkFADS860T_config: unconfig 711 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8xx fads 712 7ebf7443Swdenk 713 7ebf7443SwdenkAMX860_config : unconfig 714 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8xx amx860 westel 715 7ebf7443Swdenk 716 7ebf7443Swdenkc2mon_config: unconfig 717 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8xx c2mon 718 7ebf7443Swdenk 719 7ebf7443SwdenkCCM_config: unconfig 720 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8xx CCM siemens 721 7ebf7443Swdenk 722 7ebf7443Swdenkcogent_mpc8xx_config: unconfig 723 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8xx cogent 724 7ebf7443Swdenk 725 3bac3513SwdenkELPT860_config: unconfig 726 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8xx elpt860 LEOX 727 3bac3513Swdenk 728 84c960ceSWolfgang DenkEP88x_config: unconfig 729 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8xx ep88x 730 84c960ceSWolfgang Denk 731 7ebf7443SwdenkESTEEM192E_config: unconfig 732 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8xx esteem192e 733 7ebf7443Swdenk 734 7ebf7443SwdenkETX094_config : unconfig 735 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8xx etx094 736 7ebf7443Swdenk 737 7ebf7443SwdenkFLAGADM_config: unconfig 738 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8xx flagadm 739 7ebf7443Swdenk 740 7aa78614Swdenkxtract_GEN860T = $(subst _SC,,$(subst _config,,$1)) 741 7aa78614Swdenk 742 7aa78614SwdenkGEN860T_SC_config \ 743 7ebf7443SwdenkGEN860T_config: unconfig 744 f9328639SMarian Balakowicz @mkdir -p $(obj)include 745 f9328639SMarian Balakowicz @ >$(obj)include/config.h 746 7aa78614Swdenk @[ -z "$(findstring _SC,$@)" ] || \ 747 f9328639SMarian Balakowicz { echo "#define CONFIG_SC" >>$(obj)include/config.h ; \ 748 7aa78614Swdenk echo "With reduced H/W feature set (SC)..." ; \ 749 7aa78614Swdenk } 750 f9328639SMarian Balakowicz @$(MKCONFIG) -a $(call xtract_GEN860T,$@) ppc mpc8xx gen860t 751 7ebf7443Swdenk 752 7ebf7443SwdenkGENIETV_config: unconfig 753 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8xx genietv 754 7ebf7443Swdenk 755 7ebf7443SwdenkGTH_config: unconfig 756 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8xx gth 757 7ebf7443Swdenk 758 7ebf7443Swdenkhermes_config : unconfig 759 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8xx hermes 760 7ebf7443Swdenk 761 c40b2956SwdenkHMI10_config : unconfig 762 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8xx tqm8xx 763 c40b2956Swdenk 764 7ebf7443SwdenkIAD210_config: unconfig 765 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8xx IAD210 siemens 766 7ebf7443Swdenk 767 7ebf7443Swdenkxtract_ICU862 = $(subst _100MHz,,$(subst _config,,$1)) 768 7ebf7443Swdenk 769 7ebf7443SwdenkICU862_100MHz_config \ 770 7ebf7443SwdenkICU862_config: unconfig 771 f9328639SMarian Balakowicz @mkdir -p $(obj)include 772 f9328639SMarian Balakowicz @ >$(obj)include/config.h 773 7ebf7443Swdenk @[ -z "$(findstring _100MHz,$@)" ] || \ 774 f9328639SMarian Balakowicz { echo "#define CONFIG_100MHz" >>$(obj)include/config.h ; \ 775 7ebf7443Swdenk echo "... with 100MHz system clock" ; \ 776 7ebf7443Swdenk } 777 f9328639SMarian Balakowicz @$(MKCONFIG) -a $(call xtract_ICU862,$@) ppc mpc8xx icu862 778 7ebf7443Swdenk 779 7ebf7443SwdenkIP860_config : unconfig 780 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8xx ip860 781 7ebf7443Swdenk 782 7ebf7443SwdenkIVML24_256_config \ 783 7ebf7443SwdenkIVML24_128_config \ 784 7ebf7443SwdenkIVML24_config: unconfig 785 f9328639SMarian Balakowicz @mkdir -p $(obj)include 786 f9328639SMarian Balakowicz @ >$(obj)include/config.h 787 7ebf7443Swdenk @[ -z "$(findstring IVML24_config,$@)" ] || \ 788 f9328639SMarian Balakowicz { echo "#define CONFIG_IVML24_16M" >>$(obj)include/config.h ; \ 789 7ebf7443Swdenk } 790 7ebf7443Swdenk @[ -z "$(findstring IVML24_128_config,$@)" ] || \ 791 f9328639SMarian Balakowicz { echo "#define CONFIG_IVML24_32M" >>$(obj)include/config.h ; \ 792 7ebf7443Swdenk } 793 7ebf7443Swdenk @[ -z "$(findstring IVML24_256_config,$@)" ] || \ 794 f9328639SMarian Balakowicz { echo "#define CONFIG_IVML24_64M" >>$(obj)include/config.h ; \ 795 7ebf7443Swdenk } 796 f9328639SMarian Balakowicz @$(MKCONFIG) -a IVML24 ppc mpc8xx ivm 797 7ebf7443Swdenk 798 7ebf7443SwdenkIVMS8_256_config \ 799 7ebf7443SwdenkIVMS8_128_config \ 800 7ebf7443SwdenkIVMS8_config: unconfig 801 f9328639SMarian Balakowicz @mkdir -p $(obj)include 802 f9328639SMarian Balakowicz @ >$(obj)include/config.h 803 7ebf7443Swdenk @[ -z "$(findstring IVMS8_config,$@)" ] || \ 804 f9328639SMarian Balakowicz { echo "#define CONFIG_IVMS8_16M" >>$(obj)include/config.h ; \ 805 7ebf7443Swdenk } 806 7ebf7443Swdenk @[ -z "$(findstring IVMS8_128_config,$@)" ] || \ 807 f9328639SMarian Balakowicz { echo "#define CONFIG_IVMS8_32M" >>$(obj)include/config.h ; \ 808 7ebf7443Swdenk } 809 7ebf7443Swdenk @[ -z "$(findstring IVMS8_256_config,$@)" ] || \ 810 f9328639SMarian Balakowicz { echo "#define CONFIG_IVMS8_64M" >>$(obj)include/config.h ; \ 811 7ebf7443Swdenk } 812 f9328639SMarian Balakowicz @$(MKCONFIG) -a IVMS8 ppc mpc8xx ivm 813 7ebf7443Swdenk 814 56f94be3SwdenkKUP4K_config : unconfig 815 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8xx kup4k kup 816 0608e04dSwdenk 817 0608e04dSwdenkKUP4X_config : unconfig 818 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8xx kup4x kup 819 56f94be3Swdenk 820 7ebf7443SwdenkLANTEC_config : unconfig 821 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8xx lantec 822 7ebf7443Swdenk 823 7ebf7443Swdenklwmon_config: unconfig 824 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8xx lwmon 825 7ebf7443Swdenk 826 7ebf7443SwdenkMBX_config \ 827 7ebf7443SwdenkMBX860T_config: unconfig 828 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8xx mbx8xx 829 7ebf7443Swdenk 830 7ebf7443SwdenkMHPC_config: unconfig 831 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8xx mhpc eltec 832 7ebf7443Swdenk 833 7ebf7443SwdenkMVS1_config : unconfig 834 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8xx mvs1 835 7ebf7443Swdenk 836 993cad93Swdenkxtract_NETVIA = $(subst _V2,,$(subst _config,,$1)) 837 993cad93Swdenk 838 993cad93SwdenkNETVIA_V2_config \ 839 7ebf7443SwdenkNETVIA_config: unconfig 840 f9328639SMarian Balakowicz @mkdir -p $(obj)include 841 f9328639SMarian Balakowicz @ >$(obj)include/config.h 842 993cad93Swdenk @[ -z "$(findstring NETVIA_config,$@)" ] || \ 843 f9328639SMarian Balakowicz { echo "#define CONFIG_NETVIA_VERSION 1" >>$(obj)include/config.h ; \ 844 993cad93Swdenk echo "... Version 1" ; \ 845 993cad93Swdenk } 846 993cad93Swdenk @[ -z "$(findstring NETVIA_V2_config,$@)" ] || \ 847 f9328639SMarian Balakowicz { echo "#define CONFIG_NETVIA_VERSION 2" >>$(obj)include/config.h ; \ 848 993cad93Swdenk echo "... Version 2" ; \ 849 993cad93Swdenk } 850 f9328639SMarian Balakowicz @$(MKCONFIG) -a $(call xtract_NETVIA,$@) ppc mpc8xx netvia 851 7ebf7443Swdenk 852 c26e454dSwdenkxtract_NETPHONE = $(subst _V2,,$(subst _config,,$1)) 853 c26e454dSwdenk 854 c26e454dSwdenkNETPHONE_V2_config \ 855 04a85b3bSwdenkNETPHONE_config: unconfig 856 f9328639SMarian Balakowicz @mkdir -p $(obj)include 857 f9328639SMarian Balakowicz @ >$(obj)include/config.h 858 c26e454dSwdenk @[ -z "$(findstring NETPHONE_config,$@)" ] || \ 859 f9328639SMarian Balakowicz { echo "#define CONFIG_NETPHONE_VERSION 1" >>$(obj)include/config.h ; \ 860 c26e454dSwdenk } 861 c26e454dSwdenk @[ -z "$(findstring NETPHONE_V2_config,$@)" ] || \ 862 f9328639SMarian Balakowicz { echo "#define CONFIG_NETPHONE_VERSION 2" >>$(obj)include/config.h ; \ 863 c26e454dSwdenk } 864 f9328639SMarian Balakowicz @$(MKCONFIG) -a $(call xtract_NETPHONE,$@) ppc mpc8xx netphone 865 04a85b3bSwdenk 866 79fa88f3Swdenkxtract_NETTA = $(subst _SWAPHOOK,,$(subst _6412,,$(subst _ISDN,,$(subst _config,,$1)))) 867 04a85b3bSwdenk 868 79fa88f3SwdenkNETTA_ISDN_6412_SWAPHOOK_config \ 869 79fa88f3SwdenkNETTA_ISDN_SWAPHOOK_config \ 870 79fa88f3SwdenkNETTA_6412_SWAPHOOK_config \ 871 79fa88f3SwdenkNETTA_SWAPHOOK_config \ 872 79fa88f3SwdenkNETTA_ISDN_6412_config \ 873 04a85b3bSwdenkNETTA_ISDN_config \ 874 79fa88f3SwdenkNETTA_6412_config \ 875 04a85b3bSwdenkNETTA_config: unconfig 876 f9328639SMarian Balakowicz @mkdir -p $(obj)include 877 f9328639SMarian Balakowicz @ >$(obj)include/config.h 878 79fa88f3Swdenk @[ -z "$(findstring ISDN_,$@)" ] || \ 879 f9328639SMarian Balakowicz { echo "#define CONFIG_NETTA_ISDN 1" >>$(obj)include/config.h ; \ 880 04a85b3bSwdenk } 881 79fa88f3Swdenk @[ -n "$(findstring ISDN_,$@)" ] || \ 882 f9328639SMarian Balakowicz { echo "#undef CONFIG_NETTA_ISDN" >>$(obj)include/config.h ; \ 883 79fa88f3Swdenk } 884 79fa88f3Swdenk @[ -z "$(findstring 6412_,$@)" ] || \ 885 f9328639SMarian Balakowicz { echo "#define CONFIG_NETTA_6412 1" >>$(obj)include/config.h ; \ 886 79fa88f3Swdenk } 887 79fa88f3Swdenk @[ -n "$(findstring 6412_,$@)" ] || \ 888 f9328639SMarian Balakowicz { echo "#undef CONFIG_NETTA_6412" >>$(obj)include/config.h ; \ 889 79fa88f3Swdenk } 890 79fa88f3Swdenk @[ -z "$(findstring SWAPHOOK_,$@)" ] || \ 891 f9328639SMarian Balakowicz { echo "#define CONFIG_NETTA_SWAPHOOK 1" >>$(obj)include/config.h ; \ 892 79fa88f3Swdenk } 893 79fa88f3Swdenk @[ -n "$(findstring SWAPHOOK_,$@)" ] || \ 894 f9328639SMarian Balakowicz { echo "#undef CONFIG_NETTA_SWAPHOOK" >>$(obj)include/config.h ; \ 895 79fa88f3Swdenk } 896 f9328639SMarian Balakowicz @$(MKCONFIG) -a $(call xtract_NETTA,$@) ppc mpc8xx netta 897 04a85b3bSwdenk 898 79fa88f3Swdenkxtract_NETTA2 = $(subst _V2,,$(subst _config,,$1)) 899 79fa88f3Swdenk 900 79fa88f3SwdenkNETTA2_V2_config \ 901 79fa88f3SwdenkNETTA2_config: unconfig 902 f9328639SMarian Balakowicz @mkdir -p $(obj)include 903 f9328639SMarian Balakowicz @ >$(obj)include/config.h 904 79fa88f3Swdenk @[ -z "$(findstring NETTA2_config,$@)" ] || \ 905 f9328639SMarian Balakowicz { echo "#define CONFIG_NETTA2_VERSION 1" >>$(obj)include/config.h ; \ 906 79fa88f3Swdenk } 907 79fa88f3Swdenk @[ -z "$(findstring NETTA2_V2_config,$@)" ] || \ 908 f9328639SMarian Balakowicz { echo "#define CONFIG_NETTA2_VERSION 2" >>$(obj)include/config.h ; \ 909 79fa88f3Swdenk } 910 f9328639SMarian Balakowicz @$(MKCONFIG) -a $(call xtract_NETTA2,$@) ppc mpc8xx netta2 911 79fa88f3Swdenk 912 a367d426Sdzu@denx.deNC650_Rev1_config \ 913 a367d426Sdzu@denx.deNC650_Rev2_config \ 914 a367d426Sdzu@denx.deCP850_config: unconfig 915 f9328639SMarian Balakowicz @mkdir -p $(obj)include 916 f9328639SMarian Balakowicz @ >$(obj)include/config.h 917 a367d426Sdzu@denx.de @[ -z "$(findstring CP850,$@)" ] || \ 918 f9328639SMarian Balakowicz { echo "#define CONFIG_CP850 1" >>$(obj)include/config.h ; \ 919 f9328639SMarian Balakowicz echo "#define CONFIG_IDS852_REV2 1" >>$(obj)include/config.h ; \ 920 a367d426Sdzu@denx.de } 921 a367d426Sdzu@denx.de @[ -z "$(findstring Rev1,$@)" ] || \ 922 f9328639SMarian Balakowicz { echo "#define CONFIG_IDS852_REV1 1" >>$(obj)include/config.h ; \ 923 a367d426Sdzu@denx.de } 924 a367d426Sdzu@denx.de @[ -z "$(findstring Rev2,$@)" ] || \ 925 f9328639SMarian Balakowicz { echo "#define CONFIG_IDS852_REV2 1" >>$(obj)include/config.h ; \ 926 a367d426Sdzu@denx.de } 927 f9328639SMarian Balakowicz @$(MKCONFIG) -a NC650 ppc mpc8xx nc650 928 7ca202f5Swdenk 929 7ebf7443SwdenkNX823_config: unconfig 930 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8xx nx823 931 7ebf7443Swdenk 932 7ebf7443Swdenkpcu_e_config: unconfig 933 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8xx pcu_e siemens 934 7ebf7443Swdenk 935 3bbc899fSwdenkQS850_config: unconfig 936 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8xx qs850 snmc 937 3bbc899fSwdenk 938 3bbc899fSwdenkQS823_config: unconfig 939 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8xx qs850 snmc 940 3bbc899fSwdenk 941 3bbc899fSwdenkQS860T_config: unconfig 942 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8xx qs860t snmc 943 3bbc899fSwdenk 944 da93ed81Swdenkquantum_config: unconfig 945 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8xx quantum 946 da93ed81Swdenk 947 7ebf7443SwdenkR360MPI_config: unconfig 948 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8xx r360mpi 949 7ebf7443Swdenk 950 682011ffSwdenkRBC823_config: unconfig 951 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8xx rbc823 952 682011ffSwdenk 953 7ebf7443SwdenkRPXClassic_config: unconfig 954 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8xx RPXClassic 955 7ebf7443Swdenk 956 7ebf7443SwdenkRPXlite_config: unconfig 957 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8xx RPXlite 958 7ebf7443Swdenk 959 e63c8ee3SwdenkRPXlite_DW_64_config \ 960 e63c8ee3SwdenkRPXlite_DW_LCD_config \ 961 e63c8ee3SwdenkRPXlite_DW_64_LCD_config \ 962 e63c8ee3SwdenkRPXlite_DW_NVRAM_config \ 963 e63c8ee3SwdenkRPXlite_DW_NVRAM_64_config \ 964 e63c8ee3SwdenkRPXlite_DW_NVRAM_LCD_config \ 965 e63c8ee3SwdenkRPXlite_DW_NVRAM_64_LCD_config \ 966 e63c8ee3SwdenkRPXlite_DW_config: unconfig 967 f9328639SMarian Balakowicz @mkdir -p $(obj)include 968 f9328639SMarian Balakowicz @ >$(obj)include/config.h 969 e63c8ee3Swdenk @[ -z "$(findstring _64,$@)" ] || \ 970 f9328639SMarian Balakowicz { echo "#define RPXlite_64MHz" >>$(obj)include/config.h ; \ 971 e63c8ee3Swdenk echo "... with 64MHz system clock ..."; \ 972 e63c8ee3Swdenk } 973 e63c8ee3Swdenk @[ -z "$(findstring _LCD,$@)" ] || \ 974 f9328639SMarian Balakowicz { echo "#define CONFIG_LCD" >>$(obj)include/config.h ; \ 975 f9328639SMarian Balakowicz echo "#define CONFIG_NEC_NL6448BC20" >>$(obj)include/config.h ; \ 976 e63c8ee3Swdenk echo "... with LCD display ..."; \ 977 e63c8ee3Swdenk } 978 e63c8ee3Swdenk @[ -z "$(findstring _NVRAM,$@)" ] || \ 979 f9328639SMarian Balakowicz { echo "#define CFG_ENV_IS_IN_NVRAM" >>$(obj)include/config.h ; \ 980 e63c8ee3Swdenk echo "... with ENV in NVRAM ..."; \ 981 e63c8ee3Swdenk } 982 f9328639SMarian Balakowicz @$(MKCONFIG) -a RPXlite_DW ppc mpc8xx RPXlite_dw 983 e63c8ee3Swdenk 984 73a8b27cSwdenkrmu_config: unconfig 985 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8xx rmu 986 73a8b27cSwdenk 987 7ebf7443SwdenkRRvision_config: unconfig 988 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8xx RRvision 989 7ebf7443Swdenk 990 7ebf7443SwdenkRRvision_LCD_config: unconfig 991 f9328639SMarian Balakowicz @mkdir -p $(obj)include 992 f9328639SMarian Balakowicz @echo "#define CONFIG_LCD" >$(obj)include/config.h 993 f9328639SMarian Balakowicz @echo "#define CONFIG_SHARP_LQ104V7DS01" >>$(obj)include/config.h 994 f9328639SMarian Balakowicz @$(MKCONFIG) -a RRvision ppc mpc8xx RRvision 995 7ebf7443Swdenk 996 7ebf7443SwdenkSM850_config : unconfig 997 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8xx tqm8xx 998 7ebf7443Swdenk 999 b02d0177SMarkus Klotzbuecherspc1920_config: 1000 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8xx spc1920 1001 b02d0177SMarkus Klotzbuecher 1002 7ebf7443SwdenkSPD823TS_config: unconfig 1003 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8xx spd8xx 1004 7ebf7443Swdenk 1005 6bdf4306SWolfgang Denkstxxtc_config: unconfig 1006 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8xx stxxtc 1007 6bdf4306SWolfgang Denk 1008 dc7c9a1aSwdenksvm_sc8xx_config: unconfig 1009 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8xx svm_sc8xx 1010 dc7c9a1aSwdenk 1011 7ebf7443SwdenkSXNI855T_config: unconfig 1012 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8xx sixnet 1013 7ebf7443Swdenk 1014 db2f721fSwdenk# EMK MPC8xx based modules 1015 db2f721fSwdenkTOP860_config: unconfig 1016 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8xx top860 emk 1017 db2f721fSwdenk 1018 7ebf7443Swdenk# Play some tricks for configuration selection 1019 e9132ea9Swdenk# Only 855 and 860 boards may come with FEC 1020 e9132ea9Swdenk# and only 823 boards may have LCD support 1021 e9132ea9Swdenkxtract_8xx = $(subst _LCD,,$(subst _config,,$1)) 1022 7ebf7443Swdenk 1023 7ebf7443SwdenkFPS850L_config \ 1024 384ae025SwdenkFPS860L_config \ 1025 f12e568cSwdenkNSCU_config \ 1026 7ebf7443SwdenkTQM823L_config \ 1027 7ebf7443SwdenkTQM823L_LCD_config \ 1028 7ebf7443SwdenkTQM850L_config \ 1029 7ebf7443SwdenkTQM855L_config \ 1030 7ebf7443SwdenkTQM860L_config \ 1031 d126bfbdSwdenkTQM862L_config \ 1032 ae3af05eSwdenkTQM823M_config \ 1033 ae3af05eSwdenkTQM850M_config \ 1034 f12e568cSwdenkTQM855M_config \ 1035 f12e568cSwdenkTQM860M_config \ 1036 f12e568cSwdenkTQM862M_config \ 1037 8cba090cSWolfgang DenkTQM866M_config \ 1038 090eb735SMarkus KlotzbuecherTQM885D_config \ 1039 8cba090cSWolfgang Denkvirtlab2_config: unconfig 1040 f9328639SMarian Balakowicz @mkdir -p $(obj)include 1041 f9328639SMarian Balakowicz @ >$(obj)include/config.h 1042 7ebf7443Swdenk @[ -z "$(findstring _LCD,$@)" ] || \ 1043 f9328639SMarian Balakowicz { echo "#define CONFIG_LCD" >>$(obj)include/config.h ; \ 1044 f9328639SMarian Balakowicz echo "#define CONFIG_NEC_NL6448BC20" >>$(obj)include/config.h ; \ 1045 7ebf7443Swdenk echo "... with LCD display" ; \ 1046 7ebf7443Swdenk } 1047 f9328639SMarian Balakowicz @$(MKCONFIG) -a $(call xtract_8xx,$@) ppc mpc8xx tqm8xx 1048 7ebf7443Swdenk 1049 7ebf7443SwdenkTTTech_config: unconfig 1050 f9328639SMarian Balakowicz @mkdir -p $(obj)include 1051 f9328639SMarian Balakowicz @echo "#define CONFIG_LCD" >$(obj)include/config.h 1052 f9328639SMarian Balakowicz @echo "#define CONFIG_SHARP_LQ104V7DS01" >>$(obj)include/config.h 1053 f9328639SMarian Balakowicz @$(MKCONFIG) -a TQM823L ppc mpc8xx tqm8xx 1054 7ebf7443Swdenk 1055 ec0aee7bSwdenkuc100_config : unconfig 1056 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8xx uc100 1057 f7d1572bSwdenk 1058 608c9146Swdenkv37_config: unconfig 1059 f9328639SMarian Balakowicz @mkdir -p $(obj)include 1060 f9328639SMarian Balakowicz @echo "#define CONFIG_LCD" >$(obj)include/config.h 1061 f9328639SMarian Balakowicz @echo "#define CONFIG_SHARP_LQ084V1DG21" >>$(obj)include/config.h 1062 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8xx v37 1063 608c9146Swdenk 1064 91e940d9Sdzuwtk_config: unconfig 1065 f9328639SMarian Balakowicz @mkdir -p $(obj)include 1066 f9328639SMarian Balakowicz @echo "#define CONFIG_LCD" >$(obj)include/config.h 1067 f9328639SMarian Balakowicz @echo "#define CONFIG_SHARP_LQ065T9DR51U" >>$(obj)include/config.h 1068 f9328639SMarian Balakowicz @$(MKCONFIG) -a TQM823L ppc mpc8xx tqm8xx 1069 91e940d9Sdzu 1070 7ebf7443Swdenk######################################################################### 1071 7ebf7443Swdenk## PPC4xx Systems 1072 7ebf7443Swdenk######################################################################### 1073 e55ca7e2Swdenkxtract_4xx = $(subst _25,,$(subst _33,,$(subst _BA,,$(subst _ME,,$(subst _HI,,$(subst _config,,$1)))))) 1074 7ebf7443Swdenk 1075 16c0cc1cSStefan Roeseacadia_config: unconfig 1076 16c0cc1cSStefan Roese @$(MKCONFIG) $(@:_config=) ppc ppc4xx acadia amcc 1077 16c0cc1cSStefan Roese 1078 c440bfe6SStefan Roeseacadia_nand_config: unconfig 1079 63e22764SWolfgang Denk @mkdir -p $(obj)include $(obj)board/amcc/acadia 1080 63e22764SWolfgang Denk @mkdir -p $(obj)nand_spl/board/amcc/acadia 1081 c440bfe6SStefan Roese @echo "#define CONFIG_NAND_U_BOOT" > $(obj)include/config.h 1082 c440bfe6SStefan Roese @$(MKCONFIG) -n $@ -a acadia ppc ppc4xx acadia amcc 1083 c440bfe6SStefan Roese @echo "TEXT_BASE = 0x01000000" > $(obj)board/amcc/acadia/config.tmp 1084 c440bfe6SStefan Roese @echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk 1085 c440bfe6SStefan Roese 1086 7ebf7443SwdenkADCIOP_config: unconfig 1087 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc ppc4xx adciop esd 1088 7ebf7443Swdenk 1089 899620c2SStefan Roesealpr_config: unconfig 1090 35d22f95SStefan Roese @$(MKCONFIG) $(@:_config=) ppc ppc4xx alpr prodrive 1091 899620c2SStefan Roese 1092 7521af1cSWolfgang DenkAP1000_config:unconfig 1093 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc ppc4xx ap1000 amirix 1094 7521af1cSWolfgang Denk 1095 c419d1d6SstroeseAPC405_config: unconfig 1096 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc ppc4xx apc405 esd 1097 c419d1d6Sstroese 1098 7ebf7443SwdenkAR405_config: unconfig 1099 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc ppc4xx ar405 esd 1100 7ebf7443Swdenk 1101 549826eaSstroeseASH405_config: unconfig 1102 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc ppc4xx ash405 esd 1103 549826eaSstroese 1104 8a316c9bSStefan Roesebamboo_config: unconfig 1105 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc ppc4xx bamboo amcc 1106 8a316c9bSStefan Roese 1107 cf959c7dSStefan Roesebamboo_nand_config: unconfig 1108 63e22764SWolfgang Denk @mkdir -p $(obj)include $(obj)board/amcc/bamboo 1109 63e22764SWolfgang Denk @mkdir -p $(obj)nand_spl/board/amcc/bamboo 1110 cf959c7dSStefan Roese @echo "#define CONFIG_NAND_U_BOOT" > $(obj)include/config.h 1111 f3679aa1SStefan Roese @$(MKCONFIG) -n $@ -a bamboo ppc ppc4xx bamboo amcc 1112 cf959c7dSStefan Roese @echo "TEXT_BASE = 0x01000000" > $(obj)board/amcc/bamboo/config.tmp 1113 cf959c7dSStefan Roese @echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk 1114 cf959c7dSStefan Roese 1115 8a316c9bSStefan Roesebubinga_config: unconfig 1116 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc ppc4xx bubinga amcc 1117 549826eaSstroese 1118 7ebf7443SwdenkCANBT_config: unconfig 1119 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc ppc4xx canbt esd 1120 7ebf7443Swdenk 1121 1d6f9720SwdenkCATcenter_config \ 1122 1d6f9720SwdenkCATcenter_25_config \ 1123 1d6f9720SwdenkCATcenter_33_config: unconfig 1124 f9328639SMarian Balakowicz @mkdir -p $(obj)include 1125 f9328639SMarian Balakowicz @ echo "/* CATcenter uses PPChameleon Model ME */" > $(obj)include/config.h 1126 f9328639SMarian Balakowicz @ echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 1" >> $(obj)include/config.h 1127 1d6f9720Swdenk @[ -z "$(findstring _25,$@)" ] || \ 1128 f9328639SMarian Balakowicz { echo "#define CONFIG_PPCHAMELEON_CLK_25" >> $(obj)include/config.h ; \ 1129 1d6f9720Swdenk echo "SysClk = 25MHz" ; \ 1130 1d6f9720Swdenk } 1131 1d6f9720Swdenk @[ -z "$(findstring _33,$@)" ] || \ 1132 f9328639SMarian Balakowicz { echo "#define CONFIG_PPCHAMELEON_CLK_33" >> $(obj)include/config.h ; \ 1133 1d6f9720Swdenk echo "SysClk = 33MHz" ; \ 1134 1d6f9720Swdenk } 1135 f9328639SMarian Balakowicz @$(MKCONFIG) -a $(call xtract_4xx,$@) ppc ppc4xx PPChameleonEVB dave 1136 10767ccbSwdenk 1137 7644f16fSStefan RoeseCPCI2DP_config: unconfig 1138 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc ppc4xx cpci2dp esd 1139 7644f16fSStefan Roese 1140 7ebf7443SwdenkCPCI405_config \ 1141 549826eaSstroeseCPCI4052_config \ 1142 c419d1d6SstroeseCPCI405DT_config \ 1143 549826eaSstroeseCPCI405AB_config: unconfig 1144 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc ppc4xx cpci405 esd 1145 f9328639SMarian Balakowicz @echo "BOARD_REVISION = $(@:_config=)" >> $(obj)include/config.mk 1146 7ebf7443Swdenk 1147 7ebf7443SwdenkCPCI440_config: unconfig 1148 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc ppc4xx cpci440 esd 1149 7ebf7443Swdenk 1150 7ebf7443SwdenkCPCIISER4_config: unconfig 1151 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc ppc4xx cpciiser4 esd 1152 7ebf7443Swdenk 1153 7ebf7443SwdenkCRAYL1_config: unconfig 1154 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc ppc4xx L1 cray 1155 7ebf7443Swdenk 1156 cd0a9de6Swdenkcsb272_config: unconfig 1157 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc ppc4xx csb272 1158 cd0a9de6Swdenk 1159 aa245090Swdenkcsb472_config: unconfig 1160 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc ppc4xx csb472 1161 aa245090Swdenk 1162 7ebf7443SwdenkDASA_SIM_config: unconfig 1163 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc ppc4xx dasa_sim esd 1164 7ebf7443Swdenk 1165 72cd5aa7SstroeseDP405_config: unconfig 1166 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc ppc4xx dp405 esd 1167 72cd5aa7Sstroese 1168 7ebf7443SwdenkDU405_config: unconfig 1169 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc ppc4xx du405 esd 1170 7ebf7443Swdenk 1171 8a316c9bSStefan Roeseebony_config: unconfig 1172 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc ppc4xx ebony amcc 1173 7ebf7443Swdenk 1174 7ebf7443SwdenkERIC_config: unconfig 1175 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc ppc4xx eric 1176 7ebf7443Swdenk 1177 d1cbe85bSwdenkEXBITGEN_config: unconfig 1178 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc ppc4xx exbitgen 1179 d1cbe85bSwdenk 1180 c419d1d6SstroeseG2000_config: unconfig 1181 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc ppc4xx g2000 1182 c419d1d6Sstroese 1183 ac982ea5SNiklaus Gigerhcu4_config: unconfig 1184 35d22f95SStefan Roese @$(MKCONFIG) $(@:_config=) ppc ppc4xx hcu4 netstal 1185 ac982ea5SNiklaus Giger 1186 ac982ea5SNiklaus Gigerhcu5_config: unconfig 1187 35d22f95SStefan Roese @$(MKCONFIG) $(@:_config=) ppc ppc4xx hcu5 netstal 1188 ac982ea5SNiklaus Giger 1189 c419d1d6SstroeseHH405_config: unconfig 1190 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc ppc4xx hh405 esd 1191 c419d1d6Sstroese 1192 72cd5aa7SstroeseHUB405_config: unconfig 1193 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc ppc4xx hub405 esd 1194 72cd5aa7Sstroese 1195 db01a2eaSwdenkJSE_config: unconfig 1196 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc ppc4xx jse 1197 db01a2eaSwdenk 1198 b79316f2SStefan RoeseKAREF_config: unconfig 1199 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc ppc4xx karef sandburst 1200 b79316f2SStefan Roese 1201 4745acaaSStefan Roesekatmai_config: unconfig 1202 4745acaaSStefan Roese @$(MKCONFIG) $(@:_config=) ppc ppc4xx katmai amcc 1203 4745acaaSStefan Roese 1204 6e7fb6eaSStefan Roeseluan_config: unconfig 1205 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc ppc4xx luan amcc 1206 6e7fb6eaSStefan Roese 1207 b765ffb7SStefan Roeselwmon5_config: unconfig 1208 b765ffb7SStefan Roese @$(MKCONFIG) $(@:_config=) ppc ppc4xx lwmon5 1209 b765ffb7SStefan Roese 1210 b79316f2SStefan RoeseMETROBOX_config: unconfig 1211 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc ppc4xx metrobox sandburst 1212 b79316f2SStefan Roese 1213 7ebf7443SwdenkMIP405_config: unconfig 1214 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc ppc4xx mip405 mpl 1215 7ebf7443Swdenk 1216 f3e0de60SwdenkMIP405T_config: unconfig 1217 f9328639SMarian Balakowicz @mkdir -p $(obj)include 1218 f9328639SMarian Balakowicz @echo "#define CONFIG_MIP405T" >$(obj)include/config.h 1219 f3e0de60Swdenk @echo "Enable subset config for MIP405T" 1220 f9328639SMarian Balakowicz @$(MKCONFIG) -a MIP405 ppc ppc4xx mip405 mpl 1221 f3e0de60Swdenk 1222 7ebf7443SwdenkML2_config: unconfig 1223 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc ppc4xx ml2 1224 7ebf7443Swdenk 1225 028ab6b5Swdenkml300_config: unconfig 1226 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc ppc4xx ml300 xilinx 1227 028ab6b5Swdenk 1228 8a316c9bSStefan Roeseocotea_config: unconfig 1229 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc ppc4xx ocotea amcc 1230 0e6d798cSwdenk 1231 7ebf7443SwdenkOCRTC_config \ 1232 7ebf7443SwdenkORSG_config: unconfig 1233 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc ppc4xx ocrtc esd 1234 7ebf7443Swdenk 1235 5568e613SStefan Roesep3p440_config: unconfig 1236 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc ppc4xx p3p440 prodrive 1237 5568e613SStefan Roese 1238 7ebf7443SwdenkPCI405_config: unconfig 1239 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc ppc4xx pci405 esd 1240 7ebf7443Swdenk 1241 a4c8d138SStefan Roesepcs440ep_config: unconfig 1242 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc ppc4xx pcs440ep 1243 a4c8d138SStefan Roese 1244 7ebf7443SwdenkPIP405_config: unconfig 1245 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc ppc4xx pip405 mpl 1246 7ebf7443Swdenk 1247 72cd5aa7SstroesePLU405_config: unconfig 1248 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc ppc4xx plu405 esd 1249 72cd5aa7Sstroese 1250 549826eaSstroesePMC405_config: unconfig 1251 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc ppc4xx pmc405 esd 1252 549826eaSstroese 1253 281e00a3SwdenkPPChameleonEVB_config \ 1254 e55ca7e2SwdenkPPChameleonEVB_BA_25_config \ 1255 e55ca7e2SwdenkPPChameleonEVB_ME_25_config \ 1256 e55ca7e2SwdenkPPChameleonEVB_HI_25_config \ 1257 e55ca7e2SwdenkPPChameleonEVB_BA_33_config \ 1258 e55ca7e2SwdenkPPChameleonEVB_ME_33_config \ 1259 e55ca7e2SwdenkPPChameleonEVB_HI_33_config: unconfig 1260 f9328639SMarian Balakowicz @mkdir -p $(obj)include 1261 f9328639SMarian Balakowicz @ >$(obj)include/config.h 1262 1d6f9720Swdenk @[ -z "$(findstring EVB_BA,$@)" ] || \ 1263 f9328639SMarian Balakowicz { echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 0" >>$(obj)include/config.h ; \ 1264 fbe4b5cbSwdenk echo "... BASIC model" ; \ 1265 fbe4b5cbSwdenk } 1266 1d6f9720Swdenk @[ -z "$(findstring EVB_ME,$@)" ] || \ 1267 f9328639SMarian Balakowicz { echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 1" >>$(obj)include/config.h ; \ 1268 fbe4b5cbSwdenk echo "... MEDIUM model" ; \ 1269 fbe4b5cbSwdenk } 1270 1d6f9720Swdenk @[ -z "$(findstring EVB_HI,$@)" ] || \ 1271 f9328639SMarian Balakowicz { echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 2" >>$(obj)include/config.h ; \ 1272 fbe4b5cbSwdenk echo "... HIGH-END model" ; \ 1273 fbe4b5cbSwdenk } 1274 e55ca7e2Swdenk @[ -z "$(findstring _25,$@)" ] || \ 1275 f9328639SMarian Balakowicz { echo "#define CONFIG_PPCHAMELEON_CLK_25" >>$(obj)include/config.h ; \ 1276 e55ca7e2Swdenk echo "SysClk = 25MHz" ; \ 1277 e55ca7e2Swdenk } 1278 e55ca7e2Swdenk @[ -z "$(findstring _33,$@)" ] || \ 1279 f9328639SMarian Balakowicz { echo "#define CONFIG_PPCHAMELEON_CLK_33" >>$(obj)include/config.h ; \ 1280 e55ca7e2Swdenk echo "SysClk = 33MHz" ; \ 1281 e55ca7e2Swdenk } 1282 f9328639SMarian Balakowicz @$(MKCONFIG) -a $(call xtract_4xx,$@) ppc ppc4xx PPChameleonEVB dave 1283 12f34241Swdenk 1284 430f1b0fSStefan Roesesbc405_config: unconfig 1285 430f1b0fSStefan Roese @$(MKCONFIG) $(@:_config=) ppc ppc4xx sbc405 1286 430f1b0fSStefan Roese 1287 430f1b0fSStefan Roesesequoia_config \ 1288 854bc8daSStefan Roeserainier_config: unconfig 1289 8318fbf8SMarian Balakowicz @mkdir -p $(obj)include 1290 430f1b0fSStefan Roese @echo "#define CONFIG_$$(echo $(subst ,,$(@:_config=)) | \ 1291 430f1b0fSStefan Roese tr '[:lower:]' '[:upper:]')" >$(obj)include/config.h 1292 2aa54f65SStefan Roese @$(MKCONFIG) -n $@ -a sequoia ppc ppc4xx sequoia amcc 1293 854bc8daSStefan Roese 1294 430f1b0fSStefan Roesesequoia_nand_config \ 1295 854bc8daSStefan Roeserainier_nand_config: unconfig 1296 63e22764SWolfgang Denk @mkdir -p $(obj)include $(obj)board/amcc/sequoia 1297 63e22764SWolfgang Denk @mkdir -p $(obj)nand_spl/board/amcc/sequoia 1298 8318fbf8SMarian Balakowicz @echo "#define CONFIG_NAND_U_BOOT" > $(obj)include/config.h 1299 430f1b0fSStefan Roese @echo "#define CONFIG_$$(echo $(subst ,,$(@:_config=)) | \ 1300 430f1b0fSStefan Roese tr '[:lower:]' '[:upper:]')" >> $(obj)include/config.h 1301 430f1b0fSStefan Roese @$(MKCONFIG) -n $@ -a sequoia ppc ppc4xx sequoia amcc 1302 8318fbf8SMarian Balakowicz @echo "TEXT_BASE = 0x01000000" > $(obj)board/amcc/sequoia/config.tmp 1303 8318fbf8SMarian Balakowicz @echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk 1304 652a10c0Swdenk 1305 6d3e0107SWolfgang Denksc3_config:unconfig 1306 35d22f95SStefan Roese @$(MKCONFIG) $(@:_config=) ppc ppc4xx sc3 1307 ca43ba18SHeiko Schocher 1308 d4024bb7SJohn Otkentaihu_config: unconfig 1309 d4024bb7SJohn Otken @$(MKCONFIG) $(@:_config=) ppc ppc4xx taihu amcc 1310 d4024bb7SJohn Otken 1311 5fb692caSStefan Roesetaishan_config: unconfig 1312 5fb692caSStefan Roese @$(MKCONFIG) $(@:_config=) ppc ppc4xx taishan amcc 1313 5fb692caSStefan Roese 1314 72cd5aa7SstroeseVOH405_config: unconfig 1315 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc ppc4xx voh405 esd 1316 72cd5aa7Sstroese 1317 c419d1d6SstroeseVOM405_config: unconfig 1318 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc ppc4xx vom405 esd 1319 c419d1d6Sstroese 1320 feaedfcfSStefan RoeseCMS700_config: unconfig 1321 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc ppc4xx cms700 esd 1322 feaedfcfSStefan Roese 1323 7ebf7443SwdenkW7OLMC_config \ 1324 7ebf7443SwdenkW7OLMG_config: unconfig 1325 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc ppc4xx w7o 1326 7ebf7443Swdenk 1327 430f1b0fSStefan Roese# Walnut & Sycamore images are identical (recognized via PVR) 1328 430f1b0fSStefan Roesewalnut_config \ 1329 430f1b0fSStefan Roesesycamore_config: unconfig 1330 430f1b0fSStefan Roese @$(MKCONFIG) -n $@ -a walnut ppc ppc4xx walnut amcc 1331 7ebf7443Swdenk 1332 c419d1d6SstroeseWUH405_config: unconfig 1333 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc ppc4xx wuh405 esd 1334 c419d1d6Sstroese 1335 ba56f625SwdenkXPEDITE1K_config: unconfig 1336 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc ppc4xx xpedite1k 1337 ba56f625Swdenk 1338 430f1b0fSStefan Roeseyosemite_config \ 1339 8a316c9bSStefan Roeseyellowstone_config: unconfig 1340 700200c6SStefan Roese @mkdir -p $(obj)include 1341 430f1b0fSStefan Roese @echo "#define CONFIG_$$(echo $(subst ,,$(@:_config=)) | \ 1342 430f1b0fSStefan Roese tr '[:lower:]' '[:upper:]')" >$(obj)include/config.h 1343 2aa54f65SStefan Roese @$(MKCONFIG) -n $@ -a yosemite ppc ppc4xx yosemite amcc 1344 8a316c9bSStefan Roese 1345 6c5879f3SMarian Balakowiczyucca_config: unconfig 1346 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc ppc4xx yucca amcc 1347 6c5879f3SMarian Balakowicz 1348 779e9751SStefan Roesezeus_config: unconfig 1349 779e9751SStefan Roese @$(MKCONFIG) $(@:_config=) ppc ppc4xx zeus 1350 779e9751SStefan Roese 1351 7ebf7443Swdenk######################################################################### 1352 983fda83Swdenk## MPC8220 Systems 1353 983fda83Swdenk######################################################################### 1354 dc17fb6dSWolfgang Denk 1355 dc17fb6dSWolfgang DenkAlaska8220_config \ 1356 dc17fb6dSWolfgang DenkYukon8220_config: unconfig 1357 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8220 alaska 1358 983fda83Swdenk 1359 12b43d51Swdenksorcery_config: unconfig 1360 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8220 sorcery 1361 12b43d51Swdenk 1362 983fda83Swdenk######################################################################### 1363 7ebf7443Swdenk## MPC824x Systems 1364 7ebf7443Swdenk######################################################################### 1365 efa329cbSwdenkxtract_82xx = $(subst _BIGFLASH,,$(subst _ROMBOOT,,$(subst _L2,,$(subst _266MHz,,$(subst _300MHz,,$(subst _config,,$1)))))) 1366 3bac3513Swdenk 1367 0332990bSwdenkA3000_config: unconfig 1368 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc824x a3000 1369 0332990bSwdenk 1370 8e6f1a8eSWolfgang Denkbarco_config: unconfig 1371 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc824x barco 1372 8e6f1a8eSWolfgang Denk 1373 7ebf7443SwdenkBMW_config: unconfig 1374 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc824x bmw 1375 7ebf7443Swdenk 1376 3bac3513SwdenkCPC45_config \ 1377 3bac3513SwdenkCPC45_ROMBOOT_config: unconfig 1378 f9328639SMarian Balakowicz @$(MKCONFIG) $(call xtract_82xx,$@) ppc mpc824x cpc45 1379 f9328639SMarian Balakowicz @cd $(obj)include ; \ 1380 3bac3513Swdenk if [ "$(findstring _ROMBOOT_,$@)" ] ; then \ 1381 3bac3513Swdenk echo "CONFIG_BOOT_ROM = y" >> config.mk ; \ 1382 3bac3513Swdenk echo "... booting from 8-bit flash" ; \ 1383 3bac3513Swdenk else \ 1384 3bac3513Swdenk echo "CONFIG_BOOT_ROM = n" >> config.mk ; \ 1385 3bac3513Swdenk echo "... booting from 64-bit flash" ; \ 1386 3bac3513Swdenk fi; \ 1387 3bac3513Swdenk echo "export CONFIG_BOOT_ROM" >> config.mk; 1388 3bac3513Swdenk 1389 7ebf7443SwdenkCU824_config: unconfig 1390 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc824x cu824 1391 7ebf7443Swdenk 1392 7abf0c58Swdenkdebris_config: unconfig 1393 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc824x debris etin 1394 7abf0c58Swdenk 1395 80885a9dSwdenkeXalion_config: unconfig 1396 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc824x eXalion 1397 80885a9dSwdenk 1398 756f586aSwdenkHIDDEN_DRAGON_config: unconfig 1399 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc824x hidden_dragon 1400 756f586aSwdenk 1401 53dd6ce4SWolfgang Denkkvme080_config: unconfig 1402 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc824x kvme080 etin 1403 53dd6ce4SWolfgang Denk 1404 7ebf7443SwdenkMOUSSE_config: unconfig 1405 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc824x mousse 1406 7ebf7443Swdenk 1407 7ebf7443SwdenkMUSENKI_config: unconfig 1408 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc824x musenki 1409 7ebf7443Swdenk 1410 b4676a25SwdenkMVBLUE_config: unconfig 1411 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc824x mvblue 1412 b4676a25Swdenk 1413 7ebf7443SwdenkOXC_config: unconfig 1414 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc824x oxc 1415 7ebf7443Swdenk 1416 7ebf7443SwdenkPN62_config: unconfig 1417 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc824x pn62 1418 7ebf7443Swdenk 1419 7ebf7443SwdenkSandpoint8240_config: unconfig 1420 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc824x sandpoint 1421 7ebf7443Swdenk 1422 7ebf7443SwdenkSandpoint8245_config: unconfig 1423 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc824x sandpoint 1424 7ebf7443Swdenk 1425 466b7410Swdenksbc8240_config: unconfig 1426 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc824x sbc8240 1427 466b7410Swdenk 1428 d1cbe85bSwdenkSL8245_config: unconfig 1429 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc824x sl8245 1430 d1cbe85bSwdenk 1431 7ebf7443Swdenkutx8245_config: unconfig 1432 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc824x utx8245 1433 7ebf7443Swdenk 1434 7ebf7443Swdenk######################################################################### 1435 7ebf7443Swdenk## MPC8260 Systems 1436 7ebf7443Swdenk######################################################################### 1437 7ebf7443Swdenk 1438 54387ac9Swdenkatc_config: unconfig 1439 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8260 atc 1440 54387ac9Swdenk 1441 7ebf7443Swdenkcogent_mpc8260_config: unconfig 1442 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8260 cogent 1443 7ebf7443Swdenk 1444 7ebf7443SwdenkCPU86_config \ 1445 7ebf7443SwdenkCPU86_ROMBOOT_config: unconfig 1446 f9328639SMarian Balakowicz @$(MKCONFIG) $(call xtract_82xx,$@) ppc mpc8260 cpu86 1447 f9328639SMarian Balakowicz @cd $(obj)include ; \ 1448 7ebf7443Swdenk if [ "$(findstring _ROMBOOT_,$@)" ] ; then \ 1449 7ebf7443Swdenk echo "CONFIG_BOOT_ROM = y" >> config.mk ; \ 1450 7ebf7443Swdenk echo "... booting from 8-bit flash" ; \ 1451 7ebf7443Swdenk else \ 1452 7ebf7443Swdenk echo "CONFIG_BOOT_ROM = n" >> config.mk ; \ 1453 7ebf7443Swdenk echo "... booting from 64-bit flash" ; \ 1454 7ebf7443Swdenk fi; \ 1455 7ebf7443Swdenk echo "export CONFIG_BOOT_ROM" >> config.mk; 1456 7ebf7443Swdenk 1457 384cc687SwdenkCPU87_config \ 1458 384cc687SwdenkCPU87_ROMBOOT_config: unconfig 1459 f9328639SMarian Balakowicz @$(MKCONFIG) $(call xtract_82xx,$@) ppc mpc8260 cpu87 1460 f9328639SMarian Balakowicz @cd $(obj)include ; \ 1461 384cc687Swdenk if [ "$(findstring _ROMBOOT_,$@)" ] ; then \ 1462 384cc687Swdenk echo "CONFIG_BOOT_ROM = y" >> config.mk ; \ 1463 384cc687Swdenk echo "... booting from 8-bit flash" ; \ 1464 384cc687Swdenk else \ 1465 384cc687Swdenk echo "CONFIG_BOOT_ROM = n" >> config.mk ; \ 1466 384cc687Swdenk echo "... booting from 64-bit flash" ; \ 1467 384cc687Swdenk fi; \ 1468 384cc687Swdenk echo "export CONFIG_BOOT_ROM" >> config.mk; 1469 384cc687Swdenk 1470 f901a83bSWolfgang Denkep8248_config \ 1471 f901a83bSWolfgang Denkep8248E_config : unconfig 1472 f9328639SMarian Balakowicz @$(MKCONFIG) ep8248 ppc mpc8260 ep8248 1473 f901a83bSWolfgang Denk 1474 7ebf7443Swdenkep8260_config: unconfig 1475 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8260 ep8260 1476 7ebf7443Swdenk 1477 8d4ac794SWolfgang Denkep82xxm_config: unconfig 1478 90b1b2d6SGrant Likely @$(MKCONFIG) $(@:_config=) ppc mpc8260 ep82xxm 1479 8d4ac794SWolfgang Denk 1480 7ebf7443Swdenkgw8260_config: unconfig 1481 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8260 gw8260 1482 7ebf7443Swdenk 1483 7ebf7443Swdenkhymod_config: unconfig 1484 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8260 hymod 1485 7ebf7443Swdenk 1486 9dd41a7bSwdenkIDS8247_config: unconfig 1487 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8260 ids8247 1488 9dd41a7bSwdenk 1489 7ebf7443SwdenkIPHASE4539_config: unconfig 1490 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8260 iphase4539 1491 7ebf7443Swdenk 1492 c3c7f861SwdenkISPAN_config \ 1493 c3c7f861SwdenkISPAN_REVB_config: unconfig 1494 f9328639SMarian Balakowicz @mkdir -p $(obj)include 1495 c3c7f861Swdenk @if [ "$(findstring _REVB_,$@)" ] ; then \ 1496 f9328639SMarian Balakowicz echo "#define CFG_REV_B" > $(obj)include/config.h ; \ 1497 c3c7f861Swdenk fi 1498 f9328639SMarian Balakowicz @$(MKCONFIG) -a ISPAN ppc mpc8260 ispan 1499 c3c7f861Swdenk 1500 04a85b3bSwdenkMPC8260ADS_config \ 1501 901787d6SwdenkMPC8260ADS_lowboot_config \ 1502 04a85b3bSwdenkMPC8260ADS_33MHz_config \ 1503 901787d6SwdenkMPC8260ADS_33MHz_lowboot_config \ 1504 04a85b3bSwdenkMPC8260ADS_40MHz_config \ 1505 901787d6SwdenkMPC8260ADS_40MHz_lowboot_config \ 1506 04a85b3bSwdenkMPC8272ADS_config \ 1507 901787d6SwdenkMPC8272ADS_lowboot_config \ 1508 04a85b3bSwdenkPQ2FADS_config \ 1509 901787d6SwdenkPQ2FADS_lowboot_config \ 1510 04a85b3bSwdenkPQ2FADS-VR_config \ 1511 901787d6SwdenkPQ2FADS-VR_lowboot_config \ 1512 04a85b3bSwdenkPQ2FADS-ZU_config \ 1513 901787d6SwdenkPQ2FADS-ZU_lowboot_config \ 1514 04a85b3bSwdenkPQ2FADS-ZU_66MHz_config \ 1515 901787d6SwdenkPQ2FADS-ZU_66MHz_lowboot_config \ 1516 04a85b3bSwdenk : unconfig 1517 f9328639SMarian Balakowicz @mkdir -p $(obj)include 1518 f9328639SMarian Balakowicz @mkdir -p $(obj)board/mpc8260ads 1519 04a85b3bSwdenk $(if $(findstring PQ2FADS,$@), \ 1520 f9328639SMarian Balakowicz @echo "#define CONFIG_ADSTYPE CFG_PQ2FADS" > $(obj)include/config.h, \ 1521 f9328639SMarian Balakowicz @echo "#define CONFIG_ADSTYPE CFG_"$(subst MPC,,$(word 1,$(subst _, ,$@))) > $(obj)include/config.h) 1522 04a85b3bSwdenk $(if $(findstring MHz,$@), \ 1523 f9328639SMarian Balakowicz @echo "#define CONFIG_8260_CLKIN" $(subst MHz,,$(word 2,$(subst _, ,$@)))"000000" >> $(obj)include/config.h, \ 1524 04a85b3bSwdenk $(if $(findstring VR,$@), \ 1525 f9328639SMarian Balakowicz @echo "#define CONFIG_8260_CLKIN 66000000" >> $(obj)include/config.h)) 1526 901787d6Swdenk @[ -z "$(findstring lowboot_,$@)" ] || \ 1527 f9328639SMarian Balakowicz { echo "TEXT_BASE = 0xFF800000" >$(obj)board/mpc8260ads/config.tmp ; \ 1528 901787d6Swdenk echo "... with lowboot configuration" ; \ 1529 901787d6Swdenk } 1530 f9328639SMarian Balakowicz @$(MKCONFIG) -a MPC8260ADS ppc mpc8260 mpc8260ads 1531 7ebf7443Swdenk 1532 db2f721fSwdenkMPC8266ADS_config: unconfig 1533 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8260 mpc8266ads 1534 db2f721fSwdenk 1535 efa329cbSwdenk# PM825/PM826 default configuration: small (= 8 MB) Flash / boot from 64-bit flash 1536 10f67017SwdenkPM825_config \ 1537 efa329cbSwdenkPM825_ROMBOOT_config \ 1538 efa329cbSwdenkPM825_BIGFLASH_config \ 1539 efa329cbSwdenkPM825_ROMBOOT_BIGFLASH_config \ 1540 7ebf7443SwdenkPM826_config \ 1541 efa329cbSwdenkPM826_ROMBOOT_config \ 1542 efa329cbSwdenkPM826_BIGFLASH_config \ 1543 efa329cbSwdenkPM826_ROMBOOT_BIGFLASH_config: unconfig 1544 f9328639SMarian Balakowicz @mkdir -p $(obj)include 1545 f9328639SMarian Balakowicz @mkdir -p $(obj)board/pm826 1546 efa329cbSwdenk @if [ "$(findstring PM825_,$@)" ] ; then \ 1547 f9328639SMarian Balakowicz echo "#define CONFIG_PCI" >$(obj)include/config.h ; \ 1548 7ebf7443Swdenk else \ 1549 f9328639SMarian Balakowicz >$(obj)include/config.h ; \ 1550 efa329cbSwdenk fi 1551 efa329cbSwdenk @if [ "$(findstring _ROMBOOT_,$@)" ] ; then \ 1552 efa329cbSwdenk echo "... booting from 8-bit flash" ; \ 1553 f9328639SMarian Balakowicz echo "#define CONFIG_BOOT_ROM" >>$(obj)include/config.h ; \ 1554 f9328639SMarian Balakowicz echo "TEXT_BASE = 0xFF800000" >$(obj)board/pm826/config.tmp ; \ 1555 efa329cbSwdenk if [ "$(findstring _BIGFLASH_,$@)" ] ; then \ 1556 efa329cbSwdenk echo "... with 32 MB Flash" ; \ 1557 f9328639SMarian Balakowicz echo "#define CONFIG_FLASH_32MB" >>$(obj)include/config.h ; \ 1558 7ebf7443Swdenk fi; \ 1559 efa329cbSwdenk else \ 1560 efa329cbSwdenk echo "... booting from 64-bit flash" ; \ 1561 efa329cbSwdenk if [ "$(findstring _BIGFLASH_,$@)" ] ; then \ 1562 efa329cbSwdenk echo "... with 32 MB Flash" ; \ 1563 f9328639SMarian Balakowicz echo "#define CONFIG_FLASH_32MB" >>$(obj)include/config.h ; \ 1564 f9328639SMarian Balakowicz echo "TEXT_BASE = 0x40000000" >$(obj)board/pm826/config.tmp ; \ 1565 efa329cbSwdenk else \ 1566 f9328639SMarian Balakowicz echo "TEXT_BASE = 0xFF000000" >$(obj)board/pm826/config.tmp ; \ 1567 efa329cbSwdenk fi; \ 1568 efa329cbSwdenk fi 1569 f9328639SMarian Balakowicz @$(MKCONFIG) -a PM826 ppc mpc8260 pm826 1570 efa329cbSwdenk 1571 efa329cbSwdenkPM828_config \ 1572 efa329cbSwdenkPM828_PCI_config \ 1573 efa329cbSwdenkPM828_ROMBOOT_config \ 1574 efa329cbSwdenkPM828_ROMBOOT_PCI_config: unconfig 1575 f9328639SMarian Balakowicz @mkdir -p $(obj)include 1576 f9328639SMarian Balakowicz @mkdir -p $(obj)board/pm826 1577 17076266SMarian Balakowicz @if [ "$(findstring _PCI_,$@)" ] ; then \ 1578 f9328639SMarian Balakowicz echo "#define CONFIG_PCI" >>$(obj)include/config.h ; \ 1579 efa329cbSwdenk echo "... with PCI enabled" ; \ 1580 efa329cbSwdenk else \ 1581 f9328639SMarian Balakowicz >$(obj)include/config.h ; \ 1582 efa329cbSwdenk fi 1583 efa329cbSwdenk @if [ "$(findstring _ROMBOOT_,$@)" ] ; then \ 1584 efa329cbSwdenk echo "... booting from 8-bit flash" ; \ 1585 f9328639SMarian Balakowicz echo "#define CONFIG_BOOT_ROM" >>$(obj)include/config.h ; \ 1586 f9328639SMarian Balakowicz echo "TEXT_BASE = 0xFF800000" >$(obj)board/pm826/config.tmp ; \ 1587 efa329cbSwdenk fi 1588 f9328639SMarian Balakowicz @$(MKCONFIG) -a PM828 ppc mpc8260 pm828 1589 7ebf7443Swdenk 1590 7ebf7443Swdenkppmc8260_config: unconfig 1591 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8260 ppmc8260 1592 7ebf7443Swdenk 1593 8b0bfc68SwdenkRattler8248_config \ 1594 8b0bfc68SwdenkRattler_config: unconfig 1595 f9328639SMarian Balakowicz @mkdir -p $(obj)include 1596 8b0bfc68Swdenk $(if $(findstring 8248,$@), \ 1597 f9328639SMarian Balakowicz @echo "#define CONFIG_MPC8248" > $(obj)include/config.h) 1598 f9328639SMarian Balakowicz @$(MKCONFIG) -a Rattler ppc mpc8260 rattler 1599 8b0bfc68Swdenk 1600 7ebf7443SwdenkRPXsuper_config: unconfig 1601 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8260 rpxsuper 1602 7ebf7443Swdenk 1603 7ebf7443Swdenkrsdproto_config: unconfig 1604 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8260 rsdproto 1605 7ebf7443Swdenk 1606 7ebf7443Swdenksacsng_config: unconfig 1607 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8260 sacsng 1608 7ebf7443Swdenk 1609 7ebf7443Swdenksbc8260_config: unconfig 1610 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8260 sbc8260 1611 7ebf7443Swdenk 1612 7ebf7443SwdenkSCM_config: unconfig 1613 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8260 SCM siemens 1614 7ebf7443Swdenk 1615 27b207fdSwdenkTQM8255_AA_config \ 1616 27b207fdSwdenkTQM8260_AA_config \ 1617 27b207fdSwdenkTQM8260_AB_config \ 1618 27b207fdSwdenkTQM8260_AC_config \ 1619 27b207fdSwdenkTQM8260_AD_config \ 1620 27b207fdSwdenkTQM8260_AE_config \ 1621 27b207fdSwdenkTQM8260_AF_config \ 1622 27b207fdSwdenkTQM8260_AG_config \ 1623 27b207fdSwdenkTQM8260_AH_config \ 1624 1f62bc2dSWolfgang DenkTQM8260_AI_config \ 1625 27b207fdSwdenkTQM8265_AA_config: unconfig 1626 f9328639SMarian Balakowicz @mkdir -p $(obj)include 1627 27b207fdSwdenk @case "$@" in \ 1628 27b207fdSwdenk TQM8255_AA_config) CTYPE=MPC8255; CFREQ=300; CACHE=no; BMODE=8260;; \ 1629 27b207fdSwdenk TQM8260_AA_config) CTYPE=MPC8260; CFREQ=200; CACHE=no; BMODE=8260;; \ 1630 27b207fdSwdenk TQM8260_AB_config) CTYPE=MPC8260; CFREQ=200; CACHE=yes; BMODE=60x;; \ 1631 27b207fdSwdenk TQM8260_AC_config) CTYPE=MPC8260; CFREQ=200; CACHE=yes; BMODE=60x;; \ 1632 27b207fdSwdenk TQM8260_AD_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=60x;; \ 1633 27b207fdSwdenk TQM8260_AE_config) CTYPE=MPC8260; CFREQ=266; CACHE=no; BMODE=8260;; \ 1634 27b207fdSwdenk TQM8260_AF_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=60x;; \ 1635 27b207fdSwdenk TQM8260_AG_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=8260;; \ 1636 27b207fdSwdenk TQM8260_AH_config) CTYPE=MPC8260; CFREQ=300; CACHE=yes; BMODE=60x;; \ 1637 1f62bc2dSWolfgang Denk TQM8260_AI_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=60x;; \ 1638 27b207fdSwdenk TQM8265_AA_config) CTYPE=MPC8265; CFREQ=300; CACHE=no; BMODE=60x;; \ 1639 27b207fdSwdenk esac; \ 1640 f9328639SMarian Balakowicz >$(obj)include/config.h ; \ 1641 27b207fdSwdenk if [ "$${CTYPE}" != "MPC8260" ] ; then \ 1642 f9328639SMarian Balakowicz echo "#define CONFIG_$${CTYPE}" >>$(obj)include/config.h ; \ 1643 27b207fdSwdenk fi; \ 1644 f9328639SMarian Balakowicz echo "#define CONFIG_$${CFREQ}MHz" >>$(obj)include/config.h ; \ 1645 27b207fdSwdenk echo "... with $${CFREQ}MHz system clock" ; \ 1646 27b207fdSwdenk if [ "$${CACHE}" == "yes" ] ; then \ 1647 f9328639SMarian Balakowicz echo "#define CONFIG_L2_CACHE" >>$(obj)include/config.h ; \ 1648 27b207fdSwdenk echo "... with L2 Cache support" ; \ 1649 7ebf7443Swdenk else \ 1650 f9328639SMarian Balakowicz echo "#undef CONFIG_L2_CACHE" >>$(obj)include/config.h ; \ 1651 7ebf7443Swdenk echo "... without L2 Cache support" ; \ 1652 27b207fdSwdenk fi; \ 1653 27b207fdSwdenk if [ "$${BMODE}" == "60x" ] ; then \ 1654 f9328639SMarian Balakowicz echo "#define CONFIG_BUSMODE_60x" >>$(obj)include/config.h ; \ 1655 27b207fdSwdenk echo "... with 60x Bus Mode" ; \ 1656 27b207fdSwdenk else \ 1657 f9328639SMarian Balakowicz echo "#undef CONFIG_BUSMODE_60x" >>$(obj)include/config.h ; \ 1658 27b207fdSwdenk echo "... without 60x Bus Mode" ; \ 1659 7ebf7443Swdenk fi 1660 f9328639SMarian Balakowicz @$(MKCONFIG) -a TQM8260 ppc mpc8260 tqm8260 1661 7ebf7443Swdenk 1662 fa230445SHeiko SchocherTQM8272_config: unconfig 1663 fa230445SHeiko Schocher @$(MKCONFIG) -a TQM8272 ppc mpc8260 tqm8272 1664 fa230445SHeiko Schocher 1665 ba91e26aSwdenkVoVPN-GW_66MHz_config \ 1666 ba91e26aSwdenkVoVPN-GW_100MHz_config: unconfig 1667 f9328639SMarian Balakowicz @mkdir -p $(obj)include 1668 f9328639SMarian Balakowicz @echo "#define CONFIG_CLKIN_$(word 2,$(subst _, ,$@))" > $(obj)include/config.h 1669 f9328639SMarian Balakowicz @$(MKCONFIG) -a VoVPN-GW ppc mpc8260 vovpn-gw funkwerk 1670 ba91e26aSwdenk 1671 54387ac9SwdenkZPC1900_config: unconfig 1672 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8260 zpc1900 1673 7aa78614Swdenk 1674 4e5ca3ebSwdenk######################################################################### 1675 4e5ca3ebSwdenk## Coldfire 1676 4e5ca3ebSwdenk######################################################################### 1677 4e5ca3ebSwdenk 1678 4a442d31STsiChungLiewM5235EVB_config \ 1679 4a442d31STsiChungLiewM5235EVB_Flash16_config \ 1680 4a442d31STsiChungLiewM5235EVB_Flash32_config: unconfig 1681 4a442d31STsiChungLiew @case "$@" in \ 1682 4a442d31STsiChungLiew M5235EVB_config) FLASH=16;; \ 1683 4a442d31STsiChungLiew M5235EVB_Flash16_config) FLASH=16;; \ 1684 4a442d31STsiChungLiew M5235EVB_Flash32_config) FLASH=32;; \ 1685 4a442d31STsiChungLiew esac; \ 1686 4a442d31STsiChungLiew >include/config.h ; \ 1687 4a442d31STsiChungLiew if [ "$${FLASH}" != "16" ] ; then \ 1688 4a442d31STsiChungLiew echo "#define NORFLASH_PS32BIT 1" >> include/config.h ; \ 1689 4a442d31STsiChungLiew echo "TEXT_BASE = 0xFFC00000" > $(obj)board/freescale/m5235evb/config.tmp ; \ 1690 4a442d31STsiChungLiew cp $(obj)board/freescale/m5235evb/u-boot.32 $(obj)board/freescale/m5235evb/u-boot.lds ; \ 1691 4a442d31STsiChungLiew else \ 1692 4a442d31STsiChungLiew echo "TEXT_BASE = 0xFFE00000" > $(obj)board/freescale/m5235evb/config.tmp ; \ 1693 4a442d31STsiChungLiew cp $(obj)board/freescale/m5235evb/u-boot.16 $(obj)board/freescale/m5235evb/u-boot.lds ; \ 1694 4a442d31STsiChungLiew fi 1695 4a442d31STsiChungLiew @$(MKCONFIG) -a M5235EVB m68k mcf523x m5235evb freescale 1696 4a442d31STsiChungLiew 1697 a605aacdSTsiChungLiewM5249EVB_config : unconfig 1698 a605aacdSTsiChungLiew @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5249evb freescale 1699 a605aacdSTsiChungLiew 1700 a1436a84STsiChungLiewM5253EVBE_config : unconfig 1701 a1436a84STsiChungLiew @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5253evbe freescale 1702 a1436a84STsiChungLiew 1703 7481266eSWolfgang Denkcobra5272_config : unconfig 1704 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) m68k mcf52x2 cobra5272 1705 7481266eSWolfgang Denk 1706 4176c799SWolfgang DenkEB+MCF-EV123_config : unconfig 1707 f9328639SMarian Balakowicz @mkdir -p $(obj)include 1708 f9328639SMarian Balakowicz @mkdir -p $(obj)board/BuS/EB+MCF-EV123 1709 f9328639SMarian Balakowicz @ >$(obj)include/config.h 1710 f9328639SMarian Balakowicz @echo "TEXT_BASE = 0xFFE00000"|tee $(obj)board/BuS/EB+MCF-EV123/textbase.mk 1711 f9328639SMarian Balakowicz @$(MKCONFIG) EB+MCF-EV123 m68k mcf52x2 EB+MCF-EV123 BuS 1712 4176c799SWolfgang Denk 1713 4176c799SWolfgang DenkEB+MCF-EV123_internal_config : unconfig 1714 f9328639SMarian Balakowicz @mkdir -p $(obj)include 1715 f9328639SMarian Balakowicz @mkdir -p $(obj)board/BuS/EB+MCF-EV123 1716 f9328639SMarian Balakowicz @ >$(obj)include/config.h 1717 f9328639SMarian Balakowicz @echo "TEXT_BASE = 0xF0000000"|tee $(obj)board/BuS/EB+MCF-EV123/textbase.mk 1718 f9328639SMarian Balakowicz @$(MKCONFIG) EB+MCF-EV123 m68k mcf52x2 EB+MCF-EV123 BuS 1719 4176c799SWolfgang Denk 1720 daa6e418SBartlomiej Siekaidmr_config : unconfig 1721 daa6e418SBartlomiej Sieka @$(MKCONFIG) $(@:_config=) m68k mcf52x2 idmr 1722 daa6e418SBartlomiej Sieka 1723 4176c799SWolfgang DenkM5271EVB_config : unconfig 1724 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5271evb 1725 4176c799SWolfgang Denk 1726 4e5ca3ebSwdenkM5272C3_config : unconfig 1727 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5272c3 1728 4e5ca3ebSwdenk 1729 4e5ca3ebSwdenkM5282EVB_config : unconfig 1730 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5282evb 1731 4e5ca3ebSwdenk 1732 c419d1d6SstroeseTASREG_config : unconfig 1733 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) m68k mcf52x2 tasreg esd 1734 c419d1d6Sstroese 1735 3a108ed8SZachary P. Landaur5200_config : unconfig 1736 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) m68k mcf52x2 r5200 1737 3a108ed8SZachary P. Landau 1738 8e585f02STsiChung LiewM5329AFEE_config \ 1739 8e585f02STsiChung LiewM5329BFEE_config : unconfig 1740 8e585f02STsiChung Liew @case "$@" in \ 1741 8e585f02STsiChung Liew M5329AFEE_config) NAND=0;; \ 1742 8e585f02STsiChung Liew M5329BFEE_config) NAND=16;; \ 1743 8e585f02STsiChung Liew esac; \ 1744 8e585f02STsiChung Liew >include/config.h ; \ 1745 8e585f02STsiChung Liew if [ "$${NAND}" != "0" ] ; then \ 1746 ab77bc54STsiChungLiew echo "#define NANDFLASH_SIZE $${NAND}" > $(obj)include/config.h ; \ 1747 8e585f02STsiChung Liew fi 1748 8e585f02STsiChung Liew @$(MKCONFIG) -a M5329EVB m68k mcf532x m5329evb freescale 1749 8e585f02STsiChung Liew 1750 8ae158cdSTsiChungLiewM54455EVB_config \ 1751 8ae158cdSTsiChungLiewM54455EVB_atmel_config \ 1752 8ae158cdSTsiChungLiewM54455EVB_intel_config \ 1753 8ae158cdSTsiChungLiewM54455EVB_a33_config \ 1754 8ae158cdSTsiChungLiewM54455EVB_a66_config \ 1755 8ae158cdSTsiChungLiewM54455EVB_i33_config \ 1756 8ae158cdSTsiChungLiewM54455EVB_i66_config : unconfig 1757 8ae158cdSTsiChungLiew @case "$@" in \ 1758 8ae158cdSTsiChungLiew M54455EVB_config) FLASH=ATMEL; FREQ=33333333;; \ 1759 8ae158cdSTsiChungLiew M54455EVB_atmel_config) FLASH=ATMEL; FREQ=33333333;; \ 1760 8ae158cdSTsiChungLiew M54455EVB_intel_config) FLASH=INTEL; FREQ=33333333;; \ 1761 8ae158cdSTsiChungLiew M54455EVB_a33_config) FLASH=ATMEL; FREQ=33333333;; \ 1762 8ae158cdSTsiChungLiew M54455EVB_a66_config) FLASH=ATMEL; FREQ=66666666;; \ 1763 8ae158cdSTsiChungLiew M54455EVB_i33_config) FLASH=INTEL; FREQ=33333333;; \ 1764 8ae158cdSTsiChungLiew M54455EVB_i66_config) FLASH=INTEL; FREQ=66666666;; \ 1765 8ae158cdSTsiChungLiew esac; \ 1766 8ae158cdSTsiChungLiew >include/config.h ; \ 1767 8ae158cdSTsiChungLiew if [ "$${FLASH}" == "INTEL" ] ; then \ 1768 4a442d31STsiChungLiew echo "#undef CFG_ATMEL_BOOT" >> $(obj)include/config.h ; \ 1769 e8ee8f3aSTsiChungLiew echo "TEXT_BASE = 0x00000000" > $(obj)board/freescale/m54455evb/config.tmp ; \ 1770 e8ee8f3aSTsiChungLiew cp $(obj)board/freescale/m54455evb/u-boot.int $(obj)board/freescale/m54455evb/u-boot.lds ; \ 1771 8ae158cdSTsiChungLiew echo "... with INTEL boot..." ; \ 1772 8ae158cdSTsiChungLiew else \ 1773 4a442d31STsiChungLiew echo "#define CFG_ATMEL_BOOT" >> $(obj)include/config.h ; \ 1774 e8ee8f3aSTsiChungLiew echo "TEXT_BASE = 0x04000000" > $(obj)board/freescale/m54455evb/config.tmp ; \ 1775 e8ee8f3aSTsiChungLiew cp $(obj)board/freescale/m54455evb/u-boot.atm $(obj)board/freescale/m54455evb/u-boot.lds ; \ 1776 8ae158cdSTsiChungLiew echo "... with ATMEL boot..." ; \ 1777 8ae158cdSTsiChungLiew fi; \ 1778 4a442d31STsiChungLiew echo "#define CFG_INPUT_CLKSRC $${FREQ}" >> $(obj)include/config.h ; \ 1779 8ae158cdSTsiChungLiew echo "... with $${FREQ}Hz input clock" 1780 8ae158cdSTsiChungLiew @$(MKCONFIG) -a M54455EVB m68k mcf5445x m54455evb freescale 1781 8ae158cdSTsiChungLiew 1782 7ebf7443Swdenk######################################################################### 1783 f046ccd1SEran Liberty## MPC83xx Systems 1784 f046ccd1SEran Liberty######################################################################### 1785 f046ccd1SEran Liberty 1786 5c5d3242SKim PhillipsMPC8313ERDB_33_config \ 1787 5c5d3242SKim PhillipsMPC8313ERDB_66_config: unconfig 1788 cdd917a4SWolfgang Denk @mkdir -p $(obj)include 1789 cdd917a4SWolfgang Denk @echo "" >$(obj)include/config.h ; \ 1790 5c5d3242SKim Phillips if [ "$(findstring _33_,$@)" ] ; then \ 1791 5c5d3242SKim Phillips echo -n "...33M ..." ; \ 1792 cdd917a4SWolfgang Denk echo "#define CFG_33MHZ" >>$(obj)include/config.h ; \ 1793 5c5d3242SKim Phillips fi ; \ 1794 5c5d3242SKim Phillips if [ "$(findstring _66_,$@)" ] ; then \ 1795 5c5d3242SKim Phillips echo -n "...66M..." ; \ 1796 cdd917a4SWolfgang Denk echo "#define CFG_66MHZ" >>$(obj)include/config.h ; \ 1797 5c5d3242SKim Phillips fi ; 1798 e58fe957SKim Phillips @$(MKCONFIG) -a MPC8313ERDB ppc mpc83xx mpc8313erdb freescale 1799 5c5d3242SKim Phillips 1800 1c274c4eSKim PhillipsMPC8323ERDB_config: unconfig 1801 1c274c4eSKim Phillips @$(MKCONFIG) -a MPC8323ERDB ppc mpc83xx mpc8323erdb freescale 1802 1c274c4eSKim Phillips 1803 4decd84eSKim PhillipsMPC832XEMDS_config \ 1804 4decd84eSKim PhillipsMPC832XEMDS_HOST_33_config \ 1805 4decd84eSKim PhillipsMPC832XEMDS_HOST_66_config \ 1806 281df457STony LiMPC832XEMDS_SLAVE_config \ 1807 281df457STony LiMPC832XEMDS_ATM_config: unconfig 1808 cdd917a4SWolfgang Denk @mkdir -p $(obj)include 1809 cdd917a4SWolfgang Denk @echo "" >$(obj)include/config.h ; \ 1810 4decd84eSKim Phillips if [ "$(findstring _HOST_,$@)" ] ; then \ 1811 4decd84eSKim Phillips echo -n "... PCI HOST " ; \ 1812 cdd917a4SWolfgang Denk echo "#define CONFIG_PCI" >>$(obj)include/config.h ; \ 1813 4decd84eSKim Phillips fi ; \ 1814 4decd84eSKim Phillips if [ "$(findstring _SLAVE_,$@)" ] ; then \ 1815 4decd84eSKim Phillips echo "...PCI SLAVE 66M" ; \ 1816 cdd917a4SWolfgang Denk echo "#define CONFIG_PCI" >>$(obj)include/config.h ; \ 1817 cdd917a4SWolfgang Denk echo "#define CONFIG_PCISLAVE" >>$(obj)include/config.h ; \ 1818 4decd84eSKim Phillips fi ; \ 1819 4decd84eSKim Phillips if [ "$(findstring _33_,$@)" ] ; then \ 1820 4decd84eSKim Phillips echo -n "...33M ..." ; \ 1821 cdd917a4SWolfgang Denk echo "#define PCI_33M" >>$(obj)include/config.h ; \ 1822 281df457STony Li echo "#define CONFIG_PQ_MDS_PIB 1" >>$(obj)include/config.h ; \ 1823 4decd84eSKim Phillips fi ; \ 1824 4decd84eSKim Phillips if [ "$(findstring _66_,$@)" ] ; then \ 1825 4decd84eSKim Phillips echo -n "...66M..." ; \ 1826 cdd917a4SWolfgang Denk echo "#define PCI_66M" >>$(obj)include/config.h ; \ 1827 281df457STony Li echo "#define CONFIG_PQ_MDS_PIB 1" >>$(obj)include/config.h ; \ 1828 281df457STony Li fi ; \ 1829 281df457STony Li if [ "$(findstring _ATM_,$@)" ] ; then \ 1830 281df457STony Li echo -n "...ATM..." ; \ 1831 281df457STony Li echo "#define CONFIG_PQ_MDS_PIB 1" >>$(obj)include/config.h ; \ 1832 281df457STony Li echo "#define CONFIG_PQ_MDS_PIB_ATM 1" >>$(obj)include/config.h ; \ 1833 4decd84eSKim Phillips fi ; 1834 e58fe957SKim Phillips @$(MKCONFIG) -a MPC832XEMDS ppc mpc83xx mpc832xemds freescale 1835 e6f2e902SMarian Balakowicz 1836 991425feSMarian BalakowiczMPC8349EMDS_config: unconfig 1837 e58fe957SKim Phillips @$(MKCONFIG) $(@:_config=) ppc mpc83xx mpc8349emds freescale 1838 991425feSMarian Balakowicz 1839 7a78f148STimur TabiMPC8349ITX_config \ 1840 7a78f148STimur TabiMPC8349ITX_LOWBOOT_config \ 1841 7a78f148STimur TabiMPC8349ITXGP_config: unconfig 1842 7a78f148STimur Tabi @mkdir -p $(obj)include 1843 e21659e3SSam Sparks @mkdir -p $(obj)board/freescale/mpc8349itx 1844 7a78f148STimur Tabi @echo "#define CONFIG_$(subst _LOWBOOT,,$(@:_config=))" >> $(obj)include/config.h 1845 7a78f148STimur Tabi @if [ "$(findstring GP,$@)" ] ; then \ 1846 e21659e3SSam Sparks echo "TEXT_BASE = 0xFE000000" >$(obj)board/freescale/mpc8349itx/config.tmp ; \ 1847 7a78f148STimur Tabi fi 1848 7a78f148STimur Tabi @if [ "$(findstring LOWBOOT,$@)" ] ; then \ 1849 e21659e3SSam Sparks echo "TEXT_BASE = 0xFE000000" >$(obj)board/freescale/mpc8349itx/config.tmp ; \ 1850 7a78f148STimur Tabi fi 1851 e58fe957SKim Phillips @$(MKCONFIG) -a -n $(@:_config=) MPC8349ITX ppc mpc83xx mpc8349itx freescale 1852 4decd84eSKim Phillips 1853 5f820439SDave LiuMPC8360EMDS_config \ 1854 5f820439SDave LiuMPC8360EMDS_HOST_33_config \ 1855 5f820439SDave LiuMPC8360EMDS_HOST_66_config \ 1856 281df457STony LiMPC8360EMDS_SLAVE_config \ 1857 281df457STony LiMPC8360EMDS_ATM_config: unconfig 1858 cdd917a4SWolfgang Denk @mkdir -p $(obj)include 1859 cdd917a4SWolfgang Denk @echo "" >$(obj)include/config.h ; \ 1860 5f820439SDave Liu if [ "$(findstring _HOST_,$@)" ] ; then \ 1861 5f820439SDave Liu echo -n "... PCI HOST " ; \ 1862 cdd917a4SWolfgang Denk echo "#define CONFIG_PCI" >>$(obj)include/config.h ; \ 1863 5f820439SDave Liu fi ; \ 1864 5f820439SDave Liu if [ "$(findstring _SLAVE_,$@)" ] ; then \ 1865 5f820439SDave Liu echo "...PCI SLAVE 66M" ; \ 1866 cdd917a4SWolfgang Denk echo "#define CONFIG_PCI" >>$(obj)include/config.h ; \ 1867 cdd917a4SWolfgang Denk echo "#define CONFIG_PCISLAVE" >>$(obj)include/config.h ; \ 1868 5f820439SDave Liu fi ; \ 1869 5f820439SDave Liu if [ "$(findstring _33_,$@)" ] ; then \ 1870 5f820439SDave Liu echo -n "...33M ..." ; \ 1871 cdd917a4SWolfgang Denk echo "#define PCI_33M" >>$(obj)include/config.h ; \ 1872 281df457STony Li echo "#define CONFIG_PQ_MDS_PIB 1" >>$(obj)include/config.h ; \ 1873 5f820439SDave Liu fi ; \ 1874 5f820439SDave Liu if [ "$(findstring _66_,$@)" ] ; then \ 1875 5f820439SDave Liu echo -n "...66M..." ; \ 1876 cdd917a4SWolfgang Denk echo "#define PCI_66M" >>$(obj)include/config.h ; \ 1877 281df457STony Li echo "#define CONFIG_PQ_MDS_PIB 1" >>$(obj)include/config.h ; \ 1878 281df457STony Li fi ; \ 1879 281df457STony Li if [ "$(findstring _ATM_,$@)" ] ; then \ 1880 281df457STony Li echo -n "...ATM..." ; \ 1881 281df457STony Li echo "#define CONFIG_PQ_MDS_PIB 1" >>$(obj)include/config.h ; \ 1882 281df457STony Li echo "#define CONFIG_PQ_MDS_PIB_ATM 1" >>$(obj)include/config.h ; \ 1883 5f820439SDave Liu fi ; 1884 e58fe957SKim Phillips @$(MKCONFIG) -a MPC8360EMDS ppc mpc83xx mpc8360emds freescale 1885 5f820439SDave Liu 1886 91e25769SPaul Gortmakersbc8349_config: unconfig 1887 91e25769SPaul Gortmaker @$(MKCONFIG) $(@:_config=) ppc mpc83xx sbc8349 1888 91e25769SPaul Gortmaker 1889 4decd84eSKim PhillipsTQM834x_config: unconfig 1890 4decd84eSKim Phillips @$(MKCONFIG) $(@:_config=) ppc mpc83xx tqm834x 1891 4decd84eSKim Phillips 1892 2ad6b513STimur Tabi 1893 f046ccd1SEran Liberty######################################################################### 1894 42d1f039Swdenk## MPC85xx Systems 1895 42d1f039Swdenk######################################################################### 1896 42d1f039Swdenk 1897 42d1f039SwdenkMPC8540ADS_config: unconfig 1898 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8540ads 1899 42d1f039Swdenk 1900 b0e32949SLunsheng WangMPC8540EVAL_config \ 1901 b0e32949SLunsheng WangMPC8540EVAL_33_config \ 1902 b0e32949SLunsheng WangMPC8540EVAL_66_config \ 1903 b0e32949SLunsheng WangMPC8540EVAL_33_slave_config \ 1904 b0e32949SLunsheng WangMPC8540EVAL_66_slave_config: unconfig 1905 f9328639SMarian Balakowicz @mkdir -p $(obj)include 1906 f9328639SMarian Balakowicz @echo "" >$(obj)include/config.h ; \ 1907 b0e32949SLunsheng Wang if [ "$(findstring _33_,$@)" ] ; then \ 1908 cdd917a4SWolfgang Denk echo "... 33 MHz PCI" ; \ 1909 b0e32949SLunsheng Wang else \ 1910 f9328639SMarian Balakowicz echo "#define CONFIG_SYSCLK_66M" >>$(obj)include/config.h ; \ 1911 cdd917a4SWolfgang Denk echo "... 66 MHz PCI" ; \ 1912 b0e32949SLunsheng Wang fi ; \ 1913 b0e32949SLunsheng Wang if [ "$(findstring _slave_,$@)" ] ; then \ 1914 f9328639SMarian Balakowicz echo "#define CONFIG_PCI_SLAVE" >>$(obj)include/config.h ; \ 1915 b0e32949SLunsheng Wang echo " slave" ; \ 1916 b0e32949SLunsheng Wang else \ 1917 b0e32949SLunsheng Wang echo " host" ; \ 1918 b0e32949SLunsheng Wang fi 1919 f9328639SMarian Balakowicz @$(MKCONFIG) -a MPC8540EVAL ppc mpc85xx mpc8540eval 1920 b0e32949SLunsheng Wang 1921 42d1f039SwdenkMPC8560ADS_config: unconfig 1922 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8560ads 1923 42d1f039Swdenk 1924 7f3f2bd2SRandy VinsonMPC8541CDS_legacy_config \ 1925 03f5c550SwdenkMPC8541CDS_config: unconfig 1926 7f3f2bd2SRandy Vinson @mkdir -p $(obj)include 1927 7f3f2bd2SRandy Vinson @echo "" >$(obj)include/config.h ; \ 1928 7f3f2bd2SRandy Vinson if [ "$(findstring _legacy_,$@)" ] ; then \ 1929 7f3f2bd2SRandy Vinson echo "#define CONFIG_LEGACY" >>$(obj)include/config.h ; \ 1930 7f3f2bd2SRandy Vinson echo "... legacy" ; \ 1931 7f3f2bd2SRandy Vinson fi 1932 7f3f2bd2SRandy Vinson @$(MKCONFIG) -a MPC8541CDS ppc mpc85xx mpc8541cds cds 1933 03f5c550Swdenk 1934 81f481caSAndy FlemingMPC8544DS_config: unconfig 1935 81f481caSAndy Fleming @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8544ds freescale 1936 81f481caSAndy Fleming 1937 7f3f2bd2SRandy VinsonMPC8548CDS_legacy_config \ 1938 d9b94f28SJon LoeligerMPC8548CDS_config: unconfig 1939 7f3f2bd2SRandy Vinson @mkdir -p $(obj)include 1940 7f3f2bd2SRandy Vinson @echo "" >$(obj)include/config.h ; \ 1941 7f3f2bd2SRandy Vinson if [ "$(findstring _legacy_,$@)" ] ; then \ 1942 7f3f2bd2SRandy Vinson echo "#define CONFIG_LEGACY" >>$(obj)include/config.h ; \ 1943 7f3f2bd2SRandy Vinson echo "... legacy" ; \ 1944 7f3f2bd2SRandy Vinson fi 1945 7f3f2bd2SRandy Vinson @$(MKCONFIG) -a MPC8548CDS ppc mpc85xx mpc8548cds cds 1946 d9b94f28SJon Loeliger 1947 7f3f2bd2SRandy VinsonMPC8555CDS_legacy_config \ 1948 03f5c550SwdenkMPC8555CDS_config: unconfig 1949 7f3f2bd2SRandy Vinson @mkdir -p $(obj)include 1950 7f3f2bd2SRandy Vinson @echo "" >$(obj)include/config.h ; \ 1951 7f3f2bd2SRandy Vinson if [ "$(findstring _legacy_,$@)" ] ; then \ 1952 7f3f2bd2SRandy Vinson echo "#define CONFIG_LEGACY" >>$(obj)include/config.h ; \ 1953 7f3f2bd2SRandy Vinson echo "... legacy" ; \ 1954 7f3f2bd2SRandy Vinson fi 1955 7f3f2bd2SRandy Vinson @$(MKCONFIG) -a MPC8555CDS ppc mpc85xx mpc8555cds cds 1956 7abf0c58Swdenk 1957 67431059SAndy FlemingMPC8568MDS_config: unconfig 1958 67431059SAndy Fleming @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8568mds 1959 67431059SAndy Fleming 1960 384cc687SwdenkPM854_config: unconfig 1961 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc85xx pm854 1962 384cc687Swdenk 1963 b20d0032SWolfgang DenkPM856_config: unconfig 1964 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc85xx pm856 1965 b20d0032SWolfgang Denk 1966 c15f3120Swdenksbc8540_config \ 1967 c15f3120Swdenksbc8540_33_config \ 1968 c15f3120Swdenksbc8540_66_config: unconfig 1969 f9328639SMarian Balakowicz @mkdir -p $(obj)include 1970 c15f3120Swdenk @if [ "$(findstring _66_,$@)" ] ; then \ 1971 f9328639SMarian Balakowicz echo "#define CONFIG_PCI_66" >>$(obj)include/config.h ; \ 1972 c15f3120Swdenk echo "... 66 MHz PCI" ; \ 1973 c15f3120Swdenk else \ 1974 f9328639SMarian Balakowicz >$(obj)include/config.h ; \ 1975 c15f3120Swdenk echo "... 33 MHz PCI" ; \ 1976 c15f3120Swdenk fi 1977 f9328639SMarian Balakowicz @$(MKCONFIG) -a SBC8540 ppc mpc85xx sbc8560 1978 c15f3120Swdenk 1979 466b7410Swdenksbc8560_config \ 1980 466b7410Swdenksbc8560_33_config \ 1981 466b7410Swdenksbc8560_66_config: unconfig 1982 f9328639SMarian Balakowicz @mkdir -p $(obj)include 1983 8b07a110Swdenk @if [ "$(findstring _66_,$@)" ] ; then \ 1984 f9328639SMarian Balakowicz echo "#define CONFIG_PCI_66" >>$(obj)include/config.h ; \ 1985 8b07a110Swdenk echo "... 66 MHz PCI" ; \ 1986 8b07a110Swdenk else \ 1987 f9328639SMarian Balakowicz >$(obj)include/config.h ; \ 1988 8b07a110Swdenk echo "... 33 MHz PCI" ; \ 1989 8b07a110Swdenk fi 1990 f9328639SMarian Balakowicz @$(MKCONFIG) -a sbc8560 ppc mpc85xx sbc8560 1991 8b07a110Swdenk 1992 03f5c550Swdenkstxgp3_config: unconfig 1993 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc85xx stxgp3 1994 03f5c550Swdenk 1995 ee152983SWolfgang Denkstxssa_config \ 1996 ee152983SWolfgang Denkstxssa_4M_config: unconfig 1997 ee152983SWolfgang Denk @mkdir -p $(obj)include 1998 ee152983SWolfgang Denk @if [ "$(findstring _4M_,$@)" ] ; then \ 1999 ee152983SWolfgang Denk echo "#define CONFIG_STXSSA_4M" >>$(obj)include/config.h ; \ 2000 ee152983SWolfgang Denk echo "... with 4 MiB flash memory" ; \ 2001 ee152983SWolfgang Denk else \ 2002 ee152983SWolfgang Denk >$(obj)include/config.h ; \ 2003 ee152983SWolfgang Denk fi 2004 ee152983SWolfgang Denk @$(MKCONFIG) -a stxssa ppc mpc85xx stxssa 2005 35171dc0SDan Malek 2006 d96f41e0SStefan RoeseTQM8540_config \ 2007 d96f41e0SStefan RoeseTQM8541_config \ 2008 d96f41e0SStefan RoeseTQM8555_config \ 2009 f5c5ef4aSwdenkTQM8560_config: unconfig 2010 f9328639SMarian Balakowicz @mkdir -p $(obj)include 2011 a889bd27SWolfgang Denk @CTYPE=$(subst TQM,,$(@:_config=)); \ 2012 f9328639SMarian Balakowicz >$(obj)include/config.h ; \ 2013 d96f41e0SStefan Roese echo "... TQM"$${CTYPE}; \ 2014 f9328639SMarian Balakowicz echo "#define CONFIG_MPC$${CTYPE}">>$(obj)include/config.h; \ 2015 f9328639SMarian Balakowicz echo "#define CONFIG_TQM$${CTYPE}">>$(obj)include/config.h; \ 2016 f9328639SMarian Balakowicz echo "#define CONFIG_HOSTNAME tqm$${CTYPE}">>$(obj)include/config.h; \ 2017 f9328639SMarian Balakowicz echo "#define CONFIG_BOARDNAME \"TQM$${CTYPE}\"">>$(obj)include/config.h; \ 2018 8a783a65SGrant Likely echo "#define CFG_BOOTFILE_PATH \"/tftpboot/tqm$${CTYPE}/uImage\"">>$(obj)include/config.h 2019 f9328639SMarian Balakowicz @$(MKCONFIG) -a TQM85xx ppc mpc85xx tqm85xx 2020 f5c5ef4aSwdenk 2021 42d1f039Swdenk######################################################################### 2022 debb7354SJon Loeliger## MPC86xx Systems 2023 debb7354SJon Loeliger######################################################################### 2024 debb7354SJon Loeliger 2025 debb7354SJon LoeligerMPC8641HPCN_config: unconfig 2026 4ce91774SJon Loeliger @$(MKCONFIG) $(@:_config=) ppc mpc86xx mpc8641hpcn freescale 2027 debb7354SJon Loeliger 2028 c646bba6SJoe Hammansbc8641d_config: unconfig 2029 c646bba6SJoe Hamman @./mkconfig $(@:_config=) ppc mpc86xx sbc8641d 2030 debb7354SJon Loeliger 2031 debb7354SJon Loeliger######################################################################### 2032 7ebf7443Swdenk## 74xx/7xx Systems 2033 7ebf7443Swdenk######################################################################### 2034 7ebf7443Swdenk 2035 c7de829cSwdenkAmigaOneG3SE_config: unconfig 2036 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx AmigaOneG3SE MAI 2037 c7de829cSwdenk 2038 15647dc7SwdenkBAB7xx_config: unconfig 2039 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx bab7xx eltec 2040 15647dc7Swdenk 2041 c419d1d6SstroeseCPCI750_config: unconfig 2042 f9328639SMarian Balakowicz @$(MKCONFIG) CPCI750 ppc 74xx_7xx cpci750 esd 2043 c419d1d6Sstroese 2044 3a473b2aSwdenkDB64360_config: unconfig 2045 f9328639SMarian Balakowicz @$(MKCONFIG) DB64360 ppc 74xx_7xx db64360 Marvell 2046 3a473b2aSwdenk 2047 3a473b2aSwdenkDB64460_config: unconfig 2048 f9328639SMarian Balakowicz @$(MKCONFIG) DB64460 ppc 74xx_7xx db64460 Marvell 2049 3a473b2aSwdenk 2050 15647dc7SwdenkELPPC_config: unconfig 2051 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx elppc eltec 2052 15647dc7Swdenk 2053 7ebf7443SwdenkEVB64260_config \ 2054 7ebf7443SwdenkEVB64260_750CX_config: unconfig 2055 f9328639SMarian Balakowicz @$(MKCONFIG) EVB64260 ppc 74xx_7xx evb64260 2056 7ebf7443Swdenk 2057 4c52783bSroy zangmpc7448hpc2_config: unconfig 2058 ee311214Sroy zang @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx mpc7448hpc2 2059 4c52783bSroy zang 2060 15647dc7SwdenkP3G4_config: unconfig 2061 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx evb64260 2062 7ebf7443Swdenk 2063 1eac2a71SStefan Roesep3m750_config \ 2064 1eac2a71SStefan Roesep3m7448_config: unconfig 2065 1eac2a71SStefan Roese @mkdir -p $(obj)include 2066 1eac2a71SStefan Roese @if [ "$(findstring 750_,$@)" ] ; then \ 2067 1eac2a71SStefan Roese echo "#define CONFIG_P3M750" >>$(obj)include/config.h ; \ 2068 1eac2a71SStefan Roese else \ 2069 1eac2a71SStefan Roese echo "#define CONFIG_P3M7448" >>$(obj)include/config.h ; \ 2070 1eac2a71SStefan Roese fi 2071 1eac2a71SStefan Roese @$(MKCONFIG) -a p3mx ppc 74xx_7xx p3mx prodrive 2072 1eac2a71SStefan Roese 2073 7ebf7443SwdenkPCIPPC2_config \ 2074 7ebf7443SwdenkPCIPPC6_config: unconfig 2075 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx pcippc2 2076 7ebf7443Swdenk 2077 15647dc7SwdenkZUMA_config: unconfig 2078 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx evb64260 2079 12f34241Swdenk 2080 f5e0d039SHeiko Schocherppmc7xx_config: unconfig 2081 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx ppmc7xx 2082 f5e0d039SHeiko Schocher 2083 7ebf7443Swdenk#======================================================================== 2084 7ebf7443Swdenk# ARM 2085 7ebf7443Swdenk#======================================================================== 2086 7ebf7443Swdenk######################################################################### 2087 7ebf7443Swdenk## StrongARM Systems 2088 7ebf7443Swdenk######################################################################### 2089 7ebf7443Swdenk 2090 ea66bc88Swdenkassabet_config : unconfig 2091 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) arm sa1100 assabet 2092 ea66bc88Swdenk 2093 7ebf7443Swdenkdnp1110_config : unconfig 2094 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) arm sa1100 dnp1110 2095 7ebf7443Swdenk 2096 855a496fSwdenkgcplus_config : unconfig 2097 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) arm sa1100 gcplus 2098 855a496fSwdenk 2099 855a496fSwdenklart_config : unconfig 2100 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) arm sa1100 lart 2101 855a496fSwdenk 2102 7ebf7443Swdenkshannon_config : unconfig 2103 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) arm sa1100 shannon 2104 7ebf7443Swdenk 2105 7ebf7443Swdenk######################################################################### 2106 2e5983d2Swdenk## ARM92xT Systems 2107 7ebf7443Swdenk######################################################################### 2108 7ebf7443Swdenk 2109 b0639ca3Swdenkxtract_trab = $(subst _bigram,,$(subst _bigflash,,$(subst _old,,$(subst _config,,$1)))) 2110 43d9616cSwdenk 2111 3ff02c27Swdenkxtract_omap1610xxx = $(subst _cs0boot,,$(subst _cs3boot,,$(subst _cs_autoboot,,$(subst _config,,$1)))) 2112 63e73c9aSwdenk 2113 a56bd922Swdenkxtract_omap730p2 = $(subst _cs0boot,,$(subst _cs3boot,, $(subst _config,,$1))) 2114 a56bd922Swdenk 2115 a85f9f21Swdenkat91rm9200dk_config : unconfig 2116 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) arm arm920t at91rm9200dk NULL at91rm9200 2117 a85f9f21Swdenk 2118 a85f9f21Swdenkcmc_pu2_config : unconfig 2119 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) arm arm920t cmc_pu2 NULL at91rm9200 2120 a85f9f21Swdenk 2121 645da510SWolfgang Denkcsb637_config : unconfig 2122 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) arm arm920t csb637 NULL at91rm9200 2123 645da510SWolfgang Denk 2124 0e4018d2SWolfgang Denkmp2usb_config : unconfig 2125 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) arm arm920t mp2usb NULL at91rm9200 2126 0e4018d2SWolfgang Denk 2127 87cb6862SWolfgang Denk 2128 74f4304eSWolfgang Denk######################################################################## 2129 87cb6862SWolfgang Denk## ARM Integrator boards - see doc/README-integrator for more info. 2130 87cb6862SWolfgang Denkintegratorap_config \ 2131 87cb6862SWolfgang Denkap_config \ 2132 87cb6862SWolfgang Denkap966_config \ 2133 87cb6862SWolfgang Denkap922_config \ 2134 87cb6862SWolfgang Denkap922_XA10_config \ 2135 87cb6862SWolfgang Denkap7_config \ 2136 87cb6862SWolfgang Denkap720t_config \ 2137 87cb6862SWolfgang Denkap920t_config \ 2138 87cb6862SWolfgang Denkap926ejs_config \ 2139 87cb6862SWolfgang Denkap946es_config: unconfig 2140 96782c63SWolfgang Denk @board/integratorap/split_by_variant.sh $@ 2141 3d3befa7Swdenk 2142 87cb6862SWolfgang Denkintegratorcp_config \ 2143 87cb6862SWolfgang Denkcp_config \ 2144 87cb6862SWolfgang Denkcp920t_config \ 2145 87cb6862SWolfgang Denkcp926ejs_config \ 2146 87cb6862SWolfgang Denkcp946es_config \ 2147 87cb6862SWolfgang Denkcp1136_config \ 2148 87cb6862SWolfgang Denkcp966_config \ 2149 87cb6862SWolfgang Denkcp922_config \ 2150 87cb6862SWolfgang Denkcp922_XA10_config \ 2151 87cb6862SWolfgang Denkcp1026_config: unconfig 2152 96782c63SWolfgang Denk @board/integratorcp/split_by_variant.sh $@ 2153 25d6712aSwdenk 2154 99b0d285SWolfgang Denkkb9202_config : unconfig 2155 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) arm arm920t kb9202 NULL at91rm9200 2156 99b0d285SWolfgang Denk 2157 f832d8a1Swdenklpd7a400_config \ 2158 f832d8a1Swdenklpd7a404_config: unconfig 2159 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) arm lh7a40x lpd7a40x 2160 3d3befa7Swdenk 2161 281e00a3Swdenkmx1ads_config : unconfig 2162 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) arm arm920t mx1ads NULL imx 2163 281e00a3Swdenk 2164 281e00a3Swdenkmx1fs2_config : unconfig 2165 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) arm arm920t mx1fs2 NULL imx 2166 281e00a3Swdenk 2167 ac7eb8a3SWolfgang Denknetstar_32_config \ 2168 ac7eb8a3SWolfgang Denknetstar_config: unconfig 2169 f9328639SMarian Balakowicz @mkdir -p $(obj)include 2170 ac7eb8a3SWolfgang Denk @if [ "$(findstring _32_,$@)" ] ; then \ 2171 ac7eb8a3SWolfgang Denk echo "... 32MB SDRAM" ; \ 2172 f9328639SMarian Balakowicz echo "#define PHYS_SDRAM_1_SIZE SZ_32M" >>$(obj)include/config.h ; \ 2173 ac7eb8a3SWolfgang Denk else \ 2174 ac7eb8a3SWolfgang Denk echo "... 64MB SDRAM" ; \ 2175 f9328639SMarian Balakowicz echo "#define PHYS_SDRAM_1_SIZE SZ_64M" >>$(obj)include/config.h ; \ 2176 ac7eb8a3SWolfgang Denk fi 2177 f9328639SMarian Balakowicz @$(MKCONFIG) -a netstar arm arm925t netstar 2178 ac7eb8a3SWolfgang Denk 2179 2e5983d2Swdenkomap1510inn_config : unconfig 2180 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) arm arm925t omap1510inn 2181 2e5983d2Swdenk 2182 1eaeb58eSwdenkomap5912osk_config : unconfig 2183 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) arm arm926ejs omap5912osk NULL omap 2184 1eaeb58eSwdenk 2185 c74b2108SSergey Kubushyndavinci_dvevm_config : unconfig 2186 c74b2108SSergey Kubushyn @$(MKCONFIG) $(@:_config=) arm arm926ejs dv-evm davinci davinci 2187 c74b2108SSergey Kubushyn 2188 c74b2108SSergey Kubushyndavinci_schmoogie_config : unconfig 2189 c74b2108SSergey Kubushyn @$(MKCONFIG) $(@:_config=) arm arm926ejs schmoogie davinci davinci 2190 c74b2108SSergey Kubushyn 2191 c74b2108SSergey Kubushyndavinci_sonata_config : unconfig 2192 c74b2108SSergey Kubushyn @$(MKCONFIG) $(@:_config=) arm arm926ejs sonata davinci davinci 2193 c74b2108SSergey Kubushyn 2194 63e73c9aSwdenkomap1610inn_config \ 2195 63e73c9aSwdenkomap1610inn_cs0boot_config \ 2196 63e73c9aSwdenkomap1610inn_cs3boot_config \ 2197 3ff02c27Swdenkomap1610inn_cs_autoboot_config \ 2198 63e73c9aSwdenkomap1610h2_config \ 2199 63e73c9aSwdenkomap1610h2_cs0boot_config \ 2200 3ff02c27Swdenkomap1610h2_cs3boot_config \ 2201 3ff02c27Swdenkomap1610h2_cs_autoboot_config: unconfig 2202 f9328639SMarian Balakowicz @mkdir -p $(obj)include 2203 63e73c9aSwdenk @if [ "$(findstring _cs0boot_, $@)" ] ; then \ 2204 cdd917a4SWolfgang Denk echo "#define CONFIG_CS0_BOOT" >> .$(obj)include/config.h ; \ 2205 b79a11ccSwdenk echo "... configured for CS0 boot"; \ 2206 3ff02c27Swdenk elif [ "$(findstring _cs_autoboot_, $@)" ] ; then \ 2207 cdd917a4SWolfgang Denk echo "#define CONFIG_CS_AUTOBOOT" >> $(obj)include/config.h ; \ 2208 3ff02c27Swdenk echo "... configured for CS_AUTO boot"; \ 2209 63e73c9aSwdenk else \ 2210 cdd917a4SWolfgang Denk echo "#define CONFIG_CS3_BOOT" >> $(obj)include/config.h ; \ 2211 b79a11ccSwdenk echo "... configured for CS3 boot"; \ 2212 63e73c9aSwdenk fi; 2213 f9328639SMarian Balakowicz @$(MKCONFIG) -a $(call xtract_omap1610xxx,$@) arm arm926ejs omap1610inn NULL omap 2214 6f21347dSwdenk 2215 a56bd922Swdenkomap730p2_config \ 2216 a56bd922Swdenkomap730p2_cs0boot_config \ 2217 a56bd922Swdenkomap730p2_cs3boot_config : unconfig 2218 f9328639SMarian Balakowicz @mkdir -p $(obj)include 2219 a56bd922Swdenk @if [ "$(findstring _cs0boot_, $@)" ] ; then \ 2220 f9328639SMarian Balakowicz echo "#define CONFIG_CS0_BOOT" >> $(obj)include/config.h ; \ 2221 a56bd922Swdenk echo "... configured for CS0 boot"; \ 2222 a56bd922Swdenk else \ 2223 f9328639SMarian Balakowicz echo "#define CONFIG_CS3_BOOT" >> $(obj)include/config.h ; \ 2224 a56bd922Swdenk echo "... configured for CS3 boot"; \ 2225 a56bd922Swdenk fi; 2226 f9328639SMarian Balakowicz @$(MKCONFIG) -a $(call xtract_omap730p2,$@) arm arm926ejs omap730p2 NULL omap 2227 a56bd922Swdenk 2228 32cb2c70SWolfgang Denksbc2410x_config: unconfig 2229 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) arm arm920t sbc2410x NULL s3c24x0 2230 32cb2c70SWolfgang Denk 2231 281e00a3Swdenkscb9328_config : unconfig 2232 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) arm arm920t scb9328 NULL imx 2233 281e00a3Swdenk 2234 7ebf7443Swdenksmdk2400_config : unconfig 2235 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) arm arm920t smdk2400 NULL s3c24x0 2236 7ebf7443Swdenk 2237 7ebf7443Swdenksmdk2410_config : unconfig 2238 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) arm arm920t smdk2410 NULL s3c24x0 2239 7ebf7443Swdenk 2240 2d24a3a7SwdenkSX1_config : unconfig 2241 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) arm arm925t sx1 2242 2d24a3a7Swdenk 2243 b2001f27Swdenk# TRAB default configuration: 8 MB Flash, 32 MB RAM 2244 43d9616cSwdenktrab_config \ 2245 b0639ca3Swdenktrab_bigram_config \ 2246 b0639ca3Swdenktrab_bigflash_config \ 2247 f54ebdfaSwdenktrab_old_config: unconfig 2248 f9328639SMarian Balakowicz @mkdir -p $(obj)include 2249 f9328639SMarian Balakowicz @mkdir -p $(obj)board/trab 2250 f9328639SMarian Balakowicz @ >$(obj)include/config.h 2251 b0639ca3Swdenk @[ -z "$(findstring _bigram,$@)" ] || \ 2252 f9328639SMarian Balakowicz { echo "#define CONFIG_FLASH_8MB" >>$(obj)include/config.h ; \ 2253 f9328639SMarian Balakowicz echo "#define CONFIG_RAM_32MB" >>$(obj)include/config.h ; \ 2254 b0639ca3Swdenk echo "... with 8 MB Flash, 32 MB RAM" ; \ 2255 b0639ca3Swdenk } 2256 b0639ca3Swdenk @[ -z "$(findstring _bigflash,$@)" ] || \ 2257 f9328639SMarian Balakowicz { echo "#define CONFIG_FLASH_16MB" >>$(obj)include/config.h ; \ 2258 f9328639SMarian Balakowicz echo "#define CONFIG_RAM_16MB" >>$(obj)include/config.h ; \ 2259 b0639ca3Swdenk echo "... with 16 MB Flash, 16 MB RAM" ; \ 2260 f9328639SMarian Balakowicz echo "TEXT_BASE = 0x0CF40000" >$(obj)board/trab/config.tmp ; \ 2261 b0639ca3Swdenk } 2262 f54ebdfaSwdenk @[ -z "$(findstring _old,$@)" ] || \ 2263 f9328639SMarian Balakowicz { echo "#define CONFIG_FLASH_8MB" >>$(obj)include/config.h ; \ 2264 f9328639SMarian Balakowicz echo "#define CONFIG_RAM_16MB" >>$(obj)include/config.h ; \ 2265 b2001f27Swdenk echo "... with 8 MB Flash, 16 MB RAM" ; \ 2266 f9328639SMarian Balakowicz echo "TEXT_BASE = 0x0CF40000" >$(obj)board/trab/config.tmp ; \ 2267 43d9616cSwdenk } 2268 f9328639SMarian Balakowicz @$(MKCONFIG) -a $(call xtract_trab,$@) arm arm920t trab NULL s3c24x0 2269 7ebf7443Swdenk 2270 1cb8e980SwdenkVCMA9_config : unconfig 2271 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) arm arm920t vcma9 mpl s3c24x0 2272 1cb8e980Swdenk 2273 87cb6862SWolfgang Denk#======================================================================== 2274 87cb6862SWolfgang Denk# ARM supplied Versatile development boards 2275 87cb6862SWolfgang Denk#======================================================================== 2276 87cb6862SWolfgang Denkversatile_config \ 2277 87cb6862SWolfgang Denkversatileab_config \ 2278 87cb6862SWolfgang Denkversatilepb_config : unconfig 2279 96782c63SWolfgang Denk @board/versatile/split_by_variant.sh $@ 2280 074cff0dSwdenk 2281 3c2b3d45Swdenkvoiceblue_smallflash_config \ 2282 3c2b3d45Swdenkvoiceblue_config: unconfig 2283 f9328639SMarian Balakowicz @mkdir -p $(obj)include 2284 f9328639SMarian Balakowicz @mkdir -p $(obj)board/voiceblue 2285 3c2b3d45Swdenk @if [ "$(findstring _smallflash_,$@)" ] ; then \ 2286 3c2b3d45Swdenk echo "... boot from lower flash bank" ; \ 2287 f9328639SMarian Balakowicz echo "#define VOICEBLUE_SMALL_FLASH" >>$(obj)include/config.h ; \ 2288 f9328639SMarian Balakowicz echo "VOICEBLUE_SMALL_FLASH=y" >$(obj)board/voiceblue/config.tmp ; \ 2289 3c2b3d45Swdenk else \ 2290 3c2b3d45Swdenk echo "... boot from upper flash bank" ; \ 2291 f9328639SMarian Balakowicz >$(obj)include/config.h ; \ 2292 f9328639SMarian Balakowicz echo "VOICEBLUE_SMALL_FLASH=n" >$(obj)board/voiceblue/config.tmp ; \ 2293 3c2b3d45Swdenk fi 2294 f9328639SMarian Balakowicz @$(MKCONFIG) -a voiceblue arm arm925t voiceblue 2295 3c2b3d45Swdenk 2296 16b013e7Swdenkcm4008_config : unconfig 2297 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) arm arm920t cm4008 NULL ks8695 2298 16b013e7Swdenk 2299 16b013e7Swdenkcm41xx_config : unconfig 2300 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) arm arm920t cm41xx NULL ks8695 2301 16b013e7Swdenk 2302 0c32d96dSWolfgang Denkgth2_config : unconfig 2303 f9328639SMarian Balakowicz @mkdir -p $(obj)include 2304 f9328639SMarian Balakowicz @ >$(obj)include/config.h 2305 f9328639SMarian Balakowicz @echo "#define CONFIG_GTH2 1" >>$(obj)include/config.h 2306 f9328639SMarian Balakowicz @$(MKCONFIG) -a gth2 mips mips gth2 2307 0c32d96dSWolfgang Denk 2308 074cff0dSwdenk######################################################################### 2309 074cff0dSwdenk## S3C44B0 Systems 2310 074cff0dSwdenk######################################################################### 2311 074cff0dSwdenk 2312 074cff0dSwdenkB2_config : unconfig 2313 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) arm s3c44b0 B2 dave 2314 074cff0dSwdenk 2315 7ebf7443Swdenk######################################################################### 2316 7ebf7443Swdenk## ARM720T Systems 2317 7ebf7443Swdenk######################################################################### 2318 7ebf7443Swdenk 2319 c570b2fdSWolfgang Denkarmadillo_config: unconfig 2320 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) arm arm720t armadillo 2321 c570b2fdSWolfgang Denk 2322 7ebf7443Swdenkep7312_config : unconfig 2323 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) arm arm720t ep7312 2324 7ebf7443Swdenk 2325 2d24a3a7Swdenkimpa7_config : unconfig 2326 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) arm arm720t impa7 2327 2d24a3a7Swdenk 2328 2d1a537dSwdenkmodnet50_config : unconfig 2329 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) arm arm720t modnet50 2330 2d1a537dSwdenk 2331 39539887Swdenkevb4510_config : unconfig 2332 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) arm arm720t evb4510 2333 39539887Swdenk 2334 6bd2447eSGary Jennejohnlpc2292sodimm_config: unconfig 2335 b0d8f5bfSPeter Pearse @$(MKCONFIG) $(@:_config=) arm arm720t lpc2292sodimm NULL lpc2292 2336 b0d8f5bfSPeter Pearse 2337 b0d8f5bfSPeter PearseSMN42_config : unconfig 2338 b0d8f5bfSPeter Pearse @$(MKCONFIG) $(@:_config=) arm arm720t SMN42 siemens lpc2292 2339 6bd2447eSGary Jennejohn 2340 7ebf7443Swdenk######################################################################### 2341 43d9616cSwdenk## XScale Systems 2342 7ebf7443Swdenk######################################################################### 2343 7ebf7443Swdenk 2344 20787e23Swdenkadsvix_config : unconfig 2345 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) arm pxa adsvix 2346 20787e23Swdenk 2347 fabd46acSwdenkcerf250_config : unconfig 2348 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) arm pxa cerf250 2349 fabd46acSwdenk 2350 7ebf7443Swdenkcradle_config : unconfig 2351 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) arm pxa cradle 2352 7ebf7443Swdenk 2353 7ebf7443Swdenkcsb226_config : unconfig 2354 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) arm pxa csb226 2355 7ebf7443Swdenk 2356 0be248faSWolfgang Denkdelta_config : 2357 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) arm pxa delta 2358 0be248faSWolfgang Denk 2359 43d9616cSwdenkinnokom_config : unconfig 2360 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) arm pxa innokom 2361 43d9616cSwdenk 2362 2d5b561eSwdenkixdp425_config : unconfig 2363 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) arm ixp ixdp425 2364 2d5b561eSwdenk 2365 ba94a1bbSWolfgang Denkixdpg425_config : unconfig 2366 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) arm ixp ixdp425 2367 ba94a1bbSWolfgang Denk 2368 43d9616cSwdenklubbock_config : unconfig 2369 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) arm pxa lubbock 2370 43d9616cSwdenk 2371 5720df78SHeiko Schocherpleb2_config : unconfig 2372 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) arm pxa pleb2 2373 5720df78SHeiko Schocher 2374 52f52c14Swdenklogodl_config : unconfig 2375 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) arm pxa logodl 2376 52f52c14Swdenk 2377 9d8d5a5bSStefan Roesepdnb3_config \ 2378 9d8d5a5bSStefan Roesescpu_config: unconfig 2379 cdd917a4SWolfgang Denk @mkdir -p $(obj)include 2380 9d8d5a5bSStefan Roese @if [ "$(findstring scpu_,$@)" ] ; then \ 2381 cdd917a4SWolfgang Denk echo "#define CONFIG_SCPU" >>$(obj)include/config.h ; \ 2382 9d8d5a5bSStefan Roese echo "... on SCPU board variant" ; \ 2383 9d8d5a5bSStefan Roese else \ 2384 cdd917a4SWolfgang Denk >$(obj)include/config.h ; \ 2385 9d8d5a5bSStefan Roese fi 2386 9d8d5a5bSStefan Roese @$(MKCONFIG) -a pdnb3 arm ixp pdnb3 prodrive 2387 ba94a1bbSWolfgang Denk 2388 f57f70aaSWolfgang Denkpxa255_idp_config: unconfig 2389 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) arm pxa pxa255_idp 2390 f57f70aaSWolfgang Denk 2391 5e5803e1Sstefano babictrizepsiv_config : unconfig 2392 5e5803e1Sstefano babic @$(MKCONFIG) $(@:_config=) arm pxa trizepsiv 2393 5e5803e1Sstefano babic 2394 3e38691eSwdenkwepep250_config : unconfig 2395 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) arm pxa wepep250 2396 3e38691eSwdenk 2397 4ec3a7f0Swdenkxaeniax_config : unconfig 2398 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) arm pxa xaeniax 2399 4ec3a7f0Swdenk 2400 efa329cbSwdenkxm250_config : unconfig 2401 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) arm pxa xm250 2402 efa329cbSwdenk 2403 ca0e7748Swdenkxsengine_config : unconfig 2404 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) arm pxa xsengine 2405 ca0e7748Swdenk 2406 e0269579SMarkus Klotzbücherzylonite_config : 2407 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) arm pxa zylonite 2408 e0269579SMarkus Klotzbücher 2409 8ed96046Swdenk######################################################################### 2410 8ed96046Swdenk## ARM1136 Systems 2411 8ed96046Swdenk######################################################################### 2412 8ed96046Swdenkomap2420h4_config : unconfig 2413 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) arm arm1136 omap2420h4 2414 8ed96046Swdenk 2415 2262cfeeSwdenk#======================================================================== 2416 2262cfeeSwdenk# i386 2417 2262cfeeSwdenk#======================================================================== 2418 2262cfeeSwdenk######################################################################### 2419 2262cfeeSwdenk## AMD SC520 CDP 2420 2262cfeeSwdenk######################################################################### 2421 2262cfeeSwdenksc520_cdp_config : unconfig 2422 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) i386 i386 sc520_cdp 2423 2262cfeeSwdenk 2424 7a8e9bedSwdenksc520_spunk_config : unconfig 2425 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) i386 i386 sc520_spunk 2426 7a8e9bedSwdenk 2427 7a8e9bedSwdenksc520_spunk_rel_config : unconfig 2428 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) i386 i386 sc520_spunk 2429 7a8e9bedSwdenk 2430 43d9616cSwdenk#======================================================================== 2431 43d9616cSwdenk# MIPS 2432 43d9616cSwdenk#======================================================================== 2433 7ebf7443Swdenk######################################################################### 2434 43d9616cSwdenk## MIPS32 4Kc 2435 43d9616cSwdenk######################################################################### 2436 43d9616cSwdenk 2437 e0ac62d7Swdenkxtract_incaip = $(subst _100MHz,,$(subst _133MHz,,$(subst _150MHz,,$(subst _config,,$1)))) 2438 e0ac62d7Swdenk 2439 e0ac62d7Swdenkincaip_100MHz_config \ 2440 e0ac62d7Swdenkincaip_133MHz_config \ 2441 e0ac62d7Swdenkincaip_150MHz_config \ 2442 43d9616cSwdenkincaip_config: unconfig 2443 f9328639SMarian Balakowicz @mkdir -p $(obj)include 2444 f9328639SMarian Balakowicz @ >$(obj)include/config.h 2445 e0ac62d7Swdenk @[ -z "$(findstring _100MHz,$@)" ] || \ 2446 f9328639SMarian Balakowicz { echo "#define CPU_CLOCK_RATE 100000000" >>$(obj)include/config.h ; \ 2447 e0ac62d7Swdenk echo "... with 100MHz system clock" ; \ 2448 e0ac62d7Swdenk } 2449 e0ac62d7Swdenk @[ -z "$(findstring _133MHz,$@)" ] || \ 2450 f9328639SMarian Balakowicz { echo "#define CPU_CLOCK_RATE 133000000" >>$(obj)include/config.h ; \ 2451 e0ac62d7Swdenk echo "... with 133MHz system clock" ; \ 2452 e0ac62d7Swdenk } 2453 e0ac62d7Swdenk @[ -z "$(findstring _150MHz,$@)" ] || \ 2454 f9328639SMarian Balakowicz { echo "#define CPU_CLOCK_RATE 150000000" >>$(obj)include/config.h ; \ 2455 e0ac62d7Swdenk echo "... with 150MHz system clock" ; \ 2456 e0ac62d7Swdenk } 2457 f9328639SMarian Balakowicz @$(MKCONFIG) -a $(call xtract_incaip,$@) mips mips incaip 2458 e0ac62d7Swdenk 2459 f4863a7aSwdenktb0229_config: unconfig 2460 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) mips mips tb0229 2461 f4863a7aSwdenk 2462 e0ac62d7Swdenk######################################################################### 2463 69459791Swdenk## MIPS32 AU1X00 2464 69459791Swdenk######################################################################### 2465 69459791Swdenkdbau1000_config : unconfig 2466 f9328639SMarian Balakowicz @mkdir -p $(obj)include 2467 f9328639SMarian Balakowicz @ >$(obj)include/config.h 2468 f9328639SMarian Balakowicz @echo "#define CONFIG_DBAU1000 1" >>$(obj)include/config.h 2469 f9328639SMarian Balakowicz @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00 2470 69459791Swdenk 2471 69459791Swdenkdbau1100_config : unconfig 2472 f9328639SMarian Balakowicz @mkdir -p $(obj)include 2473 f9328639SMarian Balakowicz @ >$(obj)include/config.h 2474 f9328639SMarian Balakowicz @echo "#define CONFIG_DBAU1100 1" >>$(obj)include/config.h 2475 f9328639SMarian Balakowicz @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00 2476 69459791Swdenk 2477 69459791Swdenkdbau1500_config : unconfig 2478 f9328639SMarian Balakowicz @mkdir -p $(obj)include 2479 f9328639SMarian Balakowicz @ >$(obj)include/config.h 2480 f9328639SMarian Balakowicz @echo "#define CONFIG_DBAU1500 1" >>$(obj)include/config.h 2481 f9328639SMarian Balakowicz @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00 2482 69459791Swdenk 2483 ff36fd85Swdenkdbau1550_config : unconfig 2484 f9328639SMarian Balakowicz @mkdir -p $(obj)include 2485 f9328639SMarian Balakowicz @ >$(obj)include/config.h 2486 f9328639SMarian Balakowicz @echo "#define CONFIG_DBAU1550 1" >>$(obj)include/config.h 2487 f9328639SMarian Balakowicz @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00 2488 ff36fd85Swdenk 2489 ff36fd85Swdenkdbau1550_el_config : unconfig 2490 f9328639SMarian Balakowicz @mkdir -p $(obj)include 2491 f9328639SMarian Balakowicz @ >$(obj)include/config.h 2492 f9328639SMarian Balakowicz @echo "#define CONFIG_DBAU1550 1" >>$(obj)include/config.h 2493 f9328639SMarian Balakowicz @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00 2494 ff36fd85Swdenk 2495 265817c7SWolfgang Denkpb1000_config : unconfig 2496 f9328639SMarian Balakowicz @mkdir -p $(obj)include 2497 f9328639SMarian Balakowicz @ >$(obj)include/config.h 2498 f9328639SMarian Balakowicz @echo "#define CONFIG_PB1000 1" >>$(obj)include/config.h 2499 f9328639SMarian Balakowicz @$(MKCONFIG) -a pb1x00 mips mips pb1x00 2500 265817c7SWolfgang Denk 2501 69459791Swdenk######################################################################### 2502 e0ac62d7Swdenk## MIPS64 5Kc 2503 e0ac62d7Swdenk######################################################################### 2504 43d9616cSwdenk 2505 3e38691eSwdenkpurple_config : unconfig 2506 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) mips mips purple 2507 43d9616cSwdenk 2508 4a551709Swdenk#======================================================================== 2509 4a551709Swdenk# Nios 2510 4a551709Swdenk#======================================================================== 2511 4a551709Swdenk######################################################################### 2512 4a551709Swdenk## Nios32 2513 4a551709Swdenk######################################################################### 2514 4a551709Swdenk 2515 c935d3bdSwdenkDK1C20_safe_32_config \ 2516 c935d3bdSwdenkDK1C20_standard_32_config \ 2517 4a551709SwdenkDK1C20_config: unconfig 2518 f9328639SMarian Balakowicz @mkdir -p $(obj)include 2519 f9328639SMarian Balakowicz @ >$(obj)include/config.h 2520 c935d3bdSwdenk @[ -z "$(findstring _safe_32,$@)" ] || \ 2521 f9328639SMarian Balakowicz { echo "#define CONFIG_NIOS_SAFE_32 1" >>$(obj)include/config.h ; \ 2522 c935d3bdSwdenk echo "... NIOS 'safe_32' configuration" ; \ 2523 c935d3bdSwdenk } 2524 c935d3bdSwdenk @[ -z "$(findstring _standard_32,$@)" ] || \ 2525 f9328639SMarian Balakowicz { echo "#define CONFIG_NIOS_STANDARD_32 1" >>$(obj)include/config.h ; \ 2526 c935d3bdSwdenk echo "... NIOS 'standard_32' configuration" ; \ 2527 c935d3bdSwdenk } 2528 c935d3bdSwdenk @[ -z "$(findstring DK1C20_config,$@)" ] || \ 2529 f9328639SMarian Balakowicz { echo "#define CONFIG_NIOS_STANDARD_32 1" >>$(obj)include/config.h ; \ 2530 c935d3bdSwdenk echo "... NIOS 'standard_32' configuration (DEFAULT)" ; \ 2531 c935d3bdSwdenk } 2532 f9328639SMarian Balakowicz @$(MKCONFIG) -a DK1C20 nios nios dk1c20 altera 2533 c935d3bdSwdenk 2534 c935d3bdSwdenkDK1S10_safe_32_config \ 2535 c935d3bdSwdenkDK1S10_standard_32_config \ 2536 ec4c544bSwdenkDK1S10_mtx_ldk_20_config \ 2537 c935d3bdSwdenkDK1S10_config: unconfig 2538 f9328639SMarian Balakowicz @mkdir -p $(obj)include 2539 f9328639SMarian Balakowicz @ >$(obj)include/config.h 2540 c935d3bdSwdenk @[ -z "$(findstring _safe_32,$@)" ] || \ 2541 f9328639SMarian Balakowicz { echo "#define CONFIG_NIOS_SAFE_32 1" >>$(obj)include/config.h ; \ 2542 c935d3bdSwdenk echo "... NIOS 'safe_32' configuration" ; \ 2543 c935d3bdSwdenk } 2544 c935d3bdSwdenk @[ -z "$(findstring _standard_32,$@)" ] || \ 2545 f9328639SMarian Balakowicz { echo "#define CONFIG_NIOS_STANDARD_32 1" >>$(obj)include/config.h ; \ 2546 c935d3bdSwdenk echo "... NIOS 'standard_32' configuration" ; \ 2547 c935d3bdSwdenk } 2548 ec4c544bSwdenk @[ -z "$(findstring _mtx_ldk_20,$@)" ] || \ 2549 f9328639SMarian Balakowicz { echo "#define CONFIG_NIOS_MTX_LDK_20 1" >>$(obj)include/config.h ; \ 2550 ec4c544bSwdenk echo "... NIOS 'mtx_ldk_20' configuration" ; \ 2551 ec4c544bSwdenk } 2552 c935d3bdSwdenk @[ -z "$(findstring DK1S10_config,$@)" ] || \ 2553 f9328639SMarian Balakowicz { echo "#define CONFIG_NIOS_STANDARD_32 1" >>$(obj)include/config.h ; \ 2554 c935d3bdSwdenk echo "... NIOS 'standard_32' configuration (DEFAULT)" ; \ 2555 c935d3bdSwdenk } 2556 f9328639SMarian Balakowicz @$(MKCONFIG) -a DK1S10 nios nios dk1s10 altera 2557 4a551709Swdenk 2558 aaf224abSwdenkADNPESC1_DNPEVA2_base_32_config \ 2559 aaf224abSwdenkADNPESC1_base_32_config \ 2560 aaf224abSwdenkADNPESC1_config: unconfig 2561 f9328639SMarian Balakowicz @mkdir -p $(obj)include 2562 f9328639SMarian Balakowicz @ >$(obj)include/config.h 2563 aaf224abSwdenk @[ -z "$(findstring _DNPEVA2,$@)" ] || \ 2564 f9328639SMarian Balakowicz { echo "#define CONFIG_DNPEVA2 1" >>$(obj)include/config.h ; \ 2565 aaf224abSwdenk echo "... DNP/EVA2 configuration" ; \ 2566 aaf224abSwdenk } 2567 aaf224abSwdenk @[ -z "$(findstring _base_32,$@)" ] || \ 2568 f9328639SMarian Balakowicz { echo "#define CONFIG_NIOS_BASE_32 1" >>$(obj)include/config.h ; \ 2569 aaf224abSwdenk echo "... NIOS 'base_32' configuration" ; \ 2570 aaf224abSwdenk } 2571 aaf224abSwdenk @[ -z "$(findstring ADNPESC1_config,$@)" ] || \ 2572 f9328639SMarian Balakowicz { echo "#define CONFIG_NIOS_BASE_32 1" >>$(obj)include/config.h ; \ 2573 aaf224abSwdenk echo "... NIOS 'base_32' configuration (DEFAULT)" ; \ 2574 aaf224abSwdenk } 2575 f9328639SMarian Balakowicz @$(MKCONFIG) -a ADNPESC1 nios nios adnpesc1 ssv 2576 aaf224abSwdenk 2577 5c952cf0Swdenk######################################################################### 2578 5c952cf0Swdenk## Nios-II 2579 5c952cf0Swdenk######################################################################### 2580 5c952cf0Swdenk 2581 9cc83378SScott McNuttEP1C20_config : unconfig 2582 f9328639SMarian Balakowicz @$(MKCONFIG) EP1C20 nios2 nios2 ep1c20 altera 2583 9cc83378SScott McNutt 2584 9cc83378SScott McNuttEP1S10_config : unconfig 2585 f9328639SMarian Balakowicz @$(MKCONFIG) EP1S10 nios2 nios2 ep1s10 altera 2586 9cc83378SScott McNutt 2587 9cc83378SScott McNuttEP1S40_config : unconfig 2588 f9328639SMarian Balakowicz @$(MKCONFIG) EP1S40 nios2 nios2 ep1s40 altera 2589 9cc83378SScott McNutt 2590 5c952cf0SwdenkPK1C20_config : unconfig 2591 f9328639SMarian Balakowicz @$(MKCONFIG) PK1C20 nios2 nios2 pk1c20 psyent 2592 5c952cf0Swdenk 2593 5c952cf0SwdenkPCI5441_config : unconfig 2594 f9328639SMarian Balakowicz @$(MKCONFIG) PCI5441 nios2 nios2 pci5441 psyent 2595 4a551709Swdenk 2596 507bbe3eSwdenk#======================================================================== 2597 507bbe3eSwdenk# MicroBlaze 2598 507bbe3eSwdenk#======================================================================== 2599 507bbe3eSwdenk######################################################################### 2600 507bbe3eSwdenk## Microblaze 2601 507bbe3eSwdenk######################################################################### 2602 507bbe3eSwdenksuzaku_config: unconfig 2603 f9328639SMarian Balakowicz @mkdir -p $(obj)include 2604 f9328639SMarian Balakowicz @ >$(obj)include/config.h 2605 f9328639SMarian Balakowicz @echo "#define CONFIG_SUZAKU 1" >> $(obj)include/config.h 2606 f9328639SMarian Balakowicz @$(MKCONFIG) -a $(@:_config=) microblaze microblaze suzaku AtmarkTechno 2607 507bbe3eSwdenk 2608 cfc67116SMichal Simekml401_config: unconfig 2609 cdd917a4SWolfgang Denk @mkdir -p $(obj)include 2610 cdd917a4SWolfgang Denk @ >$(obj)include/config.h 2611 cdd917a4SWolfgang Denk @echo "#define CONFIG_ML401 1" >> $(obj)include/config.h 2612 90b1b2d6SGrant Likely @$(MKCONFIG) -a $(@:_config=) microblaze microblaze ml401 xilinx 2613 cfc67116SMichal Simek 2614 17980495SMichal Simekxupv2p_config: unconfig 2615 cdd917a4SWolfgang Denk @mkdir -p $(obj)include 2616 cdd917a4SWolfgang Denk @ >$(obj)include/config.h 2617 cdd917a4SWolfgang Denk @echo "#define CONFIG_XUPV2P 1" >> $(obj)include/config.h 2618 90b1b2d6SGrant Likely @$(MKCONFIG) -a $(@:_config=) microblaze microblaze xupv2p xilinx 2619 17980495SMichal Simek 2620 3e38691eSwdenk######################################################################### 2621 0afe519aSWolfgang Denk## Blackfin 2622 0afe519aSWolfgang Denk######################################################################### 2623 ef26a08fSAubrey.Libf533-ezkit_config: unconfig 2624 ef26a08fSAubrey.Li @$(MKCONFIG) $(@:_config=) blackfin bf533 bf533-ezkit 2625 0afe519aSWolfgang Denk 2626 ef26a08fSAubrey.Libf533-stamp_config: unconfig 2627 ef26a08fSAubrey.Li @$(MKCONFIG) $(@:_config=) blackfin bf533 bf533-stamp 2628 0afe519aSWolfgang Denk 2629 26bf7decSAubrey Libf537-stamp_config: unconfig 2630 26bf7decSAubrey Li @$(MKCONFIG) $(@:_config=) blackfin bf537 bf537-stamp 2631 26bf7decSAubrey Li 2632 65458987SAubrey Libf561-ezkit_config: unconfig 2633 65458987SAubrey Li @$(MKCONFIG) $(@:_config=) blackfin bf561 bf561-ezkit 2634 0afe519aSWolfgang Denk 2635 5e3b0bc1SHaavard Skinnemoen#======================================================================== 2636 5e3b0bc1SHaavard Skinnemoen# AVR32 2637 5e3b0bc1SHaavard Skinnemoen#======================================================================== 2638 5e3b0bc1SHaavard Skinnemoen######################################################################### 2639 5e3b0bc1SHaavard Skinnemoen## AT32AP7xxx 2640 5e3b0bc1SHaavard Skinnemoen######################################################################### 2641 5e3b0bc1SHaavard Skinnemoen 2642 5e3b0bc1SHaavard Skinnemoenatstk1002_config : unconfig 2643 90b1b2d6SGrant Likely @$(MKCONFIG) $(@:_config=) avr32 at32ap atstk1000 atmel at32ap7000 2644 5e3b0bc1SHaavard Skinnemoen 2645 0afe519aSWolfgang Denk######################################################################### 2646 0afe519aSWolfgang Denk######################################################################### 2647 3e38691eSwdenk######################################################################### 2648 7ebf7443Swdenk 2649 7ebf7443Swdenkclean: 2650 f9328639SMarian Balakowicz find $(OBJTREE) -type f \ 2651 7ebf7443Swdenk \( -name 'core' -o -name '*.bak' -o -name '*~' \ 2652 7ebf7443Swdenk -o -name '*.o' -o -name '*.a' \) -print \ 2653 7ebf7443Swdenk | xargs rm -f 2654 f9328639SMarian Balakowicz rm -f $(obj)examples/hello_world $(obj)examples/timer \ 2655 f9328639SMarian Balakowicz $(obj)examples/eepro100_eeprom $(obj)examples/sched \ 2656 f9328639SMarian Balakowicz $(obj)examples/mem_to_mem_idma2intr $(obj)examples/82559_eeprom \ 2657 d214fbbdSWolfgang Denk $(obj)examples/smc91111_eeprom $(obj)examples/interrupt \ 2658 f9328639SMarian Balakowicz $(obj)examples/test_burst 2659 f9328639SMarian Balakowicz rm -f $(obj)tools/img2srec $(obj)tools/mkimage $(obj)tools/envcrc \ 2660 566a494fSHeiko Schocher $(obj)tools/gen_eth_addr $(obj)tools/ubsha1 2661 f9328639SMarian Balakowicz rm -f $(obj)tools/mpc86x_clk $(obj)tools/ncb 2662 f9328639SMarian Balakowicz rm -f $(obj)tools/easylogo/easylogo $(obj)tools/bmp_logo 2663 f9328639SMarian Balakowicz rm -f $(obj)tools/gdb/astest $(obj)tools/gdb/gdbcont $(obj)tools/gdb/gdbsend 2664 f9328639SMarian Balakowicz rm -f $(obj)tools/env/fw_printenv $(obj)tools/env/fw_setenv 2665 f9328639SMarian Balakowicz rm -f $(obj)board/cray/L1/bootscript.c $(obj)board/cray/L1/bootscript.image 2666 f9328639SMarian Balakowicz rm -f $(obj)board/netstar/eeprom $(obj)board/netstar/crcek $(obj)board/netstar/crcit 2667 f9328639SMarian Balakowicz rm -f $(obj)board/netstar/*.srec $(obj)board/netstar/*.bin 2668 f9328639SMarian Balakowicz rm -f $(obj)board/trab/trab_fkt $(obj)board/voiceblue/eeprom 2669 f9328639SMarian Balakowicz rm -f $(obj)board/integratorap/u-boot.lds $(obj)board/integratorcp/u-boot.lds 2670 8440bb14SAubrey Li rm -f $(obj)board/bf533-ezkit/u-boot.lds $(obj)board/bf533-stamp/u-boot.lds 2671 65458987SAubrey Li rm -f $(obj)board/bf537-stamp/u-boot.lds $(obj)board/bf561-ezkit/u-boot.lds 2672 f9328639SMarian Balakowicz rm -f $(obj)include/bmp_logo.h 2673 8318fbf8SMarian Balakowicz rm -f $(obj)nand_spl/u-boot-spl $(obj)nand_spl/u-boot-spl.map 2674 7ebf7443Swdenk 2675 7ebf7443Swdenkclobber: clean 2676 f9328639SMarian Balakowicz find $(OBJTREE) -type f \( -name .depend \ 2677 4c0d4c3bSwdenk -o -name '*.srec' -o -name '*.bin' -o -name u-boot.img \) \ 2678 4c0d4c3bSwdenk -print0 \ 2679 4c0d4c3bSwdenk | xargs -0 rm -f 2680 f9328639SMarian Balakowicz rm -f $(OBJS) $(obj)*.bak $(obj)ctags $(obj)etags $(obj)TAGS $(obj)include/version_autogenerated.h 2681 f9328639SMarian Balakowicz rm -fr $(obj)*.*~ 2682 f9328639SMarian Balakowicz rm -f $(obj)u-boot $(obj)u-boot.map $(obj)u-boot.hex $(ALL) 2683 566a494fSHeiko Schocher rm -f $(obj)tools/crc32.c $(obj)tools/environment.c $(obj)tools/env/crc32.c $(obj)tools/sha1.c 2684 f9328639SMarian Balakowicz rm -f $(obj)tools/inca-swap-bytes $(obj)cpu/mpc824x/bedbug_603e.c 2685 f9328639SMarian Balakowicz rm -f $(obj)include/asm/proc $(obj)include/asm/arch $(obj)include/asm 2686 8318fbf8SMarian Balakowicz [ ! -d $(OBJTREE)/nand_spl ] || find $(obj)nand_spl -lname "*" -print | xargs rm -f 2687 7ebf7443Swdenk 2688 f9328639SMarian Balakowiczifeq ($(OBJTREE),$(SRCTREE)) 2689 7ebf7443Swdenkmrproper \ 2690 7ebf7443Swdenkdistclean: clobber unconfig 2691 f9328639SMarian Balakowiczelse 2692 f9328639SMarian Balakowiczmrproper \ 2693 f9328639SMarian Balakowiczdistclean: clobber unconfig 2694 f9328639SMarian Balakowicz rm -rf $(OBJTREE)/* 2695 f9328639SMarian Balakowiczendif 2696 7ebf7443Swdenk 2697 7ebf7443Swdenkbackup: 2698 7ebf7443Swdenk F=`basename $(TOPDIR)` ; cd .. ; \ 2699 7ebf7443Swdenk gtar --force-local -zcvf `date "+$$F-%Y-%m-%d-%T.tar.gz"` $$F 2700 7ebf7443Swdenk 2701 7ebf7443Swdenk######################################################################### 2702