"arch/arm/cpu/armv8/arch/arm/cpu/armv8/fsl-layerscape" did not exist on "c4fddedc48f336eabc4ce3f74940e6aa372de18c"
Kconfig 16.2 KB
Newer Older
1
config ARCH_LS1012A
2
	bool
3
	select ARMV8_SET_SMPEN
4
	select ARM_ERRATA_855873 if !TFABOOT
5
	select FSL_LAYERSCAPE
6
	select FSL_LSCH2
7
8
	select SYS_FSL_SRDS_1
	select SYS_HAS_SERDES
9
	select SYS_FSL_DDR_BE
10
	select SYS_FSL_MMDC
11
	select SYS_FSL_ERRATUM_A010315
12
13
14
15
	select SYS_FSL_ERRATUM_A009798
	select SYS_FSL_ERRATUM_A008997
	select SYS_FSL_ERRATUM_A009007
	select SYS_FSL_ERRATUM_A009008
16
	select ARCH_EARLY_INIT_R
17
	select BOARD_EARLY_INIT_F
18
	select SYS_I2C_MXC
19
20
	select SYS_I2C_MXC_I2C1 if !DM_I2C
	select SYS_I2C_MXC_I2C2 if !DM_I2C
21
	imply PANIC_HANG
22

23
24
25
config ARCH_LS1028A
	bool
	select ARMV8_SET_SMPEN
26
	select FSL_LAYERSCAPE
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
	select FSL_LSCH3
	select NXP_LSCH3_2
	select SYS_FSL_HAS_CCI400
	select SYS_FSL_SRDS_1
	select SYS_HAS_SERDES
	select SYS_FSL_DDR
	select SYS_FSL_DDR_LE
	select SYS_FSL_DDR_VER_50
	select SYS_FSL_HAS_DDR3
	select SYS_FSL_HAS_DDR4
	select SYS_FSL_HAS_SEC
	select SYS_FSL_SEC_COMPAT_5
	select SYS_FSL_SEC_LE
	select FSL_TZASC_1
	select ARCH_EARLY_INIT_R
	select BOARD_EARLY_INIT_F
	select SYS_I2C_MXC
44
	select SYS_FSL_ERRATUM_A008997
45
46
47
48
	select SYS_FSL_ERRATUM_A009007
	select SYS_FSL_ERRATUM_A008514 if !TFABOOT
	select SYS_FSL_ERRATUM_A009663 if !TFABOOT
	select SYS_FSL_ERRATUM_A009942 if !TFABOOT
49
	select SYS_FSL_ERRATUM_A050382
50
	select RESV_RAM if GIC_V3_ITS
51
52
	imply PANIC_HANG

53
config ARCH_LS1043A
54
	bool
55
	select ARMV8_SET_SMPEN
56
	select ARM_ERRATA_855873 if !TFABOOT
57
	select FSL_LAYERSCAPE
58
	select FSL_LSCH2
59
60
	select SYS_FSL_SRDS_1
	select SYS_HAS_SERDES
61
	select SYS_FSL_DDR
62
63
	select SYS_FSL_DDR_BE
	select SYS_FSL_DDR_VER_50
64
	select SYS_FSL_ERRATUM_A008850 if !TFABOOT
65
	select SYS_FSL_ERRATUM_A008997
66
	select SYS_FSL_ERRATUM_A009007
67
	select SYS_FSL_ERRATUM_A009008
68
69
	select SYS_FSL_ERRATUM_A009660 if !TFABOOT
	select SYS_FSL_ERRATUM_A009663 if !TFABOOT
70
	select SYS_FSL_ERRATUM_A009798
71
	select SYS_FSL_ERRATUM_A009942 if !TFABOOT
72
	select SYS_FSL_ERRATUM_A010315
73
	select SYS_FSL_ERRATUM_A010539
74
75
	select SYS_FSL_HAS_DDR3
	select SYS_FSL_HAS_DDR4
76
	select ARCH_EARLY_INIT_R
77
	select BOARD_EARLY_INIT_F
