blob: 614b242f70ffa0c65bae44e572fc6f711137a324 [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
Rajesh Bhagatcd786e82018-11-05 18:01:48 +00004 select ARM_ERRATA_855873 if !TFABOOT
York Sun4dd8c612016-10-04 14:31:48 -07005 select FSL_LSCH2
Sriram Dash4a943332018-01-30 15:58:44 +05306 select SYS_FSL_SRDS_1
7 select SYS_HAS_SERDES
York Sunb6fffd82016-10-04 18:03:08 -07008 select SYS_FSL_DDR_BE
York Sunb3d71642016-09-26 08:09:26 -07009 select SYS_FSL_MMDC
York Sun149eb332016-09-26 08:09:27 -070010 select SYS_FSL_ERRATUM_A010315
Ran Wang02dc77b2017-11-13 16:14:48 +080011 select SYS_FSL_ERRATUM_A009798
12 select SYS_FSL_ERRATUM_A008997
13 select SYS_FSL_ERRATUM_A009007
14 select SYS_FSL_ERRATUM_A009008
Simon Glass62adede2017-01-23 13:31:19 -070015 select ARCH_EARLY_INIT_R
Simon Glass7a99a872017-01-23 13:31:20 -070016 select BOARD_EARLY_INIT_F
Sriram Dash7122a0c2018-02-06 11:26:30 +053017 select SYS_I2C_MXC
18 select SYS_I2C_MXC_I2C1
19 select SYS_I2C_MXC_I2C2
Masahiro Yamadaacede7a2017-12-04 12:37:00 +090020 imply PANIC_HANG
York Sun149eb332016-09-26 08:09:27 -070021
22config ARCH_LS1043A
York Sunfcd0e742016-10-04 14:31:47 -070023 bool
Hou Zhiqiang4d1525a2017-01-06 17:41:11 +080024 select ARMV8_SET_SMPEN
Rajesh Bhagatcd786e82018-11-05 18:01:48 +000025 select ARM_ERRATA_855873 if !TFABOOT
York Sun4dd8c612016-10-04 14:31:48 -070026 select FSL_LSCH2
Sriram Dash4a943332018-01-30 15:58:44 +053027 select SYS_FSL_SRDS_1
28 select SYS_HAS_SERDES
York Sund297d392016-12-28 08:43:40 -080029 select SYS_FSL_DDR
York Sunb6fffd82016-10-04 18:03:08 -070030 select SYS_FSL_DDR_BE
31 select SYS_FSL_DDR_VER_50
Rajesh Bhagatcd786e82018-11-05 18:01:48 +000032 select SYS_FSL_ERRATUM_A008850 if !TFABOOT
Ran Wange64f7472017-09-04 18:46:50 +080033 select SYS_FSL_ERRATUM_A008997
Ran Wang3ba69482017-09-04 18:46:51 +080034 select SYS_FSL_ERRATUM_A009007
Ran Wangb358b7b2017-09-04 18:46:48 +080035 select SYS_FSL_ERRATUM_A009008
Rajesh Bhagatcd786e82018-11-05 18:01:48 +000036 select SYS_FSL_ERRATUM_A009660 if !TFABOOT
37 select SYS_FSL_ERRATUM_A009663 if !TFABOOT
Ran Wang9e8fabc2017-09-04 18:46:49 +080038 select SYS_FSL_ERRATUM_A009798
York Sun1dc61ca2016-12-28 08:43:41 -080039 select SYS_FSL_ERRATUM_A009929
Rajesh Bhagatcd786e82018-11-05 18:01:48 +000040 select SYS_FSL_ERRATUM_A009942 if !TFABOOT
York Sun149eb332016-09-26 08:09:27 -070041 select SYS_FSL_ERRATUM_A010315
Hou Zhiqiangc06b30a2016-09-29 12:42:44 +080042 select SYS_FSL_ERRATUM_A010539
York Sund297d392016-12-28 08:43:40 -080043 select SYS_FSL_HAS_DDR3
44 select SYS_FSL_HAS_DDR4
Simon Glass62adede2017-01-23 13:31:19 -070045 select ARCH_EARLY_INIT_R
Simon Glass7a99a872017-01-23 13:31:20 -070046 select BOARD_EARLY_INIT_F
Sriram Dash7122a0c2018-02-06 11:26:30 +053047 select SYS_I2C_MXC
48 select SYS_I2C_MXC_I2C1
49 select SYS_I2C_MXC_I2C2
50 select SYS_I2C_MXC_I2C3
51 select SYS_I2C_MXC_I2C4
Simon Glass0e5faf02017-06-14 21:28:21 -060052 imply SCSI
Tuomas Tynkkynenedf9f622017-12-08 15:36:19 +020053 imply SCSI_AHCI
Simon Glassc88a09a2017-08-04 16:34:34 -060054 imply CMD_PCI
York Sunb3d71642016-09-26 08:09:26 -070055
York Sunbad49842016-09-26 08:09:24 -070056config ARCH_LS1046A
York Sunfcd0e742016-10-04 14:31:47 -070057 bool
Hou Zhiqiang4d1525a2017-01-06 17:41:11 +080058 select ARMV8_SET_SMPEN
York Sun4dd8c612016-10-04 14:31:48 -070059 select FSL_LSCH2
Sriram Dash4a943332018-01-30 15:58:44 +053060 select SYS_FSL_SRDS_1
61 select SYS_HAS_SERDES
York Sund297d392016-12-28 08:43:40 -080062 select SYS_FSL_DDR
York Sunb6fffd82016-10-04 18:03:08 -070063 select SYS_FSL_DDR_BE
York Sunb6fffd82016-10-04 18:03:08 -070064 select SYS_FSL_DDR_VER_50
Rajesh Bhagatcd786e82018-11-05 18:01:48 +000065 select SYS_FSL_ERRATUM_A008336 if !TFABOOT
66 select SYS_FSL_ERRATUM_A008511 if !TFABOOT
67 select SYS_FSL_ERRATUM_A008850 if !TFABOOT
Ran Wange64f7472017-09-04 18:46:50 +080068 select SYS_FSL_ERRATUM_A008997
Ran Wang3ba69482017-09-04 18:46:51 +080069 select SYS_FSL_ERRATUM_A009007
Ran Wangb358b7b2017-09-04 18:46:48 +080070 select SYS_FSL_ERRATUM_A009008
Ran Wang9e8fabc2017-09-04 18:46:49 +080071 select SYS_FSL_ERRATUM_A009798
York Sun1dc61ca2016-12-28 08:43:41 -080072 select SYS_FSL_ERRATUM_A009801
Rajesh Bhagatcd786e82018-11-05 18:01:48 +000073 select SYS_FSL_ERRATUM_A009803 if !TFABOOT
74 select SYS_FSL_ERRATUM_A009942 if !TFABOOT
75 select SYS_FSL_ERRATUM_A010165 if !TFABOOT
Hou Zhiqiangc06b30a2016-09-29 12:42:44 +080076 select SYS_FSL_ERRATUM_A010539
York Sund297d392016-12-28 08:43:40 -080077 select SYS_FSL_HAS_DDR4
York Sun6b62ef02016-10-04 18:01:34 -070078 select SYS_FSL_SRDS_2
Simon Glass62adede2017-01-23 13:31:19 -070079 select ARCH_EARLY_INIT_R
Simon Glass7a99a872017-01-23 13:31:20 -070080 select BOARD_EARLY_INIT_F
Sriram Dash7122a0c2018-02-06 11:26:30 +053081 select SYS_I2C_MXC
82 select SYS_I2C_MXC_I2C1
83 select SYS_I2C_MXC_I2C2
84 select SYS_I2C_MXC_I2C3
85 select SYS_I2C_MXC_I2C4
Simon Glass0e5faf02017-06-14 21:28:21 -060086 imply SCSI
Tuomas Tynkkynenedf9f622017-12-08 15:36:19 +020087 imply SCSI_AHCI
York Sunb3d71642016-09-26 08:09:26 -070088
Ashish Kumarb25faa22017-08-31 16:12:53 +053089config ARCH_LS1088A
90 bool
91 select ARMV8_SET_SMPEN
Pankit Gargf5c2a832018-12-27 04:37:55 +000092 select ARM_ERRATA_855873 if !TFABOOT
Ashish Kumarb25faa22017-08-31 16:12:53 +053093 select FSL_LSCH3
Sriram Dash4a943332018-01-30 15:58:44 +053094 select SYS_FSL_SRDS_1
95 select SYS_HAS_SERDES
Ashish Kumarb25faa22017-08-31 16:12:53 +053096 select SYS_FSL_DDR
97 select SYS_FSL_DDR_LE
98 select SYS_FSL_DDR_VER_50
Ashish Kumarec455e22017-08-31 16:37:31 +053099 select SYS_FSL_EC1
100 select SYS_FSL_EC2
Pankit Gargf5c2a832018-12-27 04:37:55 +0000101 select SYS_FSL_ERRATUM_A009803 if !TFABOOT
102 select SYS_FSL_ERRATUM_A009942 if !TFABOOT
103 select SYS_FSL_ERRATUM_A010165 if !TFABOOT
104 select SYS_FSL_ERRATUM_A008511 if !TFABOOT
105 select SYS_FSL_ERRATUM_A008850 if !TFABOOT
Ran Wangef277072017-09-22 15:21:34 +0800106 select SYS_FSL_ERRATUM_A009007
Ashish Kumarb25faa22017-08-31 16:12:53 +0530107 select SYS_FSL_HAS_CCI400
108 select SYS_FSL_HAS_DDR4
Ashish Kumarec455e22017-08-31 16:37:31 +0530109 select SYS_FSL_HAS_RGMII
Ashish Kumarb25faa22017-08-31 16:12:53 +0530110 select SYS_FSL_HAS_SEC
111 select SYS_FSL_SEC_COMPAT_5
112 select SYS_FSL_SEC_LE
113 select SYS_FSL_SRDS_1
114 select SYS_FSL_SRDS_2
115 select FSL_TZASC_1
Rajesh Bhagat5756f7e2019-01-20 05:30:06 +0000116 select FSL_TZASC_400
117 select FSL_TZPC_BP147
Ashish Kumarb25faa22017-08-31 16:12:53 +0530118 select ARCH_EARLY_INIT_R
119 select BOARD_EARLY_INIT_F
Sriram Dash7122a0c2018-02-06 11:26:30 +0530120 select SYS_I2C_MXC
121 select SYS_I2C_MXC_I2C1
122 select SYS_I2C_MXC_I2C2
123 select SYS_I2C_MXC_I2C3
124 select SYS_I2C_MXC_I2C4
Ashish Kumara179e562017-11-02 09:50:47 +0530125 imply SCSI
Masahiro Yamadaacede7a2017-12-04 12:37:00 +0900126 imply PANIC_HANG
Ashish Kumarb25faa22017-08-31 16:12:53 +0530127
York Sunfcd0e742016-10-04 14:31:47 -0700128config ARCH_LS2080A
129 bool
Hou Zhiqiang4d1525a2017-01-06 17:41:11 +0800130 select ARMV8_SET_SMPEN
Tom Rinibacb52c2017-03-07 07:13:42 -0500131 select ARM_ERRATA_826974
132 select ARM_ERRATA_828024
133 select ARM_ERRATA_829520
134 select ARM_ERRATA_833471
York Sun4dd8c612016-10-04 14:31:48 -0700135 select FSL_LSCH3
Sriram Dash4a943332018-01-30 15:58:44 +0530136 select SYS_FSL_SRDS_1
137 select SYS_HAS_SERDES
York Sund297d392016-12-28 08:43:40 -0800138 select SYS_FSL_DDR
York Sunb6fffd82016-10-04 18:03:08 -0700139 select SYS_FSL_DDR_LE
140 select SYS_FSL_DDR_VER_50
Ashish Kumar97393d62017-08-18 10:54:36 +0530141 select SYS_FSL_HAS_CCN504
York Sun6b62ef02016-10-04 18:01:34 -0700142 select SYS_FSL_HAS_DP_DDR
York Sun92c36e22016-12-28 08:43:30 -0800143 select SYS_FSL_HAS_SEC
York Sund297d392016-12-28 08:43:40 -0800144 select SYS_FSL_HAS_DDR4
York Sun92c36e22016-12-28 08:43:30 -0800145 select SYS_FSL_SEC_COMPAT_5
York Sunfa4199422016-12-28 08:43:31 -0800146 select SYS_FSL_SEC_LE
York Sun6b62ef02016-10-04 18:01:34 -0700147 select SYS_FSL_SRDS_2
Ashish kumar76bd6ce2017-04-07 11:40:32 +0530148 select FSL_TZASC_1
149 select FSL_TZASC_2
Rajesh Bhagat5756f7e2019-01-20 05:30:06 +0000150 select FSL_TZASC_400
151 select FSL_TZPC_BP147
Rajesh Bhagatd5691be2018-12-27 04:37:59 +0000152 select SYS_FSL_ERRATUM_A008336 if !TFABOOT
153 select SYS_FSL_ERRATUM_A008511 if !TFABOOT
154 select SYS_FSL_ERRATUM_A008514 if !TFABOOT
York Sun1dc61ca2016-12-28 08:43:41 -0800155 select SYS_FSL_ERRATUM_A008585
Ran Wange64f7472017-09-04 18:46:50 +0800156 select SYS_FSL_ERRATUM_A008997
Ran Wang3ba69482017-09-04 18:46:51 +0800157 select SYS_FSL_ERRATUM_A009007
Ran Wangb358b7b2017-09-04 18:46:48 +0800158 select SYS_FSL_ERRATUM_A009008
York Sun1dc61ca2016-12-28 08:43:41 -0800159 select SYS_FSL_ERRATUM_A009635
Rajesh Bhagatd5691be2018-12-27 04:37:59 +0000160 select SYS_FSL_ERRATUM_A009663 if !TFABOOT
Ran Wang9e8fabc2017-09-04 18:46:49 +0800161 select SYS_FSL_ERRATUM_A009798
York Sun1dc61ca2016-12-28 08:43:41 -0800162 select SYS_FSL_ERRATUM_A009801
Rajesh Bhagatd5691be2018-12-27 04:37:59 +0000163 select SYS_FSL_ERRATUM_A009803 if !TFABOOT
164 select SYS_FSL_ERRATUM_A009942 if !TFABOOT
165 select SYS_FSL_ERRATUM_A010165 if !TFABOOT
Ashish kumar3b52a232017-02-23 16:03:57 +0530166 select SYS_FSL_ERRATUM_A009203
Simon Glass62adede2017-01-23 13:31:19 -0700167 select ARCH_EARLY_INIT_R
Simon Glass7a99a872017-01-23 13:31:20 -0700168 select BOARD_EARLY_INIT_F
Sriram Dash7122a0c2018-02-06 11:26:30 +0530169 select SYS_I2C_MXC
170 select SYS_I2C_MXC_I2C1
171 select SYS_I2C_MXC_I2C2
172 select SYS_I2C_MXC_I2C3
173 select SYS_I2C_MXC_I2C4
Masahiro Yamada9afc6c52018-04-25 18:47:52 +0900174 imply DISTRO_DEFAULTS
Masahiro Yamadaacede7a2017-12-04 12:37:00 +0900175 imply PANIC_HANG
York Sun4dd8c612016-10-04 14:31:48 -0700176
Priyanka Jainef76b2e2018-10-29 09:17:09 +0000177config ARCH_LX2160A
178 bool
179 select ARMV8_SET_SMPEN
180 select FSL_LSCH3
181 select NXP_LSCH3_2
182 select SYS_HAS_SERDES
183 select SYS_FSL_SRDS_1
184 select SYS_FSL_SRDS_2
185 select SYS_NXP_SRDS_3
186 select SYS_FSL_DDR
187 select SYS_FSL_DDR_LE
188 select SYS_FSL_DDR_VER_50
189 select SYS_FSL_EC1
190 select SYS_FSL_EC2
191 select SYS_FSL_HAS_RGMII
192 select SYS_FSL_HAS_SEC
193 select SYS_FSL_HAS_CCN508
194 select SYS_FSL_HAS_DDR4
195 select SYS_FSL_SEC_COMPAT_5
196 select SYS_FSL_SEC_LE
197 select ARCH_EARLY_INIT_R
198 select BOARD_EARLY_INIT_F
199 select SYS_I2C_MXC
200 select SYS_I2C_MXC_I2C1
201 select SYS_I2C_MXC_I2C2
202 select SYS_I2C_MXC_I2C3
203 select SYS_I2C_MXC_I2C4
204 select SYS_I2C_MXC_I2C5
205 select SYS_I2C_MXC_I2C6
206 select SYS_I2C_MXC_I2C7
207 select SYS_I2C_MXC_I2C8
208 imply DISTRO_DEFAULTS
209 imply PANIC_HANG
210 imply SCSI
211 imply SCSI_AHCI
212
York Sun4dd8c612016-10-04 14:31:48 -0700213config FSL_LSCH2
214 bool
Ashish Kumar11234062017-08-11 11:09:14 +0530215 select SYS_FSL_HAS_CCI400
York Sun92c36e22016-12-28 08:43:30 -0800216 select SYS_FSL_HAS_SEC
217 select SYS_FSL_SEC_COMPAT_5
York Sunfa4199422016-12-28 08:43:31 -0800218 select SYS_FSL_SEC_BE
York Sun4dd8c612016-10-04 14:31:48 -0700219
220config FSL_LSCH3
221 bool
222
Priyanka Jain88c25662018-10-29 09:11:29 +0000223config NXP_LSCH3_2
224 bool
225
York Sun6c089742017-03-06 09:02:25 -0800226config FSL_MC_ENET
227 bool "Management Complex network"
Priyanka Jainef76b2e2018-10-29 09:17:09 +0000228 depends on ARCH_LS2080A || ARCH_LS1088A || ARCH_LX2160A
York Sun6c089742017-03-06 09:02:25 -0800229 default y
230 select RESV_RAM
231 help
232 Enable Management Complex (MC) network
233
York Sun4dd8c612016-10-04 14:31:48 -0700234menu "Layerscape architecture"
235 depends on FSL_LSCH2 || FSL_LSCH3
York Sunfcd0e742016-10-04 14:31:47 -0700236
Hou Zhiqiangd553bf22016-12-13 14:54:24 +0800237config FSL_PCIE_COMPAT
238 string "PCIe compatible of Kernel DT"
239 depends on PCIE_LAYERSCAPE
240 default "fsl,ls1012a-pcie" if ARCH_LS1012A
241 default "fsl,ls1043a-pcie" if ARCH_LS1043A
242 default "fsl,ls1046a-pcie" if ARCH_LS1046A
243 default "fsl,ls2080a-pcie" if ARCH_LS2080A
Ashish Kumarb25faa22017-08-31 16:12:53 +0530244 default "fsl,ls1088a-pcie" if ARCH_LS1088A
Priyanka Jainef76b2e2018-10-29 09:17:09 +0000245 default "fsl,lx2160a-pcie" if ARCH_LX2160A
Hou Zhiqiangd553bf22016-12-13 14:54:24 +0800246 help
247 This compatible is used to find pci controller node in Kernel DT
248 to complete fixup.
249
Wenbin Songa8f57a92017-01-17 18:31:15 +0800250config HAS_FEATURE_GIC64K_ALIGN
251 bool
252 default y if ARCH_LS1043A
253
Wenbin Songc6bc7c02017-01-17 18:31:16 +0800254config HAS_FEATURE_ENHANCED_MSI
255 bool
256 default y if ARCH_LS1043A
Wenbin Songa8f57a92017-01-17 18:31:15 +0800257
macro.wave.z@gmail.comec2d7ed2016-12-08 11:58:21 +0800258menu "Layerscape PPA"
259config FSL_LS_PPA
260 bool "FSL Layerscape PPA firmware support"
macro.wave.z@gmail.com01bd3342016-12-08 11:58:22 +0800261 depends on !ARMV8_PSCI
Hou Zhiqiangbff56d52017-01-16 17:31:49 +0800262 select ARMV8_SEC_FIRMWARE_SUPPORT
Hou Zhiqiang6be115d2017-01-16 17:31:48 +0800263 select SEC_FIRMWARE_ARMV8_PSCI
Hou Zhiqiangbff56d52017-01-16 17:31:49 +0800264 select ARMV8_SEC_FIRMWARE_ERET_ADDR_REVERT if FSL_LSCH2
macro.wave.z@gmail.comec2d7ed2016-12-08 11:58:21 +0800265 help
266 The FSL Primary Protected Application (PPA) is a software component
267 which is loaded during boot stage, and then remains resident in RAM
268 and runs in the TrustZone after boot.
269 Say y to enable it.
York Sunf2aaf842017-05-15 08:52:00 -0700270
271config SPL_FSL_LS_PPA
272 bool "FSL Layerscape PPA firmware support for SPL build"
273 depends on !ARMV8_PSCI
274 select SPL_ARMV8_SEC_FIRMWARE_SUPPORT
275 select SEC_FIRMWARE_ARMV8_PSCI
276 select ARMV8_SEC_FIRMWARE_ERET_ADDR_REVERT if FSL_LSCH2
277 help
278 The FSL Primary Protected Application (PPA) is a software component
279 which is loaded during boot stage, and then remains resident in RAM
280 and runs in the TrustZone after boot. This is to load PPA during SPL
281 stage instead of the RAM version of U-Boot. Once PPA is initialized,
282 the rest of U-Boot (including RAM version) runs at EL2.
Hou Zhiqiangbff56d52017-01-16 17:31:49 +0800283choice
284 prompt "FSL Layerscape PPA firmware loading-media select"
285 depends on FSL_LS_PPA
Hou Zhiqiangbd6e2cd2017-03-17 16:12:33 +0800286 default SYS_LS_PPA_FW_IN_MMC if SD_BOOT
287 default SYS_LS_PPA_FW_IN_NAND if NAND_BOOT
Hou Zhiqiangbff56d52017-01-16 17:31:49 +0800288 default SYS_LS_PPA_FW_IN_XIP
289
290config SYS_LS_PPA_FW_IN_XIP
291 bool "XIP"
292 help
293 Say Y here if the PPA firmware locate at XIP flash, such
294 as NOR or QSPI flash.
295
Hou Zhiqiangbd6e2cd2017-03-17 16:12:33 +0800296config SYS_LS_PPA_FW_IN_MMC
297 bool "eMMC or SD Card"
298 help
299 Say Y here if the PPA firmware locate at eMMC/SD card.
300
301config SYS_LS_PPA_FW_IN_NAND
302 bool "NAND"
303 help
304 Say Y here if the PPA firmware locate at NAND flash.
305
Hou Zhiqiangbff56d52017-01-16 17:31:49 +0800306endchoice
307
Sumit Garg8fddf752017-04-20 05:09:11 +0530308config LS_PPA_ESBC_HDR_SIZE
309 hex "Length of PPA ESBC header"
310 depends on FSL_LS_PPA && CHAIN_OF_TRUST && !SYS_LS_PPA_FW_IN_XIP
311 default 0x2000
312 help
313 Length (in bytes) of PPA ESBC header to be copied from MMC/SD or
314 NAND to memory to validate PPA image.
315
macro.wave.z@gmail.comec2d7ed2016-12-08 11:58:21 +0800316endmenu
317
Ran Wange64f7472017-09-04 18:46:50 +0800318config SYS_FSL_ERRATUM_A008997
319 bool "Workaround for USB PHY erratum A008997"
320
Ran Wang3ba69482017-09-04 18:46:51 +0800321config SYS_FSL_ERRATUM_A009007
322 bool
323 help
324 Workaround for USB PHY erratum A009007
325
Ran Wangb358b7b2017-09-04 18:46:48 +0800326config SYS_FSL_ERRATUM_A009008
327 bool "Workaround for USB PHY erratum A009008"
328
Ran Wang9e8fabc2017-09-04 18:46:49 +0800329config SYS_FSL_ERRATUM_A009798
330 bool "Workaround for USB PHY erratum A009798"
331
York Sun149eb332016-09-26 08:09:27 -0700332config SYS_FSL_ERRATUM_A010315
333 bool "Workaround for PCIe erratum A010315"
Hou Zhiqiangc06b30a2016-09-29 12:42:44 +0800334
335config SYS_FSL_ERRATUM_A010539
336 bool "Workaround for PIN MUX erratum A010539"
York Sun4dd8c612016-10-04 14:31:48 -0700337
York Sunf188d222016-10-04 14:45:01 -0700338config MAX_CPUS
339 int "Maximum number of CPUs permitted for Layerscape"
340 default 4 if ARCH_LS1043A
341 default 4 if ARCH_LS1046A
342 default 16 if ARCH_LS2080A
Ashish Kumarb25faa22017-08-31 16:12:53 +0530343 default 8 if ARCH_LS1088A
Priyanka Jainef76b2e2018-10-29 09:17:09 +0000344 default 16 if ARCH_LX2160A
York Sunf188d222016-10-04 14:45:01 -0700345 default 1
346 help
347 Set this number to the maximum number of possible CPUs in the SoC.
348 SoCs may have multiple clusters with each cluster may have multiple
349 ports. If some ports are reserved but higher ports are used for
350 cores, count the reserved ports. This will allocate enough memory
351 in spin table to properly handle all cores.
352
Meenakshi Aggarwalbbd33182018-11-30 22:32:11 +0530353config EMC2305
354 bool "Fan controller"
355 help
356 Enable the EMC2305 fan controller for configuration of fan
357 speed.
358
York Sun728e7002016-12-02 09:32:35 -0800359config SECURE_BOOT
York Sun8a3d8ed2017-01-04 10:32:08 -0800360 bool "Secure Boot"
York Sun728e7002016-12-02 09:32:35 -0800361 help
362 Enable Freescale Secure Boot feature
363
Yuan Yao52ae4fd2016-12-01 10:13:52 +0800364config QSPI_AHB_INIT
365 bool "Init the QSPI AHB bus"
366 help
367 The default setting for QSPI AHB bus just support 3bytes addressing.
368 But some QSPI flash size up to 64MBytes, so initialize the QSPI AHB
369 bus for those flashes to support the full QSPI flash size.
370
Ashish Kumar11234062017-08-11 11:09:14 +0530371config SYS_CCI400_OFFSET
372 hex "Offset for CCI400 base"
373 depends on SYS_FSL_HAS_CCI400
374 default 0x3090000 if ARCH_LS1088A
375 default 0x180000 if FSL_LSCH2
376 help
377 Offset for CCI400 base
378 CCI400 base addr = CCSRBAR + CCI400_OFFSET
379
York Sune7310a32016-10-04 14:45:54 -0700380config SYS_FSL_IFC_BANK_COUNT
381 int "Maximum banks of Integrated flash controller"
Ashish Kumarb25faa22017-08-31 16:12:53 +0530382 depends on ARCH_LS1043A || ARCH_LS1046A || ARCH_LS2080A || ARCH_LS1088A
York Sune7310a32016-10-04 14:45:54 -0700383 default 4 if ARCH_LS1043A
384 default 4 if ARCH_LS1046A
Ashish Kumarb25faa22017-08-31 16:12:53 +0530385 default 8 if ARCH_LS2080A || ARCH_LS1088A
York Sune7310a32016-10-04 14:45:54 -0700386
Ashish Kumar11234062017-08-11 11:09:14 +0530387config SYS_FSL_HAS_CCI400
388 bool
389
Ashish Kumar97393d62017-08-18 10:54:36 +0530390config SYS_FSL_HAS_CCN504
391 bool
392
Priyanka Jainef76b2e2018-10-29 09:17:09 +0000393config SYS_FSL_HAS_CCN508
394 bool
395
York Sun0dc9abb2016-10-04 14:46:50 -0700396config SYS_FSL_HAS_DP_DDR
397 bool
398
York Sun6b62ef02016-10-04 18:01:34 -0700399config SYS_FSL_SRDS_1
400 bool
401
402config SYS_FSL_SRDS_2
403 bool
404
Priyanka Jain1a602532018-09-27 10:32:05 +0530405config SYS_NXP_SRDS_3
406 bool
407
York Sun6b62ef02016-10-04 18:01:34 -0700408config SYS_HAS_SERDES
409 bool
410
Ashish kumar76bd6ce2017-04-07 11:40:32 +0530411config FSL_TZASC_1
412 bool
413
414config FSL_TZASC_2
415 bool
416
Rajesh Bhagat5756f7e2019-01-20 05:30:06 +0000417config FSL_TZASC_400
418 bool
419
420config FSL_TZPC_BP147
421 bool
York Sun4dd8c612016-10-04 14:31:48 -0700422endmenu
York Sun1dc61ca2016-12-28 08:43:41 -0800423
Hou Zhiqiang3f91cda2017-01-10 16:44:15 +0800424menu "Layerscape clock tree configuration"
425 depends on FSL_LSCH2 || FSL_LSCH3
426
427config SYS_FSL_CLK
428 bool "Enable clock tree initialization"
429 default y
430
431config CLUSTER_CLK_FREQ
432 int "Reference clock of core cluster"
433 depends on ARCH_LS1012A
434 default 100000000
435 help
436 This number is the reference clock frequency of core PLL.
437 For most platforms, the core PLL and Platform PLL have the same
438 reference clock, but for some platforms, LS1012A for instance,
439 they are provided sepatately.
440
441config SYS_FSL_PCLK_DIV
442 int "Platform clock divider"
443 default 1 if ARCH_LS1043A
444 default 1 if ARCH_LS1046A
Ashish Kumarb25faa22017-08-31 16:12:53 +0530445 default 1 if ARCH_LS1088A
Hou Zhiqiang3f91cda2017-01-10 16:44:15 +0800446 default 2
447 help
448 This is the divider that is used to derive Platform clock from
449 Platform PLL, in another word:
450 Platform_clk = Platform_PLL_freq / this_divider
451
452config SYS_FSL_DSPI_CLK_DIV
453 int "DSPI clock divider"
454 default 1 if ARCH_LS1043A
455 default 2
456 help
457 This is the divider that is used to derive DSPI clock from Platform
Hou Zhiqiang0c8fcb62017-07-03 18:37:11 +0800458 clock, in another word DSPI_clk = Platform_clk / this_divider.
Hou Zhiqiang3f91cda2017-01-10 16:44:15 +0800459
460config SYS_FSL_DUART_CLK_DIV
461 int "DUART clock divider"
462 default 1 if ARCH_LS1043A
Priyanka Jainef76b2e2018-10-29 09:17:09 +0000463 default 4 if ARCH_LX2160A
Hou Zhiqiang3f91cda2017-01-10 16:44:15 +0800464 default 2
465 help
466 This is the divider that is used to derive DUART clock from Platform
467 clock, in another word DUART_clk = Platform_clk / this_divider.
468
469config SYS_FSL_I2C_CLK_DIV
470 int "I2C clock divider"
471 default 1 if ARCH_LS1043A
472 default 2
473 help
474 This is the divider that is used to derive I2C clock from Platform
475 clock, in another word I2C_clk = Platform_clk / this_divider.
476
477config SYS_FSL_IFC_CLK_DIV
478 int "IFC clock divider"
479 default 1 if ARCH_LS1043A
480 default 2
481 help
482 This is the divider that is used to derive IFC clock from Platform
483 clock, in another word IFC_clk = Platform_clk / this_divider.
484
485config SYS_FSL_LPUART_CLK_DIV
486 int "LPUART clock divider"
487 default 1 if ARCH_LS1043A
488 default 2
489 help
490 This is the divider that is used to derive LPUART clock from Platform
491 clock, in another word LPUART_clk = Platform_clk / this_divider.
492
493config SYS_FSL_SDHC_CLK_DIV
494 int "SDHC clock divider"
495 default 1 if ARCH_LS1043A
496 default 1 if ARCH_LS1012A
497 default 2
498 help
499 This is the divider that is used to derive SDHC clock from Platform
500 clock, in another word SDHC_clk = Platform_clk / this_divider.
Hou Zhiqiangfef32c62018-04-25 16:28:44 +0800501
502config SYS_FSL_QMAN_CLK_DIV
503 int "QMAN clock divider"
504 default 1 if ARCH_LS1043A
505 default 2
506 help
507 This is the divider that is used to derive QMAN clock from Platform
508 clock, in another word QMAN_clk = Platform_clk / this_divider.
Hou Zhiqiang3f91cda2017-01-10 16:44:15 +0800509endmenu
510
York Sund6964b32017-03-06 09:02:24 -0800511config RESV_RAM
512 bool
513 help
514 Reserve memory from the top, tracked by gd->arch.resv_ram. This
515 reserved RAM can be used by special driver that resides in memory
516 after U-Boot exits. It's up to implementation to allocate and allow
517 access to this reserved memory. For example, the reserved RAM can
518 be at the high end of physical memory. The reserve RAM may be
519 excluded from memory bank(s) passed to OS, or marked as reserved.
520
Ashish Kumarec455e22017-08-31 16:37:31 +0530521config SYS_FSL_EC1
522 bool
523 help
Priyanka Jainef76b2e2018-10-29 09:17:09 +0000524 Ethernet controller 1, this is connected to
525 MAC17 for LX2160A or to MAC3 for other SoCs
Ashish Kumarec455e22017-08-31 16:37:31 +0530526 Provides DPAA2 capabilities
527
528config SYS_FSL_EC2
529 bool
530 help
Priyanka Jainef76b2e2018-10-29 09:17:09 +0000531 Ethernet controller 2, this is connected to
532 MAC18 for LX2160A or to MAC4 for other SoCs
Ashish Kumarec455e22017-08-31 16:37:31 +0530533 Provides DPAA2 capabilities
534
York Sun1dc61ca2016-12-28 08:43:41 -0800535config SYS_FSL_ERRATUM_A008336
536 bool
537
538config SYS_FSL_ERRATUM_A008514
539 bool
540
541config SYS_FSL_ERRATUM_A008585
542 bool
543
544config SYS_FSL_ERRATUM_A008850
545 bool
546
Ashish kumar3b52a232017-02-23 16:03:57 +0530547config SYS_FSL_ERRATUM_A009203
548 bool
549
York Sun1dc61ca2016-12-28 08:43:41 -0800550config SYS_FSL_ERRATUM_A009635
551 bool
552
553config SYS_FSL_ERRATUM_A009660
554 bool
555
556config SYS_FSL_ERRATUM_A009929
557 bool
York Sun1a770752017-03-06 09:02:26 -0800558
Ashish Kumarec455e22017-08-31 16:37:31 +0530559
560config SYS_FSL_HAS_RGMII
561 bool
562 depends on SYS_FSL_EC1 || SYS_FSL_EC2
563
564
York Sun1a770752017-03-06 09:02:26 -0800565config SYS_MC_RSV_MEM_ALIGN
566 hex "Management Complex reserved memory alignment"
567 depends on RESV_RAM
Priyanka Jainef76b2e2018-10-29 09:17:09 +0000568 default 0x20000000 if ARCH_LS2080A || ARCH_LS1088A || ARCH_LX2160A
York Sun1a770752017-03-06 09:02:26 -0800569 help
570 Reserved memory needs to be aligned for MC to use. Default value
571 is 512MB.
Philipp Tomsich2d6a0cc2017-08-03 23:23:55 +0200572
573config SPL_LDSCRIPT
574 default "arch/arm/cpu/armv8/u-boot-spl.lds" if ARCH_LS1043A || ARCH_LS1046A || ARCH_LS2080A
Ran Wang5959f842017-10-23 10:09:21 +0800575
576config HAS_FSL_XHCI_USB
577 bool
578 default y if ARCH_LS1043A || ARCH_LS1046A
579 help
580 For some SoC(such as LS1043A and LS1046A), USB and QE-HDLC multiplex use
581 pins, select it when the pins are assigned to USB.
Rajesh Bhagat5efbecf2018-11-05 18:01:37 +0000582
583config TFABOOT
584 bool "Support for booting from TFA"
585 default n
586 help
587 Enabling this will make a U-Boot binary that is capable of being
588 booted via TFA.