blob: f169fc5b70839f24cf8ff4768b76e6cae1cf1459 [file] [log] [blame]
Stefan Roesec3d89142015-08-25 13:18:38 +02001if ARCH_MVEBU
2
Stefan Roesef61aefc2016-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 Roese606576d2016-01-29 09:14:54 +010017config ARMADA_375
18 bool
Stefan Roesef61aefc2016-05-17 15:00:30 +020019 select ARMADA_32BIT
Stefan Roese606576d2016-01-29 09:14:54 +010020
Stefan Roese81e33f42015-12-21 13:56:33 +010021config ARMADA_38X
22 bool
Stefan Roesef61aefc2016-05-17 15:00:30 +020023 select ARMADA_32BIT
Stefan Roese81e33f42015-12-21 13:56:33 +010024
25config ARMADA_XP
26 bool
Stefan Roesef61aefc2016-05-17 15:00:30 +020027 select ARMADA_32BIT
Stefan Roese81e33f42015-12-21 13:56:33 +010028
Stefan Roesef61aefc2016-05-17 15:00:30 +020029# ARMv8 SoCs...
30config ARMADA_3700
31 bool
32 select ARM64
33
34# Armada XP/38x SoC types...
Phil Sutter42902522015-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 Packham53d601f2016-09-22 12:56:13 +120047config 88F6820
Phil Sutter42902522015-12-25 14:41:22 +010048 bool
49 select ARMADA_38X
50
Stefan Roesec3d89142015-08-25 13:18:38 +020051choice
Stefan Roesef61aefc2016-05-17 15:00:30 +020052 prompt "Marvell MVEBU (Armada XP/375/38x/3700) board select"
Stefan Roesec3d89142015-08-25 13:18:38 +020053 optional
54
Stefan Roese0299c902015-10-20 15:14:47 +020055config TARGET_CLEARFOG
56 bool "Support ClearFog"
Chris Packham53d601f2016-09-22 12:56:13 +120057 select 88F6820
Stefan Roese0299c902015-10-20 15:14:47 +020058
Stefan Roese606576d2016-01-29 09:14:54 +010059config TARGET_DB_88F6720
60 bool "Support DB-88F6720 Armada 375"
61 select ARMADA_375
62
Stefan Roesec3d89142015-08-25 13:18:38 +020063config TARGET_DB_88F6820_GP
64 bool "Support DB-88F6820-GP"
Chris Packham53d601f2016-09-22 12:56:13 +120065 select 88F6820
Stefan Roesec3d89142015-08-25 13:18:38 +020066
Chris Packhamc0def242016-09-22 12:56:14 +120067config TARGET_DB_88F6820_AMC
68 bool "Support DB-88F6820-AMC"
69 select 88F6820
70
Stefan Roesec3d89142015-08-25 13:18:38 +020071config TARGET_DB_MV784MP_GP
72 bool "Support db-mv784mp-gp"
Phil Sutter42902522015-12-25 14:41:22 +010073 select MV78460
Stefan Roesec3d89142015-08-25 13:18:38 +020074
Phil Sutteraefb8f42015-12-25 14:41:25 +010075config TARGET_DS414
76 bool "Support Synology DS414"
77 select MV78230
78
Stefan Roesec3d89142015-08-25 13:18:38 +020079config TARGET_MAXBCM
80 bool "Support maxbcm"
Phil Sutter42902522015-12-25 14:41:22 +010081 select MV78460
Stefan Roesec3d89142015-08-25 13:18:38 +020082
Stefan Roeseb20c38a2016-01-20 08:13:29 +010083config TARGET_THEADORABLE
84 bool "Support theadorable Armada XP"
85 select MV78260
86
Stefan Roesec3d89142015-08-25 13:18:38 +020087endchoice
88
Stefan Roeseb322c832015-12-21 13:40:37 +010089config SYS_BOARD
90 default "clearfog" if TARGET_CLEARFOG
Stefan Roese606576d2016-01-29 09:14:54 +010091 default "db-88f6720" if TARGET_DB_88F6720
Stefan Roeseb322c832015-12-21 13:40:37 +010092 default "db-88f6820-gp" if TARGET_DB_88F6820_GP
Chris Packhamc0def242016-09-22 12:56:14 +120093 default "db-88f6820-amc" if TARGET_DB_88F6820_AMC
Stefan Roeseb322c832015-12-21 13:40:37 +010094 default "db-mv784mp-gp" if TARGET_DB_MV784MP_GP
Phil Sutteraefb8f42015-12-25 14:41:25 +010095 default "ds414" if TARGET_DS414
Stefan Roeseb322c832015-12-21 13:40:37 +010096 default "maxbcm" if TARGET_MAXBCM
Stefan Roeseb20c38a2016-01-20 08:13:29 +010097 default "theadorable" if TARGET_THEADORABLE
Stefan Roeseb322c832015-12-21 13:40:37 +010098
99config SYS_CONFIG_NAME
100 default "clearfog" if TARGET_CLEARFOG
Stefan Roese606576d2016-01-29 09:14:54 +0100101 default "db-88f6720" if TARGET_DB_88F6720
Stefan Roeseb322c832015-12-21 13:40:37 +0100102 default "db-88f6820-gp" if TARGET_DB_88F6820_GP
Chris Packhamc0def242016-09-22 12:56:14 +1200103 default "db-88f6820-amc" if TARGET_DB_88F6820_AMC
Stefan Roeseb322c832015-12-21 13:40:37 +0100104 default "db-mv784mp-gp" if TARGET_DB_MV784MP_GP
Phil Sutteraefb8f42015-12-25 14:41:25 +0100105 default "ds414" if TARGET_DS414
Stefan Roeseb322c832015-12-21 13:40:37 +0100106 default "maxbcm" if TARGET_MAXBCM
Stefan Roeseb20c38a2016-01-20 08:13:29 +0100107 default "theadorable" if TARGET_THEADORABLE
Stefan Roeseb322c832015-12-21 13:40:37 +0100108
109config SYS_VENDOR
110 default "Marvell" if TARGET_DB_MV784MP_GP
Stefan Roese606576d2016-01-29 09:14:54 +0100111 default "Marvell" if TARGET_DB_88F6720
Stefan Roeseb322c832015-12-21 13:40:37 +0100112 default "Marvell" if TARGET_DB_88F6820_GP
Chris Packhamc0def242016-09-22 12:56:14 +1200113 default "Marvell" if TARGET_DB_88F6820_AMC
Stefan Roeseb322c832015-12-21 13:40:37 +0100114 default "solidrun" if TARGET_CLEARFOG
Phil Sutteraefb8f42015-12-25 14:41:25 +0100115 default "Synology" if TARGET_DS414
Stefan Roeseb322c832015-12-21 13:40:37 +0100116
Stefan Roesec3d89142015-08-25 13:18:38 +0200117config SYS_SOC
118 default "mvebu"
119
Stefan Roesec3d89142015-08-25 13:18:38 +0200120endif