1 7ebf7443Swdenk# 2 ae6d1056SWolfgang Denk# (C) Copyright 2000-2008 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 699f0512SWolfgang DenkSUBLEVEL = 4 27 cd82919eSWolfgang 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 ae6d1056SWolfgang Denk# Allow for silent builds 50 ae6d1056SWolfgang Denkifeq (,$(findstring s,$(MAKEFLAGS))) 51 ae6d1056SWolfgang DenkXECHO = echo 52 ae6d1056SWolfgang Denkelse 53 ae6d1056SWolfgang DenkXECHO = : 54 ae6d1056SWolfgang Denkendif 55 ae6d1056SWolfgang Denk 56 ae6d1056SWolfgang Denk######################################################################### 57 f9328639SMarian Balakowicz# 58 f9328639SMarian Balakowicz# U-boot build supports producing a object files to the separate external 59 f9328639SMarian Balakowicz# directory. Two use cases are supported: 60 f9328639SMarian Balakowicz# 61 f9328639SMarian Balakowicz# 1) Add O= to the make command line 62 f9328639SMarian Balakowicz# 'make O=/tmp/build all' 63 f9328639SMarian Balakowicz# 64 f9328639SMarian Balakowicz# 2) Set environement variable BUILD_DIR to point to the desired location 65 f9328639SMarian Balakowicz# 'export BUILD_DIR=/tmp/build' 66 f9328639SMarian Balakowicz# 'make' 67 f9328639SMarian Balakowicz# 68 f9328639SMarian Balakowicz# The second approach can also be used with a MAKEALL script 69 f9328639SMarian Balakowicz# 'export BUILD_DIR=/tmp/build' 70 f9328639SMarian Balakowicz# './MAKEALL' 71 f9328639SMarian Balakowicz# 72 f9328639SMarian Balakowicz# Command line 'O=' setting overrides BUILD_DIR environent variable. 73 f9328639SMarian Balakowicz# 74 f9328639SMarian Balakowicz# When none of the above methods is used the local build is performed and 75 f9328639SMarian Balakowicz# the object files are placed in the source directory. 76 f9328639SMarian Balakowicz# 77 7ebf7443Swdenk 78 f9328639SMarian Balakowiczifdef O 79 f9328639SMarian Balakowiczifeq ("$(origin O)", "command line") 80 f9328639SMarian BalakowiczBUILD_DIR := $(O) 81 f9328639SMarian Balakowiczendif 82 f9328639SMarian Balakowiczendif 83 7ebf7443Swdenk 84 f9328639SMarian Balakowiczifneq ($(BUILD_DIR),) 85 f9328639SMarian Balakowiczsaved-output := $(BUILD_DIR) 86 4f0645ebSMarian Balakowicz 87 4f0645ebSMarian Balakowicz# Attempt to create a output directory. 88 4f0645ebSMarian Balakowicz$(shell [ -d ${BUILD_DIR} ] || mkdir -p ${BUILD_DIR}) 89 4f0645ebSMarian Balakowicz 90 4f0645ebSMarian Balakowicz# Verify if it was successful. 91 f9328639SMarian BalakowiczBUILD_DIR := $(shell cd $(BUILD_DIR) && /bin/pwd) 92 f9328639SMarian Balakowicz$(if $(BUILD_DIR),,$(error output directory "$(saved-output)" does not exist)) 93 f9328639SMarian Balakowiczendif # ifneq ($(BUILD_DIR),) 94 f9328639SMarian Balakowicz 95 f9328639SMarian BalakowiczOBJTREE := $(if $(BUILD_DIR),$(BUILD_DIR),$(CURDIR)) 96 f9328639SMarian BalakowiczSRCTREE := $(CURDIR) 97 f9328639SMarian BalakowiczTOPDIR := $(SRCTREE) 98 f9328639SMarian BalakowiczLNDIR := $(OBJTREE) 99 f9328639SMarian Balakowiczexport TOPDIR SRCTREE OBJTREE 100 f9328639SMarian Balakowicz 101 f9328639SMarian BalakowiczMKCONFIG := $(SRCTREE)/mkconfig 102 f9328639SMarian Balakowiczexport MKCONFIG 103 f9328639SMarian Balakowicz 104 f9328639SMarian Balakowiczifneq ($(OBJTREE),$(SRCTREE)) 105 f9328639SMarian BalakowiczREMOTE_BUILD := 1 106 f9328639SMarian Balakowiczexport REMOTE_BUILD 107 f9328639SMarian Balakowiczendif 108 f9328639SMarian Balakowicz 109 f9328639SMarian Balakowicz# $(obj) and (src) are defined in config.mk but here in main Makefile 110 f9328639SMarian Balakowicz# we also need them before config.mk is included which is the case for 111 f9328639SMarian Balakowicz# some targets like unconfig, clean, clobber, distclean, etc. 112 f9328639SMarian Balakowiczifneq ($(OBJTREE),$(SRCTREE)) 113 f9328639SMarian Balakowiczobj := $(OBJTREE)/ 114 f9328639SMarian Balakowiczsrc := $(SRCTREE)/ 115 f9328639SMarian Balakowiczelse 116 f9328639SMarian Balakowiczobj := 117 f9328639SMarian Balakowiczsrc := 118 f9328639SMarian Balakowiczendif 119 f9328639SMarian Balakowiczexport obj src 120 f9328639SMarian Balakowicz 121 5013c09fSWolfgang Denk# Make sure CDPATH settings don't interfere 122 5013c09fSWolfgang Denkunexport CDPATH 123 5013c09fSWolfgang Denk 124 f9328639SMarian Balakowicz######################################################################### 125 f9328639SMarian Balakowicz 126 f8f9dc98SKumar Galaifeq ($(ARCH),powerpc) 127 f8f9dc98SKumar GalaARCH = ppc 128 f8f9dc98SKumar Galaendif 129 f8f9dc98SKumar Gala 130 ae6d1056SWolfgang Denkifeq ($(obj)include/config.mk,$(wildcard $(obj)include/config.mk)) 131 f9328639SMarian Balakowicz 132 7ebf7443Swdenk# load ARCH, BOARD, and CPU configuration 133 ae6d1056SWolfgang Denkinclude $(obj)include/config.mk 134 1d9f4105Swdenkexport ARCH CPU BOARD VENDOR SOC 135 f9328639SMarian Balakowicz 136 7ebf7443Swdenkifndef CROSS_COMPILE 137 a5284efdSWolfgang Denkifeq ($(HOSTARCH),$(ARCH)) 138 7ebf7443SwdenkCROSS_COMPILE = 139 7ebf7443Swdenkelse 140 7ebf7443Swdenkifeq ($(ARCH),ppc) 141 16c8d5e7SWolfgang DenkCROSS_COMPILE = ppc_8xx- 142 7ebf7443Swdenkendif 143 7ebf7443Swdenkifeq ($(ARCH),arm) 144 dc7c9a1aSwdenkCROSS_COMPILE = arm-linux- 145 7ebf7443Swdenkendif 146 2262cfeeSwdenkifeq ($(ARCH),i386) 147 7a8e9bedSwdenkCROSS_COMPILE = i386-linux- 148 7a8e9bedSwdenkendif 149 43d9616cSwdenkifeq ($(ARCH),mips) 150 43d9616cSwdenkCROSS_COMPILE = mips_4KC- 151 43d9616cSwdenkendif 152 4a551709Swdenkifeq ($(ARCH),nios) 153 4a551709SwdenkCROSS_COMPILE = nios-elf- 154 4a551709Swdenkendif 155 5c952cf0Swdenkifeq ($(ARCH),nios2) 156 5c952cf0SwdenkCROSS_COMPILE = nios2-elf- 157 5c952cf0Swdenkendif 158 4e5ca3ebSwdenkifeq ($(ARCH),m68k) 159 4e5ca3ebSwdenkCROSS_COMPILE = m68k-elf- 160 4e5ca3ebSwdenkendif 161 507bbe3eSwdenkifeq ($(ARCH),microblaze) 162 507bbe3eSwdenkCROSS_COMPILE = mb- 163 507bbe3eSwdenkendif 164 0afe519aSWolfgang Denkifeq ($(ARCH),blackfin) 165 ef26a08fSAubrey.LiCROSS_COMPILE = bfin-uclinux- 166 0afe519aSWolfgang Denkendif 167 7b64fef3SWolfgang Denkifeq ($(ARCH),avr32) 168 5374b36dSHaavard SkinnemoenCROSS_COMPILE = avr32-linux- 169 7b64fef3SWolfgang Denkendif 170 0b135cfcSNobuhiro Iwamatsuifeq ($(ARCH),sh) 171 0b135cfcSNobuhiro IwamatsuCROSS_COMPILE = sh4-linux- 172 c2f02da2SDaniel Hellstromendif 173 c2f02da2SDaniel Hellstromifeq ($(ARCH),sparc) 174 c2f02da2SDaniel HellstromCROSS_COMPILE = sparc-elf- 175 c2f02da2SDaniel Hellstromendif # sparc 176 ae6d1056SWolfgang Denkendif # HOSTARCH,ARCH 177 ae6d1056SWolfgang Denkendif # CROSS_COMPILE 178 7ebf7443Swdenk 179 7ebf7443Swdenkexport CROSS_COMPILE 180 7ebf7443Swdenk 181 92b197f0SWolfgang Denk# load other configuration 182 92b197f0SWolfgang Denkinclude $(TOPDIR)/config.mk 183 92b197f0SWolfgang Denk 184 7ebf7443Swdenk######################################################################### 185 7ebf7443Swdenk# U-Boot objects....order is important (i.e. start must be first) 186 7ebf7443Swdenk 187 7ebf7443SwdenkOBJS = cpu/$(CPU)/start.o 188 2262cfeeSwdenkifeq ($(CPU),i386) 189 2262cfeeSwdenkOBJS += cpu/$(CPU)/start16.o 190 2262cfeeSwdenkOBJS += cpu/$(CPU)/reset.o 191 2262cfeeSwdenkendif 192 7ebf7443Swdenkifeq ($(CPU),ppc4xx) 193 7ebf7443SwdenkOBJS += cpu/$(CPU)/resetvec.o 194 7ebf7443Swdenkendif 195 42d1f039Swdenkifeq ($(CPU),mpc85xx) 196 42d1f039SwdenkOBJS += cpu/$(CPU)/resetvec.o 197 42d1f039Swdenkendif 198 7ebf7443Swdenk 199 f9328639SMarian BalakowiczOBJS := $(addprefix $(obj),$(OBJS)) 200 f9328639SMarian Balakowicz 201 9fd5e31fSwdenkLIBS = lib_generic/libgeneric.a 202 7608d75fSKim PhillipsLIBS += $(shell if [ -f board/$(VENDOR)/common/Makefile ]; then echo \ 203 7608d75fSKim Phillips "board/$(VENDOR)/common/lib$(VENDOR).a"; fi) 204 7ebf7443SwdenkLIBS += cpu/$(CPU)/lib$(CPU).a 205 1d9f4105Swdenkifdef SOC 206 1d9f4105SwdenkLIBS += cpu/$(CPU)/$(SOC)/lib$(SOC).a 207 1d9f4105Swdenkendif 208 323bfa8fSStefan Roeseifeq ($(CPU),ixp) 209 323bfa8fSStefan RoeseLIBS += cpu/ixp/npe/libnpe.a 210 323bfa8fSStefan Roeseendif 211 7ebf7443SwdenkLIBS += lib_$(ARCH)/lib$(ARCH).a 212 518e2e1aSwdenkLIBS += fs/cramfs/libcramfs.a fs/fat/libfat.a fs/fdos/libfdos.a fs/jffs2/libjffs2.a \ 213 43ea36fbSWilliam Juul fs/reiserfs/libreiserfs.a fs/ext2/libext2fs.a fs/yaffs2/libyaffs2.a 214 7ebf7443SwdenkLIBS += net/libnet.a 215 7ebf7443SwdenkLIBS += disk/libdisk.a 216 0f460a1eSJason JinLIBS += drivers/bios_emulator/libatibiosemu.a 217 33daf5b7SJean-Christophe PLAGNIOL-VILLARDLIBS += drivers/block/libblock.a 218 57a12720STsiChungLiewLIBS += drivers/dma/libdma.a 219 f868cc5aSJean-Christophe PLAGNIOL-VILLARDLIBS += drivers/hwmon/libhwmon.a 220 080c646dSJean-Christophe PLAGNIOL-VILLARDLIBS += drivers/i2c/libi2c.a 221 16b195c8SJean-Christophe PLAGNIOL-VILLARDLIBS += drivers/input/libinput.a 222 318c0b90SJean-Christophe PLAGNIOL-VILLARDLIBS += drivers/misc/libmisc.a 223 5ce13051SHaavard SkinnemoenLIBS += drivers/mmc/libmmc.a 224 59829cc1SJean-Christophe PLAGNIOL-VILLARDLIBS += drivers/mtd/libmtd.a 225 59829cc1SJean-Christophe PLAGNIOL-VILLARDLIBS += drivers/mtd/nand/libnand.a 226 59829cc1SJean-Christophe PLAGNIOL-VILLARDLIBS += drivers/mtd/nand_legacy/libnand_legacy.a 227 59829cc1SJean-Christophe PLAGNIOL-VILLARDLIBS += drivers/mtd/onenand/libonenand.a 228 d25ce7d2SHaavard SkinnemoenLIBS += drivers/mtd/spi/libspi_flash.a 229 8e585f02STsiChung LiewLIBS += drivers/net/libnet.a 230 *55195773SJean-Christophe PLAGNIOL-VILLARDLIBS += drivers/net/phy/libphy.a 231 2439e4bfSJean-Christophe PLAGNIOL-VILLARDLIBS += drivers/net/sk98lin/libsk98lin.a 232 93a686eeSJean-Christophe PLAGNIOL-VILLARDLIBS += drivers/pci/libpci.a 233 73646217SJean-Christophe PLAGNIOL-VILLARDLIBS += drivers/pcmcia/libpcmcia.a 234 04a9e118SBen WarrenLIBS += drivers/spi/libspi.a 235 7737d5c6SDave Liuifeq ($(CPU),mpc83xx) 236 7737d5c6SDave LiuLIBS += drivers/qe/qe.a 237 7737d5c6SDave Liuendif 238 da9d4610SAndy Flemingifeq ($(CPU),mpc85xx) 239 da9d4610SAndy FlemingLIBS += drivers/qe/qe.a 240 58e5e9afSKumar GalaLIBS += cpu/mpc8xxx/ddr/libddr.a 241 58e5e9afSKumar Galaendif 242 58e5e9afSKumar Galaifeq ($(CPU),mpc86xx) 243 58e5e9afSKumar GalaLIBS += cpu/mpc8xxx/ddr/libddr.a 244 da9d4610SAndy Flemingendif 245 59829cc1SJean-Christophe PLAGNIOL-VILLARDLIBS += drivers/rtc/librtc.a 246 8e585f02STsiChung LiewLIBS += drivers/serial/libserial.a 247 59829cc1SJean-Christophe PLAGNIOL-VILLARDLIBS += drivers/usb/libusb.a 248 59829cc1SJean-Christophe PLAGNIOL-VILLARDLIBS += drivers/video/libvideo.a 249 7ebf7443SwdenkLIBS += common/libcommon.a 250 7651f8bdSGerald Van BarenLIBS += libfdt/libfdt.a 251 500856ebSRafal JaworowskiLIBS += api/libapi.a 252 2d2b994aSYuri TikhonovLIBS += post/libpost.a 253 f9328639SMarian Balakowicz 254 f9328639SMarian BalakowiczLIBS := $(addprefix $(obj),$(LIBS)) 255 019895a8SStefano Babic.PHONY : $(LIBS) $(VERSION_FILE) 256 a8c7c708Swdenk 257 de109d90SWolfgang DenkLIBBOARD = board/$(BOARDDIR)/lib$(BOARD).a 258 de109d90SWolfgang DenkLIBBOARD := $(addprefix $(obj),$(LIBBOARD)) 259 de109d90SWolfgang Denk 260 4f7cb08eSwdenk# Add GCC lib 261 1a344f29SwdenkPLATFORM_LIBS += -L $(shell dirname `$(CC) $(CFLAGS) -print-libgcc-file-name`) -lgcc 262 3d3befa7Swdenk 263 a8c7c708Swdenk# The "tools" are needed early, so put this first 264 a8c7c708Swdenk# Don't include stuff already done in $(LIBS) 265 a8c7c708SwdenkSUBDIRS = tools \ 266 0dc1fc22SRafal Jaworowski examples \ 267 0dc1fc22SRafal Jaworowski api_examples 268 500856ebSRafal Jaworowski 269 b028f715Swdenk.PHONY : $(SUBDIRS) 270 a8c7c708Swdenk 271 887e2ec9SStefan Roeseifeq ($(CONFIG_NAND_U_BOOT),y) 272 887e2ec9SStefan RoeseNAND_SPL = nand_spl 273 887e2ec9SStefan RoeseU_BOOT_NAND = $(obj)u-boot-nand.bin 274 887e2ec9SStefan Roeseendif 275 887e2ec9SStefan Roese 276 751b9b51SKyungmin Parkifeq ($(CONFIG_ONENAND_U_BOOT),y) 277 751b9b51SKyungmin ParkONENAND_IPL = onenand_ipl 278 751b9b51SKyungmin ParkU_BOOT_ONENAND = $(obj)u-boot-onenand.bin 279 751b9b51SKyungmin Parkendif 280 751b9b51SKyungmin Park 281 f9328639SMarian Balakowicz__OBJS := $(subst $(obj),,$(OBJS)) 282 de109d90SWolfgang Denk__LIBS := $(subst $(obj),,$(LIBS)) $(subst $(obj),,$(LIBBOARD)) 283 f9328639SMarian Balakowicz 284 7ebf7443Swdenk######################################################################### 285 bdccc4feSwdenk######################################################################### 286 7ebf7443Swdenk 287 751b9b51SKyungmin ParkALL += $(obj)u-boot.srec $(obj)u-boot.bin $(obj)System.map $(U_BOOT_NAND) $(U_BOOT_ONENAND) 288 94a91e24SMike Frysingerifeq ($(ARCH),blackfin) 289 94a91e24SMike FrysingerALL += $(obj)u-boot.ldr 290 94a91e24SMike Frysingerendif 291 7ebf7443Swdenk 292 bdccc4feSwdenkall: $(ALL) 293 7ebf7443Swdenk 294 f9328639SMarian Balakowicz$(obj)u-boot.hex: $(obj)u-boot 295 6310eb9dSwdenk $(OBJCOPY) ${OBJCFLAGS} -O ihex $< $@ 296 6310eb9dSwdenk 297 f9328639SMarian Balakowicz$(obj)u-boot.srec: $(obj)u-boot 298 7ebf7443Swdenk $(OBJCOPY) ${OBJCFLAGS} -O srec $< $@ 299 7ebf7443Swdenk 300 f9328639SMarian Balakowicz$(obj)u-boot.bin: $(obj)u-boot 301 7ebf7443Swdenk $(OBJCOPY) ${OBJCFLAGS} -O binary $< $@ 302 7ebf7443Swdenk 303 94a91e24SMike Frysinger$(obj)u-boot.ldr: $(obj)u-boot 304 94a91e24SMike Frysinger $(LDR) -T $(CONFIG_BFIN_CPU) -f -c $@ $< $(LDR_FLAGS) 305 94a91e24SMike Frysinger 306 94a91e24SMike Frysinger$(obj)u-boot.ldr.hex: $(obj)u-boot.ldr 307 94a91e24SMike Frysinger $(OBJCOPY) ${OBJCFLAGS} -O ihex $< $@ -I binary 308 94a91e24SMike Frysinger 309 94a91e24SMike Frysinger$(obj)u-boot.ldr.srec: $(obj)u-boot.ldr 310 94a91e24SMike Frysinger $(OBJCOPY) ${OBJCFLAGS} -O srec $< $@ -I binary 311 94a91e24SMike Frysinger 312 f9328639SMarian Balakowicz$(obj)u-boot.img: $(obj)u-boot.bin 313 bdccc4feSwdenk ./tools/mkimage -A $(ARCH) -T firmware -C none \ 314 bdccc4feSwdenk -a $(TEXT_BASE) -e 0 \ 315 881a87ecSWolfgang Denk -n $(shell sed -n -e 's/.*U_BOOT_VERSION//p' $(VERSION_FILE) | \ 316 bdccc4feSwdenk sed -e 's/"[ ]*$$/ for $(BOARD) board"/') \ 317 bdccc4feSwdenk -d $< $@ 318 bdccc4feSwdenk 319 566a494fSHeiko Schocher$(obj)u-boot.sha1: $(obj)u-boot.bin 320 01159530SHeiko Schocher $(obj)tools/ubsha1 $(obj)u-boot.bin 321 566a494fSHeiko Schocher 322 f9328639SMarian Balakowicz$(obj)u-boot.dis: $(obj)u-boot 323 7ebf7443Swdenk $(OBJDUMP) -d $< > $@ 324 7ebf7443Swdenk 325 de109d90SWolfgang Denk$(obj)u-boot: depend $(SUBDIRS) $(OBJS) $(LIBBOARD) $(LIBS) $(LDSCRIPT) 326 de109d90SWolfgang Denk UNDEF_SYM=`$(OBJDUMP) -x $(LIBBOARD) $(LIBS) | \ 327 de109d90SWolfgang Denk sed -n -e 's/.*\($(SYM_PREFIX)__u_boot_cmd_.*\)/-u\1/p'|sort|uniq`;\ 328 f9328639SMarian Balakowicz cd $(LNDIR) && $(LD) $(LDFLAGS) $$UNDEF_SYM $(__OBJS) \ 329 f9328639SMarian Balakowicz --start-group $(__LIBS) --end-group $(PLATFORM_LIBS) \ 330 b2184c31Swdenk -Map u-boot.map -o u-boot 331 7ebf7443Swdenk 332 88f72527SJohannes Stezenbach$(OBJS): depend $(obj)include/autoconf.mk 333 f9328639SMarian Balakowicz $(MAKE) -C cpu/$(CPU) $(if $(REMOTE_BUILD),$@,$(notdir $@)) 334 f9328639SMarian Balakowicz 335 88f72527SJohannes Stezenbach$(LIBS): depend $(obj)include/autoconf.mk 336 f9328639SMarian Balakowicz $(MAKE) -C $(dir $(subst $(obj),,$@)) 337 a8c7c708Swdenk 338 de109d90SWolfgang Denk$(LIBBOARD): depend $(LIBS) $(obj)include/autoconf.mk 339 de109d90SWolfgang Denk $(MAKE) -C $(dir $(subst $(obj),,$@)) 340 de109d90SWolfgang Denk 341 88f72527SJohannes Stezenbach$(SUBDIRS): depend $(obj)include/autoconf.mk 342 b028f715Swdenk $(MAKE) -C $@ all 343 7ebf7443Swdenk 344 f65c9812SMike Frysinger$(LDSCRIPT): depend $(obj)include/autoconf.mk 345 f65c9812SMike Frysinger $(MAKE) -C $(dir $@) $(notdir $@) 346 f65c9812SMike Frysinger 347 dd531aacSWolfgang Denk$(NAND_SPL): $(VERSION_FILE) $(obj)include/autoconf.mk 348 8318fbf8SMarian Balakowicz $(MAKE) -C nand_spl/board/$(BOARDDIR) all 349 887e2ec9SStefan Roese 350 dd531aacSWolfgang Denk$(U_BOOT_NAND): $(NAND_SPL) $(obj)u-boot.bin $(obj)include/autoconf.mk 351 8318fbf8SMarian Balakowicz cat $(obj)nand_spl/u-boot-spl-16k.bin $(obj)u-boot.bin > $(obj)u-boot-nand.bin 352 887e2ec9SStefan Roese 353 751b9b51SKyungmin Park$(ONENAND_IPL): $(VERSION_FILE) $(obj)include/autoconf.mk 354 f2302d44SStefan Roese $(MAKE) -C onenand_ipl/board/$(BOARDDIR) all 355 751b9b51SKyungmin Park 356 751b9b51SKyungmin Park$(U_BOOT_ONENAND): $(ONENAND_IPL) $(obj)u-boot.bin $(obj)include/autoconf.mk 357 751b9b51SKyungmin Park cat $(obj)onenand_ipl/onenand-ipl-2k.bin $(obj)u-boot.bin > $(obj)u-boot-onenand.bin 358 1bb707c3SKyungmin Park cat $(obj)onenand_ipl/onenand-ipl-4k.bin $(obj)u-boot.bin > $(obj)u-boot-flexonenand.bin 359 751b9b51SKyungmin Park 360 ae6d1056SWolfgang Denk$(VERSION_FILE): 361 aa737945SMike Frysinger @( printf '#define U_BOOT_VERSION "U-Boot %s%s"\n' "$(U_BOOT_VERSION)" \ 362 aa737945SMike Frysinger '$(shell $(CONFIG_SHELL) $(TOPDIR)/tools/setlocalversion $(TOPDIR))' \ 363 aa737945SMike Frysinger ) > $@.tmp 364 0ec7a061SMike Frysinger @cmp -s $@ $@.tmp && rm -f $@.tmp || mv -f $@.tmp $@ 365 881a87ecSWolfgang Denk 366 8f713fdfSdzugdbtools: 367 f9328639SMarian Balakowicz $(MAKE) -C tools/gdb all || exit 1 368 f9328639SMarian Balakowicz 369 f9328639SMarian Balakowiczupdater: 370 f9328639SMarian Balakowicz $(MAKE) -C tools/updater all || exit 1 371 f9328639SMarian Balakowicz 372 f9328639SMarian Balakowiczenv: 373 64b3727bSMarkus Klotzbücher $(MAKE) -C tools/env all MTD_VERSION=${MTD_VERSION} || exit 1 374 8f713fdfSdzu 375 ae6d1056SWolfgang Denkdepend dep: $(VERSION_FILE) 376 f9328639SMarian Balakowicz for dir in $(SUBDIRS) ; do $(MAKE) -C $$dir _depend ; done 377 7ebf7443Swdenk 378 a340c325SJean-Christophe PLAGNIOL-VILLARDTAG_SUBDIRS += include 379 a340c325SJean-Christophe PLAGNIOL-VILLARDTAG_SUBDIRS += lib_generic board/$(BOARDDIR) 380 a340c325SJean-Christophe PLAGNIOL-VILLARDTAG_SUBDIRS += cpu/$(CPU) 381 a340c325SJean-Christophe PLAGNIOL-VILLARDTAG_SUBDIRS += lib_$(ARCH) 382 a340c325SJean-Christophe PLAGNIOL-VILLARDTAG_SUBDIRS += fs/cramfs 383 a340c325SJean-Christophe PLAGNIOL-VILLARDTAG_SUBDIRS += fs/fat 384 a340c325SJean-Christophe PLAGNIOL-VILLARDTAG_SUBDIRS += fs/fdos 385 a340c325SJean-Christophe PLAGNIOL-VILLARDTAG_SUBDIRS += fs/jffs2 386 43ea36fbSWilliam JuulTAG_SUBDIRS += fs/yaffs2 387 a340c325SJean-Christophe PLAGNIOL-VILLARDTAG_SUBDIRS += net 388 a340c325SJean-Christophe PLAGNIOL-VILLARDTAG_SUBDIRS += disk 389 a340c325SJean-Christophe PLAGNIOL-VILLARDTAG_SUBDIRS += common 390 a340c325SJean-Christophe PLAGNIOL-VILLARDTAG_SUBDIRS += drivers/bios_emulator 391 a340c325SJean-Christophe PLAGNIOL-VILLARDTAG_SUBDIRS += drivers/block 392 a340c325SJean-Christophe PLAGNIOL-VILLARDTAG_SUBDIRS += drivers/hwmon 393 a340c325SJean-Christophe PLAGNIOL-VILLARDTAG_SUBDIRS += drivers/i2c 394 a340c325SJean-Christophe PLAGNIOL-VILLARDTAG_SUBDIRS += drivers/input 395 a340c325SJean-Christophe PLAGNIOL-VILLARDTAG_SUBDIRS += drivers/misc 396 5ce13051SHaavard SkinnemoenTAG_SUBDIRS += drivers/mmc 397 a340c325SJean-Christophe PLAGNIOL-VILLARDTAG_SUBDIRS += drivers/mtd 398 a340c325SJean-Christophe PLAGNIOL-VILLARDTAG_SUBDIRS += drivers/mtd/nand 399 a340c325SJean-Christophe PLAGNIOL-VILLARDTAG_SUBDIRS += drivers/mtd/nand_legacy 400 a340c325SJean-Christophe PLAGNIOL-VILLARDTAG_SUBDIRS += drivers/mtd/onenand 401 d25ce7d2SHaavard SkinnemoenTAG_SUBDIRS += drivers/mtd/spi 402 a340c325SJean-Christophe PLAGNIOL-VILLARDTAG_SUBDIRS += drivers/net 403 a340c325SJean-Christophe PLAGNIOL-VILLARDTAG_SUBDIRS += drivers/net/sk98lin 404 a340c325SJean-Christophe PLAGNIOL-VILLARDTAG_SUBDIRS += drivers/pci 405 a340c325SJean-Christophe PLAGNIOL-VILLARDTAG_SUBDIRS += drivers/pcmcia 406 a340c325SJean-Christophe PLAGNIOL-VILLARDTAG_SUBDIRS += drivers/qe 407 a340c325SJean-Christophe PLAGNIOL-VILLARDTAG_SUBDIRS += drivers/rtc 408 a340c325SJean-Christophe PLAGNIOL-VILLARDTAG_SUBDIRS += drivers/serial 409 04a9e118SBen WarrenTAG_SUBDIRS += drivers/spi 410 a340c325SJean-Christophe PLAGNIOL-VILLARDTAG_SUBDIRS += drivers/usb 411 a340c325SJean-Christophe PLAGNIOL-VILLARDTAG_SUBDIRS += drivers/video 412 a340c325SJean-Christophe PLAGNIOL-VILLARD 413 f9328639SMarian Balakowicztags ctags: 414 ae6d1056SWolfgang Denk ctags -w -o $(obj)ctags `find $(SUBDIRS) $(TAG_SUBDIRS) \ 415 88fed9a1SWolfgang Denk -name '*.[ch]' -print` 416 7ebf7443Swdenk 417 7ebf7443Swdenketags: 418 ae6d1056SWolfgang Denk etags -a -o $(obj)etags `find $(SUBDIRS) $(TAG_SUBDIRS) \ 419 88fed9a1SWolfgang Denk -name '*.[ch]' -print` 420 ffda586fSLi Yangcscope: 421 ffda586fSLi Yang find $(SUBDIRS) $(TAG_SUBDIRS) -name '*.[ch]' -print \ 422 ffda586fSLi Yang > cscope.files 423 ffda586fSLi Yang cscope -b -q -k 424 7ebf7443Swdenk 425 f9328639SMarian Balakowicz$(obj)System.map: $(obj)u-boot 426 7ebf7443Swdenk @$(NM) $< | \ 427 7ebf7443Swdenk grep -v '\(compiled\)\|\(\.o$$\)\|\( [aUw] \)\|\(\.\.ng$$\)\|\(LASH[RL]DI\)' | \ 428 f9328639SMarian Balakowicz sort > $(obj)System.map 429 7ebf7443Swdenk 430 2f155f6cSGrant Likely# 431 2f155f6cSGrant Likely# Auto-generate the autoconf.mk file (which is included by all makefiles) 432 2f155f6cSGrant Likely# 433 2f155f6cSGrant Likely# This target actually generates 2 files; autoconf.mk and autoconf.mk.dep. 434 2f155f6cSGrant Likely# the dep file is only include in this top level makefile to determine when 435 2f155f6cSGrant Likely# to regenerate the autoconf.mk file. 436 1510b82dSWolfgang Denk$(obj)include/autoconf.mk.dep: $(obj)include/config.h include/common.h 437 1510b82dSWolfgang Denk @$(XECHO) Generating $@ ; \ 438 16fe7775SMike Frysinger set -e ; \ 439 ae6d1056SWolfgang Denk : Generate the dependancies ; \ 440 1510b82dSWolfgang Denk $(CC) -x c -DDO_DEPS_ONLY -M $(HOST_CFLAGS) $(CPPFLAGS) \ 441 1510b82dSWolfgang Denk -MQ $(obj)include/autoconf.mk include/common.h > $@ 442 1510b82dSWolfgang Denk 443 1510b82dSWolfgang Denk$(obj)include/autoconf.mk: $(obj)include/config.h 444 1510b82dSWolfgang Denk @$(XECHO) Generating $@ ; \ 445 1510b82dSWolfgang Denk set -e ; \ 446 ae6d1056SWolfgang Denk : Extract the config macros ; \ 447 1510b82dSWolfgang Denk $(CPP) $(CFLAGS) -DDO_DEPS_ONLY -dM include/common.h | \ 448 1510b82dSWolfgang Denk sed -n -f tools/scripts/define2mk.sed > $@ 449 2f155f6cSGrant Likely 450 ae6d1056SWolfgang Denksinclude $(obj)include/autoconf.mk.dep 451 2f155f6cSGrant Likely 452 7ebf7443Swdenk######################################################################### 453 ae6d1056SWolfgang Denkelse # !config.mk 454 f9328639SMarian Balakowiczall $(obj)u-boot.hex $(obj)u-boot.srec $(obj)u-boot.bin \ 455 f9328639SMarian Balakowicz$(obj)u-boot.img $(obj)u-boot.dis $(obj)u-boot \ 456 ae6d1056SWolfgang Denk$(SUBDIRS) $(VERSION_FILE) gdbtools updater env depend \ 457 ffda586fSLi Yangdep tags ctags etags cscope $(obj)System.map: 458 7ebf7443Swdenk @echo "System not configured - see README" >&2 459 7ebf7443Swdenk @ exit 1 460 ae6d1056SWolfgang Denkendif # config.mk 461 7ebf7443Swdenk 462 4e53a258SWolfgang Denk.PHONY : CHANGELOG 463 4e53a258SWolfgang DenkCHANGELOG: 464 b985b5d6SBen Warren git log --no-merges U-Boot-1_1_5.. | \ 465 b985b5d6SBen Warren unexpand -a | sed -e 's/\s\s*$$//' > $@ 466 4e53a258SWolfgang Denk 467 0a823aa2SHarald Welteinclude/license.h: tools/bin2header COPYING 468 0a823aa2SHarald Welte cat COPYING | gzip -9 -c | ./tools/bin2header license_gzip > include/license.h 469 7ebf7443Swdenk######################################################################### 470 7ebf7443Swdenk 471 7ebf7443Swdenkunconfig: 472 887e2ec9SStefan Roese @rm -f $(obj)include/config.h $(obj)include/config.mk \ 473 2f155f6cSGrant Likely $(obj)board/*/config.tmp $(obj)board/*/*/config.tmp \ 474 2f155f6cSGrant Likely $(obj)include/autoconf.mk $(obj)include/autoconf.mk.dep 475 7ebf7443Swdenk 476 7ebf7443Swdenk#======================================================================== 477 7ebf7443Swdenk# PowerPC 478 7ebf7443Swdenk#======================================================================== 479 0db5bca8Swdenk 480 0db5bca8Swdenk######################################################################### 481 0db5bca8Swdenk## MPC5xx Systems 482 0db5bca8Swdenk######################################################################### 483 0db5bca8Swdenk 484 5e5f9ed2Swdenkcanmb_config: unconfig 485 f9328639SMarian Balakowicz @$(MKCONFIG) -a canmb ppc mpc5xxx canmb 486 5e5f9ed2Swdenk 487 0db5bca8Swdenkcmi_mpc5xx_config: unconfig 488 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc5xx cmi 489 0db5bca8Swdenk 490 b6e4c403SwdenkPATI_config: unconfig 491 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc5xx pati mpl 492 b6e4c403Swdenk 493 7ebf7443Swdenk######################################################################### 494 945af8d7Swdenk## MPC5xxx Systems 495 945af8d7Swdenk######################################################################### 496 a87589daSwdenk 497 dafba16eSWolfgang Denkaev_config: unconfig 498 4677988cSWolfgang Grandegger @$(MKCONFIG) -a aev ppc mpc5xxx tqm5200 tqc 499 dafba16eSWolfgang Denk 500 6ca24c64Sdzu@denx.deBC3450_config: unconfig 501 f9328639SMarian Balakowicz @$(MKCONFIG) -a BC3450 ppc mpc5xxx bc3450 502 6ca24c64Sdzu@denx.de 503 699f0512SWolfgang Denkcm5200_config: unconfig 504 699f0512SWolfgang Denk @$(MKCONFIG) -a cm5200 ppc mpc5xxx cm5200 505 699f0512SWolfgang Denk 506 5e4b3361SStefan Roesecpci5200_config: unconfig 507 f9328639SMarian Balakowicz @$(MKCONFIG) -a cpci5200 ppc mpc5xxx cpci5200 esd 508 5e4b3361SStefan Roese 509 a87589daSwdenkhmi1001_config: unconfig 510 f9328639SMarian Balakowicz @$(MKCONFIG) hmi1001 ppc mpc5xxx hmi1001 511 a87589daSwdenk 512 e35745bbSwdenkLite5200_config \ 513 e35745bbSwdenkLite5200_LOWBOOT_config \ 514 e35745bbSwdenkLite5200_LOWBOOT08_config \ 515 e35745bbSwdenkicecube_5200_config \ 516 e35745bbSwdenkicecube_5200_LOWBOOT_config \ 517 e35745bbSwdenkicecube_5200_LOWBOOT08_config \ 518 b2001f27Swdenkicecube_5200_DDR_config \ 519 79d696fcSwdenkicecube_5200_DDR_LOWBOOT_config \ 520 79d696fcSwdenkicecube_5200_DDR_LOWBOOT08_config \ 521 e35745bbSwdenkicecube_5100_config: unconfig 522 f9328639SMarian Balakowicz @mkdir -p $(obj)include 523 f9328639SMarian Balakowicz @mkdir -p $(obj)board/icecube 524 17d704ebSwdenk @[ -z "$(findstring LOWBOOT_,$@)" ] || \ 525 17d704ebSwdenk { if [ "$(findstring DDR,$@)" ] ; \ 526 f9328639SMarian Balakowicz then echo "TEXT_BASE = 0xFF800000" >$(obj)board/icecube/config.tmp ; \ 527 f9328639SMarian Balakowicz else echo "TEXT_BASE = 0xFF000000" >$(obj)board/icecube/config.tmp ; \ 528 17d704ebSwdenk fi ; \ 529 ae6d1056SWolfgang Denk $(XECHO) "... with LOWBOOT configuration" ; \ 530 5cf9da48Swdenk } 531 5cf9da48Swdenk @[ -z "$(findstring LOWBOOT08,$@)" ] || \ 532 f9328639SMarian Balakowicz { echo "TEXT_BASE = 0xFF800000" >$(obj)board/icecube/config.tmp ; \ 533 5cf9da48Swdenk echo "... with 8 MB flash only" ; \ 534 ae6d1056SWolfgang Denk $(XECHO) "... with LOWBOOT configuration" ; \ 535 5cf9da48Swdenk } 536 b2001f27Swdenk @[ -z "$(findstring DDR,$@)" ] || \ 537 f9328639SMarian Balakowicz { echo "#define CONFIG_MPC5200_DDR" >>$(obj)include/config.h ; \ 538 ae6d1056SWolfgang Denk $(XECHO) "... DDR memory revision" ; \ 539 b2001f27Swdenk } 540 d4ca31c4Swdenk @[ -z "$(findstring 5200,$@)" ] || \ 541 f9328639SMarian Balakowicz { echo "#define CONFIG_MPC5200" >>$(obj)include/config.h ; \ 542 ae6d1056SWolfgang Denk $(XECHO) "... with MPC5200 processor" ; \ 543 d4ca31c4Swdenk } 544 a0f2fe52Swdenk @[ -z "$(findstring 5100,$@)" ] || \ 545 f9328639SMarian Balakowicz { echo "#define CONFIG_MGT5100" >>$(obj)include/config.h ; \ 546 ae6d1056SWolfgang Denk $(XECHO) "... with MGT5100 processor" ; \ 547 945af8d7Swdenk } 548 f9328639SMarian Balakowicz @$(MKCONFIG) -a IceCube ppc mpc5xxx icecube 549 945af8d7Swdenk 550 2605e90bSHeiko Schocherjupiter_config: unconfig 551 2605e90bSHeiko Schocher @$(MKCONFIG) jupiter ppc mpc5xxx jupiter 552 2605e90bSHeiko Schocher 553 138ff60cSwdenkinka4x0_config: unconfig 554 f9328639SMarian Balakowicz @$(MKCONFIG) inka4x0 ppc mpc5xxx inka4x0 555 138ff60cSwdenk 556 09e4b0c5SWolfgang Denklite5200b_config \ 557 d3832e8fSDomen Puncerlite5200b_PM_config \ 558 09e4b0c5SWolfgang Denklite5200b_LOWBOOT_config: unconfig 559 f9328639SMarian Balakowicz @mkdir -p $(obj)include 560 f9328639SMarian Balakowicz @mkdir -p $(obj)board/icecube 561 f9328639SMarian Balakowicz @ echo "#define CONFIG_MPC5200_DDR" >>$(obj)include/config.h 562 ae6d1056SWolfgang Denk @ $(XECHO) "... DDR memory revision" 563 f9328639SMarian Balakowicz @ echo "#define CONFIG_MPC5200" >>$(obj)include/config.h 564 f9328639SMarian Balakowicz @ echo "#define CONFIG_LITE5200B" >>$(obj)include/config.h 565 d3832e8fSDomen Puncer @[ -z "$(findstring _PM_,$@)" ] || \ 566 d3832e8fSDomen Puncer { echo "#define CONFIG_LITE5200B_PM" >>$(obj)include/config.h ; \ 567 ae6d1056SWolfgang Denk $(XECHO) "... with power management (low-power mode) support" ; \ 568 d3832e8fSDomen Puncer } 569 09e4b0c5SWolfgang Denk @[ -z "$(findstring LOWBOOT_,$@)" ] || \ 570 f9328639SMarian Balakowicz { echo "TEXT_BASE = 0xFF000000" >$(obj)board/icecube/config.tmp ; \ 571 ae6d1056SWolfgang Denk $(XECHO) "... with LOWBOOT configuration" ; \ 572 09e4b0c5SWolfgang Denk } 573 ae6d1056SWolfgang Denk @ $(XECHO) "... with MPC5200B processor" 574 f9328639SMarian Balakowicz @$(MKCONFIG) -a IceCube ppc mpc5xxx icecube 575 09e4b0c5SWolfgang Denk 576 f1ee9825SStefan Roesemcc200_config \ 577 ed1cf845SWolfgang Denkmcc200_SDRAM_config \ 578 ed1cf845SWolfgang Denkmcc200_highboot_config \ 579 ed1cf845SWolfgang Denkmcc200_COM12_config \ 580 ed1cf845SWolfgang Denkmcc200_COM12_SDRAM_config \ 581 113f64e0SWolfgang Denkmcc200_COM12_highboot_config \ 582 113f64e0SWolfgang Denkmcc200_COM12_highboot_SDRAM_config \ 583 ed1cf845SWolfgang Denkmcc200_highboot_SDRAM_config \ 584 ed1cf845SWolfgang Denkprs200_config \ 585 ed1cf845SWolfgang Denkprs200_DDR_config \ 586 ed1cf845SWolfgang Denkprs200_highboot_config \ 587 ed1cf845SWolfgang Denkprs200_highboot_DDR_config: unconfig 588 f9328639SMarian Balakowicz @mkdir -p $(obj)include 589 f9328639SMarian Balakowicz @mkdir -p $(obj)board/mcc200 590 4819fad9SWolfgang Denk @[ -n "$(findstring highboot,$@)" ] || \ 591 ae6d1056SWolfgang Denk { $(XECHO) "... with lowboot configuration" ; \ 592 f1ee9825SStefan Roese } 593 4819fad9SWolfgang Denk @[ -z "$(findstring highboot,$@)" ] || \ 594 f9328639SMarian Balakowicz { echo "TEXT_BASE = 0xFFF00000" >$(obj)board/mcc200/config.tmp ; \ 595 ae6d1056SWolfgang Denk $(XECHO) "... with highboot configuration" ; \ 596 4819fad9SWolfgang Denk } 597 4819fad9SWolfgang Denk @[ -n "$(findstring _SDRAM,$@)" ] || \ 598 ed1cf845SWolfgang Denk { if [ -n "$(findstring mcc200,$@)" ]; \ 599 ed1cf845SWolfgang Denk then \ 600 ae6d1056SWolfgang Denk $(XECHO) "... with DDR" ; \ 601 ed1cf845SWolfgang Denk else \ 602 ed1cf845SWolfgang Denk if [ -n "$(findstring _DDR,$@)" ];\ 603 ed1cf845SWolfgang Denk then \ 604 ae6d1056SWolfgang Denk $(XECHO) "... with DDR" ; \ 605 ed1cf845SWolfgang Denk else \ 606 f9328639SMarian Balakowicz echo "#define CONFIG_MCC200_SDRAM" >>$(obj)include/config.h ;\ 607 ae6d1056SWolfgang Denk $(XECHO) "... with SDRAM" ; \ 608 ed1cf845SWolfgang Denk fi; \ 609 ed1cf845SWolfgang Denk fi; \ 610 4819fad9SWolfgang Denk } 611 4819fad9SWolfgang Denk @[ -z "$(findstring _SDRAM,$@)" ] || \ 612 f9328639SMarian Balakowicz { echo "#define CONFIG_MCC200_SDRAM" >>$(obj)include/config.h ; \ 613 ae6d1056SWolfgang Denk $(XECHO) "... with SDRAM" ; \ 614 4819fad9SWolfgang Denk } 615 463764c8SWolfgang Denk @[ -z "$(findstring COM12,$@)" ] || \ 616 f9328639SMarian Balakowicz { echo "#define CONFIG_CONSOLE_COM12" >>$(obj)include/config.h ; \ 617 ae6d1056SWolfgang Denk $(XECHO) "... with console on COM12" ; \ 618 463764c8SWolfgang Denk } 619 ed1cf845SWolfgang Denk @[ -z "$(findstring prs200,$@)" ] || \ 620 f9328639SMarian Balakowicz { echo "#define CONFIG_PRS200" >>$(obj)include/config.h ;\ 621 ed1cf845SWolfgang Denk } 622 f9328639SMarian Balakowicz @$(MKCONFIG) -n $@ -a mcc200 ppc mpc5xxx mcc200 623 86ea5f93SWolfgang Denk 624 8b7d1f0aSStefan Roesemecp5200_config: unconfig 625 ae6d1056SWolfgang Denk @$(MKCONFIG) mecp5200 ppc mpc5xxx mecp5200 esd 626 8b7d1f0aSStefan Roese 627 699f0512SWolfgang Denkmotionpro_config: unconfig 628 699f0512SWolfgang Denk @$(MKCONFIG) motionpro ppc mpc5xxx motionpro 629 699f0512SWolfgang Denk 630 258c37b1SHeiko Schochermucmc52_config: unconfig 631 258c37b1SHeiko Schocher @$(MKCONFIG) mucmc52 ppc mpc5xxx mucmc52 632 258c37b1SHeiko Schocher 633 6341d9d7SHeiko Schochermunices_config: unconfig 634 ae6d1056SWolfgang Denk @$(MKCONFIG) munices ppc mpc5xxx munices 635 6341d9d7SHeiko Schocher 636 699f0512SWolfgang DenkMVBC_P_config: unconfig 637 699f0512SWolfgang Denk @mkdir -p $(obj)include 638 699f0512SWolfgang Denk @mkdir -p $(obj)board/mvbc_p 639 699f0512SWolfgang Denk @ >$(obj)include/config.h 640 699f0512SWolfgang Denk @[ -z "$(findstring MVBC_P,$@)" ] || \ 641 699f0512SWolfgang Denk { echo "#define CONFIG_MVBC_P" >>$(obj)include/config.h; } 642 699f0512SWolfgang Denk @$(MKCONFIG) -n $@ -a MVBC_P ppc mpc5xxx mvbc_p matrix_vision 643 699f0512SWolfgang Denk 644 91c82076SJean-Christophe PLAGNIOL-VILLARDo2dnt_config: unconfig 645 f9328639SMarian Balakowicz @$(MKCONFIG) o2dnt ppc mpc5xxx o2dnt 646 df04a3dfSWolfgang Denk 647 5e4b3361SStefan Roesepf5200_config: unconfig 648 f9328639SMarian Balakowicz @$(MKCONFIG) pf5200 ppc mpc5xxx pf5200 esd 649 5e4b3361SStefan Roese 650 89394047SwdenkPM520_config \ 651 89394047SwdenkPM520_DDR_config \ 652 89394047SwdenkPM520_ROMBOOT_config \ 653 89394047SwdenkPM520_ROMBOOT_DDR_config: unconfig 654 f9328639SMarian Balakowicz @mkdir -p $(obj)include 655 89394047Swdenk @[ -z "$(findstring DDR,$@)" ] || \ 656 f9328639SMarian Balakowicz { echo "#define CONFIG_MPC5200_DDR" >>$(obj)include/config.h ; \ 657 ae6d1056SWolfgang Denk $(XECHO) "... DDR memory revision" ; \ 658 89394047Swdenk } 659 89394047Swdenk @[ -z "$(findstring ROMBOOT,$@)" ] || \ 660 f9328639SMarian Balakowicz { echo "#define CONFIG_BOOT_ROM" >>$(obj)include/config.h ; \ 661 ae6d1056SWolfgang Denk $(XECHO) "... booting from 8-bit flash" ; \ 662 89394047Swdenk } 663 f9328639SMarian Balakowicz @$(MKCONFIG) -a PM520 ppc mpc5xxx pm520 664 89394047Swdenk 665 6624b687SWolfgang Denksmmaco4_config: unconfig 666 4677988cSWolfgang Grandegger @$(MKCONFIG) -a smmaco4 ppc mpc5xxx tqm5200 tqc 667 9cdc8386SWolfgang Denk 668 9cdc8386SWolfgang Denkspieval_config: unconfig 669 4677988cSWolfgang Grandegger @$(MKCONFIG) -a spieval ppc mpc5xxx tqm5200 tqc 670 9cdc8386SWolfgang Denk 671 45a212c4SWolfgang DenkTB5200_B_config \ 672 b87dfd28SWolfgang DenkTB5200_config: unconfig 673 f9328639SMarian Balakowicz @mkdir -p $(obj)include 674 45a212c4SWolfgang Denk @[ -z "$(findstring _B,$@)" ] || \ 675 f9328639SMarian Balakowicz { echo "#define CONFIG_TQM5200_B" >>$(obj)include/config.h ; \ 676 ae6d1056SWolfgang Denk $(XECHO) "... with MPC5200B processor" ; \ 677 45a212c4SWolfgang Denk } 678 4677988cSWolfgang Grandegger @$(MKCONFIG) -n $@ -a TB5200 ppc mpc5xxx tqm5200 tqc 679 b87dfd28SWolfgang Denk 680 d4ca31c4SwdenkMINI5200_config \ 681 d4ca31c4SwdenkEVAL5200_config \ 682 d4ca31c4SwdenkTOP5200_config: unconfig 683 f9328639SMarian Balakowicz @mkdir -p $(obj)include 684 f9328639SMarian Balakowicz @ echo "#define CONFIG_$(@:_config=) 1" >$(obj)include/config.h 685 f9328639SMarian Balakowicz @$(MKCONFIG) -n $@ -a TOP5200 ppc mpc5xxx top5200 emk 686 d4ca31c4Swdenk 687 6c7a1408SwdenkTotal5100_config \ 688 6c7a1408SwdenkTotal5200_config \ 689 6c7a1408SwdenkTotal5200_lowboot_config \ 690 6c7a1408SwdenkTotal5200_Rev2_config \ 691 6c7a1408SwdenkTotal5200_Rev2_lowboot_config: unconfig 692 f9328639SMarian Balakowicz @mkdir -p $(obj)include 693 f9328639SMarian Balakowicz @mkdir -p $(obj)board/total5200 694 6c7a1408Swdenk @[ -z "$(findstring 5100,$@)" ] || \ 695 f9328639SMarian Balakowicz { echo "#define CONFIG_MGT5100" >>$(obj)include/config.h ; \ 696 ae6d1056SWolfgang Denk $(XECHO) "... with MGT5100 processor" ; \ 697 6c7a1408Swdenk } 698 6c7a1408Swdenk @[ -z "$(findstring 5200,$@)" ] || \ 699 f9328639SMarian Balakowicz { echo "#define CONFIG_MPC5200" >>$(obj)include/config.h ; \ 700 ae6d1056SWolfgang Denk $(XECHO) "... with MPC5200 processor" ; \ 701 6c7a1408Swdenk } 702 6c7a1408Swdenk @[ -n "$(findstring Rev,$@)" ] || \ 703 f9328639SMarian Balakowicz { echo "#define CONFIG_TOTAL5200_REV 1" >>$(obj)include/config.h ; \ 704 ae6d1056SWolfgang Denk $(XECHO) "... revision 1 board" ; \ 705 6c7a1408Swdenk } 706 6c7a1408Swdenk @[ -z "$(findstring Rev2_,$@)" ] || \ 707 f9328639SMarian Balakowicz { echo "#define CONFIG_TOTAL5200_REV 2" >>$(obj)include/config.h ; \ 708 ae6d1056SWolfgang Denk $(XECHO) "... revision 2 board" ; \ 709 6c7a1408Swdenk } 710 6c7a1408Swdenk @[ -z "$(findstring lowboot_,$@)" ] || \ 711 f9328639SMarian Balakowicz { echo "TEXT_BASE = 0xFE000000" >$(obj)board/total5200/config.tmp ; \ 712 ae6d1056SWolfgang Denk $(XECHO) "... with lowboot configuration" ; \ 713 6c7a1408Swdenk } 714 f9328639SMarian Balakowicz @$(MKCONFIG) -a Total5200 ppc mpc5xxx total5200 715 6c7a1408Swdenk 716 5196a7a0SWolfgang Denkcam5200_config \ 717 d9384de2SMarian Balakowiczcam5200_niosflash_config \ 718 5196a7a0SWolfgang Denkfo300_config \ 719 5196a7a0SWolfgang DenkMiniFAP_config \ 720 5078cce8SWolfgang DenkTQM5200S_config \ 721 5078cce8SWolfgang DenkTQM5200S_HIGHBOOT_config \ 722 5196a7a0SWolfgang DenkTQM5200_B_config \ 723 5196a7a0SWolfgang DenkTQM5200_B_HIGHBOOT_config \ 724 5196a7a0SWolfgang DenkTQM5200_config \ 725 5196a7a0SWolfgang DenkTQM5200_STK100_config: unconfig 726 f9328639SMarian Balakowicz @mkdir -p $(obj)include 727 4677988cSWolfgang Grandegger @mkdir -p $(obj)board/tqc/tqm5200 728 135ae006SWolfgang Denk @[ -z "$(findstring cam5200,$@)" ] || \ 729 f9328639SMarian Balakowicz { echo "#define CONFIG_CAM5200" >>$(obj)include/config.h ; \ 730 f9328639SMarian Balakowicz echo "#define CONFIG_TQM5200S" >>$(obj)include/config.h ; \ 731 f9328639SMarian Balakowicz echo "#define CONFIG_TQM5200_B" >>$(obj)include/config.h ; \ 732 ae6d1056SWolfgang Denk $(XECHO) "... TQM5200S on Cam5200" ; \ 733 5078cce8SWolfgang Denk } 734 d9384de2SMarian Balakowicz @[ -z "$(findstring niosflash,$@)" ] || \ 735 d9384de2SMarian Balakowicz { echo "#define CONFIG_CAM5200_NIOSFLASH" >>$(obj)include/config.h ; \ 736 ae6d1056SWolfgang Denk $(XECHO) "... with NIOS flash driver" ; \ 737 d9384de2SMarian Balakowicz } 738 6d3bc9b8SMarian Balakowicz @[ -z "$(findstring fo300,$@)" ] || \ 739 f9328639SMarian Balakowicz { echo "#define CONFIG_FO300" >>$(obj)include/config.h ; \ 740 ae6d1056SWolfgang Denk $(XECHO) "... TQM5200 on FO300" ; \ 741 6d3bc9b8SMarian Balakowicz } 742 cd65a3dcSWolfgang Denk @[ -z "$(findstring MiniFAP,$@)" ] || \ 743 f9328639SMarian Balakowicz { echo "#define CONFIG_MINIFAP" >>$(obj)include/config.h ; \ 744 ae6d1056SWolfgang Denk $(XECHO) "... TQM5200_AC on MiniFAP" ; \ 745 978b1096SWolfgang Denk } 746 cd65a3dcSWolfgang Denk @[ -z "$(findstring STK100,$@)" ] || \ 747 f9328639SMarian Balakowicz { echo "#define CONFIG_STK52XX_REV100" >>$(obj)include/config.h ; \ 748 ae6d1056SWolfgang Denk $(XECHO) "... on a STK52XX.100 base board" ; \ 749 56523f12Swdenk } 750 5078cce8SWolfgang Denk @[ -z "$(findstring TQM5200_B,$@)" ] || \ 751 f9328639SMarian Balakowicz { echo "#define CONFIG_TQM5200_B" >>$(obj)include/config.h ; \ 752 5078cce8SWolfgang Denk } 753 5078cce8SWolfgang Denk @[ -z "$(findstring TQM5200S,$@)" ] || \ 754 f9328639SMarian Balakowicz { echo "#define CONFIG_TQM5200S" >>$(obj)include/config.h ; \ 755 f9328639SMarian Balakowicz echo "#define CONFIG_TQM5200_B" >>$(obj)include/config.h ; \ 756 45a212c4SWolfgang Denk } 757 978b1096SWolfgang Denk @[ -z "$(findstring HIGHBOOT,$@)" ] || \ 758 f9328639SMarian Balakowicz { echo "TEXT_BASE = 0xFFF00000" >$(obj)board/tqm5200/config.tmp ; \ 759 978b1096SWolfgang Denk } 760 4677988cSWolfgang Grandegger @$(MKCONFIG) -n $@ -a TQM5200 ppc mpc5xxx tqm5200 tqc 761 699f0512SWolfgang Denk 762 6dedf3d4SHeiko Schocheruc101_config: unconfig 763 6dedf3d4SHeiko Schocher @$(MKCONFIG) uc101 ppc mpc5xxx uc101 764 53d4a498SBartlomiej Sieka 765 699f0512SWolfgang Denkv38b_config: unconfig 766 699f0512SWolfgang Denk @$(MKCONFIG) -a v38b ppc mpc5xxx v38b 767 56523f12Swdenk 768 945af8d7Swdenk######################################################################### 769 8993e54bSRafal Jaworowski## MPC512x Systems 770 8993e54bSRafal Jaworowski######################################################################### 771 699f0512SWolfgang Denk 772 5f91db7fSJohn Rigbyads5121_config \ 773 f31c49dbSMartha Marxads5121_rev2_config \ 774 5f91db7fSJohn Rigby : unconfig 775 210ed200SWolfgang Denk @mkdir -p $(obj)include 776 f31c49dbSMartha Marx @if [ "$(findstring rev2,$@)" ] ; then \ 777 f31c49dbSMartha Marx echo "#define CONFIG_ADS5121_REV2 1" > $(obj)include/config.h; \ 778 5f91db7fSJohn Rigby fi 779 5f91db7fSJohn Rigby @$(MKCONFIG) -a ads5121 ppc mpc512x ads5121 780 8993e54bSRafal Jaworowski 781 8993e54bSRafal Jaworowski 782 8993e54bSRafal Jaworowski######################################################################### 783 7ebf7443Swdenk## MPC8xx Systems 784 7ebf7443Swdenk######################################################################### 785 7ebf7443Swdenk 786 2d24a3a7SwdenkAdder_config \ 787 2d24a3a7SwdenkAdder87x_config \ 788 26238132SwdenkAdderII_config \ 789 2d24a3a7Swdenk : unconfig 790 f9328639SMarian Balakowicz @mkdir -p $(obj)include 791 26238132Swdenk $(if $(findstring AdderII,$@), \ 792 f9328639SMarian Balakowicz @echo "#define CONFIG_MPC852T" > $(obj)include/config.h) 793 f9328639SMarian Balakowicz @$(MKCONFIG) -a Adder ppc mpc8xx adder 794 2d24a3a7Swdenk 795 16c8d5e7SWolfgang DenkAdderUSB_config: unconfig 796 91c82076SJean-Christophe PLAGNIOL-VILLARD @$(MKCONFIG) -a AdderUSB ppc mpc8xx adder 797 16c8d5e7SWolfgang Denk 798 180d3f74SwdenkADS860_config \ 799 180d3f74SwdenkFADS823_config \ 800 180d3f74SwdenkFADS850SAR_config \ 801 180d3f74SwdenkMPC86xADS_config \ 802 1114257cSwdenkMPC885ADS_config \ 803 180d3f74SwdenkFADS860T_config: unconfig 804 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8xx fads 805 7ebf7443Swdenk 806 7ebf7443SwdenkAMX860_config : unconfig 807 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8xx amx860 westel 808 7ebf7443Swdenk 809 7ebf7443Swdenkc2mon_config: unconfig 810 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8xx c2mon 811 7ebf7443Swdenk 812 7ebf7443SwdenkCCM_config: unconfig 813 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8xx CCM siemens 814 7ebf7443Swdenk 815 7ebf7443Swdenkcogent_mpc8xx_config: unconfig 816 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8xx cogent 817 7ebf7443Swdenk 818 3bac3513SwdenkELPT860_config: unconfig 819 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8xx elpt860 LEOX 820 3bac3513Swdenk 821 84c960ceSWolfgang DenkEP88x_config: unconfig 822 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8xx ep88x 823 84c960ceSWolfgang Denk 824 7ebf7443SwdenkESTEEM192E_config: unconfig 825 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8xx esteem192e 826 7ebf7443Swdenk 827 7ebf7443SwdenkETX094_config : unconfig 828 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8xx etx094 829 7ebf7443Swdenk 830 7ebf7443SwdenkFLAGADM_config: unconfig 831 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8xx flagadm 832 7ebf7443Swdenk 833 7aa78614Swdenkxtract_GEN860T = $(subst _SC,,$(subst _config,,$1)) 834 7aa78614Swdenk 835 7aa78614SwdenkGEN860T_SC_config \ 836 7ebf7443SwdenkGEN860T_config: unconfig 837 f9328639SMarian Balakowicz @mkdir -p $(obj)include 838 7aa78614Swdenk @[ -z "$(findstring _SC,$@)" ] || \ 839 f9328639SMarian Balakowicz { echo "#define CONFIG_SC" >>$(obj)include/config.h ; \ 840 ae6d1056SWolfgang Denk $(XECHO) "With reduced H/W feature set (SC)..." ; \ 841 7aa78614Swdenk } 842 f9328639SMarian Balakowicz @$(MKCONFIG) -a $(call xtract_GEN860T,$@) ppc mpc8xx gen860t 843 7ebf7443Swdenk 844 7ebf7443SwdenkGENIETV_config: unconfig 845 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8xx genietv 846 7ebf7443Swdenk 847 7ebf7443SwdenkGTH_config: unconfig 848 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8xx gth 849 7ebf7443Swdenk 850 7ebf7443Swdenkhermes_config : unconfig 851 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8xx hermes 852 7ebf7443Swdenk 853 c40b2956SwdenkHMI10_config : unconfig 854 4677988cSWolfgang Grandegger @$(MKCONFIG) $(@:_config=) ppc mpc8xx tqm8xx tqc 855 c40b2956Swdenk 856 7ebf7443SwdenkIAD210_config: unconfig 857 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8xx IAD210 siemens 858 7ebf7443Swdenk 859 7ebf7443Swdenkxtract_ICU862 = $(subst _100MHz,,$(subst _config,,$1)) 860 7ebf7443Swdenk 861 7ebf7443SwdenkICU862_100MHz_config \ 862 7ebf7443SwdenkICU862_config: unconfig 863 f9328639SMarian Balakowicz @mkdir -p $(obj)include 864 7ebf7443Swdenk @[ -z "$(findstring _100MHz,$@)" ] || \ 865 f9328639SMarian Balakowicz { echo "#define CONFIG_100MHz" >>$(obj)include/config.h ; \ 866 ae6d1056SWolfgang Denk $(XECHO) "... with 100MHz system clock" ; \ 867 7ebf7443Swdenk } 868 f9328639SMarian Balakowicz @$(MKCONFIG) -a $(call xtract_ICU862,$@) ppc mpc8xx icu862 869 7ebf7443Swdenk 870 7ebf7443SwdenkIP860_config : unconfig 871 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8xx ip860 872 7ebf7443Swdenk 873 7ebf7443SwdenkIVML24_256_config \ 874 7ebf7443SwdenkIVML24_128_config \ 875 7ebf7443SwdenkIVML24_config: unconfig 876 f9328639SMarian Balakowicz @mkdir -p $(obj)include 877 7ebf7443Swdenk @[ -z "$(findstring IVML24_config,$@)" ] || \ 878 f9328639SMarian Balakowicz { echo "#define CONFIG_IVML24_16M" >>$(obj)include/config.h ; \ 879 7ebf7443Swdenk } 880 7ebf7443Swdenk @[ -z "$(findstring IVML24_128_config,$@)" ] || \ 881 f9328639SMarian Balakowicz { echo "#define CONFIG_IVML24_32M" >>$(obj)include/config.h ; \ 882 7ebf7443Swdenk } 883 7ebf7443Swdenk @[ -z "$(findstring IVML24_256_config,$@)" ] || \ 884 f9328639SMarian Balakowicz { echo "#define CONFIG_IVML24_64M" >>$(obj)include/config.h ; \ 885 7ebf7443Swdenk } 886 f9328639SMarian Balakowicz @$(MKCONFIG) -a IVML24 ppc mpc8xx ivm 887 7ebf7443Swdenk 888 7ebf7443SwdenkIVMS8_256_config \ 889 7ebf7443SwdenkIVMS8_128_config \ 890 7ebf7443SwdenkIVMS8_config: unconfig 891 f9328639SMarian Balakowicz @mkdir -p $(obj)include 892 7ebf7443Swdenk @[ -z "$(findstring IVMS8_config,$@)" ] || \ 893 f9328639SMarian Balakowicz { echo "#define CONFIG_IVMS8_16M" >>$(obj)include/config.h ; \ 894 7ebf7443Swdenk } 895 7ebf7443Swdenk @[ -z "$(findstring IVMS8_128_config,$@)" ] || \ 896 f9328639SMarian Balakowicz { echo "#define CONFIG_IVMS8_32M" >>$(obj)include/config.h ; \ 897 7ebf7443Swdenk } 898 7ebf7443Swdenk @[ -z "$(findstring IVMS8_256_config,$@)" ] || \ 899 f9328639SMarian Balakowicz { echo "#define CONFIG_IVMS8_64M" >>$(obj)include/config.h ; \ 900 7ebf7443Swdenk } 901 f9328639SMarian Balakowicz @$(MKCONFIG) -a IVMS8 ppc mpc8xx ivm 902 7ebf7443Swdenk 903 56f94be3SwdenkKUP4K_config : unconfig 904 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8xx kup4k kup 905 0608e04dSwdenk 906 0608e04dSwdenkKUP4X_config : unconfig 907 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8xx kup4x kup 908 56f94be3Swdenk 909 7ebf7443SwdenkLANTEC_config : unconfig 910 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8xx lantec 911 7ebf7443Swdenk 912 7ebf7443Swdenklwmon_config: unconfig 913 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8xx lwmon 914 7ebf7443Swdenk 915 7ebf7443SwdenkMBX_config \ 916 7ebf7443SwdenkMBX860T_config: unconfig 917 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8xx mbx8xx 918 7ebf7443Swdenk 919 381e4e63SHeiko Schochermgsuvd_config: unconfig 920 381e4e63SHeiko Schocher @$(MKCONFIG) $(@:_config=) ppc mpc8xx mgsuvd 921 381e4e63SHeiko Schocher 922 7ebf7443SwdenkMHPC_config: unconfig 923 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8xx mhpc eltec 924 7ebf7443Swdenk 925 993cad93Swdenkxtract_NETVIA = $(subst _V2,,$(subst _config,,$1)) 926 993cad93Swdenk 927 993cad93SwdenkNETVIA_V2_config \ 928 7ebf7443SwdenkNETVIA_config: unconfig 929 f9328639SMarian Balakowicz @mkdir -p $(obj)include 930 993cad93Swdenk @[ -z "$(findstring NETVIA_config,$@)" ] || \ 931 f9328639SMarian Balakowicz { echo "#define CONFIG_NETVIA_VERSION 1" >>$(obj)include/config.h ; \ 932 ae6d1056SWolfgang Denk $(XECHO) "... Version 1" ; \ 933 993cad93Swdenk } 934 993cad93Swdenk @[ -z "$(findstring NETVIA_V2_config,$@)" ] || \ 935 f9328639SMarian Balakowicz { echo "#define CONFIG_NETVIA_VERSION 2" >>$(obj)include/config.h ; \ 936 ae6d1056SWolfgang Denk $(XECHO) "... Version 2" ; \ 937 993cad93Swdenk } 938 f9328639SMarian Balakowicz @$(MKCONFIG) -a $(call xtract_NETVIA,$@) ppc mpc8xx netvia 939 7ebf7443Swdenk 940 c26e454dSwdenkxtract_NETPHONE = $(subst _V2,,$(subst _config,,$1)) 941 c26e454dSwdenk 942 c26e454dSwdenkNETPHONE_V2_config \ 943 04a85b3bSwdenkNETPHONE_config: unconfig 944 f9328639SMarian Balakowicz @mkdir -p $(obj)include 945 c26e454dSwdenk @[ -z "$(findstring NETPHONE_config,$@)" ] || \ 946 f9328639SMarian Balakowicz { echo "#define CONFIG_NETPHONE_VERSION 1" >>$(obj)include/config.h ; \ 947 c26e454dSwdenk } 948 c26e454dSwdenk @[ -z "$(findstring NETPHONE_V2_config,$@)" ] || \ 949 f9328639SMarian Balakowicz { echo "#define CONFIG_NETPHONE_VERSION 2" >>$(obj)include/config.h ; \ 950 c26e454dSwdenk } 951 f9328639SMarian Balakowicz @$(MKCONFIG) -a $(call xtract_NETPHONE,$@) ppc mpc8xx netphone 952 04a85b3bSwdenk 953 79fa88f3Swdenkxtract_NETTA = $(subst _SWAPHOOK,,$(subst _6412,,$(subst _ISDN,,$(subst _config,,$1)))) 954 04a85b3bSwdenk 955 79fa88f3SwdenkNETTA_ISDN_6412_SWAPHOOK_config \ 956 79fa88f3SwdenkNETTA_ISDN_SWAPHOOK_config \ 957 79fa88f3SwdenkNETTA_6412_SWAPHOOK_config \ 958 79fa88f3SwdenkNETTA_SWAPHOOK_config \ 959 79fa88f3SwdenkNETTA_ISDN_6412_config \ 960 04a85b3bSwdenkNETTA_ISDN_config \ 961 79fa88f3SwdenkNETTA_6412_config \ 962 04a85b3bSwdenkNETTA_config: unconfig 963 f9328639SMarian Balakowicz @mkdir -p $(obj)include 964 79fa88f3Swdenk @[ -z "$(findstring ISDN_,$@)" ] || \ 965 f9328639SMarian Balakowicz { echo "#define CONFIG_NETTA_ISDN 1" >>$(obj)include/config.h ; \ 966 04a85b3bSwdenk } 967 79fa88f3Swdenk @[ -n "$(findstring ISDN_,$@)" ] || \ 968 f9328639SMarian Balakowicz { echo "#undef CONFIG_NETTA_ISDN" >>$(obj)include/config.h ; \ 969 79fa88f3Swdenk } 970 79fa88f3Swdenk @[ -z "$(findstring 6412_,$@)" ] || \ 971 f9328639SMarian Balakowicz { echo "#define CONFIG_NETTA_6412 1" >>$(obj)include/config.h ; \ 972 79fa88f3Swdenk } 973 79fa88f3Swdenk @[ -n "$(findstring 6412_,$@)" ] || \ 974 f9328639SMarian Balakowicz { echo "#undef CONFIG_NETTA_6412" >>$(obj)include/config.h ; \ 975 79fa88f3Swdenk } 976 79fa88f3Swdenk @[ -z "$(findstring SWAPHOOK_,$@)" ] || \ 977 f9328639SMarian Balakowicz { echo "#define CONFIG_NETTA_SWAPHOOK 1" >>$(obj)include/config.h ; \ 978 79fa88f3Swdenk } 979 79fa88f3Swdenk @[ -n "$(findstring SWAPHOOK_,$@)" ] || \ 980 f9328639SMarian Balakowicz { echo "#undef CONFIG_NETTA_SWAPHOOK" >>$(obj)include/config.h ; \ 981 79fa88f3Swdenk } 982 f9328639SMarian Balakowicz @$(MKCONFIG) -a $(call xtract_NETTA,$@) ppc mpc8xx netta 983 04a85b3bSwdenk 984 79fa88f3Swdenkxtract_NETTA2 = $(subst _V2,,$(subst _config,,$1)) 985 79fa88f3Swdenk 986 79fa88f3SwdenkNETTA2_V2_config \ 987 79fa88f3SwdenkNETTA2_config: unconfig 988 f9328639SMarian Balakowicz @mkdir -p $(obj)include 989 79fa88f3Swdenk @[ -z "$(findstring NETTA2_config,$@)" ] || \ 990 f9328639SMarian Balakowicz { echo "#define CONFIG_NETTA2_VERSION 1" >>$(obj)include/config.h ; \ 991 79fa88f3Swdenk } 992 79fa88f3Swdenk @[ -z "$(findstring NETTA2_V2_config,$@)" ] || \ 993 f9328639SMarian Balakowicz { echo "#define CONFIG_NETTA2_VERSION 2" >>$(obj)include/config.h ; \ 994 79fa88f3Swdenk } 995 f9328639SMarian Balakowicz @$(MKCONFIG) -a $(call xtract_NETTA2,$@) ppc mpc8xx netta2 996 79fa88f3Swdenk 997 a367d426Sdzu@denx.deNC650_Rev1_config \ 998 a367d426Sdzu@denx.deNC650_Rev2_config \ 999 a367d426Sdzu@denx.deCP850_config: unconfig 1000 f9328639SMarian Balakowicz @mkdir -p $(obj)include 1001 a367d426Sdzu@denx.de @[ -z "$(findstring CP850,$@)" ] || \ 1002 f9328639SMarian Balakowicz { echo "#define CONFIG_CP850 1" >>$(obj)include/config.h ; \ 1003 f9328639SMarian Balakowicz echo "#define CONFIG_IDS852_REV2 1" >>$(obj)include/config.h ; \ 1004 a367d426Sdzu@denx.de } 1005 a367d426Sdzu@denx.de @[ -z "$(findstring Rev1,$@)" ] || \ 1006 f9328639SMarian Balakowicz { echo "#define CONFIG_IDS852_REV1 1" >>$(obj)include/config.h ; \ 1007 a367d426Sdzu@denx.de } 1008 a367d426Sdzu@denx.de @[ -z "$(findstring Rev2,$@)" ] || \ 1009 f9328639SMarian Balakowicz { echo "#define CONFIG_IDS852_REV2 1" >>$(obj)include/config.h ; \ 1010 a367d426Sdzu@denx.de } 1011 f9328639SMarian Balakowicz @$(MKCONFIG) -a NC650 ppc mpc8xx nc650 1012 7ca202f5Swdenk 1013 7ebf7443SwdenkNX823_config: unconfig 1014 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8xx nx823 1015 7ebf7443Swdenk 1016 7ebf7443Swdenkpcu_e_config: unconfig 1017 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8xx pcu_e siemens 1018 7ebf7443Swdenk 1019 3bbc899fSwdenkQS850_config: unconfig 1020 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8xx qs850 snmc 1021 3bbc899fSwdenk 1022 3bbc899fSwdenkQS823_config: unconfig 1023 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8xx qs850 snmc 1024 3bbc899fSwdenk 1025 3bbc899fSwdenkQS860T_config: unconfig 1026 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8xx qs860t snmc 1027 3bbc899fSwdenk 1028 da93ed81Swdenkquantum_config: unconfig 1029 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8xx quantum 1030 da93ed81Swdenk 1031 7ebf7443SwdenkR360MPI_config: unconfig 1032 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8xx r360mpi 1033 7ebf7443Swdenk 1034 682011ffSwdenkRBC823_config: unconfig 1035 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8xx rbc823 1036 682011ffSwdenk 1037 7ebf7443SwdenkRPXClassic_config: unconfig 1038 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8xx RPXClassic 1039 7ebf7443Swdenk 1040 7ebf7443SwdenkRPXlite_config: unconfig 1041 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8xx RPXlite 1042 7ebf7443Swdenk 1043 e63c8ee3SwdenkRPXlite_DW_64_config \ 1044 e63c8ee3SwdenkRPXlite_DW_LCD_config \ 1045 e63c8ee3SwdenkRPXlite_DW_64_LCD_config \ 1046 e63c8ee3SwdenkRPXlite_DW_NVRAM_config \ 1047 e63c8ee3SwdenkRPXlite_DW_NVRAM_64_config \ 1048 e63c8ee3SwdenkRPXlite_DW_NVRAM_LCD_config \ 1049 e63c8ee3SwdenkRPXlite_DW_NVRAM_64_LCD_config \ 1050 e63c8ee3SwdenkRPXlite_DW_config: unconfig 1051 f9328639SMarian Balakowicz @mkdir -p $(obj)include 1052 e63c8ee3Swdenk @[ -z "$(findstring _64,$@)" ] || \ 1053 f9328639SMarian Balakowicz { echo "#define RPXlite_64MHz" >>$(obj)include/config.h ; \ 1054 ae6d1056SWolfgang Denk $(XECHO) "... with 64MHz system clock ..."; \ 1055 e63c8ee3Swdenk } 1056 e63c8ee3Swdenk @[ -z "$(findstring _LCD,$@)" ] || \ 1057 f9328639SMarian Balakowicz { echo "#define CONFIG_LCD" >>$(obj)include/config.h ; \ 1058 f9328639SMarian Balakowicz echo "#define CONFIG_NEC_NL6448BC20" >>$(obj)include/config.h ; \ 1059 ae6d1056SWolfgang Denk $(XECHO) "... with LCD display ..."; \ 1060 e63c8ee3Swdenk } 1061 e63c8ee3Swdenk @[ -z "$(findstring _NVRAM,$@)" ] || \ 1062 f9328639SMarian Balakowicz { echo "#define CFG_ENV_IS_IN_NVRAM" >>$(obj)include/config.h ; \ 1063 ae6d1056SWolfgang Denk $(XECHO) "... with ENV in NVRAM ..."; \ 1064 e63c8ee3Swdenk } 1065 f9328639SMarian Balakowicz @$(MKCONFIG) -a RPXlite_DW ppc mpc8xx RPXlite_dw 1066 e63c8ee3Swdenk 1067 73a8b27cSwdenkrmu_config: unconfig 1068 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8xx rmu 1069 73a8b27cSwdenk 1070 7ebf7443SwdenkRRvision_config: unconfig 1071 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8xx RRvision 1072 7ebf7443Swdenk 1073 7ebf7443SwdenkRRvision_LCD_config: unconfig 1074 f9328639SMarian Balakowicz @mkdir -p $(obj)include 1075 f9328639SMarian Balakowicz @echo "#define CONFIG_LCD" >$(obj)include/config.h 1076 f9328639SMarian Balakowicz @echo "#define CONFIG_SHARP_LQ104V7DS01" >>$(obj)include/config.h 1077 f9328639SMarian Balakowicz @$(MKCONFIG) -a RRvision ppc mpc8xx RRvision 1078 7ebf7443Swdenk 1079 7ebf7443SwdenkSM850_config : unconfig 1080 4677988cSWolfgang Grandegger @$(MKCONFIG) $(@:_config=) ppc mpc8xx tqm8xx tqc 1081 7ebf7443Swdenk 1082 91c82076SJean-Christophe PLAGNIOL-VILLARDspc1920_config: unconfig 1083 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8xx spc1920 1084 b02d0177SMarkus Klotzbuecher 1085 7ebf7443SwdenkSPD823TS_config: unconfig 1086 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8xx spd8xx 1087 7ebf7443Swdenk 1088 6bdf4306SWolfgang Denkstxxtc_config: unconfig 1089 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8xx stxxtc 1090 6bdf4306SWolfgang Denk 1091 dc7c9a1aSwdenksvm_sc8xx_config: unconfig 1092 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8xx svm_sc8xx 1093 dc7c9a1aSwdenk 1094 7ebf7443SwdenkSXNI855T_config: unconfig 1095 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8xx sixnet 1096 7ebf7443Swdenk 1097 db2f721fSwdenk# EMK MPC8xx based modules 1098 db2f721fSwdenkTOP860_config: unconfig 1099 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8xx top860 emk 1100 db2f721fSwdenk 1101 7ebf7443Swdenk# Play some tricks for configuration selection 1102 e9132ea9Swdenk# Only 855 and 860 boards may come with FEC 1103 e9132ea9Swdenk# and only 823 boards may have LCD support 1104 e9132ea9Swdenkxtract_8xx = $(subst _LCD,,$(subst _config,,$1)) 1105 7ebf7443Swdenk 1106 7ebf7443SwdenkFPS850L_config \ 1107 384ae025SwdenkFPS860L_config \ 1108 f12e568cSwdenkNSCU_config \ 1109 7ebf7443SwdenkTQM823L_config \ 1110 7ebf7443SwdenkTQM823L_LCD_config \ 1111 7ebf7443SwdenkTQM850L_config \ 1112 7ebf7443SwdenkTQM855L_config \ 1113 7ebf7443SwdenkTQM860L_config \ 1114 d126bfbdSwdenkTQM862L_config \ 1115 ae3af05eSwdenkTQM823M_config \ 1116 ae3af05eSwdenkTQM850M_config \ 1117 f12e568cSwdenkTQM855M_config \ 1118 f12e568cSwdenkTQM860M_config \ 1119 f12e568cSwdenkTQM862M_config \ 1120 8cba090cSWolfgang DenkTQM866M_config \ 1121 090eb735SMarkus KlotzbuecherTQM885D_config \ 1122 efc6f447SGuennadi LiakhovetskiTK885D_config \ 1123 8cba090cSWolfgang Denkvirtlab2_config: unconfig 1124 f9328639SMarian Balakowicz @mkdir -p $(obj)include 1125 7ebf7443Swdenk @[ -z "$(findstring _LCD,$@)" ] || \ 1126 f9328639SMarian Balakowicz { echo "#define CONFIG_LCD" >>$(obj)include/config.h ; \ 1127 f9328639SMarian Balakowicz echo "#define CONFIG_NEC_NL6448BC20" >>$(obj)include/config.h ; \ 1128 ae6d1056SWolfgang Denk $(XECHO) "... with LCD display" ; \ 1129 7ebf7443Swdenk } 1130 4677988cSWolfgang Grandegger @$(MKCONFIG) -a $(call xtract_8xx,$@) ppc mpc8xx tqm8xx tqc 1131 7ebf7443Swdenk 1132 7ebf7443SwdenkTTTech_config: unconfig 1133 f9328639SMarian Balakowicz @mkdir -p $(obj)include 1134 f9328639SMarian Balakowicz @echo "#define CONFIG_LCD" >$(obj)include/config.h 1135 f9328639SMarian Balakowicz @echo "#define CONFIG_SHARP_LQ104V7DS01" >>$(obj)include/config.h 1136 4677988cSWolfgang Grandegger @$(MKCONFIG) -a TQM823L ppc mpc8xx tqm8xx tqc 1137 7ebf7443Swdenk 1138 ec0aee7bSwdenkuc100_config : unconfig 1139 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8xx uc100 1140 f7d1572bSwdenk 1141 608c9146Swdenkv37_config: unconfig 1142 f9328639SMarian Balakowicz @mkdir -p $(obj)include 1143 f9328639SMarian Balakowicz @echo "#define CONFIG_LCD" >$(obj)include/config.h 1144 f9328639SMarian Balakowicz @echo "#define CONFIG_SHARP_LQ084V1DG21" >>$(obj)include/config.h 1145 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8xx v37 1146 608c9146Swdenk 1147 91e940d9Sdzuwtk_config: unconfig 1148 f9328639SMarian Balakowicz @mkdir -p $(obj)include 1149 f9328639SMarian Balakowicz @echo "#define CONFIG_LCD" >$(obj)include/config.h 1150 f9328639SMarian Balakowicz @echo "#define CONFIG_SHARP_LQ065T9DR51U" >>$(obj)include/config.h 1151 4677988cSWolfgang Grandegger @$(MKCONFIG) -a TQM823L ppc mpc8xx tqm8xx tqc 1152 91e940d9Sdzu 1153 7ebf7443Swdenk######################################################################### 1154 7ebf7443Swdenk## PPC4xx Systems 1155 7ebf7443Swdenk######################################################################### 1156 e55ca7e2Swdenkxtract_4xx = $(subst _25,,$(subst _33,,$(subst _BA,,$(subst _ME,,$(subst _HI,,$(subst _config,,$1)))))) 1157 7ebf7443Swdenk 1158 16c0cc1cSStefan Roeseacadia_config: unconfig 1159 16c0cc1cSStefan Roese @$(MKCONFIG) $(@:_config=) ppc ppc4xx acadia amcc 1160 16c0cc1cSStefan Roese 1161 c440bfe6SStefan Roeseacadia_nand_config: unconfig 1162 63e22764SWolfgang Denk @mkdir -p $(obj)include $(obj)board/amcc/acadia 1163 63e22764SWolfgang Denk @mkdir -p $(obj)nand_spl/board/amcc/acadia 1164 c440bfe6SStefan Roese @echo "#define CONFIG_NAND_U_BOOT" > $(obj)include/config.h 1165 c440bfe6SStefan Roese @$(MKCONFIG) -n $@ -a acadia ppc ppc4xx acadia amcc 1166 c440bfe6SStefan Roese @echo "TEXT_BASE = 0x01000000" > $(obj)board/amcc/acadia/config.tmp 1167 c440bfe6SStefan Roese @echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk 1168 c440bfe6SStefan Roese 1169 7ebf7443SwdenkADCIOP_config: unconfig 1170 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc ppc4xx adciop esd 1171 7ebf7443Swdenk 1172 899620c2SStefan Roesealpr_config: unconfig 1173 35d22f95SStefan Roese @$(MKCONFIG) $(@:_config=) ppc ppc4xx alpr prodrive 1174 899620c2SStefan Roese 1175 7521af1cSWolfgang DenkAP1000_config:unconfig 1176 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc ppc4xx ap1000 amirix 1177 7521af1cSWolfgang Denk 1178 c419d1d6SstroeseAPC405_config: unconfig 1179 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc ppc4xx apc405 esd 1180 c419d1d6Sstroese 1181 7ebf7443SwdenkAR405_config: unconfig 1182 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc ppc4xx ar405 esd 1183 7ebf7443Swdenk 1184 549826eaSstroeseASH405_config: unconfig 1185 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc ppc4xx ash405 esd 1186 549826eaSstroese 1187 8a316c9bSStefan Roesebamboo_config: unconfig 1188 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc ppc4xx bamboo amcc 1189 8a316c9bSStefan Roese 1190 cf959c7dSStefan Roesebamboo_nand_config: unconfig 1191 63e22764SWolfgang Denk @mkdir -p $(obj)include $(obj)board/amcc/bamboo 1192 63e22764SWolfgang Denk @mkdir -p $(obj)nand_spl/board/amcc/bamboo 1193 cf959c7dSStefan Roese @echo "#define CONFIG_NAND_U_BOOT" > $(obj)include/config.h 1194 f3679aa1SStefan Roese @$(MKCONFIG) -n $@ -a bamboo ppc ppc4xx bamboo amcc 1195 cf959c7dSStefan Roese @echo "TEXT_BASE = 0x01000000" > $(obj)board/amcc/bamboo/config.tmp 1196 cf959c7dSStefan Roese @echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk 1197 cf959c7dSStefan Roese 1198 8a316c9bSStefan Roesebubinga_config: unconfig 1199 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc ppc4xx bubinga amcc 1200 549826eaSstroese 1201 7ebf7443SwdenkCANBT_config: unconfig 1202 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc ppc4xx canbt esd 1203 7ebf7443Swdenk 1204 4c9e8557SStefan Roese# Canyonlands & Glacier use different U-Boot images 1205 4c9e8557SStefan Roesecanyonlands_config \ 1206 4c9e8557SStefan Roeseglacier_config: unconfig 1207 4c9e8557SStefan Roese @mkdir -p $(obj)include 1208 4c9e8557SStefan Roese @echo "#define CONFIG_$$(echo $(subst ,,$(@:_config=)) | \ 1209 4c9e8557SStefan Roese tr '[:lower:]' '[:upper:]')" >$(obj)include/config.h 1210 4c9e8557SStefan Roese @$(MKCONFIG) -n $@ -a canyonlands ppc ppc4xx canyonlands amcc 1211 c813f1f8SStefan Roese 1212 fe7c0db6SStefan Roesecanyonlands_nand_config \ 1213 fe7c0db6SStefan Roeseglacier_nand_config: unconfig 1214 71665ebfSStefan Roese @mkdir -p $(obj)include $(obj)board/amcc/canyonlands 1215 71665ebfSStefan Roese @mkdir -p $(obj)nand_spl/board/amcc/canyonlands 1216 71665ebfSStefan Roese @echo "#define CONFIG_NAND_U_BOOT" > $(obj)include/config.h 1217 fe7c0db6SStefan Roese @echo "#define CONFIG_$$(echo $(subst ,,$(@:_nand_config=)) | \ 1218 fe7c0db6SStefan Roese tr '[:lower:]' '[:upper:]')" >> $(obj)include/config.h 1219 71665ebfSStefan Roese @$(MKCONFIG) -n $@ -a canyonlands ppc ppc4xx canyonlands amcc 1220 71665ebfSStefan Roese @echo "TEXT_BASE = 0x01000000" > $(obj)board/amcc/canyonlands/config.tmp 1221 71665ebfSStefan Roese @echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk 1222 71665ebfSStefan Roese 1223 1d6f9720SwdenkCATcenter_config \ 1224 1d6f9720SwdenkCATcenter_25_config \ 1225 1d6f9720SwdenkCATcenter_33_config: unconfig 1226 f9328639SMarian Balakowicz @mkdir -p $(obj)include 1227 f9328639SMarian Balakowicz @ echo "/* CATcenter uses PPChameleon Model ME */" > $(obj)include/config.h 1228 f9328639SMarian Balakowicz @ echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 1" >> $(obj)include/config.h 1229 1d6f9720Swdenk @[ -z "$(findstring _25,$@)" ] || \ 1230 f9328639SMarian Balakowicz { echo "#define CONFIG_PPCHAMELEON_CLK_25" >> $(obj)include/config.h ; \ 1231 ae6d1056SWolfgang Denk $(XECHO) "SysClk = 25MHz" ; \ 1232 1d6f9720Swdenk } 1233 1d6f9720Swdenk @[ -z "$(findstring _33,$@)" ] || \ 1234 f9328639SMarian Balakowicz { echo "#define CONFIG_PPCHAMELEON_CLK_33" >> $(obj)include/config.h ; \ 1235 ae6d1056SWolfgang Denk $(XECHO) "SysClk = 33MHz" ; \ 1236 1d6f9720Swdenk } 1237 f9328639SMarian Balakowicz @$(MKCONFIG) -a $(call xtract_4xx,$@) ppc ppc4xx PPChameleonEVB dave 1238 10767ccbSwdenk 1239 699f0512SWolfgang DenkCMS700_config: unconfig 1240 699f0512SWolfgang Denk @$(MKCONFIG) $(@:_config=) ppc ppc4xx cms700 esd 1241 699f0512SWolfgang Denk 1242 7644f16fSStefan RoeseCPCI2DP_config: unconfig 1243 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc ppc4xx cpci2dp esd 1244 7644f16fSStefan Roese 1245 7ebf7443SwdenkCPCI405_config \ 1246 549826eaSstroeseCPCI4052_config \ 1247 c419d1d6SstroeseCPCI405DT_config \ 1248 549826eaSstroeseCPCI405AB_config: unconfig 1249 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc ppc4xx cpci405 esd 1250 f9328639SMarian Balakowicz @echo "BOARD_REVISION = $(@:_config=)" >> $(obj)include/config.mk 1251 7ebf7443Swdenk 1252 7ebf7443SwdenkCPCIISER4_config: unconfig 1253 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc ppc4xx cpciiser4 esd 1254 7ebf7443Swdenk 1255 7ebf7443SwdenkCRAYL1_config: unconfig 1256 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc ppc4xx L1 cray 1257 7ebf7443Swdenk 1258 cd0a9de6Swdenkcsb272_config: unconfig 1259 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc ppc4xx csb272 1260 cd0a9de6Swdenk 1261 aa245090Swdenkcsb472_config: unconfig 1262 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc ppc4xx csb472 1263 aa245090Swdenk 1264 7ebf7443SwdenkDASA_SIM_config: unconfig 1265 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc ppc4xx dasa_sim esd 1266 7ebf7443Swdenk 1267 72cd5aa7SstroeseDP405_config: unconfig 1268 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc ppc4xx dp405 esd 1269 72cd5aa7Sstroese 1270 7ebf7443SwdenkDU405_config: unconfig 1271 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc ppc4xx du405 esd 1272 7ebf7443Swdenk 1273 1a3ac86bSMatthias FuchsDU440_config: unconfig 1274 1a3ac86bSMatthias Fuchs @$(MKCONFIG) $(@:_config=) ppc ppc4xx du440 esd 1275 1a3ac86bSMatthias Fuchs 1276 8a316c9bSStefan Roeseebony_config: unconfig 1277 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc ppc4xx ebony amcc 1278 7ebf7443Swdenk 1279 7ebf7443SwdenkERIC_config: unconfig 1280 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc ppc4xx eric 1281 7ebf7443Swdenk 1282 d1cbe85bSwdenkEXBITGEN_config: unconfig 1283 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc ppc4xx exbitgen 1284 d1cbe85bSwdenk 1285 c419d1d6SstroeseG2000_config: unconfig 1286 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc ppc4xx g2000 1287 c419d1d6Sstroese 1288 ac982ea5SNiklaus Gigerhcu4_config: unconfig 1289 b7f6193eSNiklaus Giger @mkdir -p $(obj)board/netstal/common 1290 35d22f95SStefan Roese @$(MKCONFIG) $(@:_config=) ppc ppc4xx hcu4 netstal 1291 ac982ea5SNiklaus Giger 1292 ac982ea5SNiklaus Gigerhcu5_config: unconfig 1293 b7f6193eSNiklaus Giger @mkdir -p $(obj)board/netstal/common 1294 35d22f95SStefan Roese @$(MKCONFIG) $(@:_config=) ppc ppc4xx hcu5 netstal 1295 ac982ea5SNiklaus Giger 1296 c419d1d6SstroeseHH405_config: unconfig 1297 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc ppc4xx hh405 esd 1298 c419d1d6Sstroese 1299 72cd5aa7SstroeseHUB405_config: unconfig 1300 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc ppc4xx hub405 esd 1301 72cd5aa7Sstroese 1302 db01a2eaSwdenkJSE_config: unconfig 1303 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc ppc4xx jse 1304 db01a2eaSwdenk 1305 b79316f2SStefan RoeseKAREF_config: unconfig 1306 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc ppc4xx karef sandburst 1307 b79316f2SStefan Roese 1308 4745acaaSStefan Roesekatmai_config: unconfig 1309 4745acaaSStefan Roese @$(MKCONFIG) $(@:_config=) ppc ppc4xx katmai amcc 1310 4745acaaSStefan Roese 1311 353f2688SStefan Roese# Kilauea & Haleakala images are identical (recognized via PVR) 1312 353f2688SStefan Roesekilauea_config \ 1313 353f2688SStefan Roesehaleakala_config: unconfig 1314 353f2688SStefan Roese @$(MKCONFIG) -n $@ -a kilauea ppc ppc4xx kilauea amcc 1315 566806caSStefan Roese 1316 3d6cb3b2SStefan Roesekilauea_nand_config \ 1317 3d6cb3b2SStefan Roesehaleakala_nand_config: unconfig 1318 3d6cb3b2SStefan Roese @mkdir -p $(obj)include $(obj)board/amcc/kilauea 1319 3d6cb3b2SStefan Roese @mkdir -p $(obj)nand_spl/board/amcc/kilauea 1320 3d6cb3b2SStefan Roese @echo "#define CONFIG_NAND_U_BOOT" > $(obj)include/config.h 1321 3d6cb3b2SStefan Roese @$(MKCONFIG) -n $@ -a kilauea ppc ppc4xx kilauea amcc 1322 3d6cb3b2SStefan Roese @echo "TEXT_BASE = 0x01000000" > $(obj)board/amcc/kilauea/config.tmp 1323 3d6cb3b2SStefan Roese @echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk 1324 3d6cb3b2SStefan Roese 1325 c591dffeSLarry Johnsonkorat_config: unconfig 1326 c591dffeSLarry Johnson @$(MKCONFIG) $(@:_config=) ppc ppc4xx korat 1327 c591dffeSLarry Johnson 1328 6e7fb6eaSStefan Roeseluan_config: unconfig 1329 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc ppc4xx luan amcc 1330 6e7fb6eaSStefan Roese 1331 b765ffb7SStefan Roeselwmon5_config: unconfig 1332 b765ffb7SStefan Roese @$(MKCONFIG) $(@:_config=) ppc ppc4xx lwmon5 1333 b765ffb7SStefan Roese 1334 211ea91aSStefan Roesemakalu_config: unconfig 1335 211ea91aSStefan Roese @$(MKCONFIG) $(@:_config=) ppc ppc4xx makalu amcc 1336 211ea91aSStefan Roese 1337 b05f3543SNiklaus Gigermcu25_config: unconfig 1338 b05f3543SNiklaus Giger @mkdir -p $(obj)board/netstal/common 1339 b05f3543SNiklaus Giger @$(MKCONFIG) $(@:_config=) ppc ppc4xx mcu25 netstal 1340 b05f3543SNiklaus Giger 1341 b79316f2SStefan RoeseMETROBOX_config: unconfig 1342 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc ppc4xx metrobox sandburst 1343 b79316f2SStefan Roese 1344 7ebf7443SwdenkMIP405_config: unconfig 1345 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc ppc4xx mip405 mpl 1346 7ebf7443Swdenk 1347 f3e0de60SwdenkMIP405T_config: unconfig 1348 f9328639SMarian Balakowicz @mkdir -p $(obj)include 1349 f9328639SMarian Balakowicz @echo "#define CONFIG_MIP405T" >$(obj)include/config.h 1350 ae6d1056SWolfgang Denk @$(XECHO) "Enable subset config for MIP405T" 1351 f9328639SMarian Balakowicz @$(MKCONFIG) -a MIP405 ppc ppc4xx mip405 mpl 1352 f3e0de60Swdenk 1353 7ebf7443SwdenkML2_config: unconfig 1354 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc ppc4xx ml2 1355 7ebf7443Swdenk 1356 028ab6b5Swdenkml300_config: unconfig 1357 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc ppc4xx ml300 xilinx 1358 028ab6b5Swdenk 1359 01a00431SRicardo Ribalda Delgadoml507_flash_config: unconfig 1360 01a00431SRicardo Ribalda Delgado @mkdir -p $(obj)include $(obj)board/xilinx/ml507 1361 01a00431SRicardo Ribalda Delgado @cp $(obj)board/xilinx/ml507/u-boot-rom.lds $(obj)board/xilinx/ml507/u-boot.lds 1362 9246f5ecSRicardo Ribalda Delgado @echo "TEXT_BASE = 0xFE360000" > $(obj)board/xilinx/ml507/config.tmp 1363 01a00431SRicardo Ribalda Delgado @$(MKCONFIG) $(@:_flash_config=) ppc ppc4xx ml507 xilinx 1364 01a00431SRicardo Ribalda Delgado 1365 086511fcSRicardo Ribalda Delgadoml507_config: unconfig 1366 01a00431SRicardo Ribalda Delgado @mkdir -p $(obj)include $(obj)board/xilinx/ml507 1367 01a00431SRicardo Ribalda Delgado @cp $(obj)board/xilinx/ml507/u-boot-ram.lds $(obj)board/xilinx/ml507/u-boot.lds 1368 086511fcSRicardo Ribalda Delgado @$(MKCONFIG) $(@:_config=) ppc ppc4xx ml507 xilinx 1369 086511fcSRicardo Ribalda Delgado 1370 8a316c9bSStefan Roeseocotea_config: unconfig 1371 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc ppc4xx ocotea amcc 1372 0e6d798cSwdenk 1373 7ebf7443SwdenkOCRTC_config \ 1374 7ebf7443SwdenkORSG_config: unconfig 1375 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc ppc4xx ocrtc esd 1376 7ebf7443Swdenk 1377 5568e613SStefan Roesep3p440_config: unconfig 1378 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc ppc4xx p3p440 prodrive 1379 5568e613SStefan Roese 1380 7ebf7443SwdenkPCI405_config: unconfig 1381 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc ppc4xx pci405 esd 1382 7ebf7443Swdenk 1383 a4c8d138SStefan Roesepcs440ep_config: unconfig 1384 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc ppc4xx pcs440ep 1385 a4c8d138SStefan Roese 1386 7ebf7443SwdenkPIP405_config: unconfig 1387 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc ppc4xx pip405 mpl 1388 7ebf7443Swdenk 1389 72cd5aa7SstroesePLU405_config: unconfig 1390 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc ppc4xx plu405 esd 1391 72cd5aa7Sstroese 1392 549826eaSstroesePMC405_config: unconfig 1393 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc ppc4xx pmc405 esd 1394 549826eaSstroese 1395 8ba132caSMatthias FuchsPMC440_config: unconfig 1396 8ba132caSMatthias Fuchs @$(MKCONFIG) $(@:_config=) ppc ppc4xx pmc440 esd 1397 8ba132caSMatthias Fuchs 1398 281e00a3SwdenkPPChameleonEVB_config \ 1399 e55ca7e2SwdenkPPChameleonEVB_BA_25_config \ 1400 e55ca7e2SwdenkPPChameleonEVB_ME_25_config \ 1401 e55ca7e2SwdenkPPChameleonEVB_HI_25_config \ 1402 e55ca7e2SwdenkPPChameleonEVB_BA_33_config \ 1403 e55ca7e2SwdenkPPChameleonEVB_ME_33_config \ 1404 e55ca7e2SwdenkPPChameleonEVB_HI_33_config: unconfig 1405 f9328639SMarian Balakowicz @mkdir -p $(obj)include 1406 1d6f9720Swdenk @[ -z "$(findstring EVB_BA,$@)" ] || \ 1407 f9328639SMarian Balakowicz { echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 0" >>$(obj)include/config.h ; \ 1408 ae6d1056SWolfgang Denk $(XECHO) "... BASIC model" ; \ 1409 fbe4b5cbSwdenk } 1410 1d6f9720Swdenk @[ -z "$(findstring EVB_ME,$@)" ] || \ 1411 f9328639SMarian Balakowicz { echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 1" >>$(obj)include/config.h ; \ 1412 ae6d1056SWolfgang Denk $(XECHO) "... MEDIUM model" ; \ 1413 fbe4b5cbSwdenk } 1414 1d6f9720Swdenk @[ -z "$(findstring EVB_HI,$@)" ] || \ 1415 f9328639SMarian Balakowicz { echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 2" >>$(obj)include/config.h ; \ 1416 ae6d1056SWolfgang Denk $(XECHO) "... HIGH-END model" ; \ 1417 fbe4b5cbSwdenk } 1418 e55ca7e2Swdenk @[ -z "$(findstring _25,$@)" ] || \ 1419 f9328639SMarian Balakowicz { echo "#define CONFIG_PPCHAMELEON_CLK_25" >>$(obj)include/config.h ; \ 1420 ae6d1056SWolfgang Denk $(XECHO) "SysClk = 25MHz" ; \ 1421 e55ca7e2Swdenk } 1422 e55ca7e2Swdenk @[ -z "$(findstring _33,$@)" ] || \ 1423 f9328639SMarian Balakowicz { echo "#define CONFIG_PPCHAMELEON_CLK_33" >>$(obj)include/config.h ; \ 1424 ae6d1056SWolfgang Denk $(XECHO) "SysClk = 33MHz" ; \ 1425 e55ca7e2Swdenk } 1426 f9328639SMarian Balakowicz @$(MKCONFIG) -a $(call xtract_4xx,$@) ppc ppc4xx PPChameleonEVB dave 1427 12f34241Swdenk 1428 73ccb341SGary Jennejohnquad100hd_config: unconfig 1429 73ccb341SGary Jennejohn @$(MKCONFIG) $(@:_config=) ppc ppc4xx quad100hd 1430 73ccb341SGary Jennejohn 1431 11188d55SStefan Roeseredwood_config: unconfig 1432 11188d55SStefan Roese @$(MKCONFIG) $(@:_config=) ppc ppc4xx redwood amcc 1433 11188d55SStefan Roese 1434 430f1b0fSStefan Roesesbc405_config: unconfig 1435 430f1b0fSStefan Roese @$(MKCONFIG) $(@:_config=) ppc ppc4xx sbc405 1436 430f1b0fSStefan Roese 1437 699f0512SWolfgang Denksc3_config:unconfig 1438 699f0512SWolfgang Denk @$(MKCONFIG) $(@:_config=) ppc ppc4xx sc3 1439 699f0512SWolfgang Denk 1440 430f1b0fSStefan Roesesequoia_config \ 1441 854bc8daSStefan Roeserainier_config: unconfig 1442 8318fbf8SMarian Balakowicz @mkdir -p $(obj)include 1443 430f1b0fSStefan Roese @echo "#define CONFIG_$$(echo $(subst ,,$(@:_config=)) | \ 1444 430f1b0fSStefan Roese tr '[:lower:]' '[:upper:]')" >$(obj)include/config.h 1445 2aa54f65SStefan Roese @$(MKCONFIG) -n $@ -a sequoia ppc ppc4xx sequoia amcc 1446 854bc8daSStefan Roese 1447 430f1b0fSStefan Roesesequoia_nand_config \ 1448 854bc8daSStefan Roeserainier_nand_config: unconfig 1449 63e22764SWolfgang Denk @mkdir -p $(obj)include $(obj)board/amcc/sequoia 1450 63e22764SWolfgang Denk @mkdir -p $(obj)nand_spl/board/amcc/sequoia 1451 8318fbf8SMarian Balakowicz @echo "#define CONFIG_NAND_U_BOOT" > $(obj)include/config.h 1452 430f1b0fSStefan Roese @echo "#define CONFIG_$$(echo $(subst ,,$(@:_config=)) | \ 1453 430f1b0fSStefan Roese tr '[:lower:]' '[:upper:]')" >> $(obj)include/config.h 1454 430f1b0fSStefan Roese @$(MKCONFIG) -n $@ -a sequoia ppc ppc4xx sequoia amcc 1455 8318fbf8SMarian Balakowicz @echo "TEXT_BASE = 0x01000000" > $(obj)board/amcc/sequoia/config.tmp 1456 8318fbf8SMarian Balakowicz @echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk 1457 652a10c0Swdenk 1458 d4024bb7SJohn Otkentaihu_config: unconfig 1459 d4024bb7SJohn Otken @$(MKCONFIG) $(@:_config=) ppc ppc4xx taihu amcc 1460 d4024bb7SJohn Otken 1461 5fb692caSStefan Roesetaishan_config: unconfig 1462 5fb692caSStefan Roese @$(MKCONFIG) $(@:_config=) ppc ppc4xx taishan amcc 1463 5fb692caSStefan Roese 1464 72cd5aa7SstroeseVOH405_config: unconfig 1465 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc ppc4xx voh405 esd 1466 72cd5aa7Sstroese 1467 c419d1d6SstroeseVOM405_config: unconfig 1468 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc ppc4xx vom405 esd 1469 c419d1d6Sstroese 1470 7ebf7443SwdenkW7OLMC_config \ 1471 7ebf7443SwdenkW7OLMG_config: unconfig 1472 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc ppc4xx w7o 1473 7ebf7443Swdenk 1474 430f1b0fSStefan Roese# Walnut & Sycamore images are identical (recognized via PVR) 1475 430f1b0fSStefan Roesewalnut_config \ 1476 430f1b0fSStefan Roesesycamore_config: unconfig 1477 430f1b0fSStefan Roese @$(MKCONFIG) -n $@ -a walnut ppc ppc4xx walnut amcc 1478 7ebf7443Swdenk 1479 c419d1d6SstroeseWUH405_config: unconfig 1480 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc ppc4xx wuh405 esd 1481 c419d1d6Sstroese 1482 ba56f625SwdenkXPEDITE1K_config: unconfig 1483 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc ppc4xx xpedite1k 1484 ba56f625Swdenk 1485 430f1b0fSStefan Roeseyosemite_config \ 1486 8a316c9bSStefan Roeseyellowstone_config: unconfig 1487 700200c6SStefan Roese @mkdir -p $(obj)include 1488 430f1b0fSStefan Roese @echo "#define CONFIG_$$(echo $(subst ,,$(@:_config=)) | \ 1489 430f1b0fSStefan Roese tr '[:lower:]' '[:upper:]')" >$(obj)include/config.h 1490 2aa54f65SStefan Roese @$(MKCONFIG) -n $@ -a yosemite ppc ppc4xx yosemite amcc 1491 8a316c9bSStefan Roese 1492 6c5879f3SMarian Balakowiczyucca_config: unconfig 1493 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc ppc4xx yucca amcc 1494 6c5879f3SMarian Balakowicz 1495 779e9751SStefan Roesezeus_config: unconfig 1496 779e9751SStefan Roese @$(MKCONFIG) $(@:_config=) ppc ppc4xx zeus 1497 779e9751SStefan Roese 1498 7ebf7443Swdenk######################################################################### 1499 983fda83Swdenk## MPC8220 Systems 1500 983fda83Swdenk######################################################################### 1501 dc17fb6dSWolfgang Denk 1502 dc17fb6dSWolfgang DenkAlaska8220_config \ 1503 dc17fb6dSWolfgang DenkYukon8220_config: unconfig 1504 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8220 alaska 1505 983fda83Swdenk 1506 12b43d51Swdenksorcery_config: unconfig 1507 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8220 sorcery 1508 12b43d51Swdenk 1509 983fda83Swdenk######################################################################### 1510 7ebf7443Swdenk## MPC824x Systems 1511 7ebf7443Swdenk######################################################################### 1512 efa329cbSwdenkxtract_82xx = $(subst _BIGFLASH,,$(subst _ROMBOOT,,$(subst _L2,,$(subst _266MHz,,$(subst _300MHz,,$(subst _config,,$1)))))) 1513 3bac3513Swdenk 1514 0332990bSwdenkA3000_config: unconfig 1515 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc824x a3000 1516 0332990bSwdenk 1517 8e6f1a8eSWolfgang Denkbarco_config: unconfig 1518 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc824x barco 1519 8e6f1a8eSWolfgang Denk 1520 7ebf7443SwdenkBMW_config: unconfig 1521 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc824x bmw 1522 7ebf7443Swdenk 1523 3bac3513SwdenkCPC45_config \ 1524 3bac3513SwdenkCPC45_ROMBOOT_config: unconfig 1525 f9328639SMarian Balakowicz @$(MKCONFIG) $(call xtract_82xx,$@) ppc mpc824x cpc45 1526 f9328639SMarian Balakowicz @cd $(obj)include ; \ 1527 3bac3513Swdenk if [ "$(findstring _ROMBOOT_,$@)" ] ; then \ 1528 3bac3513Swdenk echo "CONFIG_BOOT_ROM = y" >> config.mk ; \ 1529 ae6d1056SWolfgang Denk $(XECHO) "... booting from 8-bit flash" ; \ 1530 3bac3513Swdenk else \ 1531 3bac3513Swdenk echo "CONFIG_BOOT_ROM = n" >> config.mk ; \ 1532 ae6d1056SWolfgang Denk $(XECHO) "... booting from 64-bit flash" ; \ 1533 3bac3513Swdenk fi; \ 1534 3bac3513Swdenk echo "export CONFIG_BOOT_ROM" >> config.mk; 1535 3bac3513Swdenk 1536 7ebf7443SwdenkCU824_config: unconfig 1537 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc824x cu824 1538 7ebf7443Swdenk 1539 7abf0c58Swdenkdebris_config: unconfig 1540 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc824x debris etin 1541 7abf0c58Swdenk 1542 80885a9dSwdenkeXalion_config: unconfig 1543 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc824x eXalion 1544 80885a9dSwdenk 1545 756f586aSwdenkHIDDEN_DRAGON_config: unconfig 1546 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc824x hidden_dragon 1547 756f586aSwdenk 1548 53dd6ce4SWolfgang Denkkvme080_config: unconfig 1549 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc824x kvme080 etin 1550 53dd6ce4SWolfgang Denk 1551 61525f2fSGuennadi Liakhovetski# HDLAN is broken ATM. Should be fixed as soon as hardware is available and as 1552 61525f2fSGuennadi Liakhovetski# time permits. 1553 61525f2fSGuennadi Liakhovetski#linkstation_HDLAN_config \ 1554 61525f2fSGuennadi Liakhovetski# Remove this line when HDLAN is fixed 1555 61525f2fSGuennadi Liakhovetskilinkstation_HGLAN_config: unconfig 1556 61525f2fSGuennadi Liakhovetski @mkdir -p $(obj)include 1557 61525f2fSGuennadi Liakhovetski @case $@ in \ 1558 61525f2fSGuennadi Liakhovetski *HGLAN*) echo "#define CONFIG_HGLAN 1" >$(obj)include/config.h; ;; \ 1559 61525f2fSGuennadi Liakhovetski *HDLAN*) echo "#define CONFIG_HLAN 1" >$(obj)include/config.h; ;; \ 1560 61525f2fSGuennadi Liakhovetski esac 1561 61525f2fSGuennadi Liakhovetski @$(MKCONFIG) -n $@ -a linkstation ppc mpc824x linkstation 1562 61525f2fSGuennadi Liakhovetski 1563 7ebf7443SwdenkMOUSSE_config: unconfig 1564 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc824x mousse 1565 7ebf7443Swdenk 1566 7ebf7443SwdenkMUSENKI_config: unconfig 1567 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc824x musenki 1568 7ebf7443Swdenk 1569 b4676a25SwdenkMVBLUE_config: unconfig 1570 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc824x mvblue 1571 b4676a25Swdenk 1572 7ebf7443SwdenkOXC_config: unconfig 1573 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc824x oxc 1574 7ebf7443Swdenk 1575 7ebf7443SwdenkPN62_config: unconfig 1576 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc824x pn62 1577 7ebf7443Swdenk 1578 7ebf7443SwdenkSandpoint8240_config: unconfig 1579 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc824x sandpoint 1580 7ebf7443Swdenk 1581 7ebf7443SwdenkSandpoint8245_config: unconfig 1582 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc824x sandpoint 1583 7ebf7443Swdenk 1584 466b7410Swdenksbc8240_config: unconfig 1585 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc824x sbc8240 1586 466b7410Swdenk 1587 d1cbe85bSwdenkSL8245_config: unconfig 1588 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc824x sl8245 1589 d1cbe85bSwdenk 1590 7ebf7443Swdenkutx8245_config: unconfig 1591 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc824x utx8245 1592 7ebf7443Swdenk 1593 7ebf7443Swdenk######################################################################### 1594 7ebf7443Swdenk## MPC8260 Systems 1595 7ebf7443Swdenk######################################################################### 1596 7ebf7443Swdenk 1597 54387ac9Swdenkatc_config: unconfig 1598 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8260 atc 1599 54387ac9Swdenk 1600 7ebf7443Swdenkcogent_mpc8260_config: unconfig 1601 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8260 cogent 1602 7ebf7443Swdenk 1603 7ebf7443SwdenkCPU86_config \ 1604 7ebf7443SwdenkCPU86_ROMBOOT_config: unconfig 1605 f9328639SMarian Balakowicz @$(MKCONFIG) $(call xtract_82xx,$@) ppc mpc8260 cpu86 1606 f9328639SMarian Balakowicz @cd $(obj)include ; \ 1607 7ebf7443Swdenk if [ "$(findstring _ROMBOOT_,$@)" ] ; then \ 1608 7ebf7443Swdenk echo "CONFIG_BOOT_ROM = y" >> config.mk ; \ 1609 ae6d1056SWolfgang Denk $(XECHO) "... booting from 8-bit flash" ; \ 1610 7ebf7443Swdenk else \ 1611 7ebf7443Swdenk echo "CONFIG_BOOT_ROM = n" >> config.mk ; \ 1612 ae6d1056SWolfgang Denk $(XECHO) "... booting from 64-bit flash" ; \ 1613 7ebf7443Swdenk fi; \ 1614 7ebf7443Swdenk echo "export CONFIG_BOOT_ROM" >> config.mk; 1615 7ebf7443Swdenk 1616 384cc687SwdenkCPU87_config \ 1617 384cc687SwdenkCPU87_ROMBOOT_config: unconfig 1618 f9328639SMarian Balakowicz @$(MKCONFIG) $(call xtract_82xx,$@) ppc mpc8260 cpu87 1619 f9328639SMarian Balakowicz @cd $(obj)include ; \ 1620 384cc687Swdenk if [ "$(findstring _ROMBOOT_,$@)" ] ; then \ 1621 384cc687Swdenk echo "CONFIG_BOOT_ROM = y" >> config.mk ; \ 1622 ae6d1056SWolfgang Denk $(XECHO) "... booting from 8-bit flash" ; \ 1623 384cc687Swdenk else \ 1624 384cc687Swdenk echo "CONFIG_BOOT_ROM = n" >> config.mk ; \ 1625 ae6d1056SWolfgang Denk $(XECHO) "... booting from 64-bit flash" ; \ 1626 384cc687Swdenk fi; \ 1627 384cc687Swdenk echo "export CONFIG_BOOT_ROM" >> config.mk; 1628 384cc687Swdenk 1629 f901a83bSWolfgang Denkep8248_config \ 1630 f901a83bSWolfgang Denkep8248E_config : unconfig 1631 f9328639SMarian Balakowicz @$(MKCONFIG) ep8248 ppc mpc8260 ep8248 1632 f901a83bSWolfgang Denk 1633 7ebf7443Swdenkep8260_config: unconfig 1634 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8260 ep8260 1635 7ebf7443Swdenk 1636 8d4ac794SWolfgang Denkep82xxm_config: unconfig 1637 90b1b2d6SGrant Likely @$(MKCONFIG) $(@:_config=) ppc mpc8260 ep82xxm 1638 8d4ac794SWolfgang Denk 1639 7ebf7443Swdenkgw8260_config: unconfig 1640 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8260 gw8260 1641 7ebf7443Swdenk 1642 7ebf7443Swdenkhymod_config: unconfig 1643 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8260 hymod 1644 7ebf7443Swdenk 1645 9dd41a7bSwdenkIDS8247_config: unconfig 1646 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8260 ids8247 1647 9dd41a7bSwdenk 1648 7ebf7443SwdenkIPHASE4539_config: unconfig 1649 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8260 iphase4539 1650 7ebf7443Swdenk 1651 c3c7f861SwdenkISPAN_config \ 1652 c3c7f861SwdenkISPAN_REVB_config: unconfig 1653 f9328639SMarian Balakowicz @mkdir -p $(obj)include 1654 c3c7f861Swdenk @if [ "$(findstring _REVB_,$@)" ] ; then \ 1655 f9328639SMarian Balakowicz echo "#define CFG_REV_B" > $(obj)include/config.h ; \ 1656 c3c7f861Swdenk fi 1657 f9328639SMarian Balakowicz @$(MKCONFIG) -a ISPAN ppc mpc8260 ispan 1658 c3c7f861Swdenk 1659 ac9db066SHeiko Schochermgcoge_config : unconfig 1660 ac9db066SHeiko Schocher @$(MKCONFIG) mgcoge ppc mpc8260 mgcoge 1661 ac9db066SHeiko Schocher 1662 04a85b3bSwdenkMPC8260ADS_config \ 1663 901787d6SwdenkMPC8260ADS_lowboot_config \ 1664 04a85b3bSwdenkMPC8260ADS_33MHz_config \ 1665 901787d6SwdenkMPC8260ADS_33MHz_lowboot_config \ 1666 04a85b3bSwdenkMPC8260ADS_40MHz_config \ 1667 901787d6SwdenkMPC8260ADS_40MHz_lowboot_config \ 1668 04a85b3bSwdenkMPC8272ADS_config \ 1669 901787d6SwdenkMPC8272ADS_lowboot_config \ 1670 04a85b3bSwdenkPQ2FADS_config \ 1671 901787d6SwdenkPQ2FADS_lowboot_config \ 1672 04a85b3bSwdenkPQ2FADS-VR_config \ 1673 901787d6SwdenkPQ2FADS-VR_lowboot_config \ 1674 04a85b3bSwdenkPQ2FADS-ZU_config \ 1675 901787d6SwdenkPQ2FADS-ZU_lowboot_config \ 1676 04a85b3bSwdenkPQ2FADS-ZU_66MHz_config \ 1677 901787d6SwdenkPQ2FADS-ZU_66MHz_lowboot_config \ 1678 04a85b3bSwdenk : unconfig 1679 f9328639SMarian Balakowicz @mkdir -p $(obj)include 1680 b7e24d28SJon Loeliger @mkdir -p $(obj)board/freescale/mpc8260ads 1681 04a85b3bSwdenk $(if $(findstring PQ2FADS,$@), \ 1682 f9328639SMarian Balakowicz @echo "#define CONFIG_ADSTYPE CFG_PQ2FADS" > $(obj)include/config.h, \ 1683 f9328639SMarian Balakowicz @echo "#define CONFIG_ADSTYPE CFG_"$(subst MPC,,$(word 1,$(subst _, ,$@))) > $(obj)include/config.h) 1684 04a85b3bSwdenk $(if $(findstring MHz,$@), \ 1685 f9328639SMarian Balakowicz @echo "#define CONFIG_8260_CLKIN" $(subst MHz,,$(word 2,$(subst _, ,$@)))"000000" >> $(obj)include/config.h, \ 1686 04a85b3bSwdenk $(if $(findstring VR,$@), \ 1687 f9328639SMarian Balakowicz @echo "#define CONFIG_8260_CLKIN 66000000" >> $(obj)include/config.h)) 1688 901787d6Swdenk @[ -z "$(findstring lowboot_,$@)" ] || \ 1689 b7e24d28SJon Loeliger { echo "TEXT_BASE = 0xFF800000" >$(obj)board/freescale/mpc8260ads/config.tmp ; \ 1690 ae6d1056SWolfgang Denk $(XECHO) "... with lowboot configuration" ; \ 1691 901787d6Swdenk } 1692 b7e24d28SJon Loeliger @$(MKCONFIG) -a MPC8260ADS ppc mpc8260 mpc8260ads freescale 1693 7ebf7443Swdenk 1694 db2f721fSwdenkMPC8266ADS_config: unconfig 1695 aa3511e4SJon Loeliger @$(MKCONFIG) $(@:_config=) ppc mpc8260 mpc8266ads freescale 1696 db2f721fSwdenk 1697 adf22b66SHeiko Schochermuas3001_dev_config \ 1698 adf22b66SHeiko Schochermuas3001_config : unconfig 1699 adf22b66SHeiko Schocher @mkdir -p $(obj)include 1700 adf22b66SHeiko Schocher @mkdir -p $(obj)board/muas3001 1701 adf22b66SHeiko Schocher @if [ "$(findstring dev,$@)" ] ; then \ 1702 adf22b66SHeiko Schocher echo "#define CONFIG_MUAS_DEV_BOARD" > $(obj)include/config.h ; \ 1703 adf22b66SHeiko Schocher fi 1704 adf22b66SHeiko Schocher @$(MKCONFIG) -a muas3001 ppc mpc8260 muas3001 1705 adf22b66SHeiko Schocher 1706 efa329cbSwdenk# PM825/PM826 default configuration: small (= 8 MB) Flash / boot from 64-bit flash 1707 10f67017SwdenkPM825_config \ 1708 efa329cbSwdenkPM825_ROMBOOT_config \ 1709 efa329cbSwdenkPM825_BIGFLASH_config \ 1710 efa329cbSwdenkPM825_ROMBOOT_BIGFLASH_config \ 1711 7ebf7443SwdenkPM826_config \ 1712 efa329cbSwdenkPM826_ROMBOOT_config \ 1713 efa329cbSwdenkPM826_BIGFLASH_config \ 1714 efa329cbSwdenkPM826_ROMBOOT_BIGFLASH_config: unconfig 1715 f9328639SMarian Balakowicz @mkdir -p $(obj)include 1716 f9328639SMarian Balakowicz @mkdir -p $(obj)board/pm826 1717 efa329cbSwdenk @if [ "$(findstring PM825_,$@)" ] ; then \ 1718 f9328639SMarian Balakowicz echo "#define CONFIG_PCI" >$(obj)include/config.h ; \ 1719 7ebf7443Swdenk else \ 1720 f9328639SMarian Balakowicz >$(obj)include/config.h ; \ 1721 efa329cbSwdenk fi 1722 efa329cbSwdenk @if [ "$(findstring _ROMBOOT_,$@)" ] ; then \ 1723 ae6d1056SWolfgang Denk $(XECHO) "... booting from 8-bit flash" ; \ 1724 f9328639SMarian Balakowicz echo "#define CONFIG_BOOT_ROM" >>$(obj)include/config.h ; \ 1725 f9328639SMarian Balakowicz echo "TEXT_BASE = 0xFF800000" >$(obj)board/pm826/config.tmp ; \ 1726 efa329cbSwdenk if [ "$(findstring _BIGFLASH_,$@)" ] ; then \ 1727 ae6d1056SWolfgang Denk $(XECHO) "... with 32 MB Flash" ; \ 1728 f9328639SMarian Balakowicz echo "#define CONFIG_FLASH_32MB" >>$(obj)include/config.h ; \ 1729 7ebf7443Swdenk fi; \ 1730 efa329cbSwdenk else \ 1731 ae6d1056SWolfgang Denk $(XECHO) "... booting from 64-bit flash" ; \ 1732 efa329cbSwdenk if [ "$(findstring _BIGFLASH_,$@)" ] ; then \ 1733 ae6d1056SWolfgang Denk $(XECHO) "... with 32 MB Flash" ; \ 1734 f9328639SMarian Balakowicz echo "#define CONFIG_FLASH_32MB" >>$(obj)include/config.h ; \ 1735 f9328639SMarian Balakowicz echo "TEXT_BASE = 0x40000000" >$(obj)board/pm826/config.tmp ; \ 1736 efa329cbSwdenk else \ 1737 f9328639SMarian Balakowicz echo "TEXT_BASE = 0xFF000000" >$(obj)board/pm826/config.tmp ; \ 1738 efa329cbSwdenk fi; \ 1739 efa329cbSwdenk fi 1740 f9328639SMarian Balakowicz @$(MKCONFIG) -a PM826 ppc mpc8260 pm826 1741 efa329cbSwdenk 1742 efa329cbSwdenkPM828_config \ 1743 efa329cbSwdenkPM828_PCI_config \ 1744 efa329cbSwdenkPM828_ROMBOOT_config \ 1745 efa329cbSwdenkPM828_ROMBOOT_PCI_config: unconfig 1746 f9328639SMarian Balakowicz @mkdir -p $(obj)include 1747 f9328639SMarian Balakowicz @mkdir -p $(obj)board/pm826 1748 17076266SMarian Balakowicz @if [ "$(findstring _PCI_,$@)" ] ; then \ 1749 f9328639SMarian Balakowicz echo "#define CONFIG_PCI" >>$(obj)include/config.h ; \ 1750 ae6d1056SWolfgang Denk $(XECHO) "... with PCI enabled" ; \ 1751 efa329cbSwdenk fi 1752 efa329cbSwdenk @if [ "$(findstring _ROMBOOT_,$@)" ] ; then \ 1753 ae6d1056SWolfgang Denk $(XECHO) "... booting from 8-bit flash" ; \ 1754 f9328639SMarian Balakowicz echo "#define CONFIG_BOOT_ROM" >>$(obj)include/config.h ; \ 1755 f9328639SMarian Balakowicz echo "TEXT_BASE = 0xFF800000" >$(obj)board/pm826/config.tmp ; \ 1756 efa329cbSwdenk fi 1757 f9328639SMarian Balakowicz @$(MKCONFIG) -a PM828 ppc mpc8260 pm828 1758 7ebf7443Swdenk 1759 7ebf7443Swdenkppmc8260_config: unconfig 1760 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8260 ppmc8260 1761 7ebf7443Swdenk 1762 8b0bfc68SwdenkRattler8248_config \ 1763 8b0bfc68SwdenkRattler_config: unconfig 1764 f9328639SMarian Balakowicz @mkdir -p $(obj)include 1765 8b0bfc68Swdenk $(if $(findstring 8248,$@), \ 1766 f9328639SMarian Balakowicz @echo "#define CONFIG_MPC8248" > $(obj)include/config.h) 1767 f9328639SMarian Balakowicz @$(MKCONFIG) -a Rattler ppc mpc8260 rattler 1768 8b0bfc68Swdenk 1769 7ebf7443SwdenkRPXsuper_config: unconfig 1770 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8260 rpxsuper 1771 7ebf7443Swdenk 1772 7ebf7443Swdenkrsdproto_config: unconfig 1773 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8260 rsdproto 1774 7ebf7443Swdenk 1775 7ebf7443Swdenksacsng_config: unconfig 1776 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8260 sacsng 1777 7ebf7443Swdenk 1778 7ebf7443Swdenksbc8260_config: unconfig 1779 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8260 sbc8260 1780 7ebf7443Swdenk 1781 7ebf7443SwdenkSCM_config: unconfig 1782 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8260 SCM siemens 1783 7ebf7443Swdenk 1784 27b207fdSwdenkTQM8255_AA_config \ 1785 27b207fdSwdenkTQM8260_AA_config \ 1786 27b207fdSwdenkTQM8260_AB_config \ 1787 27b207fdSwdenkTQM8260_AC_config \ 1788 27b207fdSwdenkTQM8260_AD_config \ 1789 27b207fdSwdenkTQM8260_AE_config \ 1790 27b207fdSwdenkTQM8260_AF_config \ 1791 27b207fdSwdenkTQM8260_AG_config \ 1792 27b207fdSwdenkTQM8260_AH_config \ 1793 1f62bc2dSWolfgang DenkTQM8260_AI_config \ 1794 27b207fdSwdenkTQM8265_AA_config: unconfig 1795 f9328639SMarian Balakowicz @mkdir -p $(obj)include 1796 27b207fdSwdenk @case "$@" in \ 1797 27b207fdSwdenk TQM8255_AA_config) CTYPE=MPC8255; CFREQ=300; CACHE=no; BMODE=8260;; \ 1798 27b207fdSwdenk TQM8260_AA_config) CTYPE=MPC8260; CFREQ=200; CACHE=no; BMODE=8260;; \ 1799 27b207fdSwdenk TQM8260_AB_config) CTYPE=MPC8260; CFREQ=200; CACHE=yes; BMODE=60x;; \ 1800 27b207fdSwdenk TQM8260_AC_config) CTYPE=MPC8260; CFREQ=200; CACHE=yes; BMODE=60x;; \ 1801 27b207fdSwdenk TQM8260_AD_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=60x;; \ 1802 27b207fdSwdenk TQM8260_AE_config) CTYPE=MPC8260; CFREQ=266; CACHE=no; BMODE=8260;; \ 1803 27b207fdSwdenk TQM8260_AF_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=60x;; \ 1804 27b207fdSwdenk TQM8260_AG_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=8260;; \ 1805 27b207fdSwdenk TQM8260_AH_config) CTYPE=MPC8260; CFREQ=300; CACHE=yes; BMODE=60x;; \ 1806 1f62bc2dSWolfgang Denk TQM8260_AI_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=60x;; \ 1807 27b207fdSwdenk TQM8265_AA_config) CTYPE=MPC8265; CFREQ=300; CACHE=no; BMODE=60x;; \ 1808 27b207fdSwdenk esac; \ 1809 27b207fdSwdenk if [ "$${CTYPE}" != "MPC8260" ] ; then \ 1810 f9328639SMarian Balakowicz echo "#define CONFIG_$${CTYPE}" >>$(obj)include/config.h ; \ 1811 27b207fdSwdenk fi; \ 1812 f9328639SMarian Balakowicz echo "#define CONFIG_$${CFREQ}MHz" >>$(obj)include/config.h ; \ 1813 27b207fdSwdenk echo "... with $${CFREQ}MHz system clock" ; \ 1814 1aaab9bfSWolfgang Denk if [ "$${CACHE}" = "yes" ] ; then \ 1815 f9328639SMarian Balakowicz echo "#define CONFIG_L2_CACHE" >>$(obj)include/config.h ; \ 1816 ae6d1056SWolfgang Denk $(XECHO) "... with L2 Cache support" ; \ 1817 7ebf7443Swdenk else \ 1818 f9328639SMarian Balakowicz echo "#undef CONFIG_L2_CACHE" >>$(obj)include/config.h ; \ 1819 ae6d1056SWolfgang Denk $(XECHO) "... without L2 Cache support" ; \ 1820 27b207fdSwdenk fi; \ 1821 1aaab9bfSWolfgang Denk if [ "$${BMODE}" = "60x" ] ; then \ 1822 f9328639SMarian Balakowicz echo "#define CONFIG_BUSMODE_60x" >>$(obj)include/config.h ; \ 1823 ae6d1056SWolfgang Denk $(XECHO) "... with 60x Bus Mode" ; \ 1824 27b207fdSwdenk else \ 1825 f9328639SMarian Balakowicz echo "#undef CONFIG_BUSMODE_60x" >>$(obj)include/config.h ; \ 1826 ae6d1056SWolfgang Denk $(XECHO) "... without 60x Bus Mode" ; \ 1827 7ebf7443Swdenk fi 1828 4677988cSWolfgang Grandegger @$(MKCONFIG) -a TQM8260 ppc mpc8260 tqm8260 tqc 1829 7ebf7443Swdenk 1830 fa230445SHeiko SchocherTQM8272_config: unconfig 1831 4677988cSWolfgang Grandegger @$(MKCONFIG) TQM8272 ppc mpc8260 tqm8272 tqc 1832 fa230445SHeiko Schocher 1833 ba91e26aSwdenkVoVPN-GW_66MHz_config \ 1834 ba91e26aSwdenkVoVPN-GW_100MHz_config: unconfig 1835 f9328639SMarian Balakowicz @mkdir -p $(obj)include 1836 f9328639SMarian Balakowicz @echo "#define CONFIG_CLKIN_$(word 2,$(subst _, ,$@))" > $(obj)include/config.h 1837 f9328639SMarian Balakowicz @$(MKCONFIG) -a VoVPN-GW ppc mpc8260 vovpn-gw funkwerk 1838 ba91e26aSwdenk 1839 54387ac9SwdenkZPC1900_config: unconfig 1840 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc8260 zpc1900 1841 7aa78614Swdenk 1842 4e5ca3ebSwdenk######################################################################### 1843 4e5ca3ebSwdenk## Coldfire 1844 4e5ca3ebSwdenk######################################################################### 1845 4e5ca3ebSwdenk 1846 1552af70STsiChungLiewM52277EVB_config: unconfig 1847 1552af70STsiChungLiew @$(MKCONFIG) -a M52277EVB m68k mcf5227x m52277evb freescale 1848 1552af70STsiChungLiew 1849 4a442d31STsiChungLiewM5235EVB_config \ 1850 4a442d31STsiChungLiewM5235EVB_Flash16_config \ 1851 4a442d31STsiChungLiewM5235EVB_Flash32_config: unconfig 1852 4a442d31STsiChungLiew @case "$@" in \ 1853 4a442d31STsiChungLiew M5235EVB_config) FLASH=16;; \ 1854 4a442d31STsiChungLiew M5235EVB_Flash16_config) FLASH=16;; \ 1855 4a442d31STsiChungLiew M5235EVB_Flash32_config) FLASH=32;; \ 1856 4a442d31STsiChungLiew esac; \ 1857 4a442d31STsiChungLiew if [ "$${FLASH}" != "16" ] ; then \ 1858 ae6d1056SWolfgang Denk echo "#define NORFLASH_PS32BIT 1" >> $(obj)include/config.h ; \ 1859 4a442d31STsiChungLiew echo "TEXT_BASE = 0xFFC00000" > $(obj)board/freescale/m5235evb/config.tmp ; \ 1860 4a442d31STsiChungLiew cp $(obj)board/freescale/m5235evb/u-boot.32 $(obj)board/freescale/m5235evb/u-boot.lds ; \ 1861 4a442d31STsiChungLiew else \ 1862 4a442d31STsiChungLiew echo "TEXT_BASE = 0xFFE00000" > $(obj)board/freescale/m5235evb/config.tmp ; \ 1863 4a442d31STsiChungLiew cp $(obj)board/freescale/m5235evb/u-boot.16 $(obj)board/freescale/m5235evb/u-boot.lds ; \ 1864 4a442d31STsiChungLiew fi 1865 4a442d31STsiChungLiew @$(MKCONFIG) -a M5235EVB m68k mcf523x m5235evb freescale 1866 4a442d31STsiChungLiew 1867 a605aacdSTsiChungLiewM5249EVB_config : unconfig 1868 a605aacdSTsiChungLiew @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5249evb freescale 1869 a605aacdSTsiChungLiew 1870 6d33c6acSTsiChung LiewM5253DEMO_config : unconfig 1871 6d33c6acSTsiChung Liew @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5253demo freescale 1872 6d33c6acSTsiChung Liew 1873 a1436a84STsiChungLiewM5253EVBE_config : unconfig 1874 a1436a84STsiChungLiew @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5253evbe freescale 1875 a1436a84STsiChungLiew 1876 7481266eSWolfgang Denkcobra5272_config : unconfig 1877 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) m68k mcf52x2 cobra5272 1878 7481266eSWolfgang Denk 1879 4176c799SWolfgang DenkEB+MCF-EV123_config : unconfig 1880 f9328639SMarian Balakowicz @mkdir -p $(obj)include 1881 f9328639SMarian Balakowicz @mkdir -p $(obj)board/BuS/EB+MCF-EV123 1882 f9328639SMarian Balakowicz @echo "TEXT_BASE = 0xFFE00000"|tee $(obj)board/BuS/EB+MCF-EV123/textbase.mk 1883 f9328639SMarian Balakowicz @$(MKCONFIG) EB+MCF-EV123 m68k mcf52x2 EB+MCF-EV123 BuS 1884 4176c799SWolfgang Denk 1885 4176c799SWolfgang DenkEB+MCF-EV123_internal_config : unconfig 1886 f9328639SMarian Balakowicz @mkdir -p $(obj)include 1887 f9328639SMarian Balakowicz @mkdir -p $(obj)board/BuS/EB+MCF-EV123 1888 f9328639SMarian Balakowicz @echo "TEXT_BASE = 0xF0000000"|tee $(obj)board/BuS/EB+MCF-EV123/textbase.mk 1889 f9328639SMarian Balakowicz @$(MKCONFIG) EB+MCF-EV123 m68k mcf52x2 EB+MCF-EV123 BuS 1890 4176c799SWolfgang Denk 1891 daa6e418SBartlomiej Siekaidmr_config : unconfig 1892 daa6e418SBartlomiej Sieka @$(MKCONFIG) $(@:_config=) m68k mcf52x2 idmr 1893 daa6e418SBartlomiej Sieka 1894 4176c799SWolfgang DenkM5271EVB_config : unconfig 1895 659e9badSTsiChung Liew @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5271evb freescale 1896 4176c799SWolfgang Denk 1897 4e5ca3ebSwdenkM5272C3_config : unconfig 1898 56df091dSTsiChung Liew @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5272c3 freescale 1899 4e5ca3ebSwdenk 1900 545c8e0aSMatthew FettkeM5275EVB_config : unconfig 1901 545c8e0aSMatthew Fettke @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5275evb freescale 1902 545c8e0aSMatthew Fettke 1903 4e5ca3ebSwdenkM5282EVB_config : unconfig 1904 10db3a17STsiChung Liew @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5282evb freescale 1905 4e5ca3ebSwdenk 1906 8e585f02STsiChung LiewM5329AFEE_config \ 1907 8e585f02STsiChung LiewM5329BFEE_config : unconfig 1908 8e585f02STsiChung Liew @case "$@" in \ 1909 8e585f02STsiChung Liew M5329AFEE_config) NAND=0;; \ 1910 8e585f02STsiChung Liew M5329BFEE_config) NAND=16;; \ 1911 8e585f02STsiChung Liew esac; \ 1912 8e585f02STsiChung Liew if [ "$${NAND}" != "0" ] ; then \ 1913 ab77bc54STsiChungLiew echo "#define NANDFLASH_SIZE $${NAND}" > $(obj)include/config.h ; \ 1914 8e585f02STsiChung Liew fi 1915 8e585f02STsiChung Liew @$(MKCONFIG) -a M5329EVB m68k mcf532x m5329evb freescale 1916 8e585f02STsiChung Liew 1917 aa5f1f9dSTsiChungLiewM5373EVB_config : unconfig 1918 aa5f1f9dSTsiChungLiew @case "$@" in \ 1919 aa5f1f9dSTsiChungLiew M5373EVB_config) NAND=16;; \ 1920 aa5f1f9dSTsiChungLiew esac; \ 1921 aa5f1f9dSTsiChungLiew if [ "$${NAND}" != "0" ] ; then \ 1922 aa5f1f9dSTsiChungLiew echo "#define NANDFLASH_SIZE $${NAND}" > $(obj)include/config.h ; \ 1923 aa5f1f9dSTsiChungLiew fi 1924 aa5f1f9dSTsiChungLiew @$(MKCONFIG) -a M5373EVB m68k mcf532x m5373evb freescale 1925 aa5f1f9dSTsiChungLiew 1926 05316f8eSTsiChung LiewM54451EVB_config \ 1927 05316f8eSTsiChung LiewM54451EVB_spansion_config \ 1928 05316f8eSTsiChung LiewM54451EVB_stmicro_config : unconfig 1929 05316f8eSTsiChung Liew @case "$@" in \ 1930 05316f8eSTsiChung Liew M54451EVB_config) FLASH=SPANSION;; \ 1931 05316f8eSTsiChung Liew M54451EVB_spansion_config) FLASH=SPANSION;; \ 1932 05316f8eSTsiChung Liew M54451EVB_stmicro_config) FLASH=STMICRO;; \ 1933 05316f8eSTsiChung Liew esac; \ 1934 05316f8eSTsiChung Liew if [ "$${FLASH}" = "SPANSION" ] ; then \ 1935 05316f8eSTsiChung Liew echo "#define CFG_SPANSION_BOOT" >> $(obj)include/config.h ; \ 1936 05316f8eSTsiChung Liew echo "TEXT_BASE = 0x00000000" > $(obj)board/freescale/m54451evb/config.tmp ; \ 1937 05316f8eSTsiChung Liew cp $(obj)board/freescale/m54451evb/u-boot.spa $(obj)board/freescale/m54451evb/u-boot.lds ; \ 1938 05316f8eSTsiChung Liew $(XECHO) "... with SPANSION boot..." ; \ 1939 05316f8eSTsiChung Liew fi; \ 1940 05316f8eSTsiChung Liew if [ "$${FLASH}" = "STMICRO" ] ; then \ 1941 05316f8eSTsiChung Liew echo "#define CONFIG_CF_SBF" >> $(obj)include/config.h ; \ 1942 05316f8eSTsiChung Liew echo "#define CFG_STMICRO_BOOT" >> $(obj)include/config.h ; \ 1943 05316f8eSTsiChung Liew echo "TEXT_BASE = 0x47E00000" > $(obj)board/freescale/m54451evb/config.tmp ; \ 1944 05316f8eSTsiChung Liew cp $(obj)board/freescale/m54451evb/u-boot.stm $(obj)board/freescale/m54451evb/u-boot.lds ; \ 1945 05316f8eSTsiChung Liew $(XECHO) "... with ST Micro boot..." ; \ 1946 05316f8eSTsiChung Liew fi; \ 1947 05316f8eSTsiChung Liew echo "#define CFG_INPUT_CLKSRC 24000000" >> $(obj)include/config.h ; 1948 05316f8eSTsiChung Liew @$(MKCONFIG) -a M54451EVB m68k mcf5445x m54451evb freescale 1949 05316f8eSTsiChung Liew 1950 8ae158cdSTsiChungLiewM54455EVB_config \ 1951 8ae158cdSTsiChungLiewM54455EVB_atmel_config \ 1952 8ae158cdSTsiChungLiewM54455EVB_intel_config \ 1953 8ae158cdSTsiChungLiewM54455EVB_a33_config \ 1954 8ae158cdSTsiChungLiewM54455EVB_a66_config \ 1955 8ae158cdSTsiChungLiewM54455EVB_i33_config \ 1956 9f751551STsiChung LiewM54455EVB_i66_config \ 1957 9f751551STsiChung LiewM54455EVB_stm33_config : unconfig 1958 8ae158cdSTsiChungLiew @case "$@" in \ 1959 8ae158cdSTsiChungLiew M54455EVB_config) FLASH=ATMEL; FREQ=33333333;; \ 1960 8ae158cdSTsiChungLiew M54455EVB_atmel_config) FLASH=ATMEL; FREQ=33333333;; \ 1961 8ae158cdSTsiChungLiew M54455EVB_intel_config) FLASH=INTEL; FREQ=33333333;; \ 1962 8ae158cdSTsiChungLiew M54455EVB_a33_config) FLASH=ATMEL; FREQ=33333333;; \ 1963 8ae158cdSTsiChungLiew M54455EVB_a66_config) FLASH=ATMEL; FREQ=66666666;; \ 1964 8ae158cdSTsiChungLiew M54455EVB_i33_config) FLASH=INTEL; FREQ=33333333;; \ 1965 8ae158cdSTsiChungLiew M54455EVB_i66_config) FLASH=INTEL; FREQ=66666666;; \ 1966 9f751551STsiChung Liew M54455EVB_stm33_config) FLASH=STMICRO; FREQ=33333333;; \ 1967 8ae158cdSTsiChungLiew esac; \ 1968 1aaab9bfSWolfgang Denk if [ "$${FLASH}" = "INTEL" ] ; then \ 1969 9f751551STsiChung Liew echo "#define CFG_INTEL_BOOT" >> $(obj)include/config.h ; \ 1970 e8ee8f3aSTsiChungLiew echo "TEXT_BASE = 0x00000000" > $(obj)board/freescale/m54455evb/config.tmp ; \ 1971 e8ee8f3aSTsiChungLiew cp $(obj)board/freescale/m54455evb/u-boot.int $(obj)board/freescale/m54455evb/u-boot.lds ; \ 1972 ae6d1056SWolfgang Denk $(XECHO) "... with INTEL boot..." ; \ 1973 9f751551STsiChung Liew fi; \ 1974 9f751551STsiChung Liew if [ "$${FLASH}" = "ATMEL" ] ; then \ 1975 4a442d31STsiChungLiew echo "#define CFG_ATMEL_BOOT" >> $(obj)include/config.h ; \ 1976 e8ee8f3aSTsiChungLiew echo "TEXT_BASE = 0x04000000" > $(obj)board/freescale/m54455evb/config.tmp ; \ 1977 e8ee8f3aSTsiChungLiew cp $(obj)board/freescale/m54455evb/u-boot.atm $(obj)board/freescale/m54455evb/u-boot.lds ; \ 1978 ae6d1056SWolfgang Denk $(XECHO) "... with ATMEL boot..." ; \ 1979 8ae158cdSTsiChungLiew fi; \ 1980 9f751551STsiChung Liew if [ "$${FLASH}" = "STMICRO" ] ; then \ 1981 9f751551STsiChung Liew echo "#define CONFIG_CF_SBF" >> $(obj)include/config.h ; \ 1982 9f751551STsiChung Liew echo "#define CFG_STMICRO_BOOT" >> $(obj)include/config.h ; \ 1983 9f751551STsiChung Liew echo "TEXT_BASE = 0x4FE00000" > $(obj)board/freescale/m54455evb/config.tmp ; \ 1984 9f751551STsiChung Liew cp $(obj)board/freescale/m54455evb/u-boot.stm $(obj)board/freescale/m54455evb/u-boot.lds ; \ 1985 9f751551STsiChung Liew $(XECHO) "... with ST Micro boot..." ; \ 1986 9f751551STsiChung Liew fi; \ 1987 4a442d31STsiChungLiew echo "#define CFG_INPUT_CLKSRC $${FREQ}" >> $(obj)include/config.h ; \ 1988 ae6d1056SWolfgang Denk $(XECHO) "... with $${FREQ}Hz input clock" 1989 8ae158cdSTsiChungLiew @$(MKCONFIG) -a M54455EVB m68k mcf5445x m54455evb freescale 1990 8ae158cdSTsiChungLiew 1991 57a12720STsiChungLiewM5475AFE_config \ 1992 57a12720STsiChungLiewM5475BFE_config \ 1993 57a12720STsiChungLiewM5475CFE_config \ 1994 57a12720STsiChungLiewM5475DFE_config \ 1995 57a12720STsiChungLiewM5475EFE_config \ 1996 57a12720STsiChungLiewM5475FFE_config \ 1997 57a12720STsiChungLiewM5475GFE_config : unconfig 1998 57a12720STsiChungLiew @case "$@" in \ 1999 57a12720STsiChungLiew M5475AFE_config) BOOT=2;CODE=0;VID=0;USB=0;RAM=64;RAM1=0;; \ 2000 57a12720STsiChungLiew M5475BFE_config) BOOT=2;CODE=16;VID=0;USB=0;RAM=64;RAM1=0;; \ 2001 57a12720STsiChungLiew M5475CFE_config) BOOT=2;CODE=16;VID=1;USB=1;RAM=64;RAM1=0;; \ 2002 57a12720STsiChungLiew M5475DFE_config) BOOT=2;CODE=0;VID=0;USB=1;RAM=64;RAM1=0;; \ 2003 57a12720STsiChungLiew M5475EFE_config) BOOT=2;CODE=0;VID=1;USB=1;RAM=64;RAM1=0;; \ 2004 57a12720STsiChungLiew M5475FFE_config) BOOT=2;CODE=32;VID=1;USB=1;RAM=64;RAM1=64;; \ 2005 57a12720STsiChungLiew M5475GFE_config) BOOT=4;CODE=0;VID=0;USB=0;RAM=64;RAM1=0;; \ 2006 57a12720STsiChungLiew esac; \ 2007 57a12720STsiChungLiew echo "#define CFG_BUSCLK 133333333" > $(obj)include/config.h ; \ 2008 57a12720STsiChungLiew echo "#define CFG_BOOTSZ $${BOOT}" >> $(obj)include/config.h ; \ 2009 57a12720STsiChungLiew echo "#define CFG_DRAMSZ $${RAM}" >> $(obj)include/config.h ; \ 2010 57a12720STsiChungLiew if [ "$${RAM1}" != "0" ] ; then \ 2011 57a12720STsiChungLiew echo "#define CFG_DRAMSZ1 $${RAM1}" >> $(obj)include/config.h ; \ 2012 57a12720STsiChungLiew fi; \ 2013 57a12720STsiChungLiew if [ "$${CODE}" != "0" ] ; then \ 2014 57a12720STsiChungLiew echo "#define CFG_NOR1SZ $${CODE}" >> $(obj)include/config.h ; \ 2015 57a12720STsiChungLiew fi; \ 2016 57a12720STsiChungLiew if [ "$${VID}" == "1" ] ; then \ 2017 57a12720STsiChungLiew echo "#define CFG_VIDEO" >> $(obj)include/config.h ; \ 2018 57a12720STsiChungLiew fi; \ 2019 57a12720STsiChungLiew if [ "$${USB}" == "1" ] ; then \ 2020 57a12720STsiChungLiew echo "#define CFG_USBCTRL" >> $(obj)include/config.h ; \ 2021 57a12720STsiChungLiew fi 2022 57a12720STsiChungLiew @$(MKCONFIG) -a M5475EVB m68k mcf547x_8x m547xevb freescale 2023 57a12720STsiChungLiew 2024 57a12720STsiChungLiewM5485AFE_config \ 2025 57a12720STsiChungLiewM5485BFE_config \ 2026 57a12720STsiChungLiewM5485CFE_config \ 2027 57a12720STsiChungLiewM5485DFE_config \ 2028 57a12720STsiChungLiewM5485EFE_config \ 2029 57a12720STsiChungLiewM5485FFE_config \ 2030 57a12720STsiChungLiewM5485GFE_config \ 2031 57a12720STsiChungLiewM5485HFE_config : unconfig 2032 57a12720STsiChungLiew @case "$@" in \ 2033 57a12720STsiChungLiew M5485AFE_config) BOOT=2;CODE=0;VID=0;USB=0;RAM=64;RAM1=0;; \ 2034 57a12720STsiChungLiew M5485BFE_config) BOOT=2;CODE=16;VID=0;USB=0;RAM=64;RAM1=0;; \ 2035 57a12720STsiChungLiew M5485CFE_config) BOOT=2;CODE=16;VID=1;USB=1;RAM=64;RAM1=0;; \ 2036 57a12720STsiChungLiew M5485DFE_config) BOOT=2;CODE=0;VID=0;USB=1;RAM=64;RAM1=0;; \ 2037 57a12720STsiChungLiew M5485EFE_config) BOOT=2;CODE=0;VID=1;USB=1;RAM=64;RAM1=0;; \ 2038 57a12720STsiChungLiew M5485FFE_config) BOOT=2;CODE=32;VID=1;USB=1;RAM=64;RAM1=64;; \ 2039 57a12720STsiChungLiew M5485GFE_config) BOOT=4;CODE=0;VID=0;USB=0;RAM=64;RAM1=0;; \ 2040 4d264effSTsiChungLiew M5485HFE_config) BOOT=2;CODE=16;VID=1;USB=0;RAM=64;RAM1=0;; \ 2041 57a12720STsiChungLiew esac; \ 2042 57a12720STsiChungLiew echo "#define CFG_BUSCLK 100000000" > $(obj)include/config.h ; \ 2043 57a12720STsiChungLiew echo "#define CFG_BOOTSZ $${BOOT}" >> $(obj)include/config.h ; \ 2044 57a12720STsiChungLiew echo "#define CFG_DRAMSZ $${RAM}" >> $(obj)include/config.h ; \ 2045 57a12720STsiChungLiew if [ "$${RAM1}" != "0" ] ; then \ 2046 57a12720STsiChungLiew echo "#define CFG_DRAMSZ1 $${RAM1}" >> $(obj)include/config.h ; \ 2047 57a12720STsiChungLiew fi; \ 2048 57a12720STsiChungLiew if [ "$${CODE}" != "0" ] ; then \ 2049 57a12720STsiChungLiew echo "#define CFG_NOR1SZ $${CODE}" >> $(obj)include/config.h ; \ 2050 57a12720STsiChungLiew fi; \ 2051 57a12720STsiChungLiew if [ "$${VID}" == "1" ] ; then \ 2052 57a12720STsiChungLiew echo "#define CFG_VIDEO" >> $(obj)include/config.h ; \ 2053 57a12720STsiChungLiew fi; \ 2054 57a12720STsiChungLiew if [ "$${USB}" == "1" ] ; then \ 2055 57a12720STsiChungLiew echo "#define CFG_USBCTRL" >> $(obj)include/config.h ; \ 2056 57a12720STsiChungLiew fi 2057 57a12720STsiChungLiew @$(MKCONFIG) -a M5485EVB m68k mcf547x_8x m548xevb freescale 2058 57a12720STsiChungLiew 2059 699f0512SWolfgang DenkTASREG_config : unconfig 2060 699f0512SWolfgang Denk @$(MKCONFIG) $(@:_config=) m68k mcf52x2 tasreg esd 2061 699f0512SWolfgang Denk 2062 7ebf7443Swdenk######################################################################### 2063 f046ccd1SEran Liberty## MPC83xx Systems 2064 f046ccd1SEran Liberty######################################################################### 2065 f046ccd1SEran Liberty 2066 5c5d3242SKim PhillipsMPC8313ERDB_33_config \ 2067 e4c09508SScott WoodMPC8313ERDB_66_config \ 2068 e4c09508SScott WoodMPC8313ERDB_NAND_33_config \ 2069 e4c09508SScott WoodMPC8313ERDB_NAND_66_config: unconfig 2070 cdd917a4SWolfgang Denk @mkdir -p $(obj)include 2071 e4c09508SScott Wood @mkdir -p $(obj)board/freescale/mpc8313erdb 2072 c6fe4dabSWolfgang Denk @if [ "$(findstring _33_,$@)" ] ; then \ 2073 ae6d1056SWolfgang Denk $(XECHO) -n "...33M ..." ; \ 2074 cdd917a4SWolfgang Denk echo "#define CFG_33MHZ" >>$(obj)include/config.h ; \ 2075 5c5d3242SKim Phillips fi ; \ 2076 5c5d3242SKim Phillips if [ "$(findstring _66_,$@)" ] ; then \ 2077 ae6d1056SWolfgang Denk $(XECHO) -n "...66M..." ; \ 2078 cdd917a4SWolfgang Denk echo "#define CFG_66MHZ" >>$(obj)include/config.h ; \ 2079 e4c09508SScott Wood fi ; \ 2080 e4c09508SScott Wood if [ "$(findstring _NAND_,$@)" ] ; then \ 2081 e4c09508SScott Wood $(XECHO) -n "...NAND..." ; \ 2082 f4e55a49SKim Phillips echo "TEXT_BASE = 0x00100000" > $(obj)board/freescale/mpc8313erdb/config.tmp ; \ 2083 e4c09508SScott Wood echo "#define CONFIG_NAND_U_BOOT" >>$(obj)include/config.h ; \ 2084 5c5d3242SKim Phillips fi ; 2085 e58fe957SKim Phillips @$(MKCONFIG) -a MPC8313ERDB ppc mpc83xx mpc8313erdb freescale 2086 5c5d3242SKim Phillips 2087 8bd522ceSDave LiuMPC8315ERDB_config: unconfig 2088 8bd522ceSDave Liu @$(MKCONFIG) -a MPC8315ERDB ppc mpc83xx mpc8315erdb freescale 2089 8bd522ceSDave Liu 2090 1c274c4eSKim PhillipsMPC8323ERDB_config: unconfig 2091 1c274c4eSKim Phillips @$(MKCONFIG) -a MPC8323ERDB ppc mpc83xx mpc8323erdb freescale 2092 1c274c4eSKim Phillips 2093 4decd84eSKim PhillipsMPC832XEMDS_config \ 2094 4decd84eSKim PhillipsMPC832XEMDS_HOST_33_config \ 2095 4decd84eSKim PhillipsMPC832XEMDS_HOST_66_config \ 2096 281df457STony LiMPC832XEMDS_SLAVE_config \ 2097 281df457STony LiMPC832XEMDS_ATM_config: unconfig 2098 cdd917a4SWolfgang Denk @mkdir -p $(obj)include 2099 c6fe4dabSWolfgang Denk @if [ "$(findstring _HOST_,$@)" ] ; then \ 2100 ae6d1056SWolfgang Denk $(XECHO) -n "... PCI HOST " ; \ 2101 cdd917a4SWolfgang Denk echo "#define CONFIG_PCI" >>$(obj)include/config.h ; \ 2102 4decd84eSKim Phillips fi ; \ 2103 4decd84eSKim Phillips if [ "$(findstring _SLAVE_,$@)" ] ; then \ 2104 ae6d1056SWolfgang Denk $(XECHO) "...PCI SLAVE 66M" ; \ 2105 cdd917a4SWolfgang Denk echo "#define CONFIG_PCI" >>$(obj)include/config.h ; \ 2106 cdd917a4SWolfgang Denk echo "#define CONFIG_PCISLAVE" >>$(obj)include/config.h ; \ 2107 4decd84eSKim Phillips fi ; \ 2108 4decd84eSKim Phillips if [ "$(findstring _33_,$@)" ] ; then \ 2109 ae6d1056SWolfgang Denk $(XECHO) -n "...33M ..." ; \ 2110 cdd917a4SWolfgang Denk echo "#define PCI_33M" >>$(obj)include/config.h ; \ 2111 281df457STony Li echo "#define CONFIG_PQ_MDS_PIB 1" >>$(obj)include/config.h ; \ 2112 4decd84eSKim Phillips fi ; \ 2113 4decd84eSKim Phillips if [ "$(findstring _66_,$@)" ] ; then \ 2114 ae6d1056SWolfgang Denk $(XECHO) -n "...66M..." ; \ 2115 cdd917a4SWolfgang Denk echo "#define PCI_66M" >>$(obj)include/config.h ; \ 2116 281df457STony Li echo "#define CONFIG_PQ_MDS_PIB 1" >>$(obj)include/config.h ; \ 2117 281df457STony Li fi ; \ 2118 281df457STony Li if [ "$(findstring _ATM_,$@)" ] ; then \ 2119 ae6d1056SWolfgang Denk $(XECHO) -n "...ATM..." ; \ 2120 281df457STony Li echo "#define CONFIG_PQ_MDS_PIB 1" >>$(obj)include/config.h ; \ 2121 281df457STony Li echo "#define CONFIG_PQ_MDS_PIB_ATM 1" >>$(obj)include/config.h ; \ 2122 4decd84eSKim Phillips fi ; 2123 e58fe957SKim Phillips @$(MKCONFIG) -a MPC832XEMDS ppc mpc83xx mpc832xemds freescale 2124 e6f2e902SMarian Balakowicz 2125 991425feSMarian BalakowiczMPC8349EMDS_config: unconfig 2126 e58fe957SKim Phillips @$(MKCONFIG) $(@:_config=) ppc mpc83xx mpc8349emds freescale 2127 991425feSMarian Balakowicz 2128 7a78f148STimur TabiMPC8349ITX_config \ 2129 7a78f148STimur TabiMPC8349ITX_LOWBOOT_config \ 2130 7a78f148STimur TabiMPC8349ITXGP_config: unconfig 2131 7a78f148STimur Tabi @mkdir -p $(obj)include 2132 e21659e3SSam Sparks @mkdir -p $(obj)board/freescale/mpc8349itx 2133 7a78f148STimur Tabi @echo "#define CONFIG_$(subst _LOWBOOT,,$(@:_config=))" >> $(obj)include/config.h 2134 7a78f148STimur Tabi @if [ "$(findstring GP,$@)" ] ; then \ 2135 e21659e3SSam Sparks echo "TEXT_BASE = 0xFE000000" >$(obj)board/freescale/mpc8349itx/config.tmp ; \ 2136 7a78f148STimur Tabi fi 2137 7a78f148STimur Tabi @if [ "$(findstring LOWBOOT,$@)" ] ; then \ 2138 e21659e3SSam Sparks echo "TEXT_BASE = 0xFE000000" >$(obj)board/freescale/mpc8349itx/config.tmp ; \ 2139 7a78f148STimur Tabi fi 2140 e58fe957SKim Phillips @$(MKCONFIG) -a -n $(@:_config=) MPC8349ITX ppc mpc83xx mpc8349itx freescale 2141 4decd84eSKim Phillips 2142 5f820439SDave LiuMPC8360EMDS_config \ 2143 5f820439SDave LiuMPC8360EMDS_HOST_33_config \ 2144 5f820439SDave LiuMPC8360EMDS_HOST_66_config \ 2145 281df457STony LiMPC8360EMDS_SLAVE_config \ 2146 281df457STony LiMPC8360EMDS_ATM_config: unconfig 2147 cdd917a4SWolfgang Denk @mkdir -p $(obj)include 2148 c6fe4dabSWolfgang Denk @if [ "$(findstring _HOST_,$@)" ] ; then \ 2149 ae6d1056SWolfgang Denk $(XECHO) -n "... PCI HOST " ; \ 2150 cdd917a4SWolfgang Denk echo "#define CONFIG_PCI" >>$(obj)include/config.h ; \ 2151 5f820439SDave Liu fi ; \ 2152 5f820439SDave Liu if [ "$(findstring _SLAVE_,$@)" ] ; then \ 2153 ae6d1056SWolfgang Denk $(XECHO) "...PCI SLAVE 66M" ; \ 2154 cdd917a4SWolfgang Denk echo "#define CONFIG_PCI" >>$(obj)include/config.h ; \ 2155 cdd917a4SWolfgang Denk echo "#define CONFIG_PCISLAVE" >>$(obj)include/config.h ; \ 2156 5f820439SDave Liu fi ; \ 2157 5f820439SDave Liu if [ "$(findstring _33_,$@)" ] ; then \ 2158 ae6d1056SWolfgang Denk $(XECHO) -n "...33M ..." ; \ 2159 cdd917a4SWolfgang Denk echo "#define PCI_33M" >>$(obj)include/config.h ; \ 2160 281df457STony Li echo "#define CONFIG_PQ_MDS_PIB 1" >>$(obj)include/config.h ; \ 2161 5f820439SDave Liu fi ; \ 2162 5f820439SDave Liu if [ "$(findstring _66_,$@)" ] ; then \ 2163 ae6d1056SWolfgang Denk $(XECHO) -n "...66M..." ; \ 2164 cdd917a4SWolfgang Denk echo "#define PCI_66M" >>$(obj)include/config.h ; \ 2165 281df457STony Li echo "#define CONFIG_PQ_MDS_PIB 1" >>$(obj)include/config.h ; \ 2166 281df457STony Li fi ; \ 2167 281df457STony Li if [ "$(findstring _ATM_,$@)" ] ; then \ 2168 ae6d1056SWolfgang Denk $(XECHO) -n "...ATM..." ; \ 2169 281df457STony Li echo "#define CONFIG_PQ_MDS_PIB 1" >>$(obj)include/config.h ; \ 2170 281df457STony Li echo "#define CONFIG_PQ_MDS_PIB_ATM 1" >>$(obj)include/config.h ; \ 2171 5f820439SDave Liu fi ; 2172 e58fe957SKim Phillips @$(MKCONFIG) -a MPC8360EMDS ppc mpc83xx mpc8360emds freescale 2173 5f820439SDave Liu 2174 fab6f556SAnton VorontsovMPC8360ERDK_33_config \ 2175 fab6f556SAnton VorontsovMPC8360ERDK_66_config \ 2176 91c82076SJean-Christophe PLAGNIOL-VILLARDMPC8360ERDK_config: unconfig 2177 fab6f556SAnton Vorontsov @mkdir -p $(obj)include 2178 c6fe4dabSWolfgang Denk @if [ "$(findstring _33_,$@)" ] ; then \ 2179 ae6d1056SWolfgang Denk $(XECHO) -n "... CLKIN 33MHz " ; \ 2180 fab6f556SAnton Vorontsov echo "#define CONFIG_CLKIN_33MHZ" >>$(obj)include/config.h ;\ 2181 fab6f556SAnton Vorontsov fi ; 2182 fab6f556SAnton Vorontsov @$(MKCONFIG) -a MPC8360ERDK ppc mpc83xx mpc8360erdk freescale 2183 fab6f556SAnton Vorontsov 2184 19580e66SDave LiuMPC837XEMDS_config \ 2185 19580e66SDave LiuMPC837XEMDS_HOST_config: unconfig 2186 19580e66SDave Liu @mkdir -p $(obj)include 2187 c6fe4dabSWolfgang Denk @if [ "$(findstring _HOST_,$@)" ] ; then \ 2188 ae6d1056SWolfgang Denk $(XECHO) -n "... PCI HOST " ; \ 2189 19580e66SDave Liu echo "#define CONFIG_PCI" >>$(obj)include/config.h ; \ 2190 19580e66SDave Liu fi ; 2191 19580e66SDave Liu @$(MKCONFIG) -a MPC837XEMDS ppc mpc83xx mpc837xemds freescale 2192 19580e66SDave Liu 2193 5e918a98SKim PhillipsMPC837XERDB_config: unconfig 2194 5e918a98SKim Phillips @$(MKCONFIG) -a MPC837XERDB ppc mpc83xx mpc837xerdb freescale 2195 5e918a98SKim Phillips 2196 a1293e54SAndre SchwarzMVBLM7_config: unconfig 2197 1a9eeb78SAndre Schwarz @$(MKCONFIG) $(@:_config=) ppc mpc83xx mvblm7 matrix_vision 2198 a1293e54SAndre Schwarz 2199 91e25769SPaul Gortmakersbc8349_config: unconfig 2200 91e25769SPaul Gortmaker @$(MKCONFIG) $(@:_config=) ppc mpc83xx sbc8349 2201 91e25769SPaul Gortmaker 2202 4decd84eSKim PhillipsTQM834x_config: unconfig 2203 4677988cSWolfgang Grandegger @$(MKCONFIG) $(@:_config=) ppc mpc83xx tqm834x tqc 2204 4decd84eSKim Phillips 2205 2ad6b513STimur Tabi 2206 f046ccd1SEran Liberty######################################################################### 2207 42d1f039Swdenk## MPC85xx Systems 2208 42d1f039Swdenk######################################################################### 2209 42d1f039Swdenk 2210 7bd6104bSrobert lazarskiATUM8548_config: unconfig 2211 7bd6104bSrobert lazarski @$(MKCONFIG) $(@:_config=) ppc mpc85xx atum8548 2212 7bd6104bSrobert lazarski 2213 9490a7f1SKumar GalaMPC8536DS_config: unconfig 2214 9490a7f1SKumar Gala @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8536ds freescale 2215 9490a7f1SKumar Gala 2216 42d1f039SwdenkMPC8540ADS_config: unconfig 2217 c2d943ffSKumar Gala @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8540ads freescale 2218 42d1f039Swdenk 2219 b0e32949SLunsheng WangMPC8540EVAL_config \ 2220 b0e32949SLunsheng WangMPC8540EVAL_33_config \ 2221 b0e32949SLunsheng WangMPC8540EVAL_66_config \ 2222 b0e32949SLunsheng WangMPC8540EVAL_33_slave_config \ 2223 b0e32949SLunsheng WangMPC8540EVAL_66_slave_config: unconfig 2224 f9328639SMarian Balakowicz @mkdir -p $(obj)include 2225 c6fe4dabSWolfgang Denk @if [ "$(findstring _33_,$@)" ] ; then \ 2226 ae6d1056SWolfgang Denk $(XECHO) "... 33 MHz PCI" ; \ 2227 b0e32949SLunsheng Wang else \ 2228 f9328639SMarian Balakowicz echo "#define CONFIG_SYSCLK_66M" >>$(obj)include/config.h ; \ 2229 ae6d1056SWolfgang Denk $(XECHO) "... 66 MHz PCI" ; \ 2230 b0e32949SLunsheng Wang fi ; \ 2231 b0e32949SLunsheng Wang if [ "$(findstring _slave_,$@)" ] ; then \ 2232 f9328639SMarian Balakowicz echo "#define CONFIG_PCI_SLAVE" >>$(obj)include/config.h ; \ 2233 ae6d1056SWolfgang Denk $(XECHO) " slave" ; \ 2234 b0e32949SLunsheng Wang else \ 2235 ae6d1056SWolfgang Denk $(XECHO) " host" ; \ 2236 b0e32949SLunsheng Wang fi 2237 f9328639SMarian Balakowicz @$(MKCONFIG) -a MPC8540EVAL ppc mpc85xx mpc8540eval 2238 b0e32949SLunsheng Wang 2239 42d1f039SwdenkMPC8560ADS_config: unconfig 2240 870ceac5SKumar Gala @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8560ads freescale 2241 42d1f039Swdenk 2242 7f3f2bd2SRandy VinsonMPC8541CDS_legacy_config \ 2243 03f5c550SwdenkMPC8541CDS_config: unconfig 2244 7f3f2bd2SRandy Vinson @mkdir -p $(obj)include 2245 c6fe4dabSWolfgang Denk @if [ "$(findstring _legacy_,$@)" ] ; then \ 2246 7f3f2bd2SRandy Vinson echo "#define CONFIG_LEGACY" >>$(obj)include/config.h ; \ 2247 ae6d1056SWolfgang Denk $(XECHO) "... legacy" ; \ 2248 7f3f2bd2SRandy Vinson fi 2249 415a613bSKumar Gala @$(MKCONFIG) -a MPC8541CDS ppc mpc85xx mpc8541cds freescale 2250 03f5c550Swdenk 2251 81f481caSAndy FlemingMPC8544DS_config: unconfig 2252 81f481caSAndy Fleming @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8544ds freescale 2253 81f481caSAndy Fleming 2254 7f3f2bd2SRandy VinsonMPC8548CDS_legacy_config \ 2255 d9b94f28SJon LoeligerMPC8548CDS_config: unconfig 2256 7f3f2bd2SRandy Vinson @mkdir -p $(obj)include 2257 c6fe4dabSWolfgang Denk @if [ "$(findstring _legacy_,$@)" ] ; then \ 2258 7f3f2bd2SRandy Vinson echo "#define CONFIG_LEGACY" >>$(obj)include/config.h ; \ 2259 ae6d1056SWolfgang Denk $(XECHO) "... legacy" ; \ 2260 7f3f2bd2SRandy Vinson fi 2261 415a613bSKumar Gala @$(MKCONFIG) -a MPC8548CDS ppc mpc85xx mpc8548cds freescale 2262 d9b94f28SJon Loeliger 2263 7f3f2bd2SRandy VinsonMPC8555CDS_legacy_config \ 2264 03f5c550SwdenkMPC8555CDS_config: unconfig 2265 7f3f2bd2SRandy Vinson @mkdir -p $(obj)include 2266 c6fe4dabSWolfgang Denk @if [ "$(findstring _legacy_,$@)" ] ; then \ 2267 7f3f2bd2SRandy Vinson echo "#define CONFIG_LEGACY" >>$(obj)include/config.h ; \ 2268 ae6d1056SWolfgang Denk $(XECHO) "... legacy" ; \ 2269 7f3f2bd2SRandy Vinson fi 2270 415a613bSKumar Gala @$(MKCONFIG) -a MPC8555CDS ppc mpc85xx mpc8555cds freescale 2271 7abf0c58Swdenk 2272 67431059SAndy FlemingMPC8568MDS_config: unconfig 2273 acbca876SKumar Gala @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8568mds freescale 2274 67431059SAndy Fleming 2275 129ba616SKumar GalaMPC8572DS_config: unconfig 2276 129ba616SKumar Gala @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8572ds freescale 2277 129ba616SKumar Gala 2278 384cc687SwdenkPM854_config: unconfig 2279 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc85xx pm854 2280 384cc687Swdenk 2281 b20d0032SWolfgang DenkPM856_config: unconfig 2282 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc85xx pm856 2283 b20d0032SWolfgang Denk 2284 c15f3120Swdenksbc8540_config \ 2285 c15f3120Swdenksbc8540_33_config \ 2286 c15f3120Swdenksbc8540_66_config: unconfig 2287 f9328639SMarian Balakowicz @mkdir -p $(obj)include 2288 c15f3120Swdenk @if [ "$(findstring _66_,$@)" ] ; then \ 2289 f9328639SMarian Balakowicz echo "#define CONFIG_PCI_66" >>$(obj)include/config.h ; \ 2290 ae6d1056SWolfgang Denk $(XECHO) "... 66 MHz PCI" ; \ 2291 c15f3120Swdenk else \ 2292 ae6d1056SWolfgang Denk $(XECHO) "... 33 MHz PCI" ; \ 2293 c15f3120Swdenk fi 2294 f9328639SMarian Balakowicz @$(MKCONFIG) -a SBC8540 ppc mpc85xx sbc8560 2295 c15f3120Swdenk 2296 11c45ebdSJoe Hammansbc8548_config: unconfig 2297 11c45ebdSJoe Hamman @$(MKCONFIG) $(@:_config=) ppc mpc85xx sbc8548 2298 11c45ebdSJoe Hamman 2299 466b7410Swdenksbc8560_config \ 2300 466b7410Swdenksbc8560_33_config \ 2301 466b7410Swdenksbc8560_66_config: unconfig 2302 f9328639SMarian Balakowicz @mkdir -p $(obj)include 2303 8b07a110Swdenk @if [ "$(findstring _66_,$@)" ] ; then \ 2304 f9328639SMarian Balakowicz echo "#define CONFIG_PCI_66" >>$(obj)include/config.h ; \ 2305 ae6d1056SWolfgang Denk $(XECHO) "... 66 MHz PCI" ; \ 2306 8b07a110Swdenk else \ 2307 ae6d1056SWolfgang Denk $(XECHO) "... 33 MHz PCI" ; \ 2308 8b07a110Swdenk fi 2309 f9328639SMarian Balakowicz @$(MKCONFIG) -a sbc8560 ppc mpc85xx sbc8560 2310 8b07a110Swdenk 2311 5d108ac8SSergei Poselenovsocrates_config: unconfig 2312 5d108ac8SSergei Poselenov @$(MKCONFIG) $(@:_config=) ppc mpc85xx socrates 2313 5d108ac8SSergei Poselenov 2314 03f5c550Swdenkstxgp3_config: unconfig 2315 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc mpc85xx stxgp3 2316 03f5c550Swdenk 2317 ee152983SWolfgang Denkstxssa_config \ 2318 ee152983SWolfgang Denkstxssa_4M_config: unconfig 2319 ee152983SWolfgang Denk @mkdir -p $(obj)include 2320 ee152983SWolfgang Denk @if [ "$(findstring _4M_,$@)" ] ; then \ 2321 ee152983SWolfgang Denk echo "#define CONFIG_STXSSA_4M" >>$(obj)include/config.h ; \ 2322 ae6d1056SWolfgang Denk $(XECHO) "... with 4 MiB flash memory" ; \ 2323 ee152983SWolfgang Denk fi 2324 ee152983SWolfgang Denk @$(MKCONFIG) -a stxssa ppc mpc85xx stxssa 2325 35171dc0SDan Malek 2326 d96f41e0SStefan RoeseTQM8540_config \ 2327 d96f41e0SStefan RoeseTQM8541_config \ 2328 1287e0c5SWolfgang GrandeggerTQM8548_config \ 2329 d96f41e0SStefan RoeseTQM8555_config \ 2330 f5c5ef4aSwdenkTQM8560_config: unconfig 2331 f9328639SMarian Balakowicz @mkdir -p $(obj)include 2332 a889bd27SWolfgang Denk @CTYPE=$(subst TQM,,$(@:_config=)); \ 2333 ae6d1056SWolfgang Denk $(XECHO) "... TQM"$${CTYPE}; \ 2334 f9328639SMarian Balakowicz echo "#define CONFIG_MPC$${CTYPE}">>$(obj)include/config.h; \ 2335 f9328639SMarian Balakowicz echo "#define CONFIG_TQM$${CTYPE}">>$(obj)include/config.h; \ 2336 f9328639SMarian Balakowicz echo "#define CONFIG_HOSTNAME tqm$${CTYPE}">>$(obj)include/config.h; \ 2337 25991353SWolfgang Grandegger echo "#define CONFIG_BOARDNAME \"TQM$${CTYPE}\"">>$(obj)include/config.h; 2338 4677988cSWolfgang Grandegger @$(MKCONFIG) -a TQM85xx ppc mpc85xx tqm85xx tqc 2339 f5c5ef4aSwdenk 2340 42d1f039Swdenk######################################################################### 2341 debb7354SJon Loeliger## MPC86xx Systems 2342 debb7354SJon Loeliger######################################################################### 2343 debb7354SJon Loeliger 2344 3c89d754SJon LoeligerMPC8610HPCD_config: unconfig 2345 3c89d754SJon Loeliger @$(MKCONFIG) $(@:_config=) ppc mpc86xx mpc8610hpcd freescale 2346 3c89d754SJon Loeliger 2347 debb7354SJon LoeligerMPC8641HPCN_config: unconfig 2348 4ce91774SJon Loeliger @$(MKCONFIG) $(@:_config=) ppc mpc86xx mpc8641hpcn freescale 2349 debb7354SJon Loeliger 2350 c646bba6SJoe Hammansbc8641d_config: unconfig 2351 91c82076SJean-Christophe PLAGNIOL-VILLARD @$(MKCONFIG) $(@:_config=) ppc mpc86xx sbc8641d 2352 debb7354SJon Loeliger 2353 debb7354SJon Loeliger######################################################################### 2354 7ebf7443Swdenk## 74xx/7xx Systems 2355 7ebf7443Swdenk######################################################################### 2356 7ebf7443Swdenk 2357 c7de829cSwdenkAmigaOneG3SE_config: unconfig 2358 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx AmigaOneG3SE MAI 2359 c7de829cSwdenk 2360 15647dc7SwdenkBAB7xx_config: unconfig 2361 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx bab7xx eltec 2362 15647dc7Swdenk 2363 c419d1d6SstroeseCPCI750_config: unconfig 2364 f9328639SMarian Balakowicz @$(MKCONFIG) CPCI750 ppc 74xx_7xx cpci750 esd 2365 c419d1d6Sstroese 2366 3a473b2aSwdenkDB64360_config: unconfig 2367 f9328639SMarian Balakowicz @$(MKCONFIG) DB64360 ppc 74xx_7xx db64360 Marvell 2368 3a473b2aSwdenk 2369 3a473b2aSwdenkDB64460_config: unconfig 2370 f9328639SMarian Balakowicz @$(MKCONFIG) DB64460 ppc 74xx_7xx db64460 Marvell 2371 3a473b2aSwdenk 2372 15647dc7SwdenkELPPC_config: unconfig 2373 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx elppc eltec 2374 15647dc7Swdenk 2375 7ebf7443SwdenkEVB64260_config \ 2376 7ebf7443SwdenkEVB64260_750CX_config: unconfig 2377 f9328639SMarian Balakowicz @$(MKCONFIG) EVB64260 ppc 74xx_7xx evb64260 2378 7ebf7443Swdenk 2379 4c52783bSroy zangmpc7448hpc2_config: unconfig 2380 7f1d846eSJon Loeliger @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx mpc7448hpc2 freescale 2381 4c52783bSroy zang 2382 15647dc7SwdenkP3G4_config: unconfig 2383 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx evb64260 2384 7ebf7443Swdenk 2385 1eac2a71SStefan Roesep3m750_config \ 2386 1eac2a71SStefan Roesep3m7448_config: unconfig 2387 1eac2a71SStefan Roese @mkdir -p $(obj)include 2388 1eac2a71SStefan Roese @if [ "$(findstring 750_,$@)" ] ; then \ 2389 1eac2a71SStefan Roese echo "#define CONFIG_P3M750" >>$(obj)include/config.h ; \ 2390 1eac2a71SStefan Roese else \ 2391 1eac2a71SStefan Roese echo "#define CONFIG_P3M7448" >>$(obj)include/config.h ; \ 2392 1eac2a71SStefan Roese fi 2393 1eac2a71SStefan Roese @$(MKCONFIG) -a p3mx ppc 74xx_7xx p3mx prodrive 2394 1eac2a71SStefan Roese 2395 7ebf7443SwdenkPCIPPC2_config \ 2396 7ebf7443SwdenkPCIPPC6_config: unconfig 2397 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx pcippc2 2398 7ebf7443Swdenk 2399 f5e0d039SHeiko Schocherppmc7xx_config: unconfig 2400 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx ppmc7xx 2401 f5e0d039SHeiko Schocher 2402 699f0512SWolfgang DenkZUMA_config: unconfig 2403 699f0512SWolfgang Denk @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx evb64260 2404 699f0512SWolfgang Denk 2405 7ebf7443Swdenk#======================================================================== 2406 7ebf7443Swdenk# ARM 2407 7ebf7443Swdenk#======================================================================== 2408 7ebf7443Swdenk######################################################################### 2409 7ebf7443Swdenk## StrongARM Systems 2410 7ebf7443Swdenk######################################################################### 2411 7ebf7443Swdenk 2412 ea66bc88Swdenkassabet_config : unconfig 2413 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) arm sa1100 assabet 2414 ea66bc88Swdenk 2415 7ebf7443Swdenkdnp1110_config : unconfig 2416 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) arm sa1100 dnp1110 2417 7ebf7443Swdenk 2418 855a496fSwdenkgcplus_config : unconfig 2419 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) arm sa1100 gcplus 2420 855a496fSwdenk 2421 855a496fSwdenklart_config : unconfig 2422 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) arm sa1100 lart 2423 855a496fSwdenk 2424 7ebf7443Swdenkshannon_config : unconfig 2425 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) arm sa1100 shannon 2426 7ebf7443Swdenk 2427 7ebf7443Swdenk######################################################################### 2428 2e5983d2Swdenk## ARM92xT Systems 2429 7ebf7443Swdenk######################################################################### 2430 7ebf7443Swdenk 2431 a4b46ed6SUlf Samuelsson######################################################################### 2432 a4b46ed6SUlf Samuelsson## Atmel AT91RM9200 Systems 2433 a4b46ed6SUlf Samuelsson######################################################################### 2434 20b197c6SStelian Pop 2435 a85f9f21Swdenkat91rm9200dk_config : unconfig 2436 65230107SHaavard Skinnemoen @$(MKCONFIG) $(@:_config=) arm arm920t at91rm9200dk atmel at91rm9200 2437 a85f9f21Swdenk 2438 d99a8ff6SStelian Popat91sam9261ek_config : unconfig 2439 8ed2f5f9SJean-Christophe PLAGNIOL-VILLARD @$(MKCONFIG) $(@:_config=) arm arm926ejs at91sam9261ek atmel at91 2440 d99a8ff6SStelian Pop 2441 8e429b3eSStelian Popat91sam9263ek_config : unconfig 2442 8ed2f5f9SJean-Christophe PLAGNIOL-VILLARD @$(MKCONFIG) $(@:_config=) arm arm926ejs at91sam9263ek atmel at91 2443 8e429b3eSStelian Pop 2444 2118ebb4SStelian Popat91sam9rlek_config : unconfig 2445 8ed2f5f9SJean-Christophe PLAGNIOL-VILLARD @$(MKCONFIG) $(@:_config=) arm arm926ejs at91sam9rlek atmel at91 2446 2118ebb4SStelian Pop 2447 a85f9f21Swdenkcmc_pu2_config : unconfig 2448 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) arm arm920t cmc_pu2 NULL at91rm9200 2449 a85f9f21Swdenk 2450 645da510SWolfgang Denkcsb637_config : unconfig 2451 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) arm arm920t csb637 NULL at91rm9200 2452 645da510SWolfgang Denk 2453 a4b46ed6SUlf Samuelssonkb9202_config : unconfig 2454 a4b46ed6SUlf Samuelsson @$(MKCONFIG) $(@:_config=) arm arm920t kb9202 NULL at91rm9200 2455 a4b46ed6SUlf Samuelsson 2456 ea8d989fSTimo Tuunainenm501sk_config : unconfig 2457 ea8d989fSTimo Tuunainen @$(MKCONFIG) $(@:_config=) arm arm920t m501sk NULL at91rm9200 2458 87cb6862SWolfgang Denk 2459 699f0512SWolfgang Denkmp2usb_config : unconfig 2460 699f0512SWolfgang Denk @$(MKCONFIG) $(@:_config=) arm arm920t mp2usb NULL at91rm9200 2461 699f0512SWolfgang Denk 2462 a4b46ed6SUlf Samuelsson######################################################################### 2463 a4b46ed6SUlf Samuelsson## Atmel ARM926EJ-S Systems 2464 a4b46ed6SUlf Samuelsson######################################################################### 2465 a4b46ed6SUlf Samuelsson 2466 a4b46ed6SUlf Samuelssonat91cap9adk_config : unconfig 2467 8ed2f5f9SJean-Christophe PLAGNIOL-VILLARD @$(MKCONFIG) $(@:_config=) arm arm926ejs at91cap9adk atmel at91 2468 a4b46ed6SUlf Samuelsson 2469 a4b46ed6SUlf Samuelssonat91sam9260ek_config : unconfig 2470 8ed2f5f9SJean-Christophe PLAGNIOL-VILLARD @$(MKCONFIG) $(@:_config=) arm arm926ejs at91sam9260ek atmel at91 2471 a4b46ed6SUlf Samuelsson 2472 74f4304eSWolfgang Denk######################################################################## 2473 87cb6862SWolfgang Denk## ARM Integrator boards - see doc/README-integrator for more info. 2474 87cb6862SWolfgang Denkintegratorap_config \ 2475 87cb6862SWolfgang Denkap_config \ 2476 87cb6862SWolfgang Denkap966_config \ 2477 87cb6862SWolfgang Denkap922_config \ 2478 87cb6862SWolfgang Denkap922_XA10_config \ 2479 87cb6862SWolfgang Denkap7_config \ 2480 87cb6862SWolfgang Denkap720t_config \ 2481 87cb6862SWolfgang Denkap920t_config \ 2482 87cb6862SWolfgang Denkap926ejs_config \ 2483 87cb6862SWolfgang Denkap946es_config: unconfig 2484 96782c63SWolfgang Denk @board/integratorap/split_by_variant.sh $@ 2485 3d3befa7Swdenk 2486 87cb6862SWolfgang Denkintegratorcp_config \ 2487 87cb6862SWolfgang Denkcp_config \ 2488 87cb6862SWolfgang Denkcp920t_config \ 2489 87cb6862SWolfgang Denkcp926ejs_config \ 2490 87cb6862SWolfgang Denkcp946es_config \ 2491 87cb6862SWolfgang Denkcp1136_config \ 2492 87cb6862SWolfgang Denkcp966_config \ 2493 87cb6862SWolfgang Denkcp922_config \ 2494 87cb6862SWolfgang Denkcp922_XA10_config \ 2495 87cb6862SWolfgang Denkcp1026_config: unconfig 2496 96782c63SWolfgang Denk @board/integratorcp/split_by_variant.sh $@ 2497 25d6712aSwdenk 2498 699f0512SWolfgang Denkdavinci_dvevm_config : unconfig 2499 699f0512SWolfgang Denk @$(MKCONFIG) $(@:_config=) arm arm926ejs dv-evm davinci davinci 2500 699f0512SWolfgang Denk 2501 699f0512SWolfgang Denkdavinci_schmoogie_config : unconfig 2502 699f0512SWolfgang Denk @$(MKCONFIG) $(@:_config=) arm arm926ejs schmoogie davinci davinci 2503 699f0512SWolfgang Denk 2504 699f0512SWolfgang Denkdavinci_sffsdr_config : unconfig 2505 699f0512SWolfgang Denk @$(MKCONFIG) $(@:_config=) arm arm926ejs sffsdr davinci davinci 2506 699f0512SWolfgang Denk 2507 699f0512SWolfgang Denkdavinci_sonata_config : unconfig 2508 699f0512SWolfgang Denk @$(MKCONFIG) $(@:_config=) arm arm926ejs sonata davinci davinci 2509 699f0512SWolfgang Denk 2510 f832d8a1Swdenklpd7a400_config \ 2511 f832d8a1Swdenklpd7a404_config: unconfig 2512 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) arm lh7a40x lpd7a40x 2513 3d3befa7Swdenk 2514 281e00a3Swdenkmx1ads_config : unconfig 2515 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) arm arm920t mx1ads NULL imx 2516 281e00a3Swdenk 2517 281e00a3Swdenkmx1fs2_config : unconfig 2518 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) arm arm920t mx1fs2 NULL imx 2519 281e00a3Swdenk 2520 ac7eb8a3SWolfgang Denknetstar_config: unconfig 2521 f4e7cbfcSPeter Pearse @$(MKCONFIG) $(@:_config=) arm arm925t netstar 2522 ac7eb8a3SWolfgang Denk 2523 2e5983d2Swdenkomap1510inn_config : unconfig 2524 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) arm arm925t omap1510inn 2525 2e5983d2Swdenk 2526 a4b46ed6SUlf Samuelssonxtract_omap1610xxx = $(subst _cs0boot,,$(subst _cs3boot,,$(subst _cs_autoboot,,$(subst _config,,$1)))) 2527 a4b46ed6SUlf Samuelsson 2528 63e73c9aSwdenkomap1610inn_config \ 2529 63e73c9aSwdenkomap1610inn_cs0boot_config \ 2530 63e73c9aSwdenkomap1610inn_cs3boot_config \ 2531 3ff02c27Swdenkomap1610inn_cs_autoboot_config \ 2532 63e73c9aSwdenkomap1610h2_config \ 2533 63e73c9aSwdenkomap1610h2_cs0boot_config \ 2534 3ff02c27Swdenkomap1610h2_cs3boot_config \ 2535 3ff02c27Swdenkomap1610h2_cs_autoboot_config: unconfig 2536 f9328639SMarian Balakowicz @mkdir -p $(obj)include 2537 63e73c9aSwdenk @if [ "$(findstring _cs0boot_, $@)" ] ; then \ 2538 cdd917a4SWolfgang Denk echo "#define CONFIG_CS0_BOOT" >> .$(obj)include/config.h ; \ 2539 ae6d1056SWolfgang Denk $(XECHO) "... configured for CS0 boot"; \ 2540 3ff02c27Swdenk elif [ "$(findstring _cs_autoboot_, $@)" ] ; then \ 2541 cdd917a4SWolfgang Denk echo "#define CONFIG_CS_AUTOBOOT" >> $(obj)include/config.h ; \ 2542 ae6d1056SWolfgang Denk $(XECHO) "... configured for CS_AUTO boot"; \ 2543 63e73c9aSwdenk else \ 2544 cdd917a4SWolfgang Denk echo "#define CONFIG_CS3_BOOT" >> $(obj)include/config.h ; \ 2545 ae6d1056SWolfgang Denk $(XECHO) "... configured for CS3 boot"; \ 2546 63e73c9aSwdenk fi; 2547 f9328639SMarian Balakowicz @$(MKCONFIG) -a $(call xtract_omap1610xxx,$@) arm arm926ejs omap1610inn NULL omap 2548 6f21347dSwdenk 2549 699f0512SWolfgang Denkomap5912osk_config : unconfig 2550 699f0512SWolfgang Denk @$(MKCONFIG) $(@:_config=) arm arm926ejs omap5912osk NULL omap 2551 699f0512SWolfgang Denk 2552 a4b46ed6SUlf Samuelssonxtract_omap730p2 = $(subst _cs0boot,,$(subst _cs3boot,, $(subst _config,,$1))) 2553 a4b46ed6SUlf Samuelsson 2554 a56bd922Swdenkomap730p2_config \ 2555 a56bd922Swdenkomap730p2_cs0boot_config \ 2556 a56bd922Swdenkomap730p2_cs3boot_config : unconfig 2557 f9328639SMarian Balakowicz @mkdir -p $(obj)include 2558 a56bd922Swdenk @if [ "$(findstring _cs0boot_, $@)" ] ; then \ 2559 f9328639SMarian Balakowicz echo "#define CONFIG_CS0_BOOT" >> $(obj)include/config.h ; \ 2560 ae6d1056SWolfgang Denk $(XECHO) "... configured for CS0 boot"; \ 2561 a56bd922Swdenk else \ 2562 f9328639SMarian Balakowicz echo "#define CONFIG_CS3_BOOT" >> $(obj)include/config.h ; \ 2563 ae6d1056SWolfgang Denk $(XECHO) "... configured for CS3 boot"; \ 2564 a56bd922Swdenk fi; 2565 f9328639SMarian Balakowicz @$(MKCONFIG) -a $(call xtract_omap730p2,$@) arm arm926ejs omap730p2 NULL omap 2566 a56bd922Swdenk 2567 32cb2c70SWolfgang Denksbc2410x_config: unconfig 2568 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) arm arm920t sbc2410x NULL s3c24x0 2569 32cb2c70SWolfgang Denk 2570 281e00a3Swdenkscb9328_config : unconfig 2571 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) arm arm920t scb9328 NULL imx 2572 281e00a3Swdenk 2573 7ebf7443Swdenksmdk2400_config : unconfig 2574 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) arm arm920t smdk2400 NULL s3c24x0 2575 7ebf7443Swdenk 2576 7ebf7443Swdenksmdk2410_config : unconfig 2577 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) arm arm920t smdk2410 NULL s3c24x0 2578 7ebf7443Swdenk 2579 2d24a3a7SwdenkSX1_config : unconfig 2580 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) arm arm925t sx1 2581 2d24a3a7Swdenk 2582 b2001f27Swdenk# TRAB default configuration: 8 MB Flash, 32 MB RAM 2583 a4b46ed6SUlf Samuelssonxtract_trab = $(subst _bigram,,$(subst _bigflash,,$(subst _old,,$(subst _config,,$1)))) 2584 a4b46ed6SUlf Samuelsson 2585 43d9616cSwdenktrab_config \ 2586 b0639ca3Swdenktrab_bigram_config \ 2587 b0639ca3Swdenktrab_bigflash_config \ 2588 f54ebdfaSwdenktrab_old_config: unconfig 2589 f9328639SMarian Balakowicz @mkdir -p $(obj)include 2590 f9328639SMarian Balakowicz @mkdir -p $(obj)board/trab 2591 b0639ca3Swdenk @[ -z "$(findstring _bigram,$@)" ] || \ 2592 f9328639SMarian Balakowicz { echo "#define CONFIG_FLASH_8MB" >>$(obj)include/config.h ; \ 2593 f9328639SMarian Balakowicz echo "#define CONFIG_RAM_32MB" >>$(obj)include/config.h ; \ 2594 ae6d1056SWolfgang Denk $(XECHO) "... with 8 MB Flash, 32 MB RAM" ; \ 2595 b0639ca3Swdenk } 2596 b0639ca3Swdenk @[ -z "$(findstring _bigflash,$@)" ] || \ 2597 f9328639SMarian Balakowicz { echo "#define CONFIG_FLASH_16MB" >>$(obj)include/config.h ; \ 2598 f9328639SMarian Balakowicz echo "#define CONFIG_RAM_16MB" >>$(obj)include/config.h ; \ 2599 ae6d1056SWolfgang Denk $(XECHO) "... with 16 MB Flash, 16 MB RAM" ; \ 2600 f9328639SMarian Balakowicz echo "TEXT_BASE = 0x0CF40000" >$(obj)board/trab/config.tmp ; \ 2601 b0639ca3Swdenk } 2602 f54ebdfaSwdenk @[ -z "$(findstring _old,$@)" ] || \ 2603 f9328639SMarian Balakowicz { echo "#define CONFIG_FLASH_8MB" >>$(obj)include/config.h ; \ 2604 f9328639SMarian Balakowicz echo "#define CONFIG_RAM_16MB" >>$(obj)include/config.h ; \ 2605 ae6d1056SWolfgang Denk $(XECHO) "... with 8 MB Flash, 16 MB RAM" ; \ 2606 f9328639SMarian Balakowicz echo "TEXT_BASE = 0x0CF40000" >$(obj)board/trab/config.tmp ; \ 2607 43d9616cSwdenk } 2608 f9328639SMarian Balakowicz @$(MKCONFIG) -a $(call xtract_trab,$@) arm arm920t trab NULL s3c24x0 2609 7ebf7443Swdenk 2610 1cb8e980SwdenkVCMA9_config : unconfig 2611 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) arm arm920t vcma9 mpl s3c24x0 2612 1cb8e980Swdenk 2613 699f0512SWolfgang Denk######################################################################### 2614 87cb6862SWolfgang Denk# ARM supplied Versatile development boards 2615 699f0512SWolfgang Denk######################################################################### 2616 699f0512SWolfgang Denk 2617 699f0512SWolfgang Denkcm4008_config : unconfig 2618 699f0512SWolfgang Denk @$(MKCONFIG) $(@:_config=) arm arm920t cm4008 NULL ks8695 2619 699f0512SWolfgang Denk 2620 699f0512SWolfgang Denkcm41xx_config : unconfig 2621 699f0512SWolfgang Denk @$(MKCONFIG) $(@:_config=) arm arm920t cm41xx NULL ks8695 2622 699f0512SWolfgang Denk 2623 87cb6862SWolfgang Denkversatile_config \ 2624 87cb6862SWolfgang Denkversatileab_config \ 2625 87cb6862SWolfgang Denkversatilepb_config : unconfig 2626 96782c63SWolfgang Denk @board/versatile/split_by_variant.sh $@ 2627 074cff0dSwdenk 2628 3c2b3d45Swdenkvoiceblue_config: unconfig 2629 4fedfddfSLadislav Michl @$(MKCONFIG) $(@:_config=) arm arm925t voiceblue 2630 3c2b3d45Swdenk 2631 074cff0dSwdenk######################################################################### 2632 074cff0dSwdenk## S3C44B0 Systems 2633 074cff0dSwdenk######################################################################### 2634 074cff0dSwdenk 2635 074cff0dSwdenkB2_config : unconfig 2636 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) arm s3c44b0 B2 dave 2637 074cff0dSwdenk 2638 7ebf7443Swdenk######################################################################### 2639 7ebf7443Swdenk## ARM720T Systems 2640 7ebf7443Swdenk######################################################################### 2641 7ebf7443Swdenk 2642 c570b2fdSWolfgang Denkarmadillo_config: unconfig 2643 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) arm arm720t armadillo 2644 c570b2fdSWolfgang Denk 2645 7ebf7443Swdenkep7312_config : unconfig 2646 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) arm arm720t ep7312 2647 7ebf7443Swdenk 2648 2d24a3a7Swdenkimpa7_config : unconfig 2649 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) arm arm720t impa7 2650 2d24a3a7Swdenk 2651 2d1a537dSwdenkmodnet50_config : unconfig 2652 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) arm arm720t modnet50 2653 2d1a537dSwdenk 2654 39539887Swdenkevb4510_config : unconfig 2655 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) arm arm720t evb4510 2656 39539887Swdenk 2657 6bd2447eSGary Jennejohnlpc2292sodimm_config: unconfig 2658 b0d8f5bfSPeter Pearse @$(MKCONFIG) $(@:_config=) arm arm720t lpc2292sodimm NULL lpc2292 2659 b0d8f5bfSPeter Pearse 2660 b0d8f5bfSPeter PearseSMN42_config : unconfig 2661 b0d8f5bfSPeter Pearse @$(MKCONFIG) $(@:_config=) arm arm720t SMN42 siemens lpc2292 2662 6bd2447eSGary Jennejohn 2663 7ebf7443Swdenk######################################################################### 2664 43d9616cSwdenk## XScale Systems 2665 7ebf7443Swdenk######################################################################### 2666 7ebf7443Swdenk 2667 799891efSMichael Schwingenactux1_config : unconfig 2668 799891efSMichael Schwingen @$(MKCONFIG) $(@:_config=) arm ixp actux1 2669 799891efSMichael Schwingen 2670 799891efSMichael Schwingenactux2_config : unconfig 2671 799891efSMichael Schwingen @$(MKCONFIG) $(@:_config=) arm ixp actux2 2672 799891efSMichael Schwingen 2673 799891efSMichael Schwingenactux3_config : unconfig 2674 799891efSMichael Schwingen @$(MKCONFIG) $(@:_config=) arm ixp actux3 2675 799891efSMichael Schwingen 2676 799891efSMichael Schwingenactux4_config : unconfig 2677 799891efSMichael Schwingen @$(MKCONFIG) $(@:_config=) arm ixp actux4 2678 799891efSMichael Schwingen 2679 fabd46acSwdenkcerf250_config : unconfig 2680 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) arm pxa cerf250 2681 fabd46acSwdenk 2682 7ebf7443Swdenkcradle_config : unconfig 2683 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) arm pxa cradle 2684 7ebf7443Swdenk 2685 7ebf7443Swdenkcsb226_config : unconfig 2686 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) arm pxa csb226 2687 7ebf7443Swdenk 2688 91c82076SJean-Christophe PLAGNIOL-VILLARDdelta_config : unconfig 2689 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) arm pxa delta 2690 0be248faSWolfgang Denk 2691 43d9616cSwdenkinnokom_config : unconfig 2692 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) arm pxa innokom 2693 43d9616cSwdenk 2694 2d5b561eSwdenkixdp425_config : unconfig 2695 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) arm ixp ixdp425 2696 2d5b561eSwdenk 2697 ba94a1bbSWolfgang Denkixdpg425_config : unconfig 2698 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) arm ixp ixdp425 2699 ba94a1bbSWolfgang Denk 2700 43d9616cSwdenklubbock_config : unconfig 2701 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) arm pxa lubbock 2702 43d9616cSwdenk 2703 5720df78SHeiko Schocherpleb2_config : unconfig 2704 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) arm pxa pleb2 2705 5720df78SHeiko Schocher 2706 52f52c14Swdenklogodl_config : unconfig 2707 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) arm pxa logodl 2708 52f52c14Swdenk 2709 9d8d5a5bSStefan Roesepdnb3_config \ 2710 9d8d5a5bSStefan Roesescpu_config: unconfig 2711 cdd917a4SWolfgang Denk @mkdir -p $(obj)include 2712 9d8d5a5bSStefan Roese @if [ "$(findstring scpu_,$@)" ] ; then \ 2713 cdd917a4SWolfgang Denk echo "#define CONFIG_SCPU" >>$(obj)include/config.h ; \ 2714 ae6d1056SWolfgang Denk $(XECHO) "... on SCPU board variant" ; \ 2715 9d8d5a5bSStefan Roese fi 2716 9d8d5a5bSStefan Roese @$(MKCONFIG) -a pdnb3 arm ixp pdnb3 prodrive 2717 ba94a1bbSWolfgang Denk 2718 f57f70aaSWolfgang Denkpxa255_idp_config: unconfig 2719 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) arm pxa pxa255_idp 2720 f57f70aaSWolfgang Denk 2721 5e5803e1Sstefano babictrizepsiv_config : unconfig 2722 5e5803e1Sstefano babic @$(MKCONFIG) $(@:_config=) arm pxa trizepsiv 2723 5e5803e1Sstefano babic 2724 3e38691eSwdenkwepep250_config : unconfig 2725 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) arm pxa wepep250 2726 3e38691eSwdenk 2727 4ec3a7f0Swdenkxaeniax_config : unconfig 2728 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) arm pxa xaeniax 2729 4ec3a7f0Swdenk 2730 efa329cbSwdenkxm250_config : unconfig 2731 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) arm pxa xm250 2732 efa329cbSwdenk 2733 ca0e7748Swdenkxsengine_config : unconfig 2734 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) arm pxa xsengine 2735 ca0e7748Swdenk 2736 e0269579SMarkus Klotzbücherzylonite_config : 2737 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) arm pxa zylonite 2738 e0269579SMarkus Klotzbücher 2739 8ed96046Swdenk######################################################################### 2740 8ed96046Swdenk## ARM1136 Systems 2741 8ed96046Swdenk######################################################################### 2742 5ca9881aSPeter Pearse 2743 5ca9881aSPeter Pearseapollon_config : unconfig 2744 c6fe4dabSWolfgang Denk @mkdir -p $(obj)include 2745 f2302d44SStefan Roese @mkdir -p $(obj)onenand_ipl/board/apollon 2746 751b9b51SKyungmin Park @echo "#define CONFIG_ONENAND_U_BOOT" > $(obj)include/config.h 2747 5252ed95SSascha Hauer @$(MKCONFIG) $(@:_config=) arm arm1136 apollon NULL omap24xx 2748 751b9b51SKyungmin Park @echo "CONFIG_ONENAND_U_BOOT = y" >> $(obj)include/config.mk 2749 8ed96046Swdenk 2750 caebc95bSSascha Hauerimx31_litekit_config : unconfig 2751 caebc95bSSascha Hauer @$(MKCONFIG) $(@:_config=) arm arm1136 imx31_litekit NULL mx31 2752 caebc95bSSascha Hauer 2753 5ad86216SSascha Hauerimx31_phycore_config : unconfig 2754 5ad86216SSascha Hauer @$(MKCONFIG) $(@:_config=) arm arm1136 imx31_phycore NULL mx31 2755 5ad86216SSascha Hauer 2756 b5dc9b30SGuennadi Liakhovetskimx31ads_config : unconfig 2757 f5acb9fdSJean-Christophe PLAGNIOL-VILLARD @$(MKCONFIG) $(@:_config=) arm arm1136 mx31ads freescale mx31 2758 b5dc9b30SGuennadi Liakhovetski 2759 699f0512SWolfgang Denkomap2420h4_config : unconfig 2760 699f0512SWolfgang Denk @$(MKCONFIG) $(@:_config=) arm arm1136 omap2420h4 NULL omap24xx 2761 699f0512SWolfgang Denk 2762 2262cfeeSwdenk#======================================================================== 2763 2262cfeeSwdenk# i386 2764 2262cfeeSwdenk#======================================================================== 2765 2262cfeeSwdenk######################################################################### 2766 2262cfeeSwdenk## AMD SC520 CDP 2767 2262cfeeSwdenk######################################################################### 2768 2262cfeeSwdenksc520_cdp_config : unconfig 2769 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) i386 i386 sc520_cdp 2770 2262cfeeSwdenk 2771 7a8e9bedSwdenksc520_spunk_config : unconfig 2772 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) i386 i386 sc520_spunk 2773 7a8e9bedSwdenk 2774 7a8e9bedSwdenksc520_spunk_rel_config : unconfig 2775 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) i386 i386 sc520_spunk 2776 7a8e9bedSwdenk 2777 43d9616cSwdenk#======================================================================== 2778 43d9616cSwdenk# MIPS 2779 43d9616cSwdenk#======================================================================== 2780 7ebf7443Swdenk######################################################################### 2781 43d9616cSwdenk## MIPS32 4Kc 2782 43d9616cSwdenk######################################################################### 2783 43d9616cSwdenk 2784 e0ac62d7Swdenkxtract_incaip = $(subst _100MHz,,$(subst _133MHz,,$(subst _150MHz,,$(subst _config,,$1)))) 2785 e0ac62d7Swdenk 2786 e0ac62d7Swdenkincaip_100MHz_config \ 2787 e0ac62d7Swdenkincaip_133MHz_config \ 2788 e0ac62d7Swdenkincaip_150MHz_config \ 2789 43d9616cSwdenkincaip_config: unconfig 2790 f9328639SMarian Balakowicz @mkdir -p $(obj)include 2791 e0ac62d7Swdenk @[ -z "$(findstring _100MHz,$@)" ] || \ 2792 f9328639SMarian Balakowicz { echo "#define CPU_CLOCK_RATE 100000000" >>$(obj)include/config.h ; \ 2793 ae6d1056SWolfgang Denk $(XECHO) "... with 100MHz system clock" ; \ 2794 e0ac62d7Swdenk } 2795 e0ac62d7Swdenk @[ -z "$(findstring _133MHz,$@)" ] || \ 2796 f9328639SMarian Balakowicz { echo "#define CPU_CLOCK_RATE 133000000" >>$(obj)include/config.h ; \ 2797 ae6d1056SWolfgang Denk $(XECHO) "... with 133MHz system clock" ; \ 2798 e0ac62d7Swdenk } 2799 e0ac62d7Swdenk @[ -z "$(findstring _150MHz,$@)" ] || \ 2800 f9328639SMarian Balakowicz { echo "#define CPU_CLOCK_RATE 150000000" >>$(obj)include/config.h ; \ 2801 ae6d1056SWolfgang Denk $(XECHO) "... with 150MHz system clock" ; \ 2802 e0ac62d7Swdenk } 2803 f9328639SMarian Balakowicz @$(MKCONFIG) -a $(call xtract_incaip,$@) mips mips incaip 2804 e0ac62d7Swdenk 2805 f4863a7aSwdenktb0229_config: unconfig 2806 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) mips mips tb0229 2807 f4863a7aSwdenk 2808 e0ac62d7Swdenk######################################################################### 2809 69459791Swdenk## MIPS32 AU1X00 2810 69459791Swdenk######################################################################### 2811 699f0512SWolfgang Denk 2812 69459791Swdenkdbau1000_config : unconfig 2813 f9328639SMarian Balakowicz @mkdir -p $(obj)include 2814 210ed200SWolfgang Denk @echo "#define CONFIG_DBAU1000 1" >$(obj)include/config.h 2815 f9328639SMarian Balakowicz @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00 2816 69459791Swdenk 2817 69459791Swdenkdbau1100_config : unconfig 2818 f9328639SMarian Balakowicz @mkdir -p $(obj)include 2819 210ed200SWolfgang Denk @echo "#define CONFIG_DBAU1100 1" >$(obj)include/config.h 2820 f9328639SMarian Balakowicz @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00 2821 69459791Swdenk 2822 69459791Swdenkdbau1500_config : unconfig 2823 f9328639SMarian Balakowicz @mkdir -p $(obj)include 2824 210ed200SWolfgang Denk @echo "#define CONFIG_DBAU1500 1" >$(obj)include/config.h 2825 f9328639SMarian Balakowicz @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00 2826 69459791Swdenk 2827 ff36fd85Swdenkdbau1550_config : unconfig 2828 f9328639SMarian Balakowicz @mkdir -p $(obj)include 2829 210ed200SWolfgang Denk @echo "#define CONFIG_DBAU1550 1" >$(obj)include/config.h 2830 f9328639SMarian Balakowicz @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00 2831 ff36fd85Swdenk 2832 ff36fd85Swdenkdbau1550_el_config : unconfig 2833 f9328639SMarian Balakowicz @mkdir -p $(obj)include 2834 210ed200SWolfgang Denk @echo "#define CONFIG_DBAU1550 1" >$(obj)include/config.h 2835 f9328639SMarian Balakowicz @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00 2836 ff36fd85Swdenk 2837 8a773983SShinya Kuribayashigth2_config : unconfig 2838 8a773983SShinya Kuribayashi @mkdir -p $(obj)include 2839 8a773983SShinya Kuribayashi @echo "#define CONFIG_GTH2 1" >$(obj)include/config.h 2840 8a773983SShinya Kuribayashi @$(MKCONFIG) -a gth2 mips mips gth2 2841 8a773983SShinya Kuribayashi 2842 699f0512SWolfgang Denkpb1000_config : unconfig 2843 699f0512SWolfgang Denk @mkdir -p $(obj)include 2844 699f0512SWolfgang Denk @echo "#define CONFIG_PB1000 1" >$(obj)include/config.h 2845 699f0512SWolfgang Denk @$(MKCONFIG) -a pb1x00 mips mips pb1x00 2846 699f0512SWolfgang Denk 2847 0764c164SVlad Lunguqemu_mips_config : unconfig 2848 0764c164SVlad Lungu @mkdir -p $(obj)include 2849 210ed200SWolfgang Denk @echo "#define CONFIG_QEMU_MIPS 1" >$(obj)include/config.h 2850 0764c164SVlad Lungu @$(MKCONFIG) -a qemu-mips mips mips qemu-mips 2851 0764c164SVlad Lungu 2852 69459791Swdenk######################################################################### 2853 e0ac62d7Swdenk## MIPS64 5Kc 2854 e0ac62d7Swdenk######################################################################### 2855 43d9616cSwdenk 2856 3e38691eSwdenkpurple_config : unconfig 2857 f9328639SMarian Balakowicz @$(MKCONFIG) $(@:_config=) mips mips purple 2858 43d9616cSwdenk 2859 4a551709Swdenk#======================================================================== 2860 4a551709Swdenk# Nios 2861 4a551709Swdenk#======================================================================== 2862 4a551709Swdenk######################################################################### 2863 4a551709Swdenk## Nios32 2864 4a551709Swdenk######################################################################### 2865 4a551709Swdenk 2866 699f0512SWolfgang DenkADNPESC1_DNPEVA2_base_32_config \ 2867 699f0512SWolfgang DenkADNPESC1_base_32_config \ 2868 699f0512SWolfgang DenkADNPESC1_config: unconfig 2869 699f0512SWolfgang Denk @mkdir -p $(obj)include 2870 699f0512SWolfgang Denk @[ -z "$(findstring _DNPEVA2,$@)" ] || \ 2871 699f0512SWolfgang Denk { echo "#define CONFIG_DNPEVA2 1" >>$(obj)include/config.h ; \ 2872 699f0512SWolfgang Denk $(XECHO) "... DNP/EVA2 configuration" ; \ 2873 699f0512SWolfgang Denk } 2874 699f0512SWolfgang Denk @[ -z "$(findstring _base_32,$@)" ] || \ 2875 699f0512SWolfgang Denk { echo "#define CONFIG_NIOS_BASE_32 1" >>$(obj)include/config.h ; \ 2876 699f0512SWolfgang Denk $(XECHO) "... NIOS 'base_32' configuration" ; \ 2877 699f0512SWolfgang Denk } 2878 699f0512SWolfgang Denk @[ -z "$(findstring ADNPESC1_config,$@)" ] || \ 2879 699f0512SWolfgang Denk { echo "#define CONFIG_NIOS_BASE_32 1" >>$(obj)include/config.h ; \ 2880 699f0512SWolfgang Denk $(XECHO) "... NIOS 'base_32' configuration (DEFAULT)" ; \ 2881 699f0512SWolfgang Denk } 2882 699f0512SWolfgang Denk @$(MKCONFIG) -a ADNPESC1 nios nios adnpesc1 ssv 2883 699f0512SWolfgang Denk 2884 c935d3bdSwdenkDK1C20_safe_32_config \ 2885 c935d3bdSwdenkDK1C20_standard_32_config \ 2886 4a551709SwdenkDK1C20_config: unconfig 2887 f9328639SMarian Balakowicz @mkdir -p $(obj)include 2888 c935d3bdSwdenk @[ -z "$(findstring _safe_32,$@)" ] || \ 2889 f9328639SMarian Balakowicz { echo "#define CONFIG_NIOS_SAFE_32 1" >>$(obj)include/config.h ; \ 2890 ae6d1056SWolfgang Denk $(XECHO) "... NIOS 'safe_32' configuration" ; \ 2891 c935d3bdSwdenk } 2892 c935d3bdSwdenk @[ -z "$(findstring _standard_32,$@)" ] || \ 2893 f9328639SMarian Balakowicz { echo "#define CONFIG_NIOS_STANDARD_32 1" >>$(obj)include/config.h ; \ 2894 ae6d1056SWolfgang Denk $(XECHO) "... NIOS 'standard_32' configuration" ; \ 2895 c935d3bdSwdenk } 2896 c935d3bdSwdenk @[ -z "$(findstring DK1C20_config,$@)" ] || \ 2897 f9328639SMarian Balakowicz { echo "#define CONFIG_NIOS_STANDARD_32 1" >>$(obj)include/config.h ; \ 2898 ae6d1056SWolfgang Denk $(XECHO) "... NIOS 'standard_32' configuration (DEFAULT)" ; \ 2899 c935d3bdSwdenk } 2900 f9328639SMarian Balakowicz @$(MKCONFIG) -a DK1C20 nios nios dk1c20 altera 2901 c935d3bdSwdenk 2902 c935d3bdSwdenkDK1S10_safe_32_config \ 2903 c935d3bdSwdenkDK1S10_standard_32_config \ 2904 ec4c544bSwdenkDK1S10_mtx_ldk_20_config \ 2905 c935d3bdSwdenkDK1S10_config: unconfig 2906 f9328639SMarian Balakowicz @mkdir -p $(obj)include 2907 c935d3bdSwdenk @[ -z "$(findstring _safe_32,$@)" ] || \ 2908 f9328639SMarian Balakowicz { echo "#define CONFIG_NIOS_SAFE_32 1" >>$(obj)include/config.h ; \ 2909 ae6d1056SWolfgang Denk $(XECHO) "... NIOS 'safe_32' configuration" ; \ 2910 c935d3bdSwdenk } 2911 c935d3bdSwdenk @[ -z "$(findstring _standard_32,$@)" ] || \ 2912 f9328639SMarian Balakowicz { echo "#define CONFIG_NIOS_STANDARD_32 1" >>$(obj)include/config.h ; \ 2913 ae6d1056SWolfgang Denk $(XECHO) "... NIOS 'standard_32' configuration" ; \ 2914 c935d3bdSwdenk } 2915 ec4c544bSwdenk @[ -z "$(findstring _mtx_ldk_20,$@)" ] || \ 2916 f9328639SMarian Balakowicz { echo "#define CONFIG_NIOS_MTX_LDK_20 1" >>$(obj)include/config.h ; \ 2917 ae6d1056SWolfgang Denk $(XECHO) "... NIOS 'mtx_ldk_20' configuration" ; \ 2918 ec4c544bSwdenk } 2919 c935d3bdSwdenk @[ -z "$(findstring DK1S10_config,$@)" ] || \ 2920 f9328639SMarian Balakowicz { echo "#define CONFIG_NIOS_STANDARD_32 1" >>$(obj)include/config.h ; \ 2921 ae6d1056SWolfgang Denk $(XECHO) "... NIOS 'standard_32' configuration (DEFAULT)" ; \ 2922 c935d3bdSwdenk } 2923 f9328639SMarian Balakowicz @$(MKCONFIG) -a DK1S10 nios nios dk1s10 altera 2924 4a551709Swdenk 2925 5c952cf0Swdenk######################################################################### 2926 5c952cf0Swdenk## Nios-II 2927 5c952cf0Swdenk######################################################################### 2928 5c952cf0Swdenk 2929 9cc83378SScott McNuttEP1C20_config : unconfig 2930 f9328639SMarian Balakowicz @$(MKCONFIG) EP1C20 nios2 nios2 ep1c20 altera 2931 9cc83378SScott McNutt 2932 9cc83378SScott McNuttEP1S10_config : unconfig 2933 f9328639SMarian Balakowicz @$(MKCONFIG) EP1S10 nios2 nios2 ep1s10 altera 2934 9cc83378SScott McNutt 2935 9cc83378SScott McNuttEP1S40_config : unconfig 2936 f9328639SMarian Balakowicz @$(MKCONFIG) EP1S40 nios2 nios2 ep1s40 altera 2937 9cc83378SScott McNutt 2938 5c952cf0SwdenkPK1C20_config : unconfig 2939 f9328639SMarian Balakowicz @$(MKCONFIG) PK1C20 nios2 nios2 pk1c20 psyent 2940 5c952cf0Swdenk 2941 5c952cf0SwdenkPCI5441_config : unconfig 2942 f9328639SMarian Balakowicz @$(MKCONFIG) PCI5441 nios2 nios2 pci5441 psyent 2943 4a551709Swdenk 2944 507bbe3eSwdenk#======================================================================== 2945 507bbe3eSwdenk## Microblaze 2946 699f0512SWolfgang Denk#======================================================================== 2947 507bbe3eSwdenk 2948 cfc67116SMichal Simekml401_config: unconfig 2949 cdd917a4SWolfgang Denk @mkdir -p $(obj)include 2950 210ed200SWolfgang Denk @echo "#define CONFIG_ML401 1" > $(obj)include/config.h 2951 90b1b2d6SGrant Likely @$(MKCONFIG) -a $(@:_config=) microblaze microblaze ml401 xilinx 2952 cfc67116SMichal Simek 2953 699f0512SWolfgang Denksuzaku_config: unconfig 2954 699f0512SWolfgang Denk @mkdir -p $(obj)include 2955 699f0512SWolfgang Denk @echo "#define CONFIG_SUZAKU 1" > $(obj)include/config.h 2956 699f0512SWolfgang Denk @$(MKCONFIG) -a $(@:_config=) microblaze microblaze suzaku AtmarkTechno 2957 699f0512SWolfgang Denk 2958 17980495SMichal Simekxupv2p_config: unconfig 2959 cdd917a4SWolfgang Denk @mkdir -p $(obj)include 2960 210ed200SWolfgang Denk @echo "#define CONFIG_XUPV2P 1" > $(obj)include/config.h 2961 90b1b2d6SGrant Likely @$(MKCONFIG) -a $(@:_config=) microblaze microblaze xupv2p xilinx 2962 17980495SMichal Simek 2963 60fa72d6SMike Frysinger#======================================================================== 2964 60fa72d6SMike Frysinger# Blackfin 2965 60fa72d6SMike Frysinger#======================================================================== 2966 0afe519aSWolfgang Denk 2967 60fa72d6SMike Frysinger# Analog Devices boards 2968 60fa72d6SMike FrysingerBFIN_BOARDS = bf533-ezkit bf533-stamp bf537-stamp bf561-ezkit 2969 0afe519aSWolfgang Denk 2970 60fa72d6SMike Frysinger$(BFIN_BOARDS:%=%_config) : unconfig 2971 9171fc81SMike Frysinger @$(MKCONFIG) $(@:_config=) blackfin blackfin $(@:_config=) 2972 26bf7decSAubrey Li 2973 60fa72d6SMike Frysinger$(BFIN_BOARDS): 2974 60fa72d6SMike Frysinger $(MAKE) $@_config 2975 60fa72d6SMike Frysinger $(MAKE) 2976 0afe519aSWolfgang Denk 2977 5e3b0bc1SHaavard Skinnemoen#======================================================================== 2978 5e3b0bc1SHaavard Skinnemoen# AVR32 2979 5e3b0bc1SHaavard Skinnemoen#======================================================================== 2980 699f0512SWolfgang Denk 2981 699f0512SWolfgang Denkatngw100_config : unconfig 2982 699f0512SWolfgang Denk @$(MKCONFIG) $(@:_config=) avr32 at32ap atngw100 atmel at32ap700x 2983 5e3b0bc1SHaavard Skinnemoen 2984 5e3b0bc1SHaavard Skinnemoenatstk1002_config : unconfig 2985 36f28f8aSHaavard Skinnemoen @$(MKCONFIG) $(@:_config=) avr32 at32ap atstk1000 atmel at32ap700x 2986 5e3b0bc1SHaavard Skinnemoen 2987 667568dbSHaavard Skinnemoenatstk1003_config : unconfig 2988 667568dbSHaavard Skinnemoen @$(MKCONFIG) $(@:_config=) avr32 at32ap atstk1000 atmel at32ap700x 2989 667568dbSHaavard Skinnemoen 2990 64ff2357SHaavard Skinnemoenatstk1004_config : unconfig 2991 64ff2357SHaavard Skinnemoen @$(MKCONFIG) $(@:_config=) avr32 at32ap atstk1000 atmel at32ap700x 2992 0afe519aSWolfgang Denk 2993 0a2e4879SHaavard Skinnemoenatstk1006_config : unconfig 2994 0a2e4879SHaavard Skinnemoen @$(MKCONFIG) $(@:_config=) avr32 at32ap atstk1000 atmel at32ap700x 2995 0a2e4879SHaavard Skinnemoen 2996 0eb5717aSHans-Christian Egtvedtfavr-32-ezkit_config : unconfig 2997 0eb5717aSHans-Christian Egtvedt @$(MKCONFIG) $(@:_config=) avr32 at32ap favr-32-ezkit earthlcd at32ap700x 2998 0eb5717aSHans-Christian Egtvedt 2999 5c374c9eSJulien Mayhammerhead_config : unconfig 3000 5c374c9eSJulien May @$(MKCONFIG) $(@:_config=) avr32 at32ap hammerhead miromico at32ap700x 3001 5c374c9eSJulien May 3002 13b50fe3SMark Jacksonmimc200_config : unconfig 3003 13b50fe3SMark Jackson @$(MKCONFIG) $(@:_config=) avr32 at32ap mimc200 mimc at32ap700x 3004 13b50fe3SMark Jackson 3005 699f0512SWolfgang Denk#======================================================================== 3006 699f0512SWolfgang Denk# SH3 (SuperH) 3007 699f0512SWolfgang Denk#======================================================================== 3008 7ebf7443Swdenk 3009 69df3c4dSNobuhiro Iwamatsu######################################################################### 3010 b2b5e2bbSYoshihiro Shimoda## sh3 (Renesas SuperH) 3011 b2b5e2bbSYoshihiro Shimoda######################################################################### 3012 699f0512SWolfgang Denk 3013 3313e0e2SMark Jonasmpr2_config: unconfig 3014 3ab4827cSWolfgang Denk @mkdir -p $(obj)include 3015 3ab4827cSWolfgang Denk @echo "#define CONFIG_MPR2 1" > $(obj)include/config.h 3016 3313e0e2SMark Jonas @$(MKCONFIG) -a $(@:_config=) sh sh3 mpr2 3017 3313e0e2SMark Jonas 3018 b2b5e2bbSYoshihiro Shimodams7720se_config: unconfig 3019 3ab4827cSWolfgang Denk @mkdir -p $(obj)include 3020 3ab4827cSWolfgang Denk @echo "#define CONFIG_MS7720SE 1" > $(obj)include/config.h 3021 91c82076SJean-Christophe PLAGNIOL-VILLARD @$(MKCONFIG) -a $(@:_config=) sh sh3 ms7720se 3022 b2b5e2bbSYoshihiro Shimoda 3023 b2b5e2bbSYoshihiro Shimoda######################################################################### 3024 69df3c4dSNobuhiro Iwamatsu## sh4 (Renesas SuperH) 3025 69df3c4dSNobuhiro Iwamatsu######################################################################### 3026 699f0512SWolfgang Denk 3027 699f0512SWolfgang DenkMigoR_config : unconfig 3028 699f0512SWolfgang Denk @mkdir -p $(obj)include 3029 699f0512SWolfgang Denk @echo "#define CONFIG_MIGO_R 1" > $(obj)include/config.h 3030 699f0512SWolfgang Denk @./mkconfig -a $(@:_config=) sh sh4 MigoR 3031 699f0512SWolfgang Denk 3032 69df3c4dSNobuhiro Iwamatsums7750se_config: unconfig 3033 3ab4827cSWolfgang Denk @mkdir -p $(obj)include 3034 210ed200SWolfgang Denk @echo "#define CONFIG_MS7750SE 1" > $(obj)include/config.h 3035 91c82076SJean-Christophe PLAGNIOL-VILLARD @$(MKCONFIG) -a $(@:_config=) sh sh4 ms7750se 3036 69df3c4dSNobuhiro Iwamatsu 3037 d91ea45dSNobuhiro Iwamatsums7722se_config : unconfig 3038 3ab4827cSWolfgang Denk @mkdir -p $(obj)include 3039 210ed200SWolfgang Denk @echo "#define CONFIG_MS7722SE 1" > $(obj)include/config.h 3040 91c82076SJean-Christophe PLAGNIOL-VILLARD @$(MKCONFIG) -a $(@:_config=) sh sh4 ms7722se 3041 7a8e9bedSwdenk 3042 699f0512SWolfgang Denkr2dplus_config : unconfig 3043 3ab4827cSWolfgang Denk @mkdir -p $(obj)include 3044 699f0512SWolfgang Denk @echo "#define CONFIG_R2DPLUS 1" > $(obj)include/config.h 3045 699f0512SWolfgang Denk @./mkconfig -a $(@:_config=) sh sh4 r2dplus 3046 c2042f59Sgoda.yusuke 3047 c133c1fbSYusuke Godar7780mp_config: unconfig 3048 3ab4827cSWolfgang Denk @mkdir -p $(obj)include 3049 3ab4827cSWolfgang Denk @echo "#define CONFIG_R7780MP 1" > $(obj)include/config.h 3050 c133c1fbSYusuke Goda @./mkconfig -a $(@:_config=) sh sh4 r7780mp 3051 c133c1fbSYusuke Goda 3052 7faddaecSNobuhiro Iwamatsush7763rdp_config : unconfig 3053 3ab4827cSWolfgang Denk @mkdir -p $(obj)include 3054 3ab4827cSWolfgang Denk @echo "#define CONFIG_SH7763RDP 1" > $(obj)include/config.h 3055 7faddaecSNobuhiro Iwamatsu @./mkconfig -a $(@:_config=) sh sh4 sh7763rdp 3056 7faddaecSNobuhiro Iwamatsu 3057 c2f02da2SDaniel Hellstrom#======================================================================== 3058 c2f02da2SDaniel Hellstrom# SPARC 3059 c2f02da2SDaniel Hellstrom#======================================================================== 3060 699f0512SWolfgang Denk 3061 1e9a164eSDaniel Hellstrom######################################################################### 3062 1e9a164eSDaniel Hellstrom## LEON3 3063 1e9a164eSDaniel Hellstrom######################################################################### 3064 c2f02da2SDaniel Hellstrom 3065 71d7e4c0SDaniel Hellstrom# Gaisler GR-XC3S-1500 board 3066 71d7e4c0SDaniel Hellstromgr_xc3s_1500_config : unconfig 3067 71d7e4c0SDaniel Hellstrom @$(MKCONFIG) $(@:_config=) sparc leon3 gr_xc3s_1500 gaisler 3068 71d7e4c0SDaniel Hellstrom 3069 6ed8a43aSDaniel Hellstrom# Gaisler GR-CPCI-AX2000 board, a General purpose FPGA-AX system 3070 6ed8a43aSDaniel Hellstromgr_cpci_ax2000_config : unconfig 3071 6ed8a43aSDaniel Hellstrom @$(MKCONFIG) $(@:_config=) sparc leon3 gr_cpci_ax2000 gaisler 3072 6ed8a43aSDaniel Hellstrom 3073 6940383dSDaniel Hellstrom# Gaisler GRLIB template design (GPL SPARC/LEON3) for Altera NIOS 3074 6940383dSDaniel Hellstrom# Development board Stratix II edition, FPGA Device EP2S60. 3075 6940383dSDaniel Hellstromgr_ep2s60_config: unconfig 3076 6940383dSDaniel Hellstrom @$(MKCONFIG) $(@:_config=) sparc leon3 gr_ep2s60 gaisler 3077 6940383dSDaniel Hellstrom 3078 823edd8aSDaniel Hellstrom# Gaisler LEON3 GRSIM simulator 3079 823edd8aSDaniel Hellstromgrsim_config : unconfig 3080 823edd8aSDaniel Hellstrom @$(MKCONFIG) $(@:_config=) sparc leon3 grsim gaisler 3081 823edd8aSDaniel Hellstrom 3082 7ebf7443Swdenk######################################################################### 3083 b330990cSDaniel Hellstrom## LEON2 3084 b330990cSDaniel Hellstrom######################################################################### 3085 b330990cSDaniel Hellstrom 3086 ab68f921SDaniel Hellstrom# Gaisler LEON2 GRSIM simulator 3087 ab68f921SDaniel Hellstromgrsim_leon2_config : unconfig 3088 ab68f921SDaniel Hellstrom @$(MKCONFIG) $(@:_config=) sparc leon2 grsim_leon2 gaisler 3089 ab68f921SDaniel Hellstrom 3090 7ebf7443Swdenk######################################################################### 3091 7ebf7443Swdenk######################################################################### 3092 7ebf7443Swdenk######################################################################### 3093 85ec0bccSwdenk 3094 3e38691eSwdenkclean: 3095 f9301e1cSWolfgang Denk @rm -f $(obj)examples/82559_eeprom $(obj)examples/eepro100_eeprom \ 3096 f9301e1cSWolfgang Denk $(obj)examples/hello_world $(obj)examples/interrupt \ 3097 f9301e1cSWolfgang Denk $(obj)examples/mem_to_mem_idma2intr \ 3098 f9301e1cSWolfgang Denk $(obj)examples/sched $(obj)examples/smc91111_eeprom \ 3099 f9301e1cSWolfgang Denk $(obj)examples/test_burst $(obj)examples/timer 3100 f9301e1cSWolfgang Denk @rm -f $(obj)tools/bmp_logo $(obj)tools/easylogo/easylogo \ 3101 f9301e1cSWolfgang Denk $(obj)tools/env/{fw_printenv,fw_setenv} \ 3102 f9301e1cSWolfgang Denk $(obj)tools/envcrc \ 3103 f9301e1cSWolfgang Denk $(obj)tools/gdb/{astest,gdbcont,gdbsend} \ 3104 f9301e1cSWolfgang Denk $(obj)tools/gen_eth_addr $(obj)tools/img2srec \ 3105 f9301e1cSWolfgang Denk $(obj)tools/mkimage $(obj)tools/mpc86x_clk \ 3106 f9301e1cSWolfgang Denk $(obj)tools/ncb $(obj)tools/ubsha1 3107 f9301e1cSWolfgang Denk @rm -f $(obj)board/cray/L1/{bootscript.c,bootscript.image} \ 3108 f9301e1cSWolfgang Denk $(obj)board/netstar/{eeprom,crcek,crcit,*.srec,*.bin} \ 3109 f9301e1cSWolfgang Denk $(obj)board/trab/trab_fkt $(obj)board/voiceblue/eeprom \ 3110 f9301e1cSWolfgang Denk $(obj)board/{integratorap,integratorcp}/u-boot.lds \ 3111 9171fc81SMike Frysinger $(obj)board/{bf533-ezkit,bf533-stamp,bf537-stamp,bf561-ezkit}/u-boot.lds \ 3112 9171fc81SMike Frysinger $(obj)cpu/blackfin/bootrom-asm-offsets.[chs] 3113 dc7746d8SWolfgang Denk @rm -f $(obj)include/bmp_logo.h 3114 dc7746d8SWolfgang Denk @rm -f $(obj)nand_spl/{u-boot-spl,u-boot-spl.map,System.map} 3115 1bb707c3SKyungmin Park @rm -f $(obj)onenand_ipl/onenand-{ipl,ipl.bin,ipl-2k.bin,ipl-4k.bin,ipl.map} 3116 f9301e1cSWolfgang Denk @rm -f $(obj)api_examples/demo $(VERSION_FILE) 3117 ae6d1056SWolfgang Denk @find $(OBJTREE) -type f \ 3118 7ebf7443Swdenk \( -name 'core' -o -name '*.bak' -o -name '*~' \ 3119 7ebf7443Swdenk -o -name '*.o' -o -name '*.a' \) -print \ 3120 7ebf7443Swdenk | xargs rm -f 3121 7ebf7443Swdenk 3122 7ebf7443Swdenkclobber: clean 3123 ae6d1056SWolfgang Denk @find $(OBJTREE) -type f \( -name .depend \ 3124 4c0d4c3bSwdenk -o -name '*.srec' -o -name '*.bin' -o -name u-boot.img \) \ 3125 4c0d4c3bSwdenk -print0 \ 3126 4c0d4c3bSwdenk | xargs -0 rm -f 3127 ffda586fSLi Yang @rm -f $(OBJS) $(obj)*.bak $(obj)ctags $(obj)etags $(obj)TAGS \ 3128 5013c09fSWolfgang Denk $(obj)cscope.* $(obj)*.*~ 3129 ae6d1056SWolfgang Denk @rm -f $(obj)u-boot $(obj)u-boot.map $(obj)u-boot.hex $(ALL) 3130 766529fcSBartlomiej Sieka @rm -f $(obj)tools/{crc32.c,environment.c,env/crc32.c,md5.c,sha1.c,inca-swap-bytes} 3131 89cdab78SMike Frysinger @rm -f $(obj)tools/{image.c,fdt.c,fdt_ro.c,fdt_rw.c,fdt_strerror.c,zlib.h} 3132 7e492d82SMarian Balakowicz @rm -f $(obj)tools/{fdt_wip.c,libfdt_internal.h} 3133 5013c09fSWolfgang Denk @rm -f $(obj)cpu/mpc824x/bedbug_603e.c 3134 ae6d1056SWolfgang Denk @rm -f $(obj)include/asm/proc $(obj)include/asm/arch $(obj)include/asm 3135 a958b663SJean-Christophe PLAGNIOL-VILLARD @[ ! -d $(obj)nand_spl ] || find $(obj)nand_spl -name "*" -type l -print | xargs rm -f 3136 a958b663SJean-Christophe PLAGNIOL-VILLARD @[ ! -d $(obj)onenand_ipl ] || find $(obj)onenand_ipl -name "*" -type l -print | xargs rm -f 3137 a958b663SJean-Christophe PLAGNIOL-VILLARD @[ ! -d $(obj)api_examples ] || find $(obj)api_examples -name "*" -type l -print | xargs rm -f 3138 7ebf7443Swdenk 3139 f9328639SMarian Balakowiczifeq ($(OBJTREE),$(SRCTREE)) 3140 7ebf7443Swdenkmrproper \ 3141 7ebf7443Swdenkdistclean: clobber unconfig 3142 f9328639SMarian Balakowiczelse 3143 f9328639SMarian Balakowiczmrproper \ 3144 f9328639SMarian Balakowiczdistclean: clobber unconfig 3145 ae6d1056SWolfgang Denk rm -rf $(obj)* 3146 f9328639SMarian Balakowiczendif 3147 7ebf7443Swdenk 3148 7ebf7443Swdenkbackup: 3149 7ebf7443Swdenk F=`basename $(TOPDIR)` ; cd .. ; \ 3150 7ebf7443Swdenk gtar --force-local -zcvf `date "+$$F-%Y-%m-%d-%T.tar.gz"` $$F 3151 7ebf7443Swdenk 3152 7ebf7443Swdenk######################################################################### 3153