7 select SYS_FSL_ERRATUM_A010315
8 select ARCH_EARLY_INIT_R
9 select BOARD_EARLY_INIT_F
13 select ARMV8_SET_SMPEN
17 select SYS_FSL_DDR_VER_50
18 select SYS_FSL_ERRATUM_A008850
19 select SYS_FSL_ERRATUM_A009660
20 select SYS_FSL_ERRATUM_A009663
21 select SYS_FSL_ERRATUM_A009929
22 select SYS_FSL_ERRATUM_A009942
23 select SYS_FSL_ERRATUM_A010315
24 select SYS_FSL_ERRATUM_A010539
25 select SYS_FSL_HAS_DDR3
26 select SYS_FSL_HAS_DDR4
27 select ARCH_EARLY_INIT_R
28 select BOARD_EARLY_INIT_F
33 select ARMV8_SET_SMPEN
37 select SYS_FSL_DDR_VER_50
38 select SYS_FSL_ERRATUM_A008336
39 select SYS_FSL_ERRATUM_A008511
40 select SYS_FSL_ERRATUM_A008850
41 select SYS_FSL_ERRATUM_A009801
42 select SYS_FSL_ERRATUM_A009803
43 select SYS_FSL_ERRATUM_A009942
44 select SYS_FSL_ERRATUM_A010165
45 select SYS_FSL_ERRATUM_A010539
46 select SYS_FSL_HAS_DDR4
48 select ARCH_EARLY_INIT_R
49 select BOARD_EARLY_INIT_F
54 select ARMV8_SET_SMPEN
55 select ARM_ERRATA_826974
56 select ARM_ERRATA_828024
57 select ARM_ERRATA_829520
58 select ARM_ERRATA_833471
62 select SYS_FSL_DDR_VER_50
63 select SYS_FSL_HAS_DP_DDR
64 select SYS_FSL_HAS_SEC
65 select SYS_FSL_HAS_DDR4
66 select SYS_FSL_SEC_COMPAT_5
71 select SYS_FSL_ERRATUM_A008336
72 select SYS_FSL_ERRATUM_A008511
73 select SYS_FSL_ERRATUM_A008514
74 select SYS_FSL_ERRATUM_A008585
75 select SYS_FSL_ERRATUM_A009635
76 select SYS_FSL_ERRATUM_A009663
77 select SYS_FSL_ERRATUM_A009801
78 select SYS_FSL_ERRATUM_A009803
79 select SYS_FSL_ERRATUM_A009942
80 select SYS_FSL_ERRATUM_A010165
81 select SYS_FSL_ERRATUM_A009203
82 select ARCH_EARLY_INIT_R
83 select BOARD_EARLY_INIT_F
87 select SYS_FSL_HAS_SEC
88 select SYS_FSL_SEC_COMPAT_5
99 bool "Management Complex network"
100 depends on ARCH_LS2080A
104 Enable Management Complex (MC) network
106 menu "Layerscape architecture"
107 depends on FSL_LSCH2 || FSL_LSCH3
109 config FSL_PCIE_COMPAT
110 string "PCIe compatible of Kernel DT"
111 depends on PCIE_LAYERSCAPE
112 default "fsl,ls1012a-pcie" if ARCH_LS1012A
113 default "fsl,ls1043a-pcie" if ARCH_LS1043A
114 default "fsl,ls1046a-pcie" if ARCH_LS1046A
115 default "fsl,ls2080a-pcie" if ARCH_LS2080A
117 This compatible is used to find pci controller node in Kernel DT
120 config HAS_FEATURE_GIC64K_ALIGN
122 default y if ARCH_LS1043A
124 config HAS_FEATURE_ENHANCED_MSI
126 default y if ARCH_LS1043A
128 menu "Layerscape PPA"
130 bool "FSL Layerscape PPA firmware support"
131 depends on !ARMV8_PSCI
132 select ARMV8_SEC_FIRMWARE_SUPPORT
133 select SEC_FIRMWARE_ARMV8_PSCI
134 select ARMV8_SEC_FIRMWARE_ERET_ADDR_REVERT if FSL_LSCH2
136 The FSL Primary Protected Application (PPA) is a software component
137 which is loaded during boot stage, and then remains resident in RAM
138 and runs in the TrustZone after boot.
141 config SPL_FSL_LS_PPA
142 bool "FSL Layerscape PPA firmware support for SPL build"
143 depends on !ARMV8_PSCI
144 select SPL_ARMV8_SEC_FIRMWARE_SUPPORT
145 select SEC_FIRMWARE_ARMV8_PSCI
146 select ARMV8_SEC_FIRMWARE_ERET_ADDR_REVERT if FSL_LSCH2
148 The FSL Primary Protected Application (PPA) is a software component
149 which is loaded during boot stage, and then remains resident in RAM
150 and runs in the TrustZone after boot. This is to load PPA during SPL
151 stage instead of the RAM version of U-Boot. Once PPA is initialized,
152 the rest of U-Boot (including RAM version) runs at EL2.
154 prompt "FSL Layerscape PPA firmware loading-media select"
155 depends on FSL_LS_PPA
156 default SYS_LS_PPA_FW_IN_MMC if SD_BOOT
157 default SYS_LS_PPA_FW_IN_NAND if NAND_BOOT
158 default SYS_LS_PPA_FW_IN_XIP
160 config SYS_LS_PPA_FW_IN_XIP
163 Say Y here if the PPA firmware locate at XIP flash, such
164 as NOR or QSPI flash.
166 config SYS_LS_PPA_FW_IN_MMC
167 bool "eMMC or SD Card"
169 Say Y here if the PPA firmware locate at eMMC/SD card.
171 config SYS_LS_PPA_FW_IN_NAND
174 Say Y here if the PPA firmware locate at NAND flash.
178 config SYS_LS_PPA_FW_ADDR
179 hex "Address of PPA firmware loading from"
180 depends on FSL_LS_PPA
181 default 0x20400000 if SYS_LS_PPA_FW_IN_XIP && QSPI_BOOT && ARCH_LS2080A
182 default 0x40400000 if SYS_LS_PPA_FW_IN_XIP && QSPI_BOOT
183 default 0x580400000 if SYS_LS_PPA_FW_IN_XIP && ARCH_LS2080A
184 default 0x60400000 if SYS_LS_PPA_FW_IN_XIP
185 default 0x400000 if SYS_LS_PPA_FW_IN_MMC
186 default 0x400000 if SYS_LS_PPA_FW_IN_NAND
189 If the PPA firmware locate at XIP flash, such as NOR or
190 QSPI flash, this address is a directly memory-mapped.
191 If it is in a serial accessed flash, such as NAND and SD
192 card, it is a byte offset.
194 config SYS_LS_PPA_ESBC_ADDR
195 hex "hdr address of PPA firmware loading from"
196 depends on FSL_LS_PPA && CHAIN_OF_TRUST
197 default 0x600c0000 if SYS_LS_PPA_FW_IN_XIP && ARCH_LS1043A
198 default 0x40740000 if SYS_LS_PPA_FW_IN_XIP && ARCH_LS1046A
199 default 0x40480000 if SYS_LS_PPA_FW_IN_XIP && ARCH_LS1012A
200 default 0x580c40000 if SYS_LS_PPA_FW_IN_XIP && FSL_LSCH3
201 default 0x700000 if SYS_LS_PPA_FW_IN_MMC
202 default 0x700000 if SYS_LS_PPA_FW_IN_NAND
204 If the PPA header firmware locate at XIP flash, such as NOR or
205 QSPI flash, this address is a directly memory-mapped.
206 If it is in a serial accessed flash, such as NAND and SD
207 card, it is a byte offset.
209 config LS_PPA_ESBC_HDR_SIZE
210 hex "Length of PPA ESBC header"
211 depends on FSL_LS_PPA && CHAIN_OF_TRUST && !SYS_LS_PPA_FW_IN_XIP
214 Length (in bytes) of PPA ESBC header to be copied from MMC/SD or
215 NAND to memory to validate PPA image.
219 config SYS_FSL_ERRATUM_A010315
220 bool "Workaround for PCIe erratum A010315"
222 config SYS_FSL_ERRATUM_A010539
223 bool "Workaround for PIN MUX erratum A010539"
226 int "Maximum number of CPUs permitted for Layerscape"
227 default 4 if ARCH_LS1043A
228 default 4 if ARCH_LS1046A
229 default 16 if ARCH_LS2080A
232 Set this number to the maximum number of possible CPUs in the SoC.
233 SoCs may have multiple clusters with each cluster may have multiple
234 ports. If some ports are reserved but higher ports are used for
235 cores, count the reserved ports. This will allocate enough memory
236 in spin table to properly handle all cores.
241 Enable Freescale Secure Boot feature
244 bool "Init the QSPI AHB bus"
246 The default setting for QSPI AHB bus just support 3bytes addressing.
247 But some QSPI flash size up to 64MBytes, so initialize the QSPI AHB
248 bus for those flashes to support the full QSPI flash size.
250 config SYS_FSL_IFC_BANK_COUNT
251 int "Maximum banks of Integrated flash controller"
252 depends on ARCH_LS1043A || ARCH_LS1046A || ARCH_LS2080A
253 default 4 if ARCH_LS1043A
254 default 4 if ARCH_LS1046A
255 default 8 if ARCH_LS2080A
257 config SYS_FSL_HAS_DP_DDR
260 config SYS_FSL_SRDS_1
263 config SYS_FSL_SRDS_2
266 config SYS_HAS_SERDES
277 menu "Layerscape clock tree configuration"
278 depends on FSL_LSCH2 || FSL_LSCH3
281 bool "Enable clock tree initialization"
284 config CLUSTER_CLK_FREQ
285 int "Reference clock of core cluster"
286 depends on ARCH_LS1012A
289 This number is the reference clock frequency of core PLL.
290 For most platforms, the core PLL and Platform PLL have the same
291 reference clock, but for some platforms, LS1012A for instance,
292 they are provided sepatately.
294 config SYS_FSL_PCLK_DIV
295 int "Platform clock divider"
296 default 1 if ARCH_LS1043A
297 default 1 if ARCH_LS1046A
300 This is the divider that is used to derive Platform clock from
301 Platform PLL, in another word:
302 Platform_clk = Platform_PLL_freq / this_divider
304 config SYS_FSL_DSPI_CLK_DIV
305 int "DSPI clock divider"
306 default 1 if ARCH_LS1043A
309 This is the divider that is used to derive DSPI clock from Platform
310 PLL, in another word DSPI_clk = Platform_PLL_freq / this_divider.
312 config SYS_FSL_DUART_CLK_DIV
313 int "DUART clock divider"
314 default 1 if ARCH_LS1043A
317 This is the divider that is used to derive DUART clock from Platform
318 clock, in another word DUART_clk = Platform_clk / this_divider.
320 config SYS_FSL_I2C_CLK_DIV
321 int "I2C clock divider"
322 default 1 if ARCH_LS1043A
325 This is the divider that is used to derive I2C clock from Platform
326 clock, in another word I2C_clk = Platform_clk / this_divider.
328 config SYS_FSL_IFC_CLK_DIV
329 int "IFC clock divider"
330 default 1 if ARCH_LS1043A
333 This is the divider that is used to derive IFC clock from Platform
334 clock, in another word IFC_clk = Platform_clk / this_divider.
336 config SYS_FSL_LPUART_CLK_DIV
337 int "LPUART clock divider"
338 default 1 if ARCH_LS1043A
341 This is the divider that is used to derive LPUART clock from Platform
342 clock, in another word LPUART_clk = Platform_clk / this_divider.
344 config SYS_FSL_SDHC_CLK_DIV
345 int "SDHC clock divider"
346 default 1 if ARCH_LS1043A
347 default 1 if ARCH_LS1012A
350 This is the divider that is used to derive SDHC clock from Platform
351 clock, in another word SDHC_clk = Platform_clk / this_divider.
357 Reserve memory from the top, tracked by gd->arch.resv_ram. This
358 reserved RAM can be used by special driver that resides in memory
359 after U-Boot exits. It's up to implementation to allocate and allow
360 access to this reserved memory. For example, the reserved RAM can
361 be at the high end of physical memory. The reserve RAM may be
362 excluded from memory bank(s) passed to OS, or marked as reserved.
364 config SYS_FSL_ERRATUM_A008336
367 config SYS_FSL_ERRATUM_A008514
370 config SYS_FSL_ERRATUM_A008585
373 config SYS_FSL_ERRATUM_A008850
376 config SYS_FSL_ERRATUM_A009203
379 config SYS_FSL_ERRATUM_A009635
382 config SYS_FSL_ERRATUM_A009660
385 config SYS_FSL_ERRATUM_A009929
388 config SYS_MC_RSV_MEM_ALIGN
389 hex "Management Complex reserved memory alignment"
393 Reserved memory needs to be aligned for MC to use. Default value