6 select SYS_FSL_ERRATUM_A010315
12 select SYS_FSL_DDR_VER_50
13 select SYS_FSL_ERRATUM_A010315
14 select SYS_FSL_ERRATUM_A010539
21 select SYS_FSL_DDR_VER_50
22 select SYS_FSL_ERRATUM_A010539
30 select SYS_FSL_DDR_VER_50
31 select SYS_FSL_HAS_DP_DDR
44 menu "Layerscape architecture"
45 depends on FSL_LSCH2 || FSL_LSCH3
49 bool "FSL Layerscape PPA firmware support"
50 depends on ARCH_LS1043A || ARCH_LS1046A
51 select FSL_PPA_ARMV8_PSCI
53 The FSL Primary Protected Application (PPA) is a software component
54 which is loaded during boot stage, and then remains resident in RAM
55 and runs in the TrustZone after boot.
58 config FSL_PPA_ARMV8_PSCI
59 bool "PSCI implementation in PPA firmware"
62 This config enables the ARMv8 PSCI implementation in PPA firmware.
63 This is a private PSCI implementation and different from those
64 implemented under the common ARMv8 PSCI framework.
70 config SYS_FSL_ERRATUM_A010315
71 bool "Workaround for PCIe erratum A010315"
73 config SYS_FSL_ERRATUM_A010539
74 bool "Workaround for PIN MUX erratum A010539"
77 int "Maximum number of CPUs permitted for Layerscape"
78 default 4 if ARCH_LS1043A
79 default 4 if ARCH_LS1046A
80 default 16 if ARCH_LS2080A
83 Set this number to the maximum number of possible CPUs in the SoC.
84 SoCs may have multiple clusters with each cluster may have multiple
85 ports. If some ports are reserved but higher ports are used for
86 cores, count the reserved ports. This will allocate enough memory
87 in spin table to properly handle all cores.
89 config NUM_DDR_CONTROLLERS
90 int "Maximum DDR controllers"
91 default 3 if ARCH_LS2080A
97 Enable Freescale Secure Boot feature
100 bool "Init the QSPI AHB bus"
102 The default setting for QSPI AHB bus just support 3bytes addressing.
103 But some QSPI flash size up to 64MBytes, so initialize the QSPI AHB
104 bus for those flashes to support the full QSPI flash size.
106 config SYS_FSL_IFC_BANK_COUNT
107 int "Maximum banks of Integrated flash controller"
108 depends on ARCH_LS1043A || ARCH_LS1046A || ARCH_LS2080A
109 default 4 if ARCH_LS1043A
110 default 4 if ARCH_LS1046A
111 default 8 if ARCH_LS2080A
113 config SYS_FSL_HAS_DP_DDR
116 config SYS_FSL_SRDS_1
119 config SYS_FSL_SRDS_2
122 config SYS_HAS_SERDES
126 bool "Freescale DDR driver"
128 Select Freescale General DDR driver, shared between most Freescale
129 PowerPC- based SoCs (such as mpc83xx, mpc85xx, mpc86xx) and ARM-
130 based Layerscape SoCs (such as ls2080a).
132 config SYS_FSL_DDR_BE
135 Access DDR registers in big-endian.
137 config SYS_FSL_DDR_LE
140 Access DDR registers in little-endian.
142 config SYS_FSL_DDR_VER
144 default 50 if SYS_FSL_DDR_VER_50
146 config SYS_FSL_DDR_VER_50
149 config SYS_FSL_DDRC_ARM_GEN3
152 config SYS_FSL_DDRC_GEN4
156 bool "Freescale DDR3 controller"
157 depends on !SYS_FSL_DDR4
159 select SYS_FSL_DDRC_ARM_GEN3
161 Enable Freescale DDR3 controller on ARM-based SoCs.
164 bool "Freescale DDR4 controller"
166 select SYS_FSL_DDRC_GEN4
168 Enable Freescale DDR4 controller.