78
	select SYS_I2C_MXC
79
80
81
82
	select SYS_I2C_MXC_I2C1 if !DM_I2C
	select SYS_I2C_MXC_I2C2 if !DM_I2C
	select SYS_I2C_MXC_I2C3 if !DM_I2C
	select SYS_I2C_MXC_I2C4 if !DM_I2C
83
	imply CMD_PCI
84

85
config ARCH_LS1046A
86
	bool
87
	select ARMV8_SET_SMPEN
88
	select FSL_LAYERSCAPE
89
	select FSL_LSCH2
90
91
	select SYS_FSL_SRDS_1
	select SYS_HAS_SERDES
92
	select SYS_FSL_DDR
93
94
	select SYS_FSL_DDR_BE
	select SYS_FSL_DDR_VER_50
95
96
97
	select SYS_FSL_ERRATUM_A008336 if !TFABOOT
	select SYS_FSL_ERRATUM_A008511 if !TFABOOT
	select SYS_FSL_ERRATUM_A008850 if !TFABOOT
98
	select SYS_FSL_ERRATUM_A008997
99
	select SYS_FSL_ERRATUM_A009007
100
	select SYS_FSL_ERRATUM_A009008
101
	select SYS_FSL_ERRATUM_A009798
102
	select SYS_FSL_ERRATUM_A009801
103
104
105
	select SYS_FSL_ERRATUM_A009803 if !TFABOOT
	select SYS_FSL_ERRATUM_A009942 if !TFABOOT
	select SYS_FSL_ERRATUM_A010165 if !TFABOOT
106
	select SYS_FSL_ERRATUM_A010539
107
	select SYS_FSL_HAS_DDR4
108
	select SYS_FSL_SRDS_2
109
	select ARCH_EARLY_INIT_R
110
	select BOARD_EARLY_INIT_F
111
	select SYS_I2C_MXC
112
113
114
115
	select SYS_I2C_MXC_I2C1 if !DM_I2C
	select SYS_I2C_MXC_I2C2 if !DM_I2C
	select SYS_I2C_MXC_I2C3 if !DM_I2C
	select SYS_I2C_MXC_I2C4 if !DM_I2C
Simon Glass's avatar
Simon Glass committed
116
	imply SCSI
117
	imply SCSI_AHCI
118

119
120
121
config ARCH_LS1088A
	bool
	select ARMV8_SET_SMPEN
122
	select ARM_ERRATA_855873 if !TFABOOT
123
	select FSL_LAYERSCAPE
124
	select FSL_LSCH3
125
126
	select SYS_FSL_SRDS_1
	select SYS_HAS_SERDES
127
128
129
	select SYS_FSL_DDR
	select SYS_FSL_DDR_LE
	select SYS_FSL_DDR_VER_50
130
131
	select SYS_FSL_EC1
	select SYS_FSL_EC2
132
133
134
135
136
	select SYS_FSL_ERRATUM_A009803 if !TFABOOT
	select SYS_FSL_ERRATUM_A009942 if !TFABOOT
	select SYS_FSL_ERRATUM_A010165 if !TFABOOT
	select SYS_FSL_ERRATUM_A008511 if !TFABOOT
	select SYS_FSL_ERRATUM_A008850 if !TFABOOT
137
	select SYS_FSL_ERRATUM_A009007
138
139
	select SYS_FSL_HAS_CCI400
	select SYS_FSL_HAS_DDR4
140
	select SYS_FSL_HAS_RGMII
141
142
143
144
145
146
	select SYS_FSL_HAS_SEC
	select SYS_FSL_SEC_COMPAT_5
	select SYS_FSL_SEC_LE
	select SYS_FSL_SRDS_1
	select SYS_FSL_SRDS_2
	select FSL_TZASC_1
147
148
	select FSL_TZASC_400
	select FSL_TZPC_BP147
149
150
	select ARCH_EARLY_INIT_R
	select BOARD_EARLY_INIT_F
151
	select SYS_I2C_MXC
