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