xref: /rk3399_rockchip-uboot/arch/arm/cpu/armv8/fsl-layerscape/Kconfig (revision 0e13c182e0b4ee5b7e5efee72614cd23f8a5e6fc)
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
10*0e13c182SMasahiro Yamada	imply PANIC_HANG
110a37cf8fSYork Sun
120a37cf8fSYork Sunconfig ARCH_LS1043A
134a444176SYork Sun	bool
14ee2a5102SHou Zhiqiang	select ARMV8_SET_SMPEN
15fb2bf8c2SYork Sun	select FSL_LSCH2
16d26e34c4SYork Sun	select SYS_FSL_DDR
1724aaa094SYork Sun	select SYS_FSL_DDR_BE
1824aaa094SYork Sun	select SYS_FSL_DDR_VER_50
19ba1b6fb5SYork Sun	select SYS_FSL_ERRATUM_A008850
20ba1b6fb5SYork Sun	select SYS_FSL_ERRATUM_A009660
21ba1b6fb5SYork Sun	select SYS_FSL_ERRATUM_A009663
22ba1b6fb5SYork Sun	select SYS_FSL_ERRATUM_A009929
23ba1b6fb5SYork Sun	select SYS_FSL_ERRATUM_A009942
240a37cf8fSYork Sun	select SYS_FSL_ERRATUM_A010315
250ea3671dSHou Zhiqiang	select SYS_FSL_ERRATUM_A010539
26d26e34c4SYork Sun	select SYS_FSL_HAS_DDR3
27d26e34c4SYork Sun	select SYS_FSL_HAS_DDR4
28a421192fSSimon Glass	select ARCH_EARLY_INIT_R
29a5d67547SSimon Glass	select BOARD_EARLY_INIT_F
30fedb428cSSimon Glass	imply SCSI
316500ec7aSSimon Glass	imply CMD_PCI
329533acf3SYork Sun
33da28e58aSYork Sunconfig ARCH_LS1046A
344a444176SYork Sun	bool
35ee2a5102SHou Zhiqiang	select ARMV8_SET_SMPEN
36fb2bf8c2SYork Sun	select FSL_LSCH2
37d26e34c4SYork Sun	select SYS_FSL_DDR
3824aaa094SYork Sun	select SYS_FSL_DDR_BE
3924aaa094SYork Sun	select SYS_FSL_DDR_VER_50
400ae7050cSYork Sun	select SYS_FSL_ERRATUM_A008336
41ba1b6fb5SYork Sun	select SYS_FSL_ERRATUM_A008511
42fb806ad6SShengzhou Liu	select SYS_FSL_ERRATUM_A008850
43ba1b6fb5SYork Sun	select SYS_FSL_ERRATUM_A009801
44ba1b6fb5SYork Sun	select SYS_FSL_ERRATUM_A009803
45ba1b6fb5SYork Sun	select SYS_FSL_ERRATUM_A009942
46ba1b6fb5SYork Sun	select SYS_FSL_ERRATUM_A010165
470ea3671dSHou Zhiqiang	select SYS_FSL_ERRATUM_A010539
48d26e34c4SYork Sun	select SYS_FSL_HAS_DDR4
49f534b8f5SYork Sun	select SYS_FSL_SRDS_2
50a421192fSSimon Glass	select ARCH_EARLY_INIT_R
51a5d67547SSimon Glass	select BOARD_EARLY_INIT_F
52fedb428cSSimon Glass	imply SCSI
539533acf3SYork Sun
544a444176SYork Sunconfig ARCH_LS2080A
554a444176SYork Sun	bool
56ee2a5102SHou Zhiqiang	select ARMV8_SET_SMPEN
578dda2e2fSTom Rini	select ARM_ERRATA_826974
588dda2e2fSTom Rini	select ARM_ERRATA_828024
598dda2e2fSTom Rini	select ARM_ERRATA_829520
608dda2e2fSTom Rini	select ARM_ERRATA_833471
61fb2bf8c2SYork Sun	select FSL_LSCH3
62d26e34c4SYork Sun	select SYS_FSL_DDR
6324aaa094SYork Sun	select SYS_FSL_DDR_LE
6424aaa094SYork Sun	select SYS_FSL_DDR_VER_50
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
86*0e13c182SMasahiro Yamada	imply PANIC_HANG
87fb2bf8c2SYork Sun
88fb2bf8c2SYork Sunconfig FSL_LSCH2
89fb2bf8c2SYork Sun	bool
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
200d1a795acSVinitha Pillai-B57223	default 0x600c0000 if SYS_LS_PPA_FW_IN_XIP && ARCH_LS1043A
201b3635f57SVinitha Pillai-B57223	default 0x40740000 if SYS_LS_PPA_FW_IN_XIP && ARCH_LS1046A
202d2a99502SVinitha Pillai-B57223	default 0x40480000 if SYS_LS_PPA_FW_IN_XIP && ARCH_LS1012A
203d1a795acSVinitha Pillai-B57223	default 0x580c40000 if SYS_LS_PPA_FW_IN_XIP && FSL_LSCH3
2049fa3a542SSumit Garg	default 0x700000 if SYS_LS_PPA_FW_IN_MMC
2059fa3a542SSumit Garg	default 0x700000 if SYS_LS_PPA_FW_IN_NAND
206d1a795acSVinitha Pillai-B57223	help
207d1a795acSVinitha Pillai-B57223	  If the PPA header firmware locate at XIP flash, such as NOR or
208d1a795acSVinitha Pillai-B57223	  QSPI flash, this address is a directly memory-mapped.
209d1a795acSVinitha Pillai-B57223	  If it is in a serial accessed flash, such as NAND and SD
210d1a795acSVinitha Pillai-B57223	  card, it is a byte offset.
211d1a795acSVinitha Pillai-B57223
2129fa3a542SSumit Gargconfig LS_PPA_ESBC_HDR_SIZE
2139fa3a542SSumit Garg	hex "Length of PPA ESBC header"
2149fa3a542SSumit Garg	depends on FSL_LS_PPA && CHAIN_OF_TRUST && !SYS_LS_PPA_FW_IN_XIP
2159fa3a542SSumit Garg	default 0x2000
2169fa3a542SSumit Garg	help
2179fa3a542SSumit Garg	  Length (in bytes) of PPA ESBC header to be copied from MMC/SD or
2189fa3a542SSumit Garg	  NAND to memory to validate PPA image.
2199fa3a542SSumit Garg
2202d16a1a6Smacro.wave.z@gmail.comendmenu
2212d16a1a6Smacro.wave.z@gmail.com
2220a37cf8fSYork Sunconfig SYS_FSL_ERRATUM_A010315
2230a37cf8fSYork Sun	bool "Workaround for PCIe erratum A010315"
2240ea3671dSHou Zhiqiang
2250ea3671dSHou Zhiqiangconfig SYS_FSL_ERRATUM_A010539
2260ea3671dSHou Zhiqiang	bool "Workaround for PIN MUX erratum A010539"
227fb2bf8c2SYork Sun
228b4b60d06SYork Sunconfig MAX_CPUS
229b4b60d06SYork Sun	int "Maximum number of CPUs permitted for Layerscape"
230b4b60d06SYork Sun	default 4 if ARCH_LS1043A
231b4b60d06SYork Sun	default 4 if ARCH_LS1046A
232b4b60d06SYork Sun	default 16 if ARCH_LS2080A
233b4b60d06SYork Sun	default 1
234b4b60d06SYork Sun	help
235b4b60d06SYork Sun	  Set this number to the maximum number of possible CPUs in the SoC.
236b4b60d06SYork Sun	  SoCs may have multiple clusters with each cluster may have multiple
237b4b60d06SYork Sun	  ports. If some ports are reserved but higher ports are used for
238b4b60d06SYork Sun	  cores, count the reserved ports. This will allocate enough memory
239b4b60d06SYork Sun	  in spin table to properly handle all cores.
240b4b60d06SYork Sun
24101f65d97SYork Sunconfig SECURE_BOOT
2429cfab06eSYork Sun	bool "Secure Boot"
24301f65d97SYork Sun	help
24401f65d97SYork Sun		Enable Freescale Secure Boot feature
24501f65d97SYork Sun
246dd2ad2f1SYuan Yaoconfig QSPI_AHB_INIT
247dd2ad2f1SYuan Yao	bool "Init the QSPI AHB bus"
248dd2ad2f1SYuan Yao	help
249dd2ad2f1SYuan Yao	  The default setting for QSPI AHB bus just support 3bytes addressing.
250dd2ad2f1SYuan Yao	  But some QSPI flash size up to 64MBytes, so initialize the QSPI AHB
251dd2ad2f1SYuan Yao	  bus for those flashes to support the full QSPI flash size.
252dd2ad2f1SYuan Yao
25325af7dc1SYork Sunconfig SYS_FSL_IFC_BANK_COUNT
25425af7dc1SYork Sun	int "Maximum banks of Integrated flash controller"
25525af7dc1SYork Sun	depends on ARCH_LS1043A || ARCH_LS1046A || ARCH_LS2080A
25625af7dc1SYork Sun	default 4 if ARCH_LS1043A
25725af7dc1SYork Sun	default 4 if ARCH_LS1046A
25825af7dc1SYork Sun	default 8 if ARCH_LS2080A
25925af7dc1SYork Sun
260fd638102SYork Sunconfig SYS_FSL_HAS_DP_DDR
261fd638102SYork Sun	bool
262fd638102SYork Sun
263f534b8f5SYork Sunconfig SYS_FSL_SRDS_1
264f534b8f5SYork Sun	bool
265f534b8f5SYork Sun
266f534b8f5SYork Sunconfig SYS_FSL_SRDS_2
267f534b8f5SYork Sun	bool
268f534b8f5SYork Sun
269f534b8f5SYork Sunconfig SYS_HAS_SERDES
270f534b8f5SYork Sun	bool
271f534b8f5SYork Sun
27285a9a14eSAshish kumarconfig FSL_TZASC_1
27385a9a14eSAshish kumar	bool
27485a9a14eSAshish kumar
27585a9a14eSAshish kumarconfig FSL_TZASC_2
27685a9a14eSAshish kumar	bool
27785a9a14eSAshish kumar
278fb2bf8c2SYork Sunendmenu
279ba1b6fb5SYork Sun
280904110c7SHou Zhiqiangmenu "Layerscape clock tree configuration"
281904110c7SHou Zhiqiang	depends on FSL_LSCH2 || FSL_LSCH3
282904110c7SHou Zhiqiang
283904110c7SHou Zhiqiangconfig SYS_FSL_CLK
284904110c7SHou Zhiqiang	bool "Enable clock tree initialization"
285904110c7SHou Zhiqiang	default y
286904110c7SHou Zhiqiang
287904110c7SHou Zhiqiangconfig CLUSTER_CLK_FREQ
288904110c7SHou Zhiqiang	int "Reference clock of core cluster"
289904110c7SHou Zhiqiang	depends on ARCH_LS1012A
290904110c7SHou Zhiqiang	default 100000000
291904110c7SHou Zhiqiang	help
292904110c7SHou Zhiqiang	  This number is the reference clock frequency of core PLL.
293904110c7SHou Zhiqiang	  For most platforms, the core PLL and Platform PLL have the same
294904110c7SHou Zhiqiang	  reference clock, but for some platforms, LS1012A for instance,
295904110c7SHou Zhiqiang	  they are provided sepatately.
296904110c7SHou Zhiqiang
297904110c7SHou Zhiqiangconfig SYS_FSL_PCLK_DIV
298904110c7SHou Zhiqiang	int "Platform clock divider"
299904110c7SHou Zhiqiang	default 1 if ARCH_LS1043A
300904110c7SHou Zhiqiang	default 1 if ARCH_LS1046A
301904110c7SHou Zhiqiang	default 2
302904110c7SHou Zhiqiang	help
303904110c7SHou Zhiqiang	  This is the divider that is used to derive Platform clock from
304904110c7SHou Zhiqiang	  Platform PLL, in another word:
305904110c7SHou Zhiqiang		Platform_clk = Platform_PLL_freq / this_divider
306904110c7SHou Zhiqiang
307904110c7SHou Zhiqiangconfig SYS_FSL_DSPI_CLK_DIV
308904110c7SHou Zhiqiang	int "DSPI clock divider"
309904110c7SHou Zhiqiang	default 1 if ARCH_LS1043A
310904110c7SHou Zhiqiang	default 2
311904110c7SHou Zhiqiang	help
312904110c7SHou Zhiqiang	  This is the divider that is used to derive DSPI clock from Platform
313bf7aecceSHou Zhiqiang	  clock, in another word DSPI_clk = Platform_clk / this_divider.
314904110c7SHou Zhiqiang
315904110c7SHou Zhiqiangconfig SYS_FSL_DUART_CLK_DIV
316904110c7SHou Zhiqiang	int "DUART clock divider"
317904110c7SHou Zhiqiang	default 1 if ARCH_LS1043A
318904110c7SHou Zhiqiang	default 2
319904110c7SHou Zhiqiang	help
320904110c7SHou Zhiqiang	  This is the divider that is used to derive DUART clock from Platform
321904110c7SHou Zhiqiang	  clock, in another word DUART_clk = Platform_clk / this_divider.
322904110c7SHou Zhiqiang
323904110c7SHou Zhiqiangconfig SYS_FSL_I2C_CLK_DIV
324904110c7SHou Zhiqiang	int "I2C 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 I2C clock from Platform
329904110c7SHou Zhiqiang	  clock, in another word I2C_clk = Platform_clk / this_divider.
330904110c7SHou Zhiqiang
331904110c7SHou Zhiqiangconfig SYS_FSL_IFC_CLK_DIV
332904110c7SHou Zhiqiang	int "IFC 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 IFC clock from Platform
337904110c7SHou Zhiqiang	  clock, in another word IFC_clk = Platform_clk / this_divider.
338904110c7SHou Zhiqiang
339904110c7SHou Zhiqiangconfig SYS_FSL_LPUART_CLK_DIV
340904110c7SHou Zhiqiang	int "LPUART 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 LPUART clock from Platform
345904110c7SHou Zhiqiang	  clock, in another word LPUART_clk = Platform_clk / this_divider.
346904110c7SHou Zhiqiang
347904110c7SHou Zhiqiangconfig SYS_FSL_SDHC_CLK_DIV
348904110c7SHou Zhiqiang	int "SDHC clock divider"
349904110c7SHou Zhiqiang	default 1 if ARCH_LS1043A
350904110c7SHou Zhiqiang	default 1 if ARCH_LS1012A
351904110c7SHou Zhiqiang	default 2
352904110c7SHou Zhiqiang	help
353904110c7SHou Zhiqiang	  This is the divider that is used to derive SDHC clock from Platform
354904110c7SHou Zhiqiang	  clock, in another word SDHC_clk = Platform_clk / this_divider.
355904110c7SHou Zhiqiangendmenu
356904110c7SHou Zhiqiang
357f2ccf7f7SYork Sunconfig RESV_RAM
358f2ccf7f7SYork Sun	bool
359f2ccf7f7SYork Sun	help
360f2ccf7f7SYork Sun	  Reserve memory from the top, tracked by gd->arch.resv_ram. This
361f2ccf7f7SYork Sun	  reserved RAM can be used by special driver that resides in memory
362f2ccf7f7SYork Sun	  after U-Boot exits. It's up to implementation to allocate and allow
363f2ccf7f7SYork Sun	  access to this reserved memory. For example, the reserved RAM can
364f2ccf7f7SYork Sun	  be at the high end of physical memory. The reserve RAM may be
365f2ccf7f7SYork Sun	  excluded from memory bank(s) passed to OS, or marked as reserved.
366f2ccf7f7SYork Sun
367ba1b6fb5SYork Sunconfig SYS_FSL_ERRATUM_A008336
368ba1b6fb5SYork Sun	bool
369ba1b6fb5SYork Sun
370ba1b6fb5SYork Sunconfig SYS_FSL_ERRATUM_A008514
371ba1b6fb5SYork Sun	bool
372ba1b6fb5SYork Sun
373ba1b6fb5SYork Sunconfig SYS_FSL_ERRATUM_A008585
374ba1b6fb5SYork Sun	bool
375ba1b6fb5SYork Sun
376ba1b6fb5SYork Sunconfig SYS_FSL_ERRATUM_A008850
377ba1b6fb5SYork Sun	bool
378ba1b6fb5SYork Sun
379dd48f0bfSAshish kumarconfig SYS_FSL_ERRATUM_A009203
380dd48f0bfSAshish kumar	bool
381dd48f0bfSAshish kumar
382ba1b6fb5SYork Sunconfig SYS_FSL_ERRATUM_A009635
383ba1b6fb5SYork Sun	bool
384ba1b6fb5SYork Sun
385ba1b6fb5SYork Sunconfig SYS_FSL_ERRATUM_A009660
386ba1b6fb5SYork Sun	bool
387ba1b6fb5SYork Sun
388ba1b6fb5SYork Sunconfig SYS_FSL_ERRATUM_A009929
389ba1b6fb5SYork Sun	bool
390f692d4eeSYork Sun
391f692d4eeSYork Sunconfig SYS_MC_RSV_MEM_ALIGN
392f692d4eeSYork Sun	hex "Management Complex reserved memory alignment"
393f692d4eeSYork Sun	depends on RESV_RAM
394f692d4eeSYork Sun	default 0x20000000
395f692d4eeSYork Sun	help
396f692d4eeSYork Sun	  Reserved memory needs to be aligned for MC to use. Default value
397f692d4eeSYork Sun	  is 512MB.
398b529993eSPhilipp Tomsich
399b529993eSPhilipp Tomsichconfig SPL_LDSCRIPT
400b529993eSPhilipp Tomsich	default "arch/arm/cpu/armv8/u-boot-spl.lds" if ARCH_LS1043A || ARCH_LS1046A || ARCH_LS2080A
401