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