blob: ab9213f954eb35a69594c65d52b06ecc853899be [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
Rajesh Bhagat52d237a2019-01-25 13:36:26 +00005 select FSL_LAYERSCAPE
York Sun4dd8c612016-10-04 14:31:48 -07006 select FSL_LSCH2
Sriram Dash4a943332018-01-30 15:58:44 +05307 select SYS_FSL_SRDS_1
8 select SYS_HAS_SERDES
York Sunb6fffd82016-10-04 18:03:08 -07009 select SYS_FSL_DDR_BE
York Sunb3d71642016-09-26 08:09:26 -070010 select SYS_FSL_MMDC
York Sun149eb332016-09-26 08:09:27 -070011 select SYS_FSL_ERRATUM_A010315
Ran Wang02dc77b2017-11-13 16:14:48 +080012 select SYS_FSL_ERRATUM_A009798
13 select SYS_FSL_ERRATUM_A008997
14 select SYS_FSL_ERRATUM_A009007
15 select SYS_FSL_ERRATUM_A009008
Simon Glass62adede2017-01-23 13:31:19 -070016 select ARCH_EARLY_INIT_R
Simon Glass7a99a872017-01-23 13:31:20 -070017 select BOARD_EARLY_INIT_F
Sriram Dash7122a0c2018-02-06 11:26:30 +053018 select SYS_I2C_MXC
19 select SYS_I2C_MXC_I2C1
20 select SYS_I2C_MXC_I2C2
Masahiro Yamadaacede7a2017-12-04 12:37:00 +090021 imply PANIC_HANG
York Sun149eb332016-09-26 08:09:27 -070022
23config ARCH_LS1043A
York Sunfcd0e742016-10-04 14:31:47 -070024 bool
Hou Zhiqiang4d1525a2017-01-06 17:41:11 +080025 select ARMV8_SET_SMPEN
Rajesh Bhagatcd786e82018-11-05 18:01:48 +000026 select ARM_ERRATA_855873 if !TFABOOT
Rajesh Bhagat52d237a2019-01-25 13:36:26 +000027 select FSL_LAYERSCAPE
York Sun4dd8c612016-10-04 14:31:48 -070028 select FSL_LSCH2
Sriram Dash4a943332018-01-30 15:58:44 +053029 select SYS_FSL_SRDS_1
30 select SYS_HAS_SERDES
York Sund297d392016-12-28 08:43:40 -080031 select SYS_FSL_DDR
York Sunb6fffd82016-10-04 18:03:08 -070032 select SYS_FSL_DDR_BE
33 select SYS_FSL_DDR_VER_50
Rajesh Bhagatcd786e82018-11-05 18:01:48 +000034 select SYS_FSL_ERRATUM_A008850 if !TFABOOT
Ran Wange64f7472017-09-04 18:46:50 +080035 select SYS_FSL_ERRATUM_A008997
Ran Wang3ba69482017-09-04 18:46:51 +080036 select SYS_FSL_ERRATUM_A009007
Ran Wangb358b7b2017-09-04 18:46:48 +080037 select SYS_FSL_ERRATUM_A009008
Rajesh Bhagatcd786e82018-11-05 18:01:48 +000038 select SYS_FSL_ERRATUM_A009660 if !TFABOOT
39 select SYS_FSL_ERRATUM_A009663 if !TFABOOT
Ran Wang9e8fabc2017-09-04 18:46:49 +080040 select SYS_FSL_ERRATUM_A009798
York Sun1dc61ca2016-12-28 08:43:41 -080041 select SYS_FSL_ERRATUM_A009929
Rajesh Bhagatcd786e82018-11-05 18:01:48 +000042 select SYS_FSL_ERRATUM_A009942 if !TFABOOT
York Sun149eb332016-09-26 08:09:27 -070043 select SYS_FSL_ERRATUM_A010315
Hou Zhiqiangc06b30a2016-09-29 12:42:44 +080044 select SYS_FSL_ERRATUM_A010539
York Sund297d392016-12-28 08:43:40 -080045 select SYS_FSL_HAS_DDR3
46 select SYS_FSL_HAS_DDR4
Simon Glass62adede2017-01-23 13:31:19 -070047 select ARCH_EARLY_INIT_R
Simon Glass7a99a872017-01-23 13:31:20 -070048 select BOARD_EARLY_INIT_F
Sriram Dash7122a0c2018-02-06 11:26:30 +053049 select SYS_I2C_MXC
50 select SYS_I2C_MXC_I2C1
51 select SYS_I2C_MXC_I2C2
52 select SYS_I2C_MXC_I2C3
53 select SYS_I2C_MXC_I2C4
Simon Glass0e5faf02017-06-14 21:28:21 -060054 imply SCSI
Tuomas Tynkkynenedf9f622017-12-08 15:36:19 +020055 imply SCSI_AHCI
Simon Glassc88a09a2017-08-04 16:34:34 -060056 imply CMD_PCI
York Sunb3d71642016-09-26 08:09:26 -070057
York Sunbad49842016-09-26 08:09:24 -070058config ARCH_LS1046A
York Sunfcd0e742016-10-04 14:31:47 -070059 bool
Hou Zhiqiang4d1525a2017-01-06 17:41:11 +080060 select ARMV8_SET_SMPEN
Rajesh Bhagat52d237a2019-01-25 13:36:26 +000061 select FSL_LAYERSCAPE
York Sun4dd8c612016-10-04 14:31:48 -070062 select FSL_LSCH2
Sriram Dash4a943332018-01-30 15:58:44 +053063 select SYS_FSL_SRDS_1
64 select SYS_HAS_SERDES
York Sund297d392016-12-28 08:43:40 -080065 select SYS_FSL_DDR
York Sunb6fffd82016-10-04 18:03:08 -070066 select SYS_FSL_DDR_BE
York Sunb6fffd82016-10-04 18:03:08 -070067 select SYS_FSL_DDR_VER_50
Rajesh Bhagatcd786e82018-11-05 18:01:48 +000068 select SYS_FSL_ERRATUM_A008336 if !TFABOOT
69 select SYS_FSL_ERRATUM_A008511 if !TFABOOT
70 select SYS_FSL_ERRATUM_A008850 if !TFABOOT
Ran Wange64f7472017-09-04 18:46:50 +080071 select SYS_FSL_ERRATUM_A008997
Ran Wang3ba69482017-09-04 18:46:51 +080072 select SYS_FSL_ERRATUM_A009007
Ran Wangb358b7b2017-09-04 18:46:48 +080073 select SYS_FSL_ERRATUM_A009008
Ran Wang9e8fabc2017-09-04 18:46:49 +080074 select SYS_FSL_ERRATUM_A009798
York Sun1dc61ca2016-12-28 08:43:41 -080075 select SYS_FSL_ERRATUM_A009801
Rajesh Bhagatcd786e82018-11-05 18:01:48 +000076 select SYS_FSL_ERRATUM_A009803 if !TFABOOT
77 select SYS_FSL_ERRATUM_A009942 if !TFABOOT
78 select SYS_FSL_ERRATUM_A010165 if !TFABOOT
Hou Zhiqiangc06b30a2016-09-29 12:42:44 +080079 select SYS_FSL_ERRATUM_A010539
York Sund297d392016-12-28 08:43:40 -080080 select SYS_FSL_HAS_DDR4
York Sun6b62ef02016-10-04 18:01:34 -070081 select SYS_FSL_SRDS_2
Simon Glass62adede2017-01-23 13:31:19 -070082 select ARCH_EARLY_INIT_R
Simon Glass7a99a872017-01-23 13:31:20 -070083 select BOARD_EARLY_INIT_F
Sriram Dash7122a0c2018-02-06 11:26:30 +053084 select SYS_I2C_MXC
85 select SYS_I2C_MXC_I2C1
86 select SYS_I2C_MXC_I2C2
87 select SYS_I2C_MXC_I2C3
88 select SYS_I2C_MXC_I2C4
Simon Glass0e5faf02017-06-14 21:28:21 -060089 imply SCSI
Tuomas Tynkkynenedf9f622017-12-08 15:36:19 +020090 imply SCSI_AHCI
York Sunb3d71642016-09-26 08:09:26 -070091
Ashish Kumarb25faa22017-08-31 16:12:53 +053092config ARCH_LS1088A
93 bool
94 select ARMV8_SET_SMPEN
Pankit Gargf5c2a832018-12-27 04:37:55 +000095 select ARM_ERRATA_855873 if !TFABOOT
Rajesh Bhagat52d237a2019-01-25 13:36:26 +000096 select FSL_LAYERSCAPE
Ashish Kumarb25faa22017-08-31 16:12:53 +053097 select FSL_LSCH3
Sriram Dash4a943332018-01-30 15:58:44 +053098 select SYS_FSL_SRDS_1
99 select SYS_HAS_SERDES
Ashish Kumarb25faa22017-08-31 16:12:53 +0530100 select SYS_FSL_DDR
101 select SYS_FSL_DDR_LE
102 select SYS_FSL_DDR_VER_50
Ashish Kumarec455e22017-08-31 16:37:31 +0530103 select SYS_FSL_EC1
104 select SYS_FSL_EC2
Pankit Gargf5c2a832018-12-27 04:37:55 +0000105 select SYS_FSL_ERRATUM_A009803 if !TFABOOT
106 select SYS_FSL_ERRATUM_A009942 if !TFABOOT
107 select SYS_FSL_ERRATUM_A010165 if !TFABOOT
108 select SYS_FSL_ERRATUM_A008511 if !TFABOOT
109 select SYS_FSL_ERRATUM_A008850 if !TFABOOT
Ran Wangef277072017-09-22 15:21:34 +0800110 select SYS_FSL_ERRATUM_A009007
Ashish Kumarb25faa22017-08-31 16:12:53 +0530111 select SYS_FSL_HAS_CCI400
112 select SYS_FSL_HAS_DDR4
Ashish Kumarec455e22017-08-31 16:37:31 +0530113 select SYS_FSL_HAS_RGMII
Ashish Kumarb25faa22017-08-31 16:12:53 +0530114 select SYS_FSL_HAS_SEC
115 select SYS_FSL_SEC_COMPAT_5
116 select SYS_FSL_SEC_LE
117 select SYS_FSL_SRDS_1
118 select SYS_FSL_SRDS_2
119 select FSL_TZASC_1
Rajesh Bhagat5756f7e2019-01-20 05:30:06 +0000120 select FSL_TZASC_400
121 select FSL_TZPC_BP147
Ashish Kumarb25faa22017-08-31 16:12:53 +0530122 select ARCH_EARLY_INIT_R
123 select BOARD_EARLY_INIT_F
Sriram Dash7122a0c2018-02-06 11:26:30 +0530124 select SYS_I2C_MXC
125 select SYS_I2C_MXC_I2C1
126 select SYS_I2C_MXC_I2C2
127 select SYS_I2C_MXC_I2C3
128 select SYS_I2C_MXC_I2C4
Ashish Kumara179e562017-11-02 09:50:47 +0530129 imply SCSI
Masahiro Yamadaacede7a2017-12-04 12:37:00 +0900130 imply PANIC_HANG
Ashish Kumarb25faa22017-08-31 16:12:53 +0530131
York Sunfcd0e742016-10-04 14:31:47 -0700132config ARCH_LS2080A
133 bool
Hou Zhiqiang4d1525a2017-01-06 17:41:11 +0800134 select ARMV8_SET_SMPEN
Tom Rinibacb52c2017-03-07 07:13:42 -0500135 select ARM_ERRATA_826974
136 select ARM_ERRATA_828024
137 select ARM_ERRATA_829520
138 select ARM_ERRATA_833471
Rajesh Bhagat52d237a2019-01-25 13:36:26 +0000139 select FSL_LAYERSCAPE
York Sun4dd8c612016-10-04 14:31:48 -0700140 select FSL_LSCH3
Sriram Dash4a943332018-01-30 15:58:44 +0530141 select SYS_FSL_SRDS_1
142 select SYS_HAS_SERDES
York Sund297d392016-12-28 08:43:40 -0800143 select SYS_FSL_DDR
York Sunb6fffd82016-10-04 18:03:08 -0700144 select SYS_FSL_DDR_LE
145 select SYS_FSL_DDR_VER_50
Ashish Kumar97393d62017-08-18 10:54:36 +0530146 select SYS_FSL_HAS_CCN504
York Sun6b62ef02016-10-04 18:01:34 -0700147 select SYS_FSL_HAS_DP_DDR
York Sun92c36e22016-12-28 08:43:30 -0800148 select SYS_FSL_HAS_SEC
York Sund297d392016-12-28 08:43:40 -0800149 select SYS_FSL_HAS_DDR4
York Sun92c36e22016-12-28 08:43:30 -0800150 select SYS_FSL_SEC_COMPAT_5
York Sunfa4199422016-12-28 08:43:31 -0800151 select SYS_FSL_SEC_LE
York Sun6b62ef02016-10-04 18:01:34 -0700152 select SYS_FSL_SRDS_2
Ashish kumar76bd6ce2017-04-07 11:40:32 +0530153 select FSL_TZASC_1
154 select FSL_TZASC_2
Rajesh Bhagat5756f7e2019-01-20 05:30:06 +0000155 select FSL_TZASC_400
156 select FSL_TZPC_BP147
Rajesh Bhagatd5691be2018-12-27 04:37:59 +0000157 select SYS_FSL_ERRATUM_A008336 if !TFABOOT
158 select SYS_FSL_ERRATUM_A008511 if !TFABOOT
159 select SYS_FSL_ERRATUM_A008514 if !TFABOOT
York Sun1dc61ca2016-12-28 08:43:41 -0800160 select SYS_FSL_ERRATUM_A008585
Ran Wange64f7472017-09-04 18:46:50 +0800161 select SYS_FSL_ERRATUM_A008997
Ran Wang3ba69482017-09-04 18:46:51 +0800162 select SYS_FSL_ERRATUM_A009007
Ran Wangb358b7b2017-09-04 18:46:48 +0800163 select SYS_FSL_ERRATUM_A009008
York Sun1dc61ca2016-12-28 08:43:41 -0800164 select SYS_FSL_ERRATUM_A009635
Rajesh Bhagatd5691be2018-12-27 04:37:59 +0000165 select SYS_FSL_ERRATUM_A009663 if !TFABOOT
Ran Wang9e8fabc2017-09-04 18:46:49 +0800166 select SYS_FSL_ERRATUM_A009798
York Sun1dc61ca2016-12-28 08:43:41 -0800167 select SYS_FSL_ERRATUM_A009801
Rajesh Bhagatd5691be2018-12-27 04:37:59 +0000168 select SYS_FSL_ERRATUM_A009803 if !TFABOOT
169 select SYS_FSL_ERRATUM_A009942 if !TFABOOT
170 select SYS_FSL_ERRATUM_A010165 if !TFABOOT
Ashish kumar3b52a232017-02-23 16:03:57 +0530171 select SYS_FSL_ERRATUM_A009203
Simon Glass62adede2017-01-23 13:31:19 -0700172 select ARCH_EARLY_INIT_R
Simon Glass7a99a872017-01-23 13:31:20 -0700173 select BOARD_EARLY_INIT_F
Sriram Dash7122a0c2018-02-06 11:26:30 +0530174 select SYS_I2C_MXC
175 select SYS_I2C_MXC_I2C1
176 select SYS_I2C_MXC_I2C2
177 select SYS_I2C_MXC_I2C3
178 select SYS_I2C_MXC_I2C4
Masahiro Yamada9afc6c52018-04-25 18:47:52 +0900179 imply DISTRO_DEFAULTS
Masahiro Yamadaacede7a2017-12-04 12:37:00 +0900180 imply PANIC_HANG
York Sun4dd8c612016-10-04 14:31:48 -0700181
Priyanka Jainef76b2e2018-10-29 09:17:09 +0000182config ARCH_LX2160A
183 bool
184 select ARMV8_SET_SMPEN
185 select FSL_LSCH3
186 select NXP_LSCH3_2
187 select SYS_HAS_SERDES
188 select SYS_FSL_SRDS_1
189 select SYS_FSL_SRDS_2
190 select SYS_NXP_SRDS_3
191 select SYS_FSL_DDR
192 select SYS_FSL_DDR_LE
193 select SYS_FSL_DDR_VER_50
194 select SYS_FSL_EC1
195 select SYS_FSL_EC2
196 select SYS_FSL_HAS_RGMII
197 select SYS_FSL_HAS_SEC
198 select SYS_FSL_HAS_CCN508
199 select SYS_FSL_HAS_DDR4
200 select SYS_FSL_SEC_COMPAT_5
201 select SYS_FSL_SEC_LE
202 select ARCH_EARLY_INIT_R
203 select BOARD_EARLY_INIT_F
204 select SYS_I2C_MXC
205 select SYS_I2C_MXC_I2C1
206 select SYS_I2C_MXC_I2C2
207 select SYS_I2C_MXC_I2C3
208 select SYS_I2C_MXC_I2C4
209 select SYS_I2C_MXC_I2C5
210 select SYS_I2C_MXC_I2C6
211 select SYS_I2C_MXC_I2C7
212 select SYS_I2C_MXC_I2C8
213 imply DISTRO_DEFAULTS
214 imply PANIC_HANG
215 imply SCSI
216 imply SCSI_AHCI
217
York Sun4dd8c612016-10-04 14:31:48 -0700218config FSL_LSCH2
219 bool
Ashish Kumar11234062017-08-11 11:09:14 +0530220 select SYS_FSL_HAS_CCI400
York Sun92c36e22016-12-28 08:43:30 -0800221 select SYS_FSL_HAS_SEC
222 select SYS_FSL_SEC_COMPAT_5
York Sunfa4199422016-12-28 08:43:31 -0800223 select SYS_FSL_SEC_BE
York Sun4dd8c612016-10-04 14:31:48 -0700224
225config FSL_LSCH3
226 bool
227
Priyanka Jain88c25662018-10-29 09:11:29 +0000228config NXP_LSCH3_2
229 bool
230
York Sun6c089742017-03-06 09:02:25 -0800231config FSL_MC_ENET
232 bool "Management Complex network"
Priyanka Jainef76b2e2018-10-29 09:17:09 +0000233 depends on ARCH_LS2080A || ARCH_LS1088A || ARCH_LX2160A
York Sun6c089742017-03-06 09:02:25 -0800234 default y
235 select RESV_RAM
236 help
237 Enable Management Complex (MC) network
238
York Sun4dd8c612016-10-04 14:31:48 -0700239menu "Layerscape architecture"
240 depends on FSL_LSCH2 || FSL_LSCH3
York Sunfcd0e742016-10-04 14:31:47 -0700241
Rajesh Bhagat52d237a2019-01-25 13:36:26 +0000242config FSL_LAYERSCAPE
243 bool
244
Hou Zhiqiangd553bf22016-12-13 14:54:24 +0800245config FSL_PCIE_COMPAT
246 string "PCIe compatible of Kernel DT"
247 depends on PCIE_LAYERSCAPE
248 default "fsl,ls1012a-pcie" if ARCH_LS1012A
249 default "fsl,ls1043a-pcie" if ARCH_LS1043A
250 default "fsl,ls1046a-pcie" if ARCH_LS1046A
251 default "fsl,ls2080a-pcie" if ARCH_LS2080A
Ashish Kumarb25faa22017-08-31 16:12:53 +0530252 default "fsl,ls1088a-pcie" if ARCH_LS1088A
Priyanka Jainef76b2e2018-10-29 09:17:09 +0000253 default "fsl,lx2160a-pcie" if ARCH_LX2160A
Hou Zhiqiangd553bf22016-12-13 14:54:24 +0800254 help
255 This compatible is used to find pci controller node in Kernel DT
256 to complete fixup.
257
Wenbin Songa8f57a92017-01-17 18:31:15 +0800258config HAS_FEATURE_GIC64K_ALIGN
259 bool
260 default y if ARCH_LS1043A
261
Wenbin Songc6bc7c02017-01-17 18:31:16 +0800262config HAS_FEATURE_ENHANCED_MSI
263 bool
264 default y if ARCH_LS1043A
Wenbin Songa8f57a92017-01-17 18:31:15 +0800265
macro.wave.z@gmail.comec2d7ed2016-12-08 11:58:21 +0800266menu "Layerscape PPA"
267config FSL_LS_PPA
268 bool "FSL Layerscape PPA firmware support"
macro.wave.z@gmail.com01bd3342016-12-08 11:58:22 +0800269 depends on !ARMV8_PSCI
Hou Zhiqiangbff56d52017-01-16 17:31:49 +0800270 select ARMV8_SEC_FIRMWARE_SUPPORT
Hou Zhiqiang6be115d2017-01-16 17:31:48 +0800271 select SEC_FIRMWARE_ARMV8_PSCI
Hou Zhiqiangbff56d52017-01-16 17:31:49 +0800272 select ARMV8_SEC_FIRMWARE_ERET_ADDR_REVERT if FSL_LSCH2
macro.wave.z@gmail.comec2d7ed2016-12-08 11:58:21 +0800273 help
274 The FSL Primary Protected Application (PPA) is a software component
275 which is loaded during boot stage, and then remains resident in RAM
276 and runs in the TrustZone after boot.
277 Say y to enable it.
York Sunf2aaf842017-05-15 08:52:00 -0700278
279config SPL_FSL_LS_PPA
280 bool "FSL Layerscape PPA firmware support for SPL build"
281 depends on !ARMV8_PSCI
282 select SPL_ARMV8_SEC_FIRMWARE_SUPPORT
283 select SEC_FIRMWARE_ARMV8_PSCI
284 select ARMV8_SEC_FIRMWARE_ERET_ADDR_REVERT if FSL_LSCH2
285 help
286 The FSL Primary Protected Application (PPA) is a software component
287 which is loaded during boot stage, and then remains resident in RAM
288 and runs in the TrustZone after boot. This is to load PPA during SPL
289 stage instead of the RAM version of U-Boot. Once PPA is initialized,
290 the rest of U-Boot (including RAM version) runs at EL2.
Hou Zhiqiangbff56d52017-01-16 17:31:49 +0800291choice
292 prompt "FSL Layerscape PPA firmware loading-media select"
293 depends on FSL_LS_PPA
Hou Zhiqiangbd6e2cd2017-03-17 16:12:33 +0800294 default SYS_LS_PPA_FW_IN_MMC if SD_BOOT
295 default SYS_LS_PPA_FW_IN_NAND if NAND_BOOT
Hou Zhiqiangbff56d52017-01-16 17:31:49 +0800296 default SYS_LS_PPA_FW_IN_XIP
297
298config SYS_LS_PPA_FW_IN_XIP
299 bool "XIP"
300 help
301 Say Y here if the PPA firmware locate at XIP flash, such
302 as NOR or QSPI flash.
303
Hou Zhiqiangbd6e2cd2017-03-17 16:12:33 +0800304config SYS_LS_PPA_FW_IN_MMC
305 bool "eMMC or SD Card"
306 help
307 Say Y here if the PPA firmware locate at eMMC/SD card.
308
309config SYS_LS_PPA_FW_IN_NAND
310 bool "NAND"
311 help
312 Say Y here if the PPA firmware locate at NAND flash.
313
Hou Zhiqiangbff56d52017-01-16 17:31:49 +0800314endchoice
315
Sumit Garg8fddf752017-04-20 05:09:11 +0530316config LS_PPA_ESBC_HDR_SIZE
317 hex "Length of PPA ESBC header"
318 depends on FSL_LS_PPA && CHAIN_OF_TRUST && !SYS_LS_PPA_FW_IN_XIP
319 default 0x2000
320 help
321 Length (in bytes) of PPA ESBC header to be copied from MMC/SD or
322 NAND to memory to validate PPA image.
323
macro.wave.z@gmail.comec2d7ed2016-12-08 11:58:21 +0800324endmenu
325
Ran Wange64f7472017-09-04 18:46:50 +0800326config SYS_FSL_ERRATUM_A008997
327 bool "Workaround for USB PHY erratum A008997"
328
Ran Wang3ba69482017-09-04 18:46:51 +0800329config SYS_FSL_ERRATUM_A009007
330 bool
331 help
332 Workaround for USB PHY erratum A009007
333
Ran Wangb358b7b2017-09-04 18:46:48 +0800334config SYS_FSL_ERRATUM_A009008
335 bool "Workaround for USB PHY erratum A009008"
336
Ran Wang9e8fabc2017-09-04 18:46:49 +0800337config SYS_FSL_ERRATUM_A009798
338 bool "Workaround for USB PHY erratum A009798"
339
York Sun149eb332016-09-26 08:09:27 -0700340config SYS_FSL_ERRATUM_A010315
341 bool "Workaround for PCIe erratum A010315"
Hou Zhiqiangc06b30a2016-09-29 12:42:44 +0800342
343config SYS_FSL_ERRATUM_A010539
344 bool "Workaround for PIN MUX erratum A010539"
York Sun4dd8c612016-10-04 14:31:48 -0700345
York Sunf188d222016-10-04 14:45:01 -0700346config MAX_CPUS
347 int "Maximum number of CPUs permitted for Layerscape"
348 default 4 if ARCH_LS1043A
349 default 4 if ARCH_LS1046A
350 default 16 if ARCH_LS2080A
Ashish Kumarb25faa22017-08-31 16:12:53 +0530351 default 8 if ARCH_LS1088A
Priyanka Jainef76b2e2018-10-29 09:17:09 +0000352 default 16 if ARCH_LX2160A
York Sunf188d222016-10-04 14:45:01 -0700353 default 1
354 help
355 Set this number to the maximum number of possible CPUs in the SoC.
356 SoCs may have multiple clusters with each cluster may have multiple
357 ports. If some ports are reserved but higher ports are used for
358 cores, count the reserved ports. This will allocate enough memory
359 in spin table to properly handle all cores.
360
Meenakshi Aggarwalbbd33182018-11-30 22:32:11 +0530361config EMC2305
362 bool "Fan controller"
363 help
364 Enable the EMC2305 fan controller for configuration of fan
365 speed.
366
York Sun728e7002016-12-02 09:32:35 -0800367config SECURE_BOOT
York Sun8a3d8ed2017-01-04 10:32:08 -0800368 bool "Secure Boot"
York Sun728e7002016-12-02 09:32:35 -0800369 help
370 Enable Freescale Secure Boot feature
371
Yuan Yao52ae4fd2016-12-01 10:13:52 +0800372config QSPI_AHB_INIT
373 bool "Init the QSPI AHB bus"
374 help
375 The default setting for QSPI AHB bus just support 3bytes addressing.
376 But some QSPI flash size up to 64MBytes, so initialize the QSPI AHB
377 bus for those flashes to support the full QSPI flash size.
378
Ashish Kumar11234062017-08-11 11:09:14 +0530379config SYS_CCI400_OFFSET
380 hex "Offset for CCI400 base"
381 depends on SYS_FSL_HAS_CCI400
382 default 0x3090000 if ARCH_LS1088A
383 default 0x180000 if FSL_LSCH2
384 help
385 Offset for CCI400 base
386 CCI400 base addr = CCSRBAR + CCI400_OFFSET
387
York Sune7310a32016-10-04 14:45:54 -0700388config SYS_FSL_IFC_BANK_COUNT
389 int "Maximum banks of Integrated flash controller"
Ashish Kumarb25faa22017-08-31 16:12:53 +0530390 depends on ARCH_LS1043A || ARCH_LS1046A || ARCH_LS2080A || ARCH_LS1088A
York Sune7310a32016-10-04 14:45:54 -0700391 default 4 if ARCH_LS1043A
392 default 4 if ARCH_LS1046A
Ashish Kumarb25faa22017-08-31 16:12:53 +0530393 default 8 if ARCH_LS2080A || ARCH_LS1088A
York Sune7310a32016-10-04 14:45:54 -0700394
Ashish Kumar11234062017-08-11 11:09:14 +0530395config SYS_FSL_HAS_CCI400
396 bool
397
Ashish Kumar97393d62017-08-18 10:54:36 +0530398config SYS_FSL_HAS_CCN504
399 bool
400
Priyanka Jainef76b2e2018-10-29 09:17:09 +0000401config SYS_FSL_HAS_CCN508
402 bool
403
York Sun0dc9abb2016-10-04 14:46:50 -0700404config SYS_FSL_HAS_DP_DDR
405 bool
406
York Sun6b62ef02016-10-04 18:01:34 -0700407config SYS_FSL_SRDS_1
408 bool
409
410config SYS_FSL_SRDS_2
411 bool
412
Priyanka Jain1a602532018-09-27 10:32:05 +0530413config SYS_NXP_SRDS_3
414 bool
415
York Sun6b62ef02016-10-04 18:01:34 -0700416config SYS_HAS_SERDES
417 bool
418
Ashish kumar76bd6ce2017-04-07 11:40:32 +0530419config FSL_TZASC_1
420 bool
421
422config FSL_TZASC_2
423 bool
424
Rajesh Bhagat5756f7e2019-01-20 05:30:06 +0000425config FSL_TZASC_400
426 bool
427
428config FSL_TZPC_BP147
429 bool
York Sun4dd8c612016-10-04 14:31:48 -0700430endmenu
York Sun1dc61ca2016-12-28 08:43:41 -0800431
Hou Zhiqiang3f91cda2017-01-10 16:44:15 +0800432menu "Layerscape clock tree configuration"
433 depends on FSL_LSCH2 || FSL_LSCH3
434
435config SYS_FSL_CLK
436 bool "Enable clock tree initialization"
437 default y
438
439config CLUSTER_CLK_FREQ
440 int "Reference clock of core cluster"
441 depends on ARCH_LS1012A
442 default 100000000
443 help
444 This number is the reference clock frequency of core PLL.
445 For most platforms, the core PLL and Platform PLL have the same
446 reference clock, but for some platforms, LS1012A for instance,
447 they are provided sepatately.
448
449config SYS_FSL_PCLK_DIV
450 int "Platform clock divider"
451 default 1 if ARCH_LS1043A
452 default 1 if ARCH_LS1046A
Ashish Kumarb25faa22017-08-31 16:12:53 +0530453 default 1 if ARCH_LS1088A
Hou Zhiqiang3f91cda2017-01-10 16:44:15 +0800454 default 2
455 help
456 This is the divider that is used to derive Platform clock from
457 Platform PLL, in another word:
458 Platform_clk = Platform_PLL_freq / this_divider
459
460config SYS_FSL_DSPI_CLK_DIV
461 int "DSPI clock divider"
462 default 1 if ARCH_LS1043A
463 default 2
464 help
465 This is the divider that is used to derive DSPI clock from Platform
Hou Zhiqiang0c8fcb62017-07-03 18:37:11 +0800466 clock, in another word DSPI_clk = Platform_clk / this_divider.
Hou Zhiqiang3f91cda2017-01-10 16:44:15 +0800467
468config SYS_FSL_DUART_CLK_DIV
469 int "DUART clock divider"
470 default 1 if ARCH_LS1043A
Priyanka Jainef76b2e2018-10-29 09:17:09 +0000471 default 4 if ARCH_LX2160A
Hou Zhiqiang3f91cda2017-01-10 16:44:15 +0800472 default 2
473 help
474 This is the divider that is used to derive DUART clock from Platform
475 clock, in another word DUART_clk = Platform_clk / this_divider.
476
477config SYS_FSL_I2C_CLK_DIV
478 int "I2C clock divider"
479 default 1 if ARCH_LS1043A
480 default 2
481 help
482 This is the divider that is used to derive I2C clock from Platform
483 clock, in another word I2C_clk = Platform_clk / this_divider.
484
485config SYS_FSL_IFC_CLK_DIV
486 int "IFC clock divider"
487 default 1 if ARCH_LS1043A
488 default 2
489 help
490 This is the divider that is used to derive IFC clock from Platform
491 clock, in another word IFC_clk = Platform_clk / this_divider.
492
493config SYS_FSL_LPUART_CLK_DIV
494 int "LPUART clock divider"
495 default 1 if ARCH_LS1043A
496 default 2
497 help
498 This is the divider that is used to derive LPUART clock from Platform
499 clock, in another word LPUART_clk = Platform_clk / this_divider.
500
501config SYS_FSL_SDHC_CLK_DIV
502 int "SDHC clock divider"
503 default 1 if ARCH_LS1043A
504 default 1 if ARCH_LS1012A
505 default 2
506 help
507 This is the divider that is used to derive SDHC clock from Platform
508 clock, in another word SDHC_clk = Platform_clk / this_divider.
Hou Zhiqiangfef32c62018-04-25 16:28:44 +0800509
510config SYS_FSL_QMAN_CLK_DIV
511 int "QMAN clock divider"
512 default 1 if ARCH_LS1043A
513 default 2
514 help
515 This is the divider that is used to derive QMAN clock from Platform
516 clock, in another word QMAN_clk = Platform_clk / this_divider.
Hou Zhiqiang3f91cda2017-01-10 16:44:15 +0800517endmenu
518
York Sund6964b32017-03-06 09:02:24 -0800519config RESV_RAM
520 bool
521 help
522 Reserve memory from the top, tracked by gd->arch.resv_ram. This
523 reserved RAM can be used by special driver that resides in memory
524 after U-Boot exits. It's up to implementation to allocate and allow
525 access to this reserved memory. For example, the reserved RAM can
526 be at the high end of physical memory. The reserve RAM may be
527 excluded from memory bank(s) passed to OS, or marked as reserved.
528
Ashish Kumarec455e22017-08-31 16:37:31 +0530529config SYS_FSL_EC1
530 bool
531 help
Priyanka Jainef76b2e2018-10-29 09:17:09 +0000532 Ethernet controller 1, this is connected to
533 MAC17 for LX2160A or to MAC3 for other SoCs
Ashish Kumarec455e22017-08-31 16:37:31 +0530534 Provides DPAA2 capabilities
535
536config SYS_FSL_EC2
537 bool
538 help
Priyanka Jainef76b2e2018-10-29 09:17:09 +0000539 Ethernet controller 2, this is connected to
540 MAC18 for LX2160A or to MAC4 for other SoCs
Ashish Kumarec455e22017-08-31 16:37:31 +0530541 Provides DPAA2 capabilities
542
York Sun1dc61ca2016-12-28 08:43:41 -0800543config SYS_FSL_ERRATUM_A008336
544 bool
545
546config SYS_FSL_ERRATUM_A008514
547 bool
548
549config SYS_FSL_ERRATUM_A008585
550 bool
551
552config SYS_FSL_ERRATUM_A008850
553 bool
554
Ashish kumar3b52a232017-02-23 16:03:57 +0530555config SYS_FSL_ERRATUM_A009203
556 bool
557
York Sun1dc61ca2016-12-28 08:43:41 -0800558config SYS_FSL_ERRATUM_A009635
559 bool
560
561config SYS_FSL_ERRATUM_A009660
562 bool
563
564config SYS_FSL_ERRATUM_A009929
565 bool
York Sun1a770752017-03-06 09:02:26 -0800566
Ashish Kumarec455e22017-08-31 16:37:31 +0530567
568config SYS_FSL_HAS_RGMII
569 bool
570 depends on SYS_FSL_EC1 || SYS_FSL_EC2
571
572
York Sun1a770752017-03-06 09:02:26 -0800573config SYS_MC_RSV_MEM_ALIGN
574 hex "Management Complex reserved memory alignment"
575 depends on RESV_RAM
Priyanka Jainef76b2e2018-10-29 09:17:09 +0000576 default 0x20000000 if ARCH_LS2080A || ARCH_LS1088A || ARCH_LX2160A
York Sun1a770752017-03-06 09:02:26 -0800577 help
578 Reserved memory needs to be aligned for MC to use. Default value
579 is 512MB.
Philipp Tomsich2d6a0cc2017-08-03 23:23:55 +0200580
581config SPL_LDSCRIPT
582 default "arch/arm/cpu/armv8/u-boot-spl.lds" if ARCH_LS1043A || ARCH_LS1046A || ARCH_LS2080A
Ran Wang5959f842017-10-23 10:09:21 +0800583
584config HAS_FSL_XHCI_USB
585 bool
586 default y if ARCH_LS1043A || ARCH_LS1046A
587 help
588 For some SoC(such as LS1043A and LS1046A), USB and QE-HDLC multiplex use
589 pins, select it when the pins are assigned to USB.
Rajesh Bhagat5efbecf2018-11-05 18:01:37 +0000590
591config TFABOOT
592 bool "Support for booting from TFA"
593 default n
594 help
595 Enabling this will make a U-Boot binary that is capable of being
596 booted via TFA.