blob: 2862257e1f2c5bd742a63a70d38f75982daa6543 [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
Tom Rini249f11f2021-08-19 14:19:39 -04007 select GICV2
Tom Rinie1e85442021-08-27 21:18:30 -04008 select SKIP_LOWLEVEL_INIT
Sriram Dash4a943332018-01-30 15:58:44 +05309 select SYS_FSL_SRDS_1
10 select SYS_HAS_SERDES
York Sunb6fffd82016-10-04 18:03:08 -070011 select SYS_FSL_DDR_BE
York Sunb3d71642016-09-26 08:09:26 -070012 select SYS_FSL_MMDC
Alban Bedel1b1ca2f2021-09-06 16:32:56 +020013 select SYS_FSL_ERRATUM_A010315 if PCIE_LAYERSCAPE
Ran Wang02dc77b2017-11-13 16:14:48 +080014 select SYS_FSL_ERRATUM_A009798
15 select SYS_FSL_ERRATUM_A008997
16 select SYS_FSL_ERRATUM_A009007
17 select SYS_FSL_ERRATUM_A009008
Simon Glass62adede2017-01-23 13:31:19 -070018 select ARCH_EARLY_INIT_R
Simon Glass7a99a872017-01-23 13:31:20 -070019 select BOARD_EARLY_INIT_F
Sriram Dash7122a0c2018-02-06 11:26:30 +053020 select SYS_I2C_MXC
Biwen Li0a759bb2019-12-31 15:33:41 +080021 select SYS_I2C_MXC_I2C1 if !DM_I2C
22 select SYS_I2C_MXC_I2C2 if !DM_I2C
Masahiro Yamadaacede7a2017-12-04 12:37:00 +090023 imply PANIC_HANG
Simon Glass65831d92021-12-18 11:27:50 -070024 imply TIMESTAMP
York Sun149eb332016-09-26 08:09:27 -070025
Yuantian Tang4aefa162019-04-10 16:43:33 +080026config ARCH_LS1028A
27 bool
28 select ARMV8_SET_SMPEN
Tom Rini65461122022-06-17 16:24:31 -040029 select ESBC_HDR_LS if CHAIN_OF_TRUST
Michael Walle66f2a532020-05-10 01:20:11 +020030 select FSL_LAYERSCAPE
Yuantian Tang4aefa162019-04-10 16:43:33 +080031 select FSL_LSCH3
Tom Rini249f11f2021-08-19 14:19:39 -040032 select GICV3
Yuantian Tang4aefa162019-04-10 16:43:33 +080033 select NXP_LSCH3_2
34 select SYS_FSL_HAS_CCI400
35 select SYS_FSL_SRDS_1
36 select SYS_HAS_SERDES
37 select SYS_FSL_DDR
38 select SYS_FSL_DDR_LE
39 select SYS_FSL_DDR_VER_50
40 select SYS_FSL_HAS_DDR3
41 select SYS_FSL_HAS_DDR4
42 select SYS_FSL_HAS_SEC
43 select SYS_FSL_SEC_COMPAT_5
44 select SYS_FSL_SEC_LE
45 select FSL_TZASC_1
Tom Rinid391d8b2021-12-11 14:55:51 -050046 select FSL_TZPC_BP147
Yuantian Tang4aefa162019-04-10 16:43:33 +080047 select ARCH_EARLY_INIT_R
48 select BOARD_EARLY_INIT_F
49 select SYS_I2C_MXC
Ran Wange118acb2019-05-14 17:34:56 +080050 select SYS_FSL_ERRATUM_A008997
Yuantian Tang4aefa162019-04-10 16:43:33 +080051 select SYS_FSL_ERRATUM_A009007
52 select SYS_FSL_ERRATUM_A008514 if !TFABOOT
53 select SYS_FSL_ERRATUM_A009663 if !TFABOOT
54 select SYS_FSL_ERRATUM_A009942 if !TFABOOT
Laurentiu Tudor7ea2feb2019-10-18 09:01:56 +000055 select SYS_FSL_ERRATUM_A050382
Michael Walle148dc612021-03-17 15:01:36 +010056 select SYS_FSL_ERRATUM_A011334
Michael Walle7259dc52021-03-17 15:01:37 +010057 select SYS_FSL_ESDHC_UNRELIABLE_PULSE_DETECTION_WORKAROUND
Hou Zhiqiangce4a92a2020-04-28 10:19:31 +080058 select RESV_RAM if GIC_V3_ITS
Michael Walle42fdd8c2022-02-28 13:48:40 +010059 select SYS_HAS_ARMV8_SECURE_BASE
Yuantian Tang4aefa162019-04-10 16:43:33 +080060 imply PANIC_HANG
61
York Sun149eb332016-09-26 08:09:27 -070062config ARCH_LS1043A
York Sunfcd0e742016-10-04 14:31:47 -070063 bool
Hou Zhiqiang4d1525a2017-01-06 17:41:11 +080064 select ARMV8_SET_SMPEN
Rajesh Bhagatcd786e82018-11-05 18:01:48 +000065 select ARM_ERRATA_855873 if !TFABOOT
Sean Anderson81512732022-10-17 11:45:10 -040066 select FSL_IFC if TFABOOT || (!QSPI_BOOT && !SD_BOOT_QSPI && !SD_BOOT)
Rajesh Bhagat52d237a2019-01-25 13:36:26 +000067 select FSL_LAYERSCAPE
York Sun4dd8c612016-10-04 14:31:48 -070068 select FSL_LSCH2
Tom Rini249f11f2021-08-19 14:19:39 -040069 select GICV2
Tom Rini46c97312021-07-21 18:53:20 -040070 select HAS_FSL_XHCI_USB if USB_HOST
Tom Rinie1e85442021-08-27 21:18:30 -040071 select SKIP_LOWLEVEL_INIT
Tom Rinif552a132022-11-16 13:10:34 -050072 select SYS_DPAA_FMAN
Sriram Dash4a943332018-01-30 15:58:44 +053073 select SYS_FSL_SRDS_1
74 select SYS_HAS_SERDES
York Sund297d392016-12-28 08:43:40 -080075 select SYS_FSL_DDR
York Sunb6fffd82016-10-04 18:03:08 -070076 select SYS_FSL_DDR_BE
77 select SYS_FSL_DDR_VER_50
Rajesh Bhagatcd786e82018-11-05 18:01:48 +000078 select SYS_FSL_ERRATUM_A008850 if !TFABOOT
Ran Wange64f7472017-09-04 18:46:50 +080079 select SYS_FSL_ERRATUM_A008997
Ran Wangb358b7b2017-09-04 18:46:48 +080080 select SYS_FSL_ERRATUM_A009008
Rajesh Bhagatcd786e82018-11-05 18:01:48 +000081 select SYS_FSL_ERRATUM_A009660 if !TFABOOT
82 select SYS_FSL_ERRATUM_A009663 if !TFABOOT
Ran Wang9e8fabc2017-09-04 18:46:49 +080083 select SYS_FSL_ERRATUM_A009798
Rajesh Bhagatcd786e82018-11-05 18:01:48 +000084 select SYS_FSL_ERRATUM_A009942 if !TFABOOT
Alban Bedel1b1ca2f2021-09-06 16:32:56 +020085 select SYS_FSL_ERRATUM_A010315 if PCIE_LAYERSCAPE
Hou Zhiqiangc06b30a2016-09-29 12:42:44 +080086 select SYS_FSL_ERRATUM_A010539
York Sund297d392016-12-28 08:43:40 -080087 select SYS_FSL_HAS_DDR3
88 select SYS_FSL_HAS_DDR4
Tom Rini8d7aa572022-07-31 21:08:29 -040089 select SYS_FSL_QMAN_V3 if SYS_DPAA_QBMAN
Simon Glass62adede2017-01-23 13:31:19 -070090 select ARCH_EARLY_INIT_R
Simon Glass7a99a872017-01-23 13:31:20 -070091 select BOARD_EARLY_INIT_F
Biwen Li42637e72020-06-04 18:42:14 +080092 select SYS_I2C_MXC
Biwen Li014460b2020-02-05 22:02:16 +080093 select SYS_I2C_MXC_I2C1 if !DM_I2C
94 select SYS_I2C_MXC_I2C2 if !DM_I2C
95 select SYS_I2C_MXC_I2C3 if !DM_I2C
96 select SYS_I2C_MXC_I2C4 if !DM_I2C
Michael Walle42fdd8c2022-02-28 13:48:40 +010097 select SYS_HAS_ARMV8_SECURE_BASE
Simon Glassc88a09a2017-08-04 16:34:34 -060098 imply CMD_PCI
Tom Rini4abdf142021-08-17 17:59:41 -040099 imply ID_EEPROM
York Sunb3d71642016-09-26 08:09:26 -0700100
York Sunbad49842016-09-26 08:09:24 -0700101config ARCH_LS1046A
York Sunfcd0e742016-10-04 14:31:47 -0700102 bool
Hou Zhiqiang4d1525a2017-01-06 17:41:11 +0800103 select ARMV8_SET_SMPEN
Sean Anderson81512732022-10-17 11:45:10 -0400104 select FSL_IFC if TFABOOT || (!QSPI_BOOT && !SD_BOOT_QSPI && !SD_BOOT)
Rajesh Bhagat52d237a2019-01-25 13:36:26 +0000105 select FSL_LAYERSCAPE
York Sun4dd8c612016-10-04 14:31:48 -0700106 select FSL_LSCH2
Tom Rini249f11f2021-08-19 14:19:39 -0400107 select GICV2
Tom Rini46c97312021-07-21 18:53:20 -0400108 select HAS_FSL_XHCI_USB if USB_HOST
Tom Rinie1e85442021-08-27 21:18:30 -0400109 select SKIP_LOWLEVEL_INIT
Tom Rinif552a132022-11-16 13:10:34 -0500110 select SYS_DPAA_FMAN
Sriram Dash4a943332018-01-30 15:58:44 +0530111 select SYS_FSL_SRDS_1
112 select SYS_HAS_SERDES
York Sund297d392016-12-28 08:43:40 -0800113 select SYS_FSL_DDR
York Sunb6fffd82016-10-04 18:03:08 -0700114 select SYS_FSL_DDR_BE
York Sunb6fffd82016-10-04 18:03:08 -0700115 select SYS_FSL_DDR_VER_50
Rajesh Bhagatcd786e82018-11-05 18:01:48 +0000116 select SYS_FSL_ERRATUM_A008336 if !TFABOOT
117 select SYS_FSL_ERRATUM_A008511 if !TFABOOT
118 select SYS_FSL_ERRATUM_A008850 if !TFABOOT
Ran Wange64f7472017-09-04 18:46:50 +0800119 select SYS_FSL_ERRATUM_A008997
Ran Wangb358b7b2017-09-04 18:46:48 +0800120 select SYS_FSL_ERRATUM_A009008
Ran Wang9e8fabc2017-09-04 18:46:49 +0800121 select SYS_FSL_ERRATUM_A009798
York Sun1dc61ca2016-12-28 08:43:41 -0800122 select SYS_FSL_ERRATUM_A009801
Rajesh Bhagatcd786e82018-11-05 18:01:48 +0000123 select SYS_FSL_ERRATUM_A009803 if !TFABOOT
124 select SYS_FSL_ERRATUM_A009942 if !TFABOOT
125 select SYS_FSL_ERRATUM_A010165 if !TFABOOT
Hou Zhiqiangc06b30a2016-09-29 12:42:44 +0800126 select SYS_FSL_ERRATUM_A010539
York Sund297d392016-12-28 08:43:40 -0800127 select SYS_FSL_HAS_DDR4
York Sun6b62ef02016-10-04 18:01:34 -0700128 select SYS_FSL_SRDS_2
Tom Rini8d7aa572022-07-31 21:08:29 -0400129 select SYS_FSL_QMAN_V3 if SYS_DPAA_QBMAN
Simon Glass62adede2017-01-23 13:31:19 -0700130 select ARCH_EARLY_INIT_R
Simon Glass7a99a872017-01-23 13:31:20 -0700131 select BOARD_EARLY_INIT_F
Biwen Li42637e72020-06-04 18:42:14 +0800132 select SYS_I2C_MXC
Biwen Lif0018f52020-02-05 22:02:17 +0800133 select SYS_I2C_MXC_I2C1 if !DM_I2C
134 select SYS_I2C_MXC_I2C2 if !DM_I2C
135 select SYS_I2C_MXC_I2C3 if !DM_I2C
136 select SYS_I2C_MXC_I2C4 if !DM_I2C
Tom Rini4abdf142021-08-17 17:59:41 -0400137 imply ID_EEPROM
Simon Glass0e5faf02017-06-14 21:28:21 -0600138 imply SCSI
Tuomas Tynkkynenedf9f622017-12-08 15:36:19 +0200139 imply SCSI_AHCI
Tom Rini52b2e262021-08-18 23:12:24 -0400140 imply SPL_SYS_I2C_LEGACY
York Sunb3d71642016-09-26 08:09:26 -0700141
Ashish Kumarb25faa22017-08-31 16:12:53 +0530142config ARCH_LS1088A
143 bool
144 select ARMV8_SET_SMPEN
Pankit Gargf5c2a832018-12-27 04:37:55 +0000145 select ARM_ERRATA_855873 if !TFABOOT
Tom Rini65461122022-06-17 16:24:31 -0400146 select ESBC_HDR_LS if CHAIN_OF_TRUST
Tom Rini05b419e2021-12-11 14:55:49 -0500147 select FSL_IFC
Rajesh Bhagat52d237a2019-01-25 13:36:26 +0000148 select FSL_LAYERSCAPE
Ashish Kumarb25faa22017-08-31 16:12:53 +0530149 select FSL_LSCH3
Tom Rini249f11f2021-08-19 14:19:39 -0400150 select GICV3
Tom Rinie1e85442021-08-27 21:18:30 -0400151 select SKIP_LOWLEVEL_INIT
Sriram Dash4a943332018-01-30 15:58:44 +0530152 select SYS_FSL_SRDS_1
153 select SYS_HAS_SERDES
Ashish Kumarb25faa22017-08-31 16:12:53 +0530154 select SYS_FSL_DDR
155 select SYS_FSL_DDR_LE
156 select SYS_FSL_DDR_VER_50
Ashish Kumarec455e22017-08-31 16:37:31 +0530157 select SYS_FSL_EC1
158 select SYS_FSL_EC2
Pankit Gargf5c2a832018-12-27 04:37:55 +0000159 select SYS_FSL_ERRATUM_A009803 if !TFABOOT
160 select SYS_FSL_ERRATUM_A009942 if !TFABOOT
161 select SYS_FSL_ERRATUM_A010165 if !TFABOOT
162 select SYS_FSL_ERRATUM_A008511 if !TFABOOT
163 select SYS_FSL_ERRATUM_A008850 if !TFABOOT
Ran Wangef277072017-09-22 15:21:34 +0800164 select SYS_FSL_ERRATUM_A009007
Ashish Kumarb25faa22017-08-31 16:12:53 +0530165 select SYS_FSL_HAS_CCI400
166 select SYS_FSL_HAS_DDR4
Ashish Kumarec455e22017-08-31 16:37:31 +0530167 select SYS_FSL_HAS_RGMII
Ashish Kumarb25faa22017-08-31 16:12:53 +0530168 select SYS_FSL_HAS_SEC
169 select SYS_FSL_SEC_COMPAT_5
170 select SYS_FSL_SEC_LE
171 select SYS_FSL_SRDS_1
172 select SYS_FSL_SRDS_2
173 select FSL_TZASC_1
Rajesh Bhagat5756f7e2019-01-20 05:30:06 +0000174 select FSL_TZASC_400
175 select FSL_TZPC_BP147
Ashish Kumarb25faa22017-08-31 16:12:53 +0530176 select ARCH_EARLY_INIT_R
177 select BOARD_EARLY_INIT_F
Sriram Dash7122a0c2018-02-06 11:26:30 +0530178 select SYS_I2C_MXC
Chuanhua Han98a5e402019-07-26 20:25:37 +0800179 select SYS_I2C_MXC_I2C1 if !TFABOOT
180 select SYS_I2C_MXC_I2C2 if !TFABOOT
181 select SYS_I2C_MXC_I2C3 if !TFABOOT
182 select SYS_I2C_MXC_I2C4 if !TFABOOT
Hou Zhiqiangce4a92a2020-04-28 10:19:31 +0800183 select RESV_RAM if GIC_V3_ITS
Tom Rini4abdf142021-08-17 17:59:41 -0400184 imply ID_EEPROM
Ashish Kumara179e562017-11-02 09:50:47 +0530185 imply SCSI
Tom Rini52b2e262021-08-18 23:12:24 -0400186 imply SPL_SYS_I2C_LEGACY
Masahiro Yamadaacede7a2017-12-04 12:37:00 +0900187 imply PANIC_HANG
Ashish Kumarb25faa22017-08-31 16:12:53 +0530188
York Sunfcd0e742016-10-04 14:31:47 -0700189config ARCH_LS2080A
190 bool
Hou Zhiqiang4d1525a2017-01-06 17:41:11 +0800191 select ARMV8_SET_SMPEN
Tom Rinibacb52c2017-03-07 07:13:42 -0500192 select ARM_ERRATA_826974
193 select ARM_ERRATA_828024
194 select ARM_ERRATA_829520
195 select ARM_ERRATA_833471
Tom Rini65461122022-06-17 16:24:31 -0400196 select ESBC_HDR_LS if CHAIN_OF_TRUST
Tom Rini05b419e2021-12-11 14:55:49 -0500197 select FSL_IFC
Rajesh Bhagat52d237a2019-01-25 13:36:26 +0000198 select FSL_LAYERSCAPE
York Sun4dd8c612016-10-04 14:31:48 -0700199 select FSL_LSCH3
Tom Rinif839dd02022-07-31 21:08:22 -0400200 select SYS_FSL_OTHER_DDR_NUM_CTRLS
Tom Rini249f11f2021-08-19 14:19:39 -0400201 select GICV3
Tom Rinie1e85442021-08-27 21:18:30 -0400202 select SKIP_LOWLEVEL_INIT
Sriram Dash4a943332018-01-30 15:58:44 +0530203 select SYS_FSL_SRDS_1
204 select SYS_HAS_SERDES
York Sund297d392016-12-28 08:43:40 -0800205 select SYS_FSL_DDR
York Sunb6fffd82016-10-04 18:03:08 -0700206 select SYS_FSL_DDR_LE
207 select SYS_FSL_DDR_VER_50
Ashish Kumar97393d62017-08-18 10:54:36 +0530208 select SYS_FSL_HAS_CCN504
York Sun6b62ef02016-10-04 18:01:34 -0700209 select SYS_FSL_HAS_DP_DDR
York Sun92c36e22016-12-28 08:43:30 -0800210 select SYS_FSL_HAS_SEC
York Sund297d392016-12-28 08:43:40 -0800211 select SYS_FSL_HAS_DDR4
York Sun92c36e22016-12-28 08:43:30 -0800212 select SYS_FSL_SEC_COMPAT_5
York Sunfa4199422016-12-28 08:43:31 -0800213 select SYS_FSL_SEC_LE
York Sun6b62ef02016-10-04 18:01:34 -0700214 select SYS_FSL_SRDS_2
Ashish kumar76bd6ce2017-04-07 11:40:32 +0530215 select FSL_TZASC_1
216 select FSL_TZASC_2
Rajesh Bhagat5756f7e2019-01-20 05:30:06 +0000217 select FSL_TZASC_400
218 select FSL_TZPC_BP147
Rajesh Bhagatd5691be2018-12-27 04:37:59 +0000219 select SYS_FSL_ERRATUM_A008336 if !TFABOOT
220 select SYS_FSL_ERRATUM_A008511 if !TFABOOT
221 select SYS_FSL_ERRATUM_A008514 if !TFABOOT
York Sun1dc61ca2016-12-28 08:43:41 -0800222 select SYS_FSL_ERRATUM_A008585
Ran Wange64f7472017-09-04 18:46:50 +0800223 select SYS_FSL_ERRATUM_A008997
Ran Wang3ba69482017-09-04 18:46:51 +0800224 select SYS_FSL_ERRATUM_A009007
Ran Wangb358b7b2017-09-04 18:46:48 +0800225 select SYS_FSL_ERRATUM_A009008
York Sun1dc61ca2016-12-28 08:43:41 -0800226 select SYS_FSL_ERRATUM_A009635
Rajesh Bhagatd5691be2018-12-27 04:37:59 +0000227 select SYS_FSL_ERRATUM_A009663 if !TFABOOT
Ran Wang9e8fabc2017-09-04 18:46:49 +0800228 select SYS_FSL_ERRATUM_A009798
York Sun1dc61ca2016-12-28 08:43:41 -0800229 select SYS_FSL_ERRATUM_A009801
Rajesh Bhagatd5691be2018-12-27 04:37:59 +0000230 select SYS_FSL_ERRATUM_A009803 if !TFABOOT
231 select SYS_FSL_ERRATUM_A009942 if !TFABOOT
232 select SYS_FSL_ERRATUM_A010165 if !TFABOOT
Ashish kumar3b52a232017-02-23 16:03:57 +0530233 select SYS_FSL_ERRATUM_A009203
Simon Glass62adede2017-01-23 13:31:19 -0700234 select ARCH_EARLY_INIT_R
Simon Glass7a99a872017-01-23 13:31:20 -0700235 select BOARD_EARLY_INIT_F
Sriram Dash7122a0c2018-02-06 11:26:30 +0530236 select SYS_I2C_MXC
Chuanhua Han3f27fff2019-07-26 19:24:03 +0800237 select SYS_I2C_MXC_I2C1 if !TFABOOT
238 select SYS_I2C_MXC_I2C2 if !TFABOOT
239 select SYS_I2C_MXC_I2C3 if !TFABOOT
240 select SYS_I2C_MXC_I2C4 if !TFABOOT
Hou Zhiqiangce4a92a2020-04-28 10:19:31 +0800241 select RESV_RAM if GIC_V3_ITS
Masahiro Yamada9afc6c52018-04-25 18:47:52 +0900242 imply DISTRO_DEFAULTS
Tom Rini4abdf142021-08-17 17:59:41 -0400243 imply ID_EEPROM
Masahiro Yamadaacede7a2017-12-04 12:37:00 +0900244 imply PANIC_HANG
Tom Rini52b2e262021-08-18 23:12:24 -0400245 imply SPL_SYS_I2C_LEGACY
York Sun4dd8c612016-10-04 14:31:48 -0700246
Meenakshi Aggarwalccb5d5d2020-10-29 19:16:16 +0530247config ARCH_LX2162A
248 bool
249 select ARMV8_SET_SMPEN
Tom Rini65461122022-06-17 16:24:31 -0400250 select ESBC_HDR_LS if CHAIN_OF_TRUST
Tom Riniea3cc392021-11-13 19:22:43 -0500251 select FSL_DDR_BIST
252 select FSL_DDR_INTERACTIVE
Tom Rini80b48612021-11-07 22:59:36 -0500253 select FSL_LAYERSCAPE
Meenakshi Aggarwalccb5d5d2020-10-29 19:16:16 +0530254 select FSL_LSCH3
Tom Rinid391d8b2021-12-11 14:55:51 -0500255 select FSL_TZPC_BP147
Tom Rini249f11f2021-08-19 14:19:39 -0400256 select GICV3
Meenakshi Aggarwalccb5d5d2020-10-29 19:16:16 +0530257 select NXP_LSCH3_2
258 select SYS_HAS_SERDES
259 select SYS_FSL_SRDS_1
260 select SYS_FSL_SRDS_2
261 select SYS_FSL_DDR
262 select SYS_FSL_DDR_LE
263 select SYS_FSL_DDR_VER_50
264 select SYS_FSL_EC1
265 select SYS_FSL_EC2
Ran Wang13a84a52021-06-16 17:53:19 +0530266 select SYS_FSL_ERRATUM_A050204
Yangbo Lu84f0a952021-04-27 16:42:11 +0800267 select SYS_FSL_ERRATUM_A011334
268 select SYS_FSL_ESDHC_UNRELIABLE_PULSE_DETECTION_WORKAROUND
Meenakshi Aggarwalccb5d5d2020-10-29 19:16:16 +0530269 select SYS_FSL_HAS_RGMII
270 select SYS_FSL_HAS_SEC
271 select SYS_FSL_HAS_CCN508
272 select SYS_FSL_HAS_DDR4
273 select SYS_FSL_SEC_COMPAT_5
274 select SYS_FSL_SEC_LE
Tom Rini50e6f1b2021-12-12 22:12:32 -0500275 select SYS_PCI_64BIT if PCI
Meenakshi Aggarwalccb5d5d2020-10-29 19:16:16 +0530276 select ARCH_EARLY_INIT_R
277 select BOARD_EARLY_INIT_F
278 select SYS_I2C_MXC
279 select RESV_RAM if GIC_V3_ITS
280 imply DISTRO_DEFAULTS
281 imply PANIC_HANG
282 imply SCSI
283 imply SCSI_AHCI
Tom Rini52b2e262021-08-18 23:12:24 -0400284 imply SPL_SYS_I2C_LEGACY
Meenakshi Aggarwalccb5d5d2020-10-29 19:16:16 +0530285
Priyanka Jainef76b2e2018-10-29 09:17:09 +0000286config ARCH_LX2160A
287 bool
288 select ARMV8_SET_SMPEN
Tom Rini65461122022-06-17 16:24:31 -0400289 select ESBC_HDR_LS if CHAIN_OF_TRUST
Tom Riniea3cc392021-11-13 19:22:43 -0500290 select FSL_DDR_BIST
291 select FSL_DDR_INTERACTIVE
Tom Rini80b48612021-11-07 22:59:36 -0500292 select FSL_LAYERSCAPE
Priyanka Jainef76b2e2018-10-29 09:17:09 +0000293 select FSL_LSCH3
Tom Rinid391d8b2021-12-11 14:55:51 -0500294 select FSL_TZPC_BP147
Tom Rini249f11f2021-08-19 14:19:39 -0400295 select GICV3
Tom Rini46c97312021-07-21 18:53:20 -0400296 select HAS_FSL_XHCI_USB if USB_HOST
Priyanka Jainef76b2e2018-10-29 09:17:09 +0000297 select NXP_LSCH3_2
298 select SYS_HAS_SERDES
299 select SYS_FSL_SRDS_1
300 select SYS_FSL_SRDS_2
301 select SYS_NXP_SRDS_3
302 select SYS_FSL_DDR
303 select SYS_FSL_DDR_LE
304 select SYS_FSL_DDR_VER_50
305 select SYS_FSL_EC1
306 select SYS_FSL_EC2
Ran Wang13a84a52021-06-16 17:53:19 +0530307 select SYS_FSL_ERRATUM_A050204
Yangbo Lu84f0a952021-04-27 16:42:11 +0800308 select SYS_FSL_ERRATUM_A011334
309 select SYS_FSL_ESDHC_UNRELIABLE_PULSE_DETECTION_WORKAROUND
Priyanka Jainef76b2e2018-10-29 09:17:09 +0000310 select SYS_FSL_HAS_RGMII
311 select SYS_FSL_HAS_SEC
312 select SYS_FSL_HAS_CCN508
313 select SYS_FSL_HAS_DDR4
314 select SYS_FSL_SEC_COMPAT_5
315 select SYS_FSL_SEC_LE
Tom Rini50e6f1b2021-12-12 22:12:32 -0500316 select SYS_PCI_64BIT if PCI
Priyanka Jainef76b2e2018-10-29 09:17:09 +0000317 select ARCH_EARLY_INIT_R
318 select BOARD_EARLY_INIT_F
319 select SYS_I2C_MXC
Hou Zhiqiangce4a92a2020-04-28 10:19:31 +0800320 select RESV_RAM if GIC_V3_ITS
Priyanka Jainef76b2e2018-10-29 09:17:09 +0000321 imply DISTRO_DEFAULTS
Tom Rini4abdf142021-08-17 17:59:41 -0400322 imply ID_EEPROM
Priyanka Jainef76b2e2018-10-29 09:17:09 +0000323 imply PANIC_HANG
324 imply SCSI
325 imply SCSI_AHCI
Tom Rini52b2e262021-08-18 23:12:24 -0400326 imply SPL_SYS_I2C_LEGACY
Priyanka Jainef76b2e2018-10-29 09:17:09 +0000327
York Sun4dd8c612016-10-04 14:31:48 -0700328config FSL_LSCH2
329 bool
Tom Rinie1e85442021-08-27 21:18:30 -0400330 select SKIP_LOWLEVEL_INIT
Tom Rinif4ec7132022-07-23 13:05:09 -0400331 select SYS_FSL_CCSR_GUR_BE
332 select SYS_FSL_CCSR_SCFG_BE
333 select SYS_FSL_ESDHC_BE
334 select SYS_FSL_IFC_BE
335 select SYS_FSL_PEX_LUT_BE
Ashish Kumar11234062017-08-11 11:09:14 +0530336 select SYS_FSL_HAS_CCI400
York Sun92c36e22016-12-28 08:43:30 -0800337 select SYS_FSL_HAS_SEC
338 select SYS_FSL_SEC_COMPAT_5
York Sunfa4199422016-12-28 08:43:31 -0800339 select SYS_FSL_SEC_BE
York Sun4dd8c612016-10-04 14:31:48 -0700340
341config FSL_LSCH3
Alex Marginean47568ce2020-01-11 01:05:40 +0200342 select ARCH_MISC_INIT
Tom Rinif4ec7132022-07-23 13:05:09 -0400343 select SYS_FSL_CCSR_GUR_LE
344 select SYS_FSL_CCSR_SCFG_LE
345 select SYS_FSL_ESDHC_LE
346 select SYS_FSL_IFC_LE
347 select SYS_FSL_PEX_LUT_LE
York Sun4dd8c612016-10-04 14:31:48 -0700348 bool
349
Priyanka Jain88c25662018-10-29 09:11:29 +0000350config NXP_LSCH3_2
351 bool
352
Tom Rinif4ec7132022-07-23 13:05:09 -0400353config SYS_FSL_CCSR_GUR_BE
354 bool
355
356config SYS_FSL_CCSR_SCFG_BE
357 bool
358
359config SYS_FSL_PEX_LUT_BE
360 bool
361
362config SYS_FSL_CCSR_GUR_LE
363 bool
364
365config SYS_FSL_CCSR_SCFG_LE
366 bool
367
368config SYS_FSL_ESDHC_LE
369 bool
370
371config SYS_FSL_IFC_LE
372 bool
373
374config SYS_FSL_PEX_LUT_LE
375 bool
376
York Sun4dd8c612016-10-04 14:31:48 -0700377menu "Layerscape architecture"
378 depends on FSL_LSCH2 || FSL_LSCH3
York Sunfcd0e742016-10-04 14:31:47 -0700379
Rajesh Bhagat52d237a2019-01-25 13:36:26 +0000380config FSL_LAYERSCAPE
381 bool
Michael Walle166ea482022-04-22 14:53:27 +0530382 select ARM_SMCCC
Rajesh Bhagat52d237a2019-01-25 13:36:26 +0000383
Wenbin Songa8f57a92017-01-17 18:31:15 +0800384config HAS_FEATURE_GIC64K_ALIGN
385 bool
386 default y if ARCH_LS1043A
387
Wenbin Songc6bc7c02017-01-17 18:31:16 +0800388config HAS_FEATURE_ENHANCED_MSI
389 bool
390 default y if ARCH_LS1043A
Wenbin Songa8f57a92017-01-17 18:31:15 +0800391
macro.wave.z@gmail.comec2d7ed2016-12-08 11:58:21 +0800392menu "Layerscape PPA"
393config FSL_LS_PPA
394 bool "FSL Layerscape PPA firmware support"
macro.wave.z@gmail.com01bd3342016-12-08 11:58:22 +0800395 depends on !ARMV8_PSCI
Hou Zhiqiangbff56d52017-01-16 17:31:49 +0800396 select ARMV8_SEC_FIRMWARE_SUPPORT
Hou Zhiqiang6be115d2017-01-16 17:31:48 +0800397 select SEC_FIRMWARE_ARMV8_PSCI
Hou Zhiqiangbff56d52017-01-16 17:31:49 +0800398 select ARMV8_SEC_FIRMWARE_ERET_ADDR_REVERT if FSL_LSCH2
macro.wave.z@gmail.comec2d7ed2016-12-08 11:58:21 +0800399 help
400 The FSL Primary Protected Application (PPA) is a software component
401 which is loaded during boot stage, and then remains resident in RAM
402 and runs in the TrustZone after boot.
403 Say y to enable it.
York Sunf2aaf842017-05-15 08:52:00 -0700404
405config SPL_FSL_LS_PPA
406 bool "FSL Layerscape PPA firmware support for SPL build"
407 depends on !ARMV8_PSCI
408 select SPL_ARMV8_SEC_FIRMWARE_SUPPORT
409 select SEC_FIRMWARE_ARMV8_PSCI
410 select ARMV8_SEC_FIRMWARE_ERET_ADDR_REVERT if FSL_LSCH2
411 help
412 The FSL Primary Protected Application (PPA) is a software component
413 which is loaded during boot stage, and then remains resident in RAM
414 and runs in the TrustZone after boot. This is to load PPA during SPL
415 stage instead of the RAM version of U-Boot. Once PPA is initialized,
416 the rest of U-Boot (including RAM version) runs at EL2.
Hou Zhiqiangbff56d52017-01-16 17:31:49 +0800417choice
418 prompt "FSL Layerscape PPA firmware loading-media select"
419 depends on FSL_LS_PPA
Hou Zhiqiangbd6e2cd2017-03-17 16:12:33 +0800420 default SYS_LS_PPA_FW_IN_MMC if SD_BOOT
421 default SYS_LS_PPA_FW_IN_NAND if NAND_BOOT
Hou Zhiqiangbff56d52017-01-16 17:31:49 +0800422 default SYS_LS_PPA_FW_IN_XIP
423
424config SYS_LS_PPA_FW_IN_XIP
425 bool "XIP"
426 help
427 Say Y here if the PPA firmware locate at XIP flash, such
428 as NOR or QSPI flash.
429
Hou Zhiqiangbd6e2cd2017-03-17 16:12:33 +0800430config SYS_LS_PPA_FW_IN_MMC
431 bool "eMMC or SD Card"
432 help
433 Say Y here if the PPA firmware locate at eMMC/SD card.
434
435config SYS_LS_PPA_FW_IN_NAND
436 bool "NAND"
437 help
438 Say Y here if the PPA firmware locate at NAND flash.
439
Hou Zhiqiangbff56d52017-01-16 17:31:49 +0800440endchoice
441
Sumit Garg8fddf752017-04-20 05:09:11 +0530442config LS_PPA_ESBC_HDR_SIZE
443 hex "Length of PPA ESBC header"
444 depends on FSL_LS_PPA && CHAIN_OF_TRUST && !SYS_LS_PPA_FW_IN_XIP
445 default 0x2000
446 help
447 Length (in bytes) of PPA ESBC header to be copied from MMC/SD or
448 NAND to memory to validate PPA image.
449
macro.wave.z@gmail.comec2d7ed2016-12-08 11:58:21 +0800450endmenu
451
Ran Wange64f7472017-09-04 18:46:50 +0800452config SYS_FSL_ERRATUM_A008997
453 bool "Workaround for USB PHY erratum A008997"
454
Ran Wang3ba69482017-09-04 18:46:51 +0800455config SYS_FSL_ERRATUM_A009007
456 bool
457 help
458 Workaround for USB PHY erratum A009007
459
Ran Wangb358b7b2017-09-04 18:46:48 +0800460config SYS_FSL_ERRATUM_A009008
461 bool "Workaround for USB PHY erratum A009008"
462
Ran Wang9e8fabc2017-09-04 18:46:49 +0800463config SYS_FSL_ERRATUM_A009798
464 bool "Workaround for USB PHY erratum A009798"
465
Ran Wang13a84a52021-06-16 17:53:19 +0530466config SYS_FSL_ERRATUM_A050204
467 bool "Workaround for USB PHY erratum A050204"
Ran Wangd0270dc2019-11-26 11:40:40 +0800468 help
469 USB3.0 Receiver needs to enable fixed equalization
470 for each of PHY instances in an SOC. This is similar
Meenakshi Aggarwalccb5d5d2020-10-29 19:16:16 +0530471 to erratum A-009007, but this one is for LX2160A and LX2162A,
Ran Wangd0270dc2019-11-26 11:40:40 +0800472 and the register value is different.
473
York Sun149eb332016-09-26 08:09:27 -0700474config SYS_FSL_ERRATUM_A010315
475 bool "Workaround for PCIe erratum A010315"
Hou Zhiqiangc06b30a2016-09-29 12:42:44 +0800476
477config SYS_FSL_ERRATUM_A010539
478 bool "Workaround for PIN MUX erratum A010539"
York Sun4dd8c612016-10-04 14:31:48 -0700479
York Sunf188d222016-10-04 14:45:01 -0700480config MAX_CPUS
481 int "Maximum number of CPUs permitted for Layerscape"
Yuantian Tang4aefa162019-04-10 16:43:33 +0800482 default 2 if ARCH_LS1028A
York Sunf188d222016-10-04 14:45:01 -0700483 default 4 if ARCH_LS1043A
484 default 4 if ARCH_LS1046A
485 default 16 if ARCH_LS2080A
Ashish Kumarb25faa22017-08-31 16:12:53 +0530486 default 8 if ARCH_LS1088A
Priyanka Jainef76b2e2018-10-29 09:17:09 +0000487 default 16 if ARCH_LX2160A
Meenakshi Aggarwalccb5d5d2020-10-29 19:16:16 +0530488 default 16 if ARCH_LX2162A
York Sunf188d222016-10-04 14:45:01 -0700489 default 1
490 help
491 Set this number to the maximum number of possible CPUs in the SoC.
492 SoCs may have multiple clusters with each cluster may have multiple
493 ports. If some ports are reserved but higher ports are used for
494 cores, count the reserved ports. This will allocate enough memory
495 in spin table to properly handle all cores.
496
Meenakshi Aggarwalbbd33182018-11-30 22:32:11 +0530497config EMC2305
498 bool "Fan controller"
499 help
500 Enable the EMC2305 fan controller for configuration of fan
501 speed.
502
Yuan Yao52ae4fd2016-12-01 10:13:52 +0800503config QSPI_AHB_INIT
504 bool "Init the QSPI AHB bus"
505 help
506 The default setting for QSPI AHB bus just support 3bytes addressing.
507 But some QSPI flash size up to 64MBytes, so initialize the QSPI AHB
508 bus for those flashes to support the full QSPI flash size.
509
Kuldeep Singh34aafb02019-11-21 17:15:17 +0530510config FSPI_AHB_EN_4BYTE
511 bool "Enable 4-byte Fast Read command for AHB mode"
Kuldeep Singh34aafb02019-11-21 17:15:17 +0530512 help
513 The default setting for FlexSPI AHB bus just supports 3-byte addressing.
514 But some FlexSPI flash sizes are up to 64MBytes.
515 This flag enables fast read command for AHB mode and modifies required
516 LUT to support full FlexSPI flash.
517
Ashish Kumar11234062017-08-11 11:09:14 +0530518config SYS_CCI400_OFFSET
519 hex "Offset for CCI400 base"
520 depends on SYS_FSL_HAS_CCI400
Yuantian Tang4aefa162019-04-10 16:43:33 +0800521 default 0x3090000 if ARCH_LS1088A || ARCH_LS1028A
Ashish Kumar11234062017-08-11 11:09:14 +0530522 default 0x180000 if FSL_LSCH2
523 help
524 Offset for CCI400 base
525 CCI400 base addr = CCSRBAR + CCI400_OFFSET
526
York Sune7310a32016-10-04 14:45:54 -0700527config SYS_FSL_IFC_BANK_COUNT
528 int "Maximum banks of Integrated flash controller"
Ashish Kumarb25faa22017-08-31 16:12:53 +0530529 depends on ARCH_LS1043A || ARCH_LS1046A || ARCH_LS2080A || ARCH_LS1088A
York Sune7310a32016-10-04 14:45:54 -0700530 default 4 if ARCH_LS1043A
531 default 4 if ARCH_LS1046A
Ashish Kumarb25faa22017-08-31 16:12:53 +0530532 default 8 if ARCH_LS2080A || ARCH_LS1088A
York Sune7310a32016-10-04 14:45:54 -0700533
Ashish Kumar11234062017-08-11 11:09:14 +0530534config SYS_FSL_HAS_CCI400
535 bool
536
Ashish Kumar97393d62017-08-18 10:54:36 +0530537config SYS_FSL_HAS_CCN504
538 bool
539
Priyanka Jainef76b2e2018-10-29 09:17:09 +0000540config SYS_FSL_HAS_CCN508
541 bool
542
York Sun0dc9abb2016-10-04 14:46:50 -0700543config SYS_FSL_HAS_DP_DDR
544 bool
Tom Rini69ea5a62022-03-30 18:07:35 -0400545 help
546 Defines the SoC has DP-DDR used for DPAA.
547
548config DP_DDR_CTRL
549 int
550 depends on SYS_FSL_HAS_DP_DDR
551 default 2 if ARCH_LS2080A
552
Tom Riniaa5cfa92022-06-15 12:03:53 -0400553config DP_DDR_DIMM_SLOTS_PER_CTLR
554 int
555 depends on SYS_FSL_HAS_DP_DDR
556 default 1 if ARCH_LS2080A
557
Tom Rini69ea5a62022-03-30 18:07:35 -0400558config DP_DDR_NUM_CTRLS
559 int
560 depends on SYS_FSL_HAS_DP_DDR
561 default 1 if ARCH_LS2080A
562
563config SYS_DP_DDR_BASE
564 hex
565 depends on SYS_FSL_HAS_DP_DDR
566 default 0x6000000000 if ARCH_LS2080A
567
568config SYS_DP_DDR_BASE_PHY
569 int
570 depends on SYS_FSL_HAS_DP_DDR
571 default 0 if ARCH_LS2080A
572 help
573 DDR controller uses this value as the base address for binding.
574 It is mapped to CONFIG_SYS_DP_DDR_BASE for core to access.
York Sun0dc9abb2016-10-04 14:46:50 -0700575
York Sun6b62ef02016-10-04 18:01:34 -0700576config SYS_FSL_SRDS_1
577 bool
578
579config SYS_FSL_SRDS_2
580 bool
581
Priyanka Jain1a602532018-09-27 10:32:05 +0530582config SYS_NXP_SRDS_3
583 bool
584
York Sun6b62ef02016-10-04 18:01:34 -0700585config SYS_HAS_SERDES
586 bool
587
Ashish kumar76bd6ce2017-04-07 11:40:32 +0530588config FSL_TZASC_1
589 bool
590
591config FSL_TZASC_2
592 bool
593
Rajesh Bhagat5756f7e2019-01-20 05:30:06 +0000594config FSL_TZASC_400
595 bool
596
597config FSL_TZPC_BP147
598 bool
York Sun4dd8c612016-10-04 14:31:48 -0700599endmenu
York Sun1dc61ca2016-12-28 08:43:41 -0800600
Hou Zhiqiang3f91cda2017-01-10 16:44:15 +0800601menu "Layerscape clock tree configuration"
602 depends on FSL_LSCH2 || FSL_LSCH3
603
Hou Zhiqiang3f91cda2017-01-10 16:44:15 +0800604config CLUSTER_CLK_FREQ
605 int "Reference clock of core cluster"
606 depends on ARCH_LS1012A
607 default 100000000
608 help
609 This number is the reference clock frequency of core PLL.
610 For most platforms, the core PLL and Platform PLL have the same
611 reference clock, but for some platforms, LS1012A for instance,
612 they are provided sepatately.
613
614config SYS_FSL_PCLK_DIV
615 int "Platform clock divider"
Yuantian Tang4aefa162019-04-10 16:43:33 +0800616 default 1 if ARCH_LS1028A
Hou Zhiqiang3f91cda2017-01-10 16:44:15 +0800617 default 1 if ARCH_LS1043A
618 default 1 if ARCH_LS1046A
Ashish Kumarb25faa22017-08-31 16:12:53 +0530619 default 1 if ARCH_LS1088A
Hou Zhiqiang3f91cda2017-01-10 16:44:15 +0800620 default 2
621 help
622 This is the divider that is used to derive Platform clock from
623 Platform PLL, in another word:
624 Platform_clk = Platform_PLL_freq / this_divider
625
626config SYS_FSL_DSPI_CLK_DIV
627 int "DSPI clock divider"
628 default 1 if ARCH_LS1043A
629 default 2
630 help
631 This is the divider that is used to derive DSPI clock from Platform
Hou Zhiqiang0c8fcb62017-07-03 18:37:11 +0800632 clock, in another word DSPI_clk = Platform_clk / this_divider.
Hou Zhiqiang3f91cda2017-01-10 16:44:15 +0800633
634config SYS_FSL_DUART_CLK_DIV
635 int "DUART clock divider"
636 default 1 if ARCH_LS1043A
Priyanka Jainef76b2e2018-10-29 09:17:09 +0000637 default 4 if ARCH_LX2160A
Meenakshi Aggarwalccb5d5d2020-10-29 19:16:16 +0530638 default 4 if ARCH_LX2162A
Hou Zhiqiang3f91cda2017-01-10 16:44:15 +0800639 default 2
640 help
641 This is the divider that is used to derive DUART clock from Platform
642 clock, in another word DUART_clk = Platform_clk / this_divider.
643
644config SYS_FSL_I2C_CLK_DIV
645 int "I2C clock divider"
646 default 1 if ARCH_LS1043A
Chuanhua Han44d4d332019-08-02 16:53:53 +0800647 default 4 if ARCH_LS1012A
648 default 4 if ARCH_LS1028A
649 default 8 if ARCH_LX2160A
Meenakshi Aggarwalccb5d5d2020-10-29 19:16:16 +0530650 default 8 if ARCH_LX2162A
Chuanhua Han44d4d332019-08-02 16:53:53 +0800651 default 8 if ARCH_LS1088A
Hou Zhiqiang3f91cda2017-01-10 16:44:15 +0800652 default 2
653 help
654 This is the divider that is used to derive I2C clock from Platform
655 clock, in another word I2C_clk = Platform_clk / this_divider.
656
657config SYS_FSL_IFC_CLK_DIV
658 int "IFC clock divider"
659 default 1 if ARCH_LS1043A
Chuanhua Han3df89cc2019-08-08 17:04:58 +0800660 default 4 if ARCH_LS1012A
661 default 4 if ARCH_LS1028A
662 default 8 if ARCH_LX2160A
Meenakshi Aggarwalccb5d5d2020-10-29 19:16:16 +0530663 default 8 if ARCH_LX2162A
Chuanhua Han3df89cc2019-08-08 17:04:58 +0800664 default 8 if ARCH_LS1088A
Hou Zhiqiang3f91cda2017-01-10 16:44:15 +0800665 default 2
666 help
667 This is the divider that is used to derive IFC clock from Platform
668 clock, in another word IFC_clk = Platform_clk / this_divider.
669
670config SYS_FSL_LPUART_CLK_DIV
671 int "LPUART clock divider"
672 default 1 if ARCH_LS1043A
673 default 2
674 help
675 This is the divider that is used to derive LPUART clock from Platform
676 clock, in another word LPUART_clk = Platform_clk / this_divider.
677
678config SYS_FSL_SDHC_CLK_DIV
679 int "SDHC clock divider"
680 default 1 if ARCH_LS1043A
681 default 1 if ARCH_LS1012A
682 default 2
683 help
684 This is the divider that is used to derive SDHC clock from Platform
685 clock, in another word SDHC_clk = Platform_clk / this_divider.
Hou Zhiqiangfef32c62018-04-25 16:28:44 +0800686
687config SYS_FSL_QMAN_CLK_DIV
688 int "QMAN clock divider"
689 default 1 if ARCH_LS1043A
690 default 2
691 help
692 This is the divider that is used to derive QMAN clock from Platform
693 clock, in another word QMAN_clk = Platform_clk / this_divider.
Hou Zhiqiang3f91cda2017-01-10 16:44:15 +0800694endmenu
695
York Sund6964b32017-03-06 09:02:24 -0800696config RESV_RAM
697 bool
698 help
699 Reserve memory from the top, tracked by gd->arch.resv_ram. This
700 reserved RAM can be used by special driver that resides in memory
701 after U-Boot exits. It's up to implementation to allocate and allow
702 access to this reserved memory. For example, the reserved RAM can
703 be at the high end of physical memory. The reserve RAM may be
704 excluded from memory bank(s) passed to OS, or marked as reserved.
705
Ashish Kumarec455e22017-08-31 16:37:31 +0530706config SYS_FSL_EC1
707 bool
708 help
Priyanka Jainef76b2e2018-10-29 09:17:09 +0000709 Ethernet controller 1, this is connected to
Meenakshi Aggarwalccb5d5d2020-10-29 19:16:16 +0530710 MAC17 for LX2160A and LX2162A or to MAC3 for other SoCs
Ashish Kumarec455e22017-08-31 16:37:31 +0530711 Provides DPAA2 capabilities
712
713config SYS_FSL_EC2
714 bool
715 help
Priyanka Jainef76b2e2018-10-29 09:17:09 +0000716 Ethernet controller 2, this is connected to
Meenakshi Aggarwalccb5d5d2020-10-29 19:16:16 +0530717 MAC18 for LX2160A and LX2162A or to MAC4 for other SoCs
Ashish Kumarec455e22017-08-31 16:37:31 +0530718 Provides DPAA2 capabilities
719
York Sun1dc61ca2016-12-28 08:43:41 -0800720config SYS_FSL_ERRATUM_A008336
721 bool
722
723config SYS_FSL_ERRATUM_A008514
724 bool
725
726config SYS_FSL_ERRATUM_A008585
727 bool
728
729config SYS_FSL_ERRATUM_A008850
730 bool
731
Ashish kumar3b52a232017-02-23 16:03:57 +0530732config SYS_FSL_ERRATUM_A009203
733 bool
734
York Sun1dc61ca2016-12-28 08:43:41 -0800735config SYS_FSL_ERRATUM_A009635
736 bool
737
738config SYS_FSL_ERRATUM_A009660
739 bool
740
Laurentiu Tudor7ea2feb2019-10-18 09:01:56 +0000741config SYS_FSL_ERRATUM_A050382
742 bool
Ashish Kumarec455e22017-08-31 16:37:31 +0530743
744config SYS_FSL_HAS_RGMII
745 bool
746 depends on SYS_FSL_EC1 || SYS_FSL_EC2
747
Ran Wang5959f842017-10-23 10:09:21 +0800748config HAS_FSL_XHCI_USB
749 bool
Ran Wang5959f842017-10-23 10:09:21 +0800750 help
Tom Rini46c97312021-07-21 18:53:20 -0400751 For some SoC (such as LS1043A and LS1046A), USB and QE-HDLC multiplex use
Ran Wang5959f842017-10-23 10:09:21 +0800752 pins, select it when the pins are assigned to USB.
Rajesh Bhagat729f22f2021-02-11 13:28:49 +0100753
754config SYS_FSL_BOOTROM_BASE
755 hex
756 depends on FSL_LSCH2
757 default 0
758
759config SYS_FSL_BOOTROM_SIZE
760 hex
761 depends on FSL_LSCH2
762 default 0x1000000