Stefan Roese | 383e0c1 | 2015-08-25 13:18:38 +0200 | [diff] [blame] | 1 | if ARCH_MVEBU |
| 2 | |
Mario Six | 10d1449 | 2017-01-11 16:01:00 +0100 | [diff] [blame] | 3 | config HAVE_MVEBU_EFUSE |
| 4 | bool |
Mario Six | 10d1449 | 2017-01-11 16:01:00 +0100 | [diff] [blame] | 5 | |
Stefan Roese | 05b1765 | 2016-05-17 15:00:30 +0200 | [diff] [blame] | 6 | config ARMADA_32BIT |
| 7 | bool |
Michal Simek | 7e7ba3b | 2018-07-23 15:55:15 +0200 | [diff] [blame] | 8 | select ARCH_MISC_INIT |
| 9 | select BOARD_EARLY_INIT_F |
Lokesh Vutla | 81b1a67 | 2018-04-26 18:21:26 +0530 | [diff] [blame] | 10 | select CPU_V7A |
Stefan Roese | 1f1b3e9 | 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 |
| 14 | select SPL_SIMPLE_BUS if SPL |
Michal Simek | 7e7ba3b | 2018-07-23 15:55:15 +0200 | [diff] [blame] | 15 | select SUPPORT_SPL |
Stefan Roese | 85bddff | 2019-04-12 16:42:28 +0200 | [diff] [blame] | 16 | select TRANSLATION_OFFSET |
Stefan Roese | 05b1765 | 2016-05-17 15:00:30 +0200 | [diff] [blame] | 17 | |
| 18 | config ARMADA_64BIT |
| 19 | bool |
| 20 | select ARM64 |
| 21 | |
| 22 | # ARMv7 SoCs... |
Stefan Roese | 9106ed0 | 2016-01-29 09:14:54 +0100 | [diff] [blame] | 23 | config ARMADA_375 |
| 24 | bool |
Stefan Roese | 05b1765 | 2016-05-17 15:00:30 +0200 | [diff] [blame] | 25 | select ARMADA_32BIT |
Stefan Roese | 9106ed0 | 2016-01-29 09:14:54 +0100 | [diff] [blame] | 26 | |
Stefan Roese | eb083e5 | 2015-12-21 13:56:33 +0100 | [diff] [blame] | 27 | config ARMADA_38X |
| 28 | bool |
Stefan Roese | 05b1765 | 2016-05-17 15:00:30 +0200 | [diff] [blame] | 29 | select ARMADA_32BIT |
Mario Six | 10d1449 | 2017-01-11 16:01:00 +0100 | [diff] [blame] | 30 | select HAVE_MVEBU_EFUSE |
Stefan Roese | eb083e5 | 2015-12-21 13:56:33 +0100 | [diff] [blame] | 31 | |
Joshua Scott | 4ba8e99 | 2020-11-09 10:14:08 +1300 | [diff] [blame] | 32 | config ARMADA_38X_HS_IMPEDANCE_THRESH |
| 33 | hex "Armada 38x USB 2.0 High-Speed Impedance Threshold (0x0 - 0x7)" |
| 34 | depends on ARMADA_38X |
| 35 | default 0x6 |
| 36 | range 0x0 0x7 |
| 37 | |
Stefan Roese | eb083e5 | 2015-12-21 13:56:33 +0100 | [diff] [blame] | 38 | config ARMADA_XP |
| 39 | bool |
Stefan Roese | 05b1765 | 2016-05-17 15:00:30 +0200 | [diff] [blame] | 40 | select ARMADA_32BIT |
| 41 | |
| 42 | # ARMv8 SoCs... |
| 43 | config ARMADA_3700 |
| 44 | bool |
| 45 | select ARM64 |
Stefan Roese | eb083e5 | 2015-12-21 13:56:33 +0100 | [diff] [blame] | 46 | |
Stefan Roese | cb41033 | 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 | 1d49668 | 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 | a8f845e | 2019-04-11 22:22:50 +1200 | [diff] [blame] | 55 | default "2000000000" if ARMADA_XP || ARMADA_3700 || ARMADA_8K || ARMADA_MSYS |
Chris Packham | 1d49668 | 2016-10-26 14:08:30 +1300 | [diff] [blame] | 56 | default "1000000000" if ARMADA_38X || ARMADA_375 |
| 57 | |
Stefan Roese | 05b1765 | 2016-05-17 15:00:30 +0200 | [diff] [blame] | 58 | # Armada XP/38x SoC types... |
Phil Sutter | a7f94ad | 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 | 203b3ab | 2017-06-14 21:28:24 -0600 | [diff] [blame] | 66 | imply CMD_SATA |
Phil Sutter | a7f94ad | 2015-12-25 14:41:22 +0100 | [diff] [blame] | 67 | |
| 68 | config MV78460 |
| 69 | bool |
| 70 | select ARMADA_XP |
| 71 | |
Chris Packham | a8f845e | 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 | f5fc25b | 2016-09-22 12:56:13 +1200 | [diff] [blame] | 88 | config 88F6820 |
Phil Sutter | a7f94ad | 2015-12-25 14:41:22 +0100 | [diff] [blame] | 89 | bool |
| 90 | select ARMADA_38X |
| 91 | |
Stefan Roese | 383e0c1 | 2015-08-25 13:18:38 +0200 | [diff] [blame] | 92 | choice |
Stefan Roese | cb41033 | 2016-05-25 08:13:45 +0200 | [diff] [blame] | 93 | prompt "Armada XP/375/38x/3700/7K/8K board select" |
Stefan Roese | 383e0c1 | 2015-08-25 13:18:38 +0200 | [diff] [blame] | 94 | optional |
| 95 | |
Stefan Roese | 7360640 | 2015-10-20 15:14:47 +0200 | [diff] [blame] | 96 | config TARGET_CLEARFOG |
| 97 | bool "Support ClearFog" |
Chris Packham | f5fc25b | 2016-09-22 12:56:13 +1200 | [diff] [blame] | 98 | select 88F6820 |
Baruch Siach | 1c5e95d | 2020-01-20 14:20:13 +0200 | [diff] [blame] | 99 | select BOARD_LATE_INIT |
Stefan Roese | 7360640 | 2015-10-20 15:14:47 +0200 | [diff] [blame] | 100 | |
Dennis Gilmore | 77c3940 | 2018-06-11 19:39:53 -0500 | [diff] [blame] | 101 | config TARGET_HELIOS4 |
| 102 | bool "Support Helios4" |
| 103 | select 88F6820 |
| 104 | |
Konstantin Porotchkin | 7f8dfea | 2017-02-16 13:52:22 +0200 | [diff] [blame] | 105 | config TARGET_MVEBU_ARMADA_37XX |
| 106 | bool "Support Armada 37xx platforms" |
Stefan Roese | 6edf27e | 2016-05-17 15:04:16 +0200 | [diff] [blame] | 107 | select ARMADA_3700 |
Simon Glass | 0e5faf0 | 2017-06-14 21:28:21 -0600 | [diff] [blame] | 108 | imply SCSI |
Stefan Roese | 6edf27e | 2016-05-17 15:04:16 +0200 | [diff] [blame] | 109 | |
Stefan Roese | 9106ed0 | 2016-01-29 09:14:54 +0100 | [diff] [blame] | 110 | config TARGET_DB_88F6720 |
| 111 | bool "Support DB-88F6720 Armada 375" |
| 112 | select ARMADA_375 |
| 113 | |
Stefan Roese | 383e0c1 | 2015-08-25 13:18:38 +0200 | [diff] [blame] | 114 | config TARGET_DB_88F6820_GP |
| 115 | bool "Support DB-88F6820-GP" |
Chris Packham | f5fc25b | 2016-09-22 12:56:13 +1200 | [diff] [blame] | 116 | select 88F6820 |
Stefan Roese | 383e0c1 | 2015-08-25 13:18:38 +0200 | [diff] [blame] | 117 | |
Chris Packham | a90dd4c | 2016-09-22 12:56:14 +1200 | [diff] [blame] | 118 | config TARGET_DB_88F6820_AMC |
| 119 | bool "Support DB-88F6820-AMC" |
| 120 | select 88F6820 |
| 121 | |
Marek Behún | 09e16b8 | 2017-06-09 19:28:45 +0200 | [diff] [blame] | 122 | config TARGET_TURRIS_OMNIA |
| 123 | bool "Support Turris Omnia" |
| 124 | select 88F6820 |
Marek Behún | 0f2e66a | 2019-05-02 16:53:37 +0200 | [diff] [blame] | 125 | select BOARD_LATE_INIT |
Marek Behún | 1e4cbb9 | 2019-05-02 16:53:28 +0200 | [diff] [blame] | 126 | select DM_I2C |
| 127 | select I2C_MUX |
| 128 | select I2C_MUX_PCA954x |
| 129 | select SPL_I2C_MUX |
| 130 | select SYS_I2C_MVTWSI |
Marek Behún | 5e92efe | 2019-05-02 16:53:32 +0200 | [diff] [blame] | 131 | select ATSHA204A |
Marek Behún | 09e16b8 | 2017-06-09 19:28:45 +0200 | [diff] [blame] | 132 | |
Marek Behún | f835bed | 2018-04-24 17:21:31 +0200 | [diff] [blame] | 133 | config TARGET_TURRIS_MOX |
| 134 | bool "Support Turris Mox" |
| 135 | select ARMADA_3700 |
| 136 | |
Stefan Roese | 5c806f1 | 2016-10-25 10:56:19 +0200 | [diff] [blame] | 137 | config TARGET_MVEBU_ARMADA_8K |
| 138 | bool "Support Armada 7k/8k platforms" |
Stefan Roese | 7be1b9b | 2016-05-25 08:21:21 +0200 | [diff] [blame] | 139 | select ARMADA_8K |
Tom Rini | 22d567e | 2017-01-22 19:43:11 -0500 | [diff] [blame] | 140 | select BOARD_LATE_INIT |
Simon Glass | 0e5faf0 | 2017-06-14 21:28:21 -0600 | [diff] [blame] | 141 | imply SCSI |
Stefan Roese | 7be1b9b | 2016-05-25 08:21:21 +0200 | [diff] [blame] | 142 | |
Konstantin Porotchkin | 1d6ff1f | 2021-03-16 17:20:57 +0100 | [diff] [blame] | 143 | config TARGET_OCTEONTX2_CN913x |
| 144 | bool "Support CN913x platforms" |
| 145 | select ARMADA_8K |
| 146 | imply BOARD_EARLY_INIT_R |
| 147 | select BOARD_LATE_INIT |
| 148 | imply SCSI |
| 149 | |
Stefan Roese | 383e0c1 | 2015-08-25 13:18:38 +0200 | [diff] [blame] | 150 | config TARGET_DB_MV784MP_GP |
| 151 | bool "Support db-mv784mp-gp" |
Phil Sutter | a7f94ad | 2015-12-25 14:41:22 +0100 | [diff] [blame] | 152 | select MV78460 |
Stefan Roese | 383e0c1 | 2015-08-25 13:18:38 +0200 | [diff] [blame] | 153 | |
Phil Sutter | d76eba6 | 2015-12-25 14:41:25 +0100 | [diff] [blame] | 154 | config TARGET_DS414 |
| 155 | bool "Support Synology DS414" |
| 156 | select MV78230 |
| 157 | |
Stefan Roese | 383e0c1 | 2015-08-25 13:18:38 +0200 | [diff] [blame] | 158 | config TARGET_MAXBCM |
| 159 | bool "Support maxbcm" |
Phil Sutter | a7f94ad | 2015-12-25 14:41:22 +0100 | [diff] [blame] | 160 | select MV78460 |
Stefan Roese | 383e0c1 | 2015-08-25 13:18:38 +0200 | [diff] [blame] | 161 | |
Stefan Roese | 459e064 | 2016-01-20 08:13:29 +0100 | [diff] [blame] | 162 | config TARGET_THEADORABLE |
| 163 | bool "Support theadorable Armada XP" |
Tom Rini | 22d567e | 2017-01-22 19:43:11 -0500 | [diff] [blame] | 164 | select BOARD_LATE_INIT if USB |
Stefan Roese | 459e064 | 2016-01-20 08:13:29 +0100 | [diff] [blame] | 165 | select MV78260 |
Simon Glass | 203b3ab | 2017-06-14 21:28:24 -0600 | [diff] [blame] | 166 | imply CMD_SATA |
Stefan Roese | 459e064 | 2016-01-20 08:13:29 +0100 | [diff] [blame] | 167 | |
Dirk Eibach | fb60594 | 2017-02-22 16:07:23 +0100 | [diff] [blame] | 168 | config TARGET_CONTROLCENTERDC |
| 169 | bool "Support CONTROLCENTERDC" |
| 170 | select 88F6820 |
| 171 | |
Chris Packham | b55b2c9 | 2019-01-10 21:01:00 +1300 | [diff] [blame] | 172 | config TARGET_X530 |
| 173 | bool "Support Allied Telesis x530" |
| 174 | select 88F6820 |
| 175 | |
Chris Packham | 199e318 | 2019-04-11 22:22:53 +1200 | [diff] [blame] | 176 | config TARGET_DB_XC3_24G4XG |
| 177 | bool "Support DB-XC3-24G4XG" |
| 178 | select 98DX3336 |
| 179 | |
Luka Kovacic | 25acb8b | 2020-05-26 20:17:50 +0200 | [diff] [blame] | 180 | config TARGET_CRS3XX_98DX3236 |
| 181 | bool "Support CRS3XX-98DX3236" |
Luka Kovacic | b686e22 | 2019-05-07 19:35:55 +0200 | [diff] [blame] | 182 | select 98DX3236 |
| 183 | |
Stefan Roese | 383e0c1 | 2015-08-25 13:18:38 +0200 | [diff] [blame] | 184 | endchoice |
| 185 | |
Tom Rini | 5918039 | 2021-08-21 13:50:13 -0400 | [diff] [blame] | 186 | choice |
| 187 | prompt "DDR bus width" |
| 188 | default DDR_64BIT |
| 189 | depends on ARMADA_XP |
| 190 | |
| 191 | config DDR_64BIT |
| 192 | bool "64bit bus width" |
| 193 | |
| 194 | config DDR_32BIT |
| 195 | bool "32bit bus width" |
| 196 | |
| 197 | endchoice |
| 198 | |
Tom Rini | 592bcd0 | 2021-08-21 13:50:15 -0400 | [diff] [blame] | 199 | config DDR_LOG_LEVEL |
| 200 | int "DDR training code log level" |
| 201 | depends on ARMADA_XP |
| 202 | default 0 |
| 203 | range 0 3 |
| 204 | help |
| 205 | Amount of information provided on error while running the DDR |
| 206 | training code. At level 0, provides an error code in a case of |
| 207 | failure, RL, WL errors and other algorithm failure. At level 1, |
| 208 | provides the D-Unit setup (SPD/Static configuration). At level 2, |
| 209 | provides the windows margin as a results of DQS centeralization. |
| 210 | At level 3, rovides the windows margin of each DQ as a results of |
| 211 | DQS centeralization. |
| 212 | |
Stefan Roese | b9f41bf | 2015-12-21 13:40:37 +0100 | [diff] [blame] | 213 | config SYS_BOARD |
| 214 | default "clearfog" if TARGET_CLEARFOG |
Dennis Gilmore | 77c3940 | 2018-06-11 19:39:53 -0500 | [diff] [blame] | 215 | default "helios4" if TARGET_HELIOS4 |
Konstantin Porotchkin | 7f8dfea | 2017-02-16 13:52:22 +0200 | [diff] [blame] | 216 | default "mvebu_armada-37xx" if TARGET_MVEBU_ARMADA_37XX |
Stefan Roese | 9106ed0 | 2016-01-29 09:14:54 +0100 | [diff] [blame] | 217 | default "db-88f6720" if TARGET_DB_88F6720 |
Stefan Roese | b9f41bf | 2015-12-21 13:40:37 +0100 | [diff] [blame] | 218 | default "db-88f6820-gp" if TARGET_DB_88F6820_GP |
Chris Packham | a90dd4c | 2016-09-22 12:56:14 +1200 | [diff] [blame] | 219 | default "db-88f6820-amc" if TARGET_DB_88F6820_AMC |
Marek Behún | 09e16b8 | 2017-06-09 19:28:45 +0200 | [diff] [blame] | 220 | default "turris_omnia" if TARGET_TURRIS_OMNIA |
Marek Behún | f835bed | 2018-04-24 17:21:31 +0200 | [diff] [blame] | 221 | default "turris_mox" if TARGET_TURRIS_MOX |
Stefan Roese | 5c806f1 | 2016-10-25 10:56:19 +0200 | [diff] [blame] | 222 | default "mvebu_armada-8k" if TARGET_MVEBU_ARMADA_8K |
Konstantin Porotchkin | 1d6ff1f | 2021-03-16 17:20:57 +0100 | [diff] [blame] | 223 | default "octeontx2_cn913x" if TARGET_OCTEONTX2_CN913x |
Stefan Roese | b9f41bf | 2015-12-21 13:40:37 +0100 | [diff] [blame] | 224 | default "db-mv784mp-gp" if TARGET_DB_MV784MP_GP |
Phil Sutter | d76eba6 | 2015-12-25 14:41:25 +0100 | [diff] [blame] | 225 | default "ds414" if TARGET_DS414 |
Stefan Roese | b9f41bf | 2015-12-21 13:40:37 +0100 | [diff] [blame] | 226 | default "maxbcm" if TARGET_MAXBCM |
Stefan Roese | 459e064 | 2016-01-20 08:13:29 +0100 | [diff] [blame] | 227 | default "theadorable" if TARGET_THEADORABLE |
Baruch Siach | daa6f08 | 2018-06-18 21:56:23 +0300 | [diff] [blame] | 228 | default "a38x" if TARGET_CONTROLCENTERDC |
Chris Packham | b55b2c9 | 2019-01-10 21:01:00 +1300 | [diff] [blame] | 229 | default "x530" if TARGET_X530 |
Chris Packham | 199e318 | 2019-04-11 22:22:53 +1200 | [diff] [blame] | 230 | default "db-xc3-24g4xg" if TARGET_DB_XC3_24G4XG |
Luka Kovacic | 25acb8b | 2020-05-26 20:17:50 +0200 | [diff] [blame] | 231 | default "crs3xx-98dx3236" if TARGET_CRS3XX_98DX3236 |
Stefan Roese | b9f41bf | 2015-12-21 13:40:37 +0100 | [diff] [blame] | 232 | |
| 233 | config SYS_CONFIG_NAME |
| 234 | default "clearfog" if TARGET_CLEARFOG |
Dennis Gilmore | 77c3940 | 2018-06-11 19:39:53 -0500 | [diff] [blame] | 235 | default "helios4" if TARGET_HELIOS4 |
Konstantin Porotchkin | 7f8dfea | 2017-02-16 13:52:22 +0200 | [diff] [blame] | 236 | default "mvebu_armada-37xx" if TARGET_MVEBU_ARMADA_37XX |
Stefan Roese | 9106ed0 | 2016-01-29 09:14:54 +0100 | [diff] [blame] | 237 | default "db-88f6720" if TARGET_DB_88F6720 |
Stefan Roese | b9f41bf | 2015-12-21 13:40:37 +0100 | [diff] [blame] | 238 | default "db-88f6820-gp" if TARGET_DB_88F6820_GP |
Chris Packham | a90dd4c | 2016-09-22 12:56:14 +1200 | [diff] [blame] | 239 | default "db-88f6820-amc" if TARGET_DB_88F6820_AMC |
Stefan Roese | 5c806f1 | 2016-10-25 10:56:19 +0200 | [diff] [blame] | 240 | default "mvebu_armada-8k" if TARGET_MVEBU_ARMADA_8K |
Konstantin Porotchkin | 1d6ff1f | 2021-03-16 17:20:57 +0100 | [diff] [blame] | 241 | default "mvebu_armada-8k" if TARGET_OCTEONTX2_CN913x |
Stefan Roese | b9f41bf | 2015-12-21 13:40:37 +0100 | [diff] [blame] | 242 | default "db-mv784mp-gp" if TARGET_DB_MV784MP_GP |
Phil Sutter | d76eba6 | 2015-12-25 14:41:25 +0100 | [diff] [blame] | 243 | default "ds414" if TARGET_DS414 |
Stefan Roese | b9f41bf | 2015-12-21 13:40:37 +0100 | [diff] [blame] | 244 | default "maxbcm" if TARGET_MAXBCM |
Stefan Roese | 459e064 | 2016-01-20 08:13:29 +0100 | [diff] [blame] | 245 | default "theadorable" if TARGET_THEADORABLE |
Marek Behún | 09e16b8 | 2017-06-09 19:28:45 +0200 | [diff] [blame] | 246 | default "turris_omnia" if TARGET_TURRIS_OMNIA |
Marek Behún | f835bed | 2018-04-24 17:21:31 +0200 | [diff] [blame] | 247 | default "turris_mox" if TARGET_TURRIS_MOX |
Baruch Siach | daa6f08 | 2018-06-18 21:56:23 +0300 | [diff] [blame] | 248 | default "controlcenterdc" if TARGET_CONTROLCENTERDC |
Chris Packham | b55b2c9 | 2019-01-10 21:01:00 +1300 | [diff] [blame] | 249 | default "x530" if TARGET_X530 |
Chris Packham | 199e318 | 2019-04-11 22:22:53 +1200 | [diff] [blame] | 250 | default "db-xc3-24g4xg" if TARGET_DB_XC3_24G4XG |
Luka Kovacic | 25acb8b | 2020-05-26 20:17:50 +0200 | [diff] [blame] | 251 | default "crs3xx-98dx3236" if TARGET_CRS3XX_98DX3236 |
Stefan Roese | b9f41bf | 2015-12-21 13:40:37 +0100 | [diff] [blame] | 252 | |
| 253 | config SYS_VENDOR |
| 254 | default "Marvell" if TARGET_DB_MV784MP_GP |
Konstantin Porotchkin | 7f8dfea | 2017-02-16 13:52:22 +0200 | [diff] [blame] | 255 | default "Marvell" if TARGET_MVEBU_ARMADA_37XX |
Stefan Roese | 9106ed0 | 2016-01-29 09:14:54 +0100 | [diff] [blame] | 256 | default "Marvell" if TARGET_DB_88F6720 |
Stefan Roese | b9f41bf | 2015-12-21 13:40:37 +0100 | [diff] [blame] | 257 | default "Marvell" if TARGET_DB_88F6820_GP |
Chris Packham | a90dd4c | 2016-09-22 12:56:14 +1200 | [diff] [blame] | 258 | default "Marvell" if TARGET_DB_88F6820_AMC |
Stefan Roese | 5c806f1 | 2016-10-25 10:56:19 +0200 | [diff] [blame] | 259 | default "Marvell" if TARGET_MVEBU_ARMADA_8K |
Konstantin Porotchkin | 1d6ff1f | 2021-03-16 17:20:57 +0100 | [diff] [blame] | 260 | default "Marvell" if TARGET_OCTEONTX2_CN913x |
Chris Packham | 199e318 | 2019-04-11 22:22:53 +1200 | [diff] [blame] | 261 | default "Marvell" if TARGET_DB_XC3_24G4XG |
| 262 | default "Marvell" if TARGET_MVEBU_DB_88F7040 |
Stefan Roese | b9f41bf | 2015-12-21 13:40:37 +0100 | [diff] [blame] | 263 | default "solidrun" if TARGET_CLEARFOG |
Dennis Gilmore | 77c3940 | 2018-06-11 19:39:53 -0500 | [diff] [blame] | 264 | default "kobol" if TARGET_HELIOS4 |
Phil Sutter | d76eba6 | 2015-12-25 14:41:25 +0100 | [diff] [blame] | 265 | default "Synology" if TARGET_DS414 |
Marek Behún | 09e16b8 | 2017-06-09 19:28:45 +0200 | [diff] [blame] | 266 | default "CZ.NIC" if TARGET_TURRIS_OMNIA |
Marek Behún | f835bed | 2018-04-24 17:21:31 +0200 | [diff] [blame] | 267 | default "CZ.NIC" if TARGET_TURRIS_MOX |
Baruch Siach | daa6f08 | 2018-06-18 21:56:23 +0300 | [diff] [blame] | 268 | default "gdsys" if TARGET_CONTROLCENTERDC |
Chris Packham | b55b2c9 | 2019-01-10 21:01:00 +1300 | [diff] [blame] | 269 | default "alliedtelesis" if TARGET_X530 |
Luka Kovacic | 25acb8b | 2020-05-26 20:17:50 +0200 | [diff] [blame] | 270 | default "mikrotik" if TARGET_CRS3XX_98DX3236 |
Stefan Roese | b9f41bf | 2015-12-21 13:40:37 +0100 | [diff] [blame] | 271 | |
Stefan Roese | 383e0c1 | 2015-08-25 13:18:38 +0200 | [diff] [blame] | 272 | config SYS_SOC |
| 273 | default "mvebu" |
| 274 | |
Marek Behún | 09e16b8 | 2017-06-09 19:28:45 +0200 | [diff] [blame] | 275 | choice |
Baruch Siach | 8d196a4 | 2018-06-18 21:56:24 +0300 | [diff] [blame] | 276 | prompt "Boot method" |
Joel Johnson | a2018ab | 2020-04-17 01:19:05 -0600 | [diff] [blame] | 277 | depends on SPL |
Marek Behún | 09e16b8 | 2017-06-09 19:28:45 +0200 | [diff] [blame] | 278 | |
Baruch Siach | 8d196a4 | 2018-06-18 21:56:24 +0300 | [diff] [blame] | 279 | config MVEBU_SPL_BOOT_DEVICE_SPI |
Marek Behún | 09e16b8 | 2017-06-09 19:28:45 +0200 | [diff] [blame] | 280 | bool "SPI NOR flash" |
Joel Johnson | a2018ab | 2020-04-17 01:19:05 -0600 | [diff] [blame] | 281 | imply ENV_IS_IN_SPI_FLASH |
Pali Rohár | cf97b82 | 2021-07-23 11:14:29 +0200 | [diff] [blame] | 282 | imply SPL_DM_SPI |
| 283 | imply SPL_SPI_FLASH_SUPPORT |
| 284 | imply SPL_SPI_LOAD |
| 285 | imply SPL_SPI_SUPPORT |
Pali Rohár | a3a38e5 | 2021-07-23 11:14:25 +0200 | [diff] [blame] | 286 | select SPL_BOOTROM_SUPPORT |
Marek Behún | 09e16b8 | 2017-06-09 19:28:45 +0200 | [diff] [blame] | 287 | |
Baruch Siach | 8d196a4 | 2018-06-18 21:56:24 +0300 | [diff] [blame] | 288 | config MVEBU_SPL_BOOT_DEVICE_MMC |
Marek Behún | 09e16b8 | 2017-06-09 19:28:45 +0200 | [diff] [blame] | 289 | bool "SDIO/MMC card" |
Joel Johnson | a2018ab | 2020-04-17 01:19:05 -0600 | [diff] [blame] | 290 | imply ENV_IS_IN_MMC |
| 291 | # GPIO needed for eMMC/SD card presence detection |
Pali Rohár | cf97b82 | 2021-07-23 11:14:29 +0200 | [diff] [blame] | 292 | imply SPL_DM_GPIO |
| 293 | imply SPL_DM_MMC |
| 294 | imply SPL_GPIO |
| 295 | imply SPL_LIBDISK_SUPPORT |
| 296 | imply SPL_MMC_SUPPORT |
Pali Rohár | a3a38e5 | 2021-07-23 11:14:25 +0200 | [diff] [blame] | 297 | select SPL_BOOTROM_SUPPORT |
Marek Behún | 09e16b8 | 2017-06-09 19:28:45 +0200 | [diff] [blame] | 298 | |
Baruch Siach | b936a27 | 2019-05-16 13:03:58 +0300 | [diff] [blame] | 299 | config MVEBU_SPL_BOOT_DEVICE_SATA |
| 300 | bool "SATA" |
Pali Rohár | cf97b82 | 2021-07-23 11:14:29 +0200 | [diff] [blame] | 301 | imply SPL_SATA_SUPPORT |
| 302 | imply SPL_LIBDISK_SUPPORT |
Pali Rohár | a3a38e5 | 2021-07-23 11:14:25 +0200 | [diff] [blame] | 303 | select SPL_BOOTROM_SUPPORT |
Baruch Siach | b936a27 | 2019-05-16 13:03:58 +0300 | [diff] [blame] | 304 | |
Baruch Siach | b35c447 | 2018-06-18 21:56:26 +0300 | [diff] [blame] | 305 | config MVEBU_SPL_BOOT_DEVICE_UART |
| 306 | bool "UART" |
Pali Rohár | a3a38e5 | 2021-07-23 11:14:25 +0200 | [diff] [blame] | 307 | select SPL_BOOTROM_SUPPORT |
Baruch Siach | b35c447 | 2018-06-18 21:56:26 +0300 | [diff] [blame] | 308 | |
Marek Behún | 09e16b8 | 2017-06-09 19:28:45 +0200 | [diff] [blame] | 309 | endchoice |
| 310 | |
Mario Six | 10d1449 | 2017-01-11 16:01:00 +0100 | [diff] [blame] | 311 | config MVEBU_EFUSE |
| 312 | bool "Enable eFuse support" |
Mario Six | 10d1449 | 2017-01-11 16:01:00 +0100 | [diff] [blame] | 313 | depends on HAVE_MVEBU_EFUSE |
| 314 | help |
| 315 | Enable support for reading and writing eFuses on mvebu SoCs. |
| 316 | |
| 317 | config MVEBU_EFUSE_FAKE |
| 318 | bool "Fake eFuse access (dry run)" |
Mario Six | 10d1449 | 2017-01-11 16:01:00 +0100 | [diff] [blame] | 319 | depends on MVEBU_EFUSE |
| 320 | help |
| 321 | This enables a "dry run" mode where eFuses are not really programmed. |
| 322 | Instead the eFuse accesses are emulated by writing to and reading |
| 323 | from a memory block. |
| 324 | This is can be used for testing prog scripts. |
| 325 | |
| 326 | config SECURED_MODE_IMAGE |
| 327 | bool "Build image for trusted boot" |
| 328 | default false |
| 329 | depends on 88F6820 |
| 330 | help |
| 331 | Build an image that employs the ARMADA SoC's trusted boot framework |
| 332 | for securely booting images. |
| 333 | |
| 334 | config SECURED_MODE_CSK_INDEX |
| 335 | int "Index of active CSK" |
| 336 | default 0 |
| 337 | depends on SECURED_MODE_IMAGE |
| 338 | |
Joel Johnson | 28bf4ca | 2020-03-23 14:21:32 -0600 | [diff] [blame] | 339 | source "board/solidrun/clearfog/Kconfig" |
Dennis Gilmore | 838e49b | 2020-12-08 21:07:36 -0600 | [diff] [blame] | 340 | source "board/kobol/helios4/Kconfig" |
Joel Johnson | 28bf4ca | 2020-03-23 14:21:32 -0600 | [diff] [blame] | 341 | |
Stefan Roese | 383e0c1 | 2015-08-25 13:18:38 +0200 | [diff] [blame] | 342 | endif |