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