blob: 67178440b71b08ee429c594602c2d346e8200548 [file] [log] [blame]
Stefan Roese383e0c12015-08-25 13:18:38 +02001if ARCH_MVEBU
2
Stefan Roese05b17652016-05-17 15:00:30 +02003config ARMADA_32BIT
4 bool
5 select CPU_V7
6 select SUPPORT_SPL
7 select SPL_DM
8 select SPL_DM_SEQ_ALIAS
9 select SPL_OF_CONTROL
10 select SPL_SIMPLE_BUS
11
12config ARMADA_64BIT
13 bool
14 select ARM64
15
16# ARMv7 SoCs...
Stefan Roese9106ed02016-01-29 09:14:54 +010017config ARMADA_375
18 bool
Stefan Roese05b17652016-05-17 15:00:30 +020019 select ARMADA_32BIT
Stefan Roese9106ed02016-01-29 09:14:54 +010020
Stefan Roeseeb083e52015-12-21 13:56:33 +010021config ARMADA_38X
22 bool
Stefan Roese05b17652016-05-17 15:00:30 +020023 select ARMADA_32BIT
Stefan Roeseeb083e52015-12-21 13:56:33 +010024
25config ARMADA_XP
26 bool
Stefan Roese05b17652016-05-17 15:00:30 +020027 select ARMADA_32BIT
28
29# ARMv8 SoCs...
30config ARMADA_3700
31 bool
32 select ARM64
Stefan Roeseeb083e52015-12-21 13:56:33 +010033
Stefan Roesecb410332016-05-25 08:13:45 +020034# Armada 7K and 8K are very similar - use only one Kconfig symbol for both
35config ARMADA_8K
36 bool
37 select ARM64
38
Stefan Roese05b17652016-05-17 15:00:30 +020039# Armada XP/38x SoC types...
Phil Suttera7f94ad2015-12-25 14:41:22 +010040config MV78230
41 bool
42 select ARMADA_XP
43
44config MV78260
45 bool
46 select ARMADA_XP
47
48config MV78460
49 bool
50 select ARMADA_XP
51
Chris Packhamf5fc25b2016-09-22 12:56:13 +120052config 88F6820
Phil Suttera7f94ad2015-12-25 14:41:22 +010053 bool
54 select ARMADA_38X
55
Stefan Roese383e0c12015-08-25 13:18:38 +020056choice
Stefan Roesecb410332016-05-25 08:13:45 +020057 prompt "Armada XP/375/38x/3700/7K/8K board select"
Stefan Roese383e0c12015-08-25 13:18:38 +020058 optional
59
Stefan Roese73606402015-10-20 15:14:47 +020060config TARGET_CLEARFOG
61 bool "Support ClearFog"
Chris Packhamf5fc25b2016-09-22 12:56:13 +120062 select 88F6820
Stefan Roese73606402015-10-20 15:14:47 +020063
Stefan Roese6edf27e2016-05-17 15:04:16 +020064config TARGET_MVEBU_DB_88F3720
65 bool "Support DB-88F3720 Armada 3720"
66 select ARMADA_3700
67
Stefan Roese9106ed02016-01-29 09:14:54 +010068config TARGET_DB_88F6720
69 bool "Support DB-88F6720 Armada 375"
70 select ARMADA_375
71
Stefan Roese383e0c12015-08-25 13:18:38 +020072config TARGET_DB_88F6820_GP
73 bool "Support DB-88F6820-GP"
Chris Packhamf5fc25b2016-09-22 12:56:13 +120074 select 88F6820
Stefan Roese383e0c12015-08-25 13:18:38 +020075
Chris Packhama90dd4c2016-09-22 12:56:14 +120076config TARGET_DB_88F6820_AMC
77 bool "Support DB-88F6820-AMC"
78 select 88F6820
79
Stefan Roese383e0c12015-08-25 13:18:38 +020080config TARGET_DB_MV784MP_GP
81 bool "Support db-mv784mp-gp"
Phil Suttera7f94ad2015-12-25 14:41:22 +010082 select MV78460
Stefan Roese383e0c12015-08-25 13:18:38 +020083
Phil Sutterd76eba62015-12-25 14:41:25 +010084config TARGET_DS414
85 bool "Support Synology DS414"
86 select MV78230
87
Stefan Roese383e0c12015-08-25 13:18:38 +020088config TARGET_MAXBCM
89 bool "Support maxbcm"
Phil Suttera7f94ad2015-12-25 14:41:22 +010090 select MV78460
Stefan Roese383e0c12015-08-25 13:18:38 +020091
Stefan Roese459e0642016-01-20 08:13:29 +010092config TARGET_THEADORABLE
93 bool "Support theadorable Armada XP"
94 select MV78260
95
Stefan Roese383e0c12015-08-25 13:18:38 +020096endchoice
97
Stefan Roeseb9f41bf2015-12-21 13:40:37 +010098config SYS_BOARD
99 default "clearfog" if TARGET_CLEARFOG
Stefan Roese6edf27e2016-05-17 15:04:16 +0200100 default "mvebu_db-88f3720" if TARGET_MVEBU_DB_88F3720
Stefan Roese9106ed02016-01-29 09:14:54 +0100101 default "db-88f6720" if TARGET_DB_88F6720
Stefan Roeseb9f41bf2015-12-21 13:40:37 +0100102 default "db-88f6820-gp" if TARGET_DB_88F6820_GP
Chris Packhama90dd4c2016-09-22 12:56:14 +1200103 default "db-88f6820-amc" if TARGET_DB_88F6820_AMC
Stefan Roeseb9f41bf2015-12-21 13:40:37 +0100104 default "db-mv784mp-gp" if TARGET_DB_MV784MP_GP
Phil Sutterd76eba62015-12-25 14:41:25 +0100105 default "ds414" if TARGET_DS414
Stefan Roeseb9f41bf2015-12-21 13:40:37 +0100106 default "maxbcm" if TARGET_MAXBCM
Stefan Roese459e0642016-01-20 08:13:29 +0100107 default "theadorable" if TARGET_THEADORABLE
Stefan Roeseb9f41bf2015-12-21 13:40:37 +0100108
109config SYS_CONFIG_NAME
110 default "clearfog" if TARGET_CLEARFOG
Stefan Roese6edf27e2016-05-17 15:04:16 +0200111 default "mvebu_db-88f3720" if TARGET_MVEBU_DB_88F3720
Stefan Roese9106ed02016-01-29 09:14:54 +0100112 default "db-88f6720" if TARGET_DB_88F6720
Stefan Roeseb9f41bf2015-12-21 13:40:37 +0100113 default "db-88f6820-gp" if TARGET_DB_88F6820_GP
Chris Packhama90dd4c2016-09-22 12:56:14 +1200114 default "db-88f6820-amc" if TARGET_DB_88F6820_AMC
Stefan Roeseb9f41bf2015-12-21 13:40:37 +0100115 default "db-mv784mp-gp" if TARGET_DB_MV784MP_GP
Phil Sutterd76eba62015-12-25 14:41:25 +0100116 default "ds414" if TARGET_DS414
Stefan Roeseb9f41bf2015-12-21 13:40:37 +0100117 default "maxbcm" if TARGET_MAXBCM
Stefan Roese459e0642016-01-20 08:13:29 +0100118 default "theadorable" if TARGET_THEADORABLE
Stefan Roeseb9f41bf2015-12-21 13:40:37 +0100119
120config SYS_VENDOR
121 default "Marvell" if TARGET_DB_MV784MP_GP
Stefan Roese6edf27e2016-05-17 15:04:16 +0200122 default "Marvell" if TARGET_MVEBU_DB_88F3720
Stefan Roese9106ed02016-01-29 09:14:54 +0100123 default "Marvell" if TARGET_DB_88F6720
Stefan Roeseb9f41bf2015-12-21 13:40:37 +0100124 default "Marvell" if TARGET_DB_88F6820_GP
Chris Packhama90dd4c2016-09-22 12:56:14 +1200125 default "Marvell" if TARGET_DB_88F6820_AMC
Stefan Roeseb9f41bf2015-12-21 13:40:37 +0100126 default "solidrun" if TARGET_CLEARFOG
Phil Sutterd76eba62015-12-25 14:41:25 +0100127 default "Synology" if TARGET_DS414
Stefan Roeseb9f41bf2015-12-21 13:40:37 +0100128
Stefan Roese383e0c12015-08-25 13:18:38 +0200129config SYS_SOC
130 default "mvebu"
131
Stefan Roese383e0c12015-08-25 13:18:38 +0200132endif