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_SIMPLE_BUS if SPL
16 select TRANSLATION_OFFSET
30 select HAVE_MVEBU_EFUSE
32 config ARMADA_38X_HS_IMPEDANCE_THRESH
33 hex "Armada 38x USB 2.0 High-Speed Impedance Threshold (0x0 - 0x7)"
47 # Armada 7K and 8K are very similar - use only one Kconfig symbol for both
52 # Armada PLL frequency (used for NAND clock generation)
53 config SYS_MVEBU_PLL_CLOCK
55 default "2000000000" if ARMADA_XP || ARMADA_3700 || ARMADA_8K || ARMADA_MSYS
56 default "1000000000" if ARMADA_38X || ARMADA_375
58 # Armada XP/38x SoC types...
93 prompt "Armada XP/375/38x/3700/7K/8K board select"
96 config TARGET_CLEARFOG
97 bool "Support ClearFog"
99 select BOARD_LATE_INIT
101 config TARGET_HELIOS4
102 bool "Support Helios4"
105 config TARGET_MVEBU_ARMADA_37XX
106 bool "Support Armada 37xx platforms"
110 config TARGET_DB_88F6720
111 bool "Support DB-88F6720 Armada 375"
114 config TARGET_DB_88F6820_GP
115 bool "Support DB-88F6820-GP"
118 config TARGET_DB_88F6820_AMC
119 bool "Support DB-88F6820-AMC"
122 config TARGET_TURRIS_OMNIA
123 bool "Support Turris Omnia"
125 select BOARD_LATE_INIT
128 select I2C_MUX_PCA954x
130 select SYS_I2C_MVTWSI
133 config TARGET_TURRIS_MOX
134 bool "Support Turris Mox"
137 config TARGET_MVEBU_ARMADA_8K
138 bool "Support Armada 7k/8k platforms"
140 select BOARD_LATE_INIT
143 config TARGET_OCTEONTX2_CN913x
144 bool "Support CN913x platforms"
146 imply BOARD_EARLY_INIT_R
147 select BOARD_LATE_INIT
150 config TARGET_DB_MV784MP_GP
151 bool "Support db-mv784mp-gp"
155 bool "Support Synology DS414"
159 bool "Support maxbcm"
162 config TARGET_THEADORABLE
163 bool "Support theadorable Armada XP"
164 select BOARD_LATE_INIT if USB
168 config TARGET_CONTROLCENTERDC
169 bool "Support CONTROLCENTERDC"
173 bool "Support Allied Telesis x530"
176 config TARGET_DB_XC3_24G4XG
177 bool "Support DB-XC3-24G4XG"
180 config TARGET_CRS3XX_98DX3236
181 bool "Support CRS3XX-98DX3236"
187 prompt "DDR bus width"
192 bool "64bit bus width"
195 bool "32bit bus width"
200 int "DDR training code log level"
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
214 default "clearfog" if TARGET_CLEARFOG
215 default "helios4" if TARGET_HELIOS4
216 default "mvebu_armada-37xx" if TARGET_MVEBU_ARMADA_37XX
217 default "db-88f6720" if TARGET_DB_88F6720
218 default "db-88f6820-gp" if TARGET_DB_88F6820_GP
219 default "db-88f6820-amc" if TARGET_DB_88F6820_AMC
220 default "turris_omnia" if TARGET_TURRIS_OMNIA
221 default "turris_mox" if TARGET_TURRIS_MOX
222 default "mvebu_armada-8k" if TARGET_MVEBU_ARMADA_8K
223 default "octeontx2_cn913x" if TARGET_OCTEONTX2_CN913x
224 default "db-mv784mp-gp" if TARGET_DB_MV784MP_GP
225 default "ds414" if TARGET_DS414
226 default "maxbcm" if TARGET_MAXBCM
227 default "theadorable" if TARGET_THEADORABLE
228 default "a38x" if TARGET_CONTROLCENTERDC
229 default "x530" if TARGET_X530
230 default "db-xc3-24g4xg" if TARGET_DB_XC3_24G4XG
231 default "crs3xx-98dx3236" if TARGET_CRS3XX_98DX3236
233 config SYS_CONFIG_NAME
234 default "clearfog" if TARGET_CLEARFOG
235 default "helios4" if TARGET_HELIOS4
236 default "mvebu_armada-37xx" if TARGET_MVEBU_ARMADA_37XX
237 default "db-88f6720" if TARGET_DB_88F6720
238 default "db-88f6820-gp" if TARGET_DB_88F6820_GP
239 default "db-88f6820-amc" if TARGET_DB_88F6820_AMC
240 default "mvebu_armada-8k" if TARGET_MVEBU_ARMADA_8K
241 default "mvebu_armada-8k" if TARGET_OCTEONTX2_CN913x
242 default "db-mv784mp-gp" if TARGET_DB_MV784MP_GP
243 default "ds414" if TARGET_DS414
244 default "maxbcm" if TARGET_MAXBCM
245 default "theadorable" if TARGET_THEADORABLE
246 default "turris_omnia" if TARGET_TURRIS_OMNIA
247 default "turris_mox" if TARGET_TURRIS_MOX
248 default "controlcenterdc" if TARGET_CONTROLCENTERDC
249 default "x530" if TARGET_X530
250 default "db-xc3-24g4xg" if TARGET_DB_XC3_24G4XG
251 default "crs3xx-98dx3236" if TARGET_CRS3XX_98DX3236
254 default "Marvell" if TARGET_DB_MV784MP_GP
255 default "Marvell" if TARGET_MVEBU_ARMADA_37XX
256 default "Marvell" if TARGET_DB_88F6720
257 default "Marvell" if TARGET_DB_88F6820_GP
258 default "Marvell" if TARGET_DB_88F6820_AMC
259 default "Marvell" if TARGET_MVEBU_ARMADA_8K
260 default "Marvell" if TARGET_OCTEONTX2_CN913x
261 default "Marvell" if TARGET_DB_XC3_24G4XG
262 default "Marvell" if TARGET_MVEBU_DB_88F7040
263 default "solidrun" if TARGET_CLEARFOG
264 default "kobol" if TARGET_HELIOS4
265 default "Synology" if TARGET_DS414
266 default "CZ.NIC" if TARGET_TURRIS_OMNIA
267 default "CZ.NIC" if TARGET_TURRIS_MOX
268 default "gdsys" if TARGET_CONTROLCENTERDC
269 default "alliedtelesis" if TARGET_X530
270 default "mikrotik" if TARGET_CRS3XX_98DX3236
279 config MVEBU_SPL_BOOT_DEVICE_SPI
281 imply ENV_IS_IN_SPI_FLASH
283 imply SPL_SPI_FLASH_SUPPORT
285 imply SPL_SPI_SUPPORT
286 select SPL_BOOTROM_SUPPORT
288 config MVEBU_SPL_BOOT_DEVICE_MMC
291 # GPIO needed for eMMC/SD card presence detection
295 imply SPL_LIBDISK_SUPPORT
296 imply SPL_MMC_SUPPORT
297 select SPL_BOOTROM_SUPPORT
299 config MVEBU_SPL_BOOT_DEVICE_SATA
301 imply SPL_SATA_SUPPORT
302 imply SPL_LIBDISK_SUPPORT
303 select SPL_BOOTROM_SUPPORT
305 config MVEBU_SPL_BOOT_DEVICE_UART
307 select SPL_BOOTROM_SUPPORT
312 bool "Enable eFuse support"
313 depends on HAVE_MVEBU_EFUSE
315 Enable support for reading and writing eFuses on mvebu SoCs.
317 config MVEBU_EFUSE_FAKE
318 bool "Fake eFuse access (dry run)"
319 depends on MVEBU_EFUSE
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
324 This is can be used for testing prog scripts.
326 config SECURED_MODE_IMAGE
327 bool "Build image for trusted boot"
331 Build an image that employs the ARMADA SoC's trusted boot framework
332 for securely booting images.
334 config SECURED_MODE_CSK_INDEX
335 int "Index of active CSK"
337 depends on SECURED_MODE_IMAGE
339 source "board/solidrun/clearfog/Kconfig"
340 source "board/kobol/helios4/Kconfig"