152
153
154
155
	select SYS_I2C_MXC_I2C1 if !TFABOOT
	select SYS_I2C_MXC_I2C2 if !TFABOOT
	select SYS_I2C_MXC_I2C3 if !TFABOOT
	select SYS_I2C_MXC_I2C4 if !TFABOOT
156
	select RESV_RAM if GIC_V3_ITS
157
	imply SCSI
158
	imply PANIC_HANG
159

160
161
config ARCH_LS2080A
	bool
162
	select ARMV8_SET_SMPEN
Tom Rini's avatar
Tom Rini committed
163
164
165
166
	select ARM_ERRATA_826974
	select ARM_ERRATA_828024
	select ARM_ERRATA_829520
	select ARM_ERRATA_833471
167
	select FSL_LAYERSCAPE
168
	select FSL_LSCH3
169
170
	select SYS_FSL_SRDS_1
	select SYS_HAS_SERDES
171
	select SYS_FSL_DDR
172
173
	select SYS_FSL_DDR_LE
	select SYS_FSL_DDR_VER_50
174
	select SYS_FSL_HAS_CCN504
175
	select SYS_FSL_HAS_DP_DDR
176
	select SYS_FSL_HAS_SEC
177
	select SYS_FSL_HAS_DDR4
178
	select SYS_FSL_SEC_COMPAT_5
179
	select SYS_FSL_SEC_LE
180
	select SYS_FSL_SRDS_2
181
182
	select FSL_TZASC_1
	select FSL_TZASC_2
183
184
	select FSL_TZASC_400
	select FSL_TZPC_BP147
185
186
187
	select SYS_FSL_ERRATUM_A008336 if !TFABOOT
	select SYS_FSL_ERRATUM_A008511 if !TFABOOT
	select SYS_FSL_ERRATUM_A008514 if !TFABOOT
188
	select SYS_FSL_ERRATUM_A008585
189
	select SYS_FSL_ERRATUM_A008997
190
	select SYS_FSL_ERRATUM_A009007
191
	select SYS_FSL_ERRATUM_A009008
192
	select SYS_FSL_ERRATUM_A009635
193
	select SYS_FSL_ERRATUM_A009663 if !TFABOOT
194
	select SYS_FSL_ERRATUM_A009798
195
	select SYS_FSL_ERRATUM_A009801
196
197
198
	select SYS_FSL_ERRATUM_A009803 if !TFABOOT
	select SYS_FSL_ERRATUM_A009942 if !TFABOOT
	select SYS_FSL_ERRATUM_A010165 if !TFABOOT
199
	select SYS_FSL_ERRATUM_A009203
200
	select ARCH_EARLY_INIT_R
201
	select BOARD_EARLY_INIT_F
202
	select SYS_I2C_MXC
203
204
205
206
	select SYS_I2C_MXC_I2C1 if !TFABOOT
	select SYS_I2C_MXC_I2C2 if !TFABOOT
	select SYS_I2C_MXC_I2C3 if !TFABOOT
	select SYS_I2C_MXC_I2C4 if !TFABOOT
207
	select RESV_RAM if GIC_V3_ITS
208
	imply DISTRO_DEFAULTS
209
	imply PANIC_HANG
210

211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
config ARCH_LX2162A
	bool
	select ARMV8_SET_SMPEN
	select FSL_LSCH3
	select NXP_LSCH3_2
	select SYS_HAS_SERDES
	select SYS_FSL_SRDS_1
	select SYS_FSL_SRDS_2
	select SYS_FSL_DDR
	select SYS_FSL_DDR_LE
	select SYS_FSL_DDR_VER_50
	select SYS_FSL_EC1
	select SYS_FSL_EC2
	select SYS_FSL_ERRATUM_A050106
	select SYS_FSL_HAS_RGMII
	select SYS_FSL_HAS_SEC
	select SYS_FSL_HAS_CCN508
	select SYS_FSL_HAS_DDR4
	select SYS_FSL_SEC_COMPAT_5
	select SYS_FSL_SEC_LE
	select ARCH_EARLY_INIT_R
	select BOARD_EARLY_INIT_F
	select SYS_I2C_MXC
	select RESV_RAM if GIC_V3_ITS
	imply DISTRO_DEFAULTS
	imply PANIC_HANG
	imply SCSI
	imply SCSI_AHCI

