Stefan Roese | c3d8914 | 2015-08-25 13:18:38 +0200 | [diff] [blame] | 1 | if ARCH_MVEBU |
| 2 | |
Mario Six | a1b6b0a | 2017-01-11 16:01:00 +0100 | [diff] [blame] | 3 | config HAVE_MVEBU_EFUSE |
| 4 | bool |
Mario Six | a1b6b0a | 2017-01-11 16:01:00 +0100 | [diff] [blame] | 5 | |
Stefan Roese | f61aefc | 2016-05-17 15:00:30 +0200 | [diff] [blame] | 6 | config ARMADA_32BIT |
| 7 | bool |
Michal Simek | 58008cb | 2018-07-23 15:55:15 +0200 | [diff] [blame] | 8 | select ARCH_MISC_INIT |
| 9 | select BOARD_EARLY_INIT_F |
Lokesh Vutla | acf1500 | 2018-04-26 18:21:26 +0530 | [diff] [blame] | 10 | select CPU_V7A |
Stefan Roese | 237b629 | 2019-04-11 08:58:32 +0200 | [diff] [blame] | 11 | select SPL_DM if SPL |
| 12 | select SPL_DM_SEQ_ALIAS if SPL |
| 13 | select SPL_OF_CONTROL if SPL |
Tom Rini | 7609e02 | 2021-10-15 10:54:41 -0400 | [diff] [blame] | 14 | select SPL_SKIP_LOWLEVEL_INIT if SPL |
Stefan Roese | 237b629 | 2019-04-11 08:58:32 +0200 | [diff] [blame] | 15 | select SPL_SIMPLE_BUS if SPL |
Michal Simek | 58008cb | 2018-07-23 15:55:15 +0200 | [diff] [blame] | 16 | select SUPPORT_SPL |
Stefan Roese | f2100f6 | 2019-04-12 16:42:28 +0200 | [diff] [blame] | 17 | select TRANSLATION_OFFSET |
Pali Rohár | 2975bba | 2022-04-06 16:20:20 +0200 | [diff] [blame] | 18 | select SPL_SYS_NO_VECTOR_TABLE if SPL |
Pali Rohár | 5bb2c55 | 2022-05-06 11:05:14 +0200 | [diff] [blame] | 19 | select ARCH_VERY_EARLY_INIT |
Stefan Roese | f61aefc | 2016-05-17 15:00:30 +0200 | [diff] [blame] | 20 | |
Stefan Roese | f61aefc | 2016-05-17 15:00:30 +0200 | [diff] [blame] | 21 | # ARMv7 SoCs... |
Stefan Roese | 606576d | 2016-01-29 09:14:54 +0100 | [diff] [blame] | 22 | config ARMADA_375 |
| 23 | bool |
Stefan Roese | f61aefc | 2016-05-17 15:00:30 +0200 | [diff] [blame] | 24 | select ARMADA_32BIT |
Stefan Roese | 606576d | 2016-01-29 09:14:54 +0100 | [diff] [blame] | 25 | |
Stefan Roese | 81e33f4 | 2015-12-21 13:56:33 +0100 | [diff] [blame] | 26 | config ARMADA_38X |
| 27 | bool |
Stefan Roese | f61aefc | 2016-05-17 15:00:30 +0200 | [diff] [blame] | 28 | select ARMADA_32BIT |
Mario Six | a1b6b0a | 2017-01-11 16:01:00 +0100 | [diff] [blame] | 29 | select HAVE_MVEBU_EFUSE |
Stefan Roese | 81e33f4 | 2015-12-21 13:56:33 +0100 | [diff] [blame] | 30 | |
Joshua Scott | 28f0cbc | 2020-11-09 10:14:08 +1300 | [diff] [blame] | 31 | config ARMADA_38X_HS_IMPEDANCE_THRESH |
| 32 | hex "Armada 38x USB 2.0 High-Speed Impedance Threshold (0x0 - 0x7)" |
| 33 | depends on ARMADA_38X |
| 34 | default 0x6 |
| 35 | range 0x0 0x7 |
| 36 | |
Stefan Roese | 81e33f4 | 2015-12-21 13:56:33 +0100 | [diff] [blame] | 37 | config ARMADA_XP |
| 38 | bool |
Stefan Roese | f61aefc | 2016-05-17 15:00:30 +0200 | [diff] [blame] | 39 | select ARMADA_32BIT |
Stefan Roese | 81e33f4 | 2015-12-21 13:56:33 +0100 | [diff] [blame] | 40 | |
Stefan Roese | f61aefc | 2016-05-17 15:00:30 +0200 | [diff] [blame] | 41 | # ARMv8 SoCs... |
| 42 | config ARMADA_3700 |
| 43 | bool |
| 44 | select ARM64 |
Pali Rohár | 10154b8 | 2022-02-23 14:15:45 +0100 | [diff] [blame] | 45 | select HAVE_MVEBU_EFUSE |
Stefan Roese | f61aefc | 2016-05-17 15:00:30 +0200 | [diff] [blame] | 46 | |
Stefan Roese | 21b29fc | 2016-05-25 08:13:45 +0200 | [diff] [blame] | 47 | # Armada 7K and 8K are very similar - use only one Kconfig symbol for both |
| 48 | config ARMADA_8K |
| 49 | bool |
| 50 | select ARM64 |
| 51 | |
Chris Packham | a53d97a | 2016-10-26 14:08:30 +1300 | [diff] [blame] | 52 | # Armada PLL frequency (used for NAND clock generation) |
| 53 | config SYS_MVEBU_PLL_CLOCK |
| 54 | int |
Chris Packham | 0d0df46 | 2019-04-11 22:22:50 +1200 | [diff] [blame] | 55 | default "2000000000" if ARMADA_XP || ARMADA_3700 || ARMADA_8K || ARMADA_MSYS |
Chris Packham | a53d97a | 2016-10-26 14:08:30 +1300 | [diff] [blame] | 56 | default "1000000000" if ARMADA_38X || ARMADA_375 |
| 57 | |
Stefan Roese | f61aefc | 2016-05-17 15:00:30 +0200 | [diff] [blame] | 58 | # Armada XP/38x SoC types... |
Phil Sutter | 4290252 | 2015-12-25 14:41:22 +0100 | [diff] [blame] | 59 | config MV78230 |
| 60 | bool |
| 61 | select ARMADA_XP |
| 62 | |
| 63 | config MV78260 |
| 64 | bool |
| 65 | select ARMADA_XP |
Simon Glass | 3bf926c | 2017-06-14 21:28:24 -0600 | [diff] [blame] | 66 | imply CMD_SATA |
Phil Sutter | 4290252 | 2015-12-25 14:41:22 +0100 | [diff] [blame] | 67 | |
| 68 | config MV78460 |
| 69 | bool |
| 70 | select ARMADA_XP |
| 71 | |
Chris Packham | 0d0df46 | 2019-04-11 22:22:50 +1200 | [diff] [blame] | 72 | config ARMADA_MSYS |
| 73 | bool |
| 74 | select ARMADA_32BIT |
| 75 | |
| 76 | config 98DX4251 |
| 77 | bool |
| 78 | select ARMADA_MSYS |
| 79 | |
| 80 | config 98DX3336 |
| 81 | bool |
| 82 | select ARMADA_MSYS |
| 83 | |
| 84 | config 98DX3236 |
| 85 | bool |
| 86 | select ARMADA_MSYS |
| 87 | |
Chris Packham | 53d601f | 2016-09-22 12:56:13 +1200 | [diff] [blame] | 88 | config 88F6820 |
Phil Sutter | 4290252 | 2015-12-25 14:41:22 +0100 | [diff] [blame] | 89 | bool |
| 90 | select ARMADA_38X |
| 91 | |
Tom Rini | 53dbf11 | 2022-03-30 18:07:24 -0400 | [diff] [blame] | 92 | config CUSTOMER_BOARD_SUPPORT |
| 93 | bool |
| 94 | |
Stefan Roese | c3d8914 | 2015-08-25 13:18:38 +0200 | [diff] [blame] | 95 | choice |
Stefan Roese | 21b29fc | 2016-05-25 08:13:45 +0200 | [diff] [blame] | 96 | prompt "Armada XP/375/38x/3700/7K/8K board select" |
Stefan Roese | c3d8914 | 2015-08-25 13:18:38 +0200 | [diff] [blame] | 97 | optional |
| 98 | |
Stefan Roese | 0299c90 | 2015-10-20 15:14:47 +0200 | [diff] [blame] | 99 | config TARGET_CLEARFOG |
| 100 | bool "Support ClearFog" |
Chris Packham | 53d601f | 2016-09-22 12:56:13 +1200 | [diff] [blame] | 101 | select 88F6820 |
Baruch Siach | 867572f | 2020-01-20 14:20:13 +0200 | [diff] [blame] | 102 | select BOARD_LATE_INIT |
Stefan Roese | 0299c90 | 2015-10-20 15:14:47 +0200 | [diff] [blame] | 103 | |
Dennis Gilmore | ae28a5f | 2018-06-11 19:39:53 -0500 | [diff] [blame] | 104 | config TARGET_HELIOS4 |
| 105 | bool "Support Helios4" |
| 106 | select 88F6820 |
| 107 | |
Konstantin Porotchkin | c5330ae | 2017-02-16 13:52:22 +0200 | [diff] [blame] | 108 | config TARGET_MVEBU_ARMADA_37XX |
| 109 | bool "Support Armada 37xx platforms" |
Stefan Roese | 01e62c7 | 2016-05-17 15:04:16 +0200 | [diff] [blame] | 110 | select ARMADA_3700 |
Simon Glass | fedb428 | 2017-06-14 21:28:21 -0600 | [diff] [blame] | 111 | imply SCSI |
Stefan Roese | 01e62c7 | 2016-05-17 15:04:16 +0200 | [diff] [blame] | 112 | |
Stefan Roese | 606576d | 2016-01-29 09:14:54 +0100 | [diff] [blame] | 113 | config TARGET_DB_88F6720 |
| 114 | bool "Support DB-88F6720 Armada 375" |
| 115 | select ARMADA_375 |
| 116 | |
Stefan Roese | c3d8914 | 2015-08-25 13:18:38 +0200 | [diff] [blame] | 117 | config TARGET_DB_88F6820_GP |
| 118 | bool "Support DB-88F6820-GP" |
Chris Packham | 53d601f | 2016-09-22 12:56:13 +1200 | [diff] [blame] | 119 | select 88F6820 |
Stefan Roese | c3d8914 | 2015-08-25 13:18:38 +0200 | [diff] [blame] | 120 | |
Chris Packham | c0def24 | 2016-09-22 12:56:14 +1200 | [diff] [blame] | 121 | config TARGET_DB_88F6820_AMC |
| 122 | bool "Support DB-88F6820-AMC" |
| 123 | select 88F6820 |
| 124 | |
Marek Behún | b6ee860 | 2017-06-09 19:28:45 +0200 | [diff] [blame] | 125 | config TARGET_TURRIS_OMNIA |
| 126 | bool "Support Turris Omnia" |
| 127 | select 88F6820 |
Marek Behún | 539f024 | 2019-05-02 16:53:37 +0200 | [diff] [blame] | 128 | select BOARD_LATE_INIT |
Marek Behún | 8420edc | 2019-05-02 16:53:28 +0200 | [diff] [blame] | 129 | select DM_I2C |
| 130 | select I2C_MUX |
| 131 | select I2C_MUX_PCA954x |
Marek Behún | 6d7bfb6 | 2021-10-09 19:33:46 +0200 | [diff] [blame] | 132 | select SPL_DRIVERS_MISC |
Marek Behún | 8420edc | 2019-05-02 16:53:28 +0200 | [diff] [blame] | 133 | select SPL_I2C_MUX |
Marek Behún | 2c8a4e4 | 2021-10-09 19:33:45 +0200 | [diff] [blame] | 134 | select SPL_SYS_MALLOC_SIMPLE |
Marek Behún | 8420edc | 2019-05-02 16:53:28 +0200 | [diff] [blame] | 135 | select SYS_I2C_MVTWSI |
Marek Behún | 6b26f3e | 2019-05-02 16:53:32 +0200 | [diff] [blame] | 136 | select ATSHA204A |
Marek Behún | b6ee860 | 2017-06-09 19:28:45 +0200 | [diff] [blame] | 137 | |
Marek Behún | 80af1a9 | 2018-04-24 17:21:31 +0200 | [diff] [blame] | 138 | config TARGET_TURRIS_MOX |
| 139 | bool "Support Turris Mox" |
| 140 | select ARMADA_3700 |
| 141 | |
Stefan Roese | 633fa0e | 2016-10-25 10:56:19 +0200 | [diff] [blame] | 142 | config TARGET_MVEBU_ARMADA_8K |
| 143 | bool "Support Armada 7k/8k platforms" |
Stefan Roese | 6f8c2d4 | 2016-05-25 08:21:21 +0200 | [diff] [blame] | 144 | select ARMADA_8K |
Tom Rini | e5ec481 | 2017-01-22 19:43:11 -0500 | [diff] [blame] | 145 | select BOARD_LATE_INIT |
Simon Glass | fedb428 | 2017-06-14 21:28:21 -0600 | [diff] [blame] | 146 | imply SCSI |
Stefan Roese | 6f8c2d4 | 2016-05-25 08:21:21 +0200 | [diff] [blame] | 147 | |
Konstantin Porotchkin | c405226 | 2021-03-16 17:20:57 +0100 | [diff] [blame] | 148 | config TARGET_OCTEONTX2_CN913x |
| 149 | bool "Support CN913x platforms" |
| 150 | select ARMADA_8K |
| 151 | imply BOARD_EARLY_INIT_R |
| 152 | select BOARD_LATE_INIT |
| 153 | imply SCSI |
| 154 | |
Stefan Roese | c3d8914 | 2015-08-25 13:18:38 +0200 | [diff] [blame] | 155 | config TARGET_DB_MV784MP_GP |
| 156 | bool "Support db-mv784mp-gp" |
Tom Rini | da8592d | 2022-02-25 11:19:46 -0500 | [diff] [blame] | 157 | select BOARD_ECC_SUPPORT |
Phil Sutter | 4290252 | 2015-12-25 14:41:22 +0100 | [diff] [blame] | 158 | select MV78460 |
Stefan Roese | c3d8914 | 2015-08-25 13:18:38 +0200 | [diff] [blame] | 159 | |
Phil Sutter | aefb8f4 | 2015-12-25 14:41:25 +0100 | [diff] [blame] | 160 | config TARGET_DS414 |
| 161 | bool "Support Synology DS414" |
| 162 | select MV78230 |
| 163 | |
Stefan Roese | c3d8914 | 2015-08-25 13:18:38 +0200 | [diff] [blame] | 164 | config TARGET_MAXBCM |
| 165 | bool "Support maxbcm" |
Tom Rini | da8592d | 2022-02-25 11:19:46 -0500 | [diff] [blame] | 166 | select BOARD_ECC_SUPPORT |
Phil Sutter | 4290252 | 2015-12-25 14:41:22 +0100 | [diff] [blame] | 167 | select MV78460 |
Stefan Roese | c3d8914 | 2015-08-25 13:18:38 +0200 | [diff] [blame] | 168 | |
Stefan Roese | b20c38a | 2016-01-20 08:13:29 +0100 | [diff] [blame] | 169 | config TARGET_THEADORABLE |
| 170 | bool "Support theadorable Armada XP" |
Tom Rini | e5ec481 | 2017-01-22 19:43:11 -0500 | [diff] [blame] | 171 | select BOARD_LATE_INIT if USB |
Stefan Roese | b20c38a | 2016-01-20 08:13:29 +0100 | [diff] [blame] | 172 | select MV78260 |
Simon Glass | 3bf926c | 2017-06-14 21:28:24 -0600 | [diff] [blame] | 173 | imply CMD_SATA |
Stefan Roese | b20c38a | 2016-01-20 08:13:29 +0100 | [diff] [blame] | 174 | |
Dirk Eibach | 6008326 | 2017-02-22 16:07:23 +0100 | [diff] [blame] | 175 | config TARGET_CONTROLCENTERDC |
| 176 | bool "Support CONTROLCENTERDC" |
| 177 | select 88F6820 |
Tom Rini | 53dbf11 | 2022-03-30 18:07:24 -0400 | [diff] [blame] | 178 | select CUSTOMER_BOARD_SUPPORT |
Dirk Eibach | 6008326 | 2017-02-22 16:07:23 +0100 | [diff] [blame] | 179 | |
Chris Packham | 0e31666 | 2019-01-10 21:01:00 +1300 | [diff] [blame] | 180 | config TARGET_X530 |
| 181 | bool "Support Allied Telesis x530" |
| 182 | select 88F6820 |
| 183 | |
Chris Packham | 4db944a | 2019-04-11 22:22:53 +1200 | [diff] [blame] | 184 | config TARGET_DB_XC3_24G4XG |
| 185 | bool "Support DB-XC3-24G4XG" |
| 186 | select 98DX3336 |
| 187 | |
Luka Kovacic | df9ebbe | 2020-05-26 20:17:50 +0200 | [diff] [blame] | 188 | config TARGET_CRS3XX_98DX3236 |
| 189 | bool "Support CRS3XX-98DX3236" |
Luka Kovacic | 22bb913 | 2019-05-07 19:35:55 +0200 | [diff] [blame] | 190 | select 98DX3236 |
| 191 | |
Stefan Roese | c3d8914 | 2015-08-25 13:18:38 +0200 | [diff] [blame] | 192 | endchoice |
| 193 | |
Tom Rini | 5b527c5 | 2021-08-21 13:50:13 -0400 | [diff] [blame] | 194 | choice |
| 195 | prompt "DDR bus width" |
| 196 | default DDR_64BIT |
| 197 | depends on ARMADA_XP |
| 198 | |
| 199 | config DDR_64BIT |
| 200 | bool "64bit bus width" |
| 201 | |
| 202 | config DDR_32BIT |
| 203 | bool "32bit bus width" |
| 204 | |
| 205 | endchoice |
| 206 | |
Tom Rini | f66a3fd | 2021-08-21 13:50:15 -0400 | [diff] [blame] | 207 | config DDR_LOG_LEVEL |
| 208 | int "DDR training code log level" |
| 209 | depends on ARMADA_XP |
| 210 | default 0 |
| 211 | range 0 3 |
| 212 | help |
| 213 | Amount of information provided on error while running the DDR |
| 214 | training code. At level 0, provides an error code in a case of |
| 215 | failure, RL, WL errors and other algorithm failure. At level 1, |
| 216 | provides the D-Unit setup (SPD/Static configuration). At level 2, |
| 217 | provides the windows margin as a results of DQS centeralization. |
| 218 | At level 3, rovides the windows margin of each DQ as a results of |
| 219 | DQS centeralization. |
| 220 | |
Marek Behún | 871ee66 | 2022-02-17 13:54:42 +0100 | [diff] [blame] | 221 | config DDR_RESET_ON_TRAINING_FAILURE |
| 222 | bool "Reset the board on DDR training failure instead of hanging" |
| 223 | depends on ARMADA_38X || ARMADA_XP |
| 224 | help |
| 225 | If DDR training fails in SPL, reset the board instead of hanging. |
| 226 | Some boards are known to fail DDR training occasionally and an |
| 227 | immediate reset may be preferable to waiting until the board is |
| 228 | reset by watchdog (if there even is one). |
| 229 | |
| 230 | Note that if booting via UART and the DDR training fails, the |
| 231 | device will still hang - it doesn't make sense to reset the board |
| 232 | in such a case. |
| 233 | |
Tom Rini | da8592d | 2022-02-25 11:19:46 -0500 | [diff] [blame] | 234 | config BOARD_ECC_SUPPORT |
| 235 | bool |
| 236 | |
Stefan Roese | b322c83 | 2015-12-21 13:40:37 +0100 | [diff] [blame] | 237 | config SYS_BOARD |
| 238 | default "clearfog" if TARGET_CLEARFOG |
Dennis Gilmore | ae28a5f | 2018-06-11 19:39:53 -0500 | [diff] [blame] | 239 | default "helios4" if TARGET_HELIOS4 |
Konstantin Porotchkin | c5330ae | 2017-02-16 13:52:22 +0200 | [diff] [blame] | 240 | default "mvebu_armada-37xx" if TARGET_MVEBU_ARMADA_37XX |
Stefan Roese | 606576d | 2016-01-29 09:14:54 +0100 | [diff] [blame] | 241 | default "db-88f6720" if TARGET_DB_88F6720 |
Stefan Roese | b322c83 | 2015-12-21 13:40:37 +0100 | [diff] [blame] | 242 | default "db-88f6820-gp" if TARGET_DB_88F6820_GP |
Chris Packham | c0def24 | 2016-09-22 12:56:14 +1200 | [diff] [blame] | 243 | default "db-88f6820-amc" if TARGET_DB_88F6820_AMC |
Marek Behún | b6ee860 | 2017-06-09 19:28:45 +0200 | [diff] [blame] | 244 | default "turris_omnia" if TARGET_TURRIS_OMNIA |
Marek Behún | 80af1a9 | 2018-04-24 17:21:31 +0200 | [diff] [blame] | 245 | default "turris_mox" if TARGET_TURRIS_MOX |
Stefan Roese | 633fa0e | 2016-10-25 10:56:19 +0200 | [diff] [blame] | 246 | default "mvebu_armada-8k" if TARGET_MVEBU_ARMADA_8K |
Konstantin Porotchkin | c405226 | 2021-03-16 17:20:57 +0100 | [diff] [blame] | 247 | default "octeontx2_cn913x" if TARGET_OCTEONTX2_CN913x |
Stefan Roese | b322c83 | 2015-12-21 13:40:37 +0100 | [diff] [blame] | 248 | default "db-mv784mp-gp" if TARGET_DB_MV784MP_GP |
Phil Sutter | aefb8f4 | 2015-12-25 14:41:25 +0100 | [diff] [blame] | 249 | default "ds414" if TARGET_DS414 |
Stefan Roese | b322c83 | 2015-12-21 13:40:37 +0100 | [diff] [blame] | 250 | default "maxbcm" if TARGET_MAXBCM |
Stefan Roese | b20c38a | 2016-01-20 08:13:29 +0100 | [diff] [blame] | 251 | default "theadorable" if TARGET_THEADORABLE |
Baruch Siach | d38f04f | 2018-06-18 21:56:23 +0300 | [diff] [blame] | 252 | default "a38x" if TARGET_CONTROLCENTERDC |
Chris Packham | 0e31666 | 2019-01-10 21:01:00 +1300 | [diff] [blame] | 253 | default "x530" if TARGET_X530 |
Chris Packham | 4db944a | 2019-04-11 22:22:53 +1200 | [diff] [blame] | 254 | default "db-xc3-24g4xg" if TARGET_DB_XC3_24G4XG |
Luka Kovacic | df9ebbe | 2020-05-26 20:17:50 +0200 | [diff] [blame] | 255 | default "crs3xx-98dx3236" if TARGET_CRS3XX_98DX3236 |
Stefan Roese | b322c83 | 2015-12-21 13:40:37 +0100 | [diff] [blame] | 256 | |
| 257 | config SYS_CONFIG_NAME |
| 258 | default "clearfog" if TARGET_CLEARFOG |
Dennis Gilmore | ae28a5f | 2018-06-11 19:39:53 -0500 | [diff] [blame] | 259 | default "helios4" if TARGET_HELIOS4 |
Konstantin Porotchkin | c5330ae | 2017-02-16 13:52:22 +0200 | [diff] [blame] | 260 | default "mvebu_armada-37xx" if TARGET_MVEBU_ARMADA_37XX |
Stefan Roese | 606576d | 2016-01-29 09:14:54 +0100 | [diff] [blame] | 261 | default "db-88f6720" if TARGET_DB_88F6720 |
Stefan Roese | b322c83 | 2015-12-21 13:40:37 +0100 | [diff] [blame] | 262 | default "db-88f6820-gp" if TARGET_DB_88F6820_GP |
Chris Packham | c0def24 | 2016-09-22 12:56:14 +1200 | [diff] [blame] | 263 | default "db-88f6820-amc" if TARGET_DB_88F6820_AMC |
Stefan Roese | 633fa0e | 2016-10-25 10:56:19 +0200 | [diff] [blame] | 264 | default "mvebu_armada-8k" if TARGET_MVEBU_ARMADA_8K |
Konstantin Porotchkin | c405226 | 2021-03-16 17:20:57 +0100 | [diff] [blame] | 265 | default "mvebu_armada-8k" if TARGET_OCTEONTX2_CN913x |
Stefan Roese | b322c83 | 2015-12-21 13:40:37 +0100 | [diff] [blame] | 266 | default "db-mv784mp-gp" if TARGET_DB_MV784MP_GP |
Phil Sutter | aefb8f4 | 2015-12-25 14:41:25 +0100 | [diff] [blame] | 267 | default "ds414" if TARGET_DS414 |
Stefan Roese | b322c83 | 2015-12-21 13:40:37 +0100 | [diff] [blame] | 268 | default "maxbcm" if TARGET_MAXBCM |
Stefan Roese | b20c38a | 2016-01-20 08:13:29 +0100 | [diff] [blame] | 269 | default "theadorable" if TARGET_THEADORABLE |
Marek Behún | b6ee860 | 2017-06-09 19:28:45 +0200 | [diff] [blame] | 270 | default "turris_omnia" if TARGET_TURRIS_OMNIA |
Marek Behún | 80af1a9 | 2018-04-24 17:21:31 +0200 | [diff] [blame] | 271 | default "turris_mox" if TARGET_TURRIS_MOX |
Baruch Siach | d38f04f | 2018-06-18 21:56:23 +0300 | [diff] [blame] | 272 | default "controlcenterdc" if TARGET_CONTROLCENTERDC |
Chris Packham | 0e31666 | 2019-01-10 21:01:00 +1300 | [diff] [blame] | 273 | default "x530" if TARGET_X530 |
Chris Packham | 4db944a | 2019-04-11 22:22:53 +1200 | [diff] [blame] | 274 | default "db-xc3-24g4xg" if TARGET_DB_XC3_24G4XG |
Luka Kovacic | df9ebbe | 2020-05-26 20:17:50 +0200 | [diff] [blame] | 275 | default "crs3xx-98dx3236" if TARGET_CRS3XX_98DX3236 |
Stefan Roese | b322c83 | 2015-12-21 13:40:37 +0100 | [diff] [blame] | 276 | |
| 277 | config SYS_VENDOR |
| 278 | default "Marvell" if TARGET_DB_MV784MP_GP |
Konstantin Porotchkin | c5330ae | 2017-02-16 13:52:22 +0200 | [diff] [blame] | 279 | default "Marvell" if TARGET_MVEBU_ARMADA_37XX |
Stefan Roese | 606576d | 2016-01-29 09:14:54 +0100 | [diff] [blame] | 280 | default "Marvell" if TARGET_DB_88F6720 |
Stefan Roese | b322c83 | 2015-12-21 13:40:37 +0100 | [diff] [blame] | 281 | default "Marvell" if TARGET_DB_88F6820_GP |
Chris Packham | c0def24 | 2016-09-22 12:56:14 +1200 | [diff] [blame] | 282 | default "Marvell" if TARGET_DB_88F6820_AMC |
Stefan Roese | 633fa0e | 2016-10-25 10:56:19 +0200 | [diff] [blame] | 283 | default "Marvell" if TARGET_MVEBU_ARMADA_8K |
Konstantin Porotchkin | c405226 | 2021-03-16 17:20:57 +0100 | [diff] [blame] | 284 | default "Marvell" if TARGET_OCTEONTX2_CN913x |
Chris Packham | 4db944a | 2019-04-11 22:22:53 +1200 | [diff] [blame] | 285 | default "Marvell" if TARGET_DB_XC3_24G4XG |
| 286 | default "Marvell" if TARGET_MVEBU_DB_88F7040 |
Stefan Roese | b322c83 | 2015-12-21 13:40:37 +0100 | [diff] [blame] | 287 | default "solidrun" if TARGET_CLEARFOG |
Dennis Gilmore | ae28a5f | 2018-06-11 19:39:53 -0500 | [diff] [blame] | 288 | default "kobol" if TARGET_HELIOS4 |
Phil Sutter | aefb8f4 | 2015-12-25 14:41:25 +0100 | [diff] [blame] | 289 | default "Synology" if TARGET_DS414 |
Marek Behún | b6ee860 | 2017-06-09 19:28:45 +0200 | [diff] [blame] | 290 | default "CZ.NIC" if TARGET_TURRIS_OMNIA |
Marek Behún | 80af1a9 | 2018-04-24 17:21:31 +0200 | [diff] [blame] | 291 | default "CZ.NIC" if TARGET_TURRIS_MOX |
Baruch Siach | d38f04f | 2018-06-18 21:56:23 +0300 | [diff] [blame] | 292 | default "gdsys" if TARGET_CONTROLCENTERDC |
Chris Packham | 0e31666 | 2019-01-10 21:01:00 +1300 | [diff] [blame] | 293 | default "alliedtelesis" if TARGET_X530 |
Luka Kovacic | df9ebbe | 2020-05-26 20:17:50 +0200 | [diff] [blame] | 294 | default "mikrotik" if TARGET_CRS3XX_98DX3236 |
Stefan Roese | b322c83 | 2015-12-21 13:40:37 +0100 | [diff] [blame] | 295 | |
Stefan Roese | c3d8914 | 2015-08-25 13:18:38 +0200 | [diff] [blame] | 296 | config SYS_SOC |
| 297 | default "mvebu" |
| 298 | |
Marek Behún | b6ee860 | 2017-06-09 19:28:45 +0200 | [diff] [blame] | 299 | choice |
Baruch Siach | ad105f5 | 2018-06-18 21:56:24 +0300 | [diff] [blame] | 300 | prompt "Boot method" |
Joel Johnson | ab2f757 | 2020-04-17 01:19:05 -0600 | [diff] [blame] | 301 | depends on SPL |
Marek Behún | b6ee860 | 2017-06-09 19:28:45 +0200 | [diff] [blame] | 302 | |
Baruch Siach | ad105f5 | 2018-06-18 21:56:24 +0300 | [diff] [blame] | 303 | config MVEBU_SPL_BOOT_DEVICE_SPI |
Marek Behún | b6ee860 | 2017-06-09 19:28:45 +0200 | [diff] [blame] | 304 | bool "SPI NOR flash" |
Joel Johnson | ab2f757 | 2020-04-17 01:19:05 -0600 | [diff] [blame] | 305 | imply ENV_IS_IN_SPI_FLASH |
Pali Rohár | 2226ca1 | 2021-07-23 11:14:29 +0200 | [diff] [blame] | 306 | imply SPL_DM_SPI |
| 307 | imply SPL_SPI_FLASH_SUPPORT |
| 308 | imply SPL_SPI_LOAD |
Simon Glass | ea2ca7e | 2021-08-08 12:20:14 -0600 | [diff] [blame] | 309 | imply SPL_SPI |
Pali Rohár | 9d0225b | 2021-07-23 11:14:25 +0200 | [diff] [blame] | 310 | select SPL_BOOTROM_SUPPORT |
Marek Behún | b6ee860 | 2017-06-09 19:28:45 +0200 | [diff] [blame] | 311 | |
Baruch Siach | ad105f5 | 2018-06-18 21:56:24 +0300 | [diff] [blame] | 312 | config MVEBU_SPL_BOOT_DEVICE_MMC |
Marek Behún | b6ee860 | 2017-06-09 19:28:45 +0200 | [diff] [blame] | 313 | bool "SDIO/MMC card" |
Joel Johnson | ab2f757 | 2020-04-17 01:19:05 -0600 | [diff] [blame] | 314 | imply ENV_IS_IN_MMC |
| 315 | # GPIO needed for eMMC/SD card presence detection |
Pali Rohár | 2226ca1 | 2021-07-23 11:14:29 +0200 | [diff] [blame] | 316 | imply SPL_DM_GPIO |
| 317 | imply SPL_DM_MMC |
| 318 | imply SPL_GPIO |
| 319 | imply SPL_LIBDISK_SUPPORT |
Simon Glass | 103c5f1 | 2021-08-08 12:20:09 -0600 | [diff] [blame] | 320 | imply SPL_MMC |
Pali Rohár | 9d0225b | 2021-07-23 11:14:25 +0200 | [diff] [blame] | 321 | select SPL_BOOTROM_SUPPORT |
Marek Behún | b6ee860 | 2017-06-09 19:28:45 +0200 | [diff] [blame] | 322 | |
Baruch Siach | 22c6545 | 2019-05-16 13:03:58 +0300 | [diff] [blame] | 323 | config MVEBU_SPL_BOOT_DEVICE_SATA |
| 324 | bool "SATA" |
Simon Glass | f756037 | 2021-08-08 12:20:17 -0600 | [diff] [blame] | 325 | imply SPL_SATA |
Pali Rohár | 2226ca1 | 2021-07-23 11:14:29 +0200 | [diff] [blame] | 326 | imply SPL_LIBDISK_SUPPORT |
Pali Rohár | 9d0225b | 2021-07-23 11:14:25 +0200 | [diff] [blame] | 327 | select SPL_BOOTROM_SUPPORT |
Baruch Siach | 22c6545 | 2019-05-16 13:03:58 +0300 | [diff] [blame] | 328 | |
Baruch Siach | 72c4e67 | 2018-06-18 21:56:26 +0300 | [diff] [blame] | 329 | config MVEBU_SPL_BOOT_DEVICE_UART |
| 330 | bool "UART" |
Pali Rohár | 9d0225b | 2021-07-23 11:14:25 +0200 | [diff] [blame] | 331 | select SPL_BOOTROM_SUPPORT |
Baruch Siach | 72c4e67 | 2018-06-18 21:56:26 +0300 | [diff] [blame] | 332 | |
Marek Behún | b6ee860 | 2017-06-09 19:28:45 +0200 | [diff] [blame] | 333 | endchoice |
| 334 | |
Mario Six | a1b6b0a | 2017-01-11 16:01:00 +0100 | [diff] [blame] | 335 | config MVEBU_EFUSE |
| 336 | bool "Enable eFuse support" |
Mario Six | a1b6b0a | 2017-01-11 16:01:00 +0100 | [diff] [blame] | 337 | depends on HAVE_MVEBU_EFUSE |
| 338 | help |
| 339 | Enable support for reading and writing eFuses on mvebu SoCs. |
| 340 | |
| 341 | config MVEBU_EFUSE_FAKE |
| 342 | bool "Fake eFuse access (dry run)" |
Mario Six | a1b6b0a | 2017-01-11 16:01:00 +0100 | [diff] [blame] | 343 | depends on MVEBU_EFUSE |
| 344 | help |
| 345 | This enables a "dry run" mode where eFuses are not really programmed. |
| 346 | Instead the eFuse accesses are emulated by writing to and reading |
| 347 | from a memory block. |
| 348 | This is can be used for testing prog scripts. |
| 349 | |
| 350 | config SECURED_MODE_IMAGE |
| 351 | bool "Build image for trusted boot" |
| 352 | default false |
| 353 | depends on 88F6820 |
| 354 | help |
| 355 | Build an image that employs the ARMADA SoC's trusted boot framework |
| 356 | for securely booting images. |
| 357 | |
| 358 | config SECURED_MODE_CSK_INDEX |
| 359 | int "Index of active CSK" |
| 360 | default 0 |
| 361 | depends on SECURED_MODE_IMAGE |
| 362 | |
Joel Johnson | 9f205d6 | 2020-03-23 14:21:32 -0600 | [diff] [blame] | 363 | source "board/solidrun/clearfog/Kconfig" |
Dennis Gilmore | 5a3db5d | 2020-12-08 21:07:36 -0600 | [diff] [blame] | 364 | source "board/kobol/helios4/Kconfig" |
Joel Johnson | 9f205d6 | 2020-03-23 14:21:32 -0600 | [diff] [blame] | 365 | |
Stefan Roese | c3d8914 | 2015-08-25 13:18:38 +0200 | [diff] [blame] | 366 | endif |