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
50 config SYS_FSL_ERRATUM_A010315
51 bool "Workaround for PCIe erratum A010315"
53 config SYS_FSL_ERRATUM_A010539
54 bool "Workaround for PIN MUX erratum A010539"
57 int "Maximum number of CPUs permitted for Layerscape"
58 default 4 if ARCH_LS1043A
59 default 4 if ARCH_LS1046A
60 default 16 if ARCH_LS2080A
63 Set this number to the maximum number of possible CPUs in the SoC.
64 SoCs may have multiple clusters with each cluster may have multiple
65 ports. If some ports are reserved but higher ports are used for
66 cores, count the reserved ports. This will allocate enough memory
67 in spin table to properly handle all cores.
69 config NUM_DDR_CONTROLLERS
70 int "Maximum DDR controllers"
71 default 3 if ARCH_LS2080A
77 Enable Freescale Secure Boot feature
80 bool "Init the QSPI AHB bus"
82 The default setting for QSPI AHB bus just support 3bytes addressing.
83 But some QSPI flash size up to 64MBytes, so initialize the QSPI AHB
84 bus for those flashes to support the full QSPI flash size.
86 config SYS_FSL_IFC_BANK_COUNT
87 int "Maximum banks of Integrated flash controller"
88 depends on ARCH_LS1043A || ARCH_LS1046A || ARCH_LS2080A
89 default 4 if ARCH_LS1043A
90 default 4 if ARCH_LS1046A
91 default 8 if ARCH_LS2080A
93 config SYS_FSL_HAS_DP_DDR
102 config SYS_HAS_SERDES
106 bool "Freescale DDR driver"
108 Select Freescale General DDR driver, shared between most Freescale
109 PowerPC- based SoCs (such as mpc83xx, mpc85xx, mpc86xx) and ARM-
110 based Layerscape SoCs (such as ls2080a).
112 config SYS_FSL_DDR_BE
115 Access DDR registers in big-endian.
117 config SYS_FSL_DDR_LE
120 Access DDR registers in little-endian.
122 config SYS_FSL_DDR_VER
124 default 50 if SYS_FSL_DDR_VER_50
126 config SYS_FSL_DDR_VER_50
129 config SYS_FSL_DDRC_ARM_GEN3
132 config SYS_FSL_DDRC_GEN4
136 bool "Freescale DDR3 controller"
137 depends on !SYS_FSL_DDR4
139 select SYS_FSL_DDRC_ARM_GEN3
141 Enable Freescale DDR3 controller on ARM-based SoCs.
144 bool "Freescale DDR4 controller"
146 select SYS_FSL_DDRC_GEN4
148 Enable Freescale DDR4 controller.