blob: de0b580e964391af2d3ff471b2a49582ecf4f65c [file] [log] [blame]
York Sunb3d71642016-09-26 08:09:26 -07001config ARCH_LS1012A
York Sunfcd0e742016-10-04 14:31:47 -07002 bool
York Sun4dd8c612016-10-04 14:31:48 -07003 select FSL_LSCH2
York Sunb6fffd82016-10-04 18:03:08 -07004 select SYS_FSL_DDR_BE
York Sunb3d71642016-09-26 08:09:26 -07005 select SYS_FSL_MMDC
York Sun149eb332016-09-26 08:09:27 -07006 select SYS_FSL_ERRATUM_A010315
7
8config ARCH_LS1043A
York Sunfcd0e742016-10-04 14:31:47 -07009 bool
York Sun4dd8c612016-10-04 14:31:48 -070010 select FSL_LSCH2
York Sund297d392016-12-28 08:43:40 -080011 select SYS_FSL_DDR
York Sunb6fffd82016-10-04 18:03:08 -070012 select SYS_FSL_DDR_BE
13 select SYS_FSL_DDR_VER_50
York Sun1dc61ca2016-12-28 08:43:41 -080014 select SYS_FSL_ERRATUM_A008850
15 select SYS_FSL_ERRATUM_A009660
16 select SYS_FSL_ERRATUM_A009663
17 select SYS_FSL_ERRATUM_A009929
18 select SYS_FSL_ERRATUM_A009942
York Sun149eb332016-09-26 08:09:27 -070019 select SYS_FSL_ERRATUM_A010315
Hou Zhiqiangc06b30a2016-09-29 12:42:44 +080020 select SYS_FSL_ERRATUM_A010539
York Sund297d392016-12-28 08:43:40 -080021 select SYS_FSL_HAS_DDR3
22 select SYS_FSL_HAS_DDR4
York Sunb3d71642016-09-26 08:09:26 -070023
York Sunbad49842016-09-26 08:09:24 -070024config ARCH_LS1046A
York Sunfcd0e742016-10-04 14:31:47 -070025 bool
York Sun4dd8c612016-10-04 14:31:48 -070026 select FSL_LSCH2
York Sund297d392016-12-28 08:43:40 -080027 select SYS_FSL_DDR
York Sunb6fffd82016-10-04 18:03:08 -070028 select SYS_FSL_DDR_BE
York Sunb6fffd82016-10-04 18:03:08 -070029 select SYS_FSL_DDR_VER_50
York Sun1dc61ca2016-12-28 08:43:41 -080030 select SYS_FSL_ERRATUM_A008511
31 select SYS_FSL_ERRATUM_A009801
32 select SYS_FSL_ERRATUM_A009803
33 select SYS_FSL_ERRATUM_A009942
34 select SYS_FSL_ERRATUM_A010165
Hou Zhiqiangc06b30a2016-09-29 12:42:44 +080035 select SYS_FSL_ERRATUM_A010539
York Sund297d392016-12-28 08:43:40 -080036 select SYS_FSL_HAS_DDR4
York Sun6b62ef02016-10-04 18:01:34 -070037 select SYS_FSL_SRDS_2
York Sunb3d71642016-09-26 08:09:26 -070038
York Sunfcd0e742016-10-04 14:31:47 -070039config ARCH_LS2080A
40 bool
York Sun4dd8c612016-10-04 14:31:48 -070041 select FSL_LSCH3
York Sund297d392016-12-28 08:43:40 -080042 select SYS_FSL_DDR
York Sunb6fffd82016-10-04 18:03:08 -070043 select SYS_FSL_DDR_LE
44 select SYS_FSL_DDR_VER_50
York Sun6b62ef02016-10-04 18:01:34 -070045 select SYS_FSL_HAS_DP_DDR
York Sun92c36e22016-12-28 08:43:30 -080046 select SYS_FSL_HAS_SEC
York Sund297d392016-12-28 08:43:40 -080047 select SYS_FSL_HAS_DDR4
York Sun92c36e22016-12-28 08:43:30 -080048 select SYS_FSL_SEC_COMPAT_5
York Sunfa4199422016-12-28 08:43:31 -080049 select SYS_FSL_SEC_LE
York Sun6b62ef02016-10-04 18:01:34 -070050 select SYS_FSL_SRDS_2
York Sun1dc61ca2016-12-28 08:43:41 -080051 select SYS_FSL_ERRATUM_A008336
52 select SYS_FSL_ERRATUM_A008511
53 select SYS_FSL_ERRATUM_A008514
54 select SYS_FSL_ERRATUM_A008585
55 select SYS_FSL_ERRATUM_A009635
56 select SYS_FSL_ERRATUM_A009663
57 select SYS_FSL_ERRATUM_A009801
58 select SYS_FSL_ERRATUM_A009803
59 select SYS_FSL_ERRATUM_A009942
60 select SYS_FSL_ERRATUM_A010165
York Sun4dd8c612016-10-04 14:31:48 -070061
62config FSL_LSCH2
63 bool
York Sun92c36e22016-12-28 08:43:30 -080064 select SYS_FSL_HAS_SEC
65 select SYS_FSL_SEC_COMPAT_5
York Sunfa4199422016-12-28 08:43:31 -080066 select SYS_FSL_SEC_BE
York Sun6b62ef02016-10-04 18:01:34 -070067 select SYS_FSL_SRDS_1
68 select SYS_HAS_SERDES
York Sun4dd8c612016-10-04 14:31:48 -070069
70config FSL_LSCH3
71 bool
York Sun6b62ef02016-10-04 18:01:34 -070072 select SYS_FSL_SRDS_1
73 select SYS_HAS_SERDES
York Sun4dd8c612016-10-04 14:31:48 -070074
75menu "Layerscape architecture"
76 depends on FSL_LSCH2 || FSL_LSCH3
York Sunfcd0e742016-10-04 14:31:47 -070077
macro.wave.z@gmail.comec2d7ed2016-12-08 11:58:21 +080078menu "Layerscape PPA"
79config FSL_LS_PPA
80 bool "FSL Layerscape PPA firmware support"
macro.wave.z@gmail.com01bd3342016-12-08 11:58:22 +080081 depends on !ARMV8_PSCI
macro.wave.z@gmail.comec2d7ed2016-12-08 11:58:21 +080082 depends on ARCH_LS1043A || ARCH_LS1046A
83 select FSL_PPA_ARMV8_PSCI
84 help
85 The FSL Primary Protected Application (PPA) is a software component
86 which is loaded during boot stage, and then remains resident in RAM
87 and runs in the TrustZone after boot.
88 Say y to enable it.
89
90config FSL_PPA_ARMV8_PSCI
91 bool "PSCI implementation in PPA firmware"
92 depends on FSL_LS_PPA
93 help
94 This config enables the ARMv8 PSCI implementation in PPA firmware.
95 This is a private PSCI implementation and different from those
96 implemented under the common ARMv8 PSCI framework.
97endmenu
98
York Sun149eb332016-09-26 08:09:27 -070099config SYS_FSL_ERRATUM_A010315
100 bool "Workaround for PCIe erratum A010315"
Hou Zhiqiangc06b30a2016-09-29 12:42:44 +0800101
102config SYS_FSL_ERRATUM_A010539
103 bool "Workaround for PIN MUX erratum A010539"
York Sun4dd8c612016-10-04 14:31:48 -0700104
York Sunf188d222016-10-04 14:45:01 -0700105config MAX_CPUS
106 int "Maximum number of CPUs permitted for Layerscape"
107 default 4 if ARCH_LS1043A
108 default 4 if ARCH_LS1046A
109 default 16 if ARCH_LS2080A
110 default 1
111 help
112 Set this number to the maximum number of possible CPUs in the SoC.
113 SoCs may have multiple clusters with each cluster may have multiple
114 ports. If some ports are reserved but higher ports are used for
115 cores, count the reserved ports. This will allocate enough memory
116 in spin table to properly handle all cores.
117
York Sun728e7002016-12-02 09:32:35 -0800118config SECURE_BOOT
119 bool
120 help
121 Enable Freescale Secure Boot feature
122
Yuan Yao52ae4fd2016-12-01 10:13:52 +0800123config QSPI_AHB_INIT
124 bool "Init the QSPI AHB bus"
125 help
126 The default setting for QSPI AHB bus just support 3bytes addressing.
127 But some QSPI flash size up to 64MBytes, so initialize the QSPI AHB
128 bus for those flashes to support the full QSPI flash size.
129
York Sune7310a32016-10-04 14:45:54 -0700130config SYS_FSL_IFC_BANK_COUNT
131 int "Maximum banks of Integrated flash controller"
132 depends on ARCH_LS1043A || ARCH_LS1046A || ARCH_LS2080A
133 default 4 if ARCH_LS1043A
134 default 4 if ARCH_LS1046A
135 default 8 if ARCH_LS2080A
136
York Sun0dc9abb2016-10-04 14:46:50 -0700137config SYS_FSL_HAS_DP_DDR
138 bool
139
York Sun6b62ef02016-10-04 18:01:34 -0700140config SYS_FSL_SRDS_1
141 bool
142
143config SYS_FSL_SRDS_2
144 bool
145
146config SYS_HAS_SERDES
147 bool
148
York Sun4dd8c612016-10-04 14:31:48 -0700149endmenu
York Sun1dc61ca2016-12-28 08:43:41 -0800150
151config SYS_FSL_ERRATUM_A008336
152 bool
153
154config SYS_FSL_ERRATUM_A008514
155 bool
156
157config SYS_FSL_ERRATUM_A008585
158 bool
159
160config SYS_FSL_ERRATUM_A008850
161 bool
162
163config SYS_FSL_ERRATUM_A009635
164 bool
165
166config SYS_FSL_ERRATUM_A009660
167 bool
168
169config SYS_FSL_ERRATUM_A009929
170 bool