blob: 82d61600e12d09588b846897798678c495d536dd [file] [log] [blame]
York Sunb3d71642016-09-26 08:09:26 -07001config ARCH_LS1012A
York Sunfcd0e742016-10-04 14:31:47 -07002 bool
Hou Zhiqiang4d1525a2017-01-06 17:41:11 +08003 select ARMV8_SET_SMPEN
York Sun4dd8c612016-10-04 14:31:48 -07004 select FSL_LSCH2
York Sunb6fffd82016-10-04 18:03:08 -07005 select SYS_FSL_DDR_BE
York Sunb3d71642016-09-26 08:09:26 -07006 select SYS_FSL_MMDC
York Sun149eb332016-09-26 08:09:27 -07007 select SYS_FSL_ERRATUM_A010315
Simon Glass62adede2017-01-23 13:31:19 -07008 select ARCH_EARLY_INIT_R
Simon Glass7a99a872017-01-23 13:31:20 -07009 select BOARD_EARLY_INIT_F
York Sun149eb332016-09-26 08:09:27 -070010
11config ARCH_LS1043A
York Sunfcd0e742016-10-04 14:31:47 -070012 bool
Hou Zhiqiang4d1525a2017-01-06 17:41:11 +080013 select ARMV8_SET_SMPEN
York Sun4dd8c612016-10-04 14:31:48 -070014 select FSL_LSCH2
York Sund297d392016-12-28 08:43:40 -080015 select SYS_FSL_DDR
York Sunb6fffd82016-10-04 18:03:08 -070016 select SYS_FSL_DDR_BE
17 select SYS_FSL_DDR_VER_50
York Sun1dc61ca2016-12-28 08:43:41 -080018 select SYS_FSL_ERRATUM_A008850
19 select SYS_FSL_ERRATUM_A009660
20 select SYS_FSL_ERRATUM_A009663
21 select SYS_FSL_ERRATUM_A009929
22 select SYS_FSL_ERRATUM_A009942
York Sun149eb332016-09-26 08:09:27 -070023 select SYS_FSL_ERRATUM_A010315
Hou Zhiqiangc06b30a2016-09-29 12:42:44 +080024 select SYS_FSL_ERRATUM_A010539
York Sund297d392016-12-28 08:43:40 -080025 select SYS_FSL_HAS_DDR3
26 select SYS_FSL_HAS_DDR4
Simon Glass62adede2017-01-23 13:31:19 -070027 select ARCH_EARLY_INIT_R
Simon Glass7a99a872017-01-23 13:31:20 -070028 select BOARD_EARLY_INIT_F
Simon Glass0e5faf02017-06-14 21:28:21 -060029 imply SCSI
Simon Glassc88a09a2017-08-04 16:34:34 -060030 imply CMD_PCI
York Sunb3d71642016-09-26 08:09:26 -070031
York Sunbad49842016-09-26 08:09:24 -070032config ARCH_LS1046A
York Sunfcd0e742016-10-04 14:31:47 -070033 bool
Hou Zhiqiang4d1525a2017-01-06 17:41:11 +080034 select ARMV8_SET_SMPEN
York Sun4dd8c612016-10-04 14:31:48 -070035 select FSL_LSCH2
York Sund297d392016-12-28 08:43:40 -080036 select SYS_FSL_DDR
York Sunb6fffd82016-10-04 18:03:08 -070037 select SYS_FSL_DDR_BE
York Sunb6fffd82016-10-04 18:03:08 -070038 select SYS_FSL_DDR_VER_50
York Sunf195cf72017-01-27 09:57:31 -080039 select SYS_FSL_ERRATUM_A008336
York Sun1dc61ca2016-12-28 08:43:41 -080040 select SYS_FSL_ERRATUM_A008511
Shengzhou Liua7c37c62017-03-23 18:14:40 +080041 select SYS_FSL_ERRATUM_A008850
York Sun1dc61ca2016-12-28 08:43:41 -080042 select SYS_FSL_ERRATUM_A009801
43 select SYS_FSL_ERRATUM_A009803
44 select SYS_FSL_ERRATUM_A009942
45 select SYS_FSL_ERRATUM_A010165
Hou Zhiqiangc06b30a2016-09-29 12:42:44 +080046 select SYS_FSL_ERRATUM_A010539
York Sund297d392016-12-28 08:43:40 -080047 select SYS_FSL_HAS_DDR4
York Sun6b62ef02016-10-04 18:01:34 -070048 select SYS_FSL_SRDS_2
Simon Glass62adede2017-01-23 13:31:19 -070049 select ARCH_EARLY_INIT_R
Simon Glass7a99a872017-01-23 13:31:20 -070050 select BOARD_EARLY_INIT_F
Simon Glass0e5faf02017-06-14 21:28:21 -060051 imply SCSI
York Sunb3d71642016-09-26 08:09:26 -070052
Ashish Kumarb25faa22017-08-31 16:12:53 +053053config ARCH_LS1088A
54 bool
55 select ARMV8_SET_SMPEN
56 select FSL_LSCH3
57 select SYS_FSL_DDR
58 select SYS_FSL_DDR_LE
59 select SYS_FSL_DDR_VER_50
Ashish Kumarec455e22017-08-31 16:37:31 +053060 select SYS_FSL_EC1
61 select SYS_FSL_EC2
Ashish Kumarb25faa22017-08-31 16:12:53 +053062 select SYS_FSL_ERRATUM_A009803
63 select SYS_FSL_ERRATUM_A009942
64 select SYS_FSL_ERRATUM_A010165
65 select SYS_FSL_ERRATUM_A008511
66 select SYS_FSL_ERRATUM_A008850
67 select SYS_FSL_HAS_CCI400
68 select SYS_FSL_HAS_DDR4
Ashish Kumarec455e22017-08-31 16:37:31 +053069 select SYS_FSL_HAS_RGMII
Ashish Kumarb25faa22017-08-31 16:12:53 +053070 select SYS_FSL_HAS_SEC
71 select SYS_FSL_SEC_COMPAT_5
72 select SYS_FSL_SEC_LE
73 select SYS_FSL_SRDS_1
74 select SYS_FSL_SRDS_2
75 select FSL_TZASC_1
76 select ARCH_EARLY_INIT_R
77 select BOARD_EARLY_INIT_F
78
York Sunfcd0e742016-10-04 14:31:47 -070079config ARCH_LS2080A
80 bool
Hou Zhiqiang4d1525a2017-01-06 17:41:11 +080081 select ARMV8_SET_SMPEN
Tom Rinibacb52c2017-03-07 07:13:42 -050082 select ARM_ERRATA_826974
83 select ARM_ERRATA_828024
84 select ARM_ERRATA_829520
85 select ARM_ERRATA_833471
York Sun4dd8c612016-10-04 14:31:48 -070086 select FSL_LSCH3
York Sund297d392016-12-28 08:43:40 -080087 select SYS_FSL_DDR
York Sunb6fffd82016-10-04 18:03:08 -070088 select SYS_FSL_DDR_LE
89 select SYS_FSL_DDR_VER_50
Ashish Kumar97393d62017-08-18 10:54:36 +053090 select SYS_FSL_HAS_CCN504
York Sun6b62ef02016-10-04 18:01:34 -070091 select SYS_FSL_HAS_DP_DDR
York Sun92c36e22016-12-28 08:43:30 -080092 select SYS_FSL_HAS_SEC
York Sund297d392016-12-28 08:43:40 -080093 select SYS_FSL_HAS_DDR4
York Sun92c36e22016-12-28 08:43:30 -080094 select SYS_FSL_SEC_COMPAT_5
York Sunfa4199422016-12-28 08:43:31 -080095 select SYS_FSL_SEC_LE
York Sun6b62ef02016-10-04 18:01:34 -070096 select SYS_FSL_SRDS_2
Ashish kumar76bd6ce2017-04-07 11:40:32 +053097 select FSL_TZASC_1
98 select FSL_TZASC_2
York Sun1dc61ca2016-12-28 08:43:41 -080099 select SYS_FSL_ERRATUM_A008336
100 select SYS_FSL_ERRATUM_A008511
101 select SYS_FSL_ERRATUM_A008514
102 select SYS_FSL_ERRATUM_A008585
103 select SYS_FSL_ERRATUM_A009635
104 select SYS_FSL_ERRATUM_A009663
105 select SYS_FSL_ERRATUM_A009801
106 select SYS_FSL_ERRATUM_A009803
107 select SYS_FSL_ERRATUM_A009942
108 select SYS_FSL_ERRATUM_A010165
Ashish kumar3b52a232017-02-23 16:03:57 +0530109 select SYS_FSL_ERRATUM_A009203
Simon Glass62adede2017-01-23 13:31:19 -0700110 select ARCH_EARLY_INIT_R
Simon Glass7a99a872017-01-23 13:31:20 -0700111 select BOARD_EARLY_INIT_F
York Sun4dd8c612016-10-04 14:31:48 -0700112
113config FSL_LSCH2
114 bool
Ashish Kumar11234062017-08-11 11:09:14 +0530115 select SYS_FSL_HAS_CCI400
York Sun92c36e22016-12-28 08:43:30 -0800116 select SYS_FSL_HAS_SEC
117 select SYS_FSL_SEC_COMPAT_5
York Sunfa4199422016-12-28 08:43:31 -0800118 select SYS_FSL_SEC_BE
York Sun6b62ef02016-10-04 18:01:34 -0700119 select SYS_FSL_SRDS_1
120 select SYS_HAS_SERDES
York Sun4dd8c612016-10-04 14:31:48 -0700121
122config FSL_LSCH3
123 bool
York Sun6b62ef02016-10-04 18:01:34 -0700124 select SYS_FSL_SRDS_1
125 select SYS_HAS_SERDES
York Sun4dd8c612016-10-04 14:31:48 -0700126
York Sun6c089742017-03-06 09:02:25 -0800127config FSL_MC_ENET
128 bool "Management Complex network"
Ashish Kumarb25faa22017-08-31 16:12:53 +0530129 depends on ARCH_LS2080A || ARCH_LS1088A
York Sun6c089742017-03-06 09:02:25 -0800130 default y
131 select RESV_RAM
132 help
133 Enable Management Complex (MC) network
134
York Sun4dd8c612016-10-04 14:31:48 -0700135menu "Layerscape architecture"
136 depends on FSL_LSCH2 || FSL_LSCH3
York Sunfcd0e742016-10-04 14:31:47 -0700137
Hou Zhiqiangd553bf22016-12-13 14:54:24 +0800138config FSL_PCIE_COMPAT
139 string "PCIe compatible of Kernel DT"
140 depends on PCIE_LAYERSCAPE
141 default "fsl,ls1012a-pcie" if ARCH_LS1012A
142 default "fsl,ls1043a-pcie" if ARCH_LS1043A
143 default "fsl,ls1046a-pcie" if ARCH_LS1046A
144 default "fsl,ls2080a-pcie" if ARCH_LS2080A
Ashish Kumarb25faa22017-08-31 16:12:53 +0530145 default "fsl,ls1088a-pcie" if ARCH_LS1088A
Hou Zhiqiangd553bf22016-12-13 14:54:24 +0800146 help
147 This compatible is used to find pci controller node in Kernel DT
148 to complete fixup.
149
Wenbin Songa8f57a92017-01-17 18:31:15 +0800150config HAS_FEATURE_GIC64K_ALIGN
151 bool
152 default y if ARCH_LS1043A
153
Wenbin Songc6bc7c02017-01-17 18:31:16 +0800154config HAS_FEATURE_ENHANCED_MSI
155 bool
156 default y if ARCH_LS1043A
Wenbin Songa8f57a92017-01-17 18:31:15 +0800157
macro.wave.z@gmail.comec2d7ed2016-12-08 11:58:21 +0800158menu "Layerscape PPA"
159config FSL_LS_PPA
160 bool "FSL Layerscape PPA firmware support"
macro.wave.z@gmail.com01bd3342016-12-08 11:58:22 +0800161 depends on !ARMV8_PSCI
Hou Zhiqiangbff56d52017-01-16 17:31:49 +0800162 select ARMV8_SEC_FIRMWARE_SUPPORT
Hou Zhiqiang6be115d2017-01-16 17:31:48 +0800163 select SEC_FIRMWARE_ARMV8_PSCI
Hou Zhiqiangbff56d52017-01-16 17:31:49 +0800164 select ARMV8_SEC_FIRMWARE_ERET_ADDR_REVERT if FSL_LSCH2
macro.wave.z@gmail.comec2d7ed2016-12-08 11:58:21 +0800165 help
166 The FSL Primary Protected Application (PPA) is a software component
167 which is loaded during boot stage, and then remains resident in RAM
168 and runs in the TrustZone after boot.
169 Say y to enable it.
York Sunf2aaf842017-05-15 08:52:00 -0700170
171config SPL_FSL_LS_PPA
172 bool "FSL Layerscape PPA firmware support for SPL build"
173 depends on !ARMV8_PSCI
174 select SPL_ARMV8_SEC_FIRMWARE_SUPPORT
175 select SEC_FIRMWARE_ARMV8_PSCI
176 select ARMV8_SEC_FIRMWARE_ERET_ADDR_REVERT if FSL_LSCH2
177 help
178 The FSL Primary Protected Application (PPA) is a software component
179 which is loaded during boot stage, and then remains resident in RAM
180 and runs in the TrustZone after boot. This is to load PPA during SPL
181 stage instead of the RAM version of U-Boot. Once PPA is initialized,
182 the rest of U-Boot (including RAM version) runs at EL2.
Hou Zhiqiangbff56d52017-01-16 17:31:49 +0800183choice
184 prompt "FSL Layerscape PPA firmware loading-media select"
185 depends on FSL_LS_PPA
Hou Zhiqiangbd6e2cd2017-03-17 16:12:33 +0800186 default SYS_LS_PPA_FW_IN_MMC if SD_BOOT
187 default SYS_LS_PPA_FW_IN_NAND if NAND_BOOT
Hou Zhiqiangbff56d52017-01-16 17:31:49 +0800188 default SYS_LS_PPA_FW_IN_XIP
189
190config SYS_LS_PPA_FW_IN_XIP
191 bool "XIP"
192 help
193 Say Y here if the PPA firmware locate at XIP flash, such
194 as NOR or QSPI flash.
195
Hou Zhiqiangbd6e2cd2017-03-17 16:12:33 +0800196config SYS_LS_PPA_FW_IN_MMC
197 bool "eMMC or SD Card"
198 help
199 Say Y here if the PPA firmware locate at eMMC/SD card.
200
201config SYS_LS_PPA_FW_IN_NAND
202 bool "NAND"
203 help
204 Say Y here if the PPA firmware locate at NAND flash.
205
Hou Zhiqiangbff56d52017-01-16 17:31:49 +0800206endchoice
207
208config SYS_LS_PPA_FW_ADDR
209 hex "Address of PPA firmware loading from"
210 depends on FSL_LS_PPA
Priyanka Jain7d05b992017-04-28 10:41:35 +0530211 default 0x20400000 if SYS_LS_PPA_FW_IN_XIP && QSPI_BOOT && ARCH_LS2080A
Alison Wangb5b8bfa2017-05-16 10:45:58 +0800212 default 0x40400000 if SYS_LS_PPA_FW_IN_XIP && QSPI_BOOT
Santan Kumar0f0173d2017-04-28 12:47:24 +0530213 default 0x580400000 if SYS_LS_PPA_FW_IN_XIP && ARCH_LS2080A
Ashish Kumar227b4bc2017-08-31 16:12:54 +0530214 default 0x20400000 if SYS_LS_PPA_FW_IN_XIP && ARCH_LS1088A
Alison Wangb5b8bfa2017-05-16 10:45:58 +0800215 default 0x60400000 if SYS_LS_PPA_FW_IN_XIP
216 default 0x400000 if SYS_LS_PPA_FW_IN_MMC
217 default 0x400000 if SYS_LS_PPA_FW_IN_NAND
Hou Zhiqiangbd6e2cd2017-03-17 16:12:33 +0800218
Hou Zhiqiangbff56d52017-01-16 17:31:49 +0800219 help
220 If the PPA firmware locate at XIP flash, such as NOR or
221 QSPI flash, this address is a directly memory-mapped.
222 If it is in a serial accessed flash, such as NAND and SD
223 card, it is a byte offset.
Vinitha Pillai-B57223a4b3ded2017-03-23 13:48:14 +0530224
225config SYS_LS_PPA_ESBC_ADDR
226 hex "hdr address of PPA firmware loading from"
227 depends on FSL_LS_PPA && CHAIN_OF_TRUST
Sumit Garg666bbd02017-08-16 07:13:28 -0400228 default 0x60680000 if SYS_LS_PPA_FW_IN_XIP && ARCH_LS1043A
229 default 0x40680000 if SYS_LS_PPA_FW_IN_XIP && ARCH_LS1046A
230 default 0x40680000 if SYS_LS_PPA_FW_IN_XIP && ARCH_LS1012A
Udit Agarwalc83ea8a2017-08-16 07:13:29 -0400231 default 0x20680000 if SYS_LS_PPA_FW_IN_XIP && QSPI_BOOT && ARCH_LS2080A
232 default 0x580680000 if SYS_LS_PPA_FW_IN_XIP && ARCH_LS2080A
Sumit Garg666bbd02017-08-16 07:13:28 -0400233 default 0x680000 if SYS_LS_PPA_FW_IN_MMC
234 default 0x680000 if SYS_LS_PPA_FW_IN_NAND
Vinitha Pillai-B57223a4b3ded2017-03-23 13:48:14 +0530235 help
236 If the PPA header firmware locate at XIP flash, such as NOR or
237 QSPI flash, this address is a directly memory-mapped.
238 If it is in a serial accessed flash, such as NAND and SD
239 card, it is a byte offset.
240
Sumit Garg8fddf752017-04-20 05:09:11 +0530241config LS_PPA_ESBC_HDR_SIZE
242 hex "Length of PPA ESBC header"
243 depends on FSL_LS_PPA && CHAIN_OF_TRUST && !SYS_LS_PPA_FW_IN_XIP
244 default 0x2000
245 help
246 Length (in bytes) of PPA ESBC header to be copied from MMC/SD or
247 NAND to memory to validate PPA image.
248
macro.wave.z@gmail.comec2d7ed2016-12-08 11:58:21 +0800249endmenu
250
York Sun149eb332016-09-26 08:09:27 -0700251config SYS_FSL_ERRATUM_A010315
252 bool "Workaround for PCIe erratum A010315"
Hou Zhiqiangc06b30a2016-09-29 12:42:44 +0800253
254config SYS_FSL_ERRATUM_A010539
255 bool "Workaround for PIN MUX erratum A010539"
York Sun4dd8c612016-10-04 14:31:48 -0700256
York Sunf188d222016-10-04 14:45:01 -0700257config MAX_CPUS
258 int "Maximum number of CPUs permitted for Layerscape"
259 default 4 if ARCH_LS1043A
260 default 4 if ARCH_LS1046A
261 default 16 if ARCH_LS2080A
Ashish Kumarb25faa22017-08-31 16:12:53 +0530262 default 8 if ARCH_LS1088A
York Sunf188d222016-10-04 14:45:01 -0700263 default 1
264 help
265 Set this number to the maximum number of possible CPUs in the SoC.
266 SoCs may have multiple clusters with each cluster may have multiple
267 ports. If some ports are reserved but higher ports are used for
268 cores, count the reserved ports. This will allocate enough memory
269 in spin table to properly handle all cores.
270
York Sun728e7002016-12-02 09:32:35 -0800271config SECURE_BOOT
York Sun8a3d8ed2017-01-04 10:32:08 -0800272 bool "Secure Boot"
York Sun728e7002016-12-02 09:32:35 -0800273 help
274 Enable Freescale Secure Boot feature
275
Yuan Yao52ae4fd2016-12-01 10:13:52 +0800276config QSPI_AHB_INIT
277 bool "Init the QSPI AHB bus"
278 help
279 The default setting for QSPI AHB bus just support 3bytes addressing.
280 But some QSPI flash size up to 64MBytes, so initialize the QSPI AHB
281 bus for those flashes to support the full QSPI flash size.
282
Ashish Kumar11234062017-08-11 11:09:14 +0530283config SYS_CCI400_OFFSET
284 hex "Offset for CCI400 base"
285 depends on SYS_FSL_HAS_CCI400
286 default 0x3090000 if ARCH_LS1088A
287 default 0x180000 if FSL_LSCH2
288 help
289 Offset for CCI400 base
290 CCI400 base addr = CCSRBAR + CCI400_OFFSET
291
York Sune7310a32016-10-04 14:45:54 -0700292config SYS_FSL_IFC_BANK_COUNT
293 int "Maximum banks of Integrated flash controller"
Ashish Kumarb25faa22017-08-31 16:12:53 +0530294 depends on ARCH_LS1043A || ARCH_LS1046A || ARCH_LS2080A || ARCH_LS1088A
York Sune7310a32016-10-04 14:45:54 -0700295 default 4 if ARCH_LS1043A
296 default 4 if ARCH_LS1046A
Ashish Kumarb25faa22017-08-31 16:12:53 +0530297 default 8 if ARCH_LS2080A || ARCH_LS1088A
York Sune7310a32016-10-04 14:45:54 -0700298
Ashish Kumar11234062017-08-11 11:09:14 +0530299config SYS_FSL_HAS_CCI400
300 bool
301
Ashish Kumar97393d62017-08-18 10:54:36 +0530302config SYS_FSL_HAS_CCN504
303 bool
304
York Sun0dc9abb2016-10-04 14:46:50 -0700305config SYS_FSL_HAS_DP_DDR
306 bool
307
York Sun6b62ef02016-10-04 18:01:34 -0700308config SYS_FSL_SRDS_1
309 bool
310
311config SYS_FSL_SRDS_2
312 bool
313
314config SYS_HAS_SERDES
315 bool
316
Ashish kumar76bd6ce2017-04-07 11:40:32 +0530317config FSL_TZASC_1
318 bool
319
320config FSL_TZASC_2
321 bool
322
York Sun4dd8c612016-10-04 14:31:48 -0700323endmenu
York Sun1dc61ca2016-12-28 08:43:41 -0800324
Hou Zhiqiang3f91cda2017-01-10 16:44:15 +0800325menu "Layerscape clock tree configuration"
326 depends on FSL_LSCH2 || FSL_LSCH3
327
328config SYS_FSL_CLK
329 bool "Enable clock tree initialization"
330 default y
331
332config CLUSTER_CLK_FREQ
333 int "Reference clock of core cluster"
334 depends on ARCH_LS1012A
335 default 100000000
336 help
337 This number is the reference clock frequency of core PLL.
338 For most platforms, the core PLL and Platform PLL have the same
339 reference clock, but for some platforms, LS1012A for instance,
340 they are provided sepatately.
341
342config SYS_FSL_PCLK_DIV
343 int "Platform clock divider"
344 default 1 if ARCH_LS1043A
345 default 1 if ARCH_LS1046A
Ashish Kumarb25faa22017-08-31 16:12:53 +0530346 default 1 if ARCH_LS1088A
Hou Zhiqiang3f91cda2017-01-10 16:44:15 +0800347 default 2
348 help
349 This is the divider that is used to derive Platform clock from
350 Platform PLL, in another word:
351 Platform_clk = Platform_PLL_freq / this_divider
352
353config SYS_FSL_DSPI_CLK_DIV
354 int "DSPI clock divider"
355 default 1 if ARCH_LS1043A
356 default 2
357 help
358 This is the divider that is used to derive DSPI clock from Platform
Hou Zhiqiang0c8fcb62017-07-03 18:37:11 +0800359 clock, in another word DSPI_clk = Platform_clk / this_divider.
Hou Zhiqiang3f91cda2017-01-10 16:44:15 +0800360
361config SYS_FSL_DUART_CLK_DIV
362 int "DUART clock divider"
363 default 1 if ARCH_LS1043A
364 default 2
365 help
366 This is the divider that is used to derive DUART clock from Platform
367 clock, in another word DUART_clk = Platform_clk / this_divider.
368
369config SYS_FSL_I2C_CLK_DIV
370 int "I2C clock divider"
371 default 1 if ARCH_LS1043A
372 default 2
373 help
374 This is the divider that is used to derive I2C clock from Platform
375 clock, in another word I2C_clk = Platform_clk / this_divider.
376
377config SYS_FSL_IFC_CLK_DIV
378 int "IFC clock divider"
379 default 1 if ARCH_LS1043A
380 default 2
381 help
382 This is the divider that is used to derive IFC clock from Platform
383 clock, in another word IFC_clk = Platform_clk / this_divider.
384
385config SYS_FSL_LPUART_CLK_DIV
386 int "LPUART clock divider"
387 default 1 if ARCH_LS1043A
388 default 2
389 help
390 This is the divider that is used to derive LPUART clock from Platform
391 clock, in another word LPUART_clk = Platform_clk / this_divider.
392
393config SYS_FSL_SDHC_CLK_DIV
394 int "SDHC clock divider"
395 default 1 if ARCH_LS1043A
396 default 1 if ARCH_LS1012A
397 default 2
398 help
399 This is the divider that is used to derive SDHC clock from Platform
400 clock, in another word SDHC_clk = Platform_clk / this_divider.
401endmenu
402
York Sund6964b32017-03-06 09:02:24 -0800403config RESV_RAM
404 bool
405 help
406 Reserve memory from the top, tracked by gd->arch.resv_ram. This
407 reserved RAM can be used by special driver that resides in memory
408 after U-Boot exits. It's up to implementation to allocate and allow
409 access to this reserved memory. For example, the reserved RAM can
410 be at the high end of physical memory. The reserve RAM may be
411 excluded from memory bank(s) passed to OS, or marked as reserved.
412
Ashish Kumarec455e22017-08-31 16:37:31 +0530413config SYS_FSL_EC1
414 bool
415 help
416 Ethernet controller 1, this is connected to MAC3.
417 Provides DPAA2 capabilities
418
419config SYS_FSL_EC2
420 bool
421 help
422 Ethernet controller 2, this is connected to MAC4.
423 Provides DPAA2 capabilities
424
York Sun1dc61ca2016-12-28 08:43:41 -0800425config SYS_FSL_ERRATUM_A008336
426 bool
427
428config SYS_FSL_ERRATUM_A008514
429 bool
430
431config SYS_FSL_ERRATUM_A008585
432 bool
433
434config SYS_FSL_ERRATUM_A008850
435 bool
436
Ashish kumar3b52a232017-02-23 16:03:57 +0530437config SYS_FSL_ERRATUM_A009203
438 bool
439
York Sun1dc61ca2016-12-28 08:43:41 -0800440config SYS_FSL_ERRATUM_A009635
441 bool
442
443config SYS_FSL_ERRATUM_A009660
444 bool
445
446config SYS_FSL_ERRATUM_A009929
447 bool
York Sun1a770752017-03-06 09:02:26 -0800448
Ashish Kumarec455e22017-08-31 16:37:31 +0530449
450config SYS_FSL_HAS_RGMII
451 bool
452 depends on SYS_FSL_EC1 || SYS_FSL_EC2
453
454
York Sun1a770752017-03-06 09:02:26 -0800455config SYS_MC_RSV_MEM_ALIGN
456 hex "Management Complex reserved memory alignment"
457 depends on RESV_RAM
Ashish Kumarb25faa22017-08-31 16:12:53 +0530458 default 0x20000000 if ARCH_LS2080A
459 default 0x70000000 if ARCH_LS1088A
York Sun1a770752017-03-06 09:02:26 -0800460 help
461 Reserved memory needs to be aligned for MC to use. Default value
462 is 512MB.
Philipp Tomsich2d6a0cc2017-08-03 23:23:55 +0200463
464config SPL_LDSCRIPT
465 default "arch/arm/cpu/armv8/u-boot-spl.lds" if ARCH_LS1043A || ARCH_LS1046A || ARCH_LS2080A