blob: 66bc32cc85113aec1b9b3d8b19bd6721dbed37d7 [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
Ran Wang02dc77b2017-11-13 16:14:48 +08008 select SYS_FSL_ERRATUM_A009798
9 select SYS_FSL_ERRATUM_A008997
10 select SYS_FSL_ERRATUM_A009007
11 select SYS_FSL_ERRATUM_A009008
Simon Glass62adede2017-01-23 13:31:19 -070012 select ARCH_EARLY_INIT_R
Simon Glass7a99a872017-01-23 13:31:20 -070013 select BOARD_EARLY_INIT_F
York Sun149eb332016-09-26 08:09:27 -070014
15config ARCH_LS1043A
York Sunfcd0e742016-10-04 14:31:47 -070016 bool
Hou Zhiqiang4d1525a2017-01-06 17:41:11 +080017 select ARMV8_SET_SMPEN
York Sun4dd8c612016-10-04 14:31:48 -070018 select FSL_LSCH2
York Sund297d392016-12-28 08:43:40 -080019 select SYS_FSL_DDR
York Sunb6fffd82016-10-04 18:03:08 -070020 select SYS_FSL_DDR_BE
21 select SYS_FSL_DDR_VER_50
York Sun1dc61ca2016-12-28 08:43:41 -080022 select SYS_FSL_ERRATUM_A008850
Ran Wange64f7472017-09-04 18:46:50 +080023 select SYS_FSL_ERRATUM_A008997
Ran Wang3ba69482017-09-04 18:46:51 +080024 select SYS_FSL_ERRATUM_A009007
Ran Wangb358b7b2017-09-04 18:46:48 +080025 select SYS_FSL_ERRATUM_A009008
York Sun1dc61ca2016-12-28 08:43:41 -080026 select SYS_FSL_ERRATUM_A009660
27 select SYS_FSL_ERRATUM_A009663
Ran Wang9e8fabc2017-09-04 18:46:49 +080028 select SYS_FSL_ERRATUM_A009798
York Sun1dc61ca2016-12-28 08:43:41 -080029 select SYS_FSL_ERRATUM_A009929
30 select SYS_FSL_ERRATUM_A009942
York Sun149eb332016-09-26 08:09:27 -070031 select SYS_FSL_ERRATUM_A010315
Hou Zhiqiangc06b30a2016-09-29 12:42:44 +080032 select SYS_FSL_ERRATUM_A010539
York Sund297d392016-12-28 08:43:40 -080033 select SYS_FSL_HAS_DDR3
34 select SYS_FSL_HAS_DDR4
Simon Glass62adede2017-01-23 13:31:19 -070035 select ARCH_EARLY_INIT_R
Simon Glass7a99a872017-01-23 13:31:20 -070036 select BOARD_EARLY_INIT_F
Simon Glass0e5faf02017-06-14 21:28:21 -060037 imply SCSI
Tuomas Tynkkynenedf9f622017-12-08 15:36:19 +020038 imply SCSI_AHCI
Simon Glassc88a09a2017-08-04 16:34:34 -060039 imply CMD_PCI
York Sunb3d71642016-09-26 08:09:26 -070040
York Sunbad49842016-09-26 08:09:24 -070041config ARCH_LS1046A
York Sunfcd0e742016-10-04 14:31:47 -070042 bool
Hou Zhiqiang4d1525a2017-01-06 17:41:11 +080043 select ARMV8_SET_SMPEN
York Sun4dd8c612016-10-04 14:31:48 -070044 select FSL_LSCH2
York Sund297d392016-12-28 08:43:40 -080045 select SYS_FSL_DDR
York Sunb6fffd82016-10-04 18:03:08 -070046 select SYS_FSL_DDR_BE
York Sunb6fffd82016-10-04 18:03:08 -070047 select SYS_FSL_DDR_VER_50
York Sunf195cf72017-01-27 09:57:31 -080048 select SYS_FSL_ERRATUM_A008336
York Sun1dc61ca2016-12-28 08:43:41 -080049 select SYS_FSL_ERRATUM_A008511
Shengzhou Liua7c37c62017-03-23 18:14:40 +080050 select SYS_FSL_ERRATUM_A008850
Ran Wange64f7472017-09-04 18:46:50 +080051 select SYS_FSL_ERRATUM_A008997
Ran Wang3ba69482017-09-04 18:46:51 +080052 select SYS_FSL_ERRATUM_A009007
Ran Wangb358b7b2017-09-04 18:46:48 +080053 select SYS_FSL_ERRATUM_A009008
Ran Wang9e8fabc2017-09-04 18:46:49 +080054 select SYS_FSL_ERRATUM_A009798
York Sun1dc61ca2016-12-28 08:43:41 -080055 select SYS_FSL_ERRATUM_A009801
56 select SYS_FSL_ERRATUM_A009803
57 select SYS_FSL_ERRATUM_A009942
58 select SYS_FSL_ERRATUM_A010165
Hou Zhiqiangc06b30a2016-09-29 12:42:44 +080059 select SYS_FSL_ERRATUM_A010539
York Sund297d392016-12-28 08:43:40 -080060 select SYS_FSL_HAS_DDR4
York Sun6b62ef02016-10-04 18:01:34 -070061 select SYS_FSL_SRDS_2
Simon Glass62adede2017-01-23 13:31:19 -070062 select ARCH_EARLY_INIT_R
Simon Glass7a99a872017-01-23 13:31:20 -070063 select BOARD_EARLY_INIT_F
Simon Glass0e5faf02017-06-14 21:28:21 -060064 imply SCSI
Tuomas Tynkkynenedf9f622017-12-08 15:36:19 +020065 imply SCSI_AHCI
York Sunb3d71642016-09-26 08:09:26 -070066
Ashish Kumarb25faa22017-08-31 16:12:53 +053067config ARCH_LS1088A
68 bool
69 select ARMV8_SET_SMPEN
70 select FSL_LSCH3
71 select SYS_FSL_DDR
72 select SYS_FSL_DDR_LE
73 select SYS_FSL_DDR_VER_50
Ashish Kumarec455e22017-08-31 16:37:31 +053074 select SYS_FSL_EC1
75 select SYS_FSL_EC2
Ashish Kumarb25faa22017-08-31 16:12:53 +053076 select SYS_FSL_ERRATUM_A009803
77 select SYS_FSL_ERRATUM_A009942
78 select SYS_FSL_ERRATUM_A010165
79 select SYS_FSL_ERRATUM_A008511
80 select SYS_FSL_ERRATUM_A008850
Ran Wangef277072017-09-22 15:21:34 +080081 select SYS_FSL_ERRATUM_A009007
Ashish Kumarb25faa22017-08-31 16:12:53 +053082 select SYS_FSL_HAS_CCI400
83 select SYS_FSL_HAS_DDR4
Ashish Kumarec455e22017-08-31 16:37:31 +053084 select SYS_FSL_HAS_RGMII
Ashish Kumarb25faa22017-08-31 16:12:53 +053085 select SYS_FSL_HAS_SEC
86 select SYS_FSL_SEC_COMPAT_5
87 select SYS_FSL_SEC_LE
88 select SYS_FSL_SRDS_1
89 select SYS_FSL_SRDS_2
90 select FSL_TZASC_1
91 select ARCH_EARLY_INIT_R
92 select BOARD_EARLY_INIT_F
Ashish Kumara179e562017-11-02 09:50:47 +053093 imply SCSI
Ashish Kumarb25faa22017-08-31 16:12:53 +053094
York Sunfcd0e742016-10-04 14:31:47 -070095config ARCH_LS2080A
96 bool
Hou Zhiqiang4d1525a2017-01-06 17:41:11 +080097 select ARMV8_SET_SMPEN
Tom Rinibacb52c2017-03-07 07:13:42 -050098 select ARM_ERRATA_826974
99 select ARM_ERRATA_828024
100 select ARM_ERRATA_829520
101 select ARM_ERRATA_833471
York Sun4dd8c612016-10-04 14:31:48 -0700102 select FSL_LSCH3
York Sund297d392016-12-28 08:43:40 -0800103 select SYS_FSL_DDR
York Sunb6fffd82016-10-04 18:03:08 -0700104 select SYS_FSL_DDR_LE
105 select SYS_FSL_DDR_VER_50
Ashish Kumar97393d62017-08-18 10:54:36 +0530106 select SYS_FSL_HAS_CCN504
York Sun6b62ef02016-10-04 18:01:34 -0700107 select SYS_FSL_HAS_DP_DDR
York Sun92c36e22016-12-28 08:43:30 -0800108 select SYS_FSL_HAS_SEC
York Sund297d392016-12-28 08:43:40 -0800109 select SYS_FSL_HAS_DDR4
York Sun92c36e22016-12-28 08:43:30 -0800110 select SYS_FSL_SEC_COMPAT_5
York Sunfa4199422016-12-28 08:43:31 -0800111 select SYS_FSL_SEC_LE
York Sun6b62ef02016-10-04 18:01:34 -0700112 select SYS_FSL_SRDS_2
Ashish kumar76bd6ce2017-04-07 11:40:32 +0530113 select FSL_TZASC_1
114 select FSL_TZASC_2
York Sun1dc61ca2016-12-28 08:43:41 -0800115 select SYS_FSL_ERRATUM_A008336
116 select SYS_FSL_ERRATUM_A008511
117 select SYS_FSL_ERRATUM_A008514
118 select SYS_FSL_ERRATUM_A008585
Ran Wange64f7472017-09-04 18:46:50 +0800119 select SYS_FSL_ERRATUM_A008997
Ran Wang3ba69482017-09-04 18:46:51 +0800120 select SYS_FSL_ERRATUM_A009007
Ran Wangb358b7b2017-09-04 18:46:48 +0800121 select SYS_FSL_ERRATUM_A009008
York Sun1dc61ca2016-12-28 08:43:41 -0800122 select SYS_FSL_ERRATUM_A009635
123 select SYS_FSL_ERRATUM_A009663
Ran Wang9e8fabc2017-09-04 18:46:49 +0800124 select SYS_FSL_ERRATUM_A009798
York Sun1dc61ca2016-12-28 08:43:41 -0800125 select SYS_FSL_ERRATUM_A009801
126 select SYS_FSL_ERRATUM_A009803
127 select SYS_FSL_ERRATUM_A009942
128 select SYS_FSL_ERRATUM_A010165
Ashish kumar3b52a232017-02-23 16:03:57 +0530129 select SYS_FSL_ERRATUM_A009203
Simon Glass62adede2017-01-23 13:31:19 -0700130 select ARCH_EARLY_INIT_R
Simon Glass7a99a872017-01-23 13:31:20 -0700131 select BOARD_EARLY_INIT_F
York Sun4dd8c612016-10-04 14:31:48 -0700132
133config FSL_LSCH2
134 bool
Ashish Kumar11234062017-08-11 11:09:14 +0530135 select SYS_FSL_HAS_CCI400
York Sun92c36e22016-12-28 08:43:30 -0800136 select SYS_FSL_HAS_SEC
137 select SYS_FSL_SEC_COMPAT_5
York Sunfa4199422016-12-28 08:43:31 -0800138 select SYS_FSL_SEC_BE
York Sun6b62ef02016-10-04 18:01:34 -0700139 select SYS_FSL_SRDS_1
140 select SYS_HAS_SERDES
York Sun4dd8c612016-10-04 14:31:48 -0700141
142config FSL_LSCH3
143 bool
York Sun6b62ef02016-10-04 18:01:34 -0700144 select SYS_FSL_SRDS_1
145 select SYS_HAS_SERDES
York Sun4dd8c612016-10-04 14:31:48 -0700146
York Sun6c089742017-03-06 09:02:25 -0800147config FSL_MC_ENET
148 bool "Management Complex network"
Ashish Kumarb25faa22017-08-31 16:12:53 +0530149 depends on ARCH_LS2080A || ARCH_LS1088A
York Sun6c089742017-03-06 09:02:25 -0800150 default y
151 select RESV_RAM
152 help
153 Enable Management Complex (MC) network
154
York Sun4dd8c612016-10-04 14:31:48 -0700155menu "Layerscape architecture"
156 depends on FSL_LSCH2 || FSL_LSCH3
York Sunfcd0e742016-10-04 14:31:47 -0700157
Hou Zhiqiangd553bf22016-12-13 14:54:24 +0800158config FSL_PCIE_COMPAT
159 string "PCIe compatible of Kernel DT"
160 depends on PCIE_LAYERSCAPE
161 default "fsl,ls1012a-pcie" if ARCH_LS1012A
162 default "fsl,ls1043a-pcie" if ARCH_LS1043A
163 default "fsl,ls1046a-pcie" if ARCH_LS1046A
164 default "fsl,ls2080a-pcie" if ARCH_LS2080A
Ashish Kumarb25faa22017-08-31 16:12:53 +0530165 default "fsl,ls1088a-pcie" if ARCH_LS1088A
Hou Zhiqiangd553bf22016-12-13 14:54:24 +0800166 help
167 This compatible is used to find pci controller node in Kernel DT
168 to complete fixup.
169
Wenbin Songa8f57a92017-01-17 18:31:15 +0800170config HAS_FEATURE_GIC64K_ALIGN
171 bool
172 default y if ARCH_LS1043A
173
Wenbin Songc6bc7c02017-01-17 18:31:16 +0800174config HAS_FEATURE_ENHANCED_MSI
175 bool
176 default y if ARCH_LS1043A
Wenbin Songa8f57a92017-01-17 18:31:15 +0800177
macro.wave.z@gmail.comec2d7ed2016-12-08 11:58:21 +0800178menu "Layerscape PPA"
179config FSL_LS_PPA
180 bool "FSL Layerscape PPA firmware support"
macro.wave.z@gmail.com01bd3342016-12-08 11:58:22 +0800181 depends on !ARMV8_PSCI
Hou Zhiqiangbff56d52017-01-16 17:31:49 +0800182 select ARMV8_SEC_FIRMWARE_SUPPORT
Hou Zhiqiang6be115d2017-01-16 17:31:48 +0800183 select SEC_FIRMWARE_ARMV8_PSCI
Hou Zhiqiangbff56d52017-01-16 17:31:49 +0800184 select ARMV8_SEC_FIRMWARE_ERET_ADDR_REVERT if FSL_LSCH2
macro.wave.z@gmail.comec2d7ed2016-12-08 11:58:21 +0800185 help
186 The FSL Primary Protected Application (PPA) is a software component
187 which is loaded during boot stage, and then remains resident in RAM
188 and runs in the TrustZone after boot.
189 Say y to enable it.
York Sunf2aaf842017-05-15 08:52:00 -0700190
191config SPL_FSL_LS_PPA
192 bool "FSL Layerscape PPA firmware support for SPL build"
193 depends on !ARMV8_PSCI
194 select SPL_ARMV8_SEC_FIRMWARE_SUPPORT
195 select SEC_FIRMWARE_ARMV8_PSCI
196 select ARMV8_SEC_FIRMWARE_ERET_ADDR_REVERT if FSL_LSCH2
197 help
198 The FSL Primary Protected Application (PPA) is a software component
199 which is loaded during boot stage, and then remains resident in RAM
200 and runs in the TrustZone after boot. This is to load PPA during SPL
201 stage instead of the RAM version of U-Boot. Once PPA is initialized,
202 the rest of U-Boot (including RAM version) runs at EL2.
Hou Zhiqiangbff56d52017-01-16 17:31:49 +0800203choice
204 prompt "FSL Layerscape PPA firmware loading-media select"
205 depends on FSL_LS_PPA
Hou Zhiqiangbd6e2cd2017-03-17 16:12:33 +0800206 default SYS_LS_PPA_FW_IN_MMC if SD_BOOT
207 default SYS_LS_PPA_FW_IN_NAND if NAND_BOOT
Hou Zhiqiangbff56d52017-01-16 17:31:49 +0800208 default SYS_LS_PPA_FW_IN_XIP
209
210config SYS_LS_PPA_FW_IN_XIP
211 bool "XIP"
212 help
213 Say Y here if the PPA firmware locate at XIP flash, such
214 as NOR or QSPI flash.
215
Hou Zhiqiangbd6e2cd2017-03-17 16:12:33 +0800216config SYS_LS_PPA_FW_IN_MMC
217 bool "eMMC or SD Card"
218 help
219 Say Y here if the PPA firmware locate at eMMC/SD card.
220
221config SYS_LS_PPA_FW_IN_NAND
222 bool "NAND"
223 help
224 Say Y here if the PPA firmware locate at NAND flash.
225
Hou Zhiqiangbff56d52017-01-16 17:31:49 +0800226endchoice
227
228config SYS_LS_PPA_FW_ADDR
229 hex "Address of PPA firmware loading from"
230 depends on FSL_LS_PPA
Priyanka Jain7d05b992017-04-28 10:41:35 +0530231 default 0x20400000 if SYS_LS_PPA_FW_IN_XIP && QSPI_BOOT && ARCH_LS2080A
Alison Wangb5b8bfa2017-05-16 10:45:58 +0800232 default 0x40400000 if SYS_LS_PPA_FW_IN_XIP && QSPI_BOOT
Santan Kumar0f0173d2017-04-28 12:47:24 +0530233 default 0x580400000 if SYS_LS_PPA_FW_IN_XIP && ARCH_LS2080A
Ashish Kumar227b4bc2017-08-31 16:12:54 +0530234 default 0x20400000 if SYS_LS_PPA_FW_IN_XIP && ARCH_LS1088A
Alison Wangb5b8bfa2017-05-16 10:45:58 +0800235 default 0x60400000 if SYS_LS_PPA_FW_IN_XIP
236 default 0x400000 if SYS_LS_PPA_FW_IN_MMC
237 default 0x400000 if SYS_LS_PPA_FW_IN_NAND
Hou Zhiqiangbd6e2cd2017-03-17 16:12:33 +0800238
Hou Zhiqiangbff56d52017-01-16 17:31:49 +0800239 help
240 If the PPA firmware locate at XIP flash, such as NOR or
241 QSPI flash, this address is a directly memory-mapped.
242 If it is in a serial accessed flash, such as NAND and SD
243 card, it is a byte offset.
Vinitha Pillai-B57223a4b3ded2017-03-23 13:48:14 +0530244
245config SYS_LS_PPA_ESBC_ADDR
246 hex "hdr address of PPA firmware loading from"
247 depends on FSL_LS_PPA && CHAIN_OF_TRUST
Sumit Garg666bbd02017-08-16 07:13:28 -0400248 default 0x60680000 if SYS_LS_PPA_FW_IN_XIP && ARCH_LS1043A
249 default 0x40680000 if SYS_LS_PPA_FW_IN_XIP && ARCH_LS1046A
250 default 0x40680000 if SYS_LS_PPA_FW_IN_XIP && ARCH_LS1012A
Udit Agarwalc83ea8a2017-08-16 07:13:29 -0400251 default 0x20680000 if SYS_LS_PPA_FW_IN_XIP && QSPI_BOOT && ARCH_LS2080A
252 default 0x580680000 if SYS_LS_PPA_FW_IN_XIP && ARCH_LS2080A
Udit Agarwal09fd5792017-11-22 09:01:26 +0530253 default 0x20680000 if SYS_LS_PPA_FW_IN_XIP && ARCH_LS1088A
Sumit Garg666bbd02017-08-16 07:13:28 -0400254 default 0x680000 if SYS_LS_PPA_FW_IN_MMC
255 default 0x680000 if SYS_LS_PPA_FW_IN_NAND
Vinitha Pillai-B57223a4b3ded2017-03-23 13:48:14 +0530256 help
257 If the PPA header firmware locate at XIP flash, such as NOR or
258 QSPI flash, this address is a directly memory-mapped.
259 If it is in a serial accessed flash, such as NAND and SD
260 card, it is a byte offset.
261
Sumit Garg8fddf752017-04-20 05:09:11 +0530262config LS_PPA_ESBC_HDR_SIZE
263 hex "Length of PPA ESBC header"
264 depends on FSL_LS_PPA && CHAIN_OF_TRUST && !SYS_LS_PPA_FW_IN_XIP
265 default 0x2000
266 help
267 Length (in bytes) of PPA ESBC header to be copied from MMC/SD or
268 NAND to memory to validate PPA image.
269
macro.wave.z@gmail.comec2d7ed2016-12-08 11:58:21 +0800270endmenu
271
Ran Wange64f7472017-09-04 18:46:50 +0800272config SYS_FSL_ERRATUM_A008997
273 bool "Workaround for USB PHY erratum A008997"
274
Ran Wang3ba69482017-09-04 18:46:51 +0800275config SYS_FSL_ERRATUM_A009007
276 bool
277 help
278 Workaround for USB PHY erratum A009007
279
Ran Wangb358b7b2017-09-04 18:46:48 +0800280config SYS_FSL_ERRATUM_A009008
281 bool "Workaround for USB PHY erratum A009008"
282
Ran Wang9e8fabc2017-09-04 18:46:49 +0800283config SYS_FSL_ERRATUM_A009798
284 bool "Workaround for USB PHY erratum A009798"
285
York Sun149eb332016-09-26 08:09:27 -0700286config SYS_FSL_ERRATUM_A010315
287 bool "Workaround for PCIe erratum A010315"
Hou Zhiqiangc06b30a2016-09-29 12:42:44 +0800288
289config SYS_FSL_ERRATUM_A010539
290 bool "Workaround for PIN MUX erratum A010539"
York Sun4dd8c612016-10-04 14:31:48 -0700291
York Sunf188d222016-10-04 14:45:01 -0700292config MAX_CPUS
293 int "Maximum number of CPUs permitted for Layerscape"
294 default 4 if ARCH_LS1043A
295 default 4 if ARCH_LS1046A
296 default 16 if ARCH_LS2080A
Ashish Kumarb25faa22017-08-31 16:12:53 +0530297 default 8 if ARCH_LS1088A
York Sunf188d222016-10-04 14:45:01 -0700298 default 1
299 help
300 Set this number to the maximum number of possible CPUs in the SoC.
301 SoCs may have multiple clusters with each cluster may have multiple
302 ports. If some ports are reserved but higher ports are used for
303 cores, count the reserved ports. This will allocate enough memory
304 in spin table to properly handle all cores.
305
York Sun728e7002016-12-02 09:32:35 -0800306config SECURE_BOOT
York Sun8a3d8ed2017-01-04 10:32:08 -0800307 bool "Secure Boot"
York Sun728e7002016-12-02 09:32:35 -0800308 help
309 Enable Freescale Secure Boot feature
310
Yuan Yao52ae4fd2016-12-01 10:13:52 +0800311config QSPI_AHB_INIT
312 bool "Init the QSPI AHB bus"
313 help
314 The default setting for QSPI AHB bus just support 3bytes addressing.
315 But some QSPI flash size up to 64MBytes, so initialize the QSPI AHB
316 bus for those flashes to support the full QSPI flash size.
317
Ashish Kumar11234062017-08-11 11:09:14 +0530318config SYS_CCI400_OFFSET
319 hex "Offset for CCI400 base"
320 depends on SYS_FSL_HAS_CCI400
321 default 0x3090000 if ARCH_LS1088A
322 default 0x180000 if FSL_LSCH2
323 help
324 Offset for CCI400 base
325 CCI400 base addr = CCSRBAR + CCI400_OFFSET
326
York Sune7310a32016-10-04 14:45:54 -0700327config SYS_FSL_IFC_BANK_COUNT
328 int "Maximum banks of Integrated flash controller"
Ashish Kumarb25faa22017-08-31 16:12:53 +0530329 depends on ARCH_LS1043A || ARCH_LS1046A || ARCH_LS2080A || ARCH_LS1088A
York Sune7310a32016-10-04 14:45:54 -0700330 default 4 if ARCH_LS1043A
331 default 4 if ARCH_LS1046A
Ashish Kumarb25faa22017-08-31 16:12:53 +0530332 default 8 if ARCH_LS2080A || ARCH_LS1088A
York Sune7310a32016-10-04 14:45:54 -0700333
Ashish Kumar11234062017-08-11 11:09:14 +0530334config SYS_FSL_HAS_CCI400
335 bool
336
Ashish Kumar97393d62017-08-18 10:54:36 +0530337config SYS_FSL_HAS_CCN504
338 bool
339
York Sun0dc9abb2016-10-04 14:46:50 -0700340config SYS_FSL_HAS_DP_DDR
341 bool
342
York Sun6b62ef02016-10-04 18:01:34 -0700343config SYS_FSL_SRDS_1
344 bool
345
346config SYS_FSL_SRDS_2
347 bool
348
349config SYS_HAS_SERDES
350 bool
351
Ashish kumar76bd6ce2017-04-07 11:40:32 +0530352config FSL_TZASC_1
353 bool
354
355config FSL_TZASC_2
356 bool
357
York Sun4dd8c612016-10-04 14:31:48 -0700358endmenu
York Sun1dc61ca2016-12-28 08:43:41 -0800359
Hou Zhiqiang3f91cda2017-01-10 16:44:15 +0800360menu "Layerscape clock tree configuration"
361 depends on FSL_LSCH2 || FSL_LSCH3
362
363config SYS_FSL_CLK
364 bool "Enable clock tree initialization"
365 default y
366
367config CLUSTER_CLK_FREQ
368 int "Reference clock of core cluster"
369 depends on ARCH_LS1012A
370 default 100000000
371 help
372 This number is the reference clock frequency of core PLL.
373 For most platforms, the core PLL and Platform PLL have the same
374 reference clock, but for some platforms, LS1012A for instance,
375 they are provided sepatately.
376
377config SYS_FSL_PCLK_DIV
378 int "Platform clock divider"
379 default 1 if ARCH_LS1043A
380 default 1 if ARCH_LS1046A
Ashish Kumarb25faa22017-08-31 16:12:53 +0530381 default 1 if ARCH_LS1088A
Hou Zhiqiang3f91cda2017-01-10 16:44:15 +0800382 default 2
383 help
384 This is the divider that is used to derive Platform clock from
385 Platform PLL, in another word:
386 Platform_clk = Platform_PLL_freq / this_divider
387
388config SYS_FSL_DSPI_CLK_DIV
389 int "DSPI clock divider"
390 default 1 if ARCH_LS1043A
391 default 2
392 help
393 This is the divider that is used to derive DSPI clock from Platform
Hou Zhiqiang0c8fcb62017-07-03 18:37:11 +0800394 clock, in another word DSPI_clk = Platform_clk / this_divider.
Hou Zhiqiang3f91cda2017-01-10 16:44:15 +0800395
396config SYS_FSL_DUART_CLK_DIV
397 int "DUART clock divider"
398 default 1 if ARCH_LS1043A
399 default 2
400 help
401 This is the divider that is used to derive DUART clock from Platform
402 clock, in another word DUART_clk = Platform_clk / this_divider.
403
404config SYS_FSL_I2C_CLK_DIV
405 int "I2C clock divider"
406 default 1 if ARCH_LS1043A
407 default 2
408 help
409 This is the divider that is used to derive I2C clock from Platform
410 clock, in another word I2C_clk = Platform_clk / this_divider.
411
412config SYS_FSL_IFC_CLK_DIV
413 int "IFC clock divider"
414 default 1 if ARCH_LS1043A
415 default 2
416 help
417 This is the divider that is used to derive IFC clock from Platform
418 clock, in another word IFC_clk = Platform_clk / this_divider.
419
420config SYS_FSL_LPUART_CLK_DIV
421 int "LPUART clock divider"
422 default 1 if ARCH_LS1043A
423 default 2
424 help
425 This is the divider that is used to derive LPUART clock from Platform
426 clock, in another word LPUART_clk = Platform_clk / this_divider.
427
428config SYS_FSL_SDHC_CLK_DIV
429 int "SDHC clock divider"
430 default 1 if ARCH_LS1043A
431 default 1 if ARCH_LS1012A
432 default 2
433 help
434 This is the divider that is used to derive SDHC clock from Platform
435 clock, in another word SDHC_clk = Platform_clk / this_divider.
436endmenu
437
York Sund6964b32017-03-06 09:02:24 -0800438config RESV_RAM
439 bool
440 help
441 Reserve memory from the top, tracked by gd->arch.resv_ram. This
442 reserved RAM can be used by special driver that resides in memory
443 after U-Boot exits. It's up to implementation to allocate and allow
444 access to this reserved memory. For example, the reserved RAM can
445 be at the high end of physical memory. The reserve RAM may be
446 excluded from memory bank(s) passed to OS, or marked as reserved.
447
Ashish Kumarec455e22017-08-31 16:37:31 +0530448config SYS_FSL_EC1
449 bool
450 help
451 Ethernet controller 1, this is connected to MAC3.
452 Provides DPAA2 capabilities
453
454config SYS_FSL_EC2
455 bool
456 help
457 Ethernet controller 2, this is connected to MAC4.
458 Provides DPAA2 capabilities
459
York Sun1dc61ca2016-12-28 08:43:41 -0800460config SYS_FSL_ERRATUM_A008336
461 bool
462
463config SYS_FSL_ERRATUM_A008514
464 bool
465
466config SYS_FSL_ERRATUM_A008585
467 bool
468
469config SYS_FSL_ERRATUM_A008850
470 bool
471
Ashish kumar3b52a232017-02-23 16:03:57 +0530472config SYS_FSL_ERRATUM_A009203
473 bool
474
York Sun1dc61ca2016-12-28 08:43:41 -0800475config SYS_FSL_ERRATUM_A009635
476 bool
477
478config SYS_FSL_ERRATUM_A009660
479 bool
480
481config SYS_FSL_ERRATUM_A009929
482 bool
York Sun1a770752017-03-06 09:02:26 -0800483
Ashish Kumarec455e22017-08-31 16:37:31 +0530484
485config SYS_FSL_HAS_RGMII
486 bool
487 depends on SYS_FSL_EC1 || SYS_FSL_EC2
488
489
York Sun1a770752017-03-06 09:02:26 -0800490config SYS_MC_RSV_MEM_ALIGN
491 hex "Management Complex reserved memory alignment"
492 depends on RESV_RAM
Ashish Kumarb25faa22017-08-31 16:12:53 +0530493 default 0x20000000 if ARCH_LS2080A
494 default 0x70000000 if ARCH_LS1088A
York Sun1a770752017-03-06 09:02:26 -0800495 help
496 Reserved memory needs to be aligned for MC to use. Default value
497 is 512MB.
Philipp Tomsich2d6a0cc2017-08-03 23:23:55 +0200498
499config SPL_LDSCRIPT
500 default "arch/arm/cpu/armv8/u-boot-spl.lds" if ARCH_LS1043A || ARCH_LS1046A || ARCH_LS2080A
Ran Wang5959f842017-10-23 10:09:21 +0800501
502config HAS_FSL_XHCI_USB
503 bool
504 default y if ARCH_LS1043A || ARCH_LS1046A
505 help
506 For some SoC(such as LS1043A and LS1046A), USB and QE-HDLC multiplex use
507 pins, select it when the pins are assigned to USB.