blob: f169fc5b70839f24cf8ff4768b76e6cae1cf1459 [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 Roese05b17652016-05-17 15:00:30 +020034# Armada XP/38x SoC types...
Phil Suttera7f94ad2015-12-25 14:41:22 +010035config MV78230
36 bool
37 select ARMADA_XP
38
39config MV78260
40 bool
41 select ARMADA_XP
42
43config MV78460
44 bool
45 select ARMADA_XP
46
Chris Packhamf5fc25b2016-09-22 12:56:13 +120047config 88F6820
Phil Suttera7f94ad2015-12-25 14:41:22 +010048 bool
49 select ARMADA_38X
50
Stefan Roese383e0c12015-08-25 13:18:38 +020051choice
Stefan Roese05b17652016-05-17 15:00:30 +020052 prompt "Marvell MVEBU (Armada XP/375/38x/3700) board select"
Stefan Roese383e0c12015-08-25 13:18:38 +020053 optional
54
Stefan Roese73606402015-10-20 15:14:47 +020055config TARGET_CLEARFOG
56 bool "Support ClearFog"
Chris Packhamf5fc25b2016-09-22 12:56:13 +120057 select 88F6820
Stefan Roese73606402015-10-20 15:14:47 +020058
Stefan Roese9106ed02016-01-29 09:14:54 +010059config TARGET_DB_88F6720
60 bool "Support DB-88F6720 Armada 375"
61 select ARMADA_375
62
Stefan Roese383e0c12015-08-25 13:18:38 +020063config TARGET_DB_88F6820_GP
64 bool "Support DB-88F6820-GP"
Chris Packhamf5fc25b2016-09-22 12:56:13 +120065 select 88F6820
Stefan Roese383e0c12015-08-25 13:18:38 +020066
Chris Packhama90dd4c2016-09-22 12:56:14 +120067config TARGET_DB_88F6820_AMC
68 bool "Support DB-88F6820-AMC"
69 select 88F6820
70
Stefan Roese383e0c12015-08-25 13:18:38 +020071config TARGET_DB_MV784MP_GP
72 bool "Support db-mv784mp-gp"
Phil Suttera7f94ad2015-12-25 14:41:22 +010073 select MV78460
Stefan Roese383e0c12015-08-25 13:18:38 +020074
Phil Sutterd76eba62015-12-25 14:41:25 +010075config TARGET_DS414
76 bool "Support Synology DS414"
77 select MV78230
78
Stefan Roese383e0c12015-08-25 13:18:38 +020079config TARGET_MAXBCM
80 bool "Support maxbcm"
Phil Suttera7f94ad2015-12-25 14:41:22 +010081 select MV78460
Stefan Roese383e0c12015-08-25 13:18:38 +020082
Stefan Roese459e0642016-01-20 08:13:29 +010083config TARGET_THEADORABLE
84 bool "Support theadorable Armada XP"
85 select MV78260
86
Stefan Roese383e0c12015-08-25 13:18:38 +020087endchoice
88
Stefan Roeseb9f41bf2015-12-21 13:40:37 +010089config SYS_BOARD
90 default "clearfog" if TARGET_CLEARFOG
Stefan Roese9106ed02016-01-29 09:14:54 +010091 default "db-88f6720" if TARGET_DB_88F6720
Stefan Roeseb9f41bf2015-12-21 13:40:37 +010092 default "db-88f6820-gp" if TARGET_DB_88F6820_GP
Chris Packhama90dd4c2016-09-22 12:56:14 +120093 default "db-88f6820-amc" if TARGET_DB_88F6820_AMC
Stefan Roeseb9f41bf2015-12-21 13:40:37 +010094 default "db-mv784mp-gp" if TARGET_DB_MV784MP_GP
Phil Sutterd76eba62015-12-25 14:41:25 +010095 default "ds414" if TARGET_DS414
Stefan Roeseb9f41bf2015-12-21 13:40:37 +010096 default "maxbcm" if TARGET_MAXBCM
Stefan Roese459e0642016-01-20 08:13:29 +010097 default "theadorable" if TARGET_THEADORABLE
Stefan Roeseb9f41bf2015-12-21 13:40:37 +010098
99config SYS_CONFIG_NAME
100 default "clearfog" if TARGET_CLEARFOG
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_VENDOR
110 default "Marvell" if TARGET_DB_MV784MP_GP
Stefan Roese9106ed02016-01-29 09:14:54 +0100111 default "Marvell" if TARGET_DB_88F6720
Stefan Roeseb9f41bf2015-12-21 13:40:37 +0100112 default "Marvell" if TARGET_DB_88F6820_GP
Chris Packhama90dd4c2016-09-22 12:56:14 +1200113 default "Marvell" if TARGET_DB_88F6820_AMC
Stefan Roeseb9f41bf2015-12-21 13:40:37 +0100114 default "solidrun" if TARGET_CLEARFOG
Phil Sutterd76eba62015-12-25 14:41:25 +0100115 default "Synology" if TARGET_DS414
Stefan Roeseb9f41bf2015-12-21 13:40:37 +0100116
Stefan Roese383e0c12015-08-25 13:18:38 +0200117config SYS_SOC
118 default "mvebu"
119
Stefan Roese383e0c12015-08-25 13:18:38 +0200120endif