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