blob: b6410d731fbee20daab0bd513955a3f3f6e2e275 [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 Wange64f7472017-09-04 18:46:50 +080019 select SYS_FSL_ERRATUM_A008997
Ran Wangb358b7b2017-09-04 18:46:48 +080020 select SYS_FSL_ERRATUM_A009008
York Sun1dc61ca2016-12-28 08:43:41 -080021 select SYS_FSL_ERRATUM_A009660
22 select SYS_FSL_ERRATUM_A009663
Ran Wang9e8fabc2017-09-04 18:46:49 +080023 select SYS_FSL_ERRATUM_A009798
York Sun1dc61ca2016-12-28 08:43:41 -080024 select SYS_FSL_ERRATUM_A009929
25 select SYS_FSL_ERRATUM_A009942
York Sun149eb332016-09-26 08:09:27 -070026 select SYS_FSL_ERRATUM_A010315
Hou Zhiqiangc06b30a2016-09-29 12:42:44 +080027 select SYS_FSL_ERRATUM_A010539
York Sund297d392016-12-28 08:43:40 -080028 select SYS_FSL_HAS_DDR3
29 select SYS_FSL_HAS_DDR4
Simon Glass62adede2017-01-23 13:31:19 -070030 select ARCH_EARLY_INIT_R
Simon Glass7a99a872017-01-23 13:31:20 -070031 select BOARD_EARLY_INIT_F
Simon Glass0e5faf02017-06-14 21:28:21 -060032 imply SCSI
Simon Glassc88a09a2017-08-04 16:34:34 -060033 imply CMD_PCI
York Sunb3d71642016-09-26 08:09:26 -070034
York Sunbad49842016-09-26 08:09:24 -070035config ARCH_LS1046A
York Sunfcd0e742016-10-04 14:31:47 -070036 bool
Hou Zhiqiang4d1525a2017-01-06 17:41:11 +080037 select ARMV8_SET_SMPEN
York Sun4dd8c612016-10-04 14:31:48 -070038 select FSL_LSCH2
York Sund297d392016-12-28 08:43:40 -080039 select SYS_FSL_DDR
York Sunb6fffd82016-10-04 18:03:08 -070040 select SYS_FSL_DDR_BE
York Sunb6fffd82016-10-04 18:03:08 -070041 select SYS_FSL_DDR_VER_50
York Sunf195cf72017-01-27 09:57:31 -080042 select SYS_FSL_ERRATUM_A008336
York Sun1dc61ca2016-12-28 08:43:41 -080043 select SYS_FSL_ERRATUM_A008511
Shengzhou Liua7c37c62017-03-23 18:14:40 +080044 select SYS_FSL_ERRATUM_A008850
Ran Wange64f7472017-09-04 18:46:50 +080045 select SYS_FSL_ERRATUM_A008997
Ran Wangb358b7b2017-09-04 18:46:48 +080046 select SYS_FSL_ERRATUM_A009008
Ran Wang9e8fabc2017-09-04 18:46:49 +080047 select SYS_FSL_ERRATUM_A009798
York Sun1dc61ca2016-12-28 08:43:41 -080048 select SYS_FSL_ERRATUM_A009801
49 select SYS_FSL_ERRATUM_A009803
50 select SYS_FSL_ERRATUM_A009942
51 select SYS_FSL_ERRATUM_A010165
Hou Zhiqiangc06b30a2016-09-29 12:42:44 +080052 select SYS_FSL_ERRATUM_A010539
York Sund297d392016-12-28 08:43:40 -080053 select SYS_FSL_HAS_DDR4
York Sun6b62ef02016-10-04 18:01:34 -070054 select SYS_FSL_SRDS_2
Simon Glass62adede2017-01-23 13:31:19 -070055 select ARCH_EARLY_INIT_R
Simon Glass7a99a872017-01-23 13:31:20 -070056 select BOARD_EARLY_INIT_F
Simon Glass0e5faf02017-06-14 21:28:21 -060057 imply SCSI
York Sunb3d71642016-09-26 08:09:26 -070058
Ashish Kumarb25faa22017-08-31 16:12:53 +053059config ARCH_LS1088A
60 bool
61 select ARMV8_SET_SMPEN
62 select FSL_LSCH3
63 select SYS_FSL_DDR
64 select SYS_FSL_DDR_LE
65 select SYS_FSL_DDR_VER_50
Ashish Kumarec455e22017-08-31 16:37:31 +053066 select SYS_FSL_EC1
67 select SYS_FSL_EC2
Ashish Kumarb25faa22017-08-31 16:12:53 +053068 select SYS_FSL_ERRATUM_A009803
69 select SYS_FSL_ERRATUM_A009942
70 select SYS_FSL_ERRATUM_A010165
71 select SYS_FSL_ERRATUM_A008511
72 select SYS_FSL_ERRATUM_A008850
73 select SYS_FSL_HAS_CCI400
74 select SYS_FSL_HAS_DDR4
Ashish Kumarec455e22017-08-31 16:37:31 +053075 select SYS_FSL_HAS_RGMII
Ashish Kumarb25faa22017-08-31 16:12:53 +053076 select SYS_FSL_HAS_SEC
77 select SYS_FSL_SEC_COMPAT_5
78 select SYS_FSL_SEC_LE
79 select SYS_FSL_SRDS_1
80 select SYS_FSL_SRDS_2
81 select FSL_TZASC_1
82 select ARCH_EARLY_INIT_R
83 select BOARD_EARLY_INIT_F
84
York Sunfcd0e742016-10-04 14:31:47 -070085config ARCH_LS2080A
86 bool
Hou Zhiqiang4d1525a2017-01-06 17:41:11 +080087 select ARMV8_SET_SMPEN
Tom Rinibacb52c2017-03-07 07:13:42 -050088 select ARM_ERRATA_826974
89 select ARM_ERRATA_828024
90 select ARM_ERRATA_829520
91 select ARM_ERRATA_833471
York Sun4dd8c612016-10-04 14:31:48 -070092 select FSL_LSCH3
York Sund297d392016-12-28 08:43:40 -080093 select SYS_FSL_DDR
York Sunb6fffd82016-10-04 18:03:08 -070094 select SYS_FSL_DDR_LE
95 select SYS_FSL_DDR_VER_50
Ashish Kumar97393d62017-08-18 10:54:36 +053096 select SYS_FSL_HAS_CCN504
York Sun6b62ef02016-10-04 18:01:34 -070097 select SYS_FSL_HAS_DP_DDR
York Sun92c36e22016-12-28 08:43:30 -080098 select SYS_FSL_HAS_SEC
York Sund297d392016-12-28 08:43:40 -080099 select SYS_FSL_HAS_DDR4
York Sun92c36e22016-12-28 08:43:30 -0800100 select SYS_FSL_SEC_COMPAT_5
York Sunfa4199422016-12-28 08:43:31 -0800101 select SYS_FSL_SEC_LE
York Sun6b62ef02016-10-04 18:01:34 -0700102 select SYS_FSL_SRDS_2
Ashish kumar76bd6ce2017-04-07 11:40:32 +0530103 select FSL_TZASC_1
104 select FSL_TZASC_2
York Sun1dc61ca2016-12-28 08:43:41 -0800105 select SYS_FSL_ERRATUM_A008336
106 select SYS_FSL_ERRATUM_A008511
107 select SYS_FSL_ERRATUM_A008514
108 select SYS_FSL_ERRATUM_A008585
Ran Wange64f7472017-09-04 18:46:50 +0800109 select SYS_FSL_ERRATUM_A008997
Ran Wangb358b7b2017-09-04 18:46:48 +0800110 select SYS_FSL_ERRATUM_A009008
York Sun1dc61ca2016-12-28 08:43:41 -0800111 select SYS_FSL_ERRATUM_A009635
112 select SYS_FSL_ERRATUM_A009663
Ran Wang9e8fabc2017-09-04 18:46:49 +0800113 select SYS_FSL_ERRATUM_A009798
York Sun1dc61ca2016-12-28 08:43:41 -0800114 select SYS_FSL_ERRATUM_A009801
115 select SYS_FSL_ERRATUM_A009803
116 select SYS_FSL_ERRATUM_A009942
117 select SYS_FSL_ERRATUM_A010165
Ashish kumar3b52a232017-02-23 16:03:57 +0530118 select SYS_FSL_ERRATUM_A009203
Simon Glass62adede2017-01-23 13:31:19 -0700119 select ARCH_EARLY_INIT_R
Simon Glass7a99a872017-01-23 13:31:20 -0700120 select BOARD_EARLY_INIT_F
York Sun4dd8c612016-10-04 14:31:48 -0700121
122config FSL_LSCH2
123 bool
Ashish Kumar11234062017-08-11 11:09:14 +0530124 select SYS_FSL_HAS_CCI400
York Sun92c36e22016-12-28 08:43:30 -0800125 select SYS_FSL_HAS_SEC
126 select SYS_FSL_SEC_COMPAT_5
York Sunfa4199422016-12-28 08:43:31 -0800127 select SYS_FSL_SEC_BE
York Sun6b62ef02016-10-04 18:01:34 -0700128 select SYS_FSL_SRDS_1
129 select SYS_HAS_SERDES
York Sun4dd8c612016-10-04 14:31:48 -0700130
131config FSL_LSCH3
132 bool
York Sun6b62ef02016-10-04 18:01:34 -0700133 select SYS_FSL_SRDS_1
134 select SYS_HAS_SERDES
York Sun4dd8c612016-10-04 14:31:48 -0700135
York Sun6c089742017-03-06 09:02:25 -0800136config FSL_MC_ENET
137 bool "Management Complex network"
Ashish Kumarb25faa22017-08-31 16:12:53 +0530138 depends on ARCH_LS2080A || ARCH_LS1088A
York Sun6c089742017-03-06 09:02:25 -0800139 default y
140 select RESV_RAM
141 help
142 Enable Management Complex (MC) network
143
York Sun4dd8c612016-10-04 14:31:48 -0700144menu "Layerscape architecture"
145 depends on FSL_LSCH2 || FSL_LSCH3
York Sunfcd0e742016-10-04 14:31:47 -0700146
Hou Zhiqiangd553bf22016-12-13 14:54:24 +0800147config FSL_PCIE_COMPAT
148 string "PCIe compatible of Kernel DT"
149 depends on PCIE_LAYERSCAPE
150 default "fsl,ls1012a-pcie" if ARCH_LS1012A
151 default "fsl,ls1043a-pcie" if ARCH_LS1043A
152 default "fsl,ls1046a-pcie" if ARCH_LS1046A
153 default "fsl,ls2080a-pcie" if ARCH_LS2080A
Ashish Kumarb25faa22017-08-31 16:12:53 +0530154 default "fsl,ls1088a-pcie" if ARCH_LS1088A
Hou Zhiqiangd553bf22016-12-13 14:54:24 +0800155 help
156 This compatible is used to find pci controller node in Kernel DT
157 to complete fixup.
158
Wenbin Songa8f57a92017-01-17 18:31:15 +0800159config HAS_FEATURE_GIC64K_ALIGN
160 bool
161 default y if ARCH_LS1043A
162
Wenbin Songc6bc7c02017-01-17 18:31:16 +0800163config HAS_FEATURE_ENHANCED_MSI
164 bool
165 default y if ARCH_LS1043A
Wenbin Songa8f57a92017-01-17 18:31:15 +0800166
macro.wave.z@gmail.comec2d7ed2016-12-08 11:58:21 +0800167menu "Layerscape PPA"
168config FSL_LS_PPA
169 bool "FSL Layerscape PPA firmware support"
macro.wave.z@gmail.com01bd3342016-12-08 11:58:22 +0800170 depends on !ARMV8_PSCI
Hou Zhiqiangbff56d52017-01-16 17:31:49 +0800171 select ARMV8_SEC_FIRMWARE_SUPPORT
Hou Zhiqiang6be115d2017-01-16 17:31:48 +0800172 select SEC_FIRMWARE_ARMV8_PSCI
Hou Zhiqiangbff56d52017-01-16 17:31:49 +0800173 select ARMV8_SEC_FIRMWARE_ERET_ADDR_REVERT if FSL_LSCH2
macro.wave.z@gmail.comec2d7ed2016-12-08 11:58:21 +0800174 help
175 The FSL Primary Protected Application (PPA) is a software component
176 which is loaded during boot stage, and then remains resident in RAM
177 and runs in the TrustZone after boot.
178 Say y to enable it.
York Sunf2aaf842017-05-15 08:52:00 -0700179
180config SPL_FSL_LS_PPA
181 bool "FSL Layerscape PPA firmware support for SPL build"
182 depends on !ARMV8_PSCI
183 select SPL_ARMV8_SEC_FIRMWARE_SUPPORT
184 select SEC_FIRMWARE_ARMV8_PSCI
185 select ARMV8_SEC_FIRMWARE_ERET_ADDR_REVERT if FSL_LSCH2
186 help
187 The FSL Primary Protected Application (PPA) is a software component
188 which is loaded during boot stage, and then remains resident in RAM
189 and runs in the TrustZone after boot. This is to load PPA during SPL
190 stage instead of the RAM version of U-Boot. Once PPA is initialized,
191 the rest of U-Boot (including RAM version) runs at EL2.
Hou Zhiqiangbff56d52017-01-16 17:31:49 +0800192choice
193 prompt "FSL Layerscape PPA firmware loading-media select"
194 depends on FSL_LS_PPA
Hou Zhiqiangbd6e2cd2017-03-17 16:12:33 +0800195 default SYS_LS_PPA_FW_IN_MMC if SD_BOOT
196 default SYS_LS_PPA_FW_IN_NAND if NAND_BOOT
Hou Zhiqiangbff56d52017-01-16 17:31:49 +0800197 default SYS_LS_PPA_FW_IN_XIP
198
199config SYS_LS_PPA_FW_IN_XIP
200 bool "XIP"
201 help
202 Say Y here if the PPA firmware locate at XIP flash, such
203 as NOR or QSPI flash.
204
Hou Zhiqiangbd6e2cd2017-03-17 16:12:33 +0800205config SYS_LS_PPA_FW_IN_MMC
206 bool "eMMC or SD Card"
207 help
208 Say Y here if the PPA firmware locate at eMMC/SD card.
209
210config SYS_LS_PPA_FW_IN_NAND
211 bool "NAND"
212 help
213 Say Y here if the PPA firmware locate at NAND flash.
214
Hou Zhiqiangbff56d52017-01-16 17:31:49 +0800215endchoice
216
217config SYS_LS_PPA_FW_ADDR
218 hex "Address of PPA firmware loading from"
219 depends on FSL_LS_PPA
Priyanka Jain7d05b992017-04-28 10:41:35 +0530220 default 0x20400000 if SYS_LS_PPA_FW_IN_XIP && QSPI_BOOT && ARCH_LS2080A
Alison Wangb5b8bfa2017-05-16 10:45:58 +0800221 default 0x40400000 if SYS_LS_PPA_FW_IN_XIP && QSPI_BOOT
Santan Kumar0f0173d2017-04-28 12:47:24 +0530222 default 0x580400000 if SYS_LS_PPA_FW_IN_XIP && ARCH_LS2080A
Ashish Kumar227b4bc2017-08-31 16:12:54 +0530223 default 0x20400000 if SYS_LS_PPA_FW_IN_XIP && ARCH_LS1088A
Alison Wangb5b8bfa2017-05-16 10:45:58 +0800224 default 0x60400000 if SYS_LS_PPA_FW_IN_XIP
225 default 0x400000 if SYS_LS_PPA_FW_IN_MMC
226 default 0x400000 if SYS_LS_PPA_FW_IN_NAND
Hou Zhiqiangbd6e2cd2017-03-17 16:12:33 +0800227
Hou Zhiqiangbff56d52017-01-16 17:31:49 +0800228 help
229 If the PPA firmware locate at XIP flash, such as NOR or
230 QSPI flash, this address is a directly memory-mapped.
231 If it is in a serial accessed flash, such as NAND and SD
232 card, it is a byte offset.
Vinitha Pillai-B57223a4b3ded2017-03-23 13:48:14 +0530233
234config SYS_LS_PPA_ESBC_ADDR
235 hex "hdr address of PPA firmware loading from"
236 depends on FSL_LS_PPA && CHAIN_OF_TRUST
Sumit Garg666bbd02017-08-16 07:13:28 -0400237 default 0x60680000 if SYS_LS_PPA_FW_IN_XIP && ARCH_LS1043A
238 default 0x40680000 if SYS_LS_PPA_FW_IN_XIP && ARCH_LS1046A
239 default 0x40680000 if SYS_LS_PPA_FW_IN_XIP && ARCH_LS1012A
Udit Agarwalc83ea8a2017-08-16 07:13:29 -0400240 default 0x20680000 if SYS_LS_PPA_FW_IN_XIP && QSPI_BOOT && ARCH_LS2080A
241 default 0x580680000 if SYS_LS_PPA_FW_IN_XIP && ARCH_LS2080A
Sumit Garg666bbd02017-08-16 07:13:28 -0400242 default 0x680000 if SYS_LS_PPA_FW_IN_MMC
243 default 0x680000 if SYS_LS_PPA_FW_IN_NAND
Vinitha Pillai-B57223a4b3ded2017-03-23 13:48:14 +0530244 help
245 If the PPA header firmware locate at XIP flash, such as NOR or
246 QSPI flash, this address is a directly memory-mapped.
247 If it is in a serial accessed flash, such as NAND and SD
248 card, it is a byte offset.
249
Sumit Garg8fddf752017-04-20 05:09:11 +0530250config LS_PPA_ESBC_HDR_SIZE
251 hex "Length of PPA ESBC header"
252 depends on FSL_LS_PPA && CHAIN_OF_TRUST && !SYS_LS_PPA_FW_IN_XIP
253 default 0x2000
254 help
255 Length (in bytes) of PPA ESBC header to be copied from MMC/SD or
256 NAND to memory to validate PPA image.
257
macro.wave.z@gmail.comec2d7ed2016-12-08 11:58:21 +0800258endmenu
259
Ran Wange64f7472017-09-04 18:46:50 +0800260config SYS_FSL_ERRATUM_A008997
261 bool "Workaround for USB PHY erratum A008997"
262
Ran Wangb358b7b2017-09-04 18:46:48 +0800263config SYS_FSL_ERRATUM_A009008
264 bool "Workaround for USB PHY erratum A009008"
265
Ran Wang9e8fabc2017-09-04 18:46:49 +0800266config SYS_FSL_ERRATUM_A009798
267 bool "Workaround for USB PHY erratum A009798"
268
York Sun149eb332016-09-26 08:09:27 -0700269config SYS_FSL_ERRATUM_A010315
270 bool "Workaround for PCIe erratum A010315"
Hou Zhiqiangc06b30a2016-09-29 12:42:44 +0800271
272config SYS_FSL_ERRATUM_A010539
273 bool "Workaround for PIN MUX erratum A010539"
York Sun4dd8c612016-10-04 14:31:48 -0700274
York Sunf188d222016-10-04 14:45:01 -0700275config MAX_CPUS
276 int "Maximum number of CPUs permitted for Layerscape"
277 default 4 if ARCH_LS1043A
278 default 4 if ARCH_LS1046A
279 default 16 if ARCH_LS2080A
Ashish Kumarb25faa22017-08-31 16:12:53 +0530280 default 8 if ARCH_LS1088A
York Sunf188d222016-10-04 14:45:01 -0700281 default 1
282 help
283 Set this number to the maximum number of possible CPUs in the SoC.
284 SoCs may have multiple clusters with each cluster may have multiple
285 ports. If some ports are reserved but higher ports are used for
286 cores, count the reserved ports. This will allocate enough memory
287 in spin table to properly handle all cores.
288
York Sun728e7002016-12-02 09:32:35 -0800289config SECURE_BOOT
York Sun8a3d8ed2017-01-04 10:32:08 -0800290 bool "Secure Boot"
York Sun728e7002016-12-02 09:32:35 -0800291 help
292 Enable Freescale Secure Boot feature
293
Yuan Yao52ae4fd2016-12-01 10:13:52 +0800294config QSPI_AHB_INIT
295 bool "Init the QSPI AHB bus"
296 help
297 The default setting for QSPI AHB bus just support 3bytes addressing.
298 But some QSPI flash size up to 64MBytes, so initialize the QSPI AHB
299 bus for those flashes to support the full QSPI flash size.
300
Ashish Kumar11234062017-08-11 11:09:14 +0530301config SYS_CCI400_OFFSET
302 hex "Offset for CCI400 base"
303 depends on SYS_FSL_HAS_CCI400
304 default 0x3090000 if ARCH_LS1088A
305 default 0x180000 if FSL_LSCH2
306 help
307 Offset for CCI400 base
308 CCI400 base addr = CCSRBAR + CCI400_OFFSET
309
York Sune7310a32016-10-04 14:45:54 -0700310config SYS_FSL_IFC_BANK_COUNT
311 int "Maximum banks of Integrated flash controller"
Ashish Kumarb25faa22017-08-31 16:12:53 +0530312 depends on ARCH_LS1043A || ARCH_LS1046A || ARCH_LS2080A || ARCH_LS1088A
York Sune7310a32016-10-04 14:45:54 -0700313 default 4 if ARCH_LS1043A
314 default 4 if ARCH_LS1046A
Ashish Kumarb25faa22017-08-31 16:12:53 +0530315 default 8 if ARCH_LS2080A || ARCH_LS1088A
York Sune7310a32016-10-04 14:45:54 -0700316
Ashish Kumar11234062017-08-11 11:09:14 +0530317config SYS_FSL_HAS_CCI400
318 bool
319
Ashish Kumar97393d62017-08-18 10:54:36 +0530320config SYS_FSL_HAS_CCN504
321 bool
322
York Sun0dc9abb2016-10-04 14:46:50 -0700323config SYS_FSL_HAS_DP_DDR
324 bool
325
York Sun6b62ef02016-10-04 18:01:34 -0700326config SYS_FSL_SRDS_1
327 bool
328
329config SYS_FSL_SRDS_2
330 bool
331
332config SYS_HAS_SERDES
333 bool
334
Ashish kumar76bd6ce2017-04-07 11:40:32 +0530335config FSL_TZASC_1
336 bool
337
338config FSL_TZASC_2
339 bool
340
York Sun4dd8c612016-10-04 14:31:48 -0700341endmenu
York Sun1dc61ca2016-12-28 08:43:41 -0800342
Hou Zhiqiang3f91cda2017-01-10 16:44:15 +0800343menu "Layerscape clock tree configuration"
344 depends on FSL_LSCH2 || FSL_LSCH3
345
346config SYS_FSL_CLK
347 bool "Enable clock tree initialization"
348 default y
349
350config CLUSTER_CLK_FREQ
351 int "Reference clock of core cluster"
352 depends on ARCH_LS1012A
353 default 100000000
354 help
355 This number is the reference clock frequency of core PLL.
356 For most platforms, the core PLL and Platform PLL have the same
357 reference clock, but for some platforms, LS1012A for instance,
358 they are provided sepatately.
359
360config SYS_FSL_PCLK_DIV
361 int "Platform clock divider"
362 default 1 if ARCH_LS1043A
363 default 1 if ARCH_LS1046A
Ashish Kumarb25faa22017-08-31 16:12:53 +0530364 default 1 if ARCH_LS1088A
Hou Zhiqiang3f91cda2017-01-10 16:44:15 +0800365 default 2
366 help
367 This is the divider that is used to derive Platform clock from
368 Platform PLL, in another word:
369 Platform_clk = Platform_PLL_freq / this_divider
370
371config SYS_FSL_DSPI_CLK_DIV
372 int "DSPI clock divider"
373 default 1 if ARCH_LS1043A
374 default 2
375 help
376 This is the divider that is used to derive DSPI clock from Platform
Hou Zhiqiang0c8fcb62017-07-03 18:37:11 +0800377 clock, in another word DSPI_clk = Platform_clk / this_divider.
Hou Zhiqiang3f91cda2017-01-10 16:44:15 +0800378
379config SYS_FSL_DUART_CLK_DIV
380 int "DUART clock divider"
381 default 1 if ARCH_LS1043A
382 default 2
383 help
384 This is the divider that is used to derive DUART clock from Platform
385 clock, in another word DUART_clk = Platform_clk / this_divider.
386
387config SYS_FSL_I2C_CLK_DIV
388 int "I2C clock divider"
389 default 1 if ARCH_LS1043A
390 default 2
391 help
392 This is the divider that is used to derive I2C clock from Platform
393 clock, in another word I2C_clk = Platform_clk / this_divider.
394
395config SYS_FSL_IFC_CLK_DIV
396 int "IFC clock divider"
397 default 1 if ARCH_LS1043A
398 default 2
399 help
400 This is the divider that is used to derive IFC clock from Platform
401 clock, in another word IFC_clk = Platform_clk / this_divider.
402
403config SYS_FSL_LPUART_CLK_DIV
404 int "LPUART clock divider"
405 default 1 if ARCH_LS1043A
406 default 2
407 help
408 This is the divider that is used to derive LPUART clock from Platform
409 clock, in another word LPUART_clk = Platform_clk / this_divider.
410
411config SYS_FSL_SDHC_CLK_DIV
412 int "SDHC clock divider"
413 default 1 if ARCH_LS1043A
414 default 1 if ARCH_LS1012A
415 default 2
416 help
417 This is the divider that is used to derive SDHC clock from Platform
418 clock, in another word SDHC_clk = Platform_clk / this_divider.
419endmenu
420
York Sund6964b32017-03-06 09:02:24 -0800421config RESV_RAM
422 bool
423 help
424 Reserve memory from the top, tracked by gd->arch.resv_ram. This
425 reserved RAM can be used by special driver that resides in memory
426 after U-Boot exits. It's up to implementation to allocate and allow
427 access to this reserved memory. For example, the reserved RAM can
428 be at the high end of physical memory. The reserve RAM may be
429 excluded from memory bank(s) passed to OS, or marked as reserved.
430
Ashish Kumarec455e22017-08-31 16:37:31 +0530431config SYS_FSL_EC1
432 bool
433 help
434 Ethernet controller 1, this is connected to MAC3.
435 Provides DPAA2 capabilities
436
437config SYS_FSL_EC2
438 bool
439 help
440 Ethernet controller 2, this is connected to MAC4.
441 Provides DPAA2 capabilities
442
York Sun1dc61ca2016-12-28 08:43:41 -0800443config SYS_FSL_ERRATUM_A008336
444 bool
445
446config SYS_FSL_ERRATUM_A008514
447 bool
448
449config SYS_FSL_ERRATUM_A008585
450 bool
451
452config SYS_FSL_ERRATUM_A008850
453 bool
454
Ashish kumar3b52a232017-02-23 16:03:57 +0530455config SYS_FSL_ERRATUM_A009203
456 bool
457
York Sun1dc61ca2016-12-28 08:43:41 -0800458config SYS_FSL_ERRATUM_A009635
459 bool
460
461config SYS_FSL_ERRATUM_A009660
462 bool
463
464config SYS_FSL_ERRATUM_A009929
465 bool
York Sun1a770752017-03-06 09:02:26 -0800466
Ashish Kumarec455e22017-08-31 16:37:31 +0530467
468config SYS_FSL_HAS_RGMII
469 bool
470 depends on SYS_FSL_EC1 || SYS_FSL_EC2
471
472
York Sun1a770752017-03-06 09:02:26 -0800473config SYS_MC_RSV_MEM_ALIGN
474 hex "Management Complex reserved memory alignment"
475 depends on RESV_RAM
Ashish Kumarb25faa22017-08-31 16:12:53 +0530476 default 0x20000000 if ARCH_LS2080A
477 default 0x70000000 if ARCH_LS1088A
York Sun1a770752017-03-06 09:02:26 -0800478 help
479 Reserved memory needs to be aligned for MC to use. Default value
480 is 512MB.
Philipp Tomsich2d6a0cc2017-08-03 23:23:55 +0200481
482config SPL_LDSCRIPT
483 default "arch/arm/cpu/armv8/u-boot-spl.lds" if ARCH_LS1043A || ARCH_LS1046A || ARCH_LS2080A