3 # make db88f6282bp_533ddr3_config SPIBOOT=1 LE=1 QNAPNAS=1 (TS-x19P+)
4 # make db88f6282bp_666ddr3_config SPIBOOT=1 LE=1 QNAPNAS=1 (TS-x19P II)
7 # (C) Copyright 2000-2005
8 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
10 # See file CREDITS for list of people who contributed to this
13 # This program is free software; you can redistribute it and/or
14 # modify it under the terms of the GNU General Public License as
15 # published by the Free Software Foundation; either version 2 of
16 # the License, or (at your option) any later version.
18 # This program is distributed in the hope that it will be useful,
19 # but WITHOUT ANY WARRANTY; without even the implied warranty of
20 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 # GNU General Public License for more details.
23 # You should have received a copy of the GNU General Public License
24 # along with this program; if not, write to the Free Software
25 # Foundation, Inc., 59 Temple Place, Suite 330, Boston,
29 HOSTARCH
:= $(shell uname
-m | \
37 HOSTOS
:= $(shell uname
-s | tr
'[:upper:]' '[:lower:]' | \
38 sed
-e
's/\(cygwin\).*/cygwin/')
40 export HOSTARCH HOSTOS
42 # Deal with colliding definitions from tcsh etc.
45 #########################################################################
47 TOPDIR
:= $(shell if
[ "$$PWD" != "" ]; then echo
$$PWD; else pwd
; fi
)
51 ifeq (include/config.mk
,$(wildcard include/config.mk
))
52 # load ARCH, BOARD, and CPU configuration
53 include include/config.mk
54 export ARCH CPU BOARD VENDOR SOC
55 # load other configuration
56 include $(TOPDIR
)/config.mk
59 ifeq ($(HOSTARCH
),ppc
)
63 CROSS_COMPILE
= powerpc-linux-
66 ifeq ($(CROSS
),armlinux
)
67 CROSS_COMPILE
= arm-linux-
71 ifeq ($(HOSTARCH
),i386
)
74 CROSS_COMPILE
= i386-linux-
78 CROSS_COMPILE
= mips_4KC-
81 CROSS_COMPILE
= nios-elf-
84 CROSS_COMPILE
= nios2-elf-
87 CROSS_COMPILE
= m68k-elf-
89 ifeq ($(ARCH
),microblaze
)
97 #########################################################################
98 # U-Boot objects....order is important (i.e. start must be first)
100 OBJS
= cpu
/$(CPU
)/start.o
102 OBJS
+= cpu
/$(CPU
)/start16.o
103 OBJS
+= cpu
/$(CPU
)/reset.o
106 OBJS
+= cpu
/$(CPU
)/resetvec.o
108 ifeq ($(CPU
),mpc83xx
)
109 OBJS
+= cpu
/$(CPU
)/resetvec.o
111 ifeq ($(CPU
),mpc85xx
)
112 OBJS
+= cpu
/$(CPU
)/resetvec.o
115 LIBS
= lib_generic
/libgeneric.a
116 LIBS
+= board
/$(BOARDDIR
)/lib
$(BOARD
).a
117 LIBS
+= cpu
/$(CPU
)/lib
$(CPU
).a
119 LIBS
+= cpu
/$(CPU
)/$(SOC
)/lib
$(SOC
).a
121 LIBS
+= lib_
$(ARCH
)/lib
$(ARCH
).a
122 LIBS
+= fs
/cramfs
/libcramfs.a fs
/fat
/libfat.a fs
/fdos
/libfdos.a fs
/jffs2
/libjffs2.a \
123 fs
/reiserfs
/libreiserfs.a fs
/ext2
/libext2fs.a
125 LIBS
+= disk
/libdisk.a
128 LIBS
+= drivers
/libdrivers.a
129 LIBS
+= drivers
/nand
/libnand.a
130 LIBS
+= drivers
/usb
/libusb.a
131 LIBS
+= drivers
/sk98lin
/libsk98lin.a
132 ifeq ($(CFG_DIAG
), 1)
133 LIBS
+= diag
/libdiag.a
135 LIBS
+= post
/libpost.a post
/cpu
/libcpu.a
136 LIBS
+= common
/libcommon.a
140 PLATFORM_LIBS
+= -L
$(shell dirname
`$(CC) $(CFLAGS) -print-libgcc-file-name`) -lgcc
143 # The "tools" are needed early, so put this first
144 # Don't include stuff already done in $(LIBS)
150 #########################################################################
151 #########################################################################
153 ALL
= u-boot.srec u-boot.bin System.map
154 BINCPY
= cp
-f u-boot.bin u-boot-
${MV_OUTPUT}.bin
155 ELFCPY
= cp
-f u-boot u-boot-
${MV_OUTPUT}
156 SRECCPY
= cp
-f u-boot.srec u-boot-
${MV_OUTPUT}.srec
158 DO_IMAGE_NAND
= .
/tools
/doimage
-T nand
-D
0x600000 -E
0x670000 -P
2048 -R \
159 dramregs_
$(MV_DDR_FREQ
)_A.txt u-boot-
${MV_OUTPUT}.bin u-boot-
${MV_OUTPUT}_
$(MV_DDR_FREQ
)_nand.bin
160 DO_IMAGE_UART
= .
/tools
/doimage
-T uart
-D
0x600000 -E
0x670000 -R \
161 dramregs_
$(MV_DDR_FREQ
)_A.txt u-boot-
${MV_OUTPUT}.bin u-boot-
${MV_OUTPUT}_
$(MV_DDR_FREQ
)_uart.bin
162 DO_IMAGE_FLASH
= .
/tools
/doimage
-T flash
-D
0x600000 -E
0x670000 -R \
163 dramregs_
$(MV_DDR_FREQ
)_A.txt u-boot-
${MV_OUTPUT}.bin u-boot-
${MV_OUTPUT}_
$(MV_DDR_FREQ
)_flash.bin
169 $(OBJCOPY
) ${OBJCFLAGS} -O ihex
$< $@
172 $(OBJCOPY
) ${OBJCFLAGS} -O srec
$< $@
176 $(OBJCOPY
) ${OBJCFLAGS} -O binary
$< $@
179 ifeq ($(BOARD
), config_kw
)
180 ifeq ($(NAND_BOOT
), y
)
183 ifeq ($(SPI_BOOT
), y
)
189 u-boot.img
: u-boot.bin
190 .
/tools
/mkimage
-A
$(ARCH
) -T firmware
-C none \
191 -a
$(TEXT_BASE
) -e
0 \
192 -n
$(shell sed
-n
-e
's/.*U_BOOT_VERSION//p' include/version.h | \
193 sed
-e
's/"[ ]*$$/ for $(BOARD) board"/') \
197 $(OBJDUMP
) -d
$< > $@
201 $(LD
) $(NAND_LDFLAGS
) $(NAND_OBJS
) --start-group
$(LIBS
) $(PLATFORM_LIBS
) --end-group\
202 -e nbootStart
-Map nboot.map
-o nboot
203 $(OBJCOPY
) ${OBJCFLAGS} -O binary
$@
$@.bin
204 $(OBJDUMP
) -d
$@
> $@.dis
209 u-boot
: depend
$(SUBDIRS
) $(OBJS
) $(LIBS
) $(LDSCRIPT
)
210 UNDEF_SYM
=`$(OBJDUMP) -x $(LIBS) |sed -n -e 's/.*\(__u_boot_cmd_.*\)/-u\1/p'|sort|uniq`;\
211 $(LD
) $(LDFLAGS
) $$UNDEF_SYM $(OBJS
) \
212 --start-group
$(LIBS
) --end-group
$(PLATFORM_LIBS
) \
213 -Map u-boot.map
-o u-boot
216 $(MAKE
) -C
`dirname $@`
222 $(MAKE
) -C tools
/gdb || exit
1
225 @for
dir in
$(SUBDIRS
) ; do
$(MAKE
) -C
$$dir .depend
; done
228 ctags
-w
`find $(SUBDIRS) include \
229 lib_generic board/$(BOARDDIR) cpu/$(CPU) lib_$(ARCH) \
230 fs/cramfs fs/fat fs/fdos fs/jffs2 \
231 net disk rtc dtt drivers drivers/sk98lin common \
232 \( -name CVS -prune \) -o \( -name '*.[ch]' -print \)`
235 etags
-a
`find $(SUBDIRS) include \
236 lib_generic board/$(BOARDDIR) cpu/$(CPU) lib_$(ARCH) \
237 fs/cramfs fs/fat fs/fdos fs/jffs2 \
238 net disk rtc dtt drivers drivers/sk98lin common \
239 \( -name CVS -prune \) -o \( -name '*.[ch]' -print \)`
243 grep
-v
'\(compiled\)\|\(\.o$$\)\|\( [aUw] \)\|\(\.\.ng$$\)\|\(LASH[RL]DI\)' | \
247 #########################################################################
249 all install u-boot u-boot.srec depend dep
:
250 @echo
"System not configured - see README" >&2
254 #########################################################################
257 @
rm -f
include/config.h
include/config.mk board
/*/config.tmp
259 #========================================================================
261 #========================================================================
263 #########################################################################
265 #########################################################################
267 canmb_config
: unconfig
268 @.
/mkconfig
-a canmb ppc mpc5xxx canmb
270 cmi_mpc5xx_config
: unconfig
271 @.
/mkconfig
$(@
:_config
=) ppc mpc5xx cmi
273 PATI_config
: unconfig
274 @.
/mkconfig
$(@
:_config
=) ppc mpc5xx pati mpl
276 #########################################################################
278 #########################################################################
281 @.
/mkconfig
-a aev ppc mpc5xxx tqm5200
283 cpci5200_config
: unconfig
284 @.
/mkconfig
-a cpci5200 ppc mpc5xxx cpci5200 esd
286 hmi1001_config
: unconfig
287 @.
/mkconfig hmi1001 ppc mpc5xxx hmi1001
290 Lite5200_LOWBOOT_config \
291 Lite5200_LOWBOOT08_config \
292 icecube_5200_config \
293 icecube_5200_LOWBOOT_config \
294 icecube_5200_LOWBOOT08_config \
295 icecube_5200_DDR_config \
296 icecube_5200_DDR_LOWBOOT_config \
297 icecube_5200_DDR_LOWBOOT08_config \
298 icecube_5100_config
: unconfig
300 @
[ -z
"$(findstring LOWBOOT_,$@)" ] || \
301 { if
[ "$(findstring DDR,$@)" ] ; \
302 then echo
"TEXT_BASE = 0xFF800000" >board
/icecube
/config.tmp
; \
303 else echo
"TEXT_BASE = 0xFF000000" >board
/icecube
/config.tmp
; \
305 echo
"... with LOWBOOT configuration" ; \
307 @
[ -z
"$(findstring LOWBOOT08,$@)" ] || \
308 { echo
"TEXT_BASE = 0xFF800000" >board
/icecube
/config.tmp
; \
309 echo
"... with 8 MB flash only" ; \
310 echo
"... with LOWBOOT configuration" ; \
312 @
[ -z
"$(findstring DDR,$@)" ] || \
313 { echo
"#define CONFIG_MPC5200_DDR" >>include/config.h
; \
314 echo
"... DDR memory revision" ; \
316 @
[ -z
"$(findstring 5200,$@)" ] || \
317 { echo
"#define CONFIG_MPC5200" >>include/config.h
; \
318 echo
"... with MPC5200 processor" ; \
320 @
[ -z
"$(findstring 5100,$@)" ] || \
321 { echo
"#define CONFIG_MGT5100" >>include/config.h
; \
322 echo
"... with MGT5100 processor" ; \
324 @.
/mkconfig
-a IceCube ppc mpc5xxx icecube
326 inka4x0_config
: unconfig
327 @.
/mkconfig inka4x0 ppc mpc5xxx inka4x0
330 @.
/mkconfig
-a o2dnt ppc mpc5xxx o2dnt
332 pf5200_config
: unconfig
333 @.
/mkconfig
-a pf5200 ppc mpc5xxx pf5200 esd
337 PM520_ROMBOOT_config \
338 PM520_ROMBOOT_DDR_config
: unconfig
340 @
[ -z
"$(findstring DDR,$@)" ] || \
341 { echo
"#define CONFIG_MPC5200_DDR" >>include/config.h
; \
342 echo
"... DDR memory revision" ; \
344 @
[ -z
"$(findstring ROMBOOT,$@)" ] || \
345 { echo
"#define CONFIG_BOOT_ROM" >>include/config.h
; \
346 echo
"... booting from 8-bit flash" ; \
348 @.
/mkconfig
-a PM520 ppc mpc5xxx pm520
352 TOP5200_config
: unconfig
353 @ echo
"#define CONFIG_$(@:_config=) 1" >include/config.h
354 @.
/mkconfig
-a TOP5200 ppc mpc5xxx top5200 emk
358 Total5200_lowboot_config \
359 Total5200_Rev2_config \
360 Total5200_Rev2_lowboot_config
: unconfig
362 @
[ -z
"$(findstring 5100,$@)" ] || \
363 { echo
"#define CONFIG_MGT5100" >>include/config.h
; \
364 echo
"... with MGT5100 processor" ; \
366 @
[ -z
"$(findstring 5200,$@)" ] || \
367 { echo
"#define CONFIG_MPC5200" >>include/config.h
; \
368 echo
"... with MPC5200 processor" ; \
370 @
[ -n
"$(findstring Rev,$@)" ] || \
371 { echo
"#define CONFIG_TOTAL5200_REV 1" >>include/config.h
; \
372 echo
"... revision 1 board" ; \
374 @
[ -z
"$(findstring Rev2_,$@)" ] || \
375 { echo
"#define CONFIG_TOTAL5200_REV 2" >>include/config.h
; \
376 echo
"... revision 2 board" ; \
378 @
[ -z
"$(findstring lowboot_,$@)" ] || \
379 { echo
"TEXT_BASE = 0xFE000000" >board
/total5200
/config.tmp
; \
380 echo
"... with lowboot configuration" ; \
382 @.
/mkconfig
-a Total5200 ppc mpc5xxx total5200
384 TQM5200_auto_config \
388 MiniFAP_config
: unconfig
390 @
[ -z
"$(findstring MiniFAP,$@)" ] || \
391 { echo
"#define CONFIG_MINIFAP" >>include/config.h
; \
392 echo
"#define CONFIG_TQM5200_AC" >>include/config.h
; \
393 echo
"... TQM5200_AC on MiniFAP" ; \
395 @
[ -z
"$(findstring AA,$@)" ] || \
396 { echo
"#define CONFIG_TQM5200_AA" >>include/config.h
; \
397 echo
"... with 4 MB Flash, 16 MB SDRAM, 32 kB EEPROM" ; \
399 @
[ -z
"$(findstring AB,$@)" ] || \
400 { echo
"#define CONFIG_TQM5200_AB" >>include/config.h
; \
401 echo
"... with 64 MB Flash, 64 MB SDRAM, 32 kB EEPROM, 512 kB SRAM" ; \
402 echo
"... with Graphics Controller"; \
404 @
[ -z
"$(findstring AC,$@)" ] || \
405 { echo
"#define CONFIG_TQM5200_AC" >>include/config.h
; \
406 echo
"... with 4 MB Flash, 128 MB SDRAM" ; \
407 echo
"... with Graphics Controller"; \
409 @
[ -z
"$(findstring auto,$@)" ] || \
410 { echo
"#define CONFIG_CS_AUTOCONF" >>include/config.h
; \
411 echo
"... with automatic CS configuration" ; \
413 @.
/mkconfig
-a TQM5200 ppc mpc5xxx tqm5200
415 spieval_config
: unconfig
416 echo
"#define CONFIG_CS_AUTOCONF">>include/config.h
417 echo
"... with automatic CS configuration"
418 @.
/mkconfig
-a spieval ppc mpc5xxx tqm5200
420 #########################################################################
422 #########################################################################
428 $(if
$(findstring AdderII
,$@
), \
429 @echo
"#define CONFIG_MPC852T" > include/config.h
)
430 @.
/mkconfig
-a Adder ppc mpc8xx adder
437 FADS860T_config
: unconfig
438 @.
/mkconfig
$(@
:_config
=) ppc mpc8xx fads
440 AMX860_config
: unconfig
441 @.
/mkconfig
$(@
:_config
=) ppc mpc8xx amx860 westel
443 c2mon_config
: unconfig
444 @.
/mkconfig
$(@
:_config
=) ppc mpc8xx c2mon
447 @.
/mkconfig
$(@
:_config
=) ppc mpc8xx CCM siemens
449 cogent_mpc8xx_config
: unconfig
450 @.
/mkconfig
$(@
:_config
=) ppc mpc8xx cogent
452 ELPT860_config
: unconfig
453 @.
/mkconfig
$(@
:_config
=) ppc mpc8xx elpt860 LEOX
455 ESTEEM192E_config
: unconfig
456 @.
/mkconfig
$(@
:_config
=) ppc mpc8xx esteem192e
458 ETX094_config
: unconfig
459 @.
/mkconfig
$(@
:_config
=) ppc mpc8xx etx094
461 FLAGADM_config
: unconfig
462 @.
/mkconfig
$(@
:_config
=) ppc mpc8xx flagadm
464 xtract_GEN860T
= $(subst _SC
,,$(subst _config
,,$1))
467 GEN860T_config
: unconfig
469 @
[ -z
"$(findstring _SC,$@)" ] || \
470 { echo
"#define CONFIG_SC" >>include/config.h
; \
471 echo
"With reduced H/W feature set (SC)..." ; \
473 @.
/mkconfig
-a
$(call xtract_GEN860T
,$@
) ppc mpc8xx gen860t
475 GENIETV_config
: unconfig
476 @.
/mkconfig
$(@
:_config
=) ppc mpc8xx genietv
479 @.
/mkconfig
$(@
:_config
=) ppc mpc8xx gth
481 hermes_config
: unconfig
482 @.
/mkconfig
$(@
:_config
=) ppc mpc8xx hermes
484 HMI10_config
: unconfig
485 @.
/mkconfig
$(@
:_config
=) ppc mpc8xx tqm8xx
487 IAD210_config
: unconfig
488 @.
/mkconfig
$(@
:_config
=) ppc mpc8xx IAD210 siemens
490 xtract_ICU862
= $(subst _100MHz
,,$(subst _config
,,$1))
492 ICU862_100MHz_config \
493 ICU862_config
: unconfig
495 @
[ -z
"$(findstring _100MHz,$@)" ] || \
496 { echo
"#define CONFIG_100MHz" >>include/config.h
; \
497 echo
"... with 100MHz system clock" ; \
499 @.
/mkconfig
-a
$(call xtract_ICU862
,$@
) ppc mpc8xx icu862
501 IP860_config
: unconfig
502 @.
/mkconfig
$(@
:_config
=) ppc mpc8xx ip860
506 IVML24_config
: unconfig
508 @
[ -z
"$(findstring IVML24_config,$@)" ] || \
509 { echo
"#define CONFIG_IVML24_16M" >>include/config.h
; \
511 @
[ -z
"$(findstring IVML24_128_config,$@)" ] || \
512 { echo
"#define CONFIG_IVML24_32M" >>include/config.h
; \
514 @
[ -z
"$(findstring IVML24_256_config,$@)" ] || \
515 { echo
"#define CONFIG_IVML24_64M" >>include/config.h
; \
517 @.
/mkconfig
-a IVML24 ppc mpc8xx ivm
521 IVMS8_config
: unconfig
523 @
[ -z
"$(findstring IVMS8_config,$@)" ] || \
524 { echo
"#define CONFIG_IVMS8_16M" >>include/config.h
; \
526 @
[ -z
"$(findstring IVMS8_128_config,$@)" ] || \
527 { echo
"#define CONFIG_IVMS8_32M" >>include/config.h
; \
529 @
[ -z
"$(findstring IVMS8_256_config,$@)" ] || \
530 { echo
"#define CONFIG_IVMS8_64M" >>include/config.h
; \
532 @.
/mkconfig
-a IVMS8 ppc mpc8xx ivm
534 KUP4K_config
: unconfig
535 @.
/mkconfig
$(@
:_config
=) ppc mpc8xx kup4k kup
537 KUP4X_config
: unconfig
538 @.
/mkconfig
$(@
:_config
=) ppc mpc8xx kup4x kup
540 LANTEC_config
: unconfig
541 @.
/mkconfig
$(@
:_config
=) ppc mpc8xx lantec
543 lwmon_config
: unconfig
544 @.
/mkconfig
$(@
:_config
=) ppc mpc8xx lwmon
547 MBX860T_config
: unconfig
548 @.
/mkconfig
$(@
:_config
=) ppc mpc8xx mbx8xx
550 MHPC_config
: unconfig
551 @.
/mkconfig
$(@
:_config
=) ppc mpc8xx mhpc eltec
553 MVS1_config
: unconfig
554 @.
/mkconfig
$(@
:_config
=) ppc mpc8xx mvs1
556 xtract_NETVIA
= $(subst _V2
,,$(subst _config
,,$1))
559 NETVIA_config
: unconfig
561 @
[ -z
"$(findstring NETVIA_config,$@)" ] || \
562 { echo
"#define CONFIG_NETVIA_VERSION 1" >>include/config.h
; \
563 echo
"... Version 1" ; \
565 @
[ -z
"$(findstring NETVIA_V2_config,$@)" ] || \
566 { echo
"#define CONFIG_NETVIA_VERSION 2" >>include/config.h
; \
567 echo
"... Version 2" ; \
569 @.
/mkconfig
-a
$(call xtract_NETVIA
,$@
) ppc mpc8xx netvia
571 xtract_NETPHONE
= $(subst _V2
,,$(subst _config
,,$1))
574 NETPHONE_config
: unconfig
576 @
[ -z
"$(findstring NETPHONE_config,$@)" ] || \
577 { echo
"#define CONFIG_NETPHONE_VERSION 1" >>include/config.h
; \
579 @
[ -z
"$(findstring NETPHONE_V2_config,$@)" ] || \
580 { echo
"#define CONFIG_NETPHONE_VERSION 2" >>include/config.h
; \
582 @.
/mkconfig
-a
$(call xtract_NETPHONE
,$@
) ppc mpc8xx netphone
584 xtract_NETTA
= $(subst _SWAPHOOK
,,$(subst _6412
,,$(subst _ISDN
,,$(subst _config
,,$1))))
586 NETTA_ISDN_6412_SWAPHOOK_config \
587 NETTA_ISDN_SWAPHOOK_config \
588 NETTA_6412_SWAPHOOK_config \
589 NETTA_SWAPHOOK_config \
590 NETTA_ISDN_6412_config \
593 NETTA_config
: unconfig
595 @
[ -z
"$(findstring ISDN_,$@)" ] || \
596 { echo
"#define CONFIG_NETTA_ISDN 1" >>include/config.h
; \
598 @
[ -n
"$(findstring ISDN_,$@)" ] || \
599 { echo
"#undef CONFIG_NETTA_ISDN" >>include/config.h
; \
601 @
[ -z
"$(findstring 6412_,$@)" ] || \
602 { echo
"#define CONFIG_NETTA_6412 1" >>include/config.h
; \
604 @
[ -n
"$(findstring 6412_,$@)" ] || \
605 { echo
"#undef CONFIG_NETTA_6412" >>include/config.h
; \
607 @
[ -z
"$(findstring SWAPHOOK_,$@)" ] || \
608 { echo
"#define CONFIG_NETTA_SWAPHOOK 1" >>include/config.h
; \
610 @
[ -n
"$(findstring SWAPHOOK_,$@)" ] || \
611 { echo
"#undef CONFIG_NETTA_SWAPHOOK" >>include/config.h
; \
613 @.
/mkconfig
-a
$(call xtract_NETTA
,$@
) ppc mpc8xx netta
615 xtract_NETTA2
= $(subst _V2
,,$(subst _config
,,$1))
618 NETTA2_config
: unconfig
620 @
[ -z
"$(findstring NETTA2_config,$@)" ] || \
621 { echo
"#define CONFIG_NETTA2_VERSION 1" >>include/config.h
; \
623 @
[ -z
"$(findstring NETTA2_V2_config,$@)" ] || \
624 { echo
"#define CONFIG_NETTA2_VERSION 2" >>include/config.h
; \
626 @.
/mkconfig
-a
$(call xtract_NETTA2
,$@
) ppc mpc8xx netta2
628 NC650_config
: unconfig
629 @.
/mkconfig
$(@
:_config
=) ppc mpc8xx nc650
631 NX823_config
: unconfig
632 @.
/mkconfig
$(@
:_config
=) ppc mpc8xx nx823
634 pcu_e_config
: unconfig
635 @.
/mkconfig
$(@
:_config
=) ppc mpc8xx pcu_e siemens
637 QS850_config
: unconfig
638 @.
/mkconfig
$(@
:_config
=) ppc mpc8xx qs850 snmc
640 QS823_config
: unconfig
641 @.
/mkconfig
$(@
:_config
=) ppc mpc8xx qs850 snmc
643 QS860T_config
: unconfig
644 @.
/mkconfig
$(@
:_config
=) ppc mpc8xx qs860t snmc
646 quantum_config
: unconfig
647 @.
/mkconfig
$(@
:_config
=) ppc mpc8xx quantum
649 R360MPI_config
: unconfig
650 @.
/mkconfig
$(@
:_config
=) ppc mpc8xx r360mpi
652 RBC823_config
: unconfig
653 @.
/mkconfig
$(@
:_config
=) ppc mpc8xx rbc823
655 RPXClassic_config
: unconfig
656 @.
/mkconfig
$(@
:_config
=) ppc mpc8xx RPXClassic
658 RPXlite_config
: unconfig
659 @.
/mkconfig
$(@
:_config
=) ppc mpc8xx RPXlite
661 RPXlite_DW_64_config \
662 RPXlite_DW_LCD_config \
663 RPXlite_DW_64_LCD_config \
664 RPXlite_DW_NVRAM_config \
665 RPXlite_DW_NVRAM_64_config \
666 RPXlite_DW_NVRAM_LCD_config \
667 RPXlite_DW_NVRAM_64_LCD_config \
668 RPXlite_DW_config
: unconfig
670 @
[ -z
"$(findstring _64,$@)" ] || \
671 { echo
"#define RPXlite_64MHz" >>include/config.h
; \
672 echo
"... with 64MHz system clock ..."; \
674 @
[ -z
"$(findstring _LCD,$@)" ] || \
675 { echo
"#define CONFIG_LCD" >>include/config.h
; \
676 echo
"#define CONFIG_NEC_NL6448BC20" >>include/config.h
; \
677 echo
"... with LCD display ..."; \
679 @
[ -z
"$(findstring _NVRAM,$@)" ] || \
680 { echo
"#define CFG_ENV_IS_IN_NVRAM" >>include/config.h
; \
681 echo
"... with ENV in NVRAM ..."; \
683 @.
/mkconfig
-a RPXlite_DW ppc mpc8xx RPXlite_dw
686 @.
/mkconfig
$(@
:_config
=) ppc mpc8xx rmu
688 RRvision_config
: unconfig
689 @.
/mkconfig
$(@
:_config
=) ppc mpc8xx RRvision
691 RRvision_LCD_config
: unconfig
692 @echo
"#define CONFIG_LCD" >include/config.h
693 @echo
"#define CONFIG_SHARP_LQ104V7DS01" >>include/config.h
694 @.
/mkconfig
-a RRvision ppc mpc8xx RRvision
696 SM850_config
: unconfig
697 @.
/mkconfig
$(@
:_config
=) ppc mpc8xx tqm8xx
699 SPD823TS_config
: unconfig
700 @.
/mkconfig
$(@
:_config
=) ppc mpc8xx spd8xx
702 stxxtc_config
: unconfig
703 @.
/mkconfig
$(@
:_config
=) ppc mpc8xx stxxtc
705 svm_sc8xx_config
: unconfig
707 @.
/mkconfig
$(@
:_config
=) ppc mpc8xx svm_sc8xx
709 SXNI855T_config
: unconfig
710 @.
/mkconfig
$(@
:_config
=) ppc mpc8xx sixnet
712 # EMK MPC8xx based modules
713 TOP860_config
: unconfig
714 @.
/mkconfig
$(@
:_config
=) ppc mpc8xx top860 emk
716 # Play some tricks for configuration selection
717 # Only 855 and 860 boards may come with FEC
718 # and only 823 boards may have LCD support
719 xtract_8xx
= $(subst _LCD
,,$(subst _config
,,$1))
735 TQM866M_config
: unconfig
737 @
[ -z
"$(findstring _LCD,$@)" ] || \
738 { echo
"#define CONFIG_LCD" >>include/config.h
; \
739 echo
"#define CONFIG_NEC_NL6448BC20" >>include/config.h
; \
740 echo
"... with LCD display" ; \
742 @.
/mkconfig
-a
$(call xtract_8xx
,$@
) ppc mpc8xx tqm8xx
744 TTTech_config
: unconfig
745 @echo
"#define CONFIG_LCD" >include/config.h
746 @echo
"#define CONFIG_SHARP_LQ104V7DS01" >>include/config.h
747 @.
/mkconfig
-a TQM823L ppc mpc8xx tqm8xx
749 uc100_config
: unconfig
750 @.
/mkconfig
$(@
:_config
=) ppc mpc8xx uc100
753 @echo
"#define CONFIG_LCD" >include/config.h
754 @echo
"#define CONFIG_SHARP_LQ084V1DG21" >>include/config.h
755 @.
/mkconfig
$(@
:_config
=) ppc mpc8xx v37
758 @echo
"#define CONFIG_LCD" >include/config.h
759 @echo
"#define CONFIG_SHARP_LQ065T9DR51U" >>include/config.h
760 @.
/mkconfig
-a TQM823L ppc mpc8xx tqm8xx
762 #########################################################################
764 #########################################################################
765 xtract_4xx
= $(subst _25
,,$(subst _33
,,$(subst _BA
,,$(subst _ME
,,$(subst _HI
,,$(subst _config
,,$1))))))
767 ADCIOP_config
: unconfig
768 @.
/mkconfig
$(@
:_config
=) ppc ppc4xx adciop esd
770 AP1000_config
:unconfig
771 @.
/mkconfig
$(@
:_config
=) ppc ppc4xx ap1000 amirix
773 APC405_config
: unconfig
774 @.
/mkconfig
$(@
:_config
=) ppc ppc4xx apc405 esd
776 AR405_config
: unconfig
777 @.
/mkconfig
$(@
:_config
=) ppc ppc4xx ar405 esd
779 ASH405_config
: unconfig
780 @.
/mkconfig
$(@
:_config
=) ppc ppc4xx ash405 esd
782 bamboo_config
: unconfig
783 @.
/mkconfig
$(@
:_config
=) ppc ppc4xx bamboo amcc
785 bubinga_config
: unconfig
786 @.
/mkconfig
$(@
:_config
=) ppc ppc4xx bubinga amcc
788 CANBT_config
: unconfig
789 @.
/mkconfig
$(@
:_config
=) ppc ppc4xx canbt esd
792 CATcenter_25_config \
793 CATcenter_33_config
: unconfig
794 @ echo
"/* CATcenter uses PPChameleon Model ME */" > include/config.h
795 @ echo
"#define CONFIG_PPCHAMELEON_MODULE_MODEL 1" >> include/config.h
796 @
[ -z
"$(findstring _25,$@)" ] || \
797 { echo
"#define CONFIG_PPCHAMELEON_CLK_25" >>include/config.h
; \
798 echo
"SysClk = 25MHz" ; \
800 @
[ -z
"$(findstring _33,$@)" ] || \
801 { echo
"#define CONFIG_PPCHAMELEON_CLK_33" >>include/config.h
; \
802 echo
"SysClk = 33MHz" ; \
804 @.
/mkconfig
-a
$(call xtract_4xx
,$@
) ppc ppc4xx PPChameleonEVB dave
806 CPCI2DP_config
: unconfig
807 @.
/mkconfig
$(@
:_config
=) ppc ppc4xx cpci2dp esd
812 CPCI405AB_config
: unconfig
813 @.
/mkconfig
$(@
:_config
=) ppc ppc4xx cpci405 esd
814 @echo
"BOARD_REVISION = $(@:_config=)" >>include/config.mk
816 CPCI440_config
: unconfig
817 @.
/mkconfig
$(@
:_config
=) ppc ppc4xx cpci440 esd
819 CPCIISER4_config
: unconfig
820 @.
/mkconfig
$(@
:_config
=) ppc ppc4xx cpciiser4 esd
822 CRAYL1_config
: unconfig
823 @.
/mkconfig
$(@
:_config
=) ppc ppc4xx L1 cray
825 csb272_config
: unconfig
826 @.
/mkconfig
$(@
:_config
=) ppc ppc4xx csb272
828 csb472_config
: unconfig
829 @.
/mkconfig
$(@
:_config
=) ppc ppc4xx csb472
831 DASA_SIM_config
: unconfig
832 @.
/mkconfig
$(@
:_config
=) ppc ppc4xx dasa_sim esd
834 DP405_config
: unconfig
835 @.
/mkconfig
$(@
:_config
=) ppc ppc4xx dp405 esd
837 DU405_config
: unconfig
838 @.
/mkconfig
$(@
:_config
=) ppc ppc4xx du405 esd
840 ebony_config
: unconfig
841 @.
/mkconfig
$(@
:_config
=) ppc ppc4xx ebony amcc
843 ERIC_config
: unconfig
844 @.
/mkconfig
$(@
:_config
=) ppc ppc4xx eric
846 EXBITGEN_config
: unconfig
847 @.
/mkconfig
$(@
:_config
=) ppc ppc4xx exbitgen
849 G2000_config
: unconfig
850 @.
/mkconfig
$(@
:_config
=) ppc ppc4xx g2000
852 HH405_config
: unconfig
853 @.
/mkconfig
$(@
:_config
=) ppc ppc4xx hh405 esd
855 HUB405_config
: unconfig
856 @.
/mkconfig
$(@
:_config
=) ppc ppc4xx hub405 esd
859 @.
/mkconfig
$(@
:_config
=) ppc ppc4xx jse
861 KAREF_config
: unconfig
862 @.
/mkconfig
$(@
:_config
=) ppc ppc4xx karef sandburst
864 luan_config
: unconfig
865 @.
/mkconfig
$(@
:_config
=) ppc ppc4xx luan amcc
867 METROBOX_config
: unconfig
868 @.
/mkconfig
$(@
:_config
=) ppc ppc4xx metrobox sandburst
870 MIP405_config
: unconfig
871 @.
/mkconfig
$(@
:_config
=) ppc ppc4xx mip405 mpl
873 MIP405T_config
: unconfig
874 @echo
"#define CONFIG_MIP405T" >include/config.h
875 @echo
"Enable subset config for MIP405T"
876 @.
/mkconfig
-a MIP405 ppc ppc4xx mip405 mpl
879 @.
/mkconfig
$(@
:_config
=) ppc ppc4xx ml2
881 ml300_config
: unconfig
882 @.
/mkconfig
$(@
:_config
=) ppc ppc4xx ml300 xilinx
884 ocotea_config
: unconfig
885 @.
/mkconfig
$(@
:_config
=) ppc ppc4xx ocotea amcc
888 ORSG_config
: unconfig
889 @.
/mkconfig
$(@
:_config
=) ppc ppc4xx ocrtc esd
891 p3p440_config
: unconfig
892 @.
/mkconfig
$(@
:_config
=) ppc ppc4xx p3p440 prodrive
894 PCI405_config
: unconfig
895 @.
/mkconfig
$(@
:_config
=) ppc ppc4xx pci405 esd
897 PIP405_config
: unconfig
898 @.
/mkconfig
$(@
:_config
=) ppc ppc4xx pip405 mpl
900 PLU405_config
: unconfig
901 @.
/mkconfig
$(@
:_config
=) ppc ppc4xx plu405 esd
903 PMC405_config
: unconfig
904 @.
/mkconfig
$(@
:_config
=) ppc ppc4xx pmc405 esd
906 PPChameleonEVB_config \
907 PPChameleonEVB_BA_25_config \
908 PPChameleonEVB_ME_25_config \
909 PPChameleonEVB_HI_25_config \
910 PPChameleonEVB_BA_33_config \
911 PPChameleonEVB_ME_33_config \
912 PPChameleonEVB_HI_33_config
: unconfig
914 @
[ -z
"$(findstring EVB_BA,$@)" ] || \
915 { echo
"#define CONFIG_PPCHAMELEON_MODULE_MODEL 0" >>include/config.h
; \
916 echo
"... BASIC model" ; \
918 @
[ -z
"$(findstring EVB_ME,$@)" ] || \
919 { echo
"#define CONFIG_PPCHAMELEON_MODULE_MODEL 1" >>include/config.h
; \
920 echo
"... MEDIUM model" ; \
922 @
[ -z
"$(findstring EVB_HI,$@)" ] || \
923 { echo
"#define CONFIG_PPCHAMELEON_MODULE_MODEL 2" >>include/config.h
; \
924 echo
"... HIGH-END model" ; \
926 @
[ -z
"$(findstring _25,$@)" ] || \
927 { echo
"#define CONFIG_PPCHAMELEON_CLK_25" >>include/config.h
; \
928 echo
"SysClk = 25MHz" ; \
930 @
[ -z
"$(findstring _33,$@)" ] || \
931 { echo
"#define CONFIG_PPCHAMELEON_CLK_33" >>include/config.h
; \
932 echo
"SysClk = 33MHz" ; \
934 @.
/mkconfig
-a
$(call xtract_4xx
,$@
) ppc ppc4xx PPChameleonEVB dave
936 sbc405_config
: unconfig
937 @.
/mkconfig
$(@
:_config
=) ppc ppc4xx sbc405
939 sycamore_config
: unconfig
940 @echo
"Configuring for sycamore board as subset of walnut..."
941 @.
/mkconfig
-a walnut ppc ppc4xx walnut amcc
943 VOH405_config
: unconfig
944 @.
/mkconfig
$(@
:_config
=) ppc ppc4xx voh405 esd
946 VOM405_config
: unconfig
947 @.
/mkconfig
$(@
:_config
=) ppc ppc4xx vom405 esd
949 CMS700_config
: unconfig
950 @.
/mkconfig
$(@
:_config
=) ppc ppc4xx cms700 esd
953 W7OLMG_config
: unconfig
954 @.
/mkconfig
$(@
:_config
=) ppc ppc4xx w7o
956 walnut_config
: unconfig
957 @.
/mkconfig
$(@
:_config
=) ppc ppc4xx walnut amcc
959 WUH405_config
: unconfig
960 @.
/mkconfig
$(@
:_config
=) ppc ppc4xx wuh405 esd
962 XPEDITE1K_config
: unconfig
963 @.
/mkconfig
$(@
:_config
=) ppc ppc4xx xpedite1k
965 yosemite_config
: unconfig
966 @.
/mkconfig
$(@
:_config
=) ppc ppc4xx yosemite amcc
968 yellowstone_config
: unconfig
969 @.
/mkconfig
$(@
:_config
=) ppc ppc4xx yellowstone amcc
971 #########################################################################
973 #########################################################################
976 Yukon8220_config
: unconfig
977 @.
/mkconfig
$(@
:_config
=) ppc mpc8220 alaska
979 sorcery_config
: unconfig
980 @.
/mkconfig
$(@
:_config
=) ppc mpc8220 sorcery
982 #########################################################################
984 #########################################################################
985 xtract_82xx
= $(subst _BIGFLASH
,,$(subst _ROMBOOT
,,$(subst _L2
,,$(subst _266MHz
,,$(subst _300MHz
,,$(subst _config
,,$1))))))
987 A3000_config
: unconfig
988 @.
/mkconfig
$(@
:_config
=) ppc mpc824x a3000
990 barco_config
: unconfig
991 @.
/mkconfig
$(@
:_config
=) ppc mpc824x barco
994 @.
/mkconfig
$(@
:_config
=) ppc mpc824x bmw
997 CPC45_ROMBOOT_config
: unconfig
998 @.
/mkconfig
$(call xtract_82xx
,$@
) ppc mpc824x cpc45
1000 if
[ "$(findstring _ROMBOOT_,$@)" ] ; then \
1001 echo
"CONFIG_BOOT_ROM = y" >> config.mk
; \
1002 echo
"... booting from 8-bit flash" ; \
1004 echo
"CONFIG_BOOT_ROM = n" >> config.mk
; \
1005 echo
"... booting from 64-bit flash" ; \
1007 echo
"export CONFIG_BOOT_ROM" >> config.mk
;
1009 CU824_config
: unconfig
1010 @.
/mkconfig
$(@
:_config
=) ppc mpc824x cu824
1012 debris_config
: unconfig
1013 @.
/mkconfig
$(@
:_config
=) ppc mpc824x debris etin
1015 eXalion_config
: unconfig
1016 @.
/mkconfig
$(@
:_config
=) ppc mpc824x eXalion
1018 HIDDEN_DRAGON_config
: unconfig
1019 @.
/mkconfig
$(@
:_config
=) ppc mpc824x hidden_dragon
1021 MOUSSE_config
: unconfig
1022 @.
/mkconfig
$(@
:_config
=) ppc mpc824x mousse
1024 MUSENKI_config
: unconfig
1025 @.
/mkconfig
$(@
:_config
=) ppc mpc824x musenki
1027 MVBLUE_config
: unconfig
1028 @.
/mkconfig
$(@
:_config
=) ppc mpc824x mvblue
1030 OXC_config
: unconfig
1031 @.
/mkconfig
$(@
:_config
=) ppc mpc824x oxc
1033 PN62_config
: unconfig
1034 @.
/mkconfig
$(@
:_config
=) ppc mpc824x pn62
1036 Sandpoint8240_config
: unconfig
1037 @.
/mkconfig
$(@
:_config
=) ppc mpc824x sandpoint
1039 Sandpoint8245_config
: unconfig
1040 @.
/mkconfig
$(@
:_config
=) ppc mpc824x sandpoint
1042 sbc8240_config
: unconfig
1043 @.
/mkconfig
$(@
:_config
=) ppc mpc824x sbc8240
1045 SL8245_config
: unconfig
1046 @.
/mkconfig
$(@
:_config
=) ppc mpc824x sl8245
1048 utx8245_config
: unconfig
1049 @.
/mkconfig
$(@
:_config
=) ppc mpc824x utx8245
1051 #########################################################################
1053 #########################################################################
1055 atc_config
: unconfig
1056 @.
/mkconfig
$(@
:_config
=) ppc mpc8260 atc
1058 cogent_mpc8260_config
: unconfig
1059 @.
/mkconfig
$(@
:_config
=) ppc mpc8260 cogent
1062 CPU86_ROMBOOT_config
: unconfig
1063 @.
/mkconfig
$(call xtract_82xx
,$@
) ppc mpc8260 cpu86
1065 if
[ "$(findstring _ROMBOOT_,$@)" ] ; then \
1066 echo
"CONFIG_BOOT_ROM = y" >> config.mk
; \
1067 echo
"... booting from 8-bit flash" ; \
1069 echo
"CONFIG_BOOT_ROM = n" >> config.mk
; \
1070 echo
"... booting from 64-bit flash" ; \
1072 echo
"export CONFIG_BOOT_ROM" >> config.mk
;
1075 CPU87_ROMBOOT_config
: unconfig
1076 @.
/mkconfig
$(call xtract_82xx
,$@
) ppc mpc8260 cpu87
1078 if
[ "$(findstring _ROMBOOT_,$@)" ] ; then \
1079 echo
"CONFIG_BOOT_ROM = y" >> config.mk
; \
1080 echo
"... booting from 8-bit flash" ; \
1082 echo
"CONFIG_BOOT_ROM = n" >> config.mk
; \
1083 echo
"... booting from 64-bit flash" ; \
1085 echo
"export CONFIG_BOOT_ROM" >> config.mk
;
1088 ep8248E_config
: unconfig
1089 @.
/mkconfig ep8248 ppc mpc8260 ep8248
1091 ep8260_config
: unconfig
1092 @.
/mkconfig
$(@
:_config
=) ppc mpc8260 ep8260
1094 gw8260_config
: unconfig
1095 @.
/mkconfig
$(@
:_config
=) ppc mpc8260 gw8260
1097 hymod_config
: unconfig
1098 @.
/mkconfig
$(@
:_config
=) ppc mpc8260 hymod
1100 IDS8247_config
: unconfig
1101 @.
/mkconfig
$(@
:_config
=) ppc mpc8260 ids8247
1103 IPHASE4539_config
: unconfig
1104 @.
/mkconfig
$(@
:_config
=) ppc mpc8260 iphase4539
1107 ISPAN_REVB_config
: unconfig
1108 @if
[ "$(findstring _REVB_,$@)" ] ; then \
1109 echo
"#define CFG_REV_B" > include/config.h
; \
1111 @.
/mkconfig
-a ISPAN ppc mpc8260 ispan
1114 MPC8260ADS_lowboot_config \
1115 MPC8260ADS_33MHz_config \
1116 MPC8260ADS_33MHz_lowboot_config \
1117 MPC8260ADS_40MHz_config \
1118 MPC8260ADS_40MHz_lowboot_config \
1120 MPC8272ADS_lowboot_config \
1122 PQ2FADS_lowboot_config \
1124 PQ2FADS-VR_lowboot_config \
1126 PQ2FADS-ZU_lowboot_config \
1127 PQ2FADS-ZU_66MHz_config \
1128 PQ2FADS-ZU_66MHz_lowboot_config \
1130 $(if
$(findstring PQ2FADS
,$@
), \
1131 @echo
"#define CONFIG_ADSTYPE CFG_PQ2FADS" > include/config.h
, \
1132 @echo
"#define CONFIG_ADSTYPE CFG_"$(subst MPC
,,$(word 1,$(subst _
, ,$@
))) > include/config.h
)
1133 $(if
$(findstring MHz
,$@
), \
1134 @echo
"#define CONFIG_8260_CLKIN" $(subst MHz
,,$(word 2,$(subst _
, ,$@
)))"000000" >> include/config.h
, \
1135 $(if
$(findstring VR
,$@
), \
1136 @echo
"#define CONFIG_8260_CLKIN 66000000" >> include/config.h
))
1137 @
[ -z
"$(findstring lowboot_,$@)" ] || \
1138 { echo
"TEXT_BASE = 0xFF800000" >board
/mpc8260ads
/config.tmp
; \
1139 echo
"... with lowboot configuration" ; \
1141 @.
/mkconfig
-a MPC8260ADS ppc mpc8260 mpc8260ads
1143 MPC8266ADS_config
: unconfig
1144 @.
/mkconfig
$(@
:_config
=) ppc mpc8260 mpc8266ads
1146 # PM825/PM826 default configuration: small (= 8 MB) Flash / boot from 64-bit flash
1148 PM825_ROMBOOT_config \
1149 PM825_BIGFLASH_config \
1150 PM825_ROMBOOT_BIGFLASH_config \
1152 PM826_ROMBOOT_config \
1153 PM826_BIGFLASH_config \
1154 PM826_ROMBOOT_BIGFLASH_config
: unconfig
1155 @if
[ "$(findstring PM825_,$@)" ] ; then \
1156 echo
"#define CONFIG_PCI" >include/config.h
; \
1158 >include/config.h
; \
1160 @if
[ "$(findstring _ROMBOOT_,$@)" ] ; then \
1161 echo
"... booting from 8-bit flash" ; \
1162 echo
"#define CONFIG_BOOT_ROM" >>include/config.h
; \
1163 echo
"TEXT_BASE = 0xFF800000" >board
/pm826
/config.tmp
; \
1164 if
[ "$(findstring _BIGFLASH_,$@)" ] ; then \
1165 echo
"... with 32 MB Flash" ; \
1166 echo
"#define CONFIG_FLASH_32MB" >>include/config.h
; \
1169 echo
"... booting from 64-bit flash" ; \
1170 if
[ "$(findstring _BIGFLASH_,$@)" ] ; then \
1171 echo
"... with 32 MB Flash" ; \
1172 echo
"#define CONFIG_FLASH_32MB" >>include/config.h
; \
1173 echo
"TEXT_BASE = 0x40000000" >board
/pm826
/config.tmp
; \
1175 echo
"TEXT_BASE = 0xFF000000" >board
/pm826
/config.tmp
; \
1178 @.
/mkconfig
-a PM826 ppc mpc8260 pm826
1182 PM828_ROMBOOT_config \
1183 PM828_ROMBOOT_PCI_config
: unconfig
1184 @if
[ -z
"$(findstring _PCI_,$@)" ] ; then \
1185 echo
"#define CONFIG_PCI" >>include/config.h
; \
1186 echo
"... with PCI enabled" ; \
1188 >include/config.h
; \
1190 @if
[ "$(findstring _ROMBOOT_,$@)" ] ; then \
1191 echo
"... booting from 8-bit flash" ; \
1192 echo
"#define CONFIG_BOOT_ROM" >>include/config.h
; \
1193 echo
"TEXT_BASE = 0xFF800000" >board
/pm826
/config.tmp
; \
1195 @.
/mkconfig
-a PM828 ppc mpc8260 pm828
1197 ppmc8260_config
: unconfig
1198 @.
/mkconfig
$(@
:_config
=) ppc mpc8260 ppmc8260
1200 Rattler8248_config \
1201 Rattler_config
: unconfig
1202 $(if
$(findstring 8248,$@
), \
1203 @echo
"#define CONFIG_MPC8248" > include/config.h
)
1204 @.
/mkconfig
-a Rattler ppc mpc8260 rattler
1206 RPXsuper_config
: unconfig
1207 @.
/mkconfig
$(@
:_config
=) ppc mpc8260 rpxsuper
1209 rsdproto_config
: unconfig
1210 @.
/mkconfig
$(@
:_config
=) ppc mpc8260 rsdproto
1212 sacsng_config
: unconfig
1213 @.
/mkconfig
$(@
:_config
=) ppc mpc8260 sacsng
1215 sbc8260_config
: unconfig
1216 @.
/mkconfig
$(@
:_config
=) ppc mpc8260 sbc8260
1218 SCM_config
: unconfig
1219 @.
/mkconfig
$(@
:_config
=) ppc mpc8260 SCM siemens
1230 TQM8265_AA_config
: unconfig
1232 TQM8255_AA_config
) CTYPE
=MPC8255
; CFREQ
=300; CACHE
=no
; BMODE
=8260;; \
1233 TQM8260_AA_config
) CTYPE
=MPC8260
; CFREQ
=200; CACHE
=no
; BMODE
=8260;; \
1234 TQM8260_AB_config
) CTYPE
=MPC8260
; CFREQ
=200; CACHE
=yes
; BMODE
=60x
;; \
1235 TQM8260_AC_config
) CTYPE
=MPC8260
; CFREQ
=200; CACHE
=yes
; BMODE
=60x
;; \
1236 TQM8260_AD_config
) CTYPE
=MPC8260
; CFREQ
=300; CACHE
=no
; BMODE
=60x
;; \
1237 TQM8260_AE_config
) CTYPE
=MPC8260
; CFREQ
=266; CACHE
=no
; BMODE
=8260;; \
1238 TQM8260_AF_config
) CTYPE
=MPC8260
; CFREQ
=300; CACHE
=no
; BMODE
=60x
;; \
1239 TQM8260_AG_config
) CTYPE
=MPC8260
; CFREQ
=300; CACHE
=no
; BMODE
=8260;; \
1240 TQM8260_AH_config
) CTYPE
=MPC8260
; CFREQ
=300; CACHE
=yes
; BMODE
=60x
;; \
1241 TQM8265_AA_config
) CTYPE
=MPC8265
; CFREQ
=300; CACHE
=no
; BMODE
=60x
;; \
1243 >include/config.h
; \
1244 if
[ "$${CTYPE}" != "MPC8260" ] ; then \
1245 echo
"#define CONFIG_$${CTYPE}" >>include/config.h
; \
1247 echo
"#define CONFIG_$${CFREQ}MHz" >>include/config.h
; \
1248 echo
"... with $${CFREQ}MHz system clock" ; \
1249 if
[ "$${CACHE}" == "yes" ] ; then \
1250 echo
"#define CONFIG_L2_CACHE" >>include/config.h
; \
1251 echo
"... with L2 Cache support" ; \
1253 echo
"#undef CONFIG_L2_CACHE" >>include/config.h
; \
1254 echo
"... without L2 Cache support" ; \
1256 if
[ "$${BMODE}" == "60x" ] ; then \
1257 echo
"#define CONFIG_BUSMODE_60x" >>include/config.h
; \
1258 echo
"... with 60x Bus Mode" ; \
1260 echo
"#undef CONFIG_BUSMODE_60x" >>include/config.h
; \
1261 echo
"... without 60x Bus Mode" ; \
1263 @.
/mkconfig
-a TQM8260 ppc mpc8260 tqm8260
1265 VoVPN-GW_66MHz_config \
1266 VoVPN-GW_100MHz_config
: unconfig
1267 @echo
"#define CONFIG_CLKIN_$(word 2,$(subst _, ,$@))" > include/config.h
1268 @.
/mkconfig
-a VoVPN-GW ppc mpc8260 vovpn-gw funkwerk
1270 ZPC1900_config
: unconfig
1271 @.
/mkconfig
$(@
:_config
=) ppc mpc8260 zpc1900
1273 #========================================================================
1275 #========================================================================
1276 #########################################################################
1278 #########################################################################
1280 cobra5272_config
: unconfig
1281 @.
/mkconfig
$(@
:_config
=) m68k mcf52x2 cobra5272
1283 M5272C3_config
: unconfig
1284 @.
/mkconfig
$(@
:_config
=) m68k mcf52x2 m5272c3
1286 M5282EVB_config
: unconfig
1287 @.
/mkconfig
$(@
:_config
=) m68k mcf52x2 m5282evb
1289 TASREG_config
: unconfig
1290 @.
/mkconfig
$(@
:_config
=) m68k mcf52x2 tasreg esd
1292 #########################################################################
1294 #########################################################################
1296 MPC8349ADS_config
: unconfig
1297 @.
/mkconfig
$(@
:_config
=) ppc mpc83xx mpc8349ads
1299 TQM834x_config
: unconfig
1300 @.
/mkconfig
$(@
:_config
=) ppc mpc83xx tqm834x
1302 #########################################################################
1304 #########################################################################
1306 MPC8540ADS_config
: unconfig
1307 @.
/mkconfig
$(@
:_config
=) ppc mpc85xx mpc8540ads
1309 MPC8540EVAL_config \
1310 MPC8540EVAL_33_config \
1311 MPC8540EVAL_66_config \
1312 MPC8540EVAL_33_slave_config \
1313 MPC8540EVAL_66_slave_config
: unconfig
1314 @echo
"" >include/config.h
; \
1315 if
[ "$(findstring _33_,$@)" ] ; then \
1316 echo
-n
"... 33 MHz PCI" ; \
1318 echo
"#define CONFIG_SYSCLK_66M" >>include/config.h
; \
1319 echo
-n
"... 66 MHz PCI" ; \
1321 if
[ "$(findstring _slave_,$@)" ] ; then \
1322 echo
"#define CONFIG_PCI_SLAVE" >>include/config.h
; \
1327 @.
/mkconfig
-a MPC8540EVAL ppc mpc85xx mpc8540eval
1329 MPC8560ADS_config
: unconfig
1330 @.
/mkconfig
$(@
:_config
=) ppc mpc85xx mpc8560ads
1332 MPC8541CDS_config
: unconfig
1333 @.
/mkconfig
$(@
:_config
=) ppc mpc85xx mpc8541cds cds
1335 MPC8548CDS_config
: unconfig
1336 @.
/mkconfig
$(@
:_config
=) ppc mpc85xx mpc8548cds cds
1338 MPC8555CDS_config
: unconfig
1339 @.
/mkconfig
$(@
:_config
=) ppc mpc85xx mpc8555cds cds
1341 PM854_config
: unconfig
1342 @.
/mkconfig
$(@
:_config
=) ppc mpc85xx pm854
1344 PM856_config
: unconfig
1345 @.
/mkconfig
$(@
:_config
=) ppc mpc85xx pm856
1349 sbc8540_66_config
: unconfig
1350 @if
[ "$(findstring _66_,$@)" ] ; then \
1351 echo
"#define CONFIG_PCI_66" >>include/config.h
; \
1352 echo
"... 66 MHz PCI" ; \
1354 >include/config.h
; \
1355 echo
"... 33 MHz PCI" ; \
1357 @.
/mkconfig
-a SBC8540 ppc mpc85xx sbc8560
1361 sbc8560_66_config
: unconfig
1362 @if
[ "$(findstring _66_,$@)" ] ; then \
1363 echo
"#define CONFIG_PCI_66" >>include/config.h
; \
1364 echo
"... 66 MHz PCI" ; \
1366 >include/config.h
; \
1367 echo
"... 33 MHz PCI" ; \
1369 @.
/mkconfig
-a sbc8560 ppc mpc85xx sbc8560
1371 stxgp3_config
: unconfig
1372 @.
/mkconfig
$(@
:_config
=) ppc mpc85xx stxgp3
1377 TQM8560_config
: unconfig
1378 @CTYPE
=$(subst TQM
,,$(@
:_config
=)); \
1379 >include/config.h
; \
1380 echo
"... TQM"$${CTYPE}; \
1381 echo
"#define CONFIG_MPC$${CTYPE}">>include/config.h
; \
1382 echo
"#define CONFIG_TQM$${CTYPE}">>include/config.h
; \
1383 echo
"#define CONFIG_HOSTNAME tqm$${CTYPE}">>include/config.h
; \
1384 echo
"#define CONFIG_BOARDNAME \"TQM$${CTYPE}\"">>include/config.h
; \
1385 echo
"#define CFG_BOOTFILE \"bootfile=/tftpboot/tqm$${CTYPE}/uImage\0\"">>include/config.h
1386 @.
/mkconfig
-a TQM85xx ppc mpc85xx tqm85xx
1388 #########################################################################
1390 #########################################################################
1392 AmigaOneG3SE_config
: unconfig
1393 @.
/mkconfig
$(@
:_config
=) ppc
74xx_7xx AmigaOneG3SE MAI
1395 BAB7xx_config
: unconfig
1396 @.
/mkconfig
$(@
:_config
=) ppc
74xx_7xx bab7xx eltec
1398 MV64XXX_PPC_LE_config \
1399 MV64XXX_PPC_config
: unconfig
1400 @.
/mkconfig MV64XXX_PPC ppc
74xx_7xx db64xxx_ppc Marvell
1401 @
[ -z
"$(findstring LE,$@)" ] || \
1402 { echo
"CONFIG_MARVELL_LE = y" >>include/config.mk
;\
1403 echo
"export CONFIG_MARVELL_LE" >> include/config.mk
;\
1404 echo
"** Little Endian ** config " ; \
1406 @
[ -z
"$(findstring MV64XXX_PPC,$@)" ] || \
1407 { echo
"CROSS_COMPILE = powerpc-linux-" >> include/config.mk
;\
1408 echo
"export CROSS_COMPILE" >> include/config.mk
; \
1409 echo
"using powerpc-linux- cross compiler" ;\
1412 #########################################################################
1413 ## Marvell KW based Socs
1414 #########################################################################
1416 ifeq ($(CROSS
),armlinux
)
1418 CSL
= arm-none-linux-gnueabi-
1419 CSLBE
= armeb-none-linux-gnueabi-
1423 db88f6281abp_config \
1424 db88f6282bp_533ddr3_config \
1425 db88f6282bp_666ddr3_config \
1426 db88f6280abp_config \
1428 db88f6192abp_config \
1429 db88f6180abp_config \
1431 db88f6190abp_config \
1432 rd88f6281apcac_config \
1433 rd88f6281Sheevaplug_config \
1434 db88f6281customer_config \
1435 db88f6192customer_config \
1436 db88f6180customer_config \
1438 @
$(MAKE
) -s mv_kw RULE
=$@
1441 @.
/mkconfig
$(@
:_config
=) arm arm926ejs config_kw mv_feroceon
;
1442 @cp board
/mv_feroceon
/config_kw
/config_def.mk board
/mv_feroceon
/config_kw
/config.mk
;
1443 @echo
"MV_OUTPUT = $(RULE:_config=)" >> include/config.mk
; \
1444 #=======================
1445 # Soc Compilation flag
1446 #=======================
1447 @
[ -z
"$(findstring 6281,$(RULE))" ] || \
1448 { echo
"MV_FLAGS += -DMV88F6281" >> include/config.mk
; \
1449 echo
"** MV_88F6281 image ** config " ; \
1451 @
[ -z
"$(findstring 6280,$(RULE))" ] || \
1452 { echo
"MV_FLAGS += -DMV88F6280" >> include/config.mk
; \
1453 echo
"** MV_88F6280 image ** config " ; \
1455 @
[ -z
"$(findstring 6192,$(RULE))" ] || \
1456 { echo
"MV_FLAGS += -DMV88F6192" >> include/config.mk
; \
1457 echo
"** MV_88F6192 image ** config " ; \
1459 @
[ -z
"$(findstring 6190,$(RULE))" ] || \
1460 { echo
"MV_FLAGS += -DMV88F6190" >> include/config.mk
; \
1461 echo
"** MV_88F6190 image ** config " ; \
1463 @
[ -z
"$(findstring 6180,$(RULE))" ] || \
1464 { echo
"MV_FLAGS += -DMV88F6180" >> include/config.mk
; \
1465 echo
"** MV_88F6180 image ** config " ; \
1467 @
[ -z
"$(findstring 6282,$(RULE))" ] || \
1468 { echo
"MV_FLAGS += -DMV88F6282" >> include/config.mk
; \
1469 echo
"** MV_88F6282 image ** config " ; \
1471 #=======================
1472 # Board Compilation flags
1473 #=======================
1474 @
[ -z
"$(findstring db88f6281abp_config,$(RULE))" ] || \
1475 { echo
"MV_FLAGS += -DDB_88F6281A" >> include/config.mk
; \
1476 echo
"MV_IMAGE_FLAGS = -DMV_SEC_256K" >> include/config.mk
; \
1477 echo
"MV_IMAGE_FLAGS += -DMV_BOOTSIZE_16M" >> include/config.mk
; \
1478 echo
"MV_IMAGE_FLAGS += -DMV_LARGE_PAGE" >> include/config.mk
; \
1479 echo
"MV_FLAGS += -DMV_BOOTROM" >> include/config.mk
; \
1480 echo
"MV_FLAGS += -DMV_MMC" >> include/config.mk
; \
1481 echo
"MV_DDR_FREQ = 400db" >> include/config.mk
; \
1482 cp board
/mv_feroceon
/config_kw
/u-boot-sec256k.lds board
/mv_feroceon
/config_kw
/u-boot.lds
; \
1483 echo
"** DB 88F6281A BP ** config " ; \
1485 @
[ -z
"$(findstring db88f6280abp_config,$(RULE))" ] || \
1486 { echo
"MV_FLAGS += -DDB_88F6280A" >> include/config.mk
; \
1487 echo
"MV_IMAGE_FLAGS = -DMV_SEC_256K" >> include/config.mk
; \
1488 echo
"MV_IMAGE_FLAGS += -DMV_BOOTSIZE_16M" >> include/config.mk
; \
1489 echo
"MV_IMAGE_FLAGS += -DMV_LARGE_PAGE" >> include/config.mk
; \
1490 echo
"MV_FLAGS += -DMV_BOOTROM" >> include/config.mk
; \
1491 echo
"MV_FLAGS += -DMV_MMC" >> include/config.mk
; \
1492 echo
"MV_DDR_FREQ = 200db6280" >> include/config.mk
; \
1493 cp board
/mv_feroceon
/config_kw
/u-boot-sec256k.lds board
/mv_feroceon
/config_kw
/u-boot.lds
; \
1494 echo
"** DB 88F6280A BP ** config " ; \
1496 @
[ -z
"$(findstring rd88f6281a_config,$(RULE))" ] || \
1497 { echo
"MV_FLAGS += -DRD_88F6281A" >> include/config.mk
; \
1498 echo
"MV_IMAGE_FLAGS = -DMV_SEC_256K" >> include/config.mk
; \
1499 echo
"MV_IMAGE_FLAGS += -DMV_BOOTSIZE_16M" >> include/config.mk
; \
1500 echo
"MV_IMAGE_FLAGS += -DMV_LARGE_PAGE" >> include/config.mk
; \
1501 echo
"MV_FLAGS += -DMV_BOOTROM" >> include/config.mk
; \
1502 echo
"MV_DDR_FREQ = 400rd" >> include/config.mk
; \
1503 cp board
/mv_feroceon
/config_kw
/u-boot-sec256k.lds board
/mv_feroceon
/config_kw
/u-boot.lds
; \
1504 echo
"** RD 88F6281A ** config " ; \
1506 @
[ -z
"$(findstring db88f6192abp_config,$(RULE))" ] || \
1507 { echo
"MV_FLAGS += -DDB_88F6192A" >> include/config.mk
; \
1508 echo
"MV_IMAGE_FLAGS = -DMV_SEC_256K" >> include/config.mk
; \
1509 echo
"MV_IMAGE_FLAGS += -DMV_BOOTSIZE_16M" >> include/config.mk
; \
1510 echo
"MV_IMAGE_FLAGS += -DMV_LARGE_PAGE" >> include/config.mk
; \
1511 echo
"MV_FLAGS += -DMV_BOOTROM" >> include/config.mk
; \
1512 echo
"MV_FLAGS += -DMV_MMC" >> include/config.mk
; \
1513 echo
"MV_DDR_FREQ = 200db619x" >> include/config.mk
; \
1514 cp board
/mv_feroceon
/config_kw
/u-boot-sec256k.lds board
/mv_feroceon
/config_kw
/u-boot.lds
; \
1515 echo
"** DB 88F6192A BP ** config " ; \
1517 @
[ -z
"$(findstring rd88f6192a_config,$(RULE))" ] || \
1518 { echo
"MV_FLAGS += -DRD_88F6192A" >> include/config.mk
; \
1519 echo
"MV_IMAGE_FLAGS = -DMV_SEC_256K" >> include/config.mk
; \
1520 echo
"MV_IMAGE_FLAGS += -DMV_BOOTSIZE_16M" >> include/config.mk
; \
1521 echo
"MV_IMAGE_FLAGS += -DMV_LARGE_PAGE" >> include/config.mk
; \
1522 echo
"MV_FLAGS += -DMV_BOOTROM" >> include/config.mk
; \
1523 echo
"MV_DDR_FREQ = 200rd" >> include/config.mk
; \
1524 cp board
/mv_feroceon
/config_kw
/u-boot-sec256k.lds board
/mv_feroceon
/config_kw
/u-boot.lds
; \
1525 echo
"** RD 88F6192A ** config " ; \
1527 @
[ -z
"$(findstring db88f6180abp_config,$(RULE))" ] || \
1528 { echo
"MV_FLAGS += -DDB_88F6180A" >> include/config.mk
; \
1529 echo
"MV_IMAGE_FLAGS = -DMV_SEC_256K" >> include/config.mk
; \
1530 echo
"MV_IMAGE_FLAGS += -DMV_BOOTSIZE_16M" >> include/config.mk
; \
1531 echo
"MV_IMAGE_FLAGS += -DMV_LARGE_PAGE" >> include/config.mk
; \
1532 echo
"MV_FLAGS += -DMV_BOOTROM" >> include/config.mk
; \
1533 echo
"MV_FLAGS += -DMV_MMC" >> include/config.mk
; \
1534 echo
"MV_DDR_FREQ = 200db" >> include/config.mk
; \
1535 cp board
/mv_feroceon
/config_kw
/u-boot-sec256k.lds board
/mv_feroceon
/config_kw
/u-boot.lds
; \
1536 echo
"** DB 88F6180A BP ** config " ; \
1538 @
[ -z
"$(findstring db88f6190abp_config,$(RULE))" ] || \
1539 { echo
"MV_FLAGS += -DDB_88F6190A" >> include/config.mk
; \
1540 echo
"MV_IMAGE_FLAGS = -DMV_SEC_256K" >> include/config.mk
; \
1541 echo
"MV_IMAGE_FLAGS += -DMV_BOOTSIZE_16M" >> include/config.mk
; \
1542 echo
"MV_IMAGE_FLAGS += -DMV_LARGE_PAGE" >> include/config.mk
; \
1543 echo
"MV_FLAGS += -DMV_BOOTROM" >> include/config.mk
; \
1544 echo
"MV_FLAGS += -DMV_MMC" >> include/config.mk
; \
1545 echo
"MV_DDR_FREQ = 200db" >> include/config.mk
; \
1546 cp board
/mv_feroceon
/config_kw
/u-boot-sec256k.lds board
/mv_feroceon
/config_kw
/u-boot.lds
; \
1547 echo
"** DB 88F6190A BP ** config " ; \
1549 @
[ -z
"$(findstring rd88f6190a_config,$(RULE))" ] || \
1550 { echo
"MV_FLAGS += -DRD_88F6190A" >> include/config.mk
; \
1551 echo
"MV_IMAGE_FLAGS = -DMV_SEC_256K" >> include/config.mk
; \
1552 echo
"MV_IMAGE_FLAGS += -DMV_BOOTSIZE_16M" >> include/config.mk
; \
1553 echo
"MV_IMAGE_FLAGS += -DMV_LARGE_PAGE" >> include/config.mk
; \
1554 echo
"MV_FLAGS += -DMV_BOOTROM" >> include/config.mk
; \
1555 echo
"MV_DDR_FREQ = 200rd" >> include/config.mk
; \
1556 cp board
/mv_feroceon
/config_kw
/u-boot-sec256k.lds board
/mv_feroceon
/config_kw
/u-boot.lds
; \
1557 echo
"** RD 88F6190A ** config " ; \
1559 @
[ -z
"$(findstring rd88f6281apcac_config,$(RULE))" ] || \
1560 { echo
"MV_FLAGS += -DRD_88F6281A_PCAC" >> include/config.mk
; \
1561 echo
"MV_IMAGE_FLAGS = -DMV_SEC_256K" >> include/config.mk
; \
1562 echo
"MV_IMAGE_FLAGS += -DMV_BOOTSIZE_16M" >> include/config.mk
; \
1563 echo
"MV_IMAGE_FLAGS += -DMV_LARGE_PAGE" >> include/config.mk
; \
1564 echo
"MV_FLAGS += -DMV_BOOTROM" >> include/config.mk
; \
1565 echo
"MV_DDR_FREQ = 200pcac" >> include/config.mk
; \
1566 cp board
/mv_feroceon
/config_kw
/u-boot-sec256k.lds board
/mv_feroceon
/config_kw
/u-boot.lds
; \
1567 echo
"** RD 88F6281A PCAC ** config " ; \
1569 @
[ -z
"$(findstring rd88f6281Sheevaplug_config,$(RULE))" ] || \
1570 { echo
"MV_FLAGS += -DRD_88F6281A_SHEEVA_PLUG" >> include/config.mk
; \
1571 echo
"MV_IMAGE_FLAGS = -DMV_SEC_256K" >> include/config.mk
; \
1572 echo
"MV_IMAGE_FLAGS += -DMV_BOOTSIZE_16M" >> include/config.mk
; \
1573 echo
"MV_IMAGE_FLAGS += -DMV_LARGE_PAGE" >> include/config.mk
; \
1574 echo
"MV_FLAGS += -DMV_BOOTROM" >> include/config.mk
; \
1575 echo
"MV_DDR_FREQ = 400db" >> include/config.mk
; \
1576 cp board
/mv_feroceon
/config_kw
/u-boot-sec256k.lds board
/mv_feroceon
/config_kw
/u-boot.lds
; \
1577 echo
"** SHEEVA PLUG ** config " ; \
1579 @
[ -z
"$(findstring db88f6282bp_533ddr3_config,$(RULE))" ] || \
1580 { echo
"MV_FLAGS += -DDB_88F6282A" >> include/config.mk
; \
1581 echo
"MV_IMAGE_FLAGS = -DMV_SEC_256K" >> include/config.mk
; \
1582 echo
"MV_IMAGE_FLAGS += -DMV_BOOTSIZE_16M" >> include/config.mk
; \
1583 echo
"MV_IMAGE_FLAGS += -DMV_LARGE_PAGE" >> include/config.mk
; \
1584 echo
"MV_FLAGS += -DMV_BOOTROM" >> include/config.mk
; \
1585 echo
"MV_FLAGS += -DMV_MMC" >> include/config.mk
; \
1586 echo
"MV_DDR_FREQ = 533ddr3db" >> include/config.mk
; \
1587 cp board
/mv_feroceon
/config_kw
/u-boot-sec256k.lds board
/mv_feroceon
/config_kw
/u-boot.lds
; \
1588 echo
"** DB 88F6282 BP ** config " ; \
1590 @
[ -z
"$(findstring db88f6282bp_666ddr3_config,$(RULE))" ] || \
1591 { echo
"MV_FLAGS += -DDB_88F6282A" >> include/config.mk
; \
1592 echo
"MV_IMAGE_FLAGS = -DMV_SEC_256K" >> include/config.mk
; \
1593 echo
"MV_IMAGE_FLAGS += -DMV_BOOTSIZE_16M" >> include/config.mk
; \
1594 echo
"MV_IMAGE_FLAGS += -DMV_LARGE_PAGE" >> include/config.mk
; \
1595 echo
"MV_FLAGS += -DMV_BOOTROM" >> include/config.mk
; \
1596 echo
"MV_FLAGS += -DMV_MMC" >> include/config.mk
; \
1597 echo
"MV_DDR_FREQ =666ddr3db" >> include/config.mk
; \
1598 cp board
/mv_feroceon
/config_kw
/u-boot-sec256k.lds board
/mv_feroceon
/config_kw
/u-boot.lds
; \
1599 echo
"** DB 88F6282 BP ** config " ; \
1601 @
[ -z
"$(findstring customer_config,$(RULE))" ] || \
1602 { echo
"MV_FLAGS += -DDB_CUSTOMER" >> include/config.mk
; \
1603 echo
"MV_IMAGE_FLAGS = -DMV_SEC_256K" >> include/config.mk
; \
1604 echo
"MV_IMAGE_FLAGS += -DMV_BOOTSIZE_16M" >> include/config.mk
; \
1605 echo
"MV_IMAGE_FLAGS += -DMV_LARGE_PAGE" >> include/config.mk
; \
1606 echo
"MV_FLAGS += -DMV_BOOTROM" >> include/config.mk
; \
1607 echo
"MV_DDR_FREQ = customer" >> include/config.mk
; \
1608 cp board
/mv_feroceon
/config_kw
/u-boot-sec256k.lds board
/mv_feroceon
/config_kw
/u-boot.lds
; \
1609 echo
"** DB CUSTOMER** config " ; \
1612 #==============================
1613 # Little Endian Cross Compiler
1614 #==============================
1617 @echo
"CROSS_COMPILE = arm-none-linux-gnueabi-" >> include/config.mk
;
1619 @echo
"CROSS_COMPILE = $(CSL)" >> include/config.mk
;
1622 #==============================
1623 # Big Endian Cross Compiler
1624 #==============================
1626 @echo
"MV_FLAGS += -mbig-endian -D__BE" >> include/config.mk
;
1627 @echo
"BIG_ENDIAN =y" >> include/config.mk
;
1628 @echo
"LDFLAGS += -EB" >> include/config.mk
;
1630 @echo
"CROSS_COMPILE = armeb-none-linux-gnueabi-" >> include/config.mk
;
1632 @echo
"CROSS_COMPILE = $(CSLBE)" >> include/config.mk
;
1634 @echo
"** Big Endian ** config ";
1641 @echo
"** DDR3 support image ** config " ;
1642 echo
"MV_DDR_FREQ = 533ddr3db" >> include/config.mk
;
1648 @echo
"MV_FLAGS += -DMV_USB -DCONFIG_CMD_USB" >> include/config.mk
;
1649 @echo
"MV_USB=y" >> include/config.mk
;
1650 @echo
"** With USB ** config " ;
1656 @echo
"** NAND support image ** config " ;
1657 @echo
"MV_FLAGS += -DMV_NAND" >> include/config.mk
;
1660 # Boot from NAND support
1663 @echo
"** Boot from NAND support image ** config " ;
1664 @echo
"MV_FLAGS += -DMV_NAND_BOOT" >> include/config.mk
;
1665 @echo
"MV_FLAGS += -DMV_NAND" >> include/config.mk
;
1666 @echo
"NAND_BOOT =y" >> include/config.mk
;
1667 @cat board
/mv_feroceon
/config_kw
/config_nand.mk
>> board
/mv_feroceon
/config_kw
/config.mk
;
1668 cp board
/mv_feroceon
/config_kw
/u-boot-sec128k.lds board
/mv_feroceon
/config_kw
/u-boot.lds
;
1674 @echo
"** SPI support image ** config " ;
1675 @echo
"MV_FLAGS += -DMV_SPI" >> include/config.mk
;
1678 @echo
"** Boot from SPI support image ** config " ;
1679 @echo
"MV_FLAGS += -DMV_SPI" >> include/config.mk
;
1680 @echo
"MV_FLAGS += -DMV_SPI_BOOT" >> include/config.mk
;
1681 @echo
"SPI_BOOT =y" >> include/config.mk
;
1686 ifeq ($(SECSIZE
),64)
1687 @echo
"MV_IMAGE_FLAGS += -DMV_SEC_64K" >> include/config.mk
;
1689 @echo
"MV_IMAGE_FLAGS += -DMV_SEC_256K" >> include/config.mk
;
1695 @echo
"** QNAP System NAS Feature Support " ;
1696 @echo
"MV_FLAGS += -DQNAPNAS" >> include/config.mk
;
1702 @echo
"** MFLASH support image ** config " ;
1703 @echo
"MV_FLAGS += -DMV_FLASH" >> include/config.mk
;
1705 ifeq ($(MFLASHBOOT
),1)
1706 @echo
"** Boot from MFLASH support image ** config " ;
1707 @echo
"MV_FLAGS += -DMV_FLASH" >> include/config.mk
;
1708 @echo
"MV_FLAGS += -DMV_FLASH_BOOT" >> include/config.mk
;
1713 #ifeq ($(BOOTROM),1)
1714 # @echo "** BOOTROM support image ** config " ;
1715 # @echo "MV_FLAGS += -DMV_BOOTROM" >> include/config.mk;
1717 @cp board
/mv_feroceon
/config
/u-boot-sec64k-header-nand.lds board
/mv_feroceon
/config
/u-boot.lds
;
1719 @cp board
/mv_feroceon
/config
/u-boot-sec64k-header.lds board
/mv_feroceon
/config
/u-boot.lds
;
1723 #==========================
1724 # Diagnostic tests support
1725 #==========================
1727 @echo
"** diagnostic tests support image ** config " ;
1728 @echo
"MV_FLAGS += -DCFG_DIAG" >> include/config.mk
;
1729 @echo
"CFG_DIAG=1" >> include/config.mk
;
1731 #===================
1732 # Tiny Image support
1733 #===================
1735 @echo
"MV_FLAGS += -DMV_TINY_IMAGE" >> include/config.mk
;
1736 @echo
"MV_TINY_IMAGE=y" >> include/config.mk
;
1737 ifeq ($(TINY
),256K_32K
)
1738 @echo
"** TINY image BootSize=256K SEC=32K" ;
1740 @cp board
/mv_feroceon
/config_kw
/u-boot-sec32k-header-tiny.lds board
/mv_feroceon
/config_kw
/u-boot.lds
;
1742 @cp board
/mv_feroceon
/config_kw
/u-boot-sec32k-tiny.lds board
/mv_feroceon
/config_kw
/u-boot.lds
;
1744 @echo
"MV_IMAGE_FLAGS = -DMV_SEC_32K" >> include/config.mk
;
1745 @echo
"MV_IMAGE_FLAGS += -DMV_BOOTSIZE_256K" >> include/config.mk
;
1747 ifeq ($(TINY
),256K_64K
)
1748 @echo
"** TINY image BootSize=256K SEC=64K" ;
1750 @cp board
/mv_feroceon
/config_kw
/u-boot-sec64k-header-tiny.lds board
/mv_feroceon
/config_kw
/u-boot.lds
;
1752 @cp board
/mv_feroceon
/config_kw
/u-boot-sec64k-tiny.lds board
/mv_feroceon
/config_kw
/u-boot.lds
;
1754 @echo
"MV_IMAGE_FLAGS = -DMV_SEC_64K" >> include/config.mk
;
1755 @echo
"MV_IMAGE_FLAGS += -DMV_BOOTSIZE_256K" >> include/config.mk
;
1757 ifeq ($(TINY
),512K_64K
)
1758 @echo
"** TINY image BootSize=512K SEC=64K" ;
1760 @cp board
/mv_feroceon
/config_kw
/u-boot-sec64k-header-tiny.lds board
/mv_feroceon
/config_kw
/u-boot.lds
;
1762 @cp board
/mv_feroceon
/config_kw
/u-boot-sec64k-tiny.lds board
/mv_feroceon
/config_kw
/u-boot.lds
;
1764 @echo
"MV_IMAGE_FLAGS = -DMV_SEC_64K" >> include/config.mk
;
1765 @echo
"MV_IMAGE_FLAGS += -DMV_BOOTSIZE_512K" >> include/config.mk
;
1767 ifeq ($(TINY
),4M_128K
)
1768 @echo
"** TINY image BootSize=4M SEC=128K" ;
1770 @cp board
/mv_feroceon
/config_kw
/u-boot-sec128k-header-tiny.lds board
/mv_feroceon
/config_kw
/u-boot.lds
;
1772 @cp board
/mv_feroceon
/config_kw
/u-boot-sec128k-tiny.lds board
/mv_feroceon
/config_kw
/u-boot.lds
;
1774 @echo
"MV_IMAGE_FLAGS = -DMV_SEC_128K" >> include/config.mk
;
1775 @echo
"MV_IMAGE_FLAGS += -DMV_BOOTSIZE_4M" >> include/config.mk
;
1777 ifeq ($(TINY
),8M_128K
)
1778 @echo
"** TINY image BootSize=8M SEC=128K" ;
1780 @cp board
/mv_feroceon
/config_kw
/u-boot-sec128k-header-tiny.lds board
/mv_feroceon
/config_kw
/u-boot.lds
;
1782 @cp board
/mv_feroceon
/config_kw
/u-boot-sec128k-tiny.lds board
/mv_feroceon
/config_kw
/u-boot.lds
;
1784 @echo
"MV_IMAGE_FLAGS = -DMV_SEC_128K" >> include/config.mk
;
1785 @echo
"MV_IMAGE_FLAGS += -DMV_BOOTSIZE_8M" >> include/config.mk
;
1787 ifeq ($(TINY
),16M_64K
)
1788 @echo
"** TINY image BootSize=16M SEC=64K" ;
1790 @cp board
/mv_feroceon
/config_kw
/u-boot-sec64k-header-tiny.lds board
/mv_feroceon
/config_kw
/u-boot.lds
;
1792 @cp board
/mv_feroceon
/config_kw
/u-boot-sec64k-tiny.lds board
/mv_feroceon
/config_kw
/u-boot.lds
;
1794 @echo
"MV_IMAGE_FLAGS = -DMV_SEC_64K" >> include/config.mk
;
1795 @echo
"MV_IMAGE_FLAGS += -DMV_BOOTSIZE_16M" >> include/config.mk
;
1797 ifeq ($(TINY
),16M_128K
)
1798 @echo
"** TINY image BootSize=16M SEC=128K" ;
1800 @cp board
/mv_feroceon
/config_kw
/u-boot-sec128k-header-tiny.lds board
/mv_feroceon
/config_kw
/u-boot.lds
;
1802 @cp board
/mv_feroceon
/config_kw
/u-boot-sec128k-tiny.lds board
/mv_feroceon
/config_kw
/u-boot.lds
;
1804 @echo
"MV_IMAGE_FLAGS = -DMV_SEC_128K" >> include/config.mk
;
1805 @echo
"MV_IMAGE_FLAGS += -DMV_BOOTSIZE_16M" >> include/config.mk
;
1807 ifeq ($(TINY
),256K_4K
)
1808 @echo
"** TINY image BootSize=256K SEC=4K" ;
1810 @cp board
/mv_feroceon
/config_kw
/u-boot-sec4k-header-tiny.lds board
/mv_feroceon
/config_kw
/u-boot.lds
;
1812 @cp board
/mv_feroceon
/config_kw
/u-boot-sec4k-tiny.lds board
/mv_feroceon
/config_kw
/u-boot.lds
;
1814 @echo
"MV_IMAGE_FLAGS = -DMV_SEC_4K" >> include/config.mk
;
1815 @echo
"MV_IMAGE_FLAGS += -DMV_BOOTSIZE_256K" >> include/config.mk
;
1819 @echo
"** ERROR : Illegal TINY image configuration" ;
1821 @echo
"Legal values for TINY are :" ;
1823 @echo
"512K_64K, 16M_64K, 16M_128K, 256K_32K or 256K_4K" ;
1834 #=============================
1835 # Summary of compilation flags
1836 #=============================
1837 @echo
"CPPFLAGS += \044(MV_IMAGE_FLAGS) \044(MV_FLAGS)" >> include/config.mk
;
1838 #########################################################################
1839 ## END of Marvell KW based Socs
1840 #########################################################################
1842 #########################################################################
1843 ## Marvell Feroceon based Socs
1844 #########################################################################
1845 # Parameters: Target Architecture CPU Board [VENDOR] [SOC] #
1848 rd78XX0_PCAC_config \
1849 rd78XX0_H3C_config \
1850 rd78XX0_MP_H3C_config \
1851 rd78XX0_AMC_config \
1852 rd78200_MP_AMC_config \
1853 rd78XX0_MASA_config \
1854 rd78XX0_MP_MASA_config \
1855 rd78XX0_MP_MASA_2DIMM_config \
1856 rd78200_MP_MASA_config \
1857 rd78200_MP_MASA_2DIMM_config \
1862 @
$(MAKE
) -s mv_dd RULE
=$@
1864 @.
/mkconfig
$(@
:_config
=) arm arm926ejs config_dd mv_feroceon
;
1865 @cp
-f board
/mv_feroceon
/config_dd
/config_def.mk board
/mv_feroceon
/config_dd
/config.mk
;
1866 @cp
-f board
/mv_feroceon
/config_dd
/u-boot_def.lds board
/mv_feroceon
/config_dd
/u-boot.lds
;
1867 @echo
"MV_OUTPUT = $(RULE:_config=)" >> include/config.mk
; \
1868 #=======================
1869 # Soc Compilation flag
1870 #=======================
1871 @
[ -z
"$(findstring 78XX0_,$(RULE))" ] || \
1872 { echo
"MV_FLAGS += -DMV78XX0" >> include/config.mk
; \
1873 echo
"** MV_78XX0 image ** config " ; \
1875 @
[ -z
"$(findstring 76100_,$(RULE))" ] || \
1876 { echo
"MV_FLAGS += -DMV78XX0" >> include/config.mk
; \
1877 echo
"MV_FLAGS += -DMV76100" >> include/config.mk
; \
1878 echo
"** MV_76100 image ** config " ; \
1880 @
[ -z
"$(findstring 78200_MP,$(RULE))" ] || \
1881 { echo
"MV_FLAGS += -DMV78XX0" >> include/config.mk
; \
1882 echo
"MV_FLAGS += -DMV78200" >> include/config.mk
; \
1883 echo
"MV78200 =y" >> include/config.mk
; \
1884 echo
"** MV78200 image ** config " ; \
1886 @
[ -z
"$(findstring 88f632x,$(RULE))" ] || \
1887 { echo
"MV_FLAGS += -DMV632X" >> include/config.mk
; \
1888 echo
"MV_FLAGS += -DMV6323" >> include/config.mk
; \
1889 echo
"MV_FLAGS += -DMV78XX0" >> include/config.mk
; \
1890 echo
"MV_FLAGS += -DMV78200" >> include/config.mk
; \
1891 echo
"MV88F632X =y" >> include/config.mk
; \
1892 echo
"MV78200 =y" >> include/config.mk
; \
1893 echo
"** MV88F632X image ** config " ; \
1895 #=======================
1896 # Board Compilation flags
1897 #=======================
1898 @
[ -z
"$(findstring db78XX0_,$(RULE))" ] || \
1899 { echo
"MV_FLAGS += -DDB_MV78XX0" >> include/config.mk
; \
1900 echo
"MV_IMAGE_FLAGS = -DMV_SEC_256K" >> include/config.mk
; \
1901 echo
"MV_IMAGE_FLAGS += -DMV_BOOTSIZE_32M" >> include/config.mk
; \
1902 # echo "MV_IMAGE_FLAGS = -DMV_SEC_64K" >> include/config.mk; \
1903 # echo "MV_IMAGE_FLAGS += -DMV_BOOTSIZE_512K" >> include/config.mk; \
1904 cp
-f board
/mv_feroceon
/config_dd
/u-boot-sec256k.lds board
/mv_feroceon
/config_dd
/u-boot.lds
; \
1905 echo
"** DB 78XX0 BP ** config " ; \
1907 @
[ -z
"$(findstring db76100_,$(RULE))" ] || \
1908 { echo
"MV_FLAGS += -DDB_MV78XX0" >> include/config.mk
; \
1909 echo
"MV_IMAGE_FLAGS = -DMV_SEC_64K" >> include/config.mk
; \
1910 echo
"MV_IMAGE_FLAGS += -DMV_BOOTSIZE_512K" >> include/config.mk
; \
1911 echo
"** DB 78XX0 BP ** config " ; \
1913 @
[ -z
"$(findstring db78200_,$(RULE))" ] || \
1914 { echo
"MV_FLAGS += -DDB_MV78XX0" >> include/config.mk
; \
1915 echo
"MV_IMAGE_FLAGS = -DMV_SEC_128K" >> include/config.mk
; \
1916 echo
"MV_IMAGE_FLAGS += -DMV_BOOTSIZE_32M" >> include/config.mk
; \
1917 cp
-f board
/mv_feroceon
/config_dd
/u-boot-sec128k.lds board
/mv_feroceon
/config_dd
/u-boot.lds
; \
1918 echo
"** DB 78200 A BP ** config " ; \
1920 @
[ -z
"$(findstring _AMC_,$(RULE))" ] || \
1921 { echo
"MV_FLAGS += -DRD_MV78XX0_AMC" >> include/config.mk
; \
1922 echo
"MV_IMAGE_FLAGS = -DMV_SEC_64K" >> include/config.mk
; \
1923 echo
"MV_IMAGE_FLAGS += -DMV_BOOTSIZE_512K" >> include/config.mk
; \
1924 echo
"** RD 78XX0 AMC ** config " ; \
1926 @
[ -z
"$(findstring _H3C_,$(RULE))" ] || \
1927 { echo
"MV_FLAGS += -DRD_MV78XX0_H3C" >> include/config.mk
; \
1928 echo
"MV_IMAGE_FLAGS = -DMV_SEC_64K" >> include/config.mk
; \
1929 echo
"MV_IMAGE_FLAGS += -DMV_BOOTSIZE_2M" >> include/config.mk
; \
1930 echo
"** RD 78XX0 H3C ** config " ; \
1932 @
[ -z
"$(findstring _MASA_2DIMM_,$(RULE))" ] || \
1933 { echo
"MV_FLAGS += -DRD_MV78XX0_MASA" >> include/config.mk
; \
1934 echo
"MV_FLAGS += -DRD_MV78XX0_MASA_2DIMM" >> include/config.mk
; \
1935 echo
"MV_IMAGE_FLAGS = -DMV_SEC_64K" >> include/config.mk
; \
1936 echo
"MV_IMAGE_FLAGS += -DMV_BOOTSIZE_512K" >> include/config.mk
; \
1937 echo
"** RD 78XX0 MASA ** config " ; \
1939 @
[ -z
"$(findstring _MASA_,$(RULE))" ] || \
1940 { echo
"MV_FLAGS += -DRD_MV78XX0_MASA" >> include/config.mk
; \
1941 echo
"MV_IMAGE_FLAGS = -DMV_SEC_64K" >> include/config.mk
; \
1942 echo
"MV_IMAGE_FLAGS += -DMV_BOOTSIZE_512K" >> include/config.mk
; \
1943 echo
"** RD 78XX0 MASA ** config " ; \
1945 @
[ -z
"$(findstring _PCAC_,$(RULE))" ] || \
1946 { echo
"MV_FLAGS += -DRD_MV78XX0_PCAC" >> include/config.mk
; \
1947 echo
"MV_IMAGE_FLAGS = -DMV_SEC_64K" >> include/config.mk
; \
1948 echo
"MV_IMAGE_FLAGS += -DMV_BOOTSIZE_512K" >> include/config.mk
; \
1949 echo
"** RD 78XX0 PCAC ** config " ; \
1951 @
[ -z
"$(findstring db88f632x_,$(RULE))" ] || \
1952 { echo
"MV_FLAGS += -DDB_MV88F632X" >> include/config.mk
; \
1953 echo
"MV_IMAGE_FLAGS = -DMV_SEC_128K" >> include/config.mk
; \
1954 echo
"MV_IMAGE_FLAGS += -DMV_BOOTSIZE_32M" >> include/config.mk
; \
1955 echo
"** DB 88F632X BP ** config " ; \
1958 #==============================
1959 # Little Endian Cross Compiler
1960 #==============================
1963 @echo
"CROSS_COMPILE = arm-none-linux-gnueabi-" >> include/config.mk
;
1965 @echo
"CROSS_COMPILE = $(CSL)" >> include/config.mk
;
1967 @echo
"CONFIG_MARVELL_LE = y" >>include/config.mk
;
1968 @echo
"export CONFIG_MARVELL_LE" >> include/config.mk
;
1969 @echo
"** Little Endian ** config " ;
1970 @echo
"MV_FLAGS += -D__LE" >> include/config.mk
;
1972 #==============================
1973 # Big Endian Cross Compiler
1974 #==============================
1976 @echo
"MV_FLAGS += -mbig-endian -D__BE" >> include/config.mk
;
1977 @echo
"BIG_ENDIAN =y" >> include/config.mk
;
1978 @echo
"LDFLAGS += -EB" >> include/config.mk
;
1980 @echo
"CROSS_COMPILE = armeb-none-linux-gnueabi-" >> include/config.mk
;
1982 @echo
"CROSS_COMPILE = $(CSLBE)" >> include/config.mk
;
1984 @echo
"** Big Endian ** config ";
1988 # MV 78200 image option
1991 @echo
"** Dual Boot for Linux ** config " ;
1992 @echo
"MV_FLAGS += -DDUAL_OS_78200" >> include/config.mk
;
1996 ifeq ($(LNX_SHARED
),1)
1997 @echo
"** Dual Boot with Shared Memory for Linux ** config " ;
1998 @echo
"MV_FLAGS += -DDUAL_OS_SHARED_MEM_78200" >> include/config.mk
;
2005 @echo
"MV_FLAGS += -DMV_USB -DCONFIG_CMD_USB" >> include/config.mk
;
2006 @echo
"MV_USB=y" >> include/config.mk
;
2007 @echo
"** With USB ** config " ;
2010 # Boot from NAND support
2012 @echo
"MV_FLAGS += -DMV_NAND" >> include/config.mk
;
2014 @echo
"** Boot from NAND support image ** config " ;
2015 @echo
"MV_FLAGS += -DMV_NAND_BOOT" >> include/config.mk
;
2016 ifeq ($(LARGE_PAGE
),1)
2017 @echo
"** NAND Large page support** config " ;
2018 @echo
"MV_FLAGS += -DMV_LARGE_PAGE" >> include/config.mk
;
2020 @echo
"NAND_BOOT =y" >> include/config.mk
;
2021 @cat board
/mv_feroceon
/config_dd
/config_nand.mk
>> board
/mv_feroceon
/config_dd
/config.mk
;
2022 @cp board
/mv_feroceon
/config_dd
/u-boot-sec128k.lds board
/mv_feroceon
/config_dd
/u-boot.lds
;
2025 # Boot from SPI support
2028 @echo
"** Boot from SPI support image ** config " ;
2029 @echo
"MV_FLAGS += -DMV_SPI_BOOT" >> include/config.mk
;
2030 @echo
"MV_IMAGE_FLAGS = -DMV_SEC_64K" >> include/config.mk
;
2031 @echo
"MV_IMAGE_FLAGS += -DMV_BOOTSIZE_8M" >> include/config.mk
;
2034 #===================
2035 # Tiny Image support
2036 #===================
2038 @echo
"MV_FLAGS += -DMV_TINY_IMAGE" >> include/config.mk
;
2039 @echo
"MV_TINY_IMAGE=y" >> include/config.mk
;
2040 ifeq ($(TINY
),256K_4K
)
2041 @echo
"** TINY image BootSize=256K SEC=4K" ;
2042 @cp board
/mv_feroceon
/config_dd
/u-boot-sec4k-tiny.lds board
/mv_feroceon
/config_dd
/u-boot.lds
;
2043 @echo
"MV_IMAGE_FLAGS = -DMV_SEC_4K" >> include/config.mk
;
2044 @echo
"MV_IMAGE_FLAGS += -DMV_BOOTSIZE_256K" >> include/config.mk
;
2049 @echo
"** ERROR : Illegal TINY image configuration" ;
2051 @echo
"Legal values for TINY are :" ;
2053 @echo
"512K_64K or 256K_4K" ;
2057 #=============================
2058 # Summary of compilation flags
2059 #=============================
2060 @echo
-e
"CPPFLAGS += \044(MV_IMAGE_FLAGS) \044(MV_FLAGS)" >> include/config.mk
;
2063 #########################################################################
2064 ## Marvell Feroceon based Socs
2065 #########################################################################
2067 ifeq ($(CROSS
),armlinux
)
2069 CSL
= arm-none-linux-gnueabi-
2070 CSLBE
= armeb-none-linux-gnueabi-
2074 db88f5181L_VOIP2_config \
2075 rd88f5181L_VOIP2_FE_config \
2076 rd88f5181L_VOIP2_GE_config \
2077 rd88f5181L_FXO_GE_config \
2078 db88f5181_VOIP2_config \
2079 rd88f5181_GTW_FE_config \
2080 rd88f5181_GTW_GE_config \
2082 db88f5182_A_config \
2083 rd88f5182_NAS2_config \
2084 rd88f5182_NAS3_config \
2086 rd88f5082_NAS2_config \
2087 rd88f5082_NAS3_config \
2090 rd88w8660_AP82S_config\
2091 db88f5181_POS_NAS_config \
2092 db88f5181_VOIP1_config \
2093 db88f5181_PRPMC_config \
2094 db88f5181_PEX_PCI_config \
2095 db88f5181_MNG_config \
2098 db88f6082bp_config \
2099 db88f6082Lbp_config \
2100 db88f6082sa_config \
2101 rd88f6082nas_config \
2102 rd88f6082u_das_nas_config \
2103 rd88f6082das_plus_config \
2104 rd88f6082ge_sata_config \
2105 rd88f6082_dx243_24g_config \
2106 rd_88f5181L_Customer1_config \
2107 db88f5x8x_fpga_config \
2108 db88f6183Lbp_config \
2109 db88f6183_bp_config \
2110 db88f6183_bp_LargeSpi_config \
2111 rd88f6183_gp_config \
2112 rd88f6183_ap_config \
2113 db88f5181_old_config \
2115 @
$(MAKE
) -s mv_feroceon RULE
=$@
2117 mv_feroceon
: unconfig
2118 @.
/mkconfig
$(@
:_config
=) arm arm926ejs config mv_feroceon
;
2119 @cp board
/mv_feroceon
/config
/config_def.mk board
/mv_feroceon
/config
/config.mk
;
2120 @echo
"MV_OUTPUT = $(RULE:_config=)" >> include/config.mk
; \
2121 #=======================
2122 # Soc Compilation flag
2123 #=======================
2124 @
[ -z
"$(findstring 1181_,$(RULE))" ] || \
2125 { echo
"MV_FLAGS += -DMV_88F1181" >> include/config.mk
; \
2126 echo
"** MV_88F1181 image ** config " ; \
2128 @
[ -z
"$(findstring 1281_,$(RULE))" ] || \
2129 { echo
"MV_FLAGS += -DMV_88F1281" >> include/config.mk
; \
2130 echo
"MV_88F1281=y" >> include/config.mk
; \
2131 echo
"** MV_88F1281 image ** config " ; \
2133 @
[ -z
"$(findstring 5181_,$(RULE))" ] || \
2134 { echo
"MV_FLAGS += -DMV_88F5181" >> include/config.mk
; \
2135 echo
"** MV_88F5181 image ** config " ; \
2137 @
[ -z
"$(findstring 5182_,$(RULE))" ] || \
2138 { echo
"MV_FLAGS += -DMV_88F5182" >> include/config.mk
; \
2139 echo
"** MV_88F5182 image ** config " ; \
2141 @
[ -z
"$(findstring 5082_,$(RULE))" ] || \
2142 { echo
"MV_FLAGS += -DMV_88F5082" >> include/config.mk
; \
2143 echo
"** MV_88F5082 image ** config " ; \
2145 @
[ -z
"$(findstring 88w8660_,$(RULE))" ] || \
2146 { echo
"MV_FLAGS += -DMV_88W8660" >> include/config.mk
; \
2147 echo
"MV_88W8660=y" >> include/config.mk
; \
2148 echo
"** MV_88W8660 image ** config " ; \
2150 @
[ -z
"$(findstring 5181L_,$(RULE))" ] || \
2151 { echo
"MV_FLAGS += -DMV_88F5181L" >> include/config.mk
; \
2152 echo
"** MV_88F5181L image ** config " ; \
2154 @
[ -z
"$(findstring 5180n_,$(RULE))" ] || \
2155 { echo
"MV_FLAGS += -DMV_88F5180N" >> include/config.mk
; \
2156 echo
"** MV_88F5180N image ** config " ; \
2158 @
[ -z
"$(findstring 6082,$(RULE))" ] || \
2159 { echo
"MV_FLAGS += -DMV_88F6082" >> include/config.mk
; \
2160 echo
"MV_88F6082=y" >> include/config.mk
; \
2161 echo
"** MV_88F6082 image ** config " ; \
2163 @
[ -z
"$(findstring 6082L,$(RULE))" ] || \
2164 { echo
"MV_FLAGS += -DMV_88F6082L" >> include/config.mk
; \
2165 echo
"MV_88F6082L=y" >> include/config.mk
; \
2166 echo
"** MV_88F6082L image ** config " ; \
2168 @
[ -z
"$(findstring 5x8x,$(RULE))" ] || \
2169 { echo
"MV_FLAGS += -DMV_88F5181" >> include/config.mk
; \
2170 echo
"MV_88F5181=y" >> include/config.mk
; \
2171 echo
"** MV_88F5X8X image ** config " ; \
2173 @
[ -z
"$(findstring 6183_,$(RULE))" ] || \
2174 { echo
"MV_FLAGS += -DMV_88F6183" >> include/config.mk
; \
2175 echo
"MV_88F6183=y" >> include/config.mk
; \
2176 echo
"** MV_88F6183 image ** config " ; \
2178 @
[ -z
"$(findstring 6183L,$(RULE))" ] || \
2179 { echo
"MV_FLAGS += -DMV_88F6183L" >> include/config.mk
; \
2180 echo
"MV_88F6183L=y" >> include/config.mk
; \
2181 echo
"** MV_88F6183L image ** config " ; \
2183 #=======================
2184 # Board Compilation flags
2185 #=======================
2186 @
[ -z
"$(findstring db88f1181_config,$(RULE))" ] || \
2187 { echo
"MV_IMAGE_FLAGS = -DMV_SEC_64K" >> include/config.mk
; \
2188 echo
"MV_IMAGE_FLAGS += -DMV_BOOTSIZE_512K" >> include/config.mk
; \
2189 cp board
/mv_feroceon
/config
/u-boot-sec64k.lds board
/mv_feroceon
/config
/u-boot.lds
; \
2191 @
[ -z
"$(findstring db88f1281_config,$(RULE))" ] || \
2192 { echo
"MV_FLAGS += -DDB_88F1281" >> include/config.mk
; \
2193 echo
"MV_IMAGE_FLAGS = -DMV_SEC_64K" >> include/config.mk
; \
2194 echo
"MV_IMAGE_FLAGS += -DMV_BOOTSIZE_512K" >> include/config.mk
; \
2195 cp board
/mv_feroceon
/config
/u-boot-sec64k.lds board
/mv_feroceon
/config
/u-boot.lds
; \
2197 @
[ -z
"$(findstring db88f5181_config,$(RULE))" ] || \
2198 { echo
"MV_FLAGS += -DDB_88F5181" >> include/config.mk
; \
2199 echo
"MV_IMAGE_FLAGS = -DMV_SEC_64K" >> include/config.mk
; \
2200 echo
"MV_IMAGE_FLAGS += -DMV_BOOTSIZE_512K" >> include/config.mk
; \
2201 cp board
/mv_feroceon
/config
/u-boot-sec64k.lds board
/mv_feroceon
/config
/u-boot.lds
; \
2202 echo
"** DB88F5181 BP-A/B ** config " ; \
2204 @
[ -z
"$(findstring db88f5181_old_config,$(RULE))" ] || \
2205 { echo
"MV_FLAGS += -DDB_88F5181_OLD" >> include/config.mk
; \
2206 echo
"MV_IMAGE_FLAGS = -DMV_SEC_64K" >> include/config.mk
; \
2207 echo
"MV_IMAGE_FLAGS += -DMV_BOOTSIZE_512K" >> include/config.mk
; \
2208 cp board
/mv_feroceon
/config
/u-boot-sec64k.lds board
/mv_feroceon
/config
/u-boot.lds
; \
2209 echo
"** DB88F5181 OLD BP ** config " ; \
2211 @
[ -z
"$(findstring db88f5x8x_fpga_config,$(RULE))" ] || \
2212 { echo
"MV_FLAGS += -DDB_FPGA" >> include/config.mk
; \
2213 echo
"MV_IMAGE_FLAGS = -DMV_SEC_64K" >> include/config.mk
; \
2214 echo
"MV_IMAGE_FLAGS += -DMV_BOOTSIZE_512K" >> include/config.mk
; \
2215 cp board
/mv_feroceon
/config
/u-boot-sec64k.lds board
/mv_feroceon
/config
/u-boot.lds
; \
2216 echo
"** DB88F5X8X FPGA ** config " ; \
2218 @
[ -z
"$(findstring db88f5182_config,$(RULE))" ] || \
2219 { echo
"CPPFLAGS += -DDB_88F5182" >> include/config.mk
; \
2220 echo
"MV_IMAGE_FLAGS = -DMV_SEC_64K" >> include/config.mk
; \
2221 echo
"MV_IMAGE_FLAGS += -DMV_BOOTSIZE_512K" >> include/config.mk
; \
2222 cp board
/mv_feroceon
/config
/u-boot-sec64k.lds board
/mv_feroceon
/config
/u-boot.lds
; \
2223 echo
"** DB_88F5182 ** config " ; \
2225 @
[ -z
"$(findstring db88f5182_A_config,$(RULE))" ] || \
2226 { echo
"CPPFLAGS += -DDB_88F5182_A" >> include/config.mk
; \
2227 echo
"MV_IMAGE_FLAGS = -DMV_SEC_64K" >> include/config.mk
; \
2228 echo
"MV_IMAGE_FLAGS += -DMV_BOOTSIZE_512K" >> include/config.mk
; \
2229 cp board
/mv_feroceon
/config
/u-boot-sec64k.lds board
/mv_feroceon
/config
/u-boot.lds
; \
2230 echo
"** DB_88F5182 A ** config " ; \
2232 @
[ -z
"$(findstring rd88f5182_NAS2,$(RULE))" ] || \
2233 { echo
"CPPFLAGS += -DRD_88F5182" >> include/config.mk
; \
2234 echo
"MV_IMAGE_FLAGS = -DMV_SEC_64K" >> include/config.mk
; \
2235 echo
"MV_IMAGE_FLAGS += -DMV_BOOTSIZE_512K" >> include/config.mk
; \
2236 cp board
/mv_feroceon
/config
/u-boot-sec64k.lds board
/mv_feroceon
/config
/u-boot.lds
; \
2237 echo
"** RD_88F5182 ** config " ; \
2239 @
[ -z
"$(findstring rd88f5182_NAS3,$(RULE))" ] || \
2240 { echo
"MV_FLAGS += -DRD_88F5182_3" >> include/config.mk
; \
2241 echo
"MV_IMAGE_FLAGS = -DMV_SEC_128K" >> include/config.mk
; \
2242 echo
"MV_IMAGE_FLAGS += -DMV_BOOTSIZE_16M" >> include/config.mk
; \
2243 cp board
/mv_feroceon
/config
/u-boot-sec128k.lds board
/mv_feroceon
/config
/u-boot.lds
; \
2244 echo
"** RD_88F5182_3 ** config " ; \
2246 @
[ -z
"$(findstring db88f5082_config,$(RULE))" ] || \
2247 { echo
"CPPFLAGS += -DDB_88F5082" >> include/config.mk
; \
2248 echo
"MV_IMAGE_FLAGS = -DMV_SEC_64K" >> include/config.mk
; \
2249 echo
"MV_IMAGE_FLAGS += -DMV_BOOTSIZE_512K" >> include/config.mk
; \
2250 cp board
/mv_feroceon
/config
/u-boot-sec64k.lds board
/mv_feroceon
/config
/u-boot.lds
; \
2251 echo
"** DB_88F5082 ** config " ; \
2253 @
[ -z
"$(findstring rd88f5082_NAS2,$(RULE))" ] || \
2254 { echo
"CPPFLAGS += -DRD_88F5082" >> include/config.mk
; \
2255 echo
"MV_IMAGE_FLAGS = -DMV_SEC_4K" >> include/config.mk
; \
2256 echo
"MV_IMAGE_FLAGS += -DMV_BOOTSIZE_256K" >> include/config.mk
; \
2257 echo
"** RD_88F5082 ** config " ; \
2259 @
[ -z
"$(findstring rd88f5082_NAS3,$(RULE))" ] || \
2260 { echo
"MV_FLAGS += -DRD_88F5082_3" >> include/config.mk
; \
2261 echo
"MV_IMAGE_FLAGS = -DMV_SEC_128K" >> include/config.mk
; \
2262 echo
"MV_IMAGE_FLAGS += -DMV_BOOTSIZE_16M" >> include/config.mk
; \
2263 cp board
/mv_feroceon
/config
/u-boot-sec128k.lds board
/mv_feroceon
/config
/u-boot.lds
; \
2264 echo
"** RD_88F5082_3 ** config " ; \
2266 @
[ -z
"$(findstring Customer1,$(RULE))" ] || \
2267 { echo
"MV_FLAGS += -DMV_CUSTOMER1" >> include/config.mk
; \
2268 echo
"MV_FLAGS += -DDB_CUSTOMER" >> include/config.mk
; \
2269 echo
"MV_IMAGE_FLAGS = -DMV_SEC_128K" >> include/config.mk
; \
2270 echo
"MV_IMAGE_FLAGS += -DMV_BOOTSIZE_32M" >> include/config.mk
; \
2271 cp board
/mv_feroceon
/config
/u-boot-sec128k.lds board
/mv_feroceon
/config
/u-boot.lds
; \
2272 echo
"** Customer 1 image ** config " ; \
2274 @
[ -z
"$(findstring POS_NAS,$(RULE))" ] || \
2275 { echo
"MV_FLAGS += -DMV_POS_NAS" >> include/config.mk
; \
2276 echo
"MV_IMAGE_FLAGS = -DMV_SEC_64K" >> include/config.mk
; \
2277 echo
"MV_IMAGE_FLAGS += -DMV_BOOTSIZE_512K" >> include/config.mk
; \
2278 cp board
/mv_feroceon
/config
/u-boot-sec64k.lds board
/mv_feroceon
/config
/u-boot.lds
; \
2279 echo
"** POS_NAS image ** config " ; \
2281 @
[ -z
"$(findstring PRPMC,$(RULE))" ] || \
2282 { echo
"MV_FLAGS += -DDB_PRPMC" >> include/config.mk
; \
2283 echo
"MV_IMAGE_FLAGS = -DMV_SEC_64K" >> include/config.mk
; \
2284 echo
"MV_IMAGE_FLAGS += -DMV_BOOTSIZE_512K" >> include/config.mk
; \
2285 cp board
/mv_feroceon
/config
/u-boot-sec64k.lds board
/mv_feroceon
/config
/u-boot.lds
; \
2286 echo
"** PRPMC image ** config " ; \
2288 @
[ -z
"$(findstring MNG,$(RULE))" ] || \
2289 { echo
"MV_FLAGS += -DDB_MNG" >> include/config.mk
; \
2290 echo
"MV_IMAGE_FLAGS = -DMV_SEC_64K" >> include/config.mk
; \
2291 echo
"MV_IMAGE_FLAGS += -DMV_BOOTSIZE_512K" >> include/config.mk
; \
2292 cp board
/mv_feroceon
/config
/u-boot-sec64k.lds board
/mv_feroceon
/config
/u-boot.lds
; \
2293 echo
"** MNG image ** config " ; \
2295 @
[ -z
"$(findstring PEX_PCI,$(RULE))" ] || \
2296 { echo
"MV_FLAGS += -DDB_PEX_PCI" >> include/config.mk
; \
2297 echo
"MV_IMAGE_FLAGS = -DMV_SEC_64K" >> include/config.mk
; \
2298 echo
"MV_IMAGE_FLAGS += -DMV_BOOTSIZE_512K" >> include/config.mk
; \
2299 cp board
/mv_feroceon
/config
/u-boot-sec64k.lds board
/mv_feroceon
/config
/u-boot.lds
; \
2300 echo
"** PEX_PCI image ** config " ; \
2302 @
[ -z
"$(findstring db88f5181_VOIP1,$(RULE))" ] || \
2303 { echo
"MV_FLAGS += -DDB_VOIP" >> include/config.mk
; \
2304 echo
"MV_IMAGE_FLAGS = -DMV_SEC_64K" >> include/config.mk
; \
2305 echo
"MV_IMAGE_FLAGS += -DMV_BOOTSIZE_512K" >> include/config.mk
; \
2306 cp board
/mv_feroceon
/config
/u-boot-sec64k.lds board
/mv_feroceon
/config
/u-boot.lds
; \
2307 echo
"** VOIP1 image ** config " ; \
2309 @
[ -z
"$(findstring db88w8660_config,$(RULE))" ] || \
2310 { echo
"MV_FLAGS += -DDB_88W8660" >> include/config.mk
; \
2311 echo
"MV_IMAGE_FLAGS = -DMV_SEC_64K" >> include/config.mk
; \
2312 echo
"MV_IMAGE_FLAGS += -DMV_BOOTSIZE_512K" >> include/config.mk
; \
2313 cp board
/mv_feroceon
/config
/u-boot-sec64k.lds board
/mv_feroceon
/config
/u-boot.lds
; \
2315 @
[ -z
"$(findstring rd88w8660_config,$(RULE))" ] || \
2316 { echo
"MV_FLAGS += -DRD_88W8660" >> include/config.mk
; \
2317 echo
"MV_IMAGE_FLAGS = -DMV_SEC_128K" >> include/config.mk
; \
2318 echo
"MV_IMAGE_FLAGS += -DMV_BOOTSIZE_16M" >> include/config.mk
; \
2319 cp board
/mv_feroceon
/config
/u-boot-sec128k.lds board
/mv_feroceon
/config
/u-boot.lds
; \
2320 echo
"** RD_88W8660 image ** config " ; \
2322 @
[ -z
"$(findstring rd88w8660_AP82S_config,$(RULE))" ] || \
2323 { echo
"MV_FLAGS += -DRD_88W8660_AP82S" >> include/config.mk
; \
2324 echo
"MV_FLAGS += -DMV_DRAM_16M" >> include/config.mk
; \
2325 echo
"MV_IMAGE_FLAGS = -DMV_SEC_128K" >> include/config.mk
; \
2326 echo
"MV_IMAGE_FLAGS += -DMV_BOOTSIZE_8M" >> include/config.mk
; \
2327 cp board
/mv_feroceon
/config
/u-boot-sec128k.lds board
/mv_feroceon
/config
/u-boot.lds
; \
2328 echo
"** RD_88W8660_AP82S image ** config " ; \
2330 @
[ -z
"$(findstring db88f5181_VOIP2,$(RULE))" ] || \
2331 { echo
"MV_FLAGS += -DRD_DB_88F5181L" >> include/config.mk
; \
2332 echo
"MV_IMAGE_FLAGS = -DMV_SEC_64K" >> include/config.mk
; \
2333 echo
"MV_IMAGE_FLAGS += -DMV_BOOTSIZE_512K" >> include/config.mk
; \
2334 cp board
/mv_feroceon
/config
/u-boot-sec64k.lds board
/mv_feroceon
/config
/u-boot.lds
; \
2335 echo
"** DB_88F5181L_VOIP2 image ** config " ; \
2337 @
[ -z
"$(findstring db88f5181L_VOIP2,$(RULE))" ] || \
2338 { echo
"MV_FLAGS += -DDB_88F5181L" >> include/config.mk
; \
2339 echo
"MV_FLAGS += -DRD_DB_88F5181L" >> include/config.mk
; \
2340 echo
"MV_IMAGE_FLAGS = -DMV_SEC_64K" >> include/config.mk
; \
2341 echo
"MV_IMAGE_FLAGS += -DMV_BOOTSIZE_512K" >> include/config.mk
; \
2342 cp board
/mv_feroceon
/config
/u-boot-sec64k.lds board
/mv_feroceon
/config
/u-boot.lds
; \
2343 echo
"** DB_88F5181L_VOIP2 image ** config " ; \
2345 @
[ -z
"$(findstring rd88f5181L_VOIP2_FE,$(RULE))" ] || \
2346 { echo
"MV_FLAGS += -DRD_88F5181L_FE" >> include/config.mk
; \
2347 echo
"MV_FLAGS += -DRD_DB_88F5181L" >> include/config.mk
; \
2348 echo
"MV_IMAGE_FLAGS = -DMV_SEC_128K" >> include/config.mk
; \
2349 echo
"MV_IMAGE_FLAGS += -DMV_BOOTSIZE_16M" >> include/config.mk
; \
2350 cp board
/mv_feroceon
/config
/u-boot-sec128k.lds board
/mv_feroceon
/config
/u-boot.lds
; \
2351 echo
"** RD_88F5181L_FE image ** config " ; \
2353 @
[ -z
"$(findstring rd88f5181L_VOIP2_GE,$(RULE))" ] || \
2354 { echo
"MV_FLAGS += -DRD_88F5181L_GE" >> include/config.mk
; \
2355 echo
"MV_FLAGS += -DRD_DB_88F5181L" >> include/config.mk
; \
2356 echo
"MV_IMAGE_FLAGS = -DMV_SEC_128K" >> include/config.mk
; \
2357 echo
"MV_IMAGE_FLAGS += -DMV_BOOTSIZE_16M" >> include/config.mk
; \
2358 cp board
/mv_feroceon
/config
/u-boot-sec128k.lds board
/mv_feroceon
/config
/u-boot.lds
; \
2359 echo
"** RD_88F5181L_GE image ** config " ; \
2361 @
[ -z
"$(findstring rd88f5181L_FXO_GE,$(RULE))" ] || \
2362 { echo
"MV_FLAGS += -DRD_88F5181L_FXO_GE" >> include/config.mk
; \
2363 echo
"MV_FLAGS += -DRD_DB_88F5181L" >> include/config.mk
; \
2364 echo
"MV_IMAGE_FLAGS = -DMV_SEC_64K" >> include/config.mk
; \
2365 echo
"MV_IMAGE_FLAGS += -DMV_BOOTSIZE_8M" >> include/config.mk
; \
2366 cp board
/mv_feroceon
/config
/u-boot-sec64k.lds board
/mv_feroceon
/config
/u-boot.lds
; \
2367 echo
"** RD_88F5181L_FXO_GE image ** config " ; \
2369 @
[ -z
"$(findstring rd88f5181_GTW_FE,$(RULE))" ] || \
2370 { echo
"MV_FLAGS += -DRD_88F5181_GTWFE" >> include/config.mk
; \
2371 echo
"MV_IMAGE_FLAGS = -DMV_SEC_128K" >> include/config.mk
; \
2372 echo
"MV_IMAGE_FLAGS += -DMV_BOOTSIZE_16M" >> include/config.mk
; \
2373 cp board
/mv_feroceon
/config
/u-boot-sec128k.lds board
/mv_feroceon
/config
/u-boot.lds
; \
2374 echo
"** RD_88F5181_GTW_FE image ** config " ; \
2376 @
[ -z
"$(findstring rd88f5181_GTW_GE,$(RULE))" ] || \
2377 { echo
"MV_FLAGS += -DRD_88F5181_GTWGE" >> include/config.mk
; \
2378 echo
"MV_IMAGE_FLAGS = -DMV_SEC_128K" >> include/config.mk
; \
2379 echo
"MV_IMAGE_FLAGS += -DMV_BOOTSIZE_16M" >> include/config.mk
; \
2380 cp board
/mv_feroceon
/config
/u-boot-sec128k.lds board
/mv_feroceon
/config
/u-boot.lds
; \
2381 echo
"** RD_88F5181_GTW_GE image ** config " ; \
2383 @
[ -z
"$(findstring db88f5180n_config,$(RULE))" ] || \
2384 { echo
"MV_IMAGE_FLAGS = -DMV_SEC_64K" >> include/config.mk
; \
2385 echo
"MV_IMAGE_FLAGS += -DMV_BOOTSIZE_512K" >> include/config.mk
; \
2386 cp board
/mv_feroceon
/config
/u-boot-sec64k.lds board
/mv_feroceon
/config
/u-boot.lds
; \
2388 @
[ -z
"$(findstring db88f6082bp_config,$(RULE))" ] || \
2389 { echo
"MV_FLAGS += -DDB_88F6082BP" >> include/config.mk
; \
2390 echo
"MV_IMAGE_FLAGS = -DMV_SEC_64K" >> include/config.mk
; \
2391 echo
"MV_IMAGE_FLAGS += -DMV_BOOTSIZE_512K" >> include/config.mk
; \
2392 cp board
/mv_feroceon
/config
/u-boot-sec64k.lds board
/mv_feroceon
/config
/u-boot.lds
; \
2393 echo
"** DB_88F6082 image ** config " ; \
2395 @
[ -z
"$(findstring db88f6082bp_LP_config,$(RULE))" ] || \
2396 { echo
"MV_FLAGS += -DDB_88F6082BP" >> include/config.mk
; \
2397 echo
"MV_IMAGE_FLAGS = -DMV_SEC_64K" >> include/config.mk
; \
2398 echo
"MV_IMAGE_FLAGS += -DMV_BOOTSIZE_512K" >> include/config.mk
; \
2399 echo
"MV_IMAGE_FLAGS += -DMV_LARGE_PAGE" >> include/config.mk
; \
2400 echo
"NAND_LARGE_PAGE =y" >> include/config.mk
; \
2401 cp board
/mv_feroceon
/config
/u-boot-sec64k.lds board
/mv_feroceon
/config
/u-boot.lds
; \
2402 echo
"** DB_88F6082 image ** config " ; \
2404 @
[ -z
"$(findstring db88f6082Lbp_config,$(RULE))" ] || \
2405 { echo
"MV_FLAGS += -DDB_88F6082LBP" >> include/config.mk
; \
2406 echo
"MV_IMAGE_FLAGS = -DMV_SEC_64K" >> include/config.mk
; \
2407 echo
"MV_IMAGE_FLAGS += -DMV_BOOTSIZE_512K" >> include/config.mk
; \
2408 cp board
/mv_feroceon
/config
/u-boot-sec64k.lds board
/mv_feroceon
/config
/u-boot.lds
; \
2409 echo
"** DB_88F6082L image ** config " ; \
2411 @
[ -z
"$(findstring db88f6082sa_config,$(RULE))" ] || \
2412 { echo
"MV_FLAGS += -DDB_88F6082SA" >> include/config.mk
; \
2413 echo
"MV_IMAGE_FLAGS = -DMV_SEC_64K" >> include/config.mk
; \
2414 echo
"MV_IMAGE_FLAGS += -DMV_BOOTSIZE_512K" >> include/config.mk
; \
2415 cp board
/mv_feroceon
/config
/u-boot-sec64k.lds board
/mv_feroceon
/config
/u-boot.lds
; \
2416 echo
"** DB_88F6082 image ** config " ; \
2418 @
[ -z
"$(findstring rd88f6082nas_config,$(RULE))" ] || \
2419 { echo
"MV_FLAGS += -DRD_88F6082NAS" >> include/config.mk
; \
2420 echo
"MV_IMAGE_FLAGS = -DMV_SEC_64K" >> include/config.mk
; \
2421 echo
"MV_IMAGE_FLAGS += -DMV_BOOTSIZE_512K" >> include/config.mk
; \
2422 cp board
/mv_feroceon
/config
/u-boot-sec64k.lds board
/mv_feroceon
/config
/u-boot.lds
; \
2423 echo
"** RD_88F6082_NAS image ** config " ; \
2425 @
[ -z
"$(findstring rd88f6082u_das_nas_config,$(RULE))" ] || \
2426 { echo
"MV_FLAGS += -DRD_88F6082MICRO_DAS_NAS" >> include/config.mk
; \
2427 echo
"MV_IMAGE_FLAGS = -DMV_SEC_64K" >> include/config.mk
; \
2428 echo
"MV_IMAGE_FLAGS += -DMV_BOOTSIZE_512K" >> include/config.mk
; \
2429 cp board
/mv_feroceon
/config
/u-boot-sec64k.lds board
/mv_feroceon
/config
/u-boot.lds
; \
2430 echo
"** RD_88F6082_MICRO_DAS_NAS image ** config " ; \
2432 @
[ -z
"$(findstring rd88f6082das_plus_config,$(RULE))" ] || \
2433 { echo
"MV_FLAGS += -DRD_88F6082DAS_PLUS" >> include/config.mk
; \
2434 echo
"MV_IMAGE_FLAGS = -DMV_SEC_64K" >> include/config.mk
; \
2435 echo
"MV_IMAGE_FLAGS += -DMV_BOOTSIZE_512K" >> include/config.mk
; \
2436 cp board
/mv_feroceon
/config
/u-boot-sec64k.lds board
/mv_feroceon
/config
/u-boot.lds
; \
2437 echo
"** RD_88F6082_DAS_PLUS image ** config " ; \
2439 @
[ -z
"$(findstring rd88f6082ge_sata_config,$(RULE))" ] || \
2440 { echo
"MV_FLAGS += -DRD_88F6082GE_SATA" >> include/config.mk
; \
2441 echo
"MV_IMAGE_FLAGS = -DMV_SEC_64K" >> include/config.mk
; \
2442 echo
"MV_IMAGE_FLAGS += -DMV_BOOTSIZE_512K" >> include/config.mk
; \
2443 cp board
/mv_feroceon
/config
/u-boot-sec64k.lds board
/mv_feroceon
/config
/u-boot.lds
; \
2444 echo
"** RD_88F6082_GE_SATA image ** config " ; \
2446 @
[ -z
"$(findstring db88f6183Lbp_config,$(RULE))" ] || \
2447 { echo
"MV_FLAGS += -DDB_88F6183LBP" >> include/config.mk
; \
2448 echo
"MV_IMAGE_FLAGS = -DMV_SEC_64K" >> include/config.mk
; \
2449 echo
"MV_IMAGE_FLAGS += -DMV_BOOTSIZE_8M" >> include/config.mk
; \
2450 cp board
/mv_feroceon
/config
/u-boot-sec64k.lds board
/mv_feroceon
/config
/u-boot.lds
; \
2451 echo
"** DB_88F6183LBP image ** config " ; \
2453 @
[ -z
"$(findstring db88f6183_bp_config,$(RULE))" ] || \
2454 { echo
"MV_FLAGS += -DDB_88F6183BP" >> include/config.mk
; \
2455 echo
"MV_IMAGE_FLAGS = -DMV_SEC_64K" >> include/config.mk
; \
2456 echo
"MV_IMAGE_FLAGS += -DMV_BOOTSIZE_8M" >> include/config.mk
; \
2457 cp board
/mv_feroceon
/config
/u-boot-sec64k.lds board
/mv_feroceon
/config
/u-boot.lds
; \
2458 echo
"** DB_88F6183BP image ** config " ; \
2460 @
[ -z
"$(findstring db88f6183_bp_LargeSpi_config,$(RULE))" ] || \
2461 { echo
"MV_FLAGS += -DDB_88F6183BP" >> include/config.mk
; \
2462 echo
"MV_IMAGE_FLAGS = -DMV_SEC_256K" >> include/config.mk
; \
2463 echo
"MV_IMAGE_FLAGS += -DMV_MMC" >> include/config.mk
; \
2464 echo
"MV_IMAGE_FLAGS += -DMV_BOOTSIZE_16M" >> include/config.mk
; \
2465 cp board
/mv_feroceon
/config
/u-boot-sec256k.lds board
/mv_feroceon
/config
/u-boot.lds
; \
2466 echo
"** DB_88F6183BP image ** config " ; \
2468 @
[ -z
"$(findstring rd88f6183_gp_config,$(RULE))" ] || \
2469 { echo
"MV_FLAGS += -DRD_88F6183GP" >> include/config.mk
; \
2470 echo
"MV_IMAGE_FLAGS = -DMV_SEC_64K" >> include/config.mk
; \
2471 echo
"MV_IMAGE_FLAGS += -DMV_MMC" >> include/config.mk
; \
2472 echo
"MV_IMAGE_FLAGS += -DMV_BOOTSIZE_512K" >> include/config.mk
; \
2473 cp board
/mv_feroceon
/config
/u-boot-sec64k.lds board
/mv_feroceon
/config
/u-boot.lds
; \
2474 echo
"** RD_88F6183GP image ** config " ; \
2476 @
[ -z
"$(findstring rd88f6183_ap_config,$(RULE))" ] || \
2477 { echo
"MV_FLAGS += -DRD_88F6183AP" >> include/config.mk
; \
2478 echo
"MV_IMAGE_FLAGS = -DMV_SEC_64K" >> include/config.mk
; \
2479 echo
"MV_IMAGE_FLAGS += -DMV_BOOTSIZE_8M" >> include/config.mk
; \
2480 cp board
/mv_feroceon
/config
/u-boot-sec64k.lds board
/mv_feroceon
/config
/u-boot.lds
; \
2481 echo
"** RD_88F6183AP image ** config " ; \
2484 #==============================
2485 # Little Endian Cross Compiler
2486 #==============================
2489 @echo
"CROSS_COMPILE = arm-none-linux-gnueabi-" >> include/config.mk
;
2491 @echo
"CROSS_COMPILE = $(CSL)" >> include/config.mk
;
2494 #==============================
2495 # Big Endian Cross Compiler
2496 #==============================
2498 @echo
"MV_FLAGS += -mbig-endian -D__BE" >> include/config.mk
;
2499 @echo
"BIG_ENDIAN =y" >> include/config.mk
;
2500 @echo
"LDFLAGS += -EB" >> include/config.mk
;
2502 @echo
"CROSS_COMPILE = armeb-none-linux-gnueabi-" >> include/config.mk
;
2504 @echo
"CROSS_COMPILE = $(CSLBE)" >> include/config.mk
;
2506 @echo
"** Big Endian ** config ";
2513 @echo
"MV_FLAGS += -DMV_USB -DCONFIG_CMD_USB" >> include/config.mk
;
2514 @echo
"MV_USB=y" >> include/config.mk
;
2515 @echo
"** With USB ** config " ;
2521 @echo
"** NAND support image ** config " ;
2522 @echo
"MV_FLAGS += -DMV_NAND" >> include/config.mk
;
2525 # Boot from NAND support
2528 @echo
"** Boot from NAND support image ** config " ;
2529 @echo
"MV_FLAGS += -DMV_NAND_BOOT" >> include/config.mk
;
2530 @echo
"NAND_BOOT =y" >> include/config.mk
;
2531 @cat board
/mv_feroceon
/config
/config_nand.mk
>> board
/mv_feroceon
/config
/config.mk
;
2532 cp board
/mv_feroceon
/config
/u-boot-sec128k.lds board
/mv_feroceon
/config
/u-boot.lds
;
2538 @echo
"** SPI support image ** config " ;
2539 @echo
"MV_FLAGS += -DMV_SPI" >> include/config.mk
;
2542 @echo
"** Boot from SPI support image ** config " ;
2543 @echo
"MV_FLAGS += -DMV_SPI" >> include/config.mk
;
2544 @echo
"MV_FLAGS += -DMV_SPI_BOOT" >> include/config.mk
;
2550 @echo
"** MFLASH support image ** config " ;
2551 @echo
"MV_FLAGS += -DMV_FLASH" >> include/config.mk
;
2553 ifeq ($(MFLASHBOOT
),1)
2554 @echo
"** Boot from MFLASH support image ** config " ;
2555 @echo
"MV_FLAGS += -DMV_FLASH" >> include/config.mk
;
2556 @echo
"MV_FLAGS += -DMV_FLASH_BOOT" >> include/config.mk
;
2562 @echo
"** BOOTROM support image ** config " ;
2563 @echo
"MV_FLAGS += -DMV_BOOTROM" >> include/config.mk
;
2565 @cp board
/mv_feroceon
/config
/u-boot-sec64k-header-nand.lds board
/mv_feroceon
/config
/u-boot.lds
;
2567 @cp board
/mv_feroceon
/config
/u-boot-sec64k-header.lds board
/mv_feroceon
/config
/u-boot.lds
;
2570 #===================
2571 # Tiny Image support
2572 #===================
2574 @echo
"MV_FLAGS += -DMV_TINY_IMAGE" >> include/config.mk
;
2575 @echo
"MV_TINY_IMAGE=y" >> include/config.mk
;
2576 ifeq ($(TINY
),256K_32K
)
2577 @echo
"** TINY image BootSize=256K SEC=32K" ;
2579 @cp board
/mv_feroceon
/config
/u-boot-sec32k-header-tiny.lds board
/mv_feroceon
/config
/u-boot.lds
;
2581 @cp board
/mv_feroceon
/config
/u-boot-sec32k-tiny.lds board
/mv_feroceon
/config
/u-boot.lds
;
2583 @echo
"MV_IMAGE_FLAGS = -DMV_SEC_32K" >> include/config.mk
;
2584 @echo
"MV_IMAGE_FLAGS += -DMV_BOOTSIZE_256K" >> include/config.mk
;
2586 ifeq ($(TINY
),256K_64K
)
2587 @echo
"** TINY image BootSize=256K SEC=64K" ;
2589 @cp board
/mv_feroceon
/config
/u-boot-sec64k-header-tiny.lds board
/mv_feroceon
/config
/u-boot.lds
;
2591 @cp board
/mv_feroceon
/config
/u-boot-sec64k-tiny.lds board
/mv_feroceon
/config
/u-boot.lds
;
2593 @echo
"MV_IMAGE_FLAGS = -DMV_SEC_64K" >> include/config.mk
;
2594 @echo
"MV_IMAGE_FLAGS += -DMV_BOOTSIZE_256K" >> include/config.mk
;
2596 ifeq ($(TINY
),512K_64K
)
2597 @echo
"** TINY image BootSize=512K SEC=64K" ;
2599 @cp board
/mv_feroceon
/config
/u-boot-sec64k-header-tiny.lds board
/mv_feroceon
/config
/u-boot.lds
;
2601 @cp board
/mv_feroceon
/config
/u-boot-sec64k-tiny.lds board
/mv_feroceon
/config
/u-boot.lds
;
2603 @echo
"MV_IMAGE_FLAGS = -DMV_SEC_64K" >> include/config.mk
;
2604 @echo
"MV_IMAGE_FLAGS += -DMV_BOOTSIZE_512K" >> include/config.mk
;
2606 ifeq ($(TINY
),4M_128K
)
2607 @echo
"** TINY image BootSize=4M SEC=128K" ;
2609 @cp board
/mv_feroceon
/config
/u-boot-sec128k-header-tiny.lds board
/mv_feroceon
/config
/u-boot.lds
;
2611 @cp board
/mv_feroceon
/config
/u-boot-sec128k-tiny.lds board
/mv_feroceon
/config
/u-boot.lds
;
2613 @echo
"MV_IMAGE_FLAGS = -DMV_SEC_128K" >> include/config.mk
;
2614 @echo
"MV_IMAGE_FLAGS += -DMV_BOOTSIZE_4M" >> include/config.mk
;
2616 ifeq ($(TINY
),8M_128K
)
2617 @echo
"** TINY image BootSize=8M SEC=128K" ;
2619 @cp board
/mv_feroceon
/config
/u-boot-sec128k-header-tiny.lds board
/mv_feroceon
/config
/u-boot.lds
;
2621 @cp board
/mv_feroceon
/config
/u-boot-sec128k-tiny.lds board
/mv_feroceon
/config
/u-boot.lds
;
2623 @echo
"MV_IMAGE_FLAGS = -DMV_SEC_128K" >> include/config.mk
;
2624 @echo
"MV_IMAGE_FLAGS += -DMV_BOOTSIZE_8M" >> include/config.mk
;
2626 ifeq ($(TINY
),16M_64K
)
2627 @echo
"** TINY image BootSize=16M SEC=64K" ;
2629 @cp board
/mv_feroceon
/config
/u-boot-sec64k-header-tiny.lds board
/mv_feroceon
/config
/u-boot.lds
;
2631 @cp board
/mv_feroceon
/config
/u-boot-sec64k-tiny.lds board
/mv_feroceon
/config
/u-boot.lds
;
2633 @echo
"MV_IMAGE_FLAGS = -DMV_SEC_64K" >> include/config.mk
;
2634 @echo
"MV_IMAGE_FLAGS += -DMV_BOOTSIZE_16M" >> include/config.mk
;
2636 ifeq ($(TINY
),16M_128K
)
2637 @echo
"** TINY image BootSize=16M SEC=128K" ;
2639 @cp board
/mv_feroceon
/config
/u-boot-sec128k-header-tiny.lds board
/mv_feroceon
/config
/u-boot.lds
;
2641 @cp board
/mv_feroceon
/config
/u-boot-sec128k-tiny.lds board
/mv_feroceon
/config
/u-boot.lds
;
2643 @echo
"MV_IMAGE_FLAGS = -DMV_SEC_128K" >> include/config.mk
;
2644 @echo
"MV_IMAGE_FLAGS += -DMV_BOOTSIZE_16M" >> include/config.mk
;
2646 ifeq ($(TINY
),256K_4K
)
2647 @echo
"** TINY image BootSize=256K SEC=4K" ;
2649 @cp board
/mv_feroceon
/config
/u-boot-sec4k-header-tiny.lds board
/mv_feroceon
/config
/u-boot.lds
;
2651 @cp board
/mv_feroceon
/config
/u-boot-sec4k-tiny.lds board
/mv_feroceon
/config
/u-boot.lds
;
2653 @echo
"MV_IMAGE_FLAGS = -DMV_SEC_4K" >> include/config.mk
;
2654 @echo
"MV_IMAGE_FLAGS += -DMV_BOOTSIZE_256K" >> include/config.mk
;
2658 @echo
"** ERROR : Illegal TINY image configuration" ;
2660 @echo
"Legal values for TINY are :" ;
2662 @echo
"512K_64K, 16M_64K, 16M_128K, 256K_32K or 256K_4K" ;
2673 #=============================
2674 # Summary of compilation flags
2675 #=============================
2676 @echo
-e
"CPPFLAGS += \044(MV_IMAGE_FLAGS) \044(MV_FLAGS)" >> include/config.mk
;
2679 #########################################################################
2680 ## END of Marvell Feroceon based Socs
2681 #########################################################################
2683 DB64360_config
: unconfig
2684 @.
/mkconfig DB64360 ppc
74xx_7xx db64360 Marvell
2686 DB64460_config
: unconfig
2687 @.
/mkconfig DB64460 ppc
74xx_7xx db64460 Marvell
2689 ELPPC_config
: unconfig
2690 @.
/mkconfig
$(@
:_config
=) ppc
74xx_7xx elppc eltec
2693 EVB64260_750CX_config
: unconfig
2694 @.
/mkconfig EVB64260 ppc
74xx_7xx evb64260
2696 P3G4_config
: unconfig
2697 @.
/mkconfig
$(@
:_config
=) ppc
74xx_7xx evb64260
2700 PCIPPC6_config
: unconfig
2701 @.
/mkconfig
$(@
:_config
=) ppc
74xx_7xx pcippc2
2703 ZUMA_config
: unconfig
2704 @.
/mkconfig
$(@
:_config
=) ppc
74xx_7xx evb64260
2706 #========================================================================
2708 #========================================================================
2709 #########################################################################
2710 ## StrongARM Systems
2711 #########################################################################
2713 assabet_config
: unconfig
2714 @.
/mkconfig
$(@
:_config
=) arm sa1100 assabet
2716 dnp1110_config
: unconfig
2717 @.
/mkconfig
$(@
:_config
=) arm sa1100 dnp1110
2719 gcplus_config
: unconfig
2720 @.
/mkconfig
$(@
:_config
=) arm sa1100 gcplus
2722 lart_config
: unconfig
2723 @.
/mkconfig
$(@
:_config
=) arm sa1100 lart
2725 shannon_config
: unconfig
2726 @.
/mkconfig
$(@
:_config
=) arm sa1100 shannon
2728 #########################################################################
2730 #########################################################################
2732 xtract_trab
= $(subst _bigram
,,$(subst _bigflash
,,$(subst _old
,,$(subst _config
,,$1))))
2734 xtract_omap1610xxx
= $(subst _cs0boot
,,$(subst _cs3boot
,,$(subst _cs_autoboot
,,$(subst _config
,,$1))))
2736 xtract_omap730p2
= $(subst _cs0boot
,,$(subst _cs3boot
,, $(subst _config
,,$1)))
2738 at91rm9200dk_config
: unconfig
2739 @.
/mkconfig
$(@
:_config
=) arm arm920t at91rm9200dk NULL at91rm9200
2741 cmc_pu2_config
: unconfig
2742 @.
/mkconfig
$(@
:_config
=) arm arm920t cmc_pu2 NULL at91rm9200
2744 csb637_config
: unconfig
2745 @.
/mkconfig
$(@
:_config
=) arm arm920t csb637 NULL at91rm9200
2747 mp2usb_config
: unconfig
2748 @.
/mkconfig
$(@
:_config
=) arm arm920t mp2usb NULL at91rm9200
2751 ########################################################################
2752 ## ARM Integrator boards - see doc/README-integrator for more info.
2753 integratorap_config \
2762 ap946es_config
: unconfig
2763 @board
/integratorap
/split_by_variant.sh
$@
2765 integratorcp_config \
2774 cp1026_config
: unconfig
2775 @board
/integratorcp
/split_by_variant.sh
$@
2777 kb9202_config
: unconfig
2778 @.
/mkconfig
$(@
:_config
=) arm arm920t kb9202 NULL at91rm9200
2781 lpd7a404_config
: unconfig
2782 @.
/mkconfig
$(@
:_config
=) arm lh7a40x lpd7a40x
2784 mx1ads_config
: unconfig
2785 @.
/mkconfig
$(@
:_config
=) arm arm920t mx1ads NULL imx
2787 mx1fs2_config
: unconfig
2788 @.
/mkconfig
$(@
:_config
=) arm arm920t mx1fs2 NULL imx
2790 omap1510inn_config
: unconfig
2791 @.
/mkconfig
$(@
:_config
=) arm arm925t omap1510inn
2793 omap5912osk_config
: unconfig
2794 @.
/mkconfig
$(@
:_config
=) arm arm926ejs omap5912osk
2796 omap1610inn_config \
2797 omap1610inn_cs0boot_config \
2798 omap1610inn_cs3boot_config \
2799 omap1610inn_cs_autoboot_config \
2801 omap1610h2_cs0boot_config \
2802 omap1610h2_cs3boot_config \
2803 omap1610h2_cs_autoboot_config
: unconfig
2804 @if
[ "$(findstring _cs0boot_, $@)" ] ; then \
2805 echo
"#define CONFIG_CS0_BOOT" >> .
/include/config.h
; \
2806 echo
"... configured for CS0 boot"; \
2807 elif
[ "$(findstring _cs_autoboot_, $@)" ] ; then \
2808 echo
"#define CONFIG_CS_AUTOBOOT" >> .
/include/config.h
; \
2809 echo
"... configured for CS_AUTO boot"; \
2811 echo
"#define CONFIG_CS3_BOOT" >> .
/include/config.h
; \
2812 echo
"... configured for CS3 boot"; \
2814 @.
/mkconfig
-a
$(call xtract_omap1610xxx
,$@
) arm arm926ejs omap1610inn
2817 omap730p2_cs0boot_config \
2818 omap730p2_cs3boot_config
: unconfig
2819 @if
[ "$(findstring _cs0boot_, $@)" ] ; then \
2820 echo
"#define CONFIG_CS0_BOOT" >> .
/include/config.h
; \
2821 echo
"... configured for CS0 boot"; \
2823 echo
"#define CONFIG_CS3_BOOT" >> .
/include/config.h
; \
2824 echo
"... configured for CS3 boot"; \
2826 @.
/mkconfig
-a
$(call xtract_omap730p2
,$@
) arm arm926ejs omap730p2
2828 scb9328_config
: unconfig
2829 @.
/mkconfig
$(@
:_config
=) arm arm920t scb9328 NULL imx
2831 smdk2400_config
: unconfig
2832 @.
/mkconfig
$(@
:_config
=) arm arm920t smdk2400 NULL s3c24x0
2834 smdk2410_config
: unconfig
2835 @.
/mkconfig
$(@
:_config
=) arm arm920t smdk2410 NULL s3c24x0
2837 SX1_config
: unconfig
2838 @.
/mkconfig
$(@
:_config
=) arm arm925t sx1
2840 # TRAB default configuration: 8 MB Flash, 32 MB RAM
2842 trab_bigram_config \
2843 trab_bigflash_config \
2844 trab_old_config
: unconfig
2846 @
[ -z
"$(findstring _bigram,$@)" ] || \
2847 { echo
"#define CONFIG_FLASH_8MB" >>include/config.h
; \
2848 echo
"#define CONFIG_RAM_32MB" >>include/config.h
; \
2849 echo
"... with 8 MB Flash, 32 MB RAM" ; \
2851 @
[ -z
"$(findstring _bigflash,$@)" ] || \
2852 { echo
"#define CONFIG_FLASH_16MB" >>include/config.h
; \
2853 echo
"#define CONFIG_RAM_16MB" >>include/config.h
; \
2854 echo
"... with 16 MB Flash, 16 MB RAM" ; \
2855 echo
"TEXT_BASE = 0x0CF40000" >board
/trab
/config.tmp
; \
2857 @
[ -z
"$(findstring _old,$@)" ] || \
2858 { echo
"#define CONFIG_FLASH_8MB" >>include/config.h
; \
2859 echo
"#define CONFIG_RAM_16MB" >>include/config.h
; \
2860 echo
"... with 8 MB Flash, 16 MB RAM" ; \
2861 echo
"TEXT_BASE = 0x0CF40000" >board
/trab
/config.tmp
; \
2863 @.
/mkconfig
-a
$(call xtract_trab
,$@
) arm arm920t trab NULL s3c24x0
2865 VCMA9_config
: unconfig
2866 @.
/mkconfig
$(@
:_config
=) arm arm920t vcma9 mpl s3c24x0
2868 #========================================================================
2869 # ARM supplied Versatile development boards
2870 #========================================================================
2872 versatileab_config \
2873 versatilepb_config
: unconfig
2874 @board
/versatile
/split_by_variant.sh
$@
2876 voiceblue_smallflash_config \
2877 voiceblue_config
: unconfig
2878 @if
[ "$(findstring _smallflash_,$@)" ] ; then \
2879 echo
"... boot from lower flash bank" ; \
2880 echo
"#define VOICEBLUE_SMALL_FLASH" >>include/config.h
; \
2881 echo
"VOICEBLUE_SMALL_FLASH=y" >board
/voiceblue
/config.tmp
; \
2883 echo
"... boot from upper flash bank" ; \
2884 >include/config.h
; \
2885 echo
"VOICEBLUE_SMALL_FLASH=n" >board
/voiceblue
/config.tmp
; \
2887 @.
/mkconfig
-a voiceblue arm arm925t voiceblue
2889 cm4008_config
: unconfig
2890 @.
/mkconfig
$(@
:_config
=) arm arm920t cm4008 NULL ks8695
2892 cm41xx_config
: unconfig
2893 @.
/mkconfig
$(@
:_config
=) arm arm920t cm41xx NULL ks8695
2895 #########################################################################
2897 #########################################################################
2899 B2_config
: unconfig
2900 @.
/mkconfig
$(@
:_config
=) arm s3c44b0 B2 dave
2902 #########################################################################
2904 #########################################################################
2906 armadillo_config
: unconfig
2907 @.
/mkconfig
$(@
:_config
=) arm arm720t armadillo
2909 ep7312_config
: unconfig
2910 @.
/mkconfig
$(@
:_config
=) arm arm720t ep7312
2912 impa7_config
: unconfig
2913 @.
/mkconfig
$(@
:_config
=) arm arm720t impa7
2915 modnet50_config
: unconfig
2916 @.
/mkconfig
$(@
:_config
=) arm arm720t modnet50
2918 evb4510_config
: unconfig
2919 @.
/mkconfig
$(@
:_config
=) arm arm720t evb4510
2921 #########################################################################
2923 #########################################################################
2925 adsvix_config
: unconfig
2926 @.
/mkconfig
$(@
:_config
=) arm pxa adsvix
2928 cerf250_config
: unconfig
2929 @.
/mkconfig
$(@
:_config
=) arm pxa cerf250
2931 cradle_config
: unconfig
2932 @.
/mkconfig
$(@
:_config
=) arm pxa cradle
2934 csb226_config
: unconfig
2935 @.
/mkconfig
$(@
:_config
=) arm pxa csb226
2937 innokom_config
: unconfig
2938 @.
/mkconfig
$(@
:_config
=) arm pxa innokom
2940 ixdp425_config
: unconfig
2941 @.
/mkconfig
$(@
:_config
=) arm ixp ixdp425
2943 lubbock_config
: unconfig
2944 @.
/mkconfig
$(@
:_config
=) arm pxa lubbock
2946 logodl_config
: unconfig
2947 @.
/mkconfig
$(@
:_config
=) arm pxa logodl
2949 pxa255_idp_config
: unconfig
2950 @.
/mkconfig
$(@
:_config
=) arm pxa pxa255_idp
2952 wepep250_config
: unconfig
2953 @.
/mkconfig
$(@
:_config
=) arm pxa wepep250
2955 xaeniax_config
: unconfig
2956 @.
/mkconfig
$(@
:_config
=) arm pxa xaeniax
2958 xm250_config
: unconfig
2959 @.
/mkconfig
$(@
:_config
=) arm pxa xm250
2961 xsengine_config
: unconfig
2962 @.
/mkconfig
$(@
:_config
=) arm pxa xsengine
2964 #########################################################################
2966 #########################################################################
2967 omap2420h4_config
: unconfig
2968 @.
/mkconfig
$(@
:_config
=) arm arm1136 omap2420h4
2970 #========================================================================
2972 #========================================================================
2973 #########################################################################
2975 #########################################################################
2976 sc520_cdp_config
: unconfig
2977 @.
/mkconfig
$(@
:_config
=) i386 i386 sc520_cdp
2979 sc520_spunk_config
: unconfig
2980 @.
/mkconfig
$(@
:_config
=) i386 i386 sc520_spunk
2982 sc520_spunk_rel_config
: unconfig
2983 @.
/mkconfig
$(@
:_config
=) i386 i386 sc520_spunk
2985 #========================================================================
2987 #========================================================================
2988 #########################################################################
2990 #########################################################################
2992 xtract_incaip
= $(subst _100MHz
,,$(subst _133MHz
,,$(subst _150MHz
,,$(subst _config
,,$1))))
2994 incaip_100MHz_config \
2995 incaip_133MHz_config \
2996 incaip_150MHz_config \
2997 incaip_config
: unconfig
2999 @
[ -z
"$(findstring _100MHz,$@)" ] || \
3000 { echo
"#define CPU_CLOCK_RATE 100000000" >>include/config.h
; \
3001 echo
"... with 100MHz system clock" ; \
3003 @
[ -z
"$(findstring _133MHz,$@)" ] || \
3004 { echo
"#define CPU_CLOCK_RATE 133000000" >>include/config.h
; \
3005 echo
"... with 133MHz system clock" ; \
3007 @
[ -z
"$(findstring _150MHz,$@)" ] || \
3008 { echo
"#define CPU_CLOCK_RATE 150000000" >>include/config.h
; \
3009 echo
"... with 150MHz system clock" ; \
3011 @.
/mkconfig
-a
$(call xtract_incaip
,$@
) mips mips incaip
3013 tb0229_config
: unconfig
3014 @.
/mkconfig
$(@
:_config
=) mips mips tb0229
3016 #########################################################################
3018 #########################################################################
3019 dbau1000_config
: unconfig
3021 @echo
"#define CONFIG_DBAU1000 1" >>include/config.h
3022 @.
/mkconfig
-a dbau1x00 mips mips dbau1x00
3024 dbau1100_config
: unconfig
3026 @echo
"#define CONFIG_DBAU1100 1" >>include/config.h
3027 @.
/mkconfig
-a dbau1x00 mips mips dbau1x00
3029 dbau1500_config
: unconfig
3031 @echo
"#define CONFIG_DBAU1500 1" >>include/config.h
3032 @.
/mkconfig
-a dbau1x00 mips mips dbau1x00
3034 dbau1550_config
: unconfig
3036 @echo
"#define CONFIG_DBAU1550 1" >>include/config.h
3037 @.
/mkconfig
-a dbau1x00 mips mips dbau1x00
3039 dbau1550_el_config
: unconfig
3041 @echo
"#define CONFIG_DBAU1550 1" >>include/config.h
3042 @.
/mkconfig
-a dbau1x00 mips mips dbau1x00
3044 pb1000_config
: unconfig
3046 @echo
"#define CONFIG_PB1000 1" >>include/config.h
3047 @.
/mkconfig
-a pb1x00 mips mips pb1x00
3049 #########################################################################
3051 #########################################################################
3053 purple_config
: unconfig
3054 @.
/mkconfig
$(@
:_config
=) mips mips purple
3056 #========================================================================
3058 #========================================================================
3059 #########################################################################
3061 #########################################################################
3063 DK1C20_safe_32_config \
3064 DK1C20_standard_32_config \
3065 DK1C20_config
: unconfig
3067 @
[ -z
"$(findstring _safe_32,$@)" ] || \
3068 { echo
"#define CONFIG_NIOS_SAFE_32 1" >>include/config.h
; \
3069 echo
"... NIOS 'safe_32' configuration" ; \
3071 @
[ -z
"$(findstring _standard_32,$@)" ] || \
3072 { echo
"#define CONFIG_NIOS_STANDARD_32 1" >>include/config.h
; \
3073 echo
"... NIOS 'standard_32' configuration" ; \
3075 @
[ -z
"$(findstring DK1C20_config,$@)" ] || \
3076 { echo
"#define CONFIG_NIOS_STANDARD_32 1" >>include/config.h
; \
3077 echo
"... NIOS 'standard_32' configuration (DEFAULT)" ; \
3079 @.
/mkconfig
-a DK1C20 nios nios dk1c20 altera
3081 DK1S10_safe_32_config \
3082 DK1S10_standard_32_config \
3083 DK1S10_mtx_ldk_20_config \
3084 DK1S10_config
: unconfig
3086 @
[ -z
"$(findstring _safe_32,$@)" ] || \
3087 { echo
"#define CONFIG_NIOS_SAFE_32 1" >>include/config.h
; \
3088 echo
"... NIOS 'safe_32' configuration" ; \
3090 @
[ -z
"$(findstring _standard_32,$@)" ] || \
3091 { echo
"#define CONFIG_NIOS_STANDARD_32 1" >>include/config.h
; \
3092 echo
"... NIOS 'standard_32' configuration" ; \
3094 @
[ -z
"$(findstring _mtx_ldk_20,$@)" ] || \
3095 { echo
"#define CONFIG_NIOS_MTX_LDK_20 1" >>include/config.h
; \
3096 echo
"... NIOS 'mtx_ldk_20' configuration" ; \
3098 @
[ -z
"$(findstring DK1S10_config,$@)" ] || \
3099 { echo
"#define CONFIG_NIOS_STANDARD_32 1" >>include/config.h
; \
3100 echo
"... NIOS 'standard_32' configuration (DEFAULT)" ; \
3102 @.
/mkconfig
-a DK1S10 nios nios dk1s10 altera
3104 ADNPESC1_DNPEVA2_base_32_config \
3105 ADNPESC1_base_32_config \
3106 ADNPESC1_config
: unconfig
3108 @
[ -z
"$(findstring _DNPEVA2,$@)" ] || \
3109 { echo
"#define CONFIG_DNPEVA2 1" >>include/config.h
; \
3110 echo
"... DNP/EVA2 configuration" ; \
3112 @
[ -z
"$(findstring _base_32,$@)" ] || \
3113 { echo
"#define CONFIG_NIOS_BASE_32 1" >>include/config.h
; \
3114 echo
"... NIOS 'base_32' configuration" ; \
3116 @
[ -z
"$(findstring ADNPESC1_config,$@)" ] || \
3117 { echo
"#define CONFIG_NIOS_BASE_32 1" >>include/config.h
; \
3118 echo
"... NIOS 'base_32' configuration (DEFAULT)" ; \
3120 @.
/mkconfig
-a ADNPESC1 nios nios adnpesc1 ssv
3122 #########################################################################
3124 #########################################################################
3126 PK1C20_config
: unconfig
3127 @.
/mkconfig PK1C20 nios2 nios2 pk1c20 psyent
3129 PCI5441_config
: unconfig
3130 @.
/mkconfig PCI5441 nios2 nios2 pci5441 psyent
3132 #========================================================================
3134 #========================================================================
3135 #########################################################################
3137 #########################################################################
3138 suzaku_config
: unconfig
3140 @echo
"#define CONFIG_SUZAKU 1" >> include/config.h
3141 @.
/mkconfig
-a
$(@
:_config
=) microblaze microblaze suzaku AtmarkTechno
3143 #########################################################################
3144 #########################################################################
3148 \
( -name
'core' -o
-name
'*.bak' -o
-name
'*~' \
3149 -o
-name
'*.o' -o
-name
'*.a' \
) -print \
3151 rm -f examples
/hello_world examples
/timer \
3152 examples
/eepro100_eeprom examples
/sched \
3153 examples
/mem_to_mem_idma2intr examples
/82559_eeprom \
3155 rm -f tools
/img2srec tools
/mkimage tools
/envcrc tools
/gen_eth_addr
3156 rm -f tools
/mpc86x_clk tools
/ncb
3157 rm -f tools
/easylogo
/easylogo tools
/bmp_logo
3158 rm -f tools
/gdb
/astest tools
/gdb
/gdbcont tools
/gdb
/gdbsend
3159 rm -f tools
/env
/fw_printenv tools
/env
/fw_setenv
3160 rm -f board
/cray
/L1
/bootscript.c board
/cray
/L1
/bootscript.image
3161 rm -f board
/trab
/trab_fkt board
/voiceblue
/eeprom
3162 rm -f board
/integratorap
/u-boot.lds board
/integratorcp
/u-boot.lds
3165 find .
-type f \
( -name .depend \
3166 -o
-name
'*.srec' -o
-name
'*.bin' -o
-name u-boot.img \
) \
3169 rm -f
$(OBJS
) *.bak
tags TAGS
3171 rm -f nboot nboot.dis nboot.map
3172 rm -f u-boot u-boot.map u-boot.hex
$(ALL
)
3173 rm -f u-boot-
${MV_OUTPUT}
3174 rm -f tools
/crc32.c tools
/environment.c tools
/env
/crc32.c
3175 rm -f tools
/inca-swap-bytes cpu
/mpc824x
/bedbug_603e.c
3176 rm -f
include/asm
/proc
include/asm
/arch
include/asm
3180 distclean: clobber unconfig
3183 F
=`basename $(TOPDIR)` ; cd ..
; \
3184 gtar
--force-local
-zcvf
`date "+$$F-%Y-%m-%d-%T.tar.gz"` $$F
3186 #########################################################################