xref: /OK3568_Linux_fs/u-boot/arch/arm/cpu/armv8/fsl-layerscape/Kconfig (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyunconfig ARCH_LS1012A
2*4882a593Smuzhiyun	bool
3*4882a593Smuzhiyun	select ARMV8_SET_SMPEN
4*4882a593Smuzhiyun	select FSL_LSCH2
5*4882a593Smuzhiyun	select SYS_FSL_DDR_BE
6*4882a593Smuzhiyun	select SYS_FSL_MMDC
7*4882a593Smuzhiyun	select SYS_FSL_ERRATUM_A010315
8*4882a593Smuzhiyun	select ARCH_EARLY_INIT_R
9*4882a593Smuzhiyun	select BOARD_EARLY_INIT_F
10*4882a593Smuzhiyun	imply PANIC_HANG
11*4882a593Smuzhiyun
12*4882a593Smuzhiyunconfig ARCH_LS1043A
13*4882a593Smuzhiyun	bool
14*4882a593Smuzhiyun	select ARMV8_SET_SMPEN
15*4882a593Smuzhiyun	select FSL_LSCH2
16*4882a593Smuzhiyun	select SYS_FSL_DDR
17*4882a593Smuzhiyun	select SYS_FSL_DDR_BE
18*4882a593Smuzhiyun	select SYS_FSL_DDR_VER_50
19*4882a593Smuzhiyun	select SYS_FSL_ERRATUM_A008850
20*4882a593Smuzhiyun	select SYS_FSL_ERRATUM_A009660
21*4882a593Smuzhiyun	select SYS_FSL_ERRATUM_A009663
22*4882a593Smuzhiyun	select SYS_FSL_ERRATUM_A009929
23*4882a593Smuzhiyun	select SYS_FSL_ERRATUM_A009942
24*4882a593Smuzhiyun	select SYS_FSL_ERRATUM_A010315
25*4882a593Smuzhiyun	select SYS_FSL_ERRATUM_A010539
26*4882a593Smuzhiyun	select SYS_FSL_HAS_DDR3
27*4882a593Smuzhiyun	select SYS_FSL_HAS_DDR4
28*4882a593Smuzhiyun	select ARCH_EARLY_INIT_R
29*4882a593Smuzhiyun	select BOARD_EARLY_INIT_F
30*4882a593Smuzhiyun	imply SCSI
31*4882a593Smuzhiyun	imply CMD_PCI
32*4882a593Smuzhiyun
33*4882a593Smuzhiyunconfig ARCH_LS1046A
34*4882a593Smuzhiyun	bool
35*4882a593Smuzhiyun	select ARMV8_SET_SMPEN
36*4882a593Smuzhiyun	select FSL_LSCH2
37*4882a593Smuzhiyun	select SYS_FSL_DDR
38*4882a593Smuzhiyun	select SYS_FSL_DDR_BE
39*4882a593Smuzhiyun	select SYS_FSL_DDR_VER_50
40*4882a593Smuzhiyun	select SYS_FSL_ERRATUM_A008336
41*4882a593Smuzhiyun	select SYS_FSL_ERRATUM_A008511
42*4882a593Smuzhiyun	select SYS_FSL_ERRATUM_A008850
43*4882a593Smuzhiyun	select SYS_FSL_ERRATUM_A009801
44*4882a593Smuzhiyun	select SYS_FSL_ERRATUM_A009803
45*4882a593Smuzhiyun	select SYS_FSL_ERRATUM_A009942
46*4882a593Smuzhiyun	select SYS_FSL_ERRATUM_A010165
47*4882a593Smuzhiyun	select SYS_FSL_ERRATUM_A010539
48*4882a593Smuzhiyun	select SYS_FSL_HAS_DDR4
49*4882a593Smuzhiyun	select SYS_FSL_SRDS_2
50*4882a593Smuzhiyun	select ARCH_EARLY_INIT_R
51*4882a593Smuzhiyun	select BOARD_EARLY_INIT_F
52*4882a593Smuzhiyun	imply SCSI
53*4882a593Smuzhiyun
54*4882a593Smuzhiyunconfig ARCH_LS2080A
55*4882a593Smuzhiyun	bool
56*4882a593Smuzhiyun	select ARMV8_SET_SMPEN
57*4882a593Smuzhiyun	select ARM_ERRATA_826974
58*4882a593Smuzhiyun	select ARM_ERRATA_828024
59*4882a593Smuzhiyun	select ARM_ERRATA_829520
60*4882a593Smuzhiyun	select ARM_ERRATA_833471
61*4882a593Smuzhiyun	select FSL_LSCH3
62*4882a593Smuzhiyun	select SYS_FSL_DDR
63*4882a593Smuzhiyun	select SYS_FSL_DDR_LE
64*4882a593Smuzhiyun	select SYS_FSL_DDR_VER_50
65*4882a593Smuzhiyun	select SYS_FSL_HAS_DP_DDR
66*4882a593Smuzhiyun	select SYS_FSL_HAS_SEC
67*4882a593Smuzhiyun	select SYS_FSL_HAS_DDR4
68*4882a593Smuzhiyun	select SYS_FSL_SEC_COMPAT_5
69*4882a593Smuzhiyun	select SYS_FSL_SEC_LE
70*4882a593Smuzhiyun	select SYS_FSL_SRDS_2
71*4882a593Smuzhiyun	select FSL_TZASC_1
72*4882a593Smuzhiyun	select FSL_TZASC_2
73*4882a593Smuzhiyun	select SYS_FSL_ERRATUM_A008336
74*4882a593Smuzhiyun	select SYS_FSL_ERRATUM_A008511
75*4882a593Smuzhiyun	select SYS_FSL_ERRATUM_A008514
76*4882a593Smuzhiyun	select SYS_FSL_ERRATUM_A008585
77*4882a593Smuzhiyun	select SYS_FSL_ERRATUM_A009635
78*4882a593Smuzhiyun	select SYS_FSL_ERRATUM_A009663
79*4882a593Smuzhiyun	select SYS_FSL_ERRATUM_A009801
80*4882a593Smuzhiyun	select SYS_FSL_ERRATUM_A009803
81*4882a593Smuzhiyun	select SYS_FSL_ERRATUM_A009942
82*4882a593Smuzhiyun	select SYS_FSL_ERRATUM_A010165
83*4882a593Smuzhiyun	select SYS_FSL_ERRATUM_A009203
84*4882a593Smuzhiyun	select ARCH_EARLY_INIT_R
85*4882a593Smuzhiyun	select BOARD_EARLY_INIT_F
86*4882a593Smuzhiyun	imply PANIC_HANG
87*4882a593Smuzhiyun
88*4882a593Smuzhiyunconfig FSL_LSCH2
89*4882a593Smuzhiyun	bool
90*4882a593Smuzhiyun	select SYS_FSL_HAS_SEC
91*4882a593Smuzhiyun	select SYS_FSL_SEC_COMPAT_5
92*4882a593Smuzhiyun	select SYS_FSL_SEC_BE
93*4882a593Smuzhiyun	select SYS_FSL_SRDS_1
94*4882a593Smuzhiyun	select SYS_HAS_SERDES
95*4882a593Smuzhiyun
96*4882a593Smuzhiyunconfig FSL_LSCH3
97*4882a593Smuzhiyun	bool
98*4882a593Smuzhiyun	select SYS_FSL_SRDS_1
99*4882a593Smuzhiyun	select SYS_HAS_SERDES
100*4882a593Smuzhiyun
101*4882a593Smuzhiyunconfig FSL_MC_ENET
102*4882a593Smuzhiyun	bool "Management Complex network"
103*4882a593Smuzhiyun	depends on ARCH_LS2080A
104*4882a593Smuzhiyun	default y
105*4882a593Smuzhiyun	select RESV_RAM
106*4882a593Smuzhiyun	help
107*4882a593Smuzhiyun	  Enable Management Complex (MC) network
108*4882a593Smuzhiyun
109*4882a593Smuzhiyunmenu "Layerscape architecture"
110*4882a593Smuzhiyun	depends on FSL_LSCH2 || FSL_LSCH3
111*4882a593Smuzhiyun
112*4882a593Smuzhiyunconfig FSL_PCIE_COMPAT
113*4882a593Smuzhiyun	string "PCIe compatible of Kernel DT"
114*4882a593Smuzhiyun	depends on PCIE_LAYERSCAPE
115*4882a593Smuzhiyun	default "fsl,ls1012a-pcie" if ARCH_LS1012A
116*4882a593Smuzhiyun	default "fsl,ls1043a-pcie" if ARCH_LS1043A
117*4882a593Smuzhiyun	default "fsl,ls1046a-pcie" if ARCH_LS1046A
118*4882a593Smuzhiyun	default "fsl,ls2080a-pcie" if ARCH_LS2080A
119*4882a593Smuzhiyun	help
120*4882a593Smuzhiyun	  This compatible is used to find pci controller node in Kernel DT
121*4882a593Smuzhiyun	  to complete fixup.
122*4882a593Smuzhiyun
123*4882a593Smuzhiyunconfig HAS_FEATURE_GIC64K_ALIGN
124*4882a593Smuzhiyun	bool
125*4882a593Smuzhiyun	default y if ARCH_LS1043A
126*4882a593Smuzhiyun
127*4882a593Smuzhiyunconfig HAS_FEATURE_ENHANCED_MSI
128*4882a593Smuzhiyun	bool
129*4882a593Smuzhiyun	default y if ARCH_LS1043A
130*4882a593Smuzhiyun
131*4882a593Smuzhiyunmenu "Layerscape PPA"
132*4882a593Smuzhiyunconfig FSL_LS_PPA
133*4882a593Smuzhiyun	bool "FSL Layerscape PPA firmware support"
134*4882a593Smuzhiyun	depends on !ARMV8_PSCI
135*4882a593Smuzhiyun	select ARMV8_SEC_FIRMWARE_SUPPORT
136*4882a593Smuzhiyun	select SEC_FIRMWARE_ARMV8_PSCI
137*4882a593Smuzhiyun	select ARMV8_SEC_FIRMWARE_ERET_ADDR_REVERT if FSL_LSCH2
138*4882a593Smuzhiyun	help
139*4882a593Smuzhiyun	  The FSL Primary Protected Application (PPA) is a software component
140*4882a593Smuzhiyun	  which is loaded during boot stage, and then remains resident in RAM
141*4882a593Smuzhiyun	  and runs in the TrustZone after boot.
142*4882a593Smuzhiyun	  Say y to enable it.
143*4882a593Smuzhiyun
144*4882a593Smuzhiyunconfig SPL_FSL_LS_PPA
145*4882a593Smuzhiyun	bool "FSL Layerscape PPA firmware support for SPL build"
146*4882a593Smuzhiyun	depends on !ARMV8_PSCI
147*4882a593Smuzhiyun	select SPL_ARMV8_SEC_FIRMWARE_SUPPORT
148*4882a593Smuzhiyun	select SEC_FIRMWARE_ARMV8_PSCI
149*4882a593Smuzhiyun	select ARMV8_SEC_FIRMWARE_ERET_ADDR_REVERT if FSL_LSCH2
150*4882a593Smuzhiyun	help
151*4882a593Smuzhiyun	  The FSL Primary Protected Application (PPA) is a software component
152*4882a593Smuzhiyun	  which is loaded during boot stage, and then remains resident in RAM
153*4882a593Smuzhiyun	  and runs in the TrustZone after boot. This is to load PPA during SPL
154*4882a593Smuzhiyun	  stage instead of the RAM version of U-Boot. Once PPA is initialized,
155*4882a593Smuzhiyun	  the rest of U-Boot (including RAM version) runs at EL2.
156*4882a593Smuzhiyunchoice
157*4882a593Smuzhiyun	prompt "FSL Layerscape PPA firmware loading-media select"
158*4882a593Smuzhiyun	depends on FSL_LS_PPA
159*4882a593Smuzhiyun	default SYS_LS_PPA_FW_IN_MMC if SD_BOOT
160*4882a593Smuzhiyun	default SYS_LS_PPA_FW_IN_NAND if NAND_BOOT
161*4882a593Smuzhiyun	default SYS_LS_PPA_FW_IN_XIP
162*4882a593Smuzhiyun
163*4882a593Smuzhiyunconfig SYS_LS_PPA_FW_IN_XIP
164*4882a593Smuzhiyun	bool "XIP"
165*4882a593Smuzhiyun	help
166*4882a593Smuzhiyun	  Say Y here if the PPA firmware locate at XIP flash, such
167*4882a593Smuzhiyun	  as NOR or QSPI flash.
168*4882a593Smuzhiyun
169*4882a593Smuzhiyunconfig SYS_LS_PPA_FW_IN_MMC
170*4882a593Smuzhiyun	bool "eMMC or SD Card"
171*4882a593Smuzhiyun	help
172*4882a593Smuzhiyun	  Say Y here if the PPA firmware locate at eMMC/SD card.
173*4882a593Smuzhiyun
174*4882a593Smuzhiyunconfig SYS_LS_PPA_FW_IN_NAND
175*4882a593Smuzhiyun	bool "NAND"
176*4882a593Smuzhiyun	help
177*4882a593Smuzhiyun	  Say Y here if the PPA firmware locate at NAND flash.
178*4882a593Smuzhiyun
179*4882a593Smuzhiyunendchoice
180*4882a593Smuzhiyun
181*4882a593Smuzhiyunconfig SYS_LS_PPA_FW_ADDR
182*4882a593Smuzhiyun	hex "Address of PPA firmware loading from"
183*4882a593Smuzhiyun	depends on FSL_LS_PPA
184*4882a593Smuzhiyun	default 0x20400000 if SYS_LS_PPA_FW_IN_XIP && QSPI_BOOT && ARCH_LS2080A
185*4882a593Smuzhiyun	default 0x40400000 if SYS_LS_PPA_FW_IN_XIP && QSPI_BOOT
186*4882a593Smuzhiyun	default 0x580400000 if SYS_LS_PPA_FW_IN_XIP && ARCH_LS2080A
187*4882a593Smuzhiyun	default 0x60400000 if SYS_LS_PPA_FW_IN_XIP
188*4882a593Smuzhiyun	default 0x400000 if SYS_LS_PPA_FW_IN_MMC
189*4882a593Smuzhiyun	default 0x400000 if SYS_LS_PPA_FW_IN_NAND
190*4882a593Smuzhiyun
191*4882a593Smuzhiyun	help
192*4882a593Smuzhiyun	  If the PPA firmware locate at XIP flash, such as NOR or
193*4882a593Smuzhiyun	  QSPI flash, this address is a directly memory-mapped.
194*4882a593Smuzhiyun	  If it is in a serial accessed flash, such as NAND and SD
195*4882a593Smuzhiyun	  card, it is a byte offset.
196*4882a593Smuzhiyun
197*4882a593Smuzhiyunconfig SYS_LS_PPA_ESBC_ADDR
198*4882a593Smuzhiyun	hex "hdr address of PPA firmware loading from"
199*4882a593Smuzhiyun	depends on FSL_LS_PPA && CHAIN_OF_TRUST
200*4882a593Smuzhiyun	default 0x600c0000 if SYS_LS_PPA_FW_IN_XIP && ARCH_LS1043A
201*4882a593Smuzhiyun	default 0x40740000 if SYS_LS_PPA_FW_IN_XIP && ARCH_LS1046A
202*4882a593Smuzhiyun	default 0x40480000 if SYS_LS_PPA_FW_IN_XIP && ARCH_LS1012A
203*4882a593Smuzhiyun	default 0x580c40000 if SYS_LS_PPA_FW_IN_XIP && FSL_LSCH3
204*4882a593Smuzhiyun	default 0x700000 if SYS_LS_PPA_FW_IN_MMC
205*4882a593Smuzhiyun	default 0x700000 if SYS_LS_PPA_FW_IN_NAND
206*4882a593Smuzhiyun	help
207*4882a593Smuzhiyun	  If the PPA header firmware locate at XIP flash, such as NOR or
208*4882a593Smuzhiyun	  QSPI flash, this address is a directly memory-mapped.
209*4882a593Smuzhiyun	  If it is in a serial accessed flash, such as NAND and SD
210*4882a593Smuzhiyun	  card, it is a byte offset.
211*4882a593Smuzhiyun
212*4882a593Smuzhiyunconfig LS_PPA_ESBC_HDR_SIZE
213*4882a593Smuzhiyun	hex "Length of PPA ESBC header"
214*4882a593Smuzhiyun	depends on FSL_LS_PPA && CHAIN_OF_TRUST && !SYS_LS_PPA_FW_IN_XIP
215*4882a593Smuzhiyun	default 0x2000
216*4882a593Smuzhiyun	help
217*4882a593Smuzhiyun	  Length (in bytes) of PPA ESBC header to be copied from MMC/SD or
218*4882a593Smuzhiyun	  NAND to memory to validate PPA image.
219*4882a593Smuzhiyun
220*4882a593Smuzhiyunendmenu
221*4882a593Smuzhiyun
222*4882a593Smuzhiyunconfig SYS_FSL_ERRATUM_A010315
223*4882a593Smuzhiyun	bool "Workaround for PCIe erratum A010315"
224*4882a593Smuzhiyun
225*4882a593Smuzhiyunconfig SYS_FSL_ERRATUM_A010539
226*4882a593Smuzhiyun	bool "Workaround for PIN MUX erratum A010539"
227*4882a593Smuzhiyun
228*4882a593Smuzhiyunconfig MAX_CPUS
229*4882a593Smuzhiyun	int "Maximum number of CPUs permitted for Layerscape"
230*4882a593Smuzhiyun	default 4 if ARCH_LS1043A
231*4882a593Smuzhiyun	default 4 if ARCH_LS1046A
232*4882a593Smuzhiyun	default 16 if ARCH_LS2080A
233*4882a593Smuzhiyun	default 1
234*4882a593Smuzhiyun	help
235*4882a593Smuzhiyun	  Set this number to the maximum number of possible CPUs in the SoC.
236*4882a593Smuzhiyun	  SoCs may have multiple clusters with each cluster may have multiple
237*4882a593Smuzhiyun	  ports. If some ports are reserved but higher ports are used for
238*4882a593Smuzhiyun	  cores, count the reserved ports. This will allocate enough memory
239*4882a593Smuzhiyun	  in spin table to properly handle all cores.
240*4882a593Smuzhiyun
241*4882a593Smuzhiyunconfig SECURE_BOOT
242*4882a593Smuzhiyun	bool "Secure Boot"
243*4882a593Smuzhiyun	help
244*4882a593Smuzhiyun		Enable Freescale Secure Boot feature
245*4882a593Smuzhiyun
246*4882a593Smuzhiyunconfig QSPI_AHB_INIT
247*4882a593Smuzhiyun	bool "Init the QSPI AHB bus"
248*4882a593Smuzhiyun	help
249*4882a593Smuzhiyun	  The default setting for QSPI AHB bus just support 3bytes addressing.
250*4882a593Smuzhiyun	  But some QSPI flash size up to 64MBytes, so initialize the QSPI AHB
251*4882a593Smuzhiyun	  bus for those flashes to support the full QSPI flash size.
252*4882a593Smuzhiyun
253*4882a593Smuzhiyunconfig SYS_FSL_IFC_BANK_COUNT
254*4882a593Smuzhiyun	int "Maximum banks of Integrated flash controller"
255*4882a593Smuzhiyun	depends on ARCH_LS1043A || ARCH_LS1046A || ARCH_LS2080A
256*4882a593Smuzhiyun	default 4 if ARCH_LS1043A
257*4882a593Smuzhiyun	default 4 if ARCH_LS1046A
258*4882a593Smuzhiyun	default 8 if ARCH_LS2080A
259*4882a593Smuzhiyun
260*4882a593Smuzhiyunconfig SYS_FSL_HAS_DP_DDR
261*4882a593Smuzhiyun	bool
262*4882a593Smuzhiyun
263*4882a593Smuzhiyunconfig SYS_FSL_SRDS_1
264*4882a593Smuzhiyun	bool
265*4882a593Smuzhiyun
266*4882a593Smuzhiyunconfig SYS_FSL_SRDS_2
267*4882a593Smuzhiyun	bool
268*4882a593Smuzhiyun
269*4882a593Smuzhiyunconfig SYS_HAS_SERDES
270*4882a593Smuzhiyun	bool
271*4882a593Smuzhiyun
272*4882a593Smuzhiyunconfig FSL_TZASC_1
273*4882a593Smuzhiyun	bool
274*4882a593Smuzhiyun
275*4882a593Smuzhiyunconfig FSL_TZASC_2
276*4882a593Smuzhiyun	bool
277*4882a593Smuzhiyun
278*4882a593Smuzhiyunendmenu
279*4882a593Smuzhiyun
280*4882a593Smuzhiyunmenu "Layerscape clock tree configuration"
281*4882a593Smuzhiyun	depends on FSL_LSCH2 || FSL_LSCH3
282*4882a593Smuzhiyun
283*4882a593Smuzhiyunconfig SYS_FSL_CLK
284*4882a593Smuzhiyun	bool "Enable clock tree initialization"
285*4882a593Smuzhiyun	default y
286*4882a593Smuzhiyun
287*4882a593Smuzhiyunconfig CLUSTER_CLK_FREQ
288*4882a593Smuzhiyun	int "Reference clock of core cluster"
289*4882a593Smuzhiyun	depends on ARCH_LS1012A
290*4882a593Smuzhiyun	default 100000000
291*4882a593Smuzhiyun	help
292*4882a593Smuzhiyun	  This number is the reference clock frequency of core PLL.
293*4882a593Smuzhiyun	  For most platforms, the core PLL and Platform PLL have the same
294*4882a593Smuzhiyun	  reference clock, but for some platforms, LS1012A for instance,
295*4882a593Smuzhiyun	  they are provided sepatately.
296*4882a593Smuzhiyun
297*4882a593Smuzhiyunconfig SYS_FSL_PCLK_DIV
298*4882a593Smuzhiyun	int "Platform clock divider"
299*4882a593Smuzhiyun	default 1 if ARCH_LS1043A
300*4882a593Smuzhiyun	default 1 if ARCH_LS1046A
301*4882a593Smuzhiyun	default 2
302*4882a593Smuzhiyun	help
303*4882a593Smuzhiyun	  This is the divider that is used to derive Platform clock from
304*4882a593Smuzhiyun	  Platform PLL, in another word:
305*4882a593Smuzhiyun		Platform_clk = Platform_PLL_freq / this_divider
306*4882a593Smuzhiyun
307*4882a593Smuzhiyunconfig SYS_FSL_DSPI_CLK_DIV
308*4882a593Smuzhiyun	int "DSPI clock divider"
309*4882a593Smuzhiyun	default 1 if ARCH_LS1043A
310*4882a593Smuzhiyun	default 2
311*4882a593Smuzhiyun	help
312*4882a593Smuzhiyun	  This is the divider that is used to derive DSPI clock from Platform
313*4882a593Smuzhiyun	  clock, in another word DSPI_clk = Platform_clk / this_divider.
314*4882a593Smuzhiyun
315*4882a593Smuzhiyunconfig SYS_FSL_DUART_CLK_DIV
316*4882a593Smuzhiyun	int "DUART clock divider"
317*4882a593Smuzhiyun	default 1 if ARCH_LS1043A
318*4882a593Smuzhiyun	default 2
319*4882a593Smuzhiyun	help
320*4882a593Smuzhiyun	  This is the divider that is used to derive DUART clock from Platform
321*4882a593Smuzhiyun	  clock, in another word DUART_clk = Platform_clk / this_divider.
322*4882a593Smuzhiyun
323*4882a593Smuzhiyunconfig SYS_FSL_I2C_CLK_DIV
324*4882a593Smuzhiyun	int "I2C clock divider"
325*4882a593Smuzhiyun	default 1 if ARCH_LS1043A
326*4882a593Smuzhiyun	default 2
327*4882a593Smuzhiyun	help
328*4882a593Smuzhiyun	  This is the divider that is used to derive I2C clock from Platform
329*4882a593Smuzhiyun	  clock, in another word I2C_clk = Platform_clk / this_divider.
330*4882a593Smuzhiyun
331*4882a593Smuzhiyunconfig SYS_FSL_IFC_CLK_DIV
332*4882a593Smuzhiyun	int "IFC clock divider"
333*4882a593Smuzhiyun	default 1 if ARCH_LS1043A
334*4882a593Smuzhiyun	default 2
335*4882a593Smuzhiyun	help
336*4882a593Smuzhiyun	  This is the divider that is used to derive IFC clock from Platform
337*4882a593Smuzhiyun	  clock, in another word IFC_clk = Platform_clk / this_divider.
338*4882a593Smuzhiyun
339*4882a593Smuzhiyunconfig SYS_FSL_LPUART_CLK_DIV
340*4882a593Smuzhiyun	int "LPUART clock divider"
341*4882a593Smuzhiyun	default 1 if ARCH_LS1043A
342*4882a593Smuzhiyun	default 2
343*4882a593Smuzhiyun	help
344*4882a593Smuzhiyun	  This is the divider that is used to derive LPUART clock from Platform
345*4882a593Smuzhiyun	  clock, in another word LPUART_clk = Platform_clk / this_divider.
346*4882a593Smuzhiyun
347*4882a593Smuzhiyunconfig SYS_FSL_SDHC_CLK_DIV
348*4882a593Smuzhiyun	int "SDHC clock divider"
349*4882a593Smuzhiyun	default 1 if ARCH_LS1043A
350*4882a593Smuzhiyun	default 1 if ARCH_LS1012A
351*4882a593Smuzhiyun	default 2
352*4882a593Smuzhiyun	help
353*4882a593Smuzhiyun	  This is the divider that is used to derive SDHC clock from Platform
354*4882a593Smuzhiyun	  clock, in another word SDHC_clk = Platform_clk / this_divider.
355*4882a593Smuzhiyunendmenu
356*4882a593Smuzhiyun
357*4882a593Smuzhiyunconfig RESV_RAM
358*4882a593Smuzhiyun	bool
359*4882a593Smuzhiyun	help
360*4882a593Smuzhiyun	  Reserve memory from the top, tracked by gd->arch.resv_ram. This
361*4882a593Smuzhiyun	  reserved RAM can be used by special driver that resides in memory
362*4882a593Smuzhiyun	  after U-Boot exits. It's up to implementation to allocate and allow
363*4882a593Smuzhiyun	  access to this reserved memory. For example, the reserved RAM can
364*4882a593Smuzhiyun	  be at the high end of physical memory. The reserve RAM may be
365*4882a593Smuzhiyun	  excluded from memory bank(s) passed to OS, or marked as reserved.
366*4882a593Smuzhiyun
367*4882a593Smuzhiyunconfig SYS_FSL_ERRATUM_A008336
368*4882a593Smuzhiyun	bool
369*4882a593Smuzhiyun
370*4882a593Smuzhiyunconfig SYS_FSL_ERRATUM_A008514
371*4882a593Smuzhiyun	bool
372*4882a593Smuzhiyun
373*4882a593Smuzhiyunconfig SYS_FSL_ERRATUM_A008585
374*4882a593Smuzhiyun	bool
375*4882a593Smuzhiyun
376*4882a593Smuzhiyunconfig SYS_FSL_ERRATUM_A008850
377*4882a593Smuzhiyun	bool
378*4882a593Smuzhiyun
379*4882a593Smuzhiyunconfig SYS_FSL_ERRATUM_A009203
380*4882a593Smuzhiyun	bool
381*4882a593Smuzhiyun
382*4882a593Smuzhiyunconfig SYS_FSL_ERRATUM_A009635
383*4882a593Smuzhiyun	bool
384*4882a593Smuzhiyun
385*4882a593Smuzhiyunconfig SYS_FSL_ERRATUM_A009660
386*4882a593Smuzhiyun	bool
387*4882a593Smuzhiyun
388*4882a593Smuzhiyunconfig SYS_FSL_ERRATUM_A009929
389*4882a593Smuzhiyun	bool
390*4882a593Smuzhiyun
391*4882a593Smuzhiyunconfig SYS_MC_RSV_MEM_ALIGN
392*4882a593Smuzhiyun	hex "Management Complex reserved memory alignment"
393*4882a593Smuzhiyun	depends on RESV_RAM
394*4882a593Smuzhiyun	default 0x20000000
395*4882a593Smuzhiyun	help
396*4882a593Smuzhiyun	  Reserved memory needs to be aligned for MC to use. Default value
397*4882a593Smuzhiyun	  is 512MB.
398*4882a593Smuzhiyun
399*4882a593Smuzhiyunconfig SPL_LDSCRIPT
400*4882a593Smuzhiyun	default "arch/arm/cpu/armv8/u-boot-spl.lds" if ARCH_LS1043A || ARCH_LS1046A || ARCH_LS2080A
401