xref: /openbmc/u-boot/arch/arm/cpu/armv8/fsl-layerscape/Kconfig (revision 63b2316c5c4ba0e47d1f69ef1372db4fd89b6bf5)
19533acf3SYork Sunconfig ARCH_LS1012A
24a444176SYork Sun	bool
3ee2a5102SHou Zhiqiang	select ARMV8_SET_SMPEN
4fb2bf8c2SYork Sun	select FSL_LSCH2
524aaa094SYork Sun	select SYS_FSL_DDR_BE
69533acf3SYork Sun	select SYS_FSL_MMDC
70a37cf8fSYork Sun	select SYS_FSL_ERRATUM_A010315
8a421192fSSimon Glass	select ARCH_EARLY_INIT_R
9a5d67547SSimon Glass	select BOARD_EARLY_INIT_F
100a37cf8fSYork Sun
110a37cf8fSYork Sunconfig ARCH_LS1043A
124a444176SYork Sun	bool
13ee2a5102SHou Zhiqiang	select ARMV8_SET_SMPEN
14fb2bf8c2SYork Sun	select FSL_LSCH2
15d26e34c4SYork Sun	select SYS_FSL_DDR
1624aaa094SYork Sun	select SYS_FSL_DDR_BE
1724aaa094SYork Sun	select SYS_FSL_DDR_VER_50
18ba1b6fb5SYork Sun	select SYS_FSL_ERRATUM_A008850
19ba1b6fb5SYork Sun	select SYS_FSL_ERRATUM_A009660
20ba1b6fb5SYork Sun	select SYS_FSL_ERRATUM_A009663
21ba1b6fb5SYork Sun	select SYS_FSL_ERRATUM_A009929
22ba1b6fb5SYork Sun	select SYS_FSL_ERRATUM_A009942
230a37cf8fSYork Sun	select SYS_FSL_ERRATUM_A010315
240ea3671dSHou Zhiqiang	select SYS_FSL_ERRATUM_A010539
25d26e34c4SYork Sun	select SYS_FSL_HAS_DDR3
26d26e34c4SYork Sun	select SYS_FSL_HAS_DDR4
27a421192fSSimon Glass	select ARCH_EARLY_INIT_R
28a5d67547SSimon Glass	select BOARD_EARLY_INIT_F
29fedb428cSSimon Glass	imply SCSI
306500ec7aSSimon Glass	imply CMD_PCI
319533acf3SYork Sun
32da28e58aSYork Sunconfig ARCH_LS1046A
334a444176SYork Sun	bool
34ee2a5102SHou Zhiqiang	select ARMV8_SET_SMPEN
35fb2bf8c2SYork Sun	select FSL_LSCH2
36d26e34c4SYork Sun	select SYS_FSL_DDR
3724aaa094SYork Sun	select SYS_FSL_DDR_BE
3824aaa094SYork Sun	select SYS_FSL_DDR_VER_50
390ae7050cSYork Sun	select SYS_FSL_ERRATUM_A008336
40ba1b6fb5SYork Sun	select SYS_FSL_ERRATUM_A008511
41fb806ad6SShengzhou Liu	select SYS_FSL_ERRATUM_A008850
42ba1b6fb5SYork Sun	select SYS_FSL_ERRATUM_A009801
43ba1b6fb5SYork Sun	select SYS_FSL_ERRATUM_A009803
44ba1b6fb5SYork Sun	select SYS_FSL_ERRATUM_A009942
45ba1b6fb5SYork Sun	select SYS_FSL_ERRATUM_A010165
460ea3671dSHou Zhiqiang	select SYS_FSL_ERRATUM_A010539
47d26e34c4SYork Sun	select SYS_FSL_HAS_DDR4
48f534b8f5SYork Sun	select SYS_FSL_SRDS_2
49a421192fSSimon Glass	select ARCH_EARLY_INIT_R
50a5d67547SSimon Glass	select BOARD_EARLY_INIT_F
51fedb428cSSimon Glass	imply SCSI
529533acf3SYork Sun
534a444176SYork Sunconfig ARCH_LS2080A
544a444176SYork Sun	bool
55ee2a5102SHou Zhiqiang	select ARMV8_SET_SMPEN
568dda2e2fSTom Rini	select ARM_ERRATA_826974
578dda2e2fSTom Rini	select ARM_ERRATA_828024
588dda2e2fSTom Rini	select ARM_ERRATA_829520
598dda2e2fSTom Rini	select ARM_ERRATA_833471
60fb2bf8c2SYork Sun	select FSL_LSCH3
61d26e34c4SYork Sun	select SYS_FSL_DDR
6224aaa094SYork Sun	select SYS_FSL_DDR_LE
6324aaa094SYork Sun	select SYS_FSL_DDR_VER_50
64f534b8f5SYork Sun	select SYS_FSL_HAS_DP_DDR
652c2e2c9eSYork Sun	select SYS_FSL_HAS_SEC
66d26e34c4SYork Sun	select SYS_FSL_HAS_DDR4
672c2e2c9eSYork Sun	select SYS_FSL_SEC_COMPAT_5
6890b80386SYork Sun	select SYS_FSL_SEC_LE
69f534b8f5SYork Sun	select SYS_FSL_SRDS_2
7085a9a14eSAshish kumar	select FSL_TZASC_1
7185a9a14eSAshish kumar	select FSL_TZASC_2
72ba1b6fb5SYork Sun	select SYS_FSL_ERRATUM_A008336
73ba1b6fb5SYork Sun	select SYS_FSL_ERRATUM_A008511
74ba1b6fb5SYork Sun	select SYS_FSL_ERRATUM_A008514
75ba1b6fb5SYork Sun	select SYS_FSL_ERRATUM_A008585
76ba1b6fb5SYork Sun	select SYS_FSL_ERRATUM_A009635
77ba1b6fb5SYork Sun	select SYS_FSL_ERRATUM_A009663
78ba1b6fb5SYork Sun	select SYS_FSL_ERRATUM_A009801
79ba1b6fb5SYork Sun	select SYS_FSL_ERRATUM_A009803
80ba1b6fb5SYork Sun	select SYS_FSL_ERRATUM_A009942
81ba1b6fb5SYork Sun	select SYS_FSL_ERRATUM_A010165
82dd48f0bfSAshish kumar	select SYS_FSL_ERRATUM_A009203
83a421192fSSimon Glass	select ARCH_EARLY_INIT_R
84a5d67547SSimon Glass	select BOARD_EARLY_INIT_F
85fb2bf8c2SYork Sun
86fb2bf8c2SYork Sunconfig FSL_LSCH2
87fb2bf8c2SYork Sun	bool
88*63b2316cSAshish Kumar	select SYS_FSL_HAS_CCI400
892c2e2c9eSYork Sun	select SYS_FSL_HAS_SEC
902c2e2c9eSYork Sun	select SYS_FSL_SEC_COMPAT_5
9190b80386SYork Sun	select SYS_FSL_SEC_BE
92f534b8f5SYork Sun	select SYS_FSL_SRDS_1
93f534b8f5SYork Sun	select SYS_HAS_SERDES
94fb2bf8c2SYork Sun
95fb2bf8c2SYork Sunconfig FSL_LSCH3
96fb2bf8c2SYork Sun	bool
97f534b8f5SYork Sun	select SYS_FSL_SRDS_1
98f534b8f5SYork Sun	select SYS_HAS_SERDES
99fb2bf8c2SYork Sun
100e243b6e1SYork Sunconfig FSL_MC_ENET
101e243b6e1SYork Sun	bool "Management Complex network"
102e243b6e1SYork Sun	depends on ARCH_LS2080A
103e243b6e1SYork Sun	default y
104e243b6e1SYork Sun	select RESV_RAM
105e243b6e1SYork Sun	help
106e243b6e1SYork Sun	  Enable Management Complex (MC) network
107e243b6e1SYork Sun
108fb2bf8c2SYork Sunmenu "Layerscape architecture"
109fb2bf8c2SYork Sun	depends on FSL_LSCH2 || FSL_LSCH3
1104a444176SYork Sun
11119538f30SHou Zhiqiangconfig FSL_PCIE_COMPAT
11219538f30SHou Zhiqiang	string "PCIe compatible of Kernel DT"
11319538f30SHou Zhiqiang	depends on PCIE_LAYERSCAPE
11419538f30SHou Zhiqiang	default "fsl,ls1012a-pcie" if ARCH_LS1012A
11519538f30SHou Zhiqiang	default "fsl,ls1043a-pcie" if ARCH_LS1043A
11619538f30SHou Zhiqiang	default "fsl,ls1046a-pcie" if ARCH_LS1046A
11719538f30SHou Zhiqiang	default "fsl,ls2080a-pcie" if ARCH_LS2080A
11819538f30SHou Zhiqiang	help
11919538f30SHou Zhiqiang	  This compatible is used to find pci controller node in Kernel DT
12019538f30SHou Zhiqiang	  to complete fixup.
12119538f30SHou Zhiqiang
122fa18ed76SWenbin Songconfig HAS_FEATURE_GIC64K_ALIGN
123fa18ed76SWenbin Song	bool
124fa18ed76SWenbin Song	default y if ARCH_LS1043A
125fa18ed76SWenbin Song
1262ca84bf7SWenbin Songconfig HAS_FEATURE_ENHANCED_MSI
1272ca84bf7SWenbin Song	bool
1282ca84bf7SWenbin Song	default y if ARCH_LS1043A
129fa18ed76SWenbin Song
1302d16a1a6Smacro.wave.z@gmail.commenu "Layerscape PPA"
1312d16a1a6Smacro.wave.z@gmail.comconfig FSL_LS_PPA
1322d16a1a6Smacro.wave.z@gmail.com	bool "FSL Layerscape PPA firmware support"
133df88cb3bSmacro.wave.z@gmail.com	depends on !ARMV8_PSCI
1340541527bSHou Zhiqiang	select ARMV8_SEC_FIRMWARE_SUPPORT
135daa92644SHou Zhiqiang	select SEC_FIRMWARE_ARMV8_PSCI
1360541527bSHou Zhiqiang	select ARMV8_SEC_FIRMWARE_ERET_ADDR_REVERT if FSL_LSCH2
1372d16a1a6Smacro.wave.z@gmail.com	help
1382d16a1a6Smacro.wave.z@gmail.com	  The FSL Primary Protected Application (PPA) is a software component
1392d16a1a6Smacro.wave.z@gmail.com	  which is loaded during boot stage, and then remains resident in RAM
1402d16a1a6Smacro.wave.z@gmail.com	  and runs in the TrustZone after boot.
1412d16a1a6Smacro.wave.z@gmail.com	  Say y to enable it.
1428e59778bSYork Sun
1438e59778bSYork Sunconfig SPL_FSL_LS_PPA
1448e59778bSYork Sun	bool "FSL Layerscape PPA firmware support for SPL build"
1458e59778bSYork Sun	depends on !ARMV8_PSCI
1468e59778bSYork Sun	select SPL_ARMV8_SEC_FIRMWARE_SUPPORT
1478e59778bSYork Sun	select SEC_FIRMWARE_ARMV8_PSCI
1488e59778bSYork Sun	select ARMV8_SEC_FIRMWARE_ERET_ADDR_REVERT if FSL_LSCH2
1498e59778bSYork Sun	help
1508e59778bSYork Sun	  The FSL Primary Protected Application (PPA) is a software component
1518e59778bSYork Sun	  which is loaded during boot stage, and then remains resident in RAM
1528e59778bSYork Sun	  and runs in the TrustZone after boot. This is to load PPA during SPL
1538e59778bSYork Sun	  stage instead of the RAM version of U-Boot. Once PPA is initialized,
1548e59778bSYork Sun	  the rest of U-Boot (including RAM version) runs at EL2.
1550541527bSHou Zhiqiangchoice
1560541527bSHou Zhiqiang	prompt "FSL Layerscape PPA firmware loading-media select"
1570541527bSHou Zhiqiang	depends on FSL_LS_PPA
15877bbe55dSHou Zhiqiang	default SYS_LS_PPA_FW_IN_MMC if SD_BOOT
15977bbe55dSHou Zhiqiang	default SYS_LS_PPA_FW_IN_NAND if NAND_BOOT
1600541527bSHou Zhiqiang	default SYS_LS_PPA_FW_IN_XIP
1610541527bSHou Zhiqiang
1620541527bSHou Zhiqiangconfig SYS_LS_PPA_FW_IN_XIP
1630541527bSHou Zhiqiang	bool "XIP"
1640541527bSHou Zhiqiang	help
1650541527bSHou Zhiqiang	  Say Y here if the PPA firmware locate at XIP flash, such
1660541527bSHou Zhiqiang	  as NOR or QSPI flash.
1670541527bSHou Zhiqiang
16877bbe55dSHou Zhiqiangconfig SYS_LS_PPA_FW_IN_MMC
16977bbe55dSHou Zhiqiang	bool "eMMC or SD Card"
17077bbe55dSHou Zhiqiang	help
17177bbe55dSHou Zhiqiang	  Say Y here if the PPA firmware locate at eMMC/SD card.
17277bbe55dSHou Zhiqiang
17377bbe55dSHou Zhiqiangconfig SYS_LS_PPA_FW_IN_NAND
17477bbe55dSHou Zhiqiang	bool "NAND"
17577bbe55dSHou Zhiqiang	help
17677bbe55dSHou Zhiqiang	  Say Y here if the PPA firmware locate at NAND flash.
17777bbe55dSHou Zhiqiang
1780541527bSHou Zhiqiangendchoice
1790541527bSHou Zhiqiang
1800541527bSHou Zhiqiangconfig SYS_LS_PPA_FW_ADDR
1810541527bSHou Zhiqiang	hex "Address of PPA firmware loading from"
1820541527bSHou Zhiqiang	depends on FSL_LS_PPA
18389a168f7SPriyanka Jain	default 0x20400000 if SYS_LS_PPA_FW_IN_XIP && QSPI_BOOT && ARCH_LS2080A
184a9a5cef3SAlison Wang	default 0x40400000 if SYS_LS_PPA_FW_IN_XIP && QSPI_BOOT
185f5bf23d8SSantan Kumar	default 0x580400000 if SYS_LS_PPA_FW_IN_XIP && ARCH_LS2080A
186a9a5cef3SAlison Wang	default 0x60400000 if SYS_LS_PPA_FW_IN_XIP
187a9a5cef3SAlison Wang	default 0x400000 if SYS_LS_PPA_FW_IN_MMC
188a9a5cef3SAlison Wang	default 0x400000 if SYS_LS_PPA_FW_IN_NAND
18977bbe55dSHou Zhiqiang
1900541527bSHou Zhiqiang	help
1910541527bSHou Zhiqiang	  If the PPA firmware locate at XIP flash, such as NOR or
1920541527bSHou Zhiqiang	  QSPI flash, this address is a directly memory-mapped.
1930541527bSHou Zhiqiang	  If it is in a serial accessed flash, such as NAND and SD
1940541527bSHou Zhiqiang	  card, it is a byte offset.
195d1a795acSVinitha Pillai-B57223
196d1a795acSVinitha Pillai-B57223config SYS_LS_PPA_ESBC_ADDR
197d1a795acSVinitha Pillai-B57223	hex "hdr address of PPA firmware loading from"
198d1a795acSVinitha Pillai-B57223	depends on FSL_LS_PPA && CHAIN_OF_TRUST
199d1a795acSVinitha Pillai-B57223	default 0x600c0000 if SYS_LS_PPA_FW_IN_XIP && ARCH_LS1043A
200b3635f57SVinitha Pillai-B57223	default 0x40740000 if SYS_LS_PPA_FW_IN_XIP && ARCH_LS1046A
201d2a99502SVinitha Pillai-B57223	default 0x40480000 if SYS_LS_PPA_FW_IN_XIP && ARCH_LS1012A
202d1a795acSVinitha Pillai-B57223	default 0x580c40000 if SYS_LS_PPA_FW_IN_XIP && FSL_LSCH3
2039fa3a542SSumit Garg	default 0x700000 if SYS_LS_PPA_FW_IN_MMC
2049fa3a542SSumit Garg	default 0x700000 if SYS_LS_PPA_FW_IN_NAND
205d1a795acSVinitha Pillai-B57223	help
206d1a795acSVinitha Pillai-B57223	  If the PPA header firmware locate at XIP flash, such as NOR or
207d1a795acSVinitha Pillai-B57223	  QSPI flash, this address is a directly memory-mapped.
208d1a795acSVinitha Pillai-B57223	  If it is in a serial accessed flash, such as NAND and SD
209d1a795acSVinitha Pillai-B57223	  card, it is a byte offset.
210d1a795acSVinitha Pillai-B57223
2119fa3a542SSumit Gargconfig LS_PPA_ESBC_HDR_SIZE
2129fa3a542SSumit Garg	hex "Length of PPA ESBC header"
2139fa3a542SSumit Garg	depends on FSL_LS_PPA && CHAIN_OF_TRUST && !SYS_LS_PPA_FW_IN_XIP
2149fa3a542SSumit Garg	default 0x2000
2159fa3a542SSumit Garg	help
2169fa3a542SSumit Garg	  Length (in bytes) of PPA ESBC header to be copied from MMC/SD or
2179fa3a542SSumit Garg	  NAND to memory to validate PPA image.
2189fa3a542SSumit Garg
2192d16a1a6Smacro.wave.z@gmail.comendmenu
2202d16a1a6Smacro.wave.z@gmail.com
2210a37cf8fSYork Sunconfig SYS_FSL_ERRATUM_A010315
2220a37cf8fSYork Sun	bool "Workaround for PCIe erratum A010315"
2230ea3671dSHou Zhiqiang
2240ea3671dSHou Zhiqiangconfig SYS_FSL_ERRATUM_A010539
2250ea3671dSHou Zhiqiang	bool "Workaround for PIN MUX erratum A010539"
226fb2bf8c2SYork Sun
227b4b60d06SYork Sunconfig MAX_CPUS
228b4b60d06SYork Sun	int "Maximum number of CPUs permitted for Layerscape"
229b4b60d06SYork Sun	default 4 if ARCH_LS1043A
230b4b60d06SYork Sun	default 4 if ARCH_LS1046A
231b4b60d06SYork Sun	default 16 if ARCH_LS2080A
232b4b60d06SYork Sun	default 1
233b4b60d06SYork Sun	help
234b4b60d06SYork Sun	  Set this number to the maximum number of possible CPUs in the SoC.
235b4b60d06SYork Sun	  SoCs may have multiple clusters with each cluster may have multiple
236b4b60d06SYork Sun	  ports. If some ports are reserved but higher ports are used for
237b4b60d06SYork Sun	  cores, count the reserved ports. This will allocate enough memory
238b4b60d06SYork Sun	  in spin table to properly handle all cores.
239b4b60d06SYork Sun
24001f65d97SYork Sunconfig SECURE_BOOT
2419cfab06eSYork Sun	bool "Secure Boot"
24201f65d97SYork Sun	help
24301f65d97SYork Sun		Enable Freescale Secure Boot feature
24401f65d97SYork Sun
245dd2ad2f1SYuan Yaoconfig QSPI_AHB_INIT
246dd2ad2f1SYuan Yao	bool "Init the QSPI AHB bus"
247dd2ad2f1SYuan Yao	help
248dd2ad2f1SYuan Yao	  The default setting for QSPI AHB bus just support 3bytes addressing.
249dd2ad2f1SYuan Yao	  But some QSPI flash size up to 64MBytes, so initialize the QSPI AHB
250dd2ad2f1SYuan Yao	  bus for those flashes to support the full QSPI flash size.
251dd2ad2f1SYuan Yao
252*63b2316cSAshish Kumarconfig SYS_CCI400_OFFSET
253*63b2316cSAshish Kumar	hex "Offset for CCI400 base"
254*63b2316cSAshish Kumar	depends on SYS_FSL_HAS_CCI400
255*63b2316cSAshish Kumar	default 0x3090000 if ARCH_LS1088A
256*63b2316cSAshish Kumar	default 0x180000 if FSL_LSCH2
257*63b2316cSAshish Kumar	help
258*63b2316cSAshish Kumar	  Offset for CCI400 base
259*63b2316cSAshish Kumar	  CCI400 base addr = CCSRBAR + CCI400_OFFSET
260*63b2316cSAshish Kumar
26125af7dc1SYork Sunconfig SYS_FSL_IFC_BANK_COUNT
26225af7dc1SYork Sun	int "Maximum banks of Integrated flash controller"
26325af7dc1SYork Sun	depends on ARCH_LS1043A || ARCH_LS1046A || ARCH_LS2080A
26425af7dc1SYork Sun	default 4 if ARCH_LS1043A
26525af7dc1SYork Sun	default 4 if ARCH_LS1046A
26625af7dc1SYork Sun	default 8 if ARCH_LS2080A
26725af7dc1SYork Sun
268*63b2316cSAshish Kumarconfig SYS_FSL_HAS_CCI400
269*63b2316cSAshish Kumar	bool
270*63b2316cSAshish Kumar
271fd638102SYork Sunconfig SYS_FSL_HAS_DP_DDR
272fd638102SYork Sun	bool
273fd638102SYork Sun
274f534b8f5SYork Sunconfig SYS_FSL_SRDS_1
275f534b8f5SYork Sun	bool
276f534b8f5SYork Sun
277f534b8f5SYork Sunconfig SYS_FSL_SRDS_2
278f534b8f5SYork Sun	bool
279f534b8f5SYork Sun
280f534b8f5SYork Sunconfig SYS_HAS_SERDES
281f534b8f5SYork Sun	bool
282f534b8f5SYork Sun
28385a9a14eSAshish kumarconfig FSL_TZASC_1
28485a9a14eSAshish kumar	bool
28585a9a14eSAshish kumar
28685a9a14eSAshish kumarconfig FSL_TZASC_2
28785a9a14eSAshish kumar	bool
28885a9a14eSAshish kumar
289fb2bf8c2SYork Sunendmenu
290ba1b6fb5SYork Sun
291904110c7SHou Zhiqiangmenu "Layerscape clock tree configuration"
292904110c7SHou Zhiqiang	depends on FSL_LSCH2 || FSL_LSCH3
293904110c7SHou Zhiqiang
294904110c7SHou Zhiqiangconfig SYS_FSL_CLK
295904110c7SHou Zhiqiang	bool "Enable clock tree initialization"
296904110c7SHou Zhiqiang	default y
297904110c7SHou Zhiqiang
298904110c7SHou Zhiqiangconfig CLUSTER_CLK_FREQ
299904110c7SHou Zhiqiang	int "Reference clock of core cluster"
300904110c7SHou Zhiqiang	depends on ARCH_LS1012A
301904110c7SHou Zhiqiang	default 100000000
302904110c7SHou Zhiqiang	help
303904110c7SHou Zhiqiang	  This number is the reference clock frequency of core PLL.
304904110c7SHou Zhiqiang	  For most platforms, the core PLL and Platform PLL have the same
305904110c7SHou Zhiqiang	  reference clock, but for some platforms, LS1012A for instance,
306904110c7SHou Zhiqiang	  they are provided sepatately.
307904110c7SHou Zhiqiang
308904110c7SHou Zhiqiangconfig SYS_FSL_PCLK_DIV
309904110c7SHou Zhiqiang	int "Platform clock divider"
310904110c7SHou Zhiqiang	default 1 if ARCH_LS1043A
311904110c7SHou Zhiqiang	default 1 if ARCH_LS1046A
312904110c7SHou Zhiqiang	default 2
313904110c7SHou Zhiqiang	help
314904110c7SHou Zhiqiang	  This is the divider that is used to derive Platform clock from
315904110c7SHou Zhiqiang	  Platform PLL, in another word:
316904110c7SHou Zhiqiang		Platform_clk = Platform_PLL_freq / this_divider
317904110c7SHou Zhiqiang
318904110c7SHou Zhiqiangconfig SYS_FSL_DSPI_CLK_DIV
319904110c7SHou Zhiqiang	int "DSPI clock divider"
320904110c7SHou Zhiqiang	default 1 if ARCH_LS1043A
321904110c7SHou Zhiqiang	default 2
322904110c7SHou Zhiqiang	help
323904110c7SHou Zhiqiang	  This is the divider that is used to derive DSPI clock from Platform
324bf7aecceSHou Zhiqiang	  clock, in another word DSPI_clk = Platform_clk / this_divider.
325904110c7SHou Zhiqiang
326904110c7SHou Zhiqiangconfig SYS_FSL_DUART_CLK_DIV
327904110c7SHou Zhiqiang	int "DUART clock divider"
328904110c7SHou Zhiqiang	default 1 if ARCH_LS1043A
329904110c7SHou Zhiqiang	default 2
330904110c7SHou Zhiqiang	help
331904110c7SHou Zhiqiang	  This is the divider that is used to derive DUART clock from Platform
332904110c7SHou Zhiqiang	  clock, in another word DUART_clk = Platform_clk / this_divider.
333904110c7SHou Zhiqiang
334904110c7SHou Zhiqiangconfig SYS_FSL_I2C_CLK_DIV
335904110c7SHou Zhiqiang	int "I2C clock divider"
336904110c7SHou Zhiqiang	default 1 if ARCH_LS1043A
337904110c7SHou Zhiqiang	default 2
338904110c7SHou Zhiqiang	help
339904110c7SHou Zhiqiang	  This is the divider that is used to derive I2C clock from Platform
340904110c7SHou Zhiqiang	  clock, in another word I2C_clk = Platform_clk / this_divider.
341904110c7SHou Zhiqiang
342904110c7SHou Zhiqiangconfig SYS_FSL_IFC_CLK_DIV
343904110c7SHou Zhiqiang	int "IFC clock divider"
344904110c7SHou Zhiqiang	default 1 if ARCH_LS1043A
345904110c7SHou Zhiqiang	default 2
346904110c7SHou Zhiqiang	help
347904110c7SHou Zhiqiang	  This is the divider that is used to derive IFC clock from Platform
348904110c7SHou Zhiqiang	  clock, in another word IFC_clk = Platform_clk / this_divider.
349904110c7SHou Zhiqiang
350904110c7SHou Zhiqiangconfig SYS_FSL_LPUART_CLK_DIV
351904110c7SHou Zhiqiang	int "LPUART clock divider"
352904110c7SHou Zhiqiang	default 1 if ARCH_LS1043A
353904110c7SHou Zhiqiang	default 2
354904110c7SHou Zhiqiang	help
355904110c7SHou Zhiqiang	  This is the divider that is used to derive LPUART clock from Platform
356904110c7SHou Zhiqiang	  clock, in another word LPUART_clk = Platform_clk / this_divider.
357904110c7SHou Zhiqiang
358904110c7SHou Zhiqiangconfig SYS_FSL_SDHC_CLK_DIV
359904110c7SHou Zhiqiang	int "SDHC clock divider"
360904110c7SHou Zhiqiang	default 1 if ARCH_LS1043A
361904110c7SHou Zhiqiang	default 1 if ARCH_LS1012A
362904110c7SHou Zhiqiang	default 2
363904110c7SHou Zhiqiang	help
364904110c7SHou Zhiqiang	  This is the divider that is used to derive SDHC clock from Platform
365904110c7SHou Zhiqiang	  clock, in another word SDHC_clk = Platform_clk / this_divider.
366904110c7SHou Zhiqiangendmenu
367904110c7SHou Zhiqiang
368f2ccf7f7SYork Sunconfig RESV_RAM
369f2ccf7f7SYork Sun	bool
370f2ccf7f7SYork Sun	help
371f2ccf7f7SYork Sun	  Reserve memory from the top, tracked by gd->arch.resv_ram. This
372f2ccf7f7SYork Sun	  reserved RAM can be used by special driver that resides in memory
373f2ccf7f7SYork Sun	  after U-Boot exits. It's up to implementation to allocate and allow
374f2ccf7f7SYork Sun	  access to this reserved memory. For example, the reserved RAM can
375f2ccf7f7SYork Sun	  be at the high end of physical memory. The reserve RAM may be
376f2ccf7f7SYork Sun	  excluded from memory bank(s) passed to OS, or marked as reserved.
377f2ccf7f7SYork Sun
378ba1b6fb5SYork Sunconfig SYS_FSL_ERRATUM_A008336
379ba1b6fb5SYork Sun	bool
380ba1b6fb5SYork Sun
381ba1b6fb5SYork Sunconfig SYS_FSL_ERRATUM_A008514
382ba1b6fb5SYork Sun	bool
383ba1b6fb5SYork Sun
384ba1b6fb5SYork Sunconfig SYS_FSL_ERRATUM_A008585
385ba1b6fb5SYork Sun	bool
386ba1b6fb5SYork Sun
387ba1b6fb5SYork Sunconfig SYS_FSL_ERRATUM_A008850
388ba1b6fb5SYork Sun	bool
389ba1b6fb5SYork Sun
390dd48f0bfSAshish kumarconfig SYS_FSL_ERRATUM_A009203
391dd48f0bfSAshish kumar	bool
392dd48f0bfSAshish kumar
393ba1b6fb5SYork Sunconfig SYS_FSL_ERRATUM_A009635
394ba1b6fb5SYork Sun	bool
395ba1b6fb5SYork Sun
396ba1b6fb5SYork Sunconfig SYS_FSL_ERRATUM_A009660
397ba1b6fb5SYork Sun	bool
398ba1b6fb5SYork Sun
399ba1b6fb5SYork Sunconfig SYS_FSL_ERRATUM_A009929
400ba1b6fb5SYork Sun	bool
401f692d4eeSYork Sun
402f692d4eeSYork Sunconfig SYS_MC_RSV_MEM_ALIGN
403f692d4eeSYork Sun	hex "Management Complex reserved memory alignment"
404f692d4eeSYork Sun	depends on RESV_RAM
405f692d4eeSYork Sun	default 0x20000000
406f692d4eeSYork Sun	help
407f692d4eeSYork Sun	  Reserved memory needs to be aligned for MC to use. Default value
408f692d4eeSYork Sun	  is 512MB.
409b529993eSPhilipp Tomsich
410b529993eSPhilipp Tomsichconfig SPL_LDSCRIPT
411b529993eSPhilipp Tomsich	default "arch/arm/cpu/armv8/u-boot-spl.lds" if ARCH_LS1043A || ARCH_LS1046A || ARCH_LS2080A
412