blob: 64eadfd25ae1ca243bf9e7c3541d4038b7e21571 [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
Ran Wangb358b7b2017-09-04 18:46:48 +080019 select SYS_FSL_ERRATUM_A009008
York Sun1dc61ca2016-12-28 08:43:41 -080020 select SYS_FSL_ERRATUM_A009660
21 select SYS_FSL_ERRATUM_A009663
22 select SYS_FSL_ERRATUM_A009929
23 select SYS_FSL_ERRATUM_A009942
York Sun149eb332016-09-26 08:09:27 -070024 select SYS_FSL_ERRATUM_A010315
Hou Zhiqiangc06b30a2016-09-29 12:42:44 +080025 select SYS_FSL_ERRATUM_A010539
York Sund297d392016-12-28 08:43:40 -080026 select SYS_FSL_HAS_DDR3
27 select SYS_FSL_HAS_DDR4
Simon Glass62adede2017-01-23 13:31:19 -070028 select ARCH_EARLY_INIT_R
Simon Glass7a99a872017-01-23 13:31:20 -070029 select BOARD_EARLY_INIT_F
Simon Glass0e5faf02017-06-14 21:28:21 -060030 imply SCSI
Simon Glassc88a09a2017-08-04 16:34:34 -060031 imply CMD_PCI
York Sunb3d71642016-09-26 08:09:26 -070032
York Sunbad49842016-09-26 08:09:24 -070033config ARCH_LS1046A
York Sunfcd0e742016-10-04 14:31:47 -070034 bool
Hou Zhiqiang4d1525a2017-01-06 17:41:11 +080035 select ARMV8_SET_SMPEN
York Sun4dd8c612016-10-04 14:31:48 -070036 select FSL_LSCH2
York Sund297d392016-12-28 08:43:40 -080037 select SYS_FSL_DDR
York Sunb6fffd82016-10-04 18:03:08 -070038 select SYS_FSL_DDR_BE
York Sunb6fffd82016-10-04 18:03:08 -070039 select SYS_FSL_DDR_VER_50
York Sunf195cf72017-01-27 09:57:31 -080040 select SYS_FSL_ERRATUM_A008336
York Sun1dc61ca2016-12-28 08:43:41 -080041 select SYS_FSL_ERRATUM_A008511
Shengzhou Liua7c37c62017-03-23 18:14:40 +080042 select SYS_FSL_ERRATUM_A008850
Ran Wangb358b7b2017-09-04 18:46:48 +080043 select SYS_FSL_ERRATUM_A009008
York Sun1dc61ca2016-12-28 08:43:41 -080044 select SYS_FSL_ERRATUM_A009801
45 select SYS_FSL_ERRATUM_A009803
46 select SYS_FSL_ERRATUM_A009942
47 select SYS_FSL_ERRATUM_A010165
Hou Zhiqiangc06b30a2016-09-29 12:42:44 +080048 select SYS_FSL_ERRATUM_A010539
York Sund297d392016-12-28 08:43:40 -080049 select SYS_FSL_HAS_DDR4
York Sun6b62ef02016-10-04 18:01:34 -070050 select SYS_FSL_SRDS_2
Simon Glass62adede2017-01-23 13:31:19 -070051 select ARCH_EARLY_INIT_R
Simon Glass7a99a872017-01-23 13:31:20 -070052 select BOARD_EARLY_INIT_F
Simon Glass0e5faf02017-06-14 21:28:21 -060053 imply SCSI
York Sunb3d71642016-09-26 08:09:26 -070054
Ashish Kumarb25faa22017-08-31 16:12:53 +053055config ARCH_LS1088A
56 bool
57 select ARMV8_SET_SMPEN
58 select FSL_LSCH3
59 select SYS_FSL_DDR
60 select SYS_FSL_DDR_LE
61 select SYS_FSL_DDR_VER_50
Ashish Kumarec455e22017-08-31 16:37:31 +053062 select SYS_FSL_EC1
63 select SYS_FSL_EC2
Ashish Kumarb25faa22017-08-31 16:12:53 +053064 select SYS_FSL_ERRATUM_A009803
65 select SYS_FSL_ERRATUM_A009942
66 select SYS_FSL_ERRATUM_A010165
67 select SYS_FSL_ERRATUM_A008511
68 select SYS_FSL_ERRATUM_A008850
69 select SYS_FSL_HAS_CCI400
70 select SYS_FSL_HAS_DDR4
Ashish Kumarec455e22017-08-31 16:37:31 +053071 select SYS_FSL_HAS_RGMII
Ashish Kumarb25faa22017-08-31 16:12:53 +053072 select SYS_FSL_HAS_SEC
73 select SYS_FSL_SEC_COMPAT_5
74 select SYS_FSL_SEC_LE
75 select SYS_FSL_SRDS_1
76 select SYS_FSL_SRDS_2
77 select FSL_TZASC_1
78 select ARCH_EARLY_INIT_R
79 select BOARD_EARLY_INIT_F
80
York Sunfcd0e742016-10-04 14:31:47 -070081config ARCH_LS2080A
82 bool
Hou Zhiqiang4d1525a2017-01-06 17:41:11 +080083 select ARMV8_SET_SMPEN
Tom Rinibacb52c2017-03-07 07:13:42 -050084 select ARM_ERRATA_826974
85 select ARM_ERRATA_828024
86 select ARM_ERRATA_829520
87 select ARM_ERRATA_833471
York Sun4dd8c612016-10-04 14:31:48 -070088 select FSL_LSCH3
York Sund297d392016-12-28 08:43:40 -080089 select SYS_FSL_DDR
York Sunb6fffd82016-10-04 18:03:08 -070090 select SYS_FSL_DDR_LE
91 select SYS_FSL_DDR_VER_50
Ashish Kumar97393d62017-08-18 10:54:36 +053092 select SYS_FSL_HAS_CCN504
York Sun6b62ef02016-10-04 18:01:34 -070093 select SYS_FSL_HAS_DP_DDR
York Sun92c36e22016-12-28 08:43:30 -080094 select SYS_FSL_HAS_SEC
York Sund297d392016-12-28 08:43:40 -080095 select SYS_FSL_HAS_DDR4
York Sun92c36e22016-12-28 08:43:30 -080096 select SYS_FSL_SEC_COMPAT_5
York Sunfa4199422016-12-28 08:43:31 -080097 select SYS_FSL_SEC_LE
York Sun6b62ef02016-10-04 18:01:34 -070098 select SYS_FSL_SRDS_2
Ashish kumar76bd6ce2017-04-07 11:40:32 +053099 select FSL_TZASC_1
100 select FSL_TZASC_2
York Sun1dc61ca2016-12-28 08:43:41 -0800101 select SYS_FSL_ERRATUM_A008336
102 select SYS_FSL_ERRATUM_A008511
103 select SYS_FSL_ERRATUM_A008514
104 select SYS_FSL_ERRATUM_A008585
Ran Wangb358b7b2017-09-04 18:46:48 +0800105 select SYS_FSL_ERRATUM_A009008
York Sun1dc61ca2016-12-28 08:43:41 -0800106 select SYS_FSL_ERRATUM_A009635
107 select SYS_FSL_ERRATUM_A009663
108 select SYS_FSL_ERRATUM_A009801
109 select SYS_FSL_ERRATUM_A009803
110 select SYS_FSL_ERRATUM_A009942
111 select SYS_FSL_ERRATUM_A010165
Ashish kumar3b52a232017-02-23 16:03:57 +0530112 select SYS_FSL_ERRATUM_A009203
Simon Glass62adede2017-01-23 13:31:19 -0700113 select ARCH_EARLY_INIT_R
Simon Glass7a99a872017-01-23 13:31:20 -0700114 select BOARD_EARLY_INIT_F
York Sun4dd8c612016-10-04 14:31:48 -0700115
116config FSL_LSCH2
117 bool
Ashish Kumar11234062017-08-11 11:09:14 +0530118 select SYS_FSL_HAS_CCI400
York Sun92c36e22016-12-28 08:43:30 -0800119 select SYS_FSL_HAS_SEC
120 select SYS_FSL_SEC_COMPAT_5
York Sunfa4199422016-12-28 08:43:31 -0800121 select SYS_FSL_SEC_BE
York Sun6b62ef02016-10-04 18:01:34 -0700122 select SYS_FSL_SRDS_1
123 select SYS_HAS_SERDES
York Sun4dd8c612016-10-04 14:31:48 -0700124
125config FSL_LSCH3
126 bool
York Sun6b62ef02016-10-04 18:01:34 -0700127 select SYS_FSL_SRDS_1
128 select SYS_HAS_SERDES
York Sun4dd8c612016-10-04 14:31:48 -0700129
York Sun6c089742017-03-06 09:02:25 -0800130config FSL_MC_ENET
131 bool "Management Complex network"
Ashish Kumarb25faa22017-08-31 16:12:53 +0530132 depends on ARCH_LS2080A || ARCH_LS1088A
York Sun6c089742017-03-06 09:02:25 -0800133 default y
134 select RESV_RAM
135 help
136 Enable Management Complex (MC) network
137
York Sun4dd8c612016-10-04 14:31:48 -0700138menu "Layerscape architecture"
139 depends on FSL_LSCH2 || FSL_LSCH3
York Sunfcd0e742016-10-04 14:31:47 -0700140
Hou Zhiqiangd553bf22016-12-13 14:54:24 +0800141config FSL_PCIE_COMPAT
142 string "PCIe compatible of Kernel DT"
143 depends on PCIE_LAYERSCAPE
144 default "fsl,ls1012a-pcie" if ARCH_LS1012A
145 default "fsl,ls1043a-pcie" if ARCH_LS1043A
146 default "fsl,ls1046a-pcie" if ARCH_LS1046A
147 default "fsl,ls2080a-pcie" if ARCH_LS2080A
Ashish Kumarb25faa22017-08-31 16:12:53 +0530148 default "fsl,ls1088a-pcie" if ARCH_LS1088A
Hou Zhiqiangd553bf22016-12-13 14:54:24 +0800149 help
150 This compatible is used to find pci controller node in Kernel DT
151 to complete fixup.
152
Wenbin Songa8f57a92017-01-17 18:31:15 +0800153config HAS_FEATURE_GIC64K_ALIGN
154 bool
155 default y if ARCH_LS1043A
156
Wenbin Songc6bc7c02017-01-17 18:31:16 +0800157config HAS_FEATURE_ENHANCED_MSI
158 bool
159 default y if ARCH_LS1043A
Wenbin Songa8f57a92017-01-17 18:31:15 +0800160
macro.wave.z@gmail.comec2d7ed2016-12-08 11:58:21 +0800161menu "Layerscape PPA"
162config FSL_LS_PPA
163 bool "FSL Layerscape PPA firmware support"
macro.wave.z@gmail.com01bd3342016-12-08 11:58:22 +0800164 depends on !ARMV8_PSCI
Hou Zhiqiangbff56d52017-01-16 17:31:49 +0800165 select ARMV8_SEC_FIRMWARE_SUPPORT
Hou Zhiqiang6be115d2017-01-16 17:31:48 +0800166 select SEC_FIRMWARE_ARMV8_PSCI
Hou Zhiqiangbff56d52017-01-16 17:31:49 +0800167 select ARMV8_SEC_FIRMWARE_ERET_ADDR_REVERT if FSL_LSCH2
macro.wave.z@gmail.comec2d7ed2016-12-08 11:58:21 +0800168 help
169 The FSL Primary Protected Application (PPA) is a software component
170 which is loaded during boot stage, and then remains resident in RAM
171 and runs in the TrustZone after boot.
172 Say y to enable it.
York Sunf2aaf842017-05-15 08:52:00 -0700173
174config SPL_FSL_LS_PPA
175 bool "FSL Layerscape PPA firmware support for SPL build"
176 depends on !ARMV8_PSCI
177 select SPL_ARMV8_SEC_FIRMWARE_SUPPORT
178 select SEC_FIRMWARE_ARMV8_PSCI
179 select ARMV8_SEC_FIRMWARE_ERET_ADDR_REVERT if FSL_LSCH2
180 help
181 The FSL Primary Protected Application (PPA) is a software component
182 which is loaded during boot stage, and then remains resident in RAM
183 and runs in the TrustZone after boot. This is to load PPA during SPL
184 stage instead of the RAM version of U-Boot. Once PPA is initialized,
185 the rest of U-Boot (including RAM version) runs at EL2.
Hou Zhiqiangbff56d52017-01-16 17:31:49 +0800186choice
187 prompt "FSL Layerscape PPA firmware loading-media select"
188 depends on FSL_LS_PPA
Hou Zhiqiangbd6e2cd2017-03-17 16:12:33 +0800189 default SYS_LS_PPA_FW_IN_MMC if SD_BOOT
190 default SYS_LS_PPA_FW_IN_NAND if NAND_BOOT
Hou Zhiqiangbff56d52017-01-16 17:31:49 +0800191 default SYS_LS_PPA_FW_IN_XIP
192
193config SYS_LS_PPA_FW_IN_XIP
194 bool "XIP"
195 help
196 Say Y here if the PPA firmware locate at XIP flash, such
197 as NOR or QSPI flash.
198
Hou Zhiqiangbd6e2cd2017-03-17 16:12:33 +0800199config SYS_LS_PPA_FW_IN_MMC
200 bool "eMMC or SD Card"
201 help
202 Say Y here if the PPA firmware locate at eMMC/SD card.
203
204config SYS_LS_PPA_FW_IN_NAND
205 bool "NAND"
206 help
207 Say Y here if the PPA firmware locate at NAND flash.
208
Hou Zhiqiangbff56d52017-01-16 17:31:49 +0800209endchoice
210
211config SYS_LS_PPA_FW_ADDR
212 hex "Address of PPA firmware loading from"
213 depends on FSL_LS_PPA
Priyanka Jain7d05b992017-04-28 10:41:35 +0530214 default 0x20400000 if SYS_LS_PPA_FW_IN_XIP && QSPI_BOOT && ARCH_LS2080A
Alison Wangb5b8bfa2017-05-16 10:45:58 +0800215 default 0x40400000 if SYS_LS_PPA_FW_IN_XIP && QSPI_BOOT
Santan Kumar0f0173d2017-04-28 12:47:24 +0530216 default 0x580400000 if SYS_LS_PPA_FW_IN_XIP && ARCH_LS2080A
Ashish Kumar227b4bc2017-08-31 16:12:54 +0530217 default 0x20400000 if SYS_LS_PPA_FW_IN_XIP && ARCH_LS1088A
Alison Wangb5b8bfa2017-05-16 10:45:58 +0800218 default 0x60400000 if SYS_LS_PPA_FW_IN_XIP
219 default 0x400000 if SYS_LS_PPA_FW_IN_MMC
220 default 0x400000 if SYS_LS_PPA_FW_IN_NAND
Hou Zhiqiangbd6e2cd2017-03-17 16:12:33 +0800221
Hou Zhiqiangbff56d52017-01-16 17:31:49 +0800222 help
223 If the PPA firmware locate at XIP flash, such as NOR or
224 QSPI flash, this address is a directly memory-mapped.
225 If it is in a serial accessed flash, such as NAND and SD
226 card, it is a byte offset.
Vinitha Pillai-B57223a4b3ded2017-03-23 13:48:14 +0530227
228config SYS_LS_PPA_ESBC_ADDR
229 hex "hdr address of PPA firmware loading from"
230 depends on FSL_LS_PPA && CHAIN_OF_TRUST
Sumit Garg666bbd02017-08-16 07:13:28 -0400231 default 0x60680000 if SYS_LS_PPA_FW_IN_XIP && ARCH_LS1043A
232 default 0x40680000 if SYS_LS_PPA_FW_IN_XIP && ARCH_LS1046A
233 default 0x40680000 if SYS_LS_PPA_FW_IN_XIP && ARCH_LS1012A
Udit Agarwalc83ea8a2017-08-16 07:13:29 -0400234 default 0x20680000 if SYS_LS_PPA_FW_IN_XIP && QSPI_BOOT && ARCH_LS2080A
235 default 0x580680000 if SYS_LS_PPA_FW_IN_XIP && ARCH_LS2080A
Sumit Garg666bbd02017-08-16 07:13:28 -0400236 default 0x680000 if SYS_LS_PPA_FW_IN_MMC
237 default 0x680000 if SYS_LS_PPA_FW_IN_NAND
Vinitha Pillai-B57223a4b3ded2017-03-23 13:48:14 +0530238 help
239 If the PPA header firmware locate at XIP flash, such as NOR or
240 QSPI flash, this address is a directly memory-mapped.
241 If it is in a serial accessed flash, such as NAND and SD
242 card, it is a byte offset.
243
Sumit Garg8fddf752017-04-20 05:09:11 +0530244config LS_PPA_ESBC_HDR_SIZE
245 hex "Length of PPA ESBC header"
246 depends on FSL_LS_PPA && CHAIN_OF_TRUST && !SYS_LS_PPA_FW_IN_XIP
247 default 0x2000
248 help
249 Length (in bytes) of PPA ESBC header to be copied from MMC/SD or
250 NAND to memory to validate PPA image.
251
macro.wave.z@gmail.comec2d7ed2016-12-08 11:58:21 +0800252endmenu
253
Ran Wangb358b7b2017-09-04 18:46:48 +0800254config SYS_FSL_ERRATUM_A009008
255 bool "Workaround for USB PHY erratum A009008"
256
York Sun149eb332016-09-26 08:09:27 -0700257config SYS_FSL_ERRATUM_A010315
258 bool "Workaround for PCIe erratum A010315"
Hou Zhiqiangc06b30a2016-09-29 12:42:44 +0800259
260config SYS_FSL_ERRATUM_A010539
261 bool "Workaround for PIN MUX erratum A010539"
York Sun4dd8c612016-10-04 14:31:48 -0700262
York Sunf188d222016-10-04 14:45:01 -0700263config MAX_CPUS
264 int "Maximum number of CPUs permitted for Layerscape"
265 default 4 if ARCH_LS1043A
266 default 4 if ARCH_LS1046A
267 default 16 if ARCH_LS2080A
Ashish Kumarb25faa22017-08-31 16:12:53 +0530268 default 8 if ARCH_LS1088A
York Sunf188d222016-10-04 14:45:01 -0700269 default 1
270 help
271 Set this number to the maximum number of possible CPUs in the SoC.
272 SoCs may have multiple clusters with each cluster may have multiple
273 ports. If some ports are reserved but higher ports are used for
274 cores, count the reserved ports. This will allocate enough memory
275 in spin table to properly handle all cores.
276
York Sun728e7002016-12-02 09:32:35 -0800277config SECURE_BOOT
York Sun8a3d8ed2017-01-04 10:32:08 -0800278 bool "Secure Boot"
York Sun728e7002016-12-02 09:32:35 -0800279 help
280 Enable Freescale Secure Boot feature
281
Yuan Yao52ae4fd2016-12-01 10:13:52 +0800282config QSPI_AHB_INIT
283 bool "Init the QSPI AHB bus"
284 help
285 The default setting for QSPI AHB bus just support 3bytes addressing.
286 But some QSPI flash size up to 64MBytes, so initialize the QSPI AHB
287 bus for those flashes to support the full QSPI flash size.
288
Ashish Kumar11234062017-08-11 11:09:14 +0530289config SYS_CCI400_OFFSET
290 hex "Offset for CCI400 base"
291 depends on SYS_FSL_HAS_CCI400
292 default 0x3090000 if ARCH_LS1088A
293 default 0x180000 if FSL_LSCH2
294 help
295 Offset for CCI400 base
296 CCI400 base addr = CCSRBAR + CCI400_OFFSET
297
York Sune7310a32016-10-04 14:45:54 -0700298config SYS_FSL_IFC_BANK_COUNT
299 int "Maximum banks of Integrated flash controller"
Ashish Kumarb25faa22017-08-31 16:12:53 +0530300 depends on ARCH_LS1043A || ARCH_LS1046A || ARCH_LS2080A || ARCH_LS1088A
York Sune7310a32016-10-04 14:45:54 -0700301 default 4 if ARCH_LS1043A
302 default 4 if ARCH_LS1046A
Ashish Kumarb25faa22017-08-31 16:12:53 +0530303 default 8 if ARCH_LS2080A || ARCH_LS1088A
York Sune7310a32016-10-04 14:45:54 -0700304
Ashish Kumar11234062017-08-11 11:09:14 +0530305config SYS_FSL_HAS_CCI400
306 bool
307
Ashish Kumar97393d62017-08-18 10:54:36 +0530308config SYS_FSL_HAS_CCN504
309 bool
310
York Sun0dc9abb2016-10-04 14:46:50 -0700311config SYS_FSL_HAS_DP_DDR
312 bool
313
York Sun6b62ef02016-10-04 18:01:34 -0700314config SYS_FSL_SRDS_1
315 bool
316
317config SYS_FSL_SRDS_2
318 bool
319
320config SYS_HAS_SERDES
321 bool
322
Ashish kumar76bd6ce2017-04-07 11:40:32 +0530323config FSL_TZASC_1
324 bool
325
326config FSL_TZASC_2
327 bool
328
York Sun4dd8c612016-10-04 14:31:48 -0700329endmenu
York Sun1dc61ca2016-12-28 08:43:41 -0800330
Hou Zhiqiang3f91cda2017-01-10 16:44:15 +0800331menu "Layerscape clock tree configuration"
332 depends on FSL_LSCH2 || FSL_LSCH3
333
334config SYS_FSL_CLK
335 bool "Enable clock tree initialization"
336 default y
337
338config CLUSTER_CLK_FREQ
339 int "Reference clock of core cluster"
340 depends on ARCH_LS1012A
341 default 100000000
342 help
343 This number is the reference clock frequency of core PLL.
344 For most platforms, the core PLL and Platform PLL have the same
345 reference clock, but for some platforms, LS1012A for instance,
346 they are provided sepatately.
347
348config SYS_FSL_PCLK_DIV
349 int "Platform clock divider"
350 default 1 if ARCH_LS1043A
351 default 1 if ARCH_LS1046A
Ashish Kumarb25faa22017-08-31 16:12:53 +0530352 default 1 if ARCH_LS1088A
Hou Zhiqiang3f91cda2017-01-10 16:44:15 +0800353 default 2
354 help
355 This is the divider that is used to derive Platform clock from
356 Platform PLL, in another word:
357 Platform_clk = Platform_PLL_freq / this_divider
358
359config SYS_FSL_DSPI_CLK_DIV
360 int "DSPI clock divider"
361 default 1 if ARCH_LS1043A
362 default 2
363 help
364 This is the divider that is used to derive DSPI clock from Platform
Hou Zhiqiang0c8fcb62017-07-03 18:37:11 +0800365 clock, in another word DSPI_clk = Platform_clk / this_divider.
Hou Zhiqiang3f91cda2017-01-10 16:44:15 +0800366
367config SYS_FSL_DUART_CLK_DIV
368 int "DUART clock divider"
369 default 1 if ARCH_LS1043A
370 default 2
371 help
372 This is the divider that is used to derive DUART clock from Platform
373 clock, in another word DUART_clk = Platform_clk / this_divider.
374
375config SYS_FSL_I2C_CLK_DIV
376 int "I2C clock divider"
377 default 1 if ARCH_LS1043A
378 default 2
379 help
380 This is the divider that is used to derive I2C clock from Platform
381 clock, in another word I2C_clk = Platform_clk / this_divider.
382
383config SYS_FSL_IFC_CLK_DIV
384 int "IFC clock divider"
385 default 1 if ARCH_LS1043A
386 default 2
387 help
388 This is the divider that is used to derive IFC clock from Platform
389 clock, in another word IFC_clk = Platform_clk / this_divider.
390
391config SYS_FSL_LPUART_CLK_DIV
392 int "LPUART clock divider"
393 default 1 if ARCH_LS1043A
394 default 2
395 help
396 This is the divider that is used to derive LPUART clock from Platform
397 clock, in another word LPUART_clk = Platform_clk / this_divider.
398
399config SYS_FSL_SDHC_CLK_DIV
400 int "SDHC clock divider"
401 default 1 if ARCH_LS1043A
402 default 1 if ARCH_LS1012A
403 default 2
404 help
405 This is the divider that is used to derive SDHC clock from Platform
406 clock, in another word SDHC_clk = Platform_clk / this_divider.
407endmenu
408
York Sund6964b32017-03-06 09:02:24 -0800409config RESV_RAM
410 bool
411 help
412 Reserve memory from the top, tracked by gd->arch.resv_ram. This
413 reserved RAM can be used by special driver that resides in memory
414 after U-Boot exits. It's up to implementation to allocate and allow
415 access to this reserved memory. For example, the reserved RAM can
416 be at the high end of physical memory. The reserve RAM may be
417 excluded from memory bank(s) passed to OS, or marked as reserved.
418
Ashish Kumarec455e22017-08-31 16:37:31 +0530419config SYS_FSL_EC1
420 bool
421 help
422 Ethernet controller 1, this is connected to MAC3.
423 Provides DPAA2 capabilities
424
425config SYS_FSL_EC2
426 bool
427 help
428 Ethernet controller 2, this is connected to MAC4.
429 Provides DPAA2 capabilities
430
York Sun1dc61ca2016-12-28 08:43:41 -0800431config SYS_FSL_ERRATUM_A008336
432 bool
433
434config SYS_FSL_ERRATUM_A008514
435 bool
436
437config SYS_FSL_ERRATUM_A008585
438 bool
439
440config SYS_FSL_ERRATUM_A008850
441 bool
442
Ashish kumar3b52a232017-02-23 16:03:57 +0530443config SYS_FSL_ERRATUM_A009203
444 bool
445
York Sun1dc61ca2016-12-28 08:43:41 -0800446config SYS_FSL_ERRATUM_A009635
447 bool
448
449config SYS_FSL_ERRATUM_A009660
450 bool
451
452config SYS_FSL_ERRATUM_A009929
453 bool
York Sun1a770752017-03-06 09:02:26 -0800454
Ashish Kumarec455e22017-08-31 16:37:31 +0530455
456config SYS_FSL_HAS_RGMII
457 bool
458 depends on SYS_FSL_EC1 || SYS_FSL_EC2
459
460
York Sun1a770752017-03-06 09:02:26 -0800461config SYS_MC_RSV_MEM_ALIGN
462 hex "Management Complex reserved memory alignment"
463 depends on RESV_RAM
Ashish Kumarb25faa22017-08-31 16:12:53 +0530464 default 0x20000000 if ARCH_LS2080A
465 default 0x70000000 if ARCH_LS1088A
York Sun1a770752017-03-06 09:02:26 -0800466 help
467 Reserved memory needs to be aligned for MC to use. Default value
468 is 512MB.
Philipp Tomsich2d6a0cc2017-08-03 23:23:55 +0200469
470config SPL_LDSCRIPT
471 default "arch/arm/cpu/armv8/u-boot-spl.lds" if ARCH_LS1043A || ARCH_LS1046A || ARCH_LS2080A