3 config HAVE_MVEBU_EFUSE
9 select BOARD_EARLY_INIT_F
12 select SPL_DM_SEQ_ALIAS if SPL
13 select SPL_OF_CONTROL if SPL
14 select SPL_SKIP_LOWLEVEL_INIT
15 select SPL_SIMPLE_BUS if SPL
17 select TRANSLATION_OFFSET
31 select HAVE_MVEBU_EFUSE
33 config ARMADA_38X_HS_IMPEDANCE_THRESH
34 hex "Armada 38x USB 2.0 High-Speed Impedance Threshold (0x0 - 0x7)"
48 # Armada 7K and 8K are very similar - use only one Kconfig symbol for both
53 # Armada PLL frequency (used for NAND clock generation)
54 config SYS_MVEBU_PLL_CLOCK
56 default "2000000000" if ARMADA_XP || ARMADA_3700 || ARMADA_8K || ARMADA_MSYS
57 default "1000000000" if ARMADA_38X || ARMADA_375
59 # Armada XP/38x SoC types...
94 prompt "Armada XP/375/38x/3700/7K/8K board select"
97 config TARGET_CLEARFOG
98 bool "Support ClearFog"
100 select BOARD_LATE_INIT
102 config TARGET_HELIOS4
103 bool "Support Helios4"
106 config TARGET_MVEBU_ARMADA_37XX
107 bool "Support Armada 37xx platforms"
111 config TARGET_DB_88F6720
112 bool "Support DB-88F6720 Armada 375"
115 config TARGET_DB_88F6820_GP
116 bool "Support DB-88F6820-GP"
119 config TARGET_DB_88F6820_AMC
120 bool "Support DB-88F6820-AMC"
123 config TARGET_TURRIS_OMNIA
124 bool "Support Turris Omnia"
126 select BOARD_LATE_INIT
129 select I2C_MUX_PCA954x
131 select SYS_I2C_MVTWSI
134 config TARGET_TURRIS_MOX
135 bool "Support Turris Mox"
138 config TARGET_MVEBU_ARMADA_8K
139 bool "Support Armada 7k/8k platforms"
141 select BOARD_LATE_INIT
144 config TARGET_OCTEONTX2_CN913x
145 bool "Support CN913x platforms"
147 imply BOARD_EARLY_INIT_R
148 select BOARD_LATE_INIT
151 config TARGET_DB_MV784MP_GP
152 bool "Support db-mv784mp-gp"
156 bool "Support Synology DS414"
160 bool "Support maxbcm"
163 config TARGET_THEADORABLE
164 bool "Support theadorable Armada XP"
165 select BOARD_LATE_INIT if USB
169 config TARGET_CONTROLCENTERDC
170 bool "Support CONTROLCENTERDC"
174 bool "Support Allied Telesis x530"
177 config TARGET_DB_XC3_24G4XG
178 bool "Support DB-XC3-24G4XG"
181 config TARGET_CRS3XX_98DX3236
182 bool "Support CRS3XX-98DX3236"
188 prompt "DDR bus width"
193 bool "64bit bus width"
196 bool "32bit bus width"
201 int "DDR training code log level"
206 Amount of information provided on error while running the DDR
207 training code. At level 0, provides an error code in a case of
208 failure, RL, WL errors and other algorithm failure. At level 1,
209 provides the D-Unit setup (SPD/Static configuration). At level 2,
210 provides the windows margin as a results of DQS centeralization.
211 At level 3, rovides the windows margin of each DQ as a results of
215 default "clearfog" if TARGET_CLEARFOG
216 default "helios4" if TARGET_HELIOS4
217 default "mvebu_armada-37xx" if TARGET_MVEBU_ARMADA_37XX
218 default "db-88f6720" if TARGET_DB_88F6720
219 default "db-88f6820-gp" if TARGET_DB_88F6820_GP
220 default "db-88f6820-amc" if TARGET_DB_88F6820_AMC
221 default "turris_omnia" if TARGET_TURRIS_OMNIA
222 default "turris_mox" if TARGET_TURRIS_MOX
223 default "mvebu_armada-8k" if TARGET_MVEBU_ARMADA_8K
224 default "octeontx2_cn913x" if TARGET_OCTEONTX2_CN913x
225 default "db-mv784mp-gp" if TARGET_DB_MV784MP_GP
226 default "ds414" if TARGET_DS414
227 default "maxbcm" if TARGET_MAXBCM
228 default "theadorable" if TARGET_THEADORABLE
229 default "a38x" if TARGET_CONTROLCENTERDC
230 default "x530" if TARGET_X530
231 default "db-xc3-24g4xg" if TARGET_DB_XC3_24G4XG
232 default "crs3xx-98dx3236" if TARGET_CRS3XX_98DX3236
234 config SYS_CONFIG_NAME
235 default "clearfog" if TARGET_CLEARFOG
236 default "helios4" if TARGET_HELIOS4
237 default "mvebu_armada-37xx" if TARGET_MVEBU_ARMADA_37XX
238 default "db-88f6720" if TARGET_DB_88F6720
239 default "db-88f6820-gp" if TARGET_DB_88F6820_GP
240 default "db-88f6820-amc" if TARGET_DB_88F6820_AMC
241 default "mvebu_armada-8k" if TARGET_MVEBU_ARMADA_8K
242 default "mvebu_armada-8k" if TARGET_OCTEONTX2_CN913x
243 default "db-mv784mp-gp" if TARGET_DB_MV784MP_GP
244 default "ds414" if TARGET_DS414
245 default "maxbcm" if TARGET_MAXBCM
246 default "theadorable" if TARGET_THEADORABLE
247 default "turris_omnia" if TARGET_TURRIS_OMNIA
248 default "turris_mox" if TARGET_TURRIS_MOX
249 default "controlcenterdc" if TARGET_CONTROLCENTERDC
250 default "x530" if TARGET_X530
251 default "db-xc3-24g4xg" if TARGET_DB_XC3_24G4XG
252 default "crs3xx-98dx3236" if TARGET_CRS3XX_98DX3236
255 default "Marvell" if TARGET_DB_MV784MP_GP
256 default "Marvell" if TARGET_MVEBU_ARMADA_37XX
257 default "Marvell" if TARGET_DB_88F6720
258 default "Marvell" if TARGET_DB_88F6820_GP
259 default "Marvell" if TARGET_DB_88F6820_AMC
260 default "Marvell" if TARGET_MVEBU_ARMADA_8K
261 default "Marvell" if TARGET_OCTEONTX2_CN913x
262 default "Marvell" if TARGET_DB_XC3_24G4XG
263 default "Marvell" if TARGET_MVEBU_DB_88F7040
264 default "solidrun" if TARGET_CLEARFOG
265 default "kobol" if TARGET_HELIOS4
266 default "Synology" if TARGET_DS414
267 default "CZ.NIC" if TARGET_TURRIS_OMNIA
268 default "CZ.NIC" if TARGET_TURRIS_MOX
269 default "gdsys" if TARGET_CONTROLCENTERDC
270 default "alliedtelesis" if TARGET_X530
271 default "mikrotik" if TARGET_CRS3XX_98DX3236
280 config MVEBU_SPL_BOOT_DEVICE_SPI
282 imply ENV_IS_IN_SPI_FLASH
284 imply SPL_SPI_FLASH_SUPPORT
287 select SPL_BOOTROM_SUPPORT
289 config MVEBU_SPL_BOOT_DEVICE_MMC
292 # GPIO needed for eMMC/SD card presence detection
296 imply SPL_LIBDISK_SUPPORT
298 select SPL_BOOTROM_SUPPORT
300 config MVEBU_SPL_BOOT_DEVICE_SATA
303 imply SPL_LIBDISK_SUPPORT
304 select SPL_BOOTROM_SUPPORT
306 config MVEBU_SPL_BOOT_DEVICE_UART
308 select SPL_BOOTROM_SUPPORT
313 bool "Enable eFuse support"
314 depends on HAVE_MVEBU_EFUSE
316 Enable support for reading and writing eFuses on mvebu SoCs.
318 config MVEBU_EFUSE_FAKE
319 bool "Fake eFuse access (dry run)"
320 depends on MVEBU_EFUSE
322 This enables a "dry run" mode where eFuses are not really programmed.
323 Instead the eFuse accesses are emulated by writing to and reading
325 This is can be used for testing prog scripts.
327 config SECURED_MODE_IMAGE
328 bool "Build image for trusted boot"
332 Build an image that employs the ARMADA SoC's trusted boot framework
333 for securely booting images.
335 config SECURED_MODE_CSK_INDEX
336 int "Index of active CSK"
338 depends on SECURED_MODE_IMAGE
340 source "board/solidrun/clearfog/Kconfig"
341 source "board/kobol/helios4/Kconfig"