blob: d37e3678e7feb1ce4884c8eb3022322cea291fc6 [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 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
Rajesh Bhagat52d237a2019-01-25 13:36:26 +000059 select FSL_LAYERSCAPE
York Sun4dd8c612016-10-04 14:31:48 -070060 select FSL_LSCH2
Sriram Dash4a943332018-01-30 15:58:44 +053061 select SYS_FSL_SRDS_1
62 select SYS_HAS_SERDES
York Sund297d392016-12-28 08:43:40 -080063 select SYS_FSL_DDR
York Sunb6fffd82016-10-04 18:03:08 -070064 select SYS_FSL_DDR_BE
York Sunb6fffd82016-10-04 18:03:08 -070065 select SYS_FSL_DDR_VER_50
Rajesh Bhagatcd786e82018-11-05 18:01:48 +000066 select SYS_FSL_ERRATUM_A008336 if !TFABOOT
67 select SYS_FSL_ERRATUM_A008511 if !TFABOOT
68 select SYS_FSL_ERRATUM_A008850 if !TFABOOT
Ran Wange64f7472017-09-04 18:46:50 +080069 select SYS_FSL_ERRATUM_A008997
Ran Wang3ba69482017-09-04 18:46:51 +080070 select SYS_FSL_ERRATUM_A009007
Ran Wangb358b7b2017-09-04 18:46:48 +080071 select SYS_FSL_ERRATUM_A009008
Ran Wang9e8fabc2017-09-04 18:46:49 +080072 select SYS_FSL_ERRATUM_A009798
York Sun1dc61ca2016-12-28 08:43:41 -080073 select SYS_FSL_ERRATUM_A009801
Rajesh Bhagatcd786e82018-11-05 18:01:48 +000074 select SYS_FSL_ERRATUM_A009803 if !TFABOOT
75 select SYS_FSL_ERRATUM_A009942 if !TFABOOT
76 select SYS_FSL_ERRATUM_A010165 if !TFABOOT
Hou Zhiqiangc06b30a2016-09-29 12:42:44 +080077 select SYS_FSL_ERRATUM_A010539
York Sund297d392016-12-28 08:43:40 -080078 select SYS_FSL_HAS_DDR4
York Sun6b62ef02016-10-04 18:01:34 -070079 select SYS_FSL_SRDS_2
Simon Glass62adede2017-01-23 13:31:19 -070080 select ARCH_EARLY_INIT_R
Simon Glass7a99a872017-01-23 13:31:20 -070081 select BOARD_EARLY_INIT_F
Sriram Dash7122a0c2018-02-06 11:26:30 +053082 select SYS_I2C_MXC
83 select SYS_I2C_MXC_I2C1
84 select SYS_I2C_MXC_I2C2
85 select SYS_I2C_MXC_I2C3
86 select SYS_I2C_MXC_I2C4
Simon Glass0e5faf02017-06-14 21:28:21 -060087 imply SCSI
Tuomas Tynkkynenedf9f622017-12-08 15:36:19 +020088 imply SCSI_AHCI
York Sunb3d71642016-09-26 08:09:26 -070089
Ashish Kumarb25faa22017-08-31 16:12:53 +053090config ARCH_LS1088A
91 bool
92 select ARMV8_SET_SMPEN
Pankit Gargf5c2a832018-12-27 04:37:55 +000093 select ARM_ERRATA_855873 if !TFABOOT
Rajesh Bhagat52d237a2019-01-25 13:36:26 +000094 select FSL_LAYERSCAPE
Ashish Kumarb25faa22017-08-31 16:12:53 +053095 select FSL_LSCH3
Sriram Dash4a943332018-01-30 15:58:44 +053096 select SYS_FSL_SRDS_1
97 select SYS_HAS_SERDES
Ashish Kumarb25faa22017-08-31 16:12:53 +053098 select SYS_FSL_DDR
99 select SYS_FSL_DDR_LE
100 select SYS_FSL_DDR_VER_50
Ashish Kumarec455e22017-08-31 16:37:31 +0530101 select SYS_FSL_EC1
102 select SYS_FSL_EC2
Pankit Gargf5c2a832018-12-27 04:37:55 +0000103 select SYS_FSL_ERRATUM_A009803 if !TFABOOT
104 select SYS_FSL_ERRATUM_A009942 if !TFABOOT
105 select SYS_FSL_ERRATUM_A010165 if !TFABOOT
106 select SYS_FSL_ERRATUM_A008511 if !TFABOOT
107 select SYS_FSL_ERRATUM_A008850 if !TFABOOT
Ran Wangef277072017-09-22 15:21:34 +0800108 select SYS_FSL_ERRATUM_A009007
Ashish Kumarb25faa22017-08-31 16:12:53 +0530109 select SYS_FSL_HAS_CCI400
110 select SYS_FSL_HAS_DDR4
Ashish Kumarec455e22017-08-31 16:37:31 +0530111 select SYS_FSL_HAS_RGMII
Ashish Kumarb25faa22017-08-31 16:12:53 +0530112 select SYS_FSL_HAS_SEC
113 select SYS_FSL_SEC_COMPAT_5
114 select SYS_FSL_SEC_LE
115 select SYS_FSL_SRDS_1
116 select SYS_FSL_SRDS_2
117 select FSL_TZASC_1
Rajesh Bhagat5756f7e2019-01-20 05:30:06 +0000118 select FSL_TZASC_400
119 select FSL_TZPC_BP147
Ashish Kumarb25faa22017-08-31 16:12:53 +0530120 select ARCH_EARLY_INIT_R
121 select BOARD_EARLY_INIT_F
Sriram Dash7122a0c2018-02-06 11:26:30 +0530122 select SYS_I2C_MXC
123 select SYS_I2C_MXC_I2C1
124 select SYS_I2C_MXC_I2C2
125 select SYS_I2C_MXC_I2C3
126 select SYS_I2C_MXC_I2C4
Ashish Kumara179e562017-11-02 09:50:47 +0530127 imply SCSI
Masahiro Yamadaacede7a2017-12-04 12:37:00 +0900128 imply PANIC_HANG
Ashish Kumarb25faa22017-08-31 16:12:53 +0530129
York Sunfcd0e742016-10-04 14:31:47 -0700130config ARCH_LS2080A
131 bool
Hou Zhiqiang4d1525a2017-01-06 17:41:11 +0800132 select ARMV8_SET_SMPEN
Tom Rinibacb52c2017-03-07 07:13:42 -0500133 select ARM_ERRATA_826974
134 select ARM_ERRATA_828024
135 select ARM_ERRATA_829520
136 select ARM_ERRATA_833471
Rajesh Bhagat52d237a2019-01-25 13:36:26 +0000137 select FSL_LAYERSCAPE
York Sun4dd8c612016-10-04 14:31:48 -0700138 select FSL_LSCH3
Sriram Dash4a943332018-01-30 15:58:44 +0530139 select SYS_FSL_SRDS_1
140 select SYS_HAS_SERDES
York Sund297d392016-12-28 08:43:40 -0800141 select SYS_FSL_DDR
York Sunb6fffd82016-10-04 18:03:08 -0700142 select SYS_FSL_DDR_LE
143 select SYS_FSL_DDR_VER_50
Ashish Kumar97393d62017-08-18 10:54:36 +0530144 select SYS_FSL_HAS_CCN504
York Sun6b62ef02016-10-04 18:01:34 -0700145 select SYS_FSL_HAS_DP_DDR
York Sun92c36e22016-12-28 08:43:30 -0800146 select SYS_FSL_HAS_SEC
York Sund297d392016-12-28 08:43:40 -0800147 select SYS_FSL_HAS_DDR4
York Sun92c36e22016-12-28 08:43:30 -0800148 select SYS_FSL_SEC_COMPAT_5
York Sunfa4199422016-12-28 08:43:31 -0800149 select SYS_FSL_SEC_LE
York Sun6b62ef02016-10-04 18:01:34 -0700150 select SYS_FSL_SRDS_2
Ashish kumar76bd6ce2017-04-07 11:40:32 +0530151 select FSL_TZASC_1
152 select FSL_TZASC_2
Rajesh Bhagat5756f7e2019-01-20 05:30:06 +0000153 select FSL_TZASC_400
154 select FSL_TZPC_BP147
Rajesh Bhagatd5691be2018-12-27 04:37:59 +0000155 select SYS_FSL_ERRATUM_A008336 if !TFABOOT
156 select SYS_FSL_ERRATUM_A008511 if !TFABOOT
157 select SYS_FSL_ERRATUM_A008514 if !TFABOOT
York Sun1dc61ca2016-12-28 08:43:41 -0800158 select SYS_FSL_ERRATUM_A008585
Ran Wange64f7472017-09-04 18:46:50 +0800159 select SYS_FSL_ERRATUM_A008997
Ran Wang3ba69482017-09-04 18:46:51 +0800160 select SYS_FSL_ERRATUM_A009007
Ran Wangb358b7b2017-09-04 18:46:48 +0800161 select SYS_FSL_ERRATUM_A009008
York Sun1dc61ca2016-12-28 08:43:41 -0800162 select SYS_FSL_ERRATUM_A009635
Rajesh Bhagatd5691be2018-12-27 04:37:59 +0000163 select SYS_FSL_ERRATUM_A009663 if !TFABOOT
Ran Wang9e8fabc2017-09-04 18:46:49 +0800164 select SYS_FSL_ERRATUM_A009798
York Sun1dc61ca2016-12-28 08:43:41 -0800165 select SYS_FSL_ERRATUM_A009801
Rajesh Bhagatd5691be2018-12-27 04:37:59 +0000166 select SYS_FSL_ERRATUM_A009803 if !TFABOOT
167 select SYS_FSL_ERRATUM_A009942 if !TFABOOT
168 select SYS_FSL_ERRATUM_A010165 if !TFABOOT
Ashish kumar3b52a232017-02-23 16:03:57 +0530169 select SYS_FSL_ERRATUM_A009203
Simon Glass62adede2017-01-23 13:31:19 -0700170 select ARCH_EARLY_INIT_R
Simon Glass7a99a872017-01-23 13:31:20 -0700171 select BOARD_EARLY_INIT_F
Sriram Dash7122a0c2018-02-06 11:26:30 +0530172 select SYS_I2C_MXC
173 select SYS_I2C_MXC_I2C1
174 select SYS_I2C_MXC_I2C2
175 select SYS_I2C_MXC_I2C3
176 select SYS_I2C_MXC_I2C4
Masahiro Yamada9afc6c52018-04-25 18:47:52 +0900177 imply DISTRO_DEFAULTS
Masahiro Yamadaacede7a2017-12-04 12:37:00 +0900178 imply PANIC_HANG
York Sun4dd8c612016-10-04 14:31:48 -0700179
Priyanka Jainef76b2e2018-10-29 09:17:09 +0000180config ARCH_LX2160A
181 bool
182 select ARMV8_SET_SMPEN
183 select FSL_LSCH3
184 select NXP_LSCH3_2
185 select SYS_HAS_SERDES
186 select SYS_FSL_SRDS_1
187 select SYS_FSL_SRDS_2
188 select SYS_NXP_SRDS_3
189 select SYS_FSL_DDR
190 select SYS_FSL_DDR_LE
191 select SYS_FSL_DDR_VER_50
192 select SYS_FSL_EC1
193 select SYS_FSL_EC2
194 select SYS_FSL_HAS_RGMII
195 select SYS_FSL_HAS_SEC
196 select SYS_FSL_HAS_CCN508
197 select SYS_FSL_HAS_DDR4
198 select SYS_FSL_SEC_COMPAT_5
199 select SYS_FSL_SEC_LE
200 select ARCH_EARLY_INIT_R
201 select BOARD_EARLY_INIT_F
202 select SYS_I2C_MXC
203 select SYS_I2C_MXC_I2C1
204 select SYS_I2C_MXC_I2C2
205 select SYS_I2C_MXC_I2C3
206 select SYS_I2C_MXC_I2C4
207 select SYS_I2C_MXC_I2C5
208 select SYS_I2C_MXC_I2C6
209 select SYS_I2C_MXC_I2C7
210 select SYS_I2C_MXC_I2C8
211 imply DISTRO_DEFAULTS
212 imply PANIC_HANG
213 imply SCSI
214 imply SCSI_AHCI
215
York Sun4dd8c612016-10-04 14:31:48 -0700216config FSL_LSCH2
217 bool
Ashish Kumar11234062017-08-11 11:09:14 +0530218 select SYS_FSL_HAS_CCI400
York Sun92c36e22016-12-28 08:43:30 -0800219 select SYS_FSL_HAS_SEC
220 select SYS_FSL_SEC_COMPAT_5
York Sunfa4199422016-12-28 08:43:31 -0800221 select SYS_FSL_SEC_BE
York Sun4dd8c612016-10-04 14:31:48 -0700222
223config FSL_LSCH3
224 bool
225
Priyanka Jain88c25662018-10-29 09:11:29 +0000226config NXP_LSCH3_2
227 bool
228
York Sun6c089742017-03-06 09:02:25 -0800229config FSL_MC_ENET
230 bool "Management Complex network"
Priyanka Jainef76b2e2018-10-29 09:17:09 +0000231 depends on ARCH_LS2080A || ARCH_LS1088A || ARCH_LX2160A
York Sun6c089742017-03-06 09:02:25 -0800232 default y
233 select RESV_RAM
234 help
235 Enable Management Complex (MC) network
236
York Sun4dd8c612016-10-04 14:31:48 -0700237menu "Layerscape architecture"
238 depends on FSL_LSCH2 || FSL_LSCH3
York Sunfcd0e742016-10-04 14:31:47 -0700239
Rajesh Bhagat52d237a2019-01-25 13:36:26 +0000240config FSL_LAYERSCAPE
241 bool
242
Hou Zhiqiangd553bf22016-12-13 14:54:24 +0800243config FSL_PCIE_COMPAT
244 string "PCIe compatible of Kernel DT"
Hou Zhiqiang2b08d142019-04-08 10:15:50 +0000245 depends on PCIE_LAYERSCAPE || PCIE_LAYERSCAPE_GEN4
Hou Zhiqiangd553bf22016-12-13 14:54:24 +0800246 default "fsl,ls1012a-pcie" if ARCH_LS1012A
247 default "fsl,ls1043a-pcie" if ARCH_LS1043A
248 default "fsl,ls1046a-pcie" if ARCH_LS1046A
249 default "fsl,ls2080a-pcie" if ARCH_LS2080A
Ashish Kumarb25faa22017-08-31 16:12:53 +0530250 default "fsl,ls1088a-pcie" if ARCH_LS1088A
Priyanka Jainef76b2e2018-10-29 09:17:09 +0000251 default "fsl,lx2160a-pcie" if ARCH_LX2160A
Hou Zhiqiangd553bf22016-12-13 14:54:24 +0800252 help
253 This compatible is used to find pci controller node in Kernel DT
254 to complete fixup.
255
Wenbin Songa8f57a92017-01-17 18:31:15 +0800256config HAS_FEATURE_GIC64K_ALIGN
257 bool
258 default y if ARCH_LS1043A
259
Wenbin Songc6bc7c02017-01-17 18:31:16 +0800260config HAS_FEATURE_ENHANCED_MSI
261 bool
262 default y if ARCH_LS1043A
Wenbin Songa8f57a92017-01-17 18:31:15 +0800263
macro.wave.z@gmail.comec2d7ed2016-12-08 11:58:21 +0800264menu "Layerscape PPA"
265config FSL_LS_PPA
266 bool "FSL Layerscape PPA firmware support"
macro.wave.z@gmail.com01bd3342016-12-08 11:58:22 +0800267 depends on !ARMV8_PSCI
Hou Zhiqiangbff56d52017-01-16 17:31:49 +0800268 select ARMV8_SEC_FIRMWARE_SUPPORT
Hou Zhiqiang6be115d2017-01-16 17:31:48 +0800269 select SEC_FIRMWARE_ARMV8_PSCI
Hou Zhiqiangbff56d52017-01-16 17:31:49 +0800270 select ARMV8_SEC_FIRMWARE_ERET_ADDR_REVERT if FSL_LSCH2
macro.wave.z@gmail.comec2d7ed2016-12-08 11:58:21 +0800271 help
272 The FSL Primary Protected Application (PPA) is a software component
273 which is loaded during boot stage, and then remains resident in RAM
274 and runs in the TrustZone after boot.
275 Say y to enable it.
York Sunf2aaf842017-05-15 08:52:00 -0700276
277config SPL_FSL_LS_PPA
278 bool "FSL Layerscape PPA firmware support for SPL build"
279 depends on !ARMV8_PSCI
280 select SPL_ARMV8_SEC_FIRMWARE_SUPPORT
281 select SEC_FIRMWARE_ARMV8_PSCI
282 select ARMV8_SEC_FIRMWARE_ERET_ADDR_REVERT if FSL_LSCH2
283 help
284 The FSL Primary Protected Application (PPA) is a software component
285 which is loaded during boot stage, and then remains resident in RAM
286 and runs in the TrustZone after boot. This is to load PPA during SPL
287 stage instead of the RAM version of U-Boot. Once PPA is initialized,
288 the rest of U-Boot (including RAM version) runs at EL2.
Hou Zhiqiangbff56d52017-01-16 17:31:49 +0800289choice
290 prompt "FSL Layerscape PPA firmware loading-media select"
291 depends on FSL_LS_PPA
Hou Zhiqiangbd6e2cd2017-03-17 16:12:33 +0800292 default SYS_LS_PPA_FW_IN_MMC if SD_BOOT
293 default SYS_LS_PPA_FW_IN_NAND if NAND_BOOT
Hou Zhiqiangbff56d52017-01-16 17:31:49 +0800294 default SYS_LS_PPA_FW_IN_XIP
295
296config SYS_LS_PPA_FW_IN_XIP
297 bool "XIP"
298 help
299 Say Y here if the PPA firmware locate at XIP flash, such
300 as NOR or QSPI flash.
301
Hou Zhiqiangbd6e2cd2017-03-17 16:12:33 +0800302config SYS_LS_PPA_FW_IN_MMC
303 bool "eMMC or SD Card"
304 help
305 Say Y here if the PPA firmware locate at eMMC/SD card.
306
307config SYS_LS_PPA_FW_IN_NAND
308 bool "NAND"
309 help
310 Say Y here if the PPA firmware locate at NAND flash.
311
Hou Zhiqiangbff56d52017-01-16 17:31:49 +0800312endchoice
313
Sumit Garg8fddf752017-04-20 05:09:11 +0530314config LS_PPA_ESBC_HDR_SIZE
315 hex "Length of PPA ESBC header"
316 depends on FSL_LS_PPA && CHAIN_OF_TRUST && !SYS_LS_PPA_FW_IN_XIP
317 default 0x2000
318 help
319 Length (in bytes) of PPA ESBC header to be copied from MMC/SD or
320 NAND to memory to validate PPA image.
321
macro.wave.z@gmail.comec2d7ed2016-12-08 11:58:21 +0800322endmenu
323
Ran Wange64f7472017-09-04 18:46:50 +0800324config SYS_FSL_ERRATUM_A008997
325 bool "Workaround for USB PHY erratum A008997"
326
Ran Wang3ba69482017-09-04 18:46:51 +0800327config SYS_FSL_ERRATUM_A009007
328 bool
329 help
330 Workaround for USB PHY erratum A009007
331
Ran Wangb358b7b2017-09-04 18:46:48 +0800332config SYS_FSL_ERRATUM_A009008
333 bool "Workaround for USB PHY erratum A009008"
334
Ran Wang9e8fabc2017-09-04 18:46:49 +0800335config SYS_FSL_ERRATUM_A009798
336 bool "Workaround for USB PHY erratum A009798"
337
York Sun149eb332016-09-26 08:09:27 -0700338config SYS_FSL_ERRATUM_A010315
339 bool "Workaround for PCIe erratum A010315"
Hou Zhiqiangc06b30a2016-09-29 12:42:44 +0800340
341config SYS_FSL_ERRATUM_A010539
342 bool "Workaround for PIN MUX erratum A010539"
York Sun4dd8c612016-10-04 14:31:48 -0700343
York Sunf188d222016-10-04 14:45:01 -0700344config MAX_CPUS
345 int "Maximum number of CPUs permitted for Layerscape"
346 default 4 if ARCH_LS1043A
347 default 4 if ARCH_LS1046A
348 default 16 if ARCH_LS2080A
Ashish Kumarb25faa22017-08-31 16:12:53 +0530349 default 8 if ARCH_LS1088A
Priyanka Jainef76b2e2018-10-29 09:17:09 +0000350 default 16 if ARCH_LX2160A
York Sunf188d222016-10-04 14:45:01 -0700351 default 1
352 help
353 Set this number to the maximum number of possible CPUs in the SoC.
354 SoCs may have multiple clusters with each cluster may have multiple
355 ports. If some ports are reserved but higher ports are used for
356 cores, count the reserved ports. This will allocate enough memory
357 in spin table to properly handle all cores.
358
Meenakshi Aggarwalbbd33182018-11-30 22:32:11 +0530359config EMC2305
360 bool "Fan controller"
361 help
362 Enable the EMC2305 fan controller for configuration of fan
363 speed.
364
York Sun728e7002016-12-02 09:32:35 -0800365config SECURE_BOOT
York Sun8a3d8ed2017-01-04 10:32:08 -0800366 bool "Secure Boot"
York Sun728e7002016-12-02 09:32:35 -0800367 help
368 Enable Freescale Secure Boot feature
369
Yuan Yao52ae4fd2016-12-01 10:13:52 +0800370config QSPI_AHB_INIT
371 bool "Init the QSPI AHB bus"
372 help
373 The default setting for QSPI AHB bus just support 3bytes addressing.
374 But some QSPI flash size up to 64MBytes, so initialize the QSPI AHB
375 bus for those flashes to support the full QSPI flash size.
376
Ashish Kumar11234062017-08-11 11:09:14 +0530377config SYS_CCI400_OFFSET
378 hex "Offset for CCI400 base"
379 depends on SYS_FSL_HAS_CCI400
380 default 0x3090000 if ARCH_LS1088A
381 default 0x180000 if FSL_LSCH2
382 help
383 Offset for CCI400 base
384 CCI400 base addr = CCSRBAR + CCI400_OFFSET
385
York Sune7310a32016-10-04 14:45:54 -0700386config SYS_FSL_IFC_BANK_COUNT
387 int "Maximum banks of Integrated flash controller"
Ashish Kumarb25faa22017-08-31 16:12:53 +0530388 depends on ARCH_LS1043A || ARCH_LS1046A || ARCH_LS2080A || ARCH_LS1088A
York Sune7310a32016-10-04 14:45:54 -0700389 default 4 if ARCH_LS1043A
390 default 4 if ARCH_LS1046A
Ashish Kumarb25faa22017-08-31 16:12:53 +0530391 default 8 if ARCH_LS2080A || ARCH_LS1088A
York Sune7310a32016-10-04 14:45:54 -0700392
Ashish Kumar11234062017-08-11 11:09:14 +0530393config SYS_FSL_HAS_CCI400
394 bool
395
Ashish Kumar97393d62017-08-18 10:54:36 +0530396config SYS_FSL_HAS_CCN504
397 bool
398
Priyanka Jainef76b2e2018-10-29 09:17:09 +0000399config SYS_FSL_HAS_CCN508
400 bool
401
York Sun0dc9abb2016-10-04 14:46:50 -0700402config SYS_FSL_HAS_DP_DDR
403 bool
404
York Sun6b62ef02016-10-04 18:01:34 -0700405config SYS_FSL_SRDS_1
406 bool
407
408config SYS_FSL_SRDS_2
409 bool
410
Priyanka Jain1a602532018-09-27 10:32:05 +0530411config SYS_NXP_SRDS_3
412 bool
413
York Sun6b62ef02016-10-04 18:01:34 -0700414config SYS_HAS_SERDES
415 bool
416
Ashish kumar76bd6ce2017-04-07 11:40:32 +0530417config FSL_TZASC_1
418 bool
419
420config FSL_TZASC_2
421 bool
422
Rajesh Bhagat5756f7e2019-01-20 05:30:06 +0000423config FSL_TZASC_400
424 bool
425
426config FSL_TZPC_BP147
427 bool
York Sun4dd8c612016-10-04 14:31:48 -0700428endmenu
York Sun1dc61ca2016-12-28 08:43:41 -0800429
Hou Zhiqiang3f91cda2017-01-10 16:44:15 +0800430menu "Layerscape clock tree configuration"
431 depends on FSL_LSCH2 || FSL_LSCH3
432
433config SYS_FSL_CLK
434 bool "Enable clock tree initialization"
435 default y
436
437config CLUSTER_CLK_FREQ
438 int "Reference clock of core cluster"
439 depends on ARCH_LS1012A
440 default 100000000
441 help
442 This number is the reference clock frequency of core PLL.
443 For most platforms, the core PLL and Platform PLL have the same
444 reference clock, but for some platforms, LS1012A for instance,
445 they are provided sepatately.
446
447config SYS_FSL_PCLK_DIV
448 int "Platform clock divider"
449 default 1 if ARCH_LS1043A
450 default 1 if ARCH_LS1046A
Ashish Kumarb25faa22017-08-31 16:12:53 +0530451 default 1 if ARCH_LS1088A
Hou Zhiqiang3f91cda2017-01-10 16:44:15 +0800452 default 2
453 help
454 This is the divider that is used to derive Platform clock from
455 Platform PLL, in another word:
456 Platform_clk = Platform_PLL_freq / this_divider
457
458config SYS_FSL_DSPI_CLK_DIV
459 int "DSPI clock divider"
460 default 1 if ARCH_LS1043A
461 default 2
462 help
463 This is the divider that is used to derive DSPI clock from Platform
Hou Zhiqiang0c8fcb62017-07-03 18:37:11 +0800464 clock, in another word DSPI_clk = Platform_clk / this_divider.
Hou Zhiqiang3f91cda2017-01-10 16:44:15 +0800465
466config SYS_FSL_DUART_CLK_DIV
467 int "DUART clock divider"
468 default 1 if ARCH_LS1043A
Priyanka Jainef76b2e2018-10-29 09:17:09 +0000469 default 4 if ARCH_LX2160A
Hou Zhiqiang3f91cda2017-01-10 16:44:15 +0800470 default 2
471 help
472 This is the divider that is used to derive DUART clock from Platform
473 clock, in another word DUART_clk = Platform_clk / this_divider.
474
475config SYS_FSL_I2C_CLK_DIV
476 int "I2C clock divider"
477 default 1 if ARCH_LS1043A
478 default 2
479 help
480 This is the divider that is used to derive I2C clock from Platform
481 clock, in another word I2C_clk = Platform_clk / this_divider.
482
483config SYS_FSL_IFC_CLK_DIV
484 int "IFC clock divider"
485 default 1 if ARCH_LS1043A
486 default 2
487 help
488 This is the divider that is used to derive IFC clock from Platform
489 clock, in another word IFC_clk = Platform_clk / this_divider.
490
491config SYS_FSL_LPUART_CLK_DIV
492 int "LPUART clock divider"
493 default 1 if ARCH_LS1043A
494 default 2
495 help
496 This is the divider that is used to derive LPUART clock from Platform
497 clock, in another word LPUART_clk = Platform_clk / this_divider.
498
499config SYS_FSL_SDHC_CLK_DIV
500 int "SDHC clock divider"
501 default 1 if ARCH_LS1043A
502 default 1 if ARCH_LS1012A
503 default 2
504 help
505 This is the divider that is used to derive SDHC clock from Platform
506 clock, in another word SDHC_clk = Platform_clk / this_divider.
Hou Zhiqiangfef32c62018-04-25 16:28:44 +0800507
508config SYS_FSL_QMAN_CLK_DIV
509 int "QMAN clock divider"
510 default 1 if ARCH_LS1043A
511 default 2
512 help
513 This is the divider that is used to derive QMAN clock from Platform
514 clock, in another word QMAN_clk = Platform_clk / this_divider.
Hou Zhiqiang3f91cda2017-01-10 16:44:15 +0800515endmenu
516
York Sund6964b32017-03-06 09:02:24 -0800517config RESV_RAM
518 bool
519 help
520 Reserve memory from the top, tracked by gd->arch.resv_ram. This
521 reserved RAM can be used by special driver that resides in memory
522 after U-Boot exits. It's up to implementation to allocate and allow
523 access to this reserved memory. For example, the reserved RAM can
524 be at the high end of physical memory. The reserve RAM may be
525 excluded from memory bank(s) passed to OS, or marked as reserved.
526
Ashish Kumarec455e22017-08-31 16:37:31 +0530527config SYS_FSL_EC1
528 bool
529 help
Priyanka Jainef76b2e2018-10-29 09:17:09 +0000530 Ethernet controller 1, this is connected to
531 MAC17 for LX2160A or to MAC3 for other SoCs
Ashish Kumarec455e22017-08-31 16:37:31 +0530532 Provides DPAA2 capabilities
533
534config SYS_FSL_EC2
535 bool
536 help
Priyanka Jainef76b2e2018-10-29 09:17:09 +0000537 Ethernet controller 2, this is connected to
538 MAC18 for LX2160A or to MAC4 for other SoCs
Ashish Kumarec455e22017-08-31 16:37:31 +0530539 Provides DPAA2 capabilities
540
York Sun1dc61ca2016-12-28 08:43:41 -0800541config SYS_FSL_ERRATUM_A008336
542 bool
543
544config SYS_FSL_ERRATUM_A008514
545 bool
546
547config SYS_FSL_ERRATUM_A008585
548 bool
549
550config SYS_FSL_ERRATUM_A008850
551 bool
552
Ashish kumar3b52a232017-02-23 16:03:57 +0530553config SYS_FSL_ERRATUM_A009203
554 bool
555
York Sun1dc61ca2016-12-28 08:43:41 -0800556config SYS_FSL_ERRATUM_A009635
557 bool
558
559config SYS_FSL_ERRATUM_A009660
560 bool
561
562config SYS_FSL_ERRATUM_A009929
563 bool
York Sun1a770752017-03-06 09:02:26 -0800564
Ashish Kumarec455e22017-08-31 16:37:31 +0530565
566config SYS_FSL_HAS_RGMII
567 bool
568 depends on SYS_FSL_EC1 || SYS_FSL_EC2
569
570
York Sun1a770752017-03-06 09:02:26 -0800571config SYS_MC_RSV_MEM_ALIGN
572 hex "Management Complex reserved memory alignment"
573 depends on RESV_RAM
Priyanka Jainef76b2e2018-10-29 09:17:09 +0000574 default 0x20000000 if ARCH_LS2080A || ARCH_LS1088A || ARCH_LX2160A
York Sun1a770752017-03-06 09:02:26 -0800575 help
576 Reserved memory needs to be aligned for MC to use. Default value
577 is 512MB.
Philipp Tomsich2d6a0cc2017-08-03 23:23:55 +0200578
579config SPL_LDSCRIPT
580 default "arch/arm/cpu/armv8/u-boot-spl.lds" if ARCH_LS1043A || ARCH_LS1046A || ARCH_LS2080A
Ran Wang5959f842017-10-23 10:09:21 +0800581
582config HAS_FSL_XHCI_USB
583 bool
584 default y if ARCH_LS1043A || ARCH_LS1046A
585 help
586 For some SoC(such as LS1043A and LS1046A), USB and QE-HDLC multiplex use
587 pins, select it when the pins are assigned to USB.
Rajesh Bhagat5efbecf2018-11-05 18:01:37 +0000588
589config TFABOOT
590 bool "Support for booting from TFA"
591 default n
592 help
593 Enabling this will make a U-Boot binary that is capable of being
594 booted via TFA.