Stefan Roese | c3d8914 | 2015-08-25 13:18:38 +0200 | [diff] [blame] | 1 | if ARCH_MVEBU |
2 | |||||
Stefan Roese | f61aefc | 2016-05-17 15:00:30 +0200 | [diff] [blame] | 3 | config 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 | |||||
12 | config ARMADA_64BIT | ||||
13 | bool | ||||
14 | select ARM64 | ||||
15 | |||||
16 | # ARMv7 SoCs... | ||||
Stefan Roese | 606576d | 2016-01-29 09:14:54 +0100 | [diff] [blame] | 17 | config ARMADA_375 |
18 | bool | ||||
Stefan Roese | f61aefc | 2016-05-17 15:00:30 +0200 | [diff] [blame] | 19 | select ARMADA_32BIT |
Stefan Roese | 606576d | 2016-01-29 09:14:54 +0100 | [diff] [blame] | 20 | |
Stefan Roese | 81e33f4 | 2015-12-21 13:56:33 +0100 | [diff] [blame] | 21 | config ARMADA_38X |
22 | bool | ||||
Stefan Roese | f61aefc | 2016-05-17 15:00:30 +0200 | [diff] [blame] | 23 | select ARMADA_32BIT |
Stefan Roese | 81e33f4 | 2015-12-21 13:56:33 +0100 | [diff] [blame] | 24 | |
25 | config ARMADA_XP | ||||
26 | bool | ||||
Stefan Roese | f61aefc | 2016-05-17 15:00:30 +0200 | [diff] [blame] | 27 | select ARMADA_32BIT |
Stefan Roese | 81e33f4 | 2015-12-21 13:56:33 +0100 | [diff] [blame] | 28 | |
Stefan Roese | f61aefc | 2016-05-17 15:00:30 +0200 | [diff] [blame] | 29 | # ARMv8 SoCs... |
30 | config ARMADA_3700 | ||||
31 | bool | ||||
32 | select ARM64 | ||||
33 | |||||
Stefan Roese | 21b29fc | 2016-05-25 08:13:45 +0200 | [diff] [blame] | 34 | # Armada 7K and 8K are very similar - use only one Kconfig symbol for both |
35 | config ARMADA_8K | ||||
36 | bool | ||||
37 | select ARM64 | ||||
38 | |||||
Stefan Roese | f61aefc | 2016-05-17 15:00:30 +0200 | [diff] [blame] | 39 | # Armada XP/38x SoC types... |
Phil Sutter | 4290252 | 2015-12-25 14:41:22 +0100 | [diff] [blame] | 40 | config MV78230 |
41 | bool | ||||
42 | select ARMADA_XP | ||||
43 | |||||
44 | config MV78260 | ||||
45 | bool | ||||
46 | select ARMADA_XP | ||||
47 | |||||
48 | config MV78460 | ||||
49 | bool | ||||
50 | select ARMADA_XP | ||||
51 | |||||
Chris Packham | 53d601f | 2016-09-22 12:56:13 +1200 | [diff] [blame] | 52 | config 88F6820 |
Phil Sutter | 4290252 | 2015-12-25 14:41:22 +0100 | [diff] [blame] | 53 | bool |
54 | select ARMADA_38X | ||||
55 | |||||
Stefan Roese | c3d8914 | 2015-08-25 13:18:38 +0200 | [diff] [blame] | 56 | choice |
Stefan Roese | 21b29fc | 2016-05-25 08:13:45 +0200 | [diff] [blame] | 57 | prompt "Armada XP/375/38x/3700/7K/8K board select" |
Stefan Roese | c3d8914 | 2015-08-25 13:18:38 +0200 | [diff] [blame] | 58 | optional |
59 | |||||
Stefan Roese | 0299c90 | 2015-10-20 15:14:47 +0200 | [diff] [blame] | 60 | config TARGET_CLEARFOG |
61 | bool "Support ClearFog" | ||||
Chris Packham | 53d601f | 2016-09-22 12:56:13 +1200 | [diff] [blame] | 62 | select 88F6820 |
Stefan Roese | 0299c90 | 2015-10-20 15:14:47 +0200 | [diff] [blame] | 63 | |
Stefan Roese | 01e62c7 | 2016-05-17 15:04:16 +0200 | [diff] [blame] | 64 | config TARGET_MVEBU_DB_88F3720 |
65 | bool "Support DB-88F3720 Armada 3720" | ||||
66 | select ARMADA_3700 | ||||
67 | |||||
Stefan Roese | 606576d | 2016-01-29 09:14:54 +0100 | [diff] [blame] | 68 | config TARGET_DB_88F6720 |
69 | bool "Support DB-88F6720 Armada 375" | ||||
70 | select ARMADA_375 | ||||
71 | |||||
Stefan Roese | c3d8914 | 2015-08-25 13:18:38 +0200 | [diff] [blame] | 72 | config TARGET_DB_88F6820_GP |
73 | bool "Support DB-88F6820-GP" | ||||
Chris Packham | 53d601f | 2016-09-22 12:56:13 +1200 | [diff] [blame] | 74 | select 88F6820 |
Stefan Roese | c3d8914 | 2015-08-25 13:18:38 +0200 | [diff] [blame] | 75 | |
Chris Packham | c0def24 | 2016-09-22 12:56:14 +1200 | [diff] [blame] | 76 | config TARGET_DB_88F6820_AMC |
77 | bool "Support DB-88F6820-AMC" | ||||
78 | select 88F6820 | ||||
79 | |||||
Stefan Roese | 6f8c2d4 | 2016-05-25 08:21:21 +0200 | [diff] [blame^] | 80 | config TARGET_MVEBU_DB_88F7040 |
81 | bool "Support DB-88F7040 Armada 7040" | ||||
82 | select ARMADA_8K | ||||
83 | |||||
Stefan Roese | c3d8914 | 2015-08-25 13:18:38 +0200 | [diff] [blame] | 84 | config TARGET_DB_MV784MP_GP |
85 | bool "Support db-mv784mp-gp" | ||||
Phil Sutter | 4290252 | 2015-12-25 14:41:22 +0100 | [diff] [blame] | 86 | select MV78460 |
Stefan Roese | c3d8914 | 2015-08-25 13:18:38 +0200 | [diff] [blame] | 87 | |
Phil Sutter | aefb8f4 | 2015-12-25 14:41:25 +0100 | [diff] [blame] | 88 | config TARGET_DS414 |
89 | bool "Support Synology DS414" | ||||
90 | select MV78230 | ||||
91 | |||||
Stefan Roese | c3d8914 | 2015-08-25 13:18:38 +0200 | [diff] [blame] | 92 | config TARGET_MAXBCM |
93 | bool "Support maxbcm" | ||||
Phil Sutter | 4290252 | 2015-12-25 14:41:22 +0100 | [diff] [blame] | 94 | select MV78460 |
Stefan Roese | c3d8914 | 2015-08-25 13:18:38 +0200 | [diff] [blame] | 95 | |
Stefan Roese | b20c38a | 2016-01-20 08:13:29 +0100 | [diff] [blame] | 96 | config TARGET_THEADORABLE |
97 | bool "Support theadorable Armada XP" | ||||
98 | select MV78260 | ||||
99 | |||||
Stefan Roese | c3d8914 | 2015-08-25 13:18:38 +0200 | [diff] [blame] | 100 | endchoice |
101 | |||||
Stefan Roese | b322c83 | 2015-12-21 13:40:37 +0100 | [diff] [blame] | 102 | config SYS_BOARD |
103 | default "clearfog" if TARGET_CLEARFOG | ||||
Stefan Roese | 01e62c7 | 2016-05-17 15:04:16 +0200 | [diff] [blame] | 104 | default "mvebu_db-88f3720" if TARGET_MVEBU_DB_88F3720 |
Stefan Roese | 606576d | 2016-01-29 09:14:54 +0100 | [diff] [blame] | 105 | default "db-88f6720" if TARGET_DB_88F6720 |
Stefan Roese | b322c83 | 2015-12-21 13:40:37 +0100 | [diff] [blame] | 106 | default "db-88f6820-gp" if TARGET_DB_88F6820_GP |
Chris Packham | c0def24 | 2016-09-22 12:56:14 +1200 | [diff] [blame] | 107 | default "db-88f6820-amc" if TARGET_DB_88F6820_AMC |
Stefan Roese | 6f8c2d4 | 2016-05-25 08:21:21 +0200 | [diff] [blame^] | 108 | default "mvebu_db-88f7040" if TARGET_MVEBU_DB_88F7040 |
Stefan Roese | b322c83 | 2015-12-21 13:40:37 +0100 | [diff] [blame] | 109 | default "db-mv784mp-gp" if TARGET_DB_MV784MP_GP |
Phil Sutter | aefb8f4 | 2015-12-25 14:41:25 +0100 | [diff] [blame] | 110 | default "ds414" if TARGET_DS414 |
Stefan Roese | b322c83 | 2015-12-21 13:40:37 +0100 | [diff] [blame] | 111 | default "maxbcm" if TARGET_MAXBCM |
Stefan Roese | b20c38a | 2016-01-20 08:13:29 +0100 | [diff] [blame] | 112 | default "theadorable" if TARGET_THEADORABLE |
Stefan Roese | b322c83 | 2015-12-21 13:40:37 +0100 | [diff] [blame] | 113 | |
114 | config SYS_CONFIG_NAME | ||||
115 | default "clearfog" if TARGET_CLEARFOG | ||||
Stefan Roese | 01e62c7 | 2016-05-17 15:04:16 +0200 | [diff] [blame] | 116 | default "mvebu_db-88f3720" if TARGET_MVEBU_DB_88F3720 |
Stefan Roese | 606576d | 2016-01-29 09:14:54 +0100 | [diff] [blame] | 117 | default "db-88f6720" if TARGET_DB_88F6720 |
Stefan Roese | b322c83 | 2015-12-21 13:40:37 +0100 | [diff] [blame] | 118 | default "db-88f6820-gp" if TARGET_DB_88F6820_GP |
Chris Packham | c0def24 | 2016-09-22 12:56:14 +1200 | [diff] [blame] | 119 | default "db-88f6820-amc" if TARGET_DB_88F6820_AMC |
Stefan Roese | 6f8c2d4 | 2016-05-25 08:21:21 +0200 | [diff] [blame^] | 120 | default "mvebu_db-88f7040" if TARGET_MVEBU_DB_88F7040 |
Stefan Roese | b322c83 | 2015-12-21 13:40:37 +0100 | [diff] [blame] | 121 | default "db-mv784mp-gp" if TARGET_DB_MV784MP_GP |
Phil Sutter | aefb8f4 | 2015-12-25 14:41:25 +0100 | [diff] [blame] | 122 | default "ds414" if TARGET_DS414 |
Stefan Roese | b322c83 | 2015-12-21 13:40:37 +0100 | [diff] [blame] | 123 | default "maxbcm" if TARGET_MAXBCM |
Stefan Roese | b20c38a | 2016-01-20 08:13:29 +0100 | [diff] [blame] | 124 | default "theadorable" if TARGET_THEADORABLE |
Stefan Roese | b322c83 | 2015-12-21 13:40:37 +0100 | [diff] [blame] | 125 | |
126 | config SYS_VENDOR | ||||
127 | default "Marvell" if TARGET_DB_MV784MP_GP | ||||
Stefan Roese | 01e62c7 | 2016-05-17 15:04:16 +0200 | [diff] [blame] | 128 | default "Marvell" if TARGET_MVEBU_DB_88F3720 |
Stefan Roese | 606576d | 2016-01-29 09:14:54 +0100 | [diff] [blame] | 129 | default "Marvell" if TARGET_DB_88F6720 |
Stefan Roese | b322c83 | 2015-12-21 13:40:37 +0100 | [diff] [blame] | 130 | default "Marvell" if TARGET_DB_88F6820_GP |
Chris Packham | c0def24 | 2016-09-22 12:56:14 +1200 | [diff] [blame] | 131 | default "Marvell" if TARGET_DB_88F6820_AMC |
Stefan Roese | 6f8c2d4 | 2016-05-25 08:21:21 +0200 | [diff] [blame^] | 132 | default "Marvell" if TARGET_MVEBU_DB_88F7040 |
Stefan Roese | b322c83 | 2015-12-21 13:40:37 +0100 | [diff] [blame] | 133 | default "solidrun" if TARGET_CLEARFOG |
Phil Sutter | aefb8f4 | 2015-12-25 14:41:25 +0100 | [diff] [blame] | 134 | default "Synology" if TARGET_DS414 |
Stefan Roese | b322c83 | 2015-12-21 13:40:37 +0100 | [diff] [blame] | 135 | |
Stefan Roese | c3d8914 | 2015-08-25 13:18:38 +0200 | [diff] [blame] | 136 | config SYS_SOC |
137 | default "mvebu" | ||||
138 | |||||
Stefan Roese | c3d8914 | 2015-08-25 13:18:38 +0200 | [diff] [blame] | 139 | endif |