240
241
242
243
244
245
246
247
248
249
250
251
252
253
config ARCH_LX2160A
	bool
	select ARMV8_SET_SMPEN
	select FSL_LSCH3
	select NXP_LSCH3_2
	select SYS_HAS_SERDES
	select SYS_FSL_SRDS_1
	select SYS_FSL_SRDS_2
	select SYS_NXP_SRDS_3
	select SYS_FSL_DDR
	select SYS_FSL_DDR_LE
	select SYS_FSL_DDR_VER_50
	select SYS_FSL_EC1
	select SYS_FSL_EC2
254
	select SYS_FSL_ERRATUM_A050106
255
256
257
258
259
260
261
262
263
	select SYS_FSL_HAS_RGMII
	select SYS_FSL_HAS_SEC
	select SYS_FSL_HAS_CCN508
	select SYS_FSL_HAS_DDR4
	select SYS_FSL_SEC_COMPAT_5
	select SYS_FSL_SEC_LE
	select ARCH_EARLY_INIT_R
	select BOARD_EARLY_INIT_F
	select SYS_I2C_MXC
264
	select RESV_RAM if GIC_V3_ITS
265
266
267
268
269
	imply DISTRO_DEFAULTS
	imply PANIC_HANG
	imply SCSI
	imply SCSI_AHCI

270
271
config FSL_LSCH2
	bool
272
	select SYS_FSL_HAS_CCI400
273
274
	select SYS_FSL_HAS_SEC
	select SYS_FSL_SEC_COMPAT_5
275
	select SYS_FSL_SEC_BE
276
277

config FSL_LSCH3
278
	select ARCH_MISC_INIT
279
280
	bool

281
282
283
config NXP_LSCH3_2
	bool

284
285
menu "Layerscape architecture"
	depends on FSL_LSCH2 || FSL_LSCH3
286

287
288
289
config FSL_LAYERSCAPE
	bool

290
291
292
293
config HAS_FEATURE_GIC64K_ALIGN
	bool
	default y if ARCH_LS1043A

294
295
296
config HAS_FEATURE_ENHANCED_MSI
	bool
	default y if ARCH_LS1043A
297

298
299
300
menu "Layerscape PPA"
config FSL_LS_PPA
	bool "FSL Layerscape PPA firmware support"
301
	depends on !ARMV8_PSCI
302
	select ARMV8_SEC_FIRMWARE_SUPPORT
303
	select SEC_FIRMWARE_ARMV8_PSCI
304
	select ARMV8_SEC_FIRMWARE_ERET_ADDR_REVERT if FSL_LSCH2
305
306
307
308
309
	help
	  The FSL Primary Protected Application (PPA) is a software component
	  which is loaded during boot stage, and then remains resident in RAM
	  and runs in the TrustZone after boot.
	  Say y to enable it.
310
311
312
313
314
315
316
317
318
319
320
321
322

config SPL_FSL_LS_PPA
	bool "FSL Layerscape PPA firmware support for SPL build"
	depends on !ARMV8_PSCI
	select SPL_ARMV8_SEC_FIRMWARE_SUPPORT
	select SEC_FIRMWARE_ARMV8_PSCI
	select ARMV8_SEC_FIRMWARE_ERET_ADDR_REVERT if FSL_LSCH2
	help
	  The FSL Primary Protected Application (PPA) is a software component
	  which is loaded during boot stage, and then remains resident in RAM
	  and runs in the TrustZone after boot. This is to load PPA during SPL
	  stage instead of the RAM version of U-Boot. Once PPA is initialized,
	  the rest of U-Boot (including RAM version) runs at EL2.
323
324
325
choice
	prompt "FSL Layerscape PPA firmware loading-media select"
	depends on FSL_LS_PPA
