xref: /openbmc/u-boot/arch/arm/cpu/armv8/fsl-layerscape/Kconfig (revision 6500ec7a5a2a2a59128dba6f49d9905fc1258811)
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
30*6500ec7aSSimon 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
882c2e2c9eSYork Sun	select SYS_FSL_HAS_SEC
892c2e2c9eSYork Sun	select SYS_FSL_SEC_COMPAT_5
9090b80386SYork Sun	select SYS_FSL_SEC_BE
91f534b8f5SYork Sun	select SYS_FSL_SRDS_1
92f534b8f5SYork Sun	select SYS_HAS_SERDES
93fb2bf8c2SYork Sun
94fb2bf8c2SYork Sunconfig FSL_LSCH3
95fb2bf8c2SYork Sun	bool
96f534b8f5SYork Sun	select SYS_FSL_SRDS_1
97f534b8f5SYork Sun	select SYS_HAS_SERDES
98fb2bf8c2SYork Sun
99e243b6e1SYork Sunconfig FSL_MC_ENET
100e243b6e1SYork Sun	bool "Management Complex network"
101e243b6e1SYork Sun	depends on ARCH_LS2080A
102e243b6e1SYork Sun	default y
103e243b6e1SYork Sun	select RESV_RAM
104e243b6e1SYork Sun	help
105e243b6e1SYork Sun	  Enable Management Complex (MC) network
106e243b6e1SYork Sun
107fb2bf8c2SYork Sunmenu "Layerscape architecture"
108fb2bf8c2SYork Sun	depends on FSL_LSCH2 || FSL_LSCH3
1094a444176SYork Sun
11019538f30SHou Zhiqiangconfig FSL_PCIE_COMPAT
11119538f30SHou Zhiqiang	string "PCIe compatible of Kernel DT"
11219538f30SHou Zhiqiang	depends on PCIE_LAYERSCAPE
11319538f30SHou Zhiqiang	default "fsl,ls1012a-pcie" if ARCH_LS1012A
11419538f30SHou Zhiqiang	default "fsl,ls1043a-pcie" if ARCH_LS1043A
11519538f30SHou Zhiqiang	default "fsl,ls1046a-pcie" if ARCH_LS1046A
11619538f30SHou Zhiqiang	default "fsl,ls2080a-pcie" if ARCH_LS2080A
11719538f30SHou Zhiqiang	help
11819538f30SHou Zhiqiang	  This compatible is used to find pci controller node in Kernel DT
11919538f30SHou Zhiqiang	  to complete fixup.
12019538f30SHou Zhiqiang
121fa18ed76SWenbin Songconfig HAS_FEATURE_GIC64K_ALIGN
122fa18ed76SWenbin Song	bool
123fa18ed76SWenbin Song	default y if ARCH_LS1043A
124fa18ed76SWenbin Song
1252ca84bf7SWenbin Songconfig HAS_FEATURE_ENHANCED_MSI
1262ca84bf7SWenbin Song	bool
1272ca84bf7SWenbin Song	default y if ARCH_LS1043A
128fa18ed76SWenbin Song
1292d16a1a6Smacro.wave.z@gmail.commenu "Layerscape PPA"
1302d16a1a6Smacro.wave.z@gmail.comconfig FSL_LS_PPA
1312d16a1a6Smacro.wave.z@gmail.com	bool "FSL Layerscape PPA firmware support"
132df88cb3bSmacro.wave.z@gmail.com	depends on !ARMV8_PSCI
1330541527bSHou Zhiqiang	select ARMV8_SEC_FIRMWARE_SUPPORT
134daa92644SHou Zhiqiang	select SEC_FIRMWARE_ARMV8_PSCI
1350541527bSHou Zhiqiang	select ARMV8_SEC_FIRMWARE_ERET_ADDR_REVERT if FSL_LSCH2
1362d16a1a6Smacro.wave.z@gmail.com	help
1372d16a1a6Smacro.wave.z@gmail.com	  The FSL Primary Protected Application (PPA) is a software component
1382d16a1a6Smacro.wave.z@gmail.com	  which is loaded during boot stage, and then remains resident in RAM
1392d16a1a6Smacro.wave.z@gmail.com	  and runs in the TrustZone after boot.
1402d16a1a6Smacro.wave.z@gmail.com	  Say y to enable it.
1418e59778bSYork Sun
1428e59778bSYork Sunconfig SPL_FSL_LS_PPA
1438e59778bSYork Sun	bool "FSL Layerscape PPA firmware support for SPL build"
1448e59778bSYork Sun	depends on !ARMV8_PSCI
1458e59778bSYork Sun	select SPL_ARMV8_SEC_FIRMWARE_SUPPORT
1468e59778bSYork Sun	select SEC_FIRMWARE_ARMV8_PSCI
1478e59778bSYork Sun	select ARMV8_SEC_FIRMWARE_ERET_ADDR_REVERT if FSL_LSCH2
1488e59778bSYork Sun	help
1498e59778bSYork Sun	  The FSL Primary Protected Application (PPA) is a software component
1508e59778bSYork Sun	  which is loaded during boot stage, and then remains resident in RAM
1518e59778bSYork Sun	  and runs in the TrustZone after boot. This is to load PPA during SPL
1528e59778bSYork Sun	  stage instead of the RAM version of U-Boot. Once PPA is initialized,
1538e59778bSYork Sun	  the rest of U-Boot (including RAM version) runs at EL2.
1540541527bSHou Zhiqiangchoice
1550541527bSHou Zhiqiang	prompt "FSL Layerscape PPA firmware loading-media select"
1560541527bSHou Zhiqiang	depends on FSL_LS_PPA
15777bbe55dSHou Zhiqiang	default SYS_LS_PPA_FW_IN_MMC if SD_BOOT
15877bbe55dSHou Zhiqiang	default SYS_LS_PPA_FW_IN_NAND if NAND_BOOT
1590541527bSHou Zhiqiang	default SYS_LS_PPA_FW_IN_XIP
1600541527bSHou Zhiqiang
1610541527bSHou Zhiqiangconfig SYS_LS_PPA_FW_IN_XIP
1620541527bSHou Zhiqiang	bool "XIP"
1630541527bSHou Zhiqiang	help
1640541527bSHou Zhiqiang	  Say Y here if the PPA firmware locate at XIP flash, such
1650541527bSHou Zhiqiang	  as NOR or QSPI flash.
1660541527bSHou Zhiqiang
16777bbe55dSHou Zhiqiangconfig SYS_LS_PPA_FW_IN_MMC
16877bbe55dSHou Zhiqiang	bool "eMMC or SD Card"
16977bbe55dSHou Zhiqiang	help
17077bbe55dSHou Zhiqiang	  Say Y here if the PPA firmware locate at eMMC/SD card.
17177bbe55dSHou Zhiqiang
17277bbe55dSHou Zhiqiangconfig SYS_LS_PPA_FW_IN_NAND
17377bbe55dSHou Zhiqiang	bool "NAND"
17477bbe55dSHou Zhiqiang	help
17577bbe55dSHou Zhiqiang	  Say Y here if the PPA firmware locate at NAND flash.
17677bbe55dSHou Zhiqiang
1770541527bSHou Zhiqiangendchoice
1780541527bSHou Zhiqiang
1790541527bSHou Zhiqiangconfig SYS_LS_PPA_FW_ADDR
1800541527bSHou Zhiqiang	hex "Address of PPA firmware loading from"
1810541527bSHou Zhiqiang	depends on FSL_LS_PPA
18289a168f7SPriyanka Jain	default 0x20400000 if SYS_LS_PPA_FW_IN_XIP && QSPI_BOOT && ARCH_LS2080A
183a9a5cef3SAlison Wang	default 0x40400000 if SYS_LS_PPA_FW_IN_XIP && QSPI_BOOT
184f5bf23d8SSantan Kumar	default 0x580400000 if SYS_LS_PPA_FW_IN_XIP && ARCH_LS2080A
185a9a5cef3SAlison Wang	default 0x60400000 if SYS_LS_PPA_FW_IN_XIP
186a9a5cef3SAlison Wang	default 0x400000 if SYS_LS_PPA_FW_IN_MMC
187a9a5cef3SAlison Wang	default 0x400000 if SYS_LS_PPA_FW_IN_NAND
18877bbe55dSHou Zhiqiang
1890541527bSHou Zhiqiang	help
1900541527bSHou Zhiqiang	  If the PPA firmware locate at XIP flash, such as NOR or
1910541527bSHou Zhiqiang	  QSPI flash, this address is a directly memory-mapped.
1920541527bSHou Zhiqiang	  If it is in a serial accessed flash, such as NAND and SD
1930541527bSHou Zhiqiang	  card, it is a byte offset.
194d1a795acSVinitha Pillai-B57223
195d1a795acSVinitha Pillai-B57223config SYS_LS_PPA_ESBC_ADDR
196d1a795acSVinitha Pillai-B57223	hex "hdr address of PPA firmware loading from"
197d1a795acSVinitha Pillai-B57223	depends on FSL_LS_PPA && CHAIN_OF_TRUST
198d1a795acSVinitha Pillai-B57223	default 0x600c0000 if SYS_LS_PPA_FW_IN_XIP && ARCH_LS1043A
199b3635f57SVinitha Pillai-B57223	default 0x40740000 if SYS_LS_PPA_FW_IN_XIP && ARCH_LS1046A
200d2a99502SVinitha Pillai-B57223	default 0x40480000 if SYS_LS_PPA_FW_IN_XIP && ARCH_LS1012A
201d1a795acSVinitha Pillai-B57223	default 0x580c40000 if SYS_LS_PPA_FW_IN_XIP && FSL_LSCH3
2029fa3a542SSumit Garg	default 0x700000 if SYS_LS_PPA_FW_IN_MMC
2039fa3a542SSumit Garg	default 0x700000 if SYS_LS_PPA_FW_IN_NAND
204d1a795acSVinitha Pillai-B57223	help
205d1a795acSVinitha Pillai-B57223	  If the PPA header firmware locate at XIP flash, such as NOR or
206d1a795acSVinitha Pillai-B57223	  QSPI flash, this address is a directly memory-mapped.
207d1a795acSVinitha Pillai-B57223	  If it is in a serial accessed flash, such as NAND and SD
208d1a795acSVinitha Pillai-B57223	  card, it is a byte offset.
209d1a795acSVinitha Pillai-B57223
2109fa3a542SSumit Gargconfig LS_PPA_ESBC_HDR_SIZE
2119fa3a542SSumit Garg	hex "Length of PPA ESBC header"
2129fa3a542SSumit Garg	depends on FSL_LS_PPA && CHAIN_OF_TRUST && !SYS_LS_PPA_FW_IN_XIP
2139fa3a542SSumit Garg	default 0x2000
2149fa3a542SSumit Garg	help
2159fa3a542SSumit Garg	  Length (in bytes) of PPA ESBC header to be copied from MMC/SD or
2169fa3a542SSumit Garg	  NAND to memory to validate PPA image.
2179fa3a542SSumit Garg
2182d16a1a6Smacro.wave.z@gmail.comendmenu
2192d16a1a6Smacro.wave.z@gmail.com
2200a37cf8fSYork Sunconfig SYS_FSL_ERRATUM_A010315
2210a37cf8fSYork Sun	bool "Workaround for PCIe erratum A010315"
2220ea3671dSHou Zhiqiang
2230ea3671dSHou Zhiqiangconfig SYS_FSL_ERRATUM_A010539
2240ea3671dSHou Zhiqiang	bool "Workaround for PIN MUX erratum A010539"
225fb2bf8c2SYork Sun
226b4b60d06SYork Sunconfig MAX_CPUS
227b4b60d06SYork Sun	int "Maximum number of CPUs permitted for Layerscape"
228b4b60d06SYork Sun	default 4 if ARCH_LS1043A
229b4b60d06SYork Sun	default 4 if ARCH_LS1046A
230b4b60d06SYork Sun	default 16 if ARCH_LS2080A
231b4b60d06SYork Sun	default 1
232b4b60d06SYork Sun	help
233b4b60d06SYork Sun	  Set this number to the maximum number of possible CPUs in the SoC.
234b4b60d06SYork Sun	  SoCs may have multiple clusters with each cluster may have multiple
235b4b60d06SYork Sun	  ports. If some ports are reserved but higher ports are used for
236b4b60d06SYork Sun	  cores, count the reserved ports. This will allocate enough memory
237b4b60d06SYork Sun	  in spin table to properly handle all cores.
238b4b60d06SYork Sun
23901f65d97SYork Sunconfig SECURE_BOOT
2409cfab06eSYork Sun	bool "Secure Boot"
24101f65d97SYork Sun	help
24201f65d97SYork Sun		Enable Freescale Secure Boot feature
24301f65d97SYork Sun
244dd2ad2f1SYuan Yaoconfig QSPI_AHB_INIT
245dd2ad2f1SYuan Yao	bool "Init the QSPI AHB bus"
246dd2ad2f1SYuan Yao	help
247dd2ad2f1SYuan Yao	  The default setting for QSPI AHB bus just support 3bytes addressing.
248dd2ad2f1SYuan Yao	  But some QSPI flash size up to 64MBytes, so initialize the QSPI AHB
249dd2ad2f1SYuan Yao	  bus for those flashes to support the full QSPI flash size.
250dd2ad2f1SYuan Yao
25125af7dc1SYork Sunconfig SYS_FSL_IFC_BANK_COUNT
25225af7dc1SYork Sun	int "Maximum banks of Integrated flash controller"
25325af7dc1SYork Sun	depends on ARCH_LS1043A || ARCH_LS1046A || ARCH_LS2080A
25425af7dc1SYork Sun	default 4 if ARCH_LS1043A
25525af7dc1SYork Sun	default 4 if ARCH_LS1046A
25625af7dc1SYork Sun	default 8 if ARCH_LS2080A
25725af7dc1SYork Sun
258fd638102SYork Sunconfig SYS_FSL_HAS_DP_DDR
259fd638102SYork Sun	bool
260fd638102SYork Sun
261f534b8f5SYork Sunconfig SYS_FSL_SRDS_1
262f534b8f5SYork Sun	bool
263f534b8f5SYork Sun
264f534b8f5SYork Sunconfig SYS_FSL_SRDS_2
265f534b8f5SYork Sun	bool
266f534b8f5SYork Sun
267f534b8f5SYork Sunconfig SYS_HAS_SERDES
268f534b8f5SYork Sun	bool
269f534b8f5SYork Sun
27085a9a14eSAshish kumarconfig FSL_TZASC_1
27185a9a14eSAshish kumar	bool
27285a9a14eSAshish kumar
27385a9a14eSAshish kumarconfig FSL_TZASC_2
27485a9a14eSAshish kumar	bool
27585a9a14eSAshish kumar
276fb2bf8c2SYork Sunendmenu
277ba1b6fb5SYork Sun
278904110c7SHou Zhiqiangmenu "Layerscape clock tree configuration"
279904110c7SHou Zhiqiang	depends on FSL_LSCH2 || FSL_LSCH3
280904110c7SHou Zhiqiang
281904110c7SHou Zhiqiangconfig SYS_FSL_CLK
282904110c7SHou Zhiqiang	bool "Enable clock tree initialization"
283904110c7SHou Zhiqiang	default y
284904110c7SHou Zhiqiang
285904110c7SHou Zhiqiangconfig CLUSTER_CLK_FREQ
286904110c7SHou Zhiqiang	int "Reference clock of core cluster"
287904110c7SHou Zhiqiang	depends on ARCH_LS1012A
288904110c7SHou Zhiqiang	default 100000000
289904110c7SHou Zhiqiang	help
290904110c7SHou Zhiqiang	  This number is the reference clock frequency of core PLL.
291904110c7SHou Zhiqiang	  For most platforms, the core PLL and Platform PLL have the same
292904110c7SHou Zhiqiang	  reference clock, but for some platforms, LS1012A for instance,
293904110c7SHou Zhiqiang	  they are provided sepatately.
294904110c7SHou Zhiqiang
295904110c7SHou Zhiqiangconfig SYS_FSL_PCLK_DIV
296904110c7SHou Zhiqiang	int "Platform clock divider"
297904110c7SHou Zhiqiang	default 1 if ARCH_LS1043A
298904110c7SHou Zhiqiang	default 1 if ARCH_LS1046A
299904110c7SHou Zhiqiang	default 2
300904110c7SHou Zhiqiang	help
301904110c7SHou Zhiqiang	  This is the divider that is used to derive Platform clock from
302904110c7SHou Zhiqiang	  Platform PLL, in another word:
303904110c7SHou Zhiqiang		Platform_clk = Platform_PLL_freq / this_divider
304904110c7SHou Zhiqiang
305904110c7SHou Zhiqiangconfig SYS_FSL_DSPI_CLK_DIV
306904110c7SHou Zhiqiang	int "DSPI clock divider"
307904110c7SHou Zhiqiang	default 1 if ARCH_LS1043A
308904110c7SHou Zhiqiang	default 2
309904110c7SHou Zhiqiang	help
310904110c7SHou Zhiqiang	  This is the divider that is used to derive DSPI clock from Platform
311bf7aecceSHou Zhiqiang	  clock, in another word DSPI_clk = Platform_clk / this_divider.
312904110c7SHou Zhiqiang
313904110c7SHou Zhiqiangconfig SYS_FSL_DUART_CLK_DIV
314904110c7SHou Zhiqiang	int "DUART clock divider"
315904110c7SHou Zhiqiang	default 1 if ARCH_LS1043A
316904110c7SHou Zhiqiang	default 2
317904110c7SHou Zhiqiang	help
318904110c7SHou Zhiqiang	  This is the divider that is used to derive DUART clock from Platform
319904110c7SHou Zhiqiang	  clock, in another word DUART_clk = Platform_clk / this_divider.
320904110c7SHou Zhiqiang
321904110c7SHou Zhiqiangconfig SYS_FSL_I2C_CLK_DIV
322904110c7SHou Zhiqiang	int "I2C clock divider"
323904110c7SHou Zhiqiang	default 1 if ARCH_LS1043A
324904110c7SHou Zhiqiang	default 2
325904110c7SHou Zhiqiang	help
326904110c7SHou Zhiqiang	  This is the divider that is used to derive I2C clock from Platform
327904110c7SHou Zhiqiang	  clock, in another word I2C_clk = Platform_clk / this_divider.
328904110c7SHou Zhiqiang
329904110c7SHou Zhiqiangconfig SYS_FSL_IFC_CLK_DIV
330904110c7SHou Zhiqiang	int "IFC clock divider"
331904110c7SHou Zhiqiang	default 1 if ARCH_LS1043A
332904110c7SHou Zhiqiang	default 2
333904110c7SHou Zhiqiang	help
334904110c7SHou Zhiqiang	  This is the divider that is used to derive IFC clock from Platform
335904110c7SHou Zhiqiang	  clock, in another word IFC_clk = Platform_clk / this_divider.
336904110c7SHou Zhiqiang
337904110c7SHou Zhiqiangconfig SYS_FSL_LPUART_CLK_DIV
338904110c7SHou Zhiqiang	int "LPUART clock divider"
339904110c7SHou Zhiqiang	default 1 if ARCH_LS1043A
340904110c7SHou Zhiqiang	default 2
341904110c7SHou Zhiqiang	help
342904110c7SHou Zhiqiang	  This is the divider that is used to derive LPUART clock from Platform
343904110c7SHou Zhiqiang	  clock, in another word LPUART_clk = Platform_clk / this_divider.
344904110c7SHou Zhiqiang
345904110c7SHou Zhiqiangconfig SYS_FSL_SDHC_CLK_DIV
346904110c7SHou Zhiqiang	int "SDHC clock divider"
347904110c7SHou Zhiqiang	default 1 if ARCH_LS1043A
348904110c7SHou Zhiqiang	default 1 if ARCH_LS1012A
349904110c7SHou Zhiqiang	default 2
350904110c7SHou Zhiqiang	help
351904110c7SHou Zhiqiang	  This is the divider that is used to derive SDHC clock from Platform
352904110c7SHou Zhiqiang	  clock, in another word SDHC_clk = Platform_clk / this_divider.
353904110c7SHou Zhiqiangendmenu
354904110c7SHou Zhiqiang
355f2ccf7f7SYork Sunconfig RESV_RAM
356f2ccf7f7SYork Sun	bool
357f2ccf7f7SYork Sun	help
358f2ccf7f7SYork Sun	  Reserve memory from the top, tracked by gd->arch.resv_ram. This
359f2ccf7f7SYork Sun	  reserved RAM can be used by special driver that resides in memory
360f2ccf7f7SYork Sun	  after U-Boot exits. It's up to implementation to allocate and allow
361f2ccf7f7SYork Sun	  access to this reserved memory. For example, the reserved RAM can
362f2ccf7f7SYork Sun	  be at the high end of physical memory. The reserve RAM may be
363f2ccf7f7SYork Sun	  excluded from memory bank(s) passed to OS, or marked as reserved.
364f2ccf7f7SYork Sun
365ba1b6fb5SYork Sunconfig SYS_FSL_ERRATUM_A008336
366ba1b6fb5SYork Sun	bool
367ba1b6fb5SYork Sun
368ba1b6fb5SYork Sunconfig SYS_FSL_ERRATUM_A008514
369ba1b6fb5SYork Sun	bool
370ba1b6fb5SYork Sun
371ba1b6fb5SYork Sunconfig SYS_FSL_ERRATUM_A008585
372ba1b6fb5SYork Sun	bool
373ba1b6fb5SYork Sun
374ba1b6fb5SYork Sunconfig SYS_FSL_ERRATUM_A008850
375ba1b6fb5SYork Sun	bool
376ba1b6fb5SYork Sun
377dd48f0bfSAshish kumarconfig SYS_FSL_ERRATUM_A009203
378dd48f0bfSAshish kumar	bool
379dd48f0bfSAshish kumar
380ba1b6fb5SYork Sunconfig SYS_FSL_ERRATUM_A009635
381ba1b6fb5SYork Sun	bool
382ba1b6fb5SYork Sun
383ba1b6fb5SYork Sunconfig SYS_FSL_ERRATUM_A009660
384ba1b6fb5SYork Sun	bool
385ba1b6fb5SYork Sun
386ba1b6fb5SYork Sunconfig SYS_FSL_ERRATUM_A009929
387ba1b6fb5SYork Sun	bool
388f692d4eeSYork Sun
389f692d4eeSYork Sunconfig SYS_MC_RSV_MEM_ALIGN
390f692d4eeSYork Sun	hex "Management Complex reserved memory alignment"
391f692d4eeSYork Sun	depends on RESV_RAM
392f692d4eeSYork Sun	default 0x20000000
393f692d4eeSYork Sun	help
394f692d4eeSYork Sun	  Reserved memory needs to be aligned for MC to use. Default value
395f692d4eeSYork Sun	  is 512MB.
396