xref: /openbmc/u-boot/arch/arm/cpu/armv8/fsl-layerscape/Kconfig (revision c055cee1951a01a3306f54f20bcfb85adf28721a)
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
64*c055cee1SAshish Kumar	select SYS_FSL_HAS_CCN504
65f534b8f5SYork Sun	select SYS_FSL_HAS_DP_DDR
662c2e2c9eSYork Sun	select SYS_FSL_HAS_SEC
67d26e34c4SYork Sun	select SYS_FSL_HAS_DDR4
682c2e2c9eSYork Sun	select SYS_FSL_SEC_COMPAT_5
6990b80386SYork Sun	select SYS_FSL_SEC_LE
70f534b8f5SYork Sun	select SYS_FSL_SRDS_2
7185a9a14eSAshish kumar	select FSL_TZASC_1
7285a9a14eSAshish kumar	select FSL_TZASC_2
73ba1b6fb5SYork Sun	select SYS_FSL_ERRATUM_A008336
74ba1b6fb5SYork Sun	select SYS_FSL_ERRATUM_A008511
75ba1b6fb5SYork Sun	select SYS_FSL_ERRATUM_A008514
76ba1b6fb5SYork Sun	select SYS_FSL_ERRATUM_A008585
77ba1b6fb5SYork Sun	select SYS_FSL_ERRATUM_A009635
78ba1b6fb5SYork Sun	select SYS_FSL_ERRATUM_A009663
79ba1b6fb5SYork Sun	select SYS_FSL_ERRATUM_A009801
80ba1b6fb5SYork Sun	select SYS_FSL_ERRATUM_A009803
81ba1b6fb5SYork Sun	select SYS_FSL_ERRATUM_A009942
82ba1b6fb5SYork Sun	select SYS_FSL_ERRATUM_A010165
83dd48f0bfSAshish kumar	select SYS_FSL_ERRATUM_A009203
84a421192fSSimon Glass	select ARCH_EARLY_INIT_R
85a5d67547SSimon Glass	select BOARD_EARLY_INIT_F
86fb2bf8c2SYork Sun
87fb2bf8c2SYork Sunconfig FSL_LSCH2
88fb2bf8c2SYork Sun	bool
8963b2316cSAshish Kumar	select SYS_FSL_HAS_CCI400
902c2e2c9eSYork Sun	select SYS_FSL_HAS_SEC
912c2e2c9eSYork Sun	select SYS_FSL_SEC_COMPAT_5
9290b80386SYork Sun	select SYS_FSL_SEC_BE
93f534b8f5SYork Sun	select SYS_FSL_SRDS_1
94f534b8f5SYork Sun	select SYS_HAS_SERDES
95fb2bf8c2SYork Sun
96fb2bf8c2SYork Sunconfig FSL_LSCH3
97fb2bf8c2SYork Sun	bool
98f534b8f5SYork Sun	select SYS_FSL_SRDS_1
99f534b8f5SYork Sun	select SYS_HAS_SERDES
100fb2bf8c2SYork Sun
101e243b6e1SYork Sunconfig FSL_MC_ENET
102e243b6e1SYork Sun	bool "Management Complex network"
103e243b6e1SYork Sun	depends on ARCH_LS2080A
104e243b6e1SYork Sun	default y
105e243b6e1SYork Sun	select RESV_RAM
106e243b6e1SYork Sun	help
107e243b6e1SYork Sun	  Enable Management Complex (MC) network
108e243b6e1SYork Sun
109fb2bf8c2SYork Sunmenu "Layerscape architecture"
110fb2bf8c2SYork Sun	depends on FSL_LSCH2 || FSL_LSCH3
1114a444176SYork Sun
11219538f30SHou Zhiqiangconfig FSL_PCIE_COMPAT
11319538f30SHou Zhiqiang	string "PCIe compatible of Kernel DT"
11419538f30SHou Zhiqiang	depends on PCIE_LAYERSCAPE
11519538f30SHou Zhiqiang	default "fsl,ls1012a-pcie" if ARCH_LS1012A
11619538f30SHou Zhiqiang	default "fsl,ls1043a-pcie" if ARCH_LS1043A
11719538f30SHou Zhiqiang	default "fsl,ls1046a-pcie" if ARCH_LS1046A
11819538f30SHou Zhiqiang	default "fsl,ls2080a-pcie" if ARCH_LS2080A
11919538f30SHou Zhiqiang	help
12019538f30SHou Zhiqiang	  This compatible is used to find pci controller node in Kernel DT
12119538f30SHou Zhiqiang	  to complete fixup.
12219538f30SHou Zhiqiang
123fa18ed76SWenbin Songconfig HAS_FEATURE_GIC64K_ALIGN
124fa18ed76SWenbin Song	bool
125fa18ed76SWenbin Song	default y if ARCH_LS1043A
126fa18ed76SWenbin Song
1272ca84bf7SWenbin Songconfig HAS_FEATURE_ENHANCED_MSI
1282ca84bf7SWenbin Song	bool
1292ca84bf7SWenbin Song	default y if ARCH_LS1043A
130fa18ed76SWenbin Song
1312d16a1a6Smacro.wave.z@gmail.commenu "Layerscape PPA"
1322d16a1a6Smacro.wave.z@gmail.comconfig FSL_LS_PPA
1332d16a1a6Smacro.wave.z@gmail.com	bool "FSL Layerscape PPA firmware support"
134df88cb3bSmacro.wave.z@gmail.com	depends on !ARMV8_PSCI
1350541527bSHou Zhiqiang	select ARMV8_SEC_FIRMWARE_SUPPORT
136daa92644SHou Zhiqiang	select SEC_FIRMWARE_ARMV8_PSCI
1370541527bSHou Zhiqiang	select ARMV8_SEC_FIRMWARE_ERET_ADDR_REVERT if FSL_LSCH2
1382d16a1a6Smacro.wave.z@gmail.com	help
1392d16a1a6Smacro.wave.z@gmail.com	  The FSL Primary Protected Application (PPA) is a software component
1402d16a1a6Smacro.wave.z@gmail.com	  which is loaded during boot stage, and then remains resident in RAM
1412d16a1a6Smacro.wave.z@gmail.com	  and runs in the TrustZone after boot.
1422d16a1a6Smacro.wave.z@gmail.com	  Say y to enable it.
1438e59778bSYork Sun
1448e59778bSYork Sunconfig SPL_FSL_LS_PPA
1458e59778bSYork Sun	bool "FSL Layerscape PPA firmware support for SPL build"
1468e59778bSYork Sun	depends on !ARMV8_PSCI
1478e59778bSYork Sun	select SPL_ARMV8_SEC_FIRMWARE_SUPPORT
1488e59778bSYork Sun	select SEC_FIRMWARE_ARMV8_PSCI
1498e59778bSYork Sun	select ARMV8_SEC_FIRMWARE_ERET_ADDR_REVERT if FSL_LSCH2
1508e59778bSYork Sun	help
1518e59778bSYork Sun	  The FSL Primary Protected Application (PPA) is a software component
1528e59778bSYork Sun	  which is loaded during boot stage, and then remains resident in RAM
1538e59778bSYork Sun	  and runs in the TrustZone after boot. This is to load PPA during SPL
1548e59778bSYork Sun	  stage instead of the RAM version of U-Boot. Once PPA is initialized,
1558e59778bSYork Sun	  the rest of U-Boot (including RAM version) runs at EL2.
1560541527bSHou Zhiqiangchoice
1570541527bSHou Zhiqiang	prompt "FSL Layerscape PPA firmware loading-media select"
1580541527bSHou Zhiqiang	depends on FSL_LS_PPA
15977bbe55dSHou Zhiqiang	default SYS_LS_PPA_FW_IN_MMC if SD_BOOT
16077bbe55dSHou Zhiqiang	default SYS_LS_PPA_FW_IN_NAND if NAND_BOOT
1610541527bSHou Zhiqiang	default SYS_LS_PPA_FW_IN_XIP
1620541527bSHou Zhiqiang
1630541527bSHou Zhiqiangconfig SYS_LS_PPA_FW_IN_XIP
1640541527bSHou Zhiqiang	bool "XIP"
1650541527bSHou Zhiqiang	help
1660541527bSHou Zhiqiang	  Say Y here if the PPA firmware locate at XIP flash, such
1670541527bSHou Zhiqiang	  as NOR or QSPI flash.
1680541527bSHou Zhiqiang
16977bbe55dSHou Zhiqiangconfig SYS_LS_PPA_FW_IN_MMC
17077bbe55dSHou Zhiqiang	bool "eMMC or SD Card"
17177bbe55dSHou Zhiqiang	help
17277bbe55dSHou Zhiqiang	  Say Y here if the PPA firmware locate at eMMC/SD card.
17377bbe55dSHou Zhiqiang
17477bbe55dSHou Zhiqiangconfig SYS_LS_PPA_FW_IN_NAND
17577bbe55dSHou Zhiqiang	bool "NAND"
17677bbe55dSHou Zhiqiang	help
17777bbe55dSHou Zhiqiang	  Say Y here if the PPA firmware locate at NAND flash.
17877bbe55dSHou Zhiqiang
1790541527bSHou Zhiqiangendchoice
1800541527bSHou Zhiqiang
1810541527bSHou Zhiqiangconfig SYS_LS_PPA_FW_ADDR
1820541527bSHou Zhiqiang	hex "Address of PPA firmware loading from"
1830541527bSHou Zhiqiang	depends on FSL_LS_PPA
18489a168f7SPriyanka Jain	default 0x20400000 if SYS_LS_PPA_FW_IN_XIP && QSPI_BOOT && ARCH_LS2080A
185a9a5cef3SAlison Wang	default 0x40400000 if SYS_LS_PPA_FW_IN_XIP && QSPI_BOOT
186f5bf23d8SSantan Kumar	default 0x580400000 if SYS_LS_PPA_FW_IN_XIP && ARCH_LS2080A
187a9a5cef3SAlison Wang	default 0x60400000 if SYS_LS_PPA_FW_IN_XIP
188a9a5cef3SAlison Wang	default 0x400000 if SYS_LS_PPA_FW_IN_MMC
189a9a5cef3SAlison Wang	default 0x400000 if SYS_LS_PPA_FW_IN_NAND
19077bbe55dSHou Zhiqiang
1910541527bSHou Zhiqiang	help
1920541527bSHou Zhiqiang	  If the PPA firmware locate at XIP flash, such as NOR or
1930541527bSHou Zhiqiang	  QSPI flash, this address is a directly memory-mapped.
1940541527bSHou Zhiqiang	  If it is in a serial accessed flash, such as NAND and SD
1950541527bSHou Zhiqiang	  card, it is a byte offset.
196d1a795acSVinitha Pillai-B57223
197d1a795acSVinitha Pillai-B57223config SYS_LS_PPA_ESBC_ADDR
198d1a795acSVinitha Pillai-B57223	hex "hdr address of PPA firmware loading from"
199d1a795acSVinitha Pillai-B57223	depends on FSL_LS_PPA && CHAIN_OF_TRUST
20006fb06f6SSumit Garg	default 0x60680000 if SYS_LS_PPA_FW_IN_XIP && ARCH_LS1043A
20106fb06f6SSumit Garg	default 0x40680000 if SYS_LS_PPA_FW_IN_XIP && ARCH_LS1046A
20206fb06f6SSumit Garg	default 0x40680000 if SYS_LS_PPA_FW_IN_XIP && ARCH_LS1012A
20315e7c681SUdit Agarwal	default 0x20680000 if SYS_LS_PPA_FW_IN_XIP && QSPI_BOOT && ARCH_LS2080A
20415e7c681SUdit Agarwal	default 0x580680000 if SYS_LS_PPA_FW_IN_XIP && ARCH_LS2080A
20506fb06f6SSumit Garg	default 0x680000 if SYS_LS_PPA_FW_IN_MMC
20606fb06f6SSumit Garg	default 0x680000 if SYS_LS_PPA_FW_IN_NAND
207d1a795acSVinitha Pillai-B57223	help
208d1a795acSVinitha Pillai-B57223	  If the PPA header firmware locate at XIP flash, such as NOR or
209d1a795acSVinitha Pillai-B57223	  QSPI flash, this address is a directly memory-mapped.
210d1a795acSVinitha Pillai-B57223	  If it is in a serial accessed flash, such as NAND and SD
211d1a795acSVinitha Pillai-B57223	  card, it is a byte offset.
212d1a795acSVinitha Pillai-B57223
2139fa3a542SSumit Gargconfig LS_PPA_ESBC_HDR_SIZE
2149fa3a542SSumit Garg	hex "Length of PPA ESBC header"
2159fa3a542SSumit Garg	depends on FSL_LS_PPA && CHAIN_OF_TRUST && !SYS_LS_PPA_FW_IN_XIP
2169fa3a542SSumit Garg	default 0x2000
2179fa3a542SSumit Garg	help
2189fa3a542SSumit Garg	  Length (in bytes) of PPA ESBC header to be copied from MMC/SD or
2199fa3a542SSumit Garg	  NAND to memory to validate PPA image.
2209fa3a542SSumit Garg
2212d16a1a6Smacro.wave.z@gmail.comendmenu
2222d16a1a6Smacro.wave.z@gmail.com
2230a37cf8fSYork Sunconfig SYS_FSL_ERRATUM_A010315
2240a37cf8fSYork Sun	bool "Workaround for PCIe erratum A010315"
2250ea3671dSHou Zhiqiang
2260ea3671dSHou Zhiqiangconfig SYS_FSL_ERRATUM_A010539
2270ea3671dSHou Zhiqiang	bool "Workaround for PIN MUX erratum A010539"
228fb2bf8c2SYork Sun
229b4b60d06SYork Sunconfig MAX_CPUS
230b4b60d06SYork Sun	int "Maximum number of CPUs permitted for Layerscape"
231b4b60d06SYork Sun	default 4 if ARCH_LS1043A
232b4b60d06SYork Sun	default 4 if ARCH_LS1046A
233b4b60d06SYork Sun	default 16 if ARCH_LS2080A
234b4b60d06SYork Sun	default 1
235b4b60d06SYork Sun	help
236b4b60d06SYork Sun	  Set this number to the maximum number of possible CPUs in the SoC.
237b4b60d06SYork Sun	  SoCs may have multiple clusters with each cluster may have multiple
238b4b60d06SYork Sun	  ports. If some ports are reserved but higher ports are used for
239b4b60d06SYork Sun	  cores, count the reserved ports. This will allocate enough memory
240b4b60d06SYork Sun	  in spin table to properly handle all cores.
241b4b60d06SYork Sun
24201f65d97SYork Sunconfig SECURE_BOOT
2439cfab06eSYork Sun	bool "Secure Boot"
24401f65d97SYork Sun	help
24501f65d97SYork Sun		Enable Freescale Secure Boot feature
24601f65d97SYork Sun
247dd2ad2f1SYuan Yaoconfig QSPI_AHB_INIT
248dd2ad2f1SYuan Yao	bool "Init the QSPI AHB bus"
249dd2ad2f1SYuan Yao	help
250dd2ad2f1SYuan Yao	  The default setting for QSPI AHB bus just support 3bytes addressing.
251dd2ad2f1SYuan Yao	  But some QSPI flash size up to 64MBytes, so initialize the QSPI AHB
252dd2ad2f1SYuan Yao	  bus for those flashes to support the full QSPI flash size.
253dd2ad2f1SYuan Yao
25463b2316cSAshish Kumarconfig SYS_CCI400_OFFSET
25563b2316cSAshish Kumar	hex "Offset for CCI400 base"
25663b2316cSAshish Kumar	depends on SYS_FSL_HAS_CCI400
25763b2316cSAshish Kumar	default 0x3090000 if ARCH_LS1088A
25863b2316cSAshish Kumar	default 0x180000 if FSL_LSCH2
25963b2316cSAshish Kumar	help
26063b2316cSAshish Kumar	  Offset for CCI400 base
26163b2316cSAshish Kumar	  CCI400 base addr = CCSRBAR + CCI400_OFFSET
26263b2316cSAshish Kumar
26325af7dc1SYork Sunconfig SYS_FSL_IFC_BANK_COUNT
26425af7dc1SYork Sun	int "Maximum banks of Integrated flash controller"
26525af7dc1SYork Sun	depends on ARCH_LS1043A || ARCH_LS1046A || ARCH_LS2080A
26625af7dc1SYork Sun	default 4 if ARCH_LS1043A
26725af7dc1SYork Sun	default 4 if ARCH_LS1046A
26825af7dc1SYork Sun	default 8 if ARCH_LS2080A
26925af7dc1SYork Sun
27063b2316cSAshish Kumarconfig SYS_FSL_HAS_CCI400
27163b2316cSAshish Kumar	bool
27263b2316cSAshish Kumar
273*c055cee1SAshish Kumarconfig SYS_FSL_HAS_CCN504
274*c055cee1SAshish Kumar	bool
275*c055cee1SAshish Kumar
276fd638102SYork Sunconfig SYS_FSL_HAS_DP_DDR
277fd638102SYork Sun	bool
278fd638102SYork Sun
279f534b8f5SYork Sunconfig SYS_FSL_SRDS_1
280f534b8f5SYork Sun	bool
281f534b8f5SYork Sun
282f534b8f5SYork Sunconfig SYS_FSL_SRDS_2
283f534b8f5SYork Sun	bool
284f534b8f5SYork Sun
285f534b8f5SYork Sunconfig SYS_HAS_SERDES
286f534b8f5SYork Sun	bool
287f534b8f5SYork Sun
28885a9a14eSAshish kumarconfig FSL_TZASC_1
28985a9a14eSAshish kumar	bool
29085a9a14eSAshish kumar
29185a9a14eSAshish kumarconfig FSL_TZASC_2
29285a9a14eSAshish kumar	bool
29385a9a14eSAshish kumar
294fb2bf8c2SYork Sunendmenu
295ba1b6fb5SYork Sun
296904110c7SHou Zhiqiangmenu "Layerscape clock tree configuration"
297904110c7SHou Zhiqiang	depends on FSL_LSCH2 || FSL_LSCH3
298904110c7SHou Zhiqiang
299904110c7SHou Zhiqiangconfig SYS_FSL_CLK
300904110c7SHou Zhiqiang	bool "Enable clock tree initialization"
301904110c7SHou Zhiqiang	default y
302904110c7SHou Zhiqiang
303904110c7SHou Zhiqiangconfig CLUSTER_CLK_FREQ
304904110c7SHou Zhiqiang	int "Reference clock of core cluster"
305904110c7SHou Zhiqiang	depends on ARCH_LS1012A
306904110c7SHou Zhiqiang	default 100000000
307904110c7SHou Zhiqiang	help
308904110c7SHou Zhiqiang	  This number is the reference clock frequency of core PLL.
309904110c7SHou Zhiqiang	  For most platforms, the core PLL and Platform PLL have the same
310904110c7SHou Zhiqiang	  reference clock, but for some platforms, LS1012A for instance,
311904110c7SHou Zhiqiang	  they are provided sepatately.
312904110c7SHou Zhiqiang
313904110c7SHou Zhiqiangconfig SYS_FSL_PCLK_DIV
314904110c7SHou Zhiqiang	int "Platform clock divider"
315904110c7SHou Zhiqiang	default 1 if ARCH_LS1043A
316904110c7SHou Zhiqiang	default 1 if ARCH_LS1046A
317904110c7SHou Zhiqiang	default 2
318904110c7SHou Zhiqiang	help
319904110c7SHou Zhiqiang	  This is the divider that is used to derive Platform clock from
320904110c7SHou Zhiqiang	  Platform PLL, in another word:
321904110c7SHou Zhiqiang		Platform_clk = Platform_PLL_freq / this_divider
322904110c7SHou Zhiqiang
323904110c7SHou Zhiqiangconfig SYS_FSL_DSPI_CLK_DIV
324904110c7SHou Zhiqiang	int "DSPI clock divider"
325904110c7SHou Zhiqiang	default 1 if ARCH_LS1043A
326904110c7SHou Zhiqiang	default 2
327904110c7SHou Zhiqiang	help
328904110c7SHou Zhiqiang	  This is the divider that is used to derive DSPI clock from Platform
329bf7aecceSHou Zhiqiang	  clock, in another word DSPI_clk = Platform_clk / this_divider.
330904110c7SHou Zhiqiang
331904110c7SHou Zhiqiangconfig SYS_FSL_DUART_CLK_DIV
332904110c7SHou Zhiqiang	int "DUART clock divider"
333904110c7SHou Zhiqiang	default 1 if ARCH_LS1043A
334904110c7SHou Zhiqiang	default 2
335904110c7SHou Zhiqiang	help
336904110c7SHou Zhiqiang	  This is the divider that is used to derive DUART clock from Platform
337904110c7SHou Zhiqiang	  clock, in another word DUART_clk = Platform_clk / this_divider.
338904110c7SHou Zhiqiang
339904110c7SHou Zhiqiangconfig SYS_FSL_I2C_CLK_DIV
340904110c7SHou Zhiqiang	int "I2C clock divider"
341904110c7SHou Zhiqiang	default 1 if ARCH_LS1043A
342904110c7SHou Zhiqiang	default 2
343904110c7SHou Zhiqiang	help
344904110c7SHou Zhiqiang	  This is the divider that is used to derive I2C clock from Platform
345904110c7SHou Zhiqiang	  clock, in another word I2C_clk = Platform_clk / this_divider.
346904110c7SHou Zhiqiang
347904110c7SHou Zhiqiangconfig SYS_FSL_IFC_CLK_DIV
348904110c7SHou Zhiqiang	int "IFC clock divider"
349904110c7SHou Zhiqiang	default 1 if ARCH_LS1043A
350904110c7SHou Zhiqiang	default 2
351904110c7SHou Zhiqiang	help
352904110c7SHou Zhiqiang	  This is the divider that is used to derive IFC clock from Platform
353904110c7SHou Zhiqiang	  clock, in another word IFC_clk = Platform_clk / this_divider.
354904110c7SHou Zhiqiang
355904110c7SHou Zhiqiangconfig SYS_FSL_LPUART_CLK_DIV
356904110c7SHou Zhiqiang	int "LPUART clock divider"
357904110c7SHou Zhiqiang	default 1 if ARCH_LS1043A
358904110c7SHou Zhiqiang	default 2
359904110c7SHou Zhiqiang	help
360904110c7SHou Zhiqiang	  This is the divider that is used to derive LPUART clock from Platform
361904110c7SHou Zhiqiang	  clock, in another word LPUART_clk = Platform_clk / this_divider.
362904110c7SHou Zhiqiang
363904110c7SHou Zhiqiangconfig SYS_FSL_SDHC_CLK_DIV
364904110c7SHou Zhiqiang	int "SDHC clock divider"
365904110c7SHou Zhiqiang	default 1 if ARCH_LS1043A
366904110c7SHou Zhiqiang	default 1 if ARCH_LS1012A
367904110c7SHou Zhiqiang	default 2
368904110c7SHou Zhiqiang	help
369904110c7SHou Zhiqiang	  This is the divider that is used to derive SDHC clock from Platform
370904110c7SHou Zhiqiang	  clock, in another word SDHC_clk = Platform_clk / this_divider.
371904110c7SHou Zhiqiangendmenu
372904110c7SHou Zhiqiang
373f2ccf7f7SYork Sunconfig RESV_RAM
374f2ccf7f7SYork Sun	bool
375f2ccf7f7SYork Sun	help
376f2ccf7f7SYork Sun	  Reserve memory from the top, tracked by gd->arch.resv_ram. This
377f2ccf7f7SYork Sun	  reserved RAM can be used by special driver that resides in memory
378f2ccf7f7SYork Sun	  after U-Boot exits. It's up to implementation to allocate and allow
379f2ccf7f7SYork Sun	  access to this reserved memory. For example, the reserved RAM can
380f2ccf7f7SYork Sun	  be at the high end of physical memory. The reserve RAM may be
381f2ccf7f7SYork Sun	  excluded from memory bank(s) passed to OS, or marked as reserved.
382f2ccf7f7SYork Sun
383ba1b6fb5SYork Sunconfig SYS_FSL_ERRATUM_A008336
384ba1b6fb5SYork Sun	bool
385ba1b6fb5SYork Sun
386ba1b6fb5SYork Sunconfig SYS_FSL_ERRATUM_A008514
387ba1b6fb5SYork Sun	bool
388ba1b6fb5SYork Sun
389ba1b6fb5SYork Sunconfig SYS_FSL_ERRATUM_A008585
390ba1b6fb5SYork Sun	bool
391ba1b6fb5SYork Sun
392ba1b6fb5SYork Sunconfig SYS_FSL_ERRATUM_A008850
393ba1b6fb5SYork Sun	bool
394ba1b6fb5SYork Sun
395dd48f0bfSAshish kumarconfig SYS_FSL_ERRATUM_A009203
396dd48f0bfSAshish kumar	bool
397dd48f0bfSAshish kumar
398ba1b6fb5SYork Sunconfig SYS_FSL_ERRATUM_A009635
399ba1b6fb5SYork Sun	bool
400ba1b6fb5SYork Sun
401ba1b6fb5SYork Sunconfig SYS_FSL_ERRATUM_A009660
402ba1b6fb5SYork Sun	bool
403ba1b6fb5SYork Sun
404ba1b6fb5SYork Sunconfig SYS_FSL_ERRATUM_A009929
405ba1b6fb5SYork Sun	bool
406f692d4eeSYork Sun
407f692d4eeSYork Sunconfig SYS_MC_RSV_MEM_ALIGN
408f692d4eeSYork Sun	hex "Management Complex reserved memory alignment"
409f692d4eeSYork Sun	depends on RESV_RAM
410f692d4eeSYork Sun	default 0x20000000
411f692d4eeSYork Sun	help
412f692d4eeSYork Sun	  Reserved memory needs to be aligned for MC to use. Default value
413f692d4eeSYork Sun	  is 512MB.
414b529993eSPhilipp Tomsich
415b529993eSPhilipp Tomsichconfig SPL_LDSCRIPT
416b529993eSPhilipp Tomsich	default "arch/arm/cpu/armv8/u-boot-spl.lds" if ARCH_LS1043A || ARCH_LS1046A || ARCH_LS2080A
417