326
327
	default SYS_LS_PPA_FW_IN_MMC if SD_BOOT
	default SYS_LS_PPA_FW_IN_NAND if NAND_BOOT
328
329
330
331
332
333
334
335
	default SYS_LS_PPA_FW_IN_XIP

config SYS_LS_PPA_FW_IN_XIP
	bool "XIP"
	help
	  Say Y here if the PPA firmware locate at XIP flash, such
	  as NOR or QSPI flash.

336
337
338
339
340
341
342
343
344
345
config SYS_LS_PPA_FW_IN_MMC
	bool "eMMC or SD Card"
	help
	  Say Y here if the PPA firmware locate at eMMC/SD card.

config SYS_LS_PPA_FW_IN_NAND
	bool "NAND"
	help
	  Say Y here if the PPA firmware locate at NAND flash.

346
347
endchoice

348
349
350
351
352
353
354
355
config LS_PPA_ESBC_HDR_SIZE
	hex "Length of PPA ESBC header"
	depends on FSL_LS_PPA && CHAIN_OF_TRUST && !SYS_LS_PPA_FW_IN_XIP
	default 0x2000
	help
	  Length (in bytes) of PPA ESBC header to be copied from MMC/SD or
	  NAND to memory to validate PPA image.

356
357
endmenu

358
359
360
config SYS_FSL_ERRATUM_A008997
	bool "Workaround for USB PHY erratum A008997"

361
362
363
364
365
config SYS_FSL_ERRATUM_A009007
	bool
	help
	  Workaround for USB PHY erratum A009007

366
367
368
config SYS_FSL_ERRATUM_A009008
	bool "Workaround for USB PHY erratum A009008"

369
370
371
config SYS_FSL_ERRATUM_A009798
	bool "Workaround for USB PHY erratum A009798"

372
373
374
375
376
config SYS_FSL_ERRATUM_A050106
	bool "Workaround for USB PHY erratum A050106"
	help
	  USB3.0 Receiver needs to enable fixed equalization
	  for each of PHY instances in an SOC. This is similar
377
	  to erratum A-009007, but this one is for LX2160A and LX2162A,
378
379
	  and the register value is different.

380
381
config SYS_FSL_ERRATUM_A010315
	bool "Workaround for PCIe erratum A010315"
382
383
384

config SYS_FSL_ERRATUM_A010539
	bool "Workaround for PIN MUX erratum A010539"
385

York Sun's avatar
York Sun committed
386
387
config MAX_CPUS
	int "Maximum number of CPUs permitted for Layerscape"
388
	default 2 if ARCH_LS1028A
York Sun's avatar
York Sun committed
389
390
391
	default 4 if ARCH_LS1043A
	default 4 if ARCH_LS1046A
	default 16 if ARCH_LS2080A
392
	default 8 if ARCH_LS1088A
393
	default 16 if ARCH_LX2160A
394
	default 16 if ARCH_LX2162A
York Sun's avatar
York Sun committed
395
396
397
398
399
400
401
402
	default 1
	help
	  Set this number to the maximum number of possible CPUs in the SoC.
	  SoCs may have multiple clusters with each cluster may have multiple
	  ports. If some ports are reserved but higher ports are used for
	  cores, count the reserved ports. This will allocate enough memory
	  in spin table to properly handle all cores.

403
404
405
406
407
408
config EMC2305
	bool "Fan controller"
	help
	 Enable the EMC2305 fan controller for configuration of fan
	 speed.

409
410
config NXP_ESBC
	bool "NXP_ESBC"
411
412
413
	help
		Enable Freescale Secure Boot feature

414
415
416
417
418
419
420
config QSPI_AHB_INIT
	bool "Init the QSPI AHB bus"
	help
	  The default setting for QSPI AHB bus just support 3bytes addressing.
	  But some QSPI flash size up to 64MBytes, so initialize the QSPI AHB
	  bus for those flashes to support the full QSPI flash size.

