blob: 58f22966dfc9531ffc88681725919bb0c94764dc [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 Roese01e62c72016-05-17 15:04:16 +020059config TARGET_MVEBU_DB_88F3720
60 bool "Support DB-88F3720 Armada 3720"
61 select ARMADA_3700
62
Stefan Roese606576d2016-01-29 09:14:54 +010063config TARGET_DB_88F6720
64 bool "Support DB-88F6720 Armada 375"
65 select ARMADA_375
66
Stefan Roesec3d89142015-08-25 13:18:38 +020067config TARGET_DB_88F6820_GP
68 bool "Support DB-88F6820-GP"
Chris Packham53d601f2016-09-22 12:56:13 +120069 select 88F6820
Stefan Roesec3d89142015-08-25 13:18:38 +020070
Chris Packhamc0def242016-09-22 12:56:14 +120071config TARGET_DB_88F6820_AMC
72 bool "Support DB-88F6820-AMC"
73 select 88F6820
74
Stefan Roesec3d89142015-08-25 13:18:38 +020075config TARGET_DB_MV784MP_GP
76 bool "Support db-mv784mp-gp"
Phil Sutter42902522015-12-25 14:41:22 +010077 select MV78460
Stefan Roesec3d89142015-08-25 13:18:38 +020078
Phil Sutteraefb8f42015-12-25 14:41:25 +010079config TARGET_DS414
80 bool "Support Synology DS414"
81 select MV78230
82
Stefan Roesec3d89142015-08-25 13:18:38 +020083config TARGET_MAXBCM
84 bool "Support maxbcm"
Phil Sutter42902522015-12-25 14:41:22 +010085 select MV78460
Stefan Roesec3d89142015-08-25 13:18:38 +020086
Stefan Roeseb20c38a2016-01-20 08:13:29 +010087config TARGET_THEADORABLE
88 bool "Support theadorable Armada XP"
89 select MV78260
90
Stefan Roesec3d89142015-08-25 13:18:38 +020091endchoice
92
Stefan Roeseb322c832015-12-21 13:40:37 +010093config SYS_BOARD
94 default "clearfog" if TARGET_CLEARFOG
Stefan Roese01e62c72016-05-17 15:04:16 +020095 default "mvebu_db-88f3720" if TARGET_MVEBU_DB_88F3720
Stefan Roese606576d2016-01-29 09:14:54 +010096 default "db-88f6720" if TARGET_DB_88F6720
Stefan Roeseb322c832015-12-21 13:40:37 +010097 default "db-88f6820-gp" if TARGET_DB_88F6820_GP
Chris Packhamc0def242016-09-22 12:56:14 +120098 default "db-88f6820-amc" if TARGET_DB_88F6820_AMC
Stefan Roeseb322c832015-12-21 13:40:37 +010099 default "db-mv784mp-gp" if TARGET_DB_MV784MP_GP
Phil Sutteraefb8f42015-12-25 14:41:25 +0100100 default "ds414" if TARGET_DS414
Stefan Roeseb322c832015-12-21 13:40:37 +0100101 default "maxbcm" if TARGET_MAXBCM
Stefan Roeseb20c38a2016-01-20 08:13:29 +0100102 default "theadorable" if TARGET_THEADORABLE
Stefan Roeseb322c832015-12-21 13:40:37 +0100103
104config SYS_CONFIG_NAME
105 default "clearfog" if TARGET_CLEARFOG
Stefan Roese01e62c72016-05-17 15:04:16 +0200106 default "mvebu_db-88f3720" if TARGET_MVEBU_DB_88F3720
Stefan Roese606576d2016-01-29 09:14:54 +0100107 default "db-88f6720" if TARGET_DB_88F6720
Stefan Roeseb322c832015-12-21 13:40:37 +0100108 default "db-88f6820-gp" if TARGET_DB_88F6820_GP
Chris Packhamc0def242016-09-22 12:56:14 +1200109 default "db-88f6820-amc" if TARGET_DB_88F6820_AMC
Stefan Roeseb322c832015-12-21 13:40:37 +0100110 default "db-mv784mp-gp" if TARGET_DB_MV784MP_GP
Phil Sutteraefb8f42015-12-25 14:41:25 +0100111 default "ds414" if TARGET_DS414
Stefan Roeseb322c832015-12-21 13:40:37 +0100112 default "maxbcm" if TARGET_MAXBCM
Stefan Roeseb20c38a2016-01-20 08:13:29 +0100113 default "theadorable" if TARGET_THEADORABLE
Stefan Roeseb322c832015-12-21 13:40:37 +0100114
115config SYS_VENDOR
116 default "Marvell" if TARGET_DB_MV784MP_GP
Stefan Roese01e62c72016-05-17 15:04:16 +0200117 default "Marvell" if TARGET_MVEBU_DB_88F3720
Stefan Roese606576d2016-01-29 09:14:54 +0100118 default "Marvell" if TARGET_DB_88F6720
Stefan Roeseb322c832015-12-21 13:40:37 +0100119 default "Marvell" if TARGET_DB_88F6820_GP
Chris Packhamc0def242016-09-22 12:56:14 +1200120 default "Marvell" if TARGET_DB_88F6820_AMC
Stefan Roeseb322c832015-12-21 13:40:37 +0100121 default "solidrun" if TARGET_CLEARFOG
Phil Sutteraefb8f42015-12-25 14:41:25 +0100122 default "Synology" if TARGET_DS414
Stefan Roeseb322c832015-12-21 13:40:37 +0100123
Stefan Roesec3d89142015-08-25 13:18:38 +0200124config SYS_SOC
125 default "mvebu"
126
Stefan Roesec3d89142015-08-25 13:18:38 +0200127endif