York Sun | b3d7164 | 2016-09-26 08:09:26 -0700 | [diff] [blame] | 1 | config ARCH_LS1012A |
York Sun | fcd0e74 | 2016-10-04 14:31:47 -0700 | [diff] [blame] | 2 | bool |
Hou Zhiqiang | 4d1525a | 2017-01-06 17:41:11 +0800 | [diff] [blame] | 3 | select ARMV8_SET_SMPEN |
Rajesh Bhagat | cd786e8 | 2018-11-05 18:01:48 +0000 | [diff] [blame] | 4 | select ARM_ERRATA_855873 if !TFABOOT |
Rajesh Bhagat | 52d237a | 2019-01-25 13:36:26 +0000 | [diff] [blame] | 5 | select FSL_LAYERSCAPE |
York Sun | 4dd8c61 | 2016-10-04 14:31:48 -0700 | [diff] [blame] | 6 | select FSL_LSCH2 |
Tom Rini | 249f11f | 2021-08-19 14:19:39 -0400 | [diff] [blame] | 7 | select GICV2 |
Tom Rini | e1e8544 | 2021-08-27 21:18:30 -0400 | [diff] [blame] | 8 | select SKIP_LOWLEVEL_INIT |
Sriram Dash | 4a94333 | 2018-01-30 15:58:44 +0530 | [diff] [blame] | 9 | select SYS_FSL_SRDS_1 |
| 10 | select SYS_HAS_SERDES |
York Sun | b6fffd8 | 2016-10-04 18:03:08 -0700 | [diff] [blame] | 11 | select SYS_FSL_DDR_BE |
York Sun | b3d7164 | 2016-09-26 08:09:26 -0700 | [diff] [blame] | 12 | select SYS_FSL_MMDC |
Alban Bedel | 1b1ca2f | 2021-09-06 16:32:56 +0200 | [diff] [blame] | 13 | select SYS_FSL_ERRATUM_A010315 if PCIE_LAYERSCAPE |
Ran Wang | 02dc77b | 2017-11-13 16:14:48 +0800 | [diff] [blame] | 14 | select SYS_FSL_ERRATUM_A009798 |
| 15 | select SYS_FSL_ERRATUM_A008997 |
| 16 | select SYS_FSL_ERRATUM_A009007 |
| 17 | select SYS_FSL_ERRATUM_A009008 |
Simon Glass | 62adede | 2017-01-23 13:31:19 -0700 | [diff] [blame] | 18 | select ARCH_EARLY_INIT_R |
Simon Glass | 7a99a87 | 2017-01-23 13:31:20 -0700 | [diff] [blame] | 19 | select BOARD_EARLY_INIT_F |
Sriram Dash | 7122a0c | 2018-02-06 11:26:30 +0530 | [diff] [blame] | 20 | select SYS_I2C_MXC |
Biwen Li | 0a759bb | 2019-12-31 15:33:41 +0800 | [diff] [blame] | 21 | select SYS_I2C_MXC_I2C1 if !DM_I2C |
| 22 | select SYS_I2C_MXC_I2C2 if !DM_I2C |
Masahiro Yamada | acede7a | 2017-12-04 12:37:00 +0900 | [diff] [blame] | 23 | imply PANIC_HANG |
Simon Glass | 65831d9 | 2021-12-18 11:27:50 -0700 | [diff] [blame] | 24 | imply TIMESTAMP |
York Sun | 149eb33 | 2016-09-26 08:09:27 -0700 | [diff] [blame] | 25 | |
Yuantian Tang | 4aefa16 | 2019-04-10 16:43:33 +0800 | [diff] [blame] | 26 | config ARCH_LS1028A |
| 27 | bool |
| 28 | select ARMV8_SET_SMPEN |
Tom Rini | 6546112 | 2022-06-17 16:24:31 -0400 | [diff] [blame] | 29 | select ESBC_HDR_LS if CHAIN_OF_TRUST |
Michael Walle | 66f2a53 | 2020-05-10 01:20:11 +0200 | [diff] [blame] | 30 | select FSL_LAYERSCAPE |
Yuantian Tang | 4aefa16 | 2019-04-10 16:43:33 +0800 | [diff] [blame] | 31 | select FSL_LSCH3 |
Tom Rini | 249f11f | 2021-08-19 14:19:39 -0400 | [diff] [blame] | 32 | select GICV3 |
Yuantian Tang | 4aefa16 | 2019-04-10 16:43:33 +0800 | [diff] [blame] | 33 | 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 Rini | d391d8b | 2021-12-11 14:55:51 -0500 | [diff] [blame] | 46 | select FSL_TZPC_BP147 |
Yuantian Tang | 4aefa16 | 2019-04-10 16:43:33 +0800 | [diff] [blame] | 47 | select ARCH_EARLY_INIT_R |
| 48 | select BOARD_EARLY_INIT_F |
| 49 | select SYS_I2C_MXC |
Ran Wang | e118acb | 2019-05-14 17:34:56 +0800 | [diff] [blame] | 50 | select SYS_FSL_ERRATUM_A008997 |
Yuantian Tang | 4aefa16 | 2019-04-10 16:43:33 +0800 | [diff] [blame] | 51 | 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 Tudor | 7ea2feb | 2019-10-18 09:01:56 +0000 | [diff] [blame] | 55 | select SYS_FSL_ERRATUM_A050382 |
Michael Walle | 148dc61 | 2021-03-17 15:01:36 +0100 | [diff] [blame] | 56 | select SYS_FSL_ERRATUM_A011334 |
Michael Walle | 7259dc5 | 2021-03-17 15:01:37 +0100 | [diff] [blame] | 57 | select SYS_FSL_ESDHC_UNRELIABLE_PULSE_DETECTION_WORKAROUND |
Hou Zhiqiang | ce4a92a | 2020-04-28 10:19:31 +0800 | [diff] [blame] | 58 | select RESV_RAM if GIC_V3_ITS |
Michael Walle | 42fdd8c | 2022-02-28 13:48:40 +0100 | [diff] [blame] | 59 | select SYS_HAS_ARMV8_SECURE_BASE |
Yuantian Tang | 4aefa16 | 2019-04-10 16:43:33 +0800 | [diff] [blame] | 60 | imply PANIC_HANG |
| 61 | |
York Sun | 149eb33 | 2016-09-26 08:09:27 -0700 | [diff] [blame] | 62 | config ARCH_LS1043A |
York Sun | fcd0e74 | 2016-10-04 14:31:47 -0700 | [diff] [blame] | 63 | bool |
Hou Zhiqiang | 4d1525a | 2017-01-06 17:41:11 +0800 | [diff] [blame] | 64 | select ARMV8_SET_SMPEN |
Rajesh Bhagat | cd786e8 | 2018-11-05 18:01:48 +0000 | [diff] [blame] | 65 | select ARM_ERRATA_855873 if !TFABOOT |
Sean Anderson | 8151273 | 2022-10-17 11:45:10 -0400 | [diff] [blame] | 66 | select FSL_IFC if TFABOOT || (!QSPI_BOOT && !SD_BOOT_QSPI && !SD_BOOT) |
Rajesh Bhagat | 52d237a | 2019-01-25 13:36:26 +0000 | [diff] [blame] | 67 | select FSL_LAYERSCAPE |
York Sun | 4dd8c61 | 2016-10-04 14:31:48 -0700 | [diff] [blame] | 68 | select FSL_LSCH2 |
Tom Rini | 249f11f | 2021-08-19 14:19:39 -0400 | [diff] [blame] | 69 | select GICV2 |
Tom Rini | 46c9731 | 2021-07-21 18:53:20 -0400 | [diff] [blame] | 70 | select HAS_FSL_XHCI_USB if USB_HOST |
Tom Rini | e1e8544 | 2021-08-27 21:18:30 -0400 | [diff] [blame] | 71 | select SKIP_LOWLEVEL_INIT |
Sriram Dash | 4a94333 | 2018-01-30 15:58:44 +0530 | [diff] [blame] | 72 | select SYS_FSL_SRDS_1 |
| 73 | select SYS_HAS_SERDES |
York Sun | d297d39 | 2016-12-28 08:43:40 -0800 | [diff] [blame] | 74 | select SYS_FSL_DDR |
York Sun | b6fffd8 | 2016-10-04 18:03:08 -0700 | [diff] [blame] | 75 | select SYS_FSL_DDR_BE |
| 76 | select SYS_FSL_DDR_VER_50 |
Rajesh Bhagat | cd786e8 | 2018-11-05 18:01:48 +0000 | [diff] [blame] | 77 | select SYS_FSL_ERRATUM_A008850 if !TFABOOT |
Ran Wang | e64f747 | 2017-09-04 18:46:50 +0800 | [diff] [blame] | 78 | select SYS_FSL_ERRATUM_A008997 |
Ran Wang | b358b7b | 2017-09-04 18:46:48 +0800 | [diff] [blame] | 79 | select SYS_FSL_ERRATUM_A009008 |
Rajesh Bhagat | cd786e8 | 2018-11-05 18:01:48 +0000 | [diff] [blame] | 80 | select SYS_FSL_ERRATUM_A009660 if !TFABOOT |
| 81 | select SYS_FSL_ERRATUM_A009663 if !TFABOOT |
Ran Wang | 9e8fabc | 2017-09-04 18:46:49 +0800 | [diff] [blame] | 82 | select SYS_FSL_ERRATUM_A009798 |
Rajesh Bhagat | cd786e8 | 2018-11-05 18:01:48 +0000 | [diff] [blame] | 83 | select SYS_FSL_ERRATUM_A009942 if !TFABOOT |
Alban Bedel | 1b1ca2f | 2021-09-06 16:32:56 +0200 | [diff] [blame] | 84 | select SYS_FSL_ERRATUM_A010315 if PCIE_LAYERSCAPE |
Hou Zhiqiang | c06b30a | 2016-09-29 12:42:44 +0800 | [diff] [blame] | 85 | select SYS_FSL_ERRATUM_A010539 |
York Sun | d297d39 | 2016-12-28 08:43:40 -0800 | [diff] [blame] | 86 | select SYS_FSL_HAS_DDR3 |
| 87 | select SYS_FSL_HAS_DDR4 |
Tom Rini | 8d7aa57 | 2022-07-31 21:08:29 -0400 | [diff] [blame] | 88 | select SYS_FSL_QMAN_V3 if SYS_DPAA_QBMAN |
Simon Glass | 62adede | 2017-01-23 13:31:19 -0700 | [diff] [blame] | 89 | select ARCH_EARLY_INIT_R |
Simon Glass | 7a99a87 | 2017-01-23 13:31:20 -0700 | [diff] [blame] | 90 | select BOARD_EARLY_INIT_F |
Biwen Li | 42637e7 | 2020-06-04 18:42:14 +0800 | [diff] [blame] | 91 | select SYS_I2C_MXC |
Biwen Li | 014460b | 2020-02-05 22:02:16 +0800 | [diff] [blame] | 92 | select SYS_I2C_MXC_I2C1 if !DM_I2C |
| 93 | select SYS_I2C_MXC_I2C2 if !DM_I2C |
| 94 | select SYS_I2C_MXC_I2C3 if !DM_I2C |
| 95 | select SYS_I2C_MXC_I2C4 if !DM_I2C |
Michael Walle | 42fdd8c | 2022-02-28 13:48:40 +0100 | [diff] [blame] | 96 | select SYS_HAS_ARMV8_SECURE_BASE |
Simon Glass | c88a09a | 2017-08-04 16:34:34 -0600 | [diff] [blame] | 97 | imply CMD_PCI |
Tom Rini | 4abdf14 | 2021-08-17 17:59:41 -0400 | [diff] [blame] | 98 | imply ID_EEPROM |
York Sun | b3d7164 | 2016-09-26 08:09:26 -0700 | [diff] [blame] | 99 | |
York Sun | bad4984 | 2016-09-26 08:09:24 -0700 | [diff] [blame] | 100 | config ARCH_LS1046A |
York Sun | fcd0e74 | 2016-10-04 14:31:47 -0700 | [diff] [blame] | 101 | bool |
Hou Zhiqiang | 4d1525a | 2017-01-06 17:41:11 +0800 | [diff] [blame] | 102 | select ARMV8_SET_SMPEN |
Sean Anderson | 8151273 | 2022-10-17 11:45:10 -0400 | [diff] [blame] | 103 | select FSL_IFC if TFABOOT || (!QSPI_BOOT && !SD_BOOT_QSPI && !SD_BOOT) |
Rajesh Bhagat | 52d237a | 2019-01-25 13:36:26 +0000 | [diff] [blame] | 104 | select FSL_LAYERSCAPE |
York Sun | 4dd8c61 | 2016-10-04 14:31:48 -0700 | [diff] [blame] | 105 | select FSL_LSCH2 |
Tom Rini | 249f11f | 2021-08-19 14:19:39 -0400 | [diff] [blame] | 106 | select GICV2 |
Tom Rini | 46c9731 | 2021-07-21 18:53:20 -0400 | [diff] [blame] | 107 | select HAS_FSL_XHCI_USB if USB_HOST |
Tom Rini | e1e8544 | 2021-08-27 21:18:30 -0400 | [diff] [blame] | 108 | select SKIP_LOWLEVEL_INIT |
Sriram Dash | 4a94333 | 2018-01-30 15:58:44 +0530 | [diff] [blame] | 109 | select SYS_FSL_SRDS_1 |
| 110 | select SYS_HAS_SERDES |
York Sun | d297d39 | 2016-12-28 08:43:40 -0800 | [diff] [blame] | 111 | select SYS_FSL_DDR |
York Sun | b6fffd8 | 2016-10-04 18:03:08 -0700 | [diff] [blame] | 112 | select SYS_FSL_DDR_BE |
York Sun | b6fffd8 | 2016-10-04 18:03:08 -0700 | [diff] [blame] | 113 | select SYS_FSL_DDR_VER_50 |
Rajesh Bhagat | cd786e8 | 2018-11-05 18:01:48 +0000 | [diff] [blame] | 114 | select SYS_FSL_ERRATUM_A008336 if !TFABOOT |
| 115 | select SYS_FSL_ERRATUM_A008511 if !TFABOOT |
| 116 | select SYS_FSL_ERRATUM_A008850 if !TFABOOT |
Ran Wang | e64f747 | 2017-09-04 18:46:50 +0800 | [diff] [blame] | 117 | select SYS_FSL_ERRATUM_A008997 |
Ran Wang | b358b7b | 2017-09-04 18:46:48 +0800 | [diff] [blame] | 118 | select SYS_FSL_ERRATUM_A009008 |
Ran Wang | 9e8fabc | 2017-09-04 18:46:49 +0800 | [diff] [blame] | 119 | select SYS_FSL_ERRATUM_A009798 |
York Sun | 1dc61ca | 2016-12-28 08:43:41 -0800 | [diff] [blame] | 120 | select SYS_FSL_ERRATUM_A009801 |
Rajesh Bhagat | cd786e8 | 2018-11-05 18:01:48 +0000 | [diff] [blame] | 121 | select SYS_FSL_ERRATUM_A009803 if !TFABOOT |
| 122 | select SYS_FSL_ERRATUM_A009942 if !TFABOOT |
| 123 | select SYS_FSL_ERRATUM_A010165 if !TFABOOT |
Hou Zhiqiang | c06b30a | 2016-09-29 12:42:44 +0800 | [diff] [blame] | 124 | select SYS_FSL_ERRATUM_A010539 |
York Sun | d297d39 | 2016-12-28 08:43:40 -0800 | [diff] [blame] | 125 | select SYS_FSL_HAS_DDR4 |
York Sun | 6b62ef0 | 2016-10-04 18:01:34 -0700 | [diff] [blame] | 126 | select SYS_FSL_SRDS_2 |
Tom Rini | 8d7aa57 | 2022-07-31 21:08:29 -0400 | [diff] [blame] | 127 | select SYS_FSL_QMAN_V3 if SYS_DPAA_QBMAN |
Simon Glass | 62adede | 2017-01-23 13:31:19 -0700 | [diff] [blame] | 128 | select ARCH_EARLY_INIT_R |
Simon Glass | 7a99a87 | 2017-01-23 13:31:20 -0700 | [diff] [blame] | 129 | select BOARD_EARLY_INIT_F |
Biwen Li | 42637e7 | 2020-06-04 18:42:14 +0800 | [diff] [blame] | 130 | select SYS_I2C_MXC |
Biwen Li | f0018f5 | 2020-02-05 22:02:17 +0800 | [diff] [blame] | 131 | select SYS_I2C_MXC_I2C1 if !DM_I2C |
| 132 | select SYS_I2C_MXC_I2C2 if !DM_I2C |
| 133 | select SYS_I2C_MXC_I2C3 if !DM_I2C |
| 134 | select SYS_I2C_MXC_I2C4 if !DM_I2C |
Tom Rini | 4abdf14 | 2021-08-17 17:59:41 -0400 | [diff] [blame] | 135 | imply ID_EEPROM |
Simon Glass | 0e5faf0 | 2017-06-14 21:28:21 -0600 | [diff] [blame] | 136 | imply SCSI |
Tuomas Tynkkynen | edf9f62 | 2017-12-08 15:36:19 +0200 | [diff] [blame] | 137 | imply SCSI_AHCI |
Tom Rini | 52b2e26 | 2021-08-18 23:12:24 -0400 | [diff] [blame] | 138 | imply SPL_SYS_I2C_LEGACY |
York Sun | b3d7164 | 2016-09-26 08:09:26 -0700 | [diff] [blame] | 139 | |
Ashish Kumar | b25faa2 | 2017-08-31 16:12:53 +0530 | [diff] [blame] | 140 | config ARCH_LS1088A |
| 141 | bool |
| 142 | select ARMV8_SET_SMPEN |
Pankit Garg | f5c2a83 | 2018-12-27 04:37:55 +0000 | [diff] [blame] | 143 | select ARM_ERRATA_855873 if !TFABOOT |
Tom Rini | 6546112 | 2022-06-17 16:24:31 -0400 | [diff] [blame] | 144 | select ESBC_HDR_LS if CHAIN_OF_TRUST |
Tom Rini | 05b419e | 2021-12-11 14:55:49 -0500 | [diff] [blame] | 145 | select FSL_IFC |
Rajesh Bhagat | 52d237a | 2019-01-25 13:36:26 +0000 | [diff] [blame] | 146 | select FSL_LAYERSCAPE |
Ashish Kumar | b25faa2 | 2017-08-31 16:12:53 +0530 | [diff] [blame] | 147 | select FSL_LSCH3 |
Tom Rini | 249f11f | 2021-08-19 14:19:39 -0400 | [diff] [blame] | 148 | select GICV3 |
Tom Rini | e1e8544 | 2021-08-27 21:18:30 -0400 | [diff] [blame] | 149 | select SKIP_LOWLEVEL_INIT |
Sriram Dash | 4a94333 | 2018-01-30 15:58:44 +0530 | [diff] [blame] | 150 | select SYS_FSL_SRDS_1 |
| 151 | select SYS_HAS_SERDES |
Ashish Kumar | b25faa2 | 2017-08-31 16:12:53 +0530 | [diff] [blame] | 152 | select SYS_FSL_DDR |
| 153 | select SYS_FSL_DDR_LE |
| 154 | select SYS_FSL_DDR_VER_50 |
Ashish Kumar | ec455e2 | 2017-08-31 16:37:31 +0530 | [diff] [blame] | 155 | select SYS_FSL_EC1 |
| 156 | select SYS_FSL_EC2 |
Pankit Garg | f5c2a83 | 2018-12-27 04:37:55 +0000 | [diff] [blame] | 157 | select SYS_FSL_ERRATUM_A009803 if !TFABOOT |
| 158 | select SYS_FSL_ERRATUM_A009942 if !TFABOOT |
| 159 | select SYS_FSL_ERRATUM_A010165 if !TFABOOT |
| 160 | select SYS_FSL_ERRATUM_A008511 if !TFABOOT |
| 161 | select SYS_FSL_ERRATUM_A008850 if !TFABOOT |
Ran Wang | ef27707 | 2017-09-22 15:21:34 +0800 | [diff] [blame] | 162 | select SYS_FSL_ERRATUM_A009007 |
Ashish Kumar | b25faa2 | 2017-08-31 16:12:53 +0530 | [diff] [blame] | 163 | select SYS_FSL_HAS_CCI400 |
| 164 | select SYS_FSL_HAS_DDR4 |
Ashish Kumar | ec455e2 | 2017-08-31 16:37:31 +0530 | [diff] [blame] | 165 | select SYS_FSL_HAS_RGMII |
Ashish Kumar | b25faa2 | 2017-08-31 16:12:53 +0530 | [diff] [blame] | 166 | select SYS_FSL_HAS_SEC |
| 167 | select SYS_FSL_SEC_COMPAT_5 |
| 168 | select SYS_FSL_SEC_LE |
| 169 | select SYS_FSL_SRDS_1 |
| 170 | select SYS_FSL_SRDS_2 |
| 171 | select FSL_TZASC_1 |
Rajesh Bhagat | 5756f7e | 2019-01-20 05:30:06 +0000 | [diff] [blame] | 172 | select FSL_TZASC_400 |
| 173 | select FSL_TZPC_BP147 |
Ashish Kumar | b25faa2 | 2017-08-31 16:12:53 +0530 | [diff] [blame] | 174 | select ARCH_EARLY_INIT_R |
| 175 | select BOARD_EARLY_INIT_F |
Sriram Dash | 7122a0c | 2018-02-06 11:26:30 +0530 | [diff] [blame] | 176 | select SYS_I2C_MXC |
Chuanhua Han | 98a5e40 | 2019-07-26 20:25:37 +0800 | [diff] [blame] | 177 | select SYS_I2C_MXC_I2C1 if !TFABOOT |
| 178 | select SYS_I2C_MXC_I2C2 if !TFABOOT |
| 179 | select SYS_I2C_MXC_I2C3 if !TFABOOT |
| 180 | select SYS_I2C_MXC_I2C4 if !TFABOOT |
Hou Zhiqiang | ce4a92a | 2020-04-28 10:19:31 +0800 | [diff] [blame] | 181 | select RESV_RAM if GIC_V3_ITS |
Tom Rini | 4abdf14 | 2021-08-17 17:59:41 -0400 | [diff] [blame] | 182 | imply ID_EEPROM |
Ashish Kumar | a179e56 | 2017-11-02 09:50:47 +0530 | [diff] [blame] | 183 | imply SCSI |
Tom Rini | 52b2e26 | 2021-08-18 23:12:24 -0400 | [diff] [blame] | 184 | imply SPL_SYS_I2C_LEGACY |
Masahiro Yamada | acede7a | 2017-12-04 12:37:00 +0900 | [diff] [blame] | 185 | imply PANIC_HANG |
Ashish Kumar | b25faa2 | 2017-08-31 16:12:53 +0530 | [diff] [blame] | 186 | |
York Sun | fcd0e74 | 2016-10-04 14:31:47 -0700 | [diff] [blame] | 187 | config ARCH_LS2080A |
| 188 | bool |
Hou Zhiqiang | 4d1525a | 2017-01-06 17:41:11 +0800 | [diff] [blame] | 189 | select ARMV8_SET_SMPEN |
Tom Rini | bacb52c | 2017-03-07 07:13:42 -0500 | [diff] [blame] | 190 | select ARM_ERRATA_826974 |
| 191 | select ARM_ERRATA_828024 |
| 192 | select ARM_ERRATA_829520 |
| 193 | select ARM_ERRATA_833471 |
Tom Rini | 6546112 | 2022-06-17 16:24:31 -0400 | [diff] [blame] | 194 | select ESBC_HDR_LS if CHAIN_OF_TRUST |
Tom Rini | 05b419e | 2021-12-11 14:55:49 -0500 | [diff] [blame] | 195 | select FSL_IFC |
Rajesh Bhagat | 52d237a | 2019-01-25 13:36:26 +0000 | [diff] [blame] | 196 | select FSL_LAYERSCAPE |
York Sun | 4dd8c61 | 2016-10-04 14:31:48 -0700 | [diff] [blame] | 197 | select FSL_LSCH3 |
Tom Rini | f839dd0 | 2022-07-31 21:08:22 -0400 | [diff] [blame] | 198 | select SYS_FSL_OTHER_DDR_NUM_CTRLS |
Tom Rini | 249f11f | 2021-08-19 14:19:39 -0400 | [diff] [blame] | 199 | select GICV3 |
Tom Rini | e1e8544 | 2021-08-27 21:18:30 -0400 | [diff] [blame] | 200 | select SKIP_LOWLEVEL_INIT |
Sriram Dash | 4a94333 | 2018-01-30 15:58:44 +0530 | [diff] [blame] | 201 | select SYS_FSL_SRDS_1 |
| 202 | select SYS_HAS_SERDES |
York Sun | d297d39 | 2016-12-28 08:43:40 -0800 | [diff] [blame] | 203 | select SYS_FSL_DDR |
York Sun | b6fffd8 | 2016-10-04 18:03:08 -0700 | [diff] [blame] | 204 | select SYS_FSL_DDR_LE |
| 205 | select SYS_FSL_DDR_VER_50 |
Ashish Kumar | 97393d6 | 2017-08-18 10:54:36 +0530 | [diff] [blame] | 206 | select SYS_FSL_HAS_CCN504 |
York Sun | 6b62ef0 | 2016-10-04 18:01:34 -0700 | [diff] [blame] | 207 | select SYS_FSL_HAS_DP_DDR |
York Sun | 92c36e2 | 2016-12-28 08:43:30 -0800 | [diff] [blame] | 208 | select SYS_FSL_HAS_SEC |
York Sun | d297d39 | 2016-12-28 08:43:40 -0800 | [diff] [blame] | 209 | select SYS_FSL_HAS_DDR4 |
York Sun | 92c36e2 | 2016-12-28 08:43:30 -0800 | [diff] [blame] | 210 | select SYS_FSL_SEC_COMPAT_5 |
York Sun | fa419942 | 2016-12-28 08:43:31 -0800 | [diff] [blame] | 211 | select SYS_FSL_SEC_LE |
York Sun | 6b62ef0 | 2016-10-04 18:01:34 -0700 | [diff] [blame] | 212 | select SYS_FSL_SRDS_2 |
Ashish kumar | 76bd6ce | 2017-04-07 11:40:32 +0530 | [diff] [blame] | 213 | select FSL_TZASC_1 |
| 214 | select FSL_TZASC_2 |
Rajesh Bhagat | 5756f7e | 2019-01-20 05:30:06 +0000 | [diff] [blame] | 215 | select FSL_TZASC_400 |
| 216 | select FSL_TZPC_BP147 |
Rajesh Bhagat | d5691be | 2018-12-27 04:37:59 +0000 | [diff] [blame] | 217 | select SYS_FSL_ERRATUM_A008336 if !TFABOOT |
| 218 | select SYS_FSL_ERRATUM_A008511 if !TFABOOT |
| 219 | select SYS_FSL_ERRATUM_A008514 if !TFABOOT |
York Sun | 1dc61ca | 2016-12-28 08:43:41 -0800 | [diff] [blame] | 220 | select SYS_FSL_ERRATUM_A008585 |
Ran Wang | e64f747 | 2017-09-04 18:46:50 +0800 | [diff] [blame] | 221 | select SYS_FSL_ERRATUM_A008997 |
Ran Wang | 3ba6948 | 2017-09-04 18:46:51 +0800 | [diff] [blame] | 222 | select SYS_FSL_ERRATUM_A009007 |
Ran Wang | b358b7b | 2017-09-04 18:46:48 +0800 | [diff] [blame] | 223 | select SYS_FSL_ERRATUM_A009008 |
York Sun | 1dc61ca | 2016-12-28 08:43:41 -0800 | [diff] [blame] | 224 | select SYS_FSL_ERRATUM_A009635 |
Rajesh Bhagat | d5691be | 2018-12-27 04:37:59 +0000 | [diff] [blame] | 225 | select SYS_FSL_ERRATUM_A009663 if !TFABOOT |
Ran Wang | 9e8fabc | 2017-09-04 18:46:49 +0800 | [diff] [blame] | 226 | select SYS_FSL_ERRATUM_A009798 |
York Sun | 1dc61ca | 2016-12-28 08:43:41 -0800 | [diff] [blame] | 227 | select SYS_FSL_ERRATUM_A009801 |
Rajesh Bhagat | d5691be | 2018-12-27 04:37:59 +0000 | [diff] [blame] | 228 | select SYS_FSL_ERRATUM_A009803 if !TFABOOT |
| 229 | select SYS_FSL_ERRATUM_A009942 if !TFABOOT |
| 230 | select SYS_FSL_ERRATUM_A010165 if !TFABOOT |
Ashish kumar | 3b52a23 | 2017-02-23 16:03:57 +0530 | [diff] [blame] | 231 | select SYS_FSL_ERRATUM_A009203 |
Simon Glass | 62adede | 2017-01-23 13:31:19 -0700 | [diff] [blame] | 232 | select ARCH_EARLY_INIT_R |
Simon Glass | 7a99a87 | 2017-01-23 13:31:20 -0700 | [diff] [blame] | 233 | select BOARD_EARLY_INIT_F |
Sriram Dash | 7122a0c | 2018-02-06 11:26:30 +0530 | [diff] [blame] | 234 | select SYS_I2C_MXC |
Chuanhua Han | 3f27fff | 2019-07-26 19:24:03 +0800 | [diff] [blame] | 235 | select SYS_I2C_MXC_I2C1 if !TFABOOT |
| 236 | select SYS_I2C_MXC_I2C2 if !TFABOOT |
| 237 | select SYS_I2C_MXC_I2C3 if !TFABOOT |
| 238 | select SYS_I2C_MXC_I2C4 if !TFABOOT |
Hou Zhiqiang | ce4a92a | 2020-04-28 10:19:31 +0800 | [diff] [blame] | 239 | select RESV_RAM if GIC_V3_ITS |
Masahiro Yamada | 9afc6c5 | 2018-04-25 18:47:52 +0900 | [diff] [blame] | 240 | imply DISTRO_DEFAULTS |
Tom Rini | 4abdf14 | 2021-08-17 17:59:41 -0400 | [diff] [blame] | 241 | imply ID_EEPROM |
Masahiro Yamada | acede7a | 2017-12-04 12:37:00 +0900 | [diff] [blame] | 242 | imply PANIC_HANG |
Tom Rini | 52b2e26 | 2021-08-18 23:12:24 -0400 | [diff] [blame] | 243 | imply SPL_SYS_I2C_LEGACY |
York Sun | 4dd8c61 | 2016-10-04 14:31:48 -0700 | [diff] [blame] | 244 | |
Meenakshi Aggarwal | ccb5d5d | 2020-10-29 19:16:16 +0530 | [diff] [blame] | 245 | config ARCH_LX2162A |
| 246 | bool |
| 247 | select ARMV8_SET_SMPEN |
Tom Rini | 6546112 | 2022-06-17 16:24:31 -0400 | [diff] [blame] | 248 | select ESBC_HDR_LS if CHAIN_OF_TRUST |
Tom Rini | ea3cc39 | 2021-11-13 19:22:43 -0500 | [diff] [blame] | 249 | select FSL_DDR_BIST |
| 250 | select FSL_DDR_INTERACTIVE |
Tom Rini | 80b4861 | 2021-11-07 22:59:36 -0500 | [diff] [blame] | 251 | select FSL_LAYERSCAPE |
Meenakshi Aggarwal | ccb5d5d | 2020-10-29 19:16:16 +0530 | [diff] [blame] | 252 | select FSL_LSCH3 |
Tom Rini | d391d8b | 2021-12-11 14:55:51 -0500 | [diff] [blame] | 253 | select FSL_TZPC_BP147 |
Tom Rini | 249f11f | 2021-08-19 14:19:39 -0400 | [diff] [blame] | 254 | select GICV3 |
Meenakshi Aggarwal | ccb5d5d | 2020-10-29 19:16:16 +0530 | [diff] [blame] | 255 | select NXP_LSCH3_2 |
| 256 | select SYS_HAS_SERDES |
| 257 | select SYS_FSL_SRDS_1 |
| 258 | select SYS_FSL_SRDS_2 |
| 259 | select SYS_FSL_DDR |
| 260 | select SYS_FSL_DDR_LE |
| 261 | select SYS_FSL_DDR_VER_50 |
| 262 | select SYS_FSL_EC1 |
| 263 | select SYS_FSL_EC2 |
Ran Wang | 13a84a5 | 2021-06-16 17:53:19 +0530 | [diff] [blame] | 264 | select SYS_FSL_ERRATUM_A050204 |
Yangbo Lu | 84f0a95 | 2021-04-27 16:42:11 +0800 | [diff] [blame] | 265 | select SYS_FSL_ERRATUM_A011334 |
| 266 | select SYS_FSL_ESDHC_UNRELIABLE_PULSE_DETECTION_WORKAROUND |
Meenakshi Aggarwal | ccb5d5d | 2020-10-29 19:16:16 +0530 | [diff] [blame] | 267 | select SYS_FSL_HAS_RGMII |
| 268 | select SYS_FSL_HAS_SEC |
| 269 | select SYS_FSL_HAS_CCN508 |
| 270 | select SYS_FSL_HAS_DDR4 |
| 271 | select SYS_FSL_SEC_COMPAT_5 |
| 272 | select SYS_FSL_SEC_LE |
Tom Rini | 50e6f1b | 2021-12-12 22:12:32 -0500 | [diff] [blame] | 273 | select SYS_PCI_64BIT if PCI |
Meenakshi Aggarwal | ccb5d5d | 2020-10-29 19:16:16 +0530 | [diff] [blame] | 274 | select ARCH_EARLY_INIT_R |
| 275 | select BOARD_EARLY_INIT_F |
| 276 | select SYS_I2C_MXC |
| 277 | select RESV_RAM if GIC_V3_ITS |
| 278 | imply DISTRO_DEFAULTS |
| 279 | imply PANIC_HANG |
| 280 | imply SCSI |
| 281 | imply SCSI_AHCI |
Tom Rini | 52b2e26 | 2021-08-18 23:12:24 -0400 | [diff] [blame] | 282 | imply SPL_SYS_I2C_LEGACY |
Meenakshi Aggarwal | ccb5d5d | 2020-10-29 19:16:16 +0530 | [diff] [blame] | 283 | |
Priyanka Jain | ef76b2e | 2018-10-29 09:17:09 +0000 | [diff] [blame] | 284 | config ARCH_LX2160A |
| 285 | bool |
| 286 | select ARMV8_SET_SMPEN |
Tom Rini | 6546112 | 2022-06-17 16:24:31 -0400 | [diff] [blame] | 287 | select ESBC_HDR_LS if CHAIN_OF_TRUST |
Tom Rini | ea3cc39 | 2021-11-13 19:22:43 -0500 | [diff] [blame] | 288 | select FSL_DDR_BIST |
| 289 | select FSL_DDR_INTERACTIVE |
Tom Rini | 80b4861 | 2021-11-07 22:59:36 -0500 | [diff] [blame] | 290 | select FSL_LAYERSCAPE |
Priyanka Jain | ef76b2e | 2018-10-29 09:17:09 +0000 | [diff] [blame] | 291 | select FSL_LSCH3 |
Tom Rini | d391d8b | 2021-12-11 14:55:51 -0500 | [diff] [blame] | 292 | select FSL_TZPC_BP147 |
Tom Rini | 249f11f | 2021-08-19 14:19:39 -0400 | [diff] [blame] | 293 | select GICV3 |
Tom Rini | 46c9731 | 2021-07-21 18:53:20 -0400 | [diff] [blame] | 294 | select HAS_FSL_XHCI_USB if USB_HOST |
Priyanka Jain | ef76b2e | 2018-10-29 09:17:09 +0000 | [diff] [blame] | 295 | select NXP_LSCH3_2 |
| 296 | select SYS_HAS_SERDES |
| 297 | select SYS_FSL_SRDS_1 |
| 298 | select SYS_FSL_SRDS_2 |
| 299 | select SYS_NXP_SRDS_3 |
| 300 | select SYS_FSL_DDR |
| 301 | select SYS_FSL_DDR_LE |
| 302 | select SYS_FSL_DDR_VER_50 |
| 303 | select SYS_FSL_EC1 |
| 304 | select SYS_FSL_EC2 |
Ran Wang | 13a84a5 | 2021-06-16 17:53:19 +0530 | [diff] [blame] | 305 | select SYS_FSL_ERRATUM_A050204 |
Yangbo Lu | 84f0a95 | 2021-04-27 16:42:11 +0800 | [diff] [blame] | 306 | select SYS_FSL_ERRATUM_A011334 |
| 307 | select SYS_FSL_ESDHC_UNRELIABLE_PULSE_DETECTION_WORKAROUND |
Priyanka Jain | ef76b2e | 2018-10-29 09:17:09 +0000 | [diff] [blame] | 308 | select SYS_FSL_HAS_RGMII |
| 309 | select SYS_FSL_HAS_SEC |
| 310 | select SYS_FSL_HAS_CCN508 |
| 311 | select SYS_FSL_HAS_DDR4 |
| 312 | select SYS_FSL_SEC_COMPAT_5 |
| 313 | select SYS_FSL_SEC_LE |
Tom Rini | 50e6f1b | 2021-12-12 22:12:32 -0500 | [diff] [blame] | 314 | select SYS_PCI_64BIT if PCI |
Priyanka Jain | ef76b2e | 2018-10-29 09:17:09 +0000 | [diff] [blame] | 315 | select ARCH_EARLY_INIT_R |
| 316 | select BOARD_EARLY_INIT_F |
| 317 | select SYS_I2C_MXC |
Hou Zhiqiang | ce4a92a | 2020-04-28 10:19:31 +0800 | [diff] [blame] | 318 | select RESV_RAM if GIC_V3_ITS |
Priyanka Jain | ef76b2e | 2018-10-29 09:17:09 +0000 | [diff] [blame] | 319 | imply DISTRO_DEFAULTS |
Tom Rini | 4abdf14 | 2021-08-17 17:59:41 -0400 | [diff] [blame] | 320 | imply ID_EEPROM |
Priyanka Jain | ef76b2e | 2018-10-29 09:17:09 +0000 | [diff] [blame] | 321 | imply PANIC_HANG |
| 322 | imply SCSI |
| 323 | imply SCSI_AHCI |
Tom Rini | 52b2e26 | 2021-08-18 23:12:24 -0400 | [diff] [blame] | 324 | imply SPL_SYS_I2C_LEGACY |
Priyanka Jain | ef76b2e | 2018-10-29 09:17:09 +0000 | [diff] [blame] | 325 | |
York Sun | 4dd8c61 | 2016-10-04 14:31:48 -0700 | [diff] [blame] | 326 | config FSL_LSCH2 |
| 327 | bool |
Tom Rini | e1e8544 | 2021-08-27 21:18:30 -0400 | [diff] [blame] | 328 | select SKIP_LOWLEVEL_INIT |
Tom Rini | f4ec713 | 2022-07-23 13:05:09 -0400 | [diff] [blame] | 329 | select SYS_FSL_CCSR_GUR_BE |
| 330 | select SYS_FSL_CCSR_SCFG_BE |
| 331 | select SYS_FSL_ESDHC_BE |
| 332 | select SYS_FSL_IFC_BE |
| 333 | select SYS_FSL_PEX_LUT_BE |
Ashish Kumar | 1123406 | 2017-08-11 11:09:14 +0530 | [diff] [blame] | 334 | select SYS_FSL_HAS_CCI400 |
York Sun | 92c36e2 | 2016-12-28 08:43:30 -0800 | [diff] [blame] | 335 | select SYS_FSL_HAS_SEC |
| 336 | select SYS_FSL_SEC_COMPAT_5 |
York Sun | fa419942 | 2016-12-28 08:43:31 -0800 | [diff] [blame] | 337 | select SYS_FSL_SEC_BE |
York Sun | 4dd8c61 | 2016-10-04 14:31:48 -0700 | [diff] [blame] | 338 | |
| 339 | config FSL_LSCH3 |
Alex Marginean | 47568ce | 2020-01-11 01:05:40 +0200 | [diff] [blame] | 340 | select ARCH_MISC_INIT |
Tom Rini | f4ec713 | 2022-07-23 13:05:09 -0400 | [diff] [blame] | 341 | select SYS_FSL_CCSR_GUR_LE |
| 342 | select SYS_FSL_CCSR_SCFG_LE |
| 343 | select SYS_FSL_ESDHC_LE |
| 344 | select SYS_FSL_IFC_LE |
| 345 | select SYS_FSL_PEX_LUT_LE |
York Sun | 4dd8c61 | 2016-10-04 14:31:48 -0700 | [diff] [blame] | 346 | bool |
| 347 | |
Priyanka Jain | 88c2566 | 2018-10-29 09:11:29 +0000 | [diff] [blame] | 348 | config NXP_LSCH3_2 |
| 349 | bool |
| 350 | |
Tom Rini | f4ec713 | 2022-07-23 13:05:09 -0400 | [diff] [blame] | 351 | config SYS_FSL_CCSR_GUR_BE |
| 352 | bool |
| 353 | |
| 354 | config SYS_FSL_CCSR_SCFG_BE |
| 355 | bool |
| 356 | |
| 357 | config SYS_FSL_PEX_LUT_BE |
| 358 | bool |
| 359 | |
| 360 | config SYS_FSL_CCSR_GUR_LE |
| 361 | bool |
| 362 | |
| 363 | config SYS_FSL_CCSR_SCFG_LE |
| 364 | bool |
| 365 | |
| 366 | config SYS_FSL_ESDHC_LE |
| 367 | bool |
| 368 | |
| 369 | config SYS_FSL_IFC_LE |
| 370 | bool |
| 371 | |
| 372 | config SYS_FSL_PEX_LUT_LE |
| 373 | bool |
| 374 | |
York Sun | 4dd8c61 | 2016-10-04 14:31:48 -0700 | [diff] [blame] | 375 | menu "Layerscape architecture" |
| 376 | depends on FSL_LSCH2 || FSL_LSCH3 |
York Sun | fcd0e74 | 2016-10-04 14:31:47 -0700 | [diff] [blame] | 377 | |
Rajesh Bhagat | 52d237a | 2019-01-25 13:36:26 +0000 | [diff] [blame] | 378 | config FSL_LAYERSCAPE |
| 379 | bool |
Michael Walle | 166ea48 | 2022-04-22 14:53:27 +0530 | [diff] [blame] | 380 | select ARM_SMCCC |
Rajesh Bhagat | 52d237a | 2019-01-25 13:36:26 +0000 | [diff] [blame] | 381 | |
Wenbin Song | a8f57a9 | 2017-01-17 18:31:15 +0800 | [diff] [blame] | 382 | config HAS_FEATURE_GIC64K_ALIGN |
| 383 | bool |
| 384 | default y if ARCH_LS1043A |
| 385 | |
Wenbin Song | c6bc7c0 | 2017-01-17 18:31:16 +0800 | [diff] [blame] | 386 | config HAS_FEATURE_ENHANCED_MSI |
| 387 | bool |
| 388 | default y if ARCH_LS1043A |
Wenbin Song | a8f57a9 | 2017-01-17 18:31:15 +0800 | [diff] [blame] | 389 | |
macro.wave.z@gmail.com | ec2d7ed | 2016-12-08 11:58:21 +0800 | [diff] [blame] | 390 | menu "Layerscape PPA" |
| 391 | config FSL_LS_PPA |
| 392 | bool "FSL Layerscape PPA firmware support" |
macro.wave.z@gmail.com | 01bd334 | 2016-12-08 11:58:22 +0800 | [diff] [blame] | 393 | depends on !ARMV8_PSCI |
Hou Zhiqiang | bff56d5 | 2017-01-16 17:31:49 +0800 | [diff] [blame] | 394 | select ARMV8_SEC_FIRMWARE_SUPPORT |
Hou Zhiqiang | 6be115d | 2017-01-16 17:31:48 +0800 | [diff] [blame] | 395 | select SEC_FIRMWARE_ARMV8_PSCI |
Hou Zhiqiang | bff56d5 | 2017-01-16 17:31:49 +0800 | [diff] [blame] | 396 | select ARMV8_SEC_FIRMWARE_ERET_ADDR_REVERT if FSL_LSCH2 |
macro.wave.z@gmail.com | ec2d7ed | 2016-12-08 11:58:21 +0800 | [diff] [blame] | 397 | help |
| 398 | The FSL Primary Protected Application (PPA) is a software component |
| 399 | which is loaded during boot stage, and then remains resident in RAM |
| 400 | and runs in the TrustZone after boot. |
| 401 | Say y to enable it. |
York Sun | f2aaf84 | 2017-05-15 08:52:00 -0700 | [diff] [blame] | 402 | |
| 403 | config SPL_FSL_LS_PPA |
| 404 | bool "FSL Layerscape PPA firmware support for SPL build" |
| 405 | depends on !ARMV8_PSCI |
| 406 | select SPL_ARMV8_SEC_FIRMWARE_SUPPORT |
| 407 | select SEC_FIRMWARE_ARMV8_PSCI |
| 408 | select ARMV8_SEC_FIRMWARE_ERET_ADDR_REVERT if FSL_LSCH2 |
| 409 | help |
| 410 | The FSL Primary Protected Application (PPA) is a software component |
| 411 | which is loaded during boot stage, and then remains resident in RAM |
| 412 | and runs in the TrustZone after boot. This is to load PPA during SPL |
| 413 | stage instead of the RAM version of U-Boot. Once PPA is initialized, |
| 414 | the rest of U-Boot (including RAM version) runs at EL2. |
Hou Zhiqiang | bff56d5 | 2017-01-16 17:31:49 +0800 | [diff] [blame] | 415 | choice |
| 416 | prompt "FSL Layerscape PPA firmware loading-media select" |
| 417 | depends on FSL_LS_PPA |
Hou Zhiqiang | bd6e2cd | 2017-03-17 16:12:33 +0800 | [diff] [blame] | 418 | default SYS_LS_PPA_FW_IN_MMC if SD_BOOT |
| 419 | default SYS_LS_PPA_FW_IN_NAND if NAND_BOOT |
Hou Zhiqiang | bff56d5 | 2017-01-16 17:31:49 +0800 | [diff] [blame] | 420 | default SYS_LS_PPA_FW_IN_XIP |
| 421 | |
| 422 | config SYS_LS_PPA_FW_IN_XIP |
| 423 | bool "XIP" |
| 424 | help |
| 425 | Say Y here if the PPA firmware locate at XIP flash, such |
| 426 | as NOR or QSPI flash. |
| 427 | |
Hou Zhiqiang | bd6e2cd | 2017-03-17 16:12:33 +0800 | [diff] [blame] | 428 | config SYS_LS_PPA_FW_IN_MMC |
| 429 | bool "eMMC or SD Card" |
| 430 | help |
| 431 | Say Y here if the PPA firmware locate at eMMC/SD card. |
| 432 | |
| 433 | config SYS_LS_PPA_FW_IN_NAND |
| 434 | bool "NAND" |
| 435 | help |
| 436 | Say Y here if the PPA firmware locate at NAND flash. |
| 437 | |
Hou Zhiqiang | bff56d5 | 2017-01-16 17:31:49 +0800 | [diff] [blame] | 438 | endchoice |
| 439 | |
Sumit Garg | 8fddf75 | 2017-04-20 05:09:11 +0530 | [diff] [blame] | 440 | config LS_PPA_ESBC_HDR_SIZE |
| 441 | hex "Length of PPA ESBC header" |
| 442 | depends on FSL_LS_PPA && CHAIN_OF_TRUST && !SYS_LS_PPA_FW_IN_XIP |
| 443 | default 0x2000 |
| 444 | help |
| 445 | Length (in bytes) of PPA ESBC header to be copied from MMC/SD or |
| 446 | NAND to memory to validate PPA image. |
| 447 | |
macro.wave.z@gmail.com | ec2d7ed | 2016-12-08 11:58:21 +0800 | [diff] [blame] | 448 | endmenu |
| 449 | |
Ran Wang | e64f747 | 2017-09-04 18:46:50 +0800 | [diff] [blame] | 450 | config SYS_FSL_ERRATUM_A008997 |
| 451 | bool "Workaround for USB PHY erratum A008997" |
| 452 | |
Ran Wang | 3ba6948 | 2017-09-04 18:46:51 +0800 | [diff] [blame] | 453 | config SYS_FSL_ERRATUM_A009007 |
| 454 | bool |
| 455 | help |
| 456 | Workaround for USB PHY erratum A009007 |
| 457 | |
Ran Wang | b358b7b | 2017-09-04 18:46:48 +0800 | [diff] [blame] | 458 | config SYS_FSL_ERRATUM_A009008 |
| 459 | bool "Workaround for USB PHY erratum A009008" |
| 460 | |
Ran Wang | 9e8fabc | 2017-09-04 18:46:49 +0800 | [diff] [blame] | 461 | config SYS_FSL_ERRATUM_A009798 |
| 462 | bool "Workaround for USB PHY erratum A009798" |
| 463 | |
Ran Wang | 13a84a5 | 2021-06-16 17:53:19 +0530 | [diff] [blame] | 464 | config SYS_FSL_ERRATUM_A050204 |
| 465 | bool "Workaround for USB PHY erratum A050204" |
Ran Wang | d0270dc | 2019-11-26 11:40:40 +0800 | [diff] [blame] | 466 | help |
| 467 | USB3.0 Receiver needs to enable fixed equalization |
| 468 | for each of PHY instances in an SOC. This is similar |
Meenakshi Aggarwal | ccb5d5d | 2020-10-29 19:16:16 +0530 | [diff] [blame] | 469 | to erratum A-009007, but this one is for LX2160A and LX2162A, |
Ran Wang | d0270dc | 2019-11-26 11:40:40 +0800 | [diff] [blame] | 470 | and the register value is different. |
| 471 | |
York Sun | 149eb33 | 2016-09-26 08:09:27 -0700 | [diff] [blame] | 472 | config SYS_FSL_ERRATUM_A010315 |
| 473 | bool "Workaround for PCIe erratum A010315" |
Hou Zhiqiang | c06b30a | 2016-09-29 12:42:44 +0800 | [diff] [blame] | 474 | |
| 475 | config SYS_FSL_ERRATUM_A010539 |
| 476 | bool "Workaround for PIN MUX erratum A010539" |
York Sun | 4dd8c61 | 2016-10-04 14:31:48 -0700 | [diff] [blame] | 477 | |
York Sun | f188d22 | 2016-10-04 14:45:01 -0700 | [diff] [blame] | 478 | config MAX_CPUS |
| 479 | int "Maximum number of CPUs permitted for Layerscape" |
Yuantian Tang | 4aefa16 | 2019-04-10 16:43:33 +0800 | [diff] [blame] | 480 | default 2 if ARCH_LS1028A |
York Sun | f188d22 | 2016-10-04 14:45:01 -0700 | [diff] [blame] | 481 | default 4 if ARCH_LS1043A |
| 482 | default 4 if ARCH_LS1046A |
| 483 | default 16 if ARCH_LS2080A |
Ashish Kumar | b25faa2 | 2017-08-31 16:12:53 +0530 | [diff] [blame] | 484 | default 8 if ARCH_LS1088A |
Priyanka Jain | ef76b2e | 2018-10-29 09:17:09 +0000 | [diff] [blame] | 485 | default 16 if ARCH_LX2160A |
Meenakshi Aggarwal | ccb5d5d | 2020-10-29 19:16:16 +0530 | [diff] [blame] | 486 | default 16 if ARCH_LX2162A |
York Sun | f188d22 | 2016-10-04 14:45:01 -0700 | [diff] [blame] | 487 | default 1 |
| 488 | help |
| 489 | Set this number to the maximum number of possible CPUs in the SoC. |
| 490 | SoCs may have multiple clusters with each cluster may have multiple |
| 491 | ports. If some ports are reserved but higher ports are used for |
| 492 | cores, count the reserved ports. This will allocate enough memory |
| 493 | in spin table to properly handle all cores. |
| 494 | |
Meenakshi Aggarwal | bbd3318 | 2018-11-30 22:32:11 +0530 | [diff] [blame] | 495 | config EMC2305 |
| 496 | bool "Fan controller" |
| 497 | help |
| 498 | Enable the EMC2305 fan controller for configuration of fan |
| 499 | speed. |
| 500 | |
Yuan Yao | 52ae4fd | 2016-12-01 10:13:52 +0800 | [diff] [blame] | 501 | config QSPI_AHB_INIT |
| 502 | bool "Init the QSPI AHB bus" |
| 503 | help |
| 504 | The default setting for QSPI AHB bus just support 3bytes addressing. |
| 505 | But some QSPI flash size up to 64MBytes, so initialize the QSPI AHB |
| 506 | bus for those flashes to support the full QSPI flash size. |
| 507 | |
Kuldeep Singh | 34aafb0 | 2019-11-21 17:15:17 +0530 | [diff] [blame] | 508 | config FSPI_AHB_EN_4BYTE |
| 509 | bool "Enable 4-byte Fast Read command for AHB mode" |
Kuldeep Singh | 34aafb0 | 2019-11-21 17:15:17 +0530 | [diff] [blame] | 510 | help |
| 511 | The default setting for FlexSPI AHB bus just supports 3-byte addressing. |
| 512 | But some FlexSPI flash sizes are up to 64MBytes. |
| 513 | This flag enables fast read command for AHB mode and modifies required |
| 514 | LUT to support full FlexSPI flash. |
| 515 | |
Ashish Kumar | 1123406 | 2017-08-11 11:09:14 +0530 | [diff] [blame] | 516 | config SYS_CCI400_OFFSET |
| 517 | hex "Offset for CCI400 base" |
| 518 | depends on SYS_FSL_HAS_CCI400 |
Yuantian Tang | 4aefa16 | 2019-04-10 16:43:33 +0800 | [diff] [blame] | 519 | default 0x3090000 if ARCH_LS1088A || ARCH_LS1028A |
Ashish Kumar | 1123406 | 2017-08-11 11:09:14 +0530 | [diff] [blame] | 520 | default 0x180000 if FSL_LSCH2 |
| 521 | help |
| 522 | Offset for CCI400 base |
| 523 | CCI400 base addr = CCSRBAR + CCI400_OFFSET |
| 524 | |
York Sun | e7310a3 | 2016-10-04 14:45:54 -0700 | [diff] [blame] | 525 | config SYS_FSL_IFC_BANK_COUNT |
| 526 | int "Maximum banks of Integrated flash controller" |
Ashish Kumar | b25faa2 | 2017-08-31 16:12:53 +0530 | [diff] [blame] | 527 | depends on ARCH_LS1043A || ARCH_LS1046A || ARCH_LS2080A || ARCH_LS1088A |
York Sun | e7310a3 | 2016-10-04 14:45:54 -0700 | [diff] [blame] | 528 | default 4 if ARCH_LS1043A |
| 529 | default 4 if ARCH_LS1046A |
Ashish Kumar | b25faa2 | 2017-08-31 16:12:53 +0530 | [diff] [blame] | 530 | default 8 if ARCH_LS2080A || ARCH_LS1088A |
York Sun | e7310a3 | 2016-10-04 14:45:54 -0700 | [diff] [blame] | 531 | |
Ashish Kumar | 1123406 | 2017-08-11 11:09:14 +0530 | [diff] [blame] | 532 | config SYS_FSL_HAS_CCI400 |
| 533 | bool |
| 534 | |
Ashish Kumar | 97393d6 | 2017-08-18 10:54:36 +0530 | [diff] [blame] | 535 | config SYS_FSL_HAS_CCN504 |
| 536 | bool |
| 537 | |
Priyanka Jain | ef76b2e | 2018-10-29 09:17:09 +0000 | [diff] [blame] | 538 | config SYS_FSL_HAS_CCN508 |
| 539 | bool |
| 540 | |
York Sun | 0dc9abb | 2016-10-04 14:46:50 -0700 | [diff] [blame] | 541 | config SYS_FSL_HAS_DP_DDR |
| 542 | bool |
Tom Rini | 69ea5a6 | 2022-03-30 18:07:35 -0400 | [diff] [blame] | 543 | help |
| 544 | Defines the SoC has DP-DDR used for DPAA. |
| 545 | |
| 546 | config DP_DDR_CTRL |
| 547 | int |
| 548 | depends on SYS_FSL_HAS_DP_DDR |
| 549 | default 2 if ARCH_LS2080A |
| 550 | |
Tom Rini | aa5cfa9 | 2022-06-15 12:03:53 -0400 | [diff] [blame] | 551 | config DP_DDR_DIMM_SLOTS_PER_CTLR |
| 552 | int |
| 553 | depends on SYS_FSL_HAS_DP_DDR |
| 554 | default 1 if ARCH_LS2080A |
| 555 | |
Tom Rini | 69ea5a6 | 2022-03-30 18:07:35 -0400 | [diff] [blame] | 556 | config DP_DDR_NUM_CTRLS |
| 557 | int |
| 558 | depends on SYS_FSL_HAS_DP_DDR |
| 559 | default 1 if ARCH_LS2080A |
| 560 | |
| 561 | config SYS_DP_DDR_BASE |
| 562 | hex |
| 563 | depends on SYS_FSL_HAS_DP_DDR |
| 564 | default 0x6000000000 if ARCH_LS2080A |
| 565 | |
| 566 | config SYS_DP_DDR_BASE_PHY |
| 567 | int |
| 568 | depends on SYS_FSL_HAS_DP_DDR |
| 569 | default 0 if ARCH_LS2080A |
| 570 | help |
| 571 | DDR controller uses this value as the base address for binding. |
| 572 | It is mapped to CONFIG_SYS_DP_DDR_BASE for core to access. |
York Sun | 0dc9abb | 2016-10-04 14:46:50 -0700 | [diff] [blame] | 573 | |
York Sun | 6b62ef0 | 2016-10-04 18:01:34 -0700 | [diff] [blame] | 574 | config SYS_FSL_SRDS_1 |
| 575 | bool |
| 576 | |
| 577 | config SYS_FSL_SRDS_2 |
| 578 | bool |
| 579 | |
Priyanka Jain | 1a60253 | 2018-09-27 10:32:05 +0530 | [diff] [blame] | 580 | config SYS_NXP_SRDS_3 |
| 581 | bool |
| 582 | |
York Sun | 6b62ef0 | 2016-10-04 18:01:34 -0700 | [diff] [blame] | 583 | config SYS_HAS_SERDES |
| 584 | bool |
| 585 | |
Ashish kumar | 76bd6ce | 2017-04-07 11:40:32 +0530 | [diff] [blame] | 586 | config FSL_TZASC_1 |
| 587 | bool |
| 588 | |
| 589 | config FSL_TZASC_2 |
| 590 | bool |
| 591 | |
Rajesh Bhagat | 5756f7e | 2019-01-20 05:30:06 +0000 | [diff] [blame] | 592 | config FSL_TZASC_400 |
| 593 | bool |
| 594 | |
| 595 | config FSL_TZPC_BP147 |
| 596 | bool |
York Sun | 4dd8c61 | 2016-10-04 14:31:48 -0700 | [diff] [blame] | 597 | endmenu |
York Sun | 1dc61ca | 2016-12-28 08:43:41 -0800 | [diff] [blame] | 598 | |
Hou Zhiqiang | 3f91cda | 2017-01-10 16:44:15 +0800 | [diff] [blame] | 599 | menu "Layerscape clock tree configuration" |
| 600 | depends on FSL_LSCH2 || FSL_LSCH3 |
| 601 | |
Hou Zhiqiang | 3f91cda | 2017-01-10 16:44:15 +0800 | [diff] [blame] | 602 | config CLUSTER_CLK_FREQ |
| 603 | int "Reference clock of core cluster" |
| 604 | depends on ARCH_LS1012A |
| 605 | default 100000000 |
| 606 | help |
| 607 | This number is the reference clock frequency of core PLL. |
| 608 | For most platforms, the core PLL and Platform PLL have the same |
| 609 | reference clock, but for some platforms, LS1012A for instance, |
| 610 | they are provided sepatately. |
| 611 | |
| 612 | config SYS_FSL_PCLK_DIV |
| 613 | int "Platform clock divider" |
Yuantian Tang | 4aefa16 | 2019-04-10 16:43:33 +0800 | [diff] [blame] | 614 | default 1 if ARCH_LS1028A |
Hou Zhiqiang | 3f91cda | 2017-01-10 16:44:15 +0800 | [diff] [blame] | 615 | default 1 if ARCH_LS1043A |
| 616 | default 1 if ARCH_LS1046A |
Ashish Kumar | b25faa2 | 2017-08-31 16:12:53 +0530 | [diff] [blame] | 617 | default 1 if ARCH_LS1088A |
Hou Zhiqiang | 3f91cda | 2017-01-10 16:44:15 +0800 | [diff] [blame] | 618 | default 2 |
| 619 | help |
| 620 | This is the divider that is used to derive Platform clock from |
| 621 | Platform PLL, in another word: |
| 622 | Platform_clk = Platform_PLL_freq / this_divider |
| 623 | |
| 624 | config SYS_FSL_DSPI_CLK_DIV |
| 625 | int "DSPI clock divider" |
| 626 | default 1 if ARCH_LS1043A |
| 627 | default 2 |
| 628 | help |
| 629 | This is the divider that is used to derive DSPI clock from Platform |
Hou Zhiqiang | 0c8fcb6 | 2017-07-03 18:37:11 +0800 | [diff] [blame] | 630 | clock, in another word DSPI_clk = Platform_clk / this_divider. |
Hou Zhiqiang | 3f91cda | 2017-01-10 16:44:15 +0800 | [diff] [blame] | 631 | |
| 632 | config SYS_FSL_DUART_CLK_DIV |
| 633 | int "DUART clock divider" |
| 634 | default 1 if ARCH_LS1043A |
Priyanka Jain | ef76b2e | 2018-10-29 09:17:09 +0000 | [diff] [blame] | 635 | default 4 if ARCH_LX2160A |
Meenakshi Aggarwal | ccb5d5d | 2020-10-29 19:16:16 +0530 | [diff] [blame] | 636 | default 4 if ARCH_LX2162A |
Hou Zhiqiang | 3f91cda | 2017-01-10 16:44:15 +0800 | [diff] [blame] | 637 | default 2 |
| 638 | help |
| 639 | This is the divider that is used to derive DUART clock from Platform |
| 640 | clock, in another word DUART_clk = Platform_clk / this_divider. |
| 641 | |
| 642 | config SYS_FSL_I2C_CLK_DIV |
| 643 | int "I2C clock divider" |
| 644 | default 1 if ARCH_LS1043A |
Chuanhua Han | 44d4d33 | 2019-08-02 16:53:53 +0800 | [diff] [blame] | 645 | default 4 if ARCH_LS1012A |
| 646 | default 4 if ARCH_LS1028A |
| 647 | default 8 if ARCH_LX2160A |
Meenakshi Aggarwal | ccb5d5d | 2020-10-29 19:16:16 +0530 | [diff] [blame] | 648 | default 8 if ARCH_LX2162A |
Chuanhua Han | 44d4d33 | 2019-08-02 16:53:53 +0800 | [diff] [blame] | 649 | default 8 if ARCH_LS1088A |
Hou Zhiqiang | 3f91cda | 2017-01-10 16:44:15 +0800 | [diff] [blame] | 650 | default 2 |
| 651 | help |
| 652 | This is the divider that is used to derive I2C clock from Platform |
| 653 | clock, in another word I2C_clk = Platform_clk / this_divider. |
| 654 | |
| 655 | config SYS_FSL_IFC_CLK_DIV |
| 656 | int "IFC clock divider" |
| 657 | default 1 if ARCH_LS1043A |
Chuanhua Han | 3df89cc | 2019-08-08 17:04:58 +0800 | [diff] [blame] | 658 | default 4 if ARCH_LS1012A |
| 659 | default 4 if ARCH_LS1028A |
| 660 | default 8 if ARCH_LX2160A |
Meenakshi Aggarwal | ccb5d5d | 2020-10-29 19:16:16 +0530 | [diff] [blame] | 661 | default 8 if ARCH_LX2162A |
Chuanhua Han | 3df89cc | 2019-08-08 17:04:58 +0800 | [diff] [blame] | 662 | default 8 if ARCH_LS1088A |
Hou Zhiqiang | 3f91cda | 2017-01-10 16:44:15 +0800 | [diff] [blame] | 663 | default 2 |
| 664 | help |
| 665 | This is the divider that is used to derive IFC clock from Platform |
| 666 | clock, in another word IFC_clk = Platform_clk / this_divider. |
| 667 | |
| 668 | config SYS_FSL_LPUART_CLK_DIV |
| 669 | int "LPUART clock divider" |
| 670 | default 1 if ARCH_LS1043A |
| 671 | default 2 |
| 672 | help |
| 673 | This is the divider that is used to derive LPUART clock from Platform |
| 674 | clock, in another word LPUART_clk = Platform_clk / this_divider. |
| 675 | |
| 676 | config SYS_FSL_SDHC_CLK_DIV |
| 677 | int "SDHC clock divider" |
| 678 | default 1 if ARCH_LS1043A |
| 679 | default 1 if ARCH_LS1012A |
| 680 | default 2 |
| 681 | help |
| 682 | This is the divider that is used to derive SDHC clock from Platform |
| 683 | clock, in another word SDHC_clk = Platform_clk / this_divider. |
Hou Zhiqiang | fef32c6 | 2018-04-25 16:28:44 +0800 | [diff] [blame] | 684 | |
| 685 | config SYS_FSL_QMAN_CLK_DIV |
| 686 | int "QMAN clock divider" |
| 687 | default 1 if ARCH_LS1043A |
| 688 | default 2 |
| 689 | help |
| 690 | This is the divider that is used to derive QMAN clock from Platform |
| 691 | clock, in another word QMAN_clk = Platform_clk / this_divider. |
Hou Zhiqiang | 3f91cda | 2017-01-10 16:44:15 +0800 | [diff] [blame] | 692 | endmenu |
| 693 | |
York Sun | d6964b3 | 2017-03-06 09:02:24 -0800 | [diff] [blame] | 694 | config RESV_RAM |
| 695 | bool |
| 696 | help |
| 697 | Reserve memory from the top, tracked by gd->arch.resv_ram. This |
| 698 | reserved RAM can be used by special driver that resides in memory |
| 699 | after U-Boot exits. It's up to implementation to allocate and allow |
| 700 | access to this reserved memory. For example, the reserved RAM can |
| 701 | be at the high end of physical memory. The reserve RAM may be |
| 702 | excluded from memory bank(s) passed to OS, or marked as reserved. |
| 703 | |
Ashish Kumar | ec455e2 | 2017-08-31 16:37:31 +0530 | [diff] [blame] | 704 | config SYS_FSL_EC1 |
| 705 | bool |
| 706 | help |
Priyanka Jain | ef76b2e | 2018-10-29 09:17:09 +0000 | [diff] [blame] | 707 | Ethernet controller 1, this is connected to |
Meenakshi Aggarwal | ccb5d5d | 2020-10-29 19:16:16 +0530 | [diff] [blame] | 708 | MAC17 for LX2160A and LX2162A or to MAC3 for other SoCs |
Ashish Kumar | ec455e2 | 2017-08-31 16:37:31 +0530 | [diff] [blame] | 709 | Provides DPAA2 capabilities |
| 710 | |
| 711 | config SYS_FSL_EC2 |
| 712 | bool |
| 713 | help |
Priyanka Jain | ef76b2e | 2018-10-29 09:17:09 +0000 | [diff] [blame] | 714 | Ethernet controller 2, this is connected to |
Meenakshi Aggarwal | ccb5d5d | 2020-10-29 19:16:16 +0530 | [diff] [blame] | 715 | MAC18 for LX2160A and LX2162A or to MAC4 for other SoCs |
Ashish Kumar | ec455e2 | 2017-08-31 16:37:31 +0530 | [diff] [blame] | 716 | Provides DPAA2 capabilities |
| 717 | |
York Sun | 1dc61ca | 2016-12-28 08:43:41 -0800 | [diff] [blame] | 718 | config SYS_FSL_ERRATUM_A008336 |
| 719 | bool |
| 720 | |
| 721 | config SYS_FSL_ERRATUM_A008514 |
| 722 | bool |
| 723 | |
| 724 | config SYS_FSL_ERRATUM_A008585 |
| 725 | bool |
| 726 | |
| 727 | config SYS_FSL_ERRATUM_A008850 |
| 728 | bool |
| 729 | |
Ashish kumar | 3b52a23 | 2017-02-23 16:03:57 +0530 | [diff] [blame] | 730 | config SYS_FSL_ERRATUM_A009203 |
| 731 | bool |
| 732 | |
York Sun | 1dc61ca | 2016-12-28 08:43:41 -0800 | [diff] [blame] | 733 | config SYS_FSL_ERRATUM_A009635 |
| 734 | bool |
| 735 | |
| 736 | config SYS_FSL_ERRATUM_A009660 |
| 737 | bool |
| 738 | |
Laurentiu Tudor | 7ea2feb | 2019-10-18 09:01:56 +0000 | [diff] [blame] | 739 | config SYS_FSL_ERRATUM_A050382 |
| 740 | bool |
Ashish Kumar | ec455e2 | 2017-08-31 16:37:31 +0530 | [diff] [blame] | 741 | |
| 742 | config SYS_FSL_HAS_RGMII |
| 743 | bool |
| 744 | depends on SYS_FSL_EC1 || SYS_FSL_EC2 |
| 745 | |
Ran Wang | 5959f84 | 2017-10-23 10:09:21 +0800 | [diff] [blame] | 746 | config HAS_FSL_XHCI_USB |
| 747 | bool |
Ran Wang | 5959f84 | 2017-10-23 10:09:21 +0800 | [diff] [blame] | 748 | help |
Tom Rini | 46c9731 | 2021-07-21 18:53:20 -0400 | [diff] [blame] | 749 | For some SoC (such as LS1043A and LS1046A), USB and QE-HDLC multiplex use |
Ran Wang | 5959f84 | 2017-10-23 10:09:21 +0800 | [diff] [blame] | 750 | pins, select it when the pins are assigned to USB. |
Rajesh Bhagat | 729f22f | 2021-02-11 13:28:49 +0100 | [diff] [blame] | 751 | |
| 752 | config SYS_FSL_BOOTROM_BASE |
| 753 | hex |
| 754 | depends on FSL_LSCH2 |
| 755 | default 0 |
| 756 | |
| 757 | config SYS_FSL_BOOTROM_SIZE |
| 758 | hex |
| 759 | depends on FSL_LSCH2 |
| 760 | default 0x1000000 |