xref: /openbmc/u-boot/arch/arm/cpu/armv8/fsl-layerscape/Kconfig (revision d26e34c4c4b6473fdbd412a3b2dc33a94b08e8ff)
19533acf3SYork Sunconfig ARCH_LS1012A
24a444176SYork Sun	bool
3fb2bf8c2SYork Sun	select FSL_LSCH2
424aaa094SYork Sun	select SYS_FSL_DDR_BE
59533acf3SYork Sun	select SYS_FSL_MMDC
60a37cf8fSYork Sun	select SYS_FSL_ERRATUM_A010315
70a37cf8fSYork Sun
80a37cf8fSYork Sunconfig ARCH_LS1043A
94a444176SYork Sun	bool
10fb2bf8c2SYork Sun	select FSL_LSCH2
11*d26e34c4SYork Sun	select SYS_FSL_DDR
1224aaa094SYork Sun	select SYS_FSL_DDR_BE
1324aaa094SYork Sun	select SYS_FSL_DDR_VER_50
140a37cf8fSYork Sun	select SYS_FSL_ERRATUM_A010315
150ea3671dSHou Zhiqiang	select SYS_FSL_ERRATUM_A010539
16*d26e34c4SYork Sun	select SYS_FSL_HAS_DDR3
17*d26e34c4SYork Sun	select SYS_FSL_HAS_DDR4
189533acf3SYork Sun
19da28e58aSYork Sunconfig ARCH_LS1046A
204a444176SYork Sun	bool
21fb2bf8c2SYork Sun	select FSL_LSCH2
22*d26e34c4SYork Sun	select SYS_FSL_DDR
2324aaa094SYork Sun	select SYS_FSL_DDR_BE
2424aaa094SYork Sun	select SYS_FSL_DDR_VER_50
250ea3671dSHou Zhiqiang	select SYS_FSL_ERRATUM_A010539
26*d26e34c4SYork Sun	select SYS_FSL_HAS_DDR4
27f534b8f5SYork Sun	select SYS_FSL_SRDS_2
289533acf3SYork Sun
294a444176SYork Sunconfig ARCH_LS2080A
304a444176SYork Sun	bool
31fb2bf8c2SYork Sun	select FSL_LSCH3
32*d26e34c4SYork Sun	select SYS_FSL_DDR
3324aaa094SYork Sun	select SYS_FSL_DDR_LE
3424aaa094SYork Sun	select SYS_FSL_DDR_VER_50
35f534b8f5SYork Sun	select SYS_FSL_HAS_DP_DDR
362c2e2c9eSYork Sun	select SYS_FSL_HAS_SEC
37*d26e34c4SYork Sun	select SYS_FSL_HAS_DDR4
382c2e2c9eSYork Sun	select SYS_FSL_SEC_COMPAT_5
3990b80386SYork Sun	select SYS_FSL_SEC_LE
40f534b8f5SYork Sun	select SYS_FSL_SRDS_2
41fb2bf8c2SYork Sun
42fb2bf8c2SYork Sunconfig FSL_LSCH2
43fb2bf8c2SYork Sun	bool
442c2e2c9eSYork Sun	select SYS_FSL_HAS_SEC
452c2e2c9eSYork Sun	select SYS_FSL_SEC_COMPAT_5
4690b80386SYork Sun	select SYS_FSL_SEC_BE
47f534b8f5SYork Sun	select SYS_FSL_SRDS_1
48f534b8f5SYork Sun	select SYS_HAS_SERDES
49fb2bf8c2SYork Sun
50fb2bf8c2SYork Sunconfig FSL_LSCH3
51fb2bf8c2SYork Sun	bool
52f534b8f5SYork Sun	select SYS_FSL_SRDS_1
53f534b8f5SYork Sun	select SYS_HAS_SERDES
54fb2bf8c2SYork Sun
55fb2bf8c2SYork Sunmenu "Layerscape architecture"
56fb2bf8c2SYork Sun	depends on FSL_LSCH2 || FSL_LSCH3
574a444176SYork Sun
582d16a1a6Smacro.wave.z@gmail.commenu "Layerscape PPA"
592d16a1a6Smacro.wave.z@gmail.comconfig FSL_LS_PPA
602d16a1a6Smacro.wave.z@gmail.com	bool "FSL Layerscape PPA firmware support"
61df88cb3bSmacro.wave.z@gmail.com	depends on !ARMV8_PSCI
622d16a1a6Smacro.wave.z@gmail.com	depends on ARCH_LS1043A || ARCH_LS1046A
632d16a1a6Smacro.wave.z@gmail.com	select FSL_PPA_ARMV8_PSCI
642d16a1a6Smacro.wave.z@gmail.com	help
652d16a1a6Smacro.wave.z@gmail.com	  The FSL Primary Protected Application (PPA) is a software component
662d16a1a6Smacro.wave.z@gmail.com	  which is loaded during boot stage, and then remains resident in RAM
672d16a1a6Smacro.wave.z@gmail.com	  and runs in the TrustZone after boot.
682d16a1a6Smacro.wave.z@gmail.com	  Say y to enable it.
692d16a1a6Smacro.wave.z@gmail.com
702d16a1a6Smacro.wave.z@gmail.comconfig FSL_PPA_ARMV8_PSCI
712d16a1a6Smacro.wave.z@gmail.com	bool "PSCI implementation in PPA firmware"
722d16a1a6Smacro.wave.z@gmail.com	depends on FSL_LS_PPA
732d16a1a6Smacro.wave.z@gmail.com	help
742d16a1a6Smacro.wave.z@gmail.com	  This config enables the ARMv8 PSCI implementation in PPA firmware.
752d16a1a6Smacro.wave.z@gmail.com	  This is a private PSCI implementation and different from those
762d16a1a6Smacro.wave.z@gmail.com	  implemented under the common ARMv8 PSCI framework.
772d16a1a6Smacro.wave.z@gmail.comendmenu
782d16a1a6Smacro.wave.z@gmail.com
790a37cf8fSYork Sunconfig SYS_FSL_ERRATUM_A010315
800a37cf8fSYork Sun	bool "Workaround for PCIe erratum A010315"
810ea3671dSHou Zhiqiang
820ea3671dSHou Zhiqiangconfig SYS_FSL_ERRATUM_A010539
830ea3671dSHou Zhiqiang	bool "Workaround for PIN MUX erratum A010539"
84fb2bf8c2SYork Sun
85b4b60d06SYork Sunconfig MAX_CPUS
86b4b60d06SYork Sun	int "Maximum number of CPUs permitted for Layerscape"
87b4b60d06SYork Sun	default 4 if ARCH_LS1043A
88b4b60d06SYork Sun	default 4 if ARCH_LS1046A
89b4b60d06SYork Sun	default 16 if ARCH_LS2080A
90b4b60d06SYork Sun	default 1
91b4b60d06SYork Sun	help
92b4b60d06SYork Sun	  Set this number to the maximum number of possible CPUs in the SoC.
93b4b60d06SYork Sun	  SoCs may have multiple clusters with each cluster may have multiple
94b4b60d06SYork Sun	  ports. If some ports are reserved but higher ports are used for
95b4b60d06SYork Sun	  cores, count the reserved ports. This will allocate enough memory
96b4b60d06SYork Sun	  in spin table to properly handle all cores.
97b4b60d06SYork Sun
98fd638102SYork Sunconfig NUM_DDR_CONTROLLERS
99fd638102SYork Sun	int "Maximum DDR controllers"
100fd638102SYork Sun	default 3 if ARCH_LS2080A
101fd638102SYork Sun	default 1
102fd638102SYork Sun
10301f65d97SYork Sunconfig SECURE_BOOT
10401f65d97SYork Sun	bool
10501f65d97SYork Sun	help
10601f65d97SYork Sun		Enable Freescale Secure Boot feature
10701f65d97SYork Sun
108dd2ad2f1SYuan Yaoconfig QSPI_AHB_INIT
109dd2ad2f1SYuan Yao	bool "Init the QSPI AHB bus"
110dd2ad2f1SYuan Yao	help
111dd2ad2f1SYuan Yao	  The default setting for QSPI AHB bus just support 3bytes addressing.
112dd2ad2f1SYuan Yao	  But some QSPI flash size up to 64MBytes, so initialize the QSPI AHB
113dd2ad2f1SYuan Yao	  bus for those flashes to support the full QSPI flash size.
114dd2ad2f1SYuan Yao
11525af7dc1SYork Sunconfig SYS_FSL_IFC_BANK_COUNT
11625af7dc1SYork Sun	int "Maximum banks of Integrated flash controller"
11725af7dc1SYork Sun	depends on ARCH_LS1043A || ARCH_LS1046A || ARCH_LS2080A
11825af7dc1SYork Sun	default 4 if ARCH_LS1043A
11925af7dc1SYork Sun	default 4 if ARCH_LS1046A
12025af7dc1SYork Sun	default 8 if ARCH_LS2080A
12125af7dc1SYork Sun
122fd638102SYork Sunconfig SYS_FSL_HAS_DP_DDR
123fd638102SYork Sun	bool
124fd638102SYork Sun
125f534b8f5SYork Sunconfig SYS_FSL_SRDS_1
126f534b8f5SYork Sun	bool
127f534b8f5SYork Sun
128f534b8f5SYork Sunconfig SYS_FSL_SRDS_2
129f534b8f5SYork Sun	bool
130f534b8f5SYork Sun
131f534b8f5SYork Sunconfig SYS_HAS_SERDES
132f534b8f5SYork Sun	bool
133f534b8f5SYork Sun
134fb2bf8c2SYork Sunendmenu
135