arm: mvebu: Move SoC selection (A38X vs AXP) into Kconfig
[oweals/u-boot.git] / arch / arm / mach-mvebu / Kconfig
1 if ARCH_MVEBU
2
3 config ARMADA_38X
4         bool
5
6 config ARMADA_XP
7         bool
8
9 choice
10         prompt "Marvell MVEBU (Armada XP/38x) board select"
11         optional
12
13 config TARGET_CLEARFOG
14         bool "Support ClearFog"
15         select ARMADA_38X
16
17 config TARGET_DB_88F6820_GP
18         bool "Support DB-88F6820-GP"
19         select ARMADA_38X
20
21 config TARGET_DB_MV784MP_GP
22         bool "Support db-mv784mp-gp"
23         select ARMADA_XP
24
25 config TARGET_MAXBCM
26         bool "Support maxbcm"
27         select ARMADA_XP
28
29 endchoice
30
31 config SYS_BOARD
32         default "clearfog" if TARGET_CLEARFOG
33         default "db-88f6820-gp" if TARGET_DB_88F6820_GP
34         default "db-mv784mp-gp" if TARGET_DB_MV784MP_GP
35         default "maxbcm" if TARGET_MAXBCM
36
37 config SYS_CONFIG_NAME
38         default "clearfog" if TARGET_CLEARFOG
39         default "db-88f6820-gp" if TARGET_DB_88F6820_GP
40         default "db-mv784mp-gp" if TARGET_DB_MV784MP_GP
41         default "maxbcm" if TARGET_MAXBCM
42
43 config SYS_VENDOR
44         default "Marvell" if TARGET_DB_MV784MP_GP
45         default "Marvell" if TARGET_DB_88F6820_GP
46         default "solidrun" if TARGET_CLEARFOG
47
48 config SYS_SOC
49         default "mvebu"
50
51 config MVEBU_BOOTROM_UARTBOOT
52         bool "Use kwboot to boot via BootROM xmodem protocol"
53         help
54           This option provides support for booting via the Marvell
55           xmodem protocol, used by the kwboot tool.
56
57           Please don't forget to configure the boot device in
58           the board specific kwbimage.cfg file this way:
59               BOOT_FROM uart
60
61 endif