blob: ca8cdd8f371f7f88eba2a6f88c8521a06ffc159d [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
60 select SYS_FSL_ERRATUM_A009803
61 select SYS_FSL_ERRATUM_A009942
62 select SYS_FSL_ERRATUM_A010165
63 select SYS_FSL_ERRATUM_A008511
64 select SYS_FSL_ERRATUM_A008850
65 select SYS_FSL_HAS_CCI400
66 select SYS_FSL_HAS_DDR4
67 select SYS_FSL_HAS_SEC
68 select SYS_FSL_SEC_COMPAT_5
69 select SYS_FSL_SEC_LE
70 select SYS_FSL_SRDS_1
71 select SYS_FSL_SRDS_2
72 select FSL_TZASC_1
73 select ARCH_EARLY_INIT_R
74 select BOARD_EARLY_INIT_F
75
York Sunfcd0e742016-10-04 14:31:47 -070076config ARCH_LS2080A
77 bool
Hou Zhiqiang4d1525a2017-01-06 17:41:11 +080078 select ARMV8_SET_SMPEN
Tom Rinibacb52c2017-03-07 07:13:42 -050079 select ARM_ERRATA_826974
80 select ARM_ERRATA_828024
81 select ARM_ERRATA_829520
82 select ARM_ERRATA_833471
York Sun4dd8c612016-10-04 14:31:48 -070083 select FSL_LSCH3
York Sund297d392016-12-28 08:43:40 -080084 select SYS_FSL_DDR
York Sunb6fffd82016-10-04 18:03:08 -070085 select SYS_FSL_DDR_LE
86 select SYS_FSL_DDR_VER_50
Ashish Kumar97393d62017-08-18 10:54:36 +053087 select SYS_FSL_HAS_CCN504
York Sun6b62ef02016-10-04 18:01:34 -070088 select SYS_FSL_HAS_DP_DDR
York Sun92c36e22016-12-28 08:43:30 -080089 select SYS_FSL_HAS_SEC
York Sund297d392016-12-28 08:43:40 -080090 select SYS_FSL_HAS_DDR4
York Sun92c36e22016-12-28 08:43:30 -080091 select SYS_FSL_SEC_COMPAT_5
York Sunfa4199422016-12-28 08:43:31 -080092 select SYS_FSL_SEC_LE
York Sun6b62ef02016-10-04 18:01:34 -070093 select SYS_FSL_SRDS_2
Ashish kumar76bd6ce2017-04-07 11:40:32 +053094 select FSL_TZASC_1
95 select FSL_TZASC_2
York Sun1dc61ca2016-12-28 08:43:41 -080096 select SYS_FSL_ERRATUM_A008336
97 select SYS_FSL_ERRATUM_A008511
98 select SYS_FSL_ERRATUM_A008514
99 select SYS_FSL_ERRATUM_A008585
100 select SYS_FSL_ERRATUM_A009635
101 select SYS_FSL_ERRATUM_A009663
102 select SYS_FSL_ERRATUM_A009801
103 select SYS_FSL_ERRATUM_A009803
104 select SYS_FSL_ERRATUM_A009942
105 select SYS_FSL_ERRATUM_A010165
Ashish kumar3b52a232017-02-23 16:03:57 +0530106 select SYS_FSL_ERRATUM_A009203
Simon Glass62adede2017-01-23 13:31:19 -0700107 select ARCH_EARLY_INIT_R
Simon Glass7a99a872017-01-23 13:31:20 -0700108 select BOARD_EARLY_INIT_F
York Sun4dd8c612016-10-04 14:31:48 -0700109
110config FSL_LSCH2
111 bool
Ashish Kumar11234062017-08-11 11:09:14 +0530112 select SYS_FSL_HAS_CCI400
York Sun92c36e22016-12-28 08:43:30 -0800113 select SYS_FSL_HAS_SEC
114 select SYS_FSL_SEC_COMPAT_5
York Sunfa4199422016-12-28 08:43:31 -0800115 select SYS_FSL_SEC_BE
York Sun6b62ef02016-10-04 18:01:34 -0700116 select SYS_FSL_SRDS_1
117 select SYS_HAS_SERDES
York Sun4dd8c612016-10-04 14:31:48 -0700118
119config FSL_LSCH3
120 bool
York Sun6b62ef02016-10-04 18:01:34 -0700121 select SYS_FSL_SRDS_1
122 select SYS_HAS_SERDES
York Sun4dd8c612016-10-04 14:31:48 -0700123
York Sun6c089742017-03-06 09:02:25 -0800124config FSL_MC_ENET
125 bool "Management Complex network"
Ashish Kumarb25faa22017-08-31 16:12:53 +0530126 depends on ARCH_LS2080A || ARCH_LS1088A
York Sun6c089742017-03-06 09:02:25 -0800127 default y
128 select RESV_RAM
129 help
130 Enable Management Complex (MC) network
131
York Sun4dd8c612016-10-04 14:31:48 -0700132menu "Layerscape architecture"
133 depends on FSL_LSCH2 || FSL_LSCH3
York Sunfcd0e742016-10-04 14:31:47 -0700134
Hou Zhiqiangd553bf22016-12-13 14:54:24 +0800135config FSL_PCIE_COMPAT
136 string "PCIe compatible of Kernel DT"
137 depends on PCIE_LAYERSCAPE
138 default "fsl,ls1012a-pcie" if ARCH_LS1012A
139 default "fsl,ls1043a-pcie" if ARCH_LS1043A
140 default "fsl,ls1046a-pcie" if ARCH_LS1046A
141 default "fsl,ls2080a-pcie" if ARCH_LS2080A
Ashish Kumarb25faa22017-08-31 16:12:53 +0530142 default "fsl,ls1088a-pcie" if ARCH_LS1088A
Hou Zhiqiangd553bf22016-12-13 14:54:24 +0800143 help
144 This compatible is used to find pci controller node in Kernel DT
145 to complete fixup.
146
Wenbin Songa8f57a92017-01-17 18:31:15 +0800147config HAS_FEATURE_GIC64K_ALIGN
148 bool
149 default y if ARCH_LS1043A
150
Wenbin Songc6bc7c02017-01-17 18:31:16 +0800151config HAS_FEATURE_ENHANCED_MSI
152 bool
153 default y if ARCH_LS1043A
Wenbin Songa8f57a92017-01-17 18:31:15 +0800154
macro.wave.z@gmail.comec2d7ed2016-12-08 11:58:21 +0800155menu "Layerscape PPA"
156config FSL_LS_PPA
157 bool "FSL Layerscape PPA firmware support"
macro.wave.z@gmail.com01bd3342016-12-08 11:58:22 +0800158 depends on !ARMV8_PSCI
Hou Zhiqiangbff56d52017-01-16 17:31:49 +0800159 select ARMV8_SEC_FIRMWARE_SUPPORT
Hou Zhiqiang6be115d2017-01-16 17:31:48 +0800160 select SEC_FIRMWARE_ARMV8_PSCI
Hou Zhiqiangbff56d52017-01-16 17:31:49 +0800161 select ARMV8_SEC_FIRMWARE_ERET_ADDR_REVERT if FSL_LSCH2
macro.wave.z@gmail.comec2d7ed2016-12-08 11:58:21 +0800162 help
163 The FSL Primary Protected Application (PPA) is a software component
164 which is loaded during boot stage, and then remains resident in RAM
165 and runs in the TrustZone after boot.
166 Say y to enable it.
York Sunf2aaf842017-05-15 08:52:00 -0700167
168config SPL_FSL_LS_PPA
169 bool "FSL Layerscape PPA firmware support for SPL build"
170 depends on !ARMV8_PSCI
171 select SPL_ARMV8_SEC_FIRMWARE_SUPPORT
172 select SEC_FIRMWARE_ARMV8_PSCI
173 select ARMV8_SEC_FIRMWARE_ERET_ADDR_REVERT if FSL_LSCH2
174 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. This is to load PPA during SPL
178 stage instead of the RAM version of U-Boot. Once PPA is initialized,
179 the rest of U-Boot (including RAM version) runs at EL2.
Hou Zhiqiangbff56d52017-01-16 17:31:49 +0800180choice
181 prompt "FSL Layerscape PPA firmware loading-media select"
182 depends on FSL_LS_PPA
Hou Zhiqiangbd6e2cd2017-03-17 16:12:33 +0800183 default SYS_LS_PPA_FW_IN_MMC if SD_BOOT
184 default SYS_LS_PPA_FW_IN_NAND if NAND_BOOT
Hou Zhiqiangbff56d52017-01-16 17:31:49 +0800185 default SYS_LS_PPA_FW_IN_XIP
186
187config SYS_LS_PPA_FW_IN_XIP
188 bool "XIP"
189 help
190 Say Y here if the PPA firmware locate at XIP flash, such
191 as NOR or QSPI flash.
192
Hou Zhiqiangbd6e2cd2017-03-17 16:12:33 +0800193config SYS_LS_PPA_FW_IN_MMC
194 bool "eMMC or SD Card"
195 help
196 Say Y here if the PPA firmware locate at eMMC/SD card.
197
198config SYS_LS_PPA_FW_IN_NAND
199 bool "NAND"
200 help
201 Say Y here if the PPA firmware locate at NAND flash.
202
Hou Zhiqiangbff56d52017-01-16 17:31:49 +0800203endchoice
204
205config SYS_LS_PPA_FW_ADDR
206 hex "Address of PPA firmware loading from"
207 depends on FSL_LS_PPA
Priyanka Jain7d05b992017-04-28 10:41:35 +0530208 default 0x20400000 if SYS_LS_PPA_FW_IN_XIP && QSPI_BOOT && ARCH_LS2080A
Alison Wangb5b8bfa2017-05-16 10:45:58 +0800209 default 0x40400000 if SYS_LS_PPA_FW_IN_XIP && QSPI_BOOT
Santan Kumar0f0173d2017-04-28 12:47:24 +0530210 default 0x580400000 if SYS_LS_PPA_FW_IN_XIP && ARCH_LS2080A
Ashish Kumar227b4bc2017-08-31 16:12:54 +0530211 default 0x20400000 if SYS_LS_PPA_FW_IN_XIP && ARCH_LS1088A
Alison Wangb5b8bfa2017-05-16 10:45:58 +0800212 default 0x60400000 if SYS_LS_PPA_FW_IN_XIP
213 default 0x400000 if SYS_LS_PPA_FW_IN_MMC
214 default 0x400000 if SYS_LS_PPA_FW_IN_NAND
Hou Zhiqiangbd6e2cd2017-03-17 16:12:33 +0800215
Hou Zhiqiangbff56d52017-01-16 17:31:49 +0800216 help
217 If the PPA firmware locate at XIP flash, such as NOR or
218 QSPI flash, this address is a directly memory-mapped.
219 If it is in a serial accessed flash, such as NAND and SD
220 card, it is a byte offset.
Vinitha Pillai-B57223a4b3ded2017-03-23 13:48:14 +0530221
222config SYS_LS_PPA_ESBC_ADDR
223 hex "hdr address of PPA firmware loading from"
224 depends on FSL_LS_PPA && CHAIN_OF_TRUST
Sumit Garg666bbd02017-08-16 07:13:28 -0400225 default 0x60680000 if SYS_LS_PPA_FW_IN_XIP && ARCH_LS1043A
226 default 0x40680000 if SYS_LS_PPA_FW_IN_XIP && ARCH_LS1046A
227 default 0x40680000 if SYS_LS_PPA_FW_IN_XIP && ARCH_LS1012A
Udit Agarwalc83ea8a2017-08-16 07:13:29 -0400228 default 0x20680000 if SYS_LS_PPA_FW_IN_XIP && QSPI_BOOT && ARCH_LS2080A
229 default 0x580680000 if SYS_LS_PPA_FW_IN_XIP && ARCH_LS2080A
Sumit Garg666bbd02017-08-16 07:13:28 -0400230 default 0x680000 if SYS_LS_PPA_FW_IN_MMC
231 default 0x680000 if SYS_LS_PPA_FW_IN_NAND
Vinitha Pillai-B57223a4b3ded2017-03-23 13:48:14 +0530232 help
233 If the PPA header firmware locate at XIP flash, such as NOR or
234 QSPI flash, this address is a directly memory-mapped.
235 If it is in a serial accessed flash, such as NAND and SD
236 card, it is a byte offset.
237
Sumit Garg8fddf752017-04-20 05:09:11 +0530238config LS_PPA_ESBC_HDR_SIZE
239 hex "Length of PPA ESBC header"
240 depends on FSL_LS_PPA && CHAIN_OF_TRUST && !SYS_LS_PPA_FW_IN_XIP
241 default 0x2000
242 help
243 Length (in bytes) of PPA ESBC header to be copied from MMC/SD or
244 NAND to memory to validate PPA image.
245
macro.wave.z@gmail.comec2d7ed2016-12-08 11:58:21 +0800246endmenu
247
York Sun149eb332016-09-26 08:09:27 -0700248config SYS_FSL_ERRATUM_A010315
249 bool "Workaround for PCIe erratum A010315"
Hou Zhiqiangc06b30a2016-09-29 12:42:44 +0800250
251config SYS_FSL_ERRATUM_A010539
252 bool "Workaround for PIN MUX erratum A010539"
York Sun4dd8c612016-10-04 14:31:48 -0700253
York Sunf188d222016-10-04 14:45:01 -0700254config MAX_CPUS
255 int "Maximum number of CPUs permitted for Layerscape"
256 default 4 if ARCH_LS1043A
257 default 4 if ARCH_LS1046A
258 default 16 if ARCH_LS2080A
Ashish Kumarb25faa22017-08-31 16:12:53 +0530259 default 8 if ARCH_LS1088A
York Sunf188d222016-10-04 14:45:01 -0700260 default 1
261 help
262 Set this number to the maximum number of possible CPUs in the SoC.
263 SoCs may have multiple clusters with each cluster may have multiple
264 ports. If some ports are reserved but higher ports are used for
265 cores, count the reserved ports. This will allocate enough memory
266 in spin table to properly handle all cores.
267
York Sun728e7002016-12-02 09:32:35 -0800268config SECURE_BOOT
York Sun8a3d8ed2017-01-04 10:32:08 -0800269 bool "Secure Boot"
York Sun728e7002016-12-02 09:32:35 -0800270 help
271 Enable Freescale Secure Boot feature
272
Yuan Yao52ae4fd2016-12-01 10:13:52 +0800273config QSPI_AHB_INIT
274 bool "Init the QSPI AHB bus"
275 help
276 The default setting for QSPI AHB bus just support 3bytes addressing.
277 But some QSPI flash size up to 64MBytes, so initialize the QSPI AHB
278 bus for those flashes to support the full QSPI flash size.
279
Ashish Kumar11234062017-08-11 11:09:14 +0530280config SYS_CCI400_OFFSET
281 hex "Offset for CCI400 base"
282 depends on SYS_FSL_HAS_CCI400
283 default 0x3090000 if ARCH_LS1088A
284 default 0x180000 if FSL_LSCH2
285 help
286 Offset for CCI400 base
287 CCI400 base addr = CCSRBAR + CCI400_OFFSET
288
York Sune7310a32016-10-04 14:45:54 -0700289config SYS_FSL_IFC_BANK_COUNT
290 int "Maximum banks of Integrated flash controller"
Ashish Kumarb25faa22017-08-31 16:12:53 +0530291 depends on ARCH_LS1043A || ARCH_LS1046A || ARCH_LS2080A || ARCH_LS1088A
York Sune7310a32016-10-04 14:45:54 -0700292 default 4 if ARCH_LS1043A
293 default 4 if ARCH_LS1046A
Ashish Kumarb25faa22017-08-31 16:12:53 +0530294 default 8 if ARCH_LS2080A || ARCH_LS1088A
York Sune7310a32016-10-04 14:45:54 -0700295
Ashish Kumar11234062017-08-11 11:09:14 +0530296config SYS_FSL_HAS_CCI400
297 bool
298
Ashish Kumar97393d62017-08-18 10:54:36 +0530299config SYS_FSL_HAS_CCN504
300 bool
301
York Sun0dc9abb2016-10-04 14:46:50 -0700302config SYS_FSL_HAS_DP_DDR
303 bool
304
York Sun6b62ef02016-10-04 18:01:34 -0700305config SYS_FSL_SRDS_1
306 bool
307
308config SYS_FSL_SRDS_2
309 bool
310
311config SYS_HAS_SERDES
312 bool
313
Ashish kumar76bd6ce2017-04-07 11:40:32 +0530314config FSL_TZASC_1
315 bool
316
317config FSL_TZASC_2
318 bool
319
York Sun4dd8c612016-10-04 14:31:48 -0700320endmenu
York Sun1dc61ca2016-12-28 08:43:41 -0800321
Hou Zhiqiang3f91cda2017-01-10 16:44:15 +0800322menu "Layerscape clock tree configuration"
323 depends on FSL_LSCH2 || FSL_LSCH3
324
325config SYS_FSL_CLK
326 bool "Enable clock tree initialization"
327 default y
328
329config CLUSTER_CLK_FREQ
330 int "Reference clock of core cluster"
331 depends on ARCH_LS1012A
332 default 100000000
333 help
334 This number is the reference clock frequency of core PLL.
335 For most platforms, the core PLL and Platform PLL have the same
336 reference clock, but for some platforms, LS1012A for instance,
337 they are provided sepatately.
338
339config SYS_FSL_PCLK_DIV
340 int "Platform clock divider"
341 default 1 if ARCH_LS1043A
342 default 1 if ARCH_LS1046A
Ashish Kumarb25faa22017-08-31 16:12:53 +0530343 default 1 if ARCH_LS1088A
Hou Zhiqiang3f91cda2017-01-10 16:44:15 +0800344 default 2
345 help
346 This is the divider that is used to derive Platform clock from
347 Platform PLL, in another word:
348 Platform_clk = Platform_PLL_freq / this_divider
349
350config SYS_FSL_DSPI_CLK_DIV
351 int "DSPI clock divider"
352 default 1 if ARCH_LS1043A
353 default 2
354 help
355 This is the divider that is used to derive DSPI clock from Platform
Hou Zhiqiang0c8fcb62017-07-03 18:37:11 +0800356 clock, in another word DSPI_clk = Platform_clk / this_divider.
Hou Zhiqiang3f91cda2017-01-10 16:44:15 +0800357
358config SYS_FSL_DUART_CLK_DIV
359 int "DUART clock divider"
360 default 1 if ARCH_LS1043A
361 default 2
362 help
363 This is the divider that is used to derive DUART clock from Platform
364 clock, in another word DUART_clk = Platform_clk / this_divider.
365
366config SYS_FSL_I2C_CLK_DIV
367 int "I2C clock divider"
368 default 1 if ARCH_LS1043A
369 default 2
370 help
371 This is the divider that is used to derive I2C clock from Platform
372 clock, in another word I2C_clk = Platform_clk / this_divider.
373
374config SYS_FSL_IFC_CLK_DIV
375 int "IFC clock divider"
376 default 1 if ARCH_LS1043A
377 default 2
378 help
379 This is the divider that is used to derive IFC clock from Platform
380 clock, in another word IFC_clk = Platform_clk / this_divider.
381
382config SYS_FSL_LPUART_CLK_DIV
383 int "LPUART clock divider"
384 default 1 if ARCH_LS1043A
385 default 2
386 help
387 This is the divider that is used to derive LPUART clock from Platform
388 clock, in another word LPUART_clk = Platform_clk / this_divider.
389
390config SYS_FSL_SDHC_CLK_DIV
391 int "SDHC clock divider"
392 default 1 if ARCH_LS1043A
393 default 1 if ARCH_LS1012A
394 default 2
395 help
396 This is the divider that is used to derive SDHC clock from Platform
397 clock, in another word SDHC_clk = Platform_clk / this_divider.
398endmenu
399
York Sund6964b32017-03-06 09:02:24 -0800400config RESV_RAM
401 bool
402 help
403 Reserve memory from the top, tracked by gd->arch.resv_ram. This
404 reserved RAM can be used by special driver that resides in memory
405 after U-Boot exits. It's up to implementation to allocate and allow
406 access to this reserved memory. For example, the reserved RAM can
407 be at the high end of physical memory. The reserve RAM may be
408 excluded from memory bank(s) passed to OS, or marked as reserved.
409
York Sun1dc61ca2016-12-28 08:43:41 -0800410config SYS_FSL_ERRATUM_A008336
411 bool
412
413config SYS_FSL_ERRATUM_A008514
414 bool
415
416config SYS_FSL_ERRATUM_A008585
417 bool
418
419config SYS_FSL_ERRATUM_A008850
420 bool
421
Ashish kumar3b52a232017-02-23 16:03:57 +0530422config SYS_FSL_ERRATUM_A009203
423 bool
424
York Sun1dc61ca2016-12-28 08:43:41 -0800425config SYS_FSL_ERRATUM_A009635
426 bool
427
428config SYS_FSL_ERRATUM_A009660
429 bool
430
431config SYS_FSL_ERRATUM_A009929
432 bool
York Sun1a770752017-03-06 09:02:26 -0800433
434config SYS_MC_RSV_MEM_ALIGN
435 hex "Management Complex reserved memory alignment"
436 depends on RESV_RAM
Ashish Kumarb25faa22017-08-31 16:12:53 +0530437 default 0x20000000 if ARCH_LS2080A
438 default 0x70000000 if ARCH_LS1088A
York Sun1a770752017-03-06 09:02:26 -0800439 help
440 Reserved memory needs to be aligned for MC to use. Default value
441 is 512MB.
Philipp Tomsich2d6a0cc2017-08-03 23:23:55 +0200442
443config SPL_LDSCRIPT
444 default "arch/arm/cpu/armv8/u-boot-spl.lds" if ARCH_LS1043A || ARCH_LS1046A || ARCH_LS2080A