4 select ARM_ERRATA_855873
10 select SYS_FSL_ERRATUM_A010315
11 select SYS_FSL_ERRATUM_A009798
12 select SYS_FSL_ERRATUM_A008997
13 select SYS_FSL_ERRATUM_A009007
14 select SYS_FSL_ERRATUM_A009008
15 select ARCH_EARLY_INIT_R
16 select BOARD_EARLY_INIT_F
21 select ARMV8_SET_SMPEN
22 select ARM_ERRATA_855873
28 select SYS_FSL_DDR_VER_50
29 select SYS_FSL_ERRATUM_A008850
30 select SYS_FSL_ERRATUM_A008997
31 select SYS_FSL_ERRATUM_A009007
32 select SYS_FSL_ERRATUM_A009008
33 select SYS_FSL_ERRATUM_A009660
34 select SYS_FSL_ERRATUM_A009663
35 select SYS_FSL_ERRATUM_A009798
36 select SYS_FSL_ERRATUM_A009929
37 select SYS_FSL_ERRATUM_A009942
38 select SYS_FSL_ERRATUM_A010315
39 select SYS_FSL_ERRATUM_A010539
40 select SYS_FSL_HAS_DDR3
41 select SYS_FSL_HAS_DDR4
42 select ARCH_EARLY_INIT_R
43 select BOARD_EARLY_INIT_F
50 select ARMV8_SET_SMPEN
56 select SYS_FSL_DDR_VER_50
57 select SYS_FSL_ERRATUM_A008336
58 select SYS_FSL_ERRATUM_A008511
59 select SYS_FSL_ERRATUM_A008850
60 select SYS_FSL_ERRATUM_A008997
61 select SYS_FSL_ERRATUM_A009007
62 select SYS_FSL_ERRATUM_A009008
63 select SYS_FSL_ERRATUM_A009798
64 select SYS_FSL_ERRATUM_A009801
65 select SYS_FSL_ERRATUM_A009803
66 select SYS_FSL_ERRATUM_A009942
67 select SYS_FSL_ERRATUM_A010165
68 select SYS_FSL_ERRATUM_A010539
69 select SYS_FSL_HAS_DDR4
71 select ARCH_EARLY_INIT_R
72 select BOARD_EARLY_INIT_F
78 select ARMV8_SET_SMPEN
79 select ARM_ERRATA_855873
85 select SYS_FSL_DDR_VER_50
88 select SYS_FSL_ERRATUM_A009803
89 select SYS_FSL_ERRATUM_A009942
90 select SYS_FSL_ERRATUM_A010165
91 select SYS_FSL_ERRATUM_A008511
92 select SYS_FSL_ERRATUM_A008850
93 select SYS_FSL_ERRATUM_A009007
94 select SYS_FSL_HAS_CCI400
95 select SYS_FSL_HAS_DDR4
96 select SYS_FSL_HAS_RGMII
97 select SYS_FSL_HAS_SEC
98 select SYS_FSL_SEC_COMPAT_5
100 select SYS_FSL_SRDS_1
101 select SYS_FSL_SRDS_2
103 select ARCH_EARLY_INIT_R
104 select BOARD_EARLY_INIT_F
110 select ARMV8_SET_SMPEN
111 select ARM_ERRATA_826974
112 select ARM_ERRATA_828024
113 select ARM_ERRATA_829520
114 select ARM_ERRATA_833471
116 select SYS_FSL_SRDS_1
117 select SYS_HAS_SERDES
119 select SYS_FSL_DDR_LE
120 select SYS_FSL_DDR_VER_50
121 select SYS_FSL_HAS_CCN504
122 select SYS_FSL_HAS_DP_DDR
123 select SYS_FSL_HAS_SEC
124 select SYS_FSL_HAS_DDR4
125 select SYS_FSL_SEC_COMPAT_5
126 select SYS_FSL_SEC_LE
127 select SYS_FSL_SRDS_2
130 select SYS_FSL_ERRATUM_A008336
131 select SYS_FSL_ERRATUM_A008511
132 select SYS_FSL_ERRATUM_A008514
133 select SYS_FSL_ERRATUM_A008585
134 select SYS_FSL_ERRATUM_A008997
135 select SYS_FSL_ERRATUM_A009007
136 select SYS_FSL_ERRATUM_A009008
137 select SYS_FSL_ERRATUM_A009635
138 select SYS_FSL_ERRATUM_A009663
139 select SYS_FSL_ERRATUM_A009798
140 select SYS_FSL_ERRATUM_A009801
141 select SYS_FSL_ERRATUM_A009803
142 select SYS_FSL_ERRATUM_A009942
143 select SYS_FSL_ERRATUM_A010165
144 select SYS_FSL_ERRATUM_A009203
145 select ARCH_EARLY_INIT_R
146 select BOARD_EARLY_INIT_F
151 select SYS_FSL_HAS_CCI400
152 select SYS_FSL_HAS_SEC
153 select SYS_FSL_SEC_COMPAT_5
154 select SYS_FSL_SEC_BE
160 bool "Management Complex network"
161 depends on ARCH_LS2080A || ARCH_LS1088A
165 Enable Management Complex (MC) network
167 menu "Layerscape architecture"
168 depends on FSL_LSCH2 || FSL_LSCH3
170 config FSL_PCIE_COMPAT
171 string "PCIe compatible of Kernel DT"
172 depends on PCIE_LAYERSCAPE
173 default "fsl,ls1012a-pcie" if ARCH_LS1012A
174 default "fsl,ls1043a-pcie" if ARCH_LS1043A
175 default "fsl,ls1046a-pcie" if ARCH_LS1046A
176 default "fsl,ls2080a-pcie" if ARCH_LS2080A
177 default "fsl,ls1088a-pcie" if ARCH_LS1088A
179 This compatible is used to find pci controller node in Kernel DT
182 config HAS_FEATURE_GIC64K_ALIGN
184 default y if ARCH_LS1043A
186 config HAS_FEATURE_ENHANCED_MSI
188 default y if ARCH_LS1043A
190 menu "Layerscape PPA"
192 bool "FSL Layerscape PPA firmware support"
193 depends on !ARMV8_PSCI
194 select ARMV8_SEC_FIRMWARE_SUPPORT
195 select SEC_FIRMWARE_ARMV8_PSCI
196 select ARMV8_SEC_FIRMWARE_ERET_ADDR_REVERT if FSL_LSCH2
198 The FSL Primary Protected Application (PPA) is a software component
199 which is loaded during boot stage, and then remains resident in RAM
200 and runs in the TrustZone after boot.
203 config SPL_FSL_LS_PPA
204 bool "FSL Layerscape PPA firmware support for SPL build"
205 depends on !ARMV8_PSCI
206 select SPL_ARMV8_SEC_FIRMWARE_SUPPORT
207 select SEC_FIRMWARE_ARMV8_PSCI
208 select ARMV8_SEC_FIRMWARE_ERET_ADDR_REVERT if FSL_LSCH2
210 The FSL Primary Protected Application (PPA) is a software component
211 which is loaded during boot stage, and then remains resident in RAM
212 and runs in the TrustZone after boot. This is to load PPA during SPL
213 stage instead of the RAM version of U-Boot. Once PPA is initialized,
214 the rest of U-Boot (including RAM version) runs at EL2.
216 prompt "FSL Layerscape PPA firmware loading-media select"
217 depends on FSL_LS_PPA
218 default SYS_LS_PPA_FW_IN_MMC if SD_BOOT
219 default SYS_LS_PPA_FW_IN_NAND if NAND_BOOT
220 default SYS_LS_PPA_FW_IN_XIP
222 config SYS_LS_PPA_FW_IN_XIP
225 Say Y here if the PPA firmware locate at XIP flash, such
226 as NOR or QSPI flash.
228 config SYS_LS_PPA_FW_IN_MMC
229 bool "eMMC or SD Card"
231 Say Y here if the PPA firmware locate at eMMC/SD card.
233 config SYS_LS_PPA_FW_IN_NAND
236 Say Y here if the PPA firmware locate at NAND flash.
240 config SYS_LS_PPA_FW_ADDR
241 hex "Address of PPA firmware loading from"
242 depends on FSL_LS_PPA
243 default 0x20400000 if SYS_LS_PPA_FW_IN_XIP && QSPI_BOOT && ARCH_LS2080A
244 default 0x40400000 if SYS_LS_PPA_FW_IN_XIP && QSPI_BOOT
245 default 0x580400000 if SYS_LS_PPA_FW_IN_XIP && ARCH_LS2080A
246 default 0x20400000 if SYS_LS_PPA_FW_IN_XIP && ARCH_LS1088A
247 default 0x60400000 if SYS_LS_PPA_FW_IN_XIP
248 default 0x400000 if SYS_LS_PPA_FW_IN_MMC
249 default 0x400000 if SYS_LS_PPA_FW_IN_NAND
252 If the PPA firmware locate at XIP flash, such as NOR or
253 QSPI flash, this address is a directly memory-mapped.
254 If it is in a serial accessed flash, such as NAND and SD
255 card, it is a byte offset.
257 config SYS_LS_PPA_ESBC_ADDR
258 hex "hdr address of PPA firmware loading from"
259 depends on FSL_LS_PPA && CHAIN_OF_TRUST
260 default 0x60680000 if SYS_LS_PPA_FW_IN_XIP && ARCH_LS1043A
261 default 0x40680000 if SYS_LS_PPA_FW_IN_XIP && ARCH_LS1046A
262 default 0x40680000 if SYS_LS_PPA_FW_IN_XIP && ARCH_LS1012A
263 default 0x20680000 if SYS_LS_PPA_FW_IN_XIP && QSPI_BOOT && ARCH_LS2080A
264 default 0x580680000 if SYS_LS_PPA_FW_IN_XIP && ARCH_LS2080A
265 default 0x20680000 if SYS_LS_PPA_FW_IN_XIP && ARCH_LS1088A
266 default 0x680000 if SYS_LS_PPA_FW_IN_MMC
267 default 0x680000 if SYS_LS_PPA_FW_IN_NAND
269 If the PPA header firmware locate at XIP flash, such as NOR or
270 QSPI flash, this address is a directly memory-mapped.
271 If it is in a serial accessed flash, such as NAND and SD
272 card, it is a byte offset.
274 config LS_PPA_ESBC_HDR_SIZE
275 hex "Length of PPA ESBC header"
276 depends on FSL_LS_PPA && CHAIN_OF_TRUST && !SYS_LS_PPA_FW_IN_XIP
279 Length (in bytes) of PPA ESBC header to be copied from MMC/SD or
280 NAND to memory to validate PPA image.
284 config SYS_FSL_ERRATUM_A008997
285 bool "Workaround for USB PHY erratum A008997"
287 config SYS_FSL_ERRATUM_A009007
290 Workaround for USB PHY erratum A009007
292 config SYS_FSL_ERRATUM_A009008
293 bool "Workaround for USB PHY erratum A009008"
295 config SYS_FSL_ERRATUM_A009798
296 bool "Workaround for USB PHY erratum A009798"
298 config SYS_FSL_ERRATUM_A010315
299 bool "Workaround for PCIe erratum A010315"
301 config SYS_FSL_ERRATUM_A010539
302 bool "Workaround for PIN MUX erratum A010539"
305 int "Maximum number of CPUs permitted for Layerscape"
306 default 4 if ARCH_LS1043A
307 default 4 if ARCH_LS1046A
308 default 16 if ARCH_LS2080A
309 default 8 if ARCH_LS1088A
312 Set this number to the maximum number of possible CPUs in the SoC.
313 SoCs may have multiple clusters with each cluster may have multiple
314 ports. If some ports are reserved but higher ports are used for
315 cores, count the reserved ports. This will allocate enough memory
316 in spin table to properly handle all cores.
321 Enable Freescale Secure Boot feature
324 bool "Init the QSPI AHB bus"
326 The default setting for QSPI AHB bus just support 3bytes addressing.
327 But some QSPI flash size up to 64MBytes, so initialize the QSPI AHB
328 bus for those flashes to support the full QSPI flash size.
330 config SYS_CCI400_OFFSET
331 hex "Offset for CCI400 base"
332 depends on SYS_FSL_HAS_CCI400
333 default 0x3090000 if ARCH_LS1088A
334 default 0x180000 if FSL_LSCH2
336 Offset for CCI400 base
337 CCI400 base addr = CCSRBAR + CCI400_OFFSET
339 config SYS_FSL_IFC_BANK_COUNT
340 int "Maximum banks of Integrated flash controller"
341 depends on ARCH_LS1043A || ARCH_LS1046A || ARCH_LS2080A || ARCH_LS1088A
342 default 4 if ARCH_LS1043A
343 default 4 if ARCH_LS1046A
344 default 8 if ARCH_LS2080A || ARCH_LS1088A
346 config SYS_FSL_HAS_CCI400
349 config SYS_FSL_HAS_CCN504
352 config SYS_FSL_HAS_DP_DDR
355 config SYS_FSL_SRDS_1
358 config SYS_FSL_SRDS_2
361 config SYS_HAS_SERDES
372 menu "Layerscape clock tree configuration"
373 depends on FSL_LSCH2 || FSL_LSCH3
376 bool "Enable clock tree initialization"
379 config CLUSTER_CLK_FREQ
380 int "Reference clock of core cluster"
381 depends on ARCH_LS1012A
384 This number is the reference clock frequency of core PLL.
385 For most platforms, the core PLL and Platform PLL have the same
386 reference clock, but for some platforms, LS1012A for instance,
387 they are provided sepatately.
389 config SYS_FSL_PCLK_DIV
390 int "Platform clock divider"
391 default 1 if ARCH_LS1043A
392 default 1 if ARCH_LS1046A
393 default 1 if ARCH_LS1088A
396 This is the divider that is used to derive Platform clock from
397 Platform PLL, in another word:
398 Platform_clk = Platform_PLL_freq / this_divider
400 config SYS_FSL_DSPI_CLK_DIV
401 int "DSPI clock divider"
402 default 1 if ARCH_LS1043A
405 This is the divider that is used to derive DSPI clock from Platform
406 clock, in another word DSPI_clk = Platform_clk / this_divider.
408 config SYS_FSL_DUART_CLK_DIV
409 int "DUART clock divider"
410 default 1 if ARCH_LS1043A
413 This is the divider that is used to derive DUART clock from Platform
414 clock, in another word DUART_clk = Platform_clk / this_divider.
416 config SYS_FSL_I2C_CLK_DIV
417 int "I2C clock divider"
418 default 1 if ARCH_LS1043A
421 This is the divider that is used to derive I2C clock from Platform
422 clock, in another word I2C_clk = Platform_clk / this_divider.
424 config SYS_FSL_IFC_CLK_DIV
425 int "IFC clock divider"
426 default 1 if ARCH_LS1043A
429 This is the divider that is used to derive IFC clock from Platform
430 clock, in another word IFC_clk = Platform_clk / this_divider.
432 config SYS_FSL_LPUART_CLK_DIV
433 int "LPUART clock divider"
434 default 1 if ARCH_LS1043A
437 This is the divider that is used to derive LPUART clock from Platform
438 clock, in another word LPUART_clk = Platform_clk / this_divider.
440 config SYS_FSL_SDHC_CLK_DIV
441 int "SDHC clock divider"
442 default 1 if ARCH_LS1043A
443 default 1 if ARCH_LS1012A
446 This is the divider that is used to derive SDHC clock from Platform
447 clock, in another word SDHC_clk = Platform_clk / this_divider.
453 Reserve memory from the top, tracked by gd->arch.resv_ram. This
454 reserved RAM can be used by special driver that resides in memory
455 after U-Boot exits. It's up to implementation to allocate and allow
456 access to this reserved memory. For example, the reserved RAM can
457 be at the high end of physical memory. The reserve RAM may be
458 excluded from memory bank(s) passed to OS, or marked as reserved.
463 Ethernet controller 1, this is connected to MAC3.
464 Provides DPAA2 capabilities
469 Ethernet controller 2, this is connected to MAC4.
470 Provides DPAA2 capabilities
472 config SYS_FSL_ERRATUM_A008336
475 config SYS_FSL_ERRATUM_A008514
478 config SYS_FSL_ERRATUM_A008585
481 config SYS_FSL_ERRATUM_A008850
484 config SYS_FSL_ERRATUM_A009203
487 config SYS_FSL_ERRATUM_A009635
490 config SYS_FSL_ERRATUM_A009660
493 config SYS_FSL_ERRATUM_A009929
497 config SYS_FSL_HAS_RGMII
499 depends on SYS_FSL_EC1 || SYS_FSL_EC2
502 config SYS_MC_RSV_MEM_ALIGN
503 hex "Management Complex reserved memory alignment"
505 default 0x20000000 if ARCH_LS2080A || ARCH_LS1088A
507 Reserved memory needs to be aligned for MC to use. Default value
511 default "arch/arm/cpu/armv8/u-boot-spl.lds" if ARCH_LS1043A || ARCH_LS1046A || ARCH_LS2080A
513 config HAS_FSL_XHCI_USB
515 default y if ARCH_LS1043A || ARCH_LS1046A
517 For some SoC(such as LS1043A and LS1046A), USB and QE-HDLC multiplex use
518 pins, select it when the pins are assigned to USB.