421
422
423
424
425
426
427
428
429
config FSPI_AHB_EN_4BYTE
	bool "Enable 4-byte Fast Read command for AHB mode"
	default n
	help
	  The default setting for FlexSPI AHB bus just supports 3-byte addressing.
	  But some FlexSPI flash sizes are up to 64MBytes.
	  This flag enables fast read command for AHB mode and modifies required
	  LUT to support full FlexSPI flash.

430
431
432
config SYS_CCI400_OFFSET
	hex "Offset for CCI400 base"
	depends on SYS_FSL_HAS_CCI400
433
	default 0x3090000 if ARCH_LS1088A || ARCH_LS1028A
434
435
436
437
438
	default 0x180000 if FSL_LSCH2
	help
	  Offset for CCI400 base
	  CCI400 base addr = CCSRBAR + CCI400_OFFSET

439
440
config SYS_FSL_IFC_BANK_COUNT
	int "Maximum banks of Integrated flash controller"
441
	depends on ARCH_LS1043A || ARCH_LS1046A || ARCH_LS2080A || ARCH_LS1088A
442
443
	default 4 if ARCH_LS1043A
	default 4 if ARCH_LS1046A
444
	default 8 if ARCH_LS2080A || ARCH_LS1088A
445

446
447
448
config SYS_FSL_HAS_CCI400
	bool

449
450
451
config SYS_FSL_HAS_CCN504
	bool

452
453
454
config SYS_FSL_HAS_CCN508
	bool

455
456
457
config SYS_FSL_HAS_DP_DDR
	bool

458
459
460
461
462
463
config SYS_FSL_SRDS_1
	bool

config SYS_FSL_SRDS_2
	bool

464
465
466
config SYS_NXP_SRDS_3
	bool

467
468
469
config SYS_HAS_SERDES
	bool

470
471
472
473
474
475
config FSL_TZASC_1
	bool

config FSL_TZASC_2
	bool

476
477
478
479
480
config FSL_TZASC_400
	bool

config FSL_TZPC_BP147
	bool
481
endmenu
482

483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
menu "Layerscape clock tree configuration"
	depends on FSL_LSCH2 || FSL_LSCH3

config SYS_FSL_CLK
	bool "Enable clock tree initialization"
	default y

config CLUSTER_CLK_FREQ
	int "Reference clock of core cluster"
	depends on ARCH_LS1012A
	default 100000000
	help
	  This number is the reference clock frequency of core PLL.
	  For most platforms, the core PLL and Platform PLL have the same
	  reference clock, but for some platforms, LS1012A for instance,
	  they are provided sepatately.

config SYS_FSL_PCLK_DIV
	int "Platform clock divider"
502
	default 1 if ARCH_LS1028A
503
504
	default 1 if ARCH_LS1043A
	default 1 if ARCH_LS1046A
505
	default 1 if ARCH_LS1088A
506
507
508
509
510
511
512
513
514
515
516
517
	default 2
	help
	  This is the divider that is used to derive Platform clock from
	  Platform PLL, in another word:
		Platform_clk = Platform_PLL_freq / this_divider

config SYS_FSL_DSPI_CLK_DIV
	int "DSPI clock divider"
	default 1 if ARCH_LS1043A
	default 2
	help
	  This is the divider that is used to derive DSPI clock from Platform
518
	  clock, in another word DSPI_clk = Platform_clk / this_divider.
519
520
521
522

config SYS_FSL_DUART_CLK_DIV
	int "DUART clock divider"
	default 1 if ARCH_LS1043A
523
	default 4 if ARCH_LX2160A
524
	default 4 if ARCH_LX2162A
525
526
527
528
529
530
531
532
	default 2
	help
	  This is the divider that is used to derive DUART clock from Platform
	  clock, in another word DUART_clk = Platform_clk / this_divider.

config SYS_FSL_I2C_CLK_DIV
	int "I2C clock divider"
	default 1 if ARCH_LS1043A
533
534
535
	default 4 if ARCH_LS1012A
	default 4 if ARCH_LS1028A
	default 8 if ARCH_LX2160A
536
	default 8 if ARCH_LX2162A
537
	default 8 if ARCH_LS1088A
538
539
540
541
542
543
544
545
	default 2
	help
	  This is the divider that is used to derive I2C clock from Platform
	  clock, in another word I2C_clk = Platform_clk / this_divider.

config SYS_FSL_IFC_CLK_DIV
	int "IFC clock divider"
	default 1 if ARCH_LS1043A
546
547
548
	default 4 if ARCH_LS1012A
	default 4 if ARCH_LS1028A
	default 8 if ARCH_LX2160A
549
	default 8 if ARCH_LX2162A
550
	default 8 if ARCH_LS1088A
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
	default 2
	help
	  This is the divider that is used to derive IFC clock from Platform
	  clock, in another word IFC_clk = Platform_clk / this_divider.

config SYS_FSL_LPUART_CLK_DIV
	int "LPUART clock divider"
	default 1 if ARCH_LS1043A
	default 2
	help
	  This is the divider that is used to derive LPUART clock from Platform
	  clock, in another word LPUART_clk = Platform_clk / this_divider.

config SYS_FSL_SDHC_CLK_DIV
	int "SDHC clock divider"
	default 1 if ARCH_LS1043A
	default 1 if ARCH_LS1012A
	default 2
	help
	  This is the divider that is used to derive SDHC clock from Platform
	  clock, in another word SDHC_clk = Platform_clk / this_divider.
572
573
574
575
576
577
578
579

config SYS_FSL_QMAN_CLK_DIV
	int "QMAN clock divider"
	default 1 if ARCH_LS1043A
	default 2
	help
	  This is the divider that is used to derive QMAN clock from Platform
	  clock, in another word QMAN_clk = Platform_clk / this_divider.
580
581
endmenu

York Sun's avatar
York Sun committed
582
583
584
585
586
587
588
589
590
591
config RESV_RAM
	bool
	help
	  Reserve memory from the top, tracked by gd->arch.resv_ram. This
	  reserved RAM can be used by special driver that resides in memory
	  after U-Boot exits. It's up to implementation to allocate and allow
	  access to this reserved memory. For example, the reserved RAM can
	  be at the high end of physical memory. The reserve RAM may be
	  excluded from memory bank(s) passed to OS, or marked as reserved.

592
593
594
config SYS_FSL_EC1
	bool
	help
595
	  Ethernet controller 1, this is connected to
596
	  MAC17 for LX2160A and LX2162A or to MAC3 for other SoCs
597
598
599
600
601
	  Provides DPAA2 capabilities

config SYS_FSL_EC2
	bool
	help
602
	  Ethernet controller 2, this is connected to
603
	  MAC18 for LX2160A and LX2162A or to MAC4 for other SoCs
604
605
	  Provides DPAA2 capabilities

606
607
608
609
610
611
612
613
614
615
616
617
config SYS_FSL_ERRATUM_A008336
	bool

config SYS_FSL_ERRATUM_A008514
	bool

config SYS_FSL_ERRATUM_A008585
	bool

config SYS_FSL_ERRATUM_A008850
	bool

618
619
620
config SYS_FSL_ERRATUM_A009203
	bool

621
622
623
624
625
626
config SYS_FSL_ERRATUM_A009635
	bool

config SYS_FSL_ERRATUM_A009660
	bool

627
628
config SYS_FSL_ERRATUM_A050382
	bool
629
630
631
632
633

config SYS_FSL_HAS_RGMII
	bool
	depends on SYS_FSL_EC1 || SYS_FSL_EC2

634
635
config SPL_LDSCRIPT
	default "arch/arm/cpu/armv8/u-boot-spl.lds" if ARCH_LS1043A || ARCH_LS1046A || ARCH_LS2080A
636
637
638
639
640
641
642

config HAS_FSL_XHCI_USB
	bool
	default y if ARCH_LS1043A || ARCH_LS1046A
	help
	  For some SoC(such as LS1043A and LS1046A), USB and QE-HDLC multiplex use
	  pins, select it when the pins are assigned to USB.