blob: 509f356e4961703d2e3335fc4b9693c733d65592 [file] [log] [blame]
Masahiro Yamadadd840582014-07-30 14:08:14 +09001menu "mpc85xx CPU"
2 depends on MPC85xx
3
4config SYS_CPU
Masahiro Yamadadd840582014-07-30 14:08:14 +09005 default "mpc85xx"
6
Simon Glass230ecd72017-05-17 03:25:15 -06007config CMD_ERRATA
8 bool "Enable the 'errata' command"
9 depends on MPC85xx
10 default y
11 help
12 This enables the 'errata' command which displays a list of errata
13 work-arounds which are enabled for the current board.
14
Masahiro Yamadadd840582014-07-30 14:08:14 +090015choice
16 prompt "Target select"
Joe Hershbergera26cd042015-05-12 14:46:23 -050017 optional
Masahiro Yamadadd840582014-07-30 14:08:14 +090018
Masahiro Yamadadd840582014-07-30 14:08:14 +090019config TARGET_SOCRATES
20 bool "Support socrates"
York Sun25cb74b2016-11-15 13:57:15 -080021 select ARCH_MPC8544
Masahiro Yamadadd840582014-07-30 14:08:14 +090022
Masahiro Yamadadd840582014-07-30 14:08:14 +090023config TARGET_P3041DS
24 bool "Support P3041DS"
Masahiro Yamadabb6b1422016-07-25 19:56:03 +090025 select PHYS_64BIT
York Sun5e5fdd22016-11-18 11:20:40 -080026 select ARCH_P3041
Tom Rinie5ec4812017-01-22 19:43:11 -050027 select BOARD_LATE_INIT if CHAIN_OF_TRUST
Simon Glass3bf926c2017-06-14 21:28:24 -060028 imply CMD_SATA
Masahiro Yamada7e3caa82017-12-04 12:37:00 +090029 imply PANIC_HANG
Masahiro Yamadadd840582014-07-30 14:08:14 +090030
31config TARGET_P4080DS
32 bool "Support P4080DS"
Masahiro Yamadabb6b1422016-07-25 19:56:03 +090033 select PHYS_64BIT
York Sune71372c2016-11-18 11:24:40 -080034 select ARCH_P4080
Tom Rinie5ec4812017-01-22 19:43:11 -050035 select BOARD_LATE_INIT if CHAIN_OF_TRUST
Simon Glass3bf926c2017-06-14 21:28:24 -060036 imply CMD_SATA
Masahiro Yamada7e3caa82017-12-04 12:37:00 +090037 imply PANIC_HANG
Masahiro Yamadadd840582014-07-30 14:08:14 +090038
Masahiro Yamadadd840582014-07-30 14:08:14 +090039config TARGET_P5040DS
40 bool "Support P5040DS"
Masahiro Yamadabb6b1422016-07-25 19:56:03 +090041 select PHYS_64BIT
York Sun95390362016-11-18 11:39:36 -080042 select ARCH_P5040
Tom Rinie5ec4812017-01-22 19:43:11 -050043 select BOARD_LATE_INIT if CHAIN_OF_TRUST
Simon Glass3bf926c2017-06-14 21:28:24 -060044 imply CMD_SATA
Masahiro Yamada7e3caa82017-12-04 12:37:00 +090045 imply PANIC_HANG
Masahiro Yamadadd840582014-07-30 14:08:14 +090046
Masahiro Yamadadd840582014-07-30 14:08:14 +090047config TARGET_MPC8548CDS
48 bool "Support MPC8548CDS"
York Sun281ed4c2016-11-15 13:52:34 -080049 select ARCH_MPC8548
Rajesh Bhagatc8c01702021-02-15 09:46:14 +010050 select FSL_VIA
Tom Riniab92b382021-08-26 11:47:59 -040051 select SYS_CACHE_SHIFT_5
Masahiro Yamadadd840582014-07-30 14:08:14 +090052
York Sun76016862016-11-16 13:30:06 -080053config TARGET_P1010RDB_PA
54 bool "Support P1010RDB_PA"
55 select ARCH_P1010
Tom Rinie5ec4812017-01-22 19:43:11 -050056 select BOARD_LATE_INIT if CHAIN_OF_TRUST
York Sun76016862016-11-16 13:30:06 -080057 select SUPPORT_SPL
58 select SUPPORT_TPL
Simon Glassa1dc9802017-05-17 03:25:10 -060059 imply CMD_EEPROM
Simon Glass3bf926c2017-06-14 21:28:24 -060060 imply CMD_SATA
Masahiro Yamada7e3caa82017-12-04 12:37:00 +090061 imply PANIC_HANG
York Sun76016862016-11-16 13:30:06 -080062
63config TARGET_P1010RDB_PB
64 bool "Support P1010RDB_PB"
York Sun7d5f9f82016-11-16 13:08:52 -080065 select ARCH_P1010
Tom Rinie5ec4812017-01-22 19:43:11 -050066 select BOARD_LATE_INIT if CHAIN_OF_TRUST
Masahiro Yamada02627352014-10-20 17:45:56 +090067 select SUPPORT_SPL
Masahiro Yamadacf6bbe42014-10-20 17:45:57 +090068 select SUPPORT_TPL
Simon Glassa1dc9802017-05-17 03:25:10 -060069 imply CMD_EEPROM
Simon Glass3bf926c2017-06-14 21:28:24 -060070 imply CMD_SATA
Masahiro Yamada7e3caa82017-12-04 12:37:00 +090071 imply PANIC_HANG
Masahiro Yamadadd840582014-07-30 14:08:14 +090072
York Sunaa146202016-11-17 13:52:44 -080073config TARGET_P1020RDB_PC
74 bool "Support P1020RDB-PC"
75 select SUPPORT_SPL
76 select SUPPORT_TPL
York Sun484fff62016-11-18 10:02:14 -080077 select ARCH_P1020
Simon Glassa1dc9802017-05-17 03:25:10 -060078 imply CMD_EEPROM
Simon Glass3bf926c2017-06-14 21:28:24 -060079 imply CMD_SATA
Masahiro Yamada7e3caa82017-12-04 12:37:00 +090080 imply PANIC_HANG
York Sunaa146202016-11-17 13:52:44 -080081
York Sunf404b662016-11-17 13:53:33 -080082config TARGET_P1020RDB_PD
83 bool "Support P1020RDB-PD"
84 select SUPPORT_SPL
85 select SUPPORT_TPL
York Sun484fff62016-11-18 10:02:14 -080086 select ARCH_P1020
Simon Glassa1dc9802017-05-17 03:25:10 -060087 imply CMD_EEPROM
Simon Glass3bf926c2017-06-14 21:28:24 -060088 imply CMD_SATA
Masahiro Yamada7e3caa82017-12-04 12:37:00 +090089 imply PANIC_HANG
York Sunf404b662016-11-17 13:53:33 -080090
York Sun8435aa72016-11-17 14:19:18 -080091config TARGET_P2020RDB
92 bool "Support P2020RDB-PC"
93 select SUPPORT_SPL
94 select SUPPORT_TPL
York Sun45936372016-11-18 11:08:43 -080095 select ARCH_P2020
Simon Glassa1dc9802017-05-17 03:25:10 -060096 imply CMD_EEPROM
Simon Glass3bf926c2017-06-14 21:28:24 -060097 imply CMD_SATA
Tuomas Tynkkynenc88ecf42017-12-08 15:36:14 +020098 imply SATA_SIL
York Sun8435aa72016-11-17 14:19:18 -080099
Masahiro Yamadadd840582014-07-30 14:08:14 +0900100config TARGET_P2041RDB
101 bool "Support P2041RDB"
York Sunce040c82016-11-18 11:15:21 -0800102 select ARCH_P2041
Tom Rinie5ec4812017-01-22 19:43:11 -0500103 select BOARD_LATE_INIT if CHAIN_OF_TRUST
Masahiro Yamadabb6b1422016-07-25 19:56:03 +0900104 select PHYS_64BIT
Simon Glass3bf926c2017-06-14 21:28:24 -0600105 imply CMD_SATA
Tuomas Tynkkynen9920d152017-12-08 15:36:17 +0200106 imply FSL_SATA
Masahiro Yamadadd840582014-07-30 14:08:14 +0900107
108config TARGET_QEMU_PPCE500
109 bool "Support qemu-ppce500"
York Sun10343402016-11-18 12:29:51 -0800110 select ARCH_QEMU_E500
Masahiro Yamadabb6b1422016-07-25 19:56:03 +0900111 select PHYS_64BIT
Simon Glass239d22c2021-12-16 20:59:36 -0700112 imply OF_HAS_PRIOR_STAGE
Masahiro Yamadadd840582014-07-30 14:08:14 +0900113
York Sun08c75292016-11-18 12:45:44 -0800114config TARGET_T1024RDB
115 bool "Support T1024RDB"
York Sune5d5f5a2016-11-18 13:01:34 -0800116 select ARCH_T1024
Tom Rinie5ec4812017-01-22 19:43:11 -0500117 select BOARD_LATE_INIT if CHAIN_OF_TRUST
Shengzhou Liu48c6f322014-11-24 17:11:56 +0800118 select SUPPORT_SPL
Masahiro Yamadabb6b1422016-07-25 19:56:03 +0900119 select PHYS_64BIT
Rajesh Bhagat32413122019-02-01 05:22:01 +0000120 select FSL_DDR_INTERACTIVE
Simon Glassa1dc9802017-05-17 03:25:10 -0600121 imply CMD_EEPROM
Masahiro Yamada7e3caa82017-12-04 12:37:00 +0900122 imply PANIC_HANG
Shengzhou Liu48c6f322014-11-24 17:11:56 +0800123
York Sun95a809b2016-11-18 13:19:39 -0800124config TARGET_T1042RDB
125 bool "Support T1042RDB"
York Sun5449c982016-11-18 13:36:39 -0800126 select ARCH_T1042
Tom Rinie5ec4812017-01-22 19:43:11 -0500127 select BOARD_LATE_INIT if CHAIN_OF_TRUST
Masahiro Yamada02627352014-10-20 17:45:56 +0900128 select SUPPORT_SPL
Masahiro Yamadabb6b1422016-07-25 19:56:03 +0900129 select PHYS_64BIT
Masahiro Yamadadd840582014-07-30 14:08:14 +0900130
York Sun319ed242016-11-21 11:04:34 -0800131config TARGET_T1042D4RDB
132 bool "Support T1042D4RDB"
133 select ARCH_T1042
Tom Rinie5ec4812017-01-22 19:43:11 -0500134 select BOARD_LATE_INIT if CHAIN_OF_TRUST
York Sun319ed242016-11-21 11:04:34 -0800135 select SUPPORT_SPL
136 select PHYS_64BIT
Masahiro Yamada7e3caa82017-12-04 12:37:00 +0900137 imply PANIC_HANG
York Sun319ed242016-11-21 11:04:34 -0800138
York Sun55ed8ae2016-11-18 13:44:00 -0800139config TARGET_T1042RDB_PI
140 bool "Support T1042RDB_PI"
141 select ARCH_T1042
Tom Rinie5ec4812017-01-22 19:43:11 -0500142 select BOARD_LATE_INIT if CHAIN_OF_TRUST
York Sun55ed8ae2016-11-18 13:44:00 -0800143 select SUPPORT_SPL
144 select PHYS_64BIT
Masahiro Yamada7e3caa82017-12-04 12:37:00 +0900145 imply PANIC_HANG
York Sun55ed8ae2016-11-18 13:44:00 -0800146
York Sun638d5be2016-11-21 12:46:58 -0800147config TARGET_T2080QDS
148 bool "Support T2080QDS"
York Sun0f3d80e2016-11-21 12:54:19 -0800149 select ARCH_T2080
Tom Rinie5ec4812017-01-22 19:43:11 -0500150 select BOARD_LATE_INIT if CHAIN_OF_TRUST
Masahiro Yamada02627352014-10-20 17:45:56 +0900151 select SUPPORT_SPL
Masahiro Yamadabb6b1422016-07-25 19:56:03 +0900152 select PHYS_64BIT
Rajesh Bhagat32413122019-02-01 05:22:01 +0000153 select FSL_DDR_FIRST_SLOT_QUAD_CAPABLE
154 select FSL_DDR_INTERACTIVE
Peng Maa2d4cb22019-12-23 09:28:12 +0000155 imply CMD_SATA
Masahiro Yamadadd840582014-07-30 14:08:14 +0900156
York Sun01671e62016-11-21 12:57:22 -0800157config TARGET_T2080RDB
158 bool "Support T2080RDB"
York Sun0f3d80e2016-11-21 12:54:19 -0800159 select ARCH_T2080
Tom Rinie5ec4812017-01-22 19:43:11 -0500160 select BOARD_LATE_INIT if CHAIN_OF_TRUST
Masahiro Yamada02627352014-10-20 17:45:56 +0900161 select SUPPORT_SPL
Masahiro Yamadabb6b1422016-07-25 19:56:03 +0900162 select PHYS_64BIT
Simon Glass3bf926c2017-06-14 21:28:24 -0600163 imply CMD_SATA
Masahiro Yamada7e3caa82017-12-04 12:37:00 +0900164 imply PANIC_HANG
Masahiro Yamadadd840582014-07-30 14:08:14 +0900165
Masahiro Yamadadd840582014-07-30 14:08:14 +0900166config TARGET_T4240RDB
167 bool "Support T4240RDB"
York Sun26bc57d2016-11-21 13:35:41 -0800168 select ARCH_T4240
Chunhe Lan373762c2015-03-20 17:08:54 +0800169 select SUPPORT_SPL
Masahiro Yamadabb6b1422016-07-25 19:56:03 +0900170 select PHYS_64BIT
Rajesh Bhagat32413122019-02-01 05:22:01 +0000171 select FSL_DDR_FIRST_SLOT_QUAD_CAPABLE
Simon Glass3bf926c2017-06-14 21:28:24 -0600172 imply CMD_SATA
Masahiro Yamada7e3caa82017-12-04 12:37:00 +0900173 imply PANIC_HANG
Masahiro Yamadadd840582014-07-30 14:08:14 +0900174
Masahiro Yamadadd840582014-07-30 14:08:14 +0900175config TARGET_KMP204X
176 bool "Support kmp204x"
Pascal Linderc0fed3a2019-06-18 13:27:47 +0200177 select VENDOR_KM
Masahiro Yamadadd840582014-07-30 14:08:14 +0900178
Niel Fourie37bfd9c2021-01-21 13:19:20 +0100179config TARGET_KMCENT2
180 bool "Support kmcent2"
181 select VENDOR_KM
182
Masahiro Yamadadd840582014-07-30 14:08:14 +0900183endchoice
184
York Sunb41f1922016-11-18 11:56:57 -0800185config ARCH_B4420
186 bool
York Sunf8dee362016-12-28 08:43:27 -0800187 select E500MC
York Sun9ec10102016-12-28 08:43:48 -0800188 select E6500
York Sun05cb79a2016-12-02 10:44:34 -0800189 select FSL_LAW
York Sun22120f12016-12-28 08:43:46 -0800190 select SYS_FSL_DDR_VER_47
York Sun63659ff2016-12-28 08:43:43 -0800191 select SYS_FSL_ERRATUM_A004477
192 select SYS_FSL_ERRATUM_A005871
193 select SYS_FSL_ERRATUM_A006379
194 select SYS_FSL_ERRATUM_A006384
195 select SYS_FSL_ERRATUM_A006475
196 select SYS_FSL_ERRATUM_A006593
197 select SYS_FSL_ERRATUM_A007075
198 select SYS_FSL_ERRATUM_A007186
199 select SYS_FSL_ERRATUM_A007212
200 select SYS_FSL_ERRATUM_A009942
York Sund26e34c2016-12-28 08:43:40 -0800201 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800202 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800203 select SYS_FSL_QORIQ_CHASSIS2
York Sun90b80382016-12-28 08:43:31 -0800204 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800205 select SYS_FSL_SEC_COMPAT_4
York Sun48512782016-12-28 08:43:50 -0800206 select SYS_PPC64
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530207 select FSL_IFC
Simon Glassa1dc9802017-05-17 03:25:10 -0600208 imply CMD_EEPROM
Tom Rini8f1a80e2017-07-28 21:31:42 -0400209 imply CMD_NAND
Christophe Leroyfa379222017-08-04 16:34:40 -0600210 imply CMD_REGINFO
York Sunb41f1922016-11-18 11:56:57 -0800211
York Sun3006ebc2016-11-18 11:44:43 -0800212config ARCH_B4860
213 bool
York Sunf8dee362016-12-28 08:43:27 -0800214 select E500MC
York Sun9ec10102016-12-28 08:43:48 -0800215 select E6500
York Sun05cb79a2016-12-02 10:44:34 -0800216 select FSL_LAW
York Sun22120f12016-12-28 08:43:46 -0800217 select SYS_FSL_DDR_VER_47
York Sun63659ff2016-12-28 08:43:43 -0800218 select SYS_FSL_ERRATUM_A004477
219 select SYS_FSL_ERRATUM_A005871
220 select SYS_FSL_ERRATUM_A006379
221 select SYS_FSL_ERRATUM_A006384
222 select SYS_FSL_ERRATUM_A006475
223 select SYS_FSL_ERRATUM_A006593
224 select SYS_FSL_ERRATUM_A007075
225 select SYS_FSL_ERRATUM_A007186
226 select SYS_FSL_ERRATUM_A007212
Darwin Dingel06ad9702016-10-25 09:48:01 +1300227 select SYS_FSL_ERRATUM_A007907
York Sun63659ff2016-12-28 08:43:43 -0800228 select SYS_FSL_ERRATUM_A009942
York Sund26e34c2016-12-28 08:43:40 -0800229 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800230 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800231 select SYS_FSL_QORIQ_CHASSIS2
York Sun90b80382016-12-28 08:43:31 -0800232 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800233 select SYS_FSL_SEC_COMPAT_4
York Sun48512782016-12-28 08:43:50 -0800234 select SYS_PPC64
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530235 select FSL_IFC
Simon Glassa1dc9802017-05-17 03:25:10 -0600236 imply CMD_EEPROM
Tom Rini8f1a80e2017-07-28 21:31:42 -0400237 imply CMD_NAND
Christophe Leroyfa379222017-08-04 16:34:40 -0600238 imply CMD_REGINFO
York Sun3006ebc2016-11-18 11:44:43 -0800239
York Sun115d60c2016-11-15 14:09:50 -0800240config ARCH_BSC9131
241 bool
York Sun05cb79a2016-12-02 10:44:34 -0800242 select FSL_LAW
York Sun22120f12016-12-28 08:43:46 -0800243 select SYS_FSL_DDR_VER_44
York Sun63659ff2016-12-28 08:43:43 -0800244 select SYS_FSL_ERRATUM_A004477
245 select SYS_FSL_ERRATUM_A005125
York Sunc01e4a12016-12-28 08:43:42 -0800246 select SYS_FSL_ERRATUM_ESDHC111
York Sund26e34c2016-12-28 08:43:40 -0800247 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800248 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800249 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800250 select SYS_FSL_SEC_COMPAT_4
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530251 select FSL_IFC
Simon Glassa1dc9802017-05-17 03:25:10 -0600252 imply CMD_EEPROM
Tom Rini8f1a80e2017-07-28 21:31:42 -0400253 imply CMD_NAND
Christophe Leroyfa379222017-08-04 16:34:40 -0600254 imply CMD_REGINFO
York Sun115d60c2016-11-15 14:09:50 -0800255
256config ARCH_BSC9132
257 bool
York Sun05cb79a2016-12-02 10:44:34 -0800258 select FSL_LAW
York Sun22120f12016-12-28 08:43:46 -0800259 select SYS_FSL_DDR_VER_46
York Sun63659ff2016-12-28 08:43:43 -0800260 select SYS_FSL_ERRATUM_A004477
261 select SYS_FSL_ERRATUM_A005125
262 select SYS_FSL_ERRATUM_A005434
York Sunc01e4a12016-12-28 08:43:42 -0800263 select SYS_FSL_ERRATUM_ESDHC111
York Sun63659ff2016-12-28 08:43:43 -0800264 select SYS_FSL_ERRATUM_I2C_A004447
265 select SYS_FSL_ERRATUM_IFC_A002769
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800266 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800267 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800268 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800269 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800270 select SYS_FSL_SEC_COMPAT_4
York Sun53c95382016-12-28 08:43:29 -0800271 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530272 select FSL_IFC
Simon Glassa1dc9802017-05-17 03:25:10 -0600273 imply CMD_EEPROM
Tom Rinid56b4b12017-07-22 18:36:16 -0400274 imply CMD_MTDPARTS
Tom Rini8f1a80e2017-07-28 21:31:42 -0400275 imply CMD_NAND
Simon Glass6500ec72017-08-04 16:34:34 -0600276 imply CMD_PCI
Christophe Leroyfa379222017-08-04 16:34:40 -0600277 imply CMD_REGINFO
York Sun115d60c2016-11-15 14:09:50 -0800278
York Sun4fd64742016-11-15 18:44:22 -0800279config ARCH_C29X
280 bool
York Sun05cb79a2016-12-02 10:44:34 -0800281 select FSL_LAW
York Sun22120f12016-12-28 08:43:46 -0800282 select SYS_FSL_DDR_VER_46
York Sun63659ff2016-12-28 08:43:43 -0800283 select SYS_FSL_ERRATUM_A005125
York Sunc01e4a12016-12-28 08:43:42 -0800284 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800285 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800286 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800287 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800288 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800289 select SYS_FSL_SEC_COMPAT_6
York Sun53c95382016-12-28 08:43:29 -0800290 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530291 select FSL_IFC
Tom Rini8f1a80e2017-07-28 21:31:42 -0400292 imply CMD_NAND
Simon Glass6500ec72017-08-04 16:34:34 -0600293 imply CMD_PCI
Christophe Leroyfa379222017-08-04 16:34:40 -0600294 imply CMD_REGINFO
York Sun4fd64742016-11-15 18:44:22 -0800295
York Sun24ad75a2016-11-16 11:06:47 -0800296config ARCH_MPC8536
297 bool
York Sun05cb79a2016-12-02 10:44:34 -0800298 select FSL_LAW
York Sun63659ff2016-12-28 08:43:43 -0800299 select SYS_FSL_ERRATUM_A004508
300 select SYS_FSL_ERRATUM_A005125
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800301 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800302 select SYS_FSL_HAS_DDR2
303 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800304 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800305 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800306 select SYS_FSL_SEC_COMPAT_2
York Sun53c95382016-12-28 08:43:29 -0800307 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530308 select FSL_ELBC
Tom Rini8f1a80e2017-07-28 21:31:42 -0400309 imply CMD_NAND
Simon Glass3bf926c2017-06-14 21:28:24 -0600310 imply CMD_SATA
Christophe Leroyfa379222017-08-04 16:34:40 -0600311 imply CMD_REGINFO
York Sun24ad75a2016-11-16 11:06:47 -0800312
York Sun7f825212016-11-16 11:13:06 -0800313config ARCH_MPC8540
314 bool
York Sun05cb79a2016-12-02 10:44:34 -0800315 select FSL_LAW
York Sund26e34c2016-12-28 08:43:40 -0800316 select SYS_FSL_HAS_DDR1
York Sun7f825212016-11-16 11:13:06 -0800317
York Sun25cb74b2016-11-15 13:57:15 -0800318config ARCH_MPC8544
319 bool
Tom Rinia3041d92022-02-23 12:28:15 -0500320 select BTB
York Sun05cb79a2016-12-02 10:44:34 -0800321 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400322 select SYS_CACHE_SHIFT_5
York Sun63659ff2016-12-28 08:43:43 -0800323 select SYS_FSL_ERRATUM_A005125
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800324 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800325 select SYS_FSL_HAS_DDR2
York Sun2c2e2c92016-12-28 08:43:30 -0800326 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800327 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800328 select SYS_FSL_SEC_COMPAT_2
York Sun53c95382016-12-28 08:43:29 -0800329 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530330 select FSL_ELBC
York Sun25cb74b2016-11-15 13:57:15 -0800331
York Sun281ed4c2016-11-15 13:52:34 -0800332config ARCH_MPC8548
333 bool
Tom Rinia3041d92022-02-23 12:28:15 -0500334 select BTB
York Sun05cb79a2016-12-02 10:44:34 -0800335 select FSL_LAW
York Sun63659ff2016-12-28 08:43:43 -0800336 select SYS_FSL_ERRATUM_A005125
337 select SYS_FSL_ERRATUM_NMG_DDR120
338 select SYS_FSL_ERRATUM_NMG_LBC103
339 select SYS_FSL_ERRATUM_NMG_ETSEC129
340 select SYS_FSL_ERRATUM_I2C_A004447
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800341 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800342 select SYS_FSL_HAS_DDR2
343 select SYS_FSL_HAS_DDR1
York Sun2c2e2c92016-12-28 08:43:30 -0800344 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800345 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800346 select SYS_FSL_SEC_COMPAT_2
York Sun53c95382016-12-28 08:43:29 -0800347 select SYS_PPC_E500_USE_DEBUG_TLB
Christophe Leroyfa379222017-08-04 16:34:40 -0600348 imply CMD_REGINFO
York Sun281ed4c2016-11-15 13:52:34 -0800349
York Sun99d0a312016-11-16 11:26:45 -0800350config ARCH_MPC8560
351 bool
York Sun05cb79a2016-12-02 10:44:34 -0800352 select FSL_LAW
York Sund26e34c2016-12-28 08:43:40 -0800353 select SYS_FSL_HAS_DDR1
York Sun99d0a312016-11-16 11:26:45 -0800354
York Sun7d5f9f82016-11-16 13:08:52 -0800355config ARCH_P1010
356 bool
Tom Rinifdd0da42022-03-11 09:11:59 -0500357 select A003399_NOR_WORKAROUND if SYS_FSL_ERRATUM_IFC_A003399 && !SPL
Tom Rinia3041d92022-02-23 12:28:15 -0500358 select BTB
York Sun05cb79a2016-12-02 10:44:34 -0800359 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400360 select SYS_CACHE_SHIFT_5
Tom Rinif76750d2021-12-11 14:55:51 -0500361 select SYS_HAS_SERDES
York Sun63659ff2016-12-28 08:43:43 -0800362 select SYS_FSL_ERRATUM_A004477
363 select SYS_FSL_ERRATUM_A004508
364 select SYS_FSL_ERRATUM_A005125
Chris Packham4eaf7f52018-10-04 20:03:53 +1300365 select SYS_FSL_ERRATUM_A005275
York Sun63659ff2016-12-28 08:43:43 -0800366 select SYS_FSL_ERRATUM_A006261
367 select SYS_FSL_ERRATUM_A007075
York Sunc01e4a12016-12-28 08:43:42 -0800368 select SYS_FSL_ERRATUM_ESDHC111
York Sun63659ff2016-12-28 08:43:43 -0800369 select SYS_FSL_ERRATUM_I2C_A004447
370 select SYS_FSL_ERRATUM_IFC_A002769
371 select SYS_FSL_ERRATUM_P1010_A003549
372 select SYS_FSL_ERRATUM_SEC_A003571
373 select SYS_FSL_ERRATUM_IFC_A003399
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800374 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800375 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800376 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800377 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800378 select SYS_FSL_SEC_COMPAT_4
York Sun53c95382016-12-28 08:43:29 -0800379 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530380 select FSL_IFC
Simon Glassa1dc9802017-05-17 03:25:10 -0600381 imply CMD_EEPROM
Tom Rinid56b4b12017-07-22 18:36:16 -0400382 imply CMD_MTDPARTS
Tom Rini8f1a80e2017-07-28 21:31:42 -0400383 imply CMD_NAND
Simon Glass3bf926c2017-06-14 21:28:24 -0600384 imply CMD_SATA
Simon Glass6500ec72017-08-04 16:34:34 -0600385 imply CMD_PCI
Christophe Leroyfa379222017-08-04 16:34:40 -0600386 imply CMD_REGINFO
Tuomas Tynkkynen9920d152017-12-08 15:36:17 +0200387 imply FSL_SATA
Simon Glassd6b318d2021-12-18 11:27:50 -0700388 imply TIMESTAMP
York Sun7d5f9f82016-11-16 13:08:52 -0800389
York Sun1cdd96f2016-11-16 15:54:15 -0800390config ARCH_P1011
391 bool
York Sun05cb79a2016-12-02 10:44:34 -0800392 select FSL_LAW
York Sun63659ff2016-12-28 08:43:43 -0800393 select SYS_FSL_ERRATUM_A004508
394 select SYS_FSL_ERRATUM_A005125
395 select SYS_FSL_ERRATUM_ELBC_A001
York Sunc01e4a12016-12-28 08:43:42 -0800396 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiangc16dfd02019-05-22 22:46:03 +0800397 select FSL_PCIE_DISABLE_ASPM
York Sund26e34c2016-12-28 08:43:40 -0800398 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800399 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800400 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800401 select SYS_FSL_SEC_COMPAT_2
York Sun53c95382016-12-28 08:43:29 -0800402 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530403 select FSL_ELBC
York Sun1cdd96f2016-11-16 15:54:15 -0800404
York Sun484fff62016-11-18 10:02:14 -0800405config ARCH_P1020
406 bool
Tom Rinia3041d92022-02-23 12:28:15 -0500407 select BTB
York Sun05cb79a2016-12-02 10:44:34 -0800408 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400409 select SYS_CACHE_SHIFT_5
York Sun63659ff2016-12-28 08:43:43 -0800410 select SYS_FSL_ERRATUM_A004508
411 select SYS_FSL_ERRATUM_A005125
412 select SYS_FSL_ERRATUM_ELBC_A001
York Sunc01e4a12016-12-28 08:43:42 -0800413 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiangc16dfd02019-05-22 22:46:03 +0800414 select FSL_PCIE_DISABLE_ASPM
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800415 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800416 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800417 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800418 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800419 select SYS_FSL_SEC_COMPAT_2
York Sun53c95382016-12-28 08:43:29 -0800420 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530421 select FSL_ELBC
Tom Rini8f1a80e2017-07-28 21:31:42 -0400422 imply CMD_NAND
Simon Glass3bf926c2017-06-14 21:28:24 -0600423 imply CMD_SATA
Simon Glass6500ec72017-08-04 16:34:34 -0600424 imply CMD_PCI
Christophe Leroyfa379222017-08-04 16:34:40 -0600425 imply CMD_REGINFO
Tuomas Tynkkynenc88ecf42017-12-08 15:36:14 +0200426 imply SATA_SIL
York Sun484fff62016-11-18 10:02:14 -0800427
York Suna9907992016-11-18 10:59:02 -0800428config ARCH_P1021
429 bool
York Sun05cb79a2016-12-02 10:44:34 -0800430 select FSL_LAW
York Sun63659ff2016-12-28 08:43:43 -0800431 select SYS_FSL_ERRATUM_A004508
432 select SYS_FSL_ERRATUM_A005125
433 select SYS_FSL_ERRATUM_ELBC_A001
York Sunc01e4a12016-12-28 08:43:42 -0800434 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiangc16dfd02019-05-22 22:46:03 +0800435 select FSL_PCIE_DISABLE_ASPM
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800436 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800437 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800438 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800439 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800440 select SYS_FSL_SEC_COMPAT_2
York Sun53c95382016-12-28 08:43:29 -0800441 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530442 select FSL_ELBC
Christophe Leroyfa379222017-08-04 16:34:40 -0600443 imply CMD_REGINFO
Tom Rini8f1a80e2017-07-28 21:31:42 -0400444 imply CMD_NAND
Simon Glass3bf926c2017-06-14 21:28:24 -0600445 imply CMD_SATA
Christophe Leroyfa379222017-08-04 16:34:40 -0600446 imply CMD_REGINFO
Tuomas Tynkkynenc88ecf42017-12-08 15:36:14 +0200447 imply SATA_SIL
York Suna9907992016-11-18 10:59:02 -0800448
York Sun9bb1d6b2016-11-16 15:45:31 -0800449config ARCH_P1023
450 bool
York Sun05cb79a2016-12-02 10:44:34 -0800451 select FSL_LAW
York Sun63659ff2016-12-28 08:43:43 -0800452 select SYS_FSL_ERRATUM_A004508
453 select SYS_FSL_ERRATUM_A005125
454 select SYS_FSL_ERRATUM_I2C_A004447
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800455 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800456 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800457 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800458 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800459 select SYS_FSL_SEC_COMPAT_4
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530460 select FSL_ELBC
York Sun9bb1d6b2016-11-16 15:45:31 -0800461
York Sun52b6f132016-11-18 11:00:57 -0800462config ARCH_P1024
463 bool
York Sun05cb79a2016-12-02 10:44:34 -0800464 select FSL_LAW
York Sun63659ff2016-12-28 08:43:43 -0800465 select SYS_FSL_ERRATUM_A004508
466 select SYS_FSL_ERRATUM_A005125
467 select SYS_FSL_ERRATUM_ELBC_A001
York Sunc01e4a12016-12-28 08:43:42 -0800468 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiangc16dfd02019-05-22 22:46:03 +0800469 select FSL_PCIE_DISABLE_ASPM
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800470 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800471 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800472 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800473 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800474 select SYS_FSL_SEC_COMPAT_2
York Sun53c95382016-12-28 08:43:29 -0800475 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530476 select FSL_ELBC
Simon Glassa1dc9802017-05-17 03:25:10 -0600477 imply CMD_EEPROM
Tom Rini8f1a80e2017-07-28 21:31:42 -0400478 imply CMD_NAND
Simon Glass3bf926c2017-06-14 21:28:24 -0600479 imply CMD_SATA
Simon Glass6500ec72017-08-04 16:34:34 -0600480 imply CMD_PCI
Christophe Leroyfa379222017-08-04 16:34:40 -0600481 imply CMD_REGINFO
Tuomas Tynkkynenc88ecf42017-12-08 15:36:14 +0200482 imply SATA_SIL
York Sun52b6f132016-11-18 11:00:57 -0800483
York Sun4167a672016-11-18 11:05:38 -0800484config ARCH_P1025
485 bool
York Sun05cb79a2016-12-02 10:44:34 -0800486 select FSL_LAW
York Sun63659ff2016-12-28 08:43:43 -0800487 select SYS_FSL_ERRATUM_A004508
488 select SYS_FSL_ERRATUM_A005125
489 select SYS_FSL_ERRATUM_ELBC_A001
York Sunc01e4a12016-12-28 08:43:42 -0800490 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiangc16dfd02019-05-22 22:46:03 +0800491 select FSL_PCIE_DISABLE_ASPM
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800492 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800493 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800494 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800495 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800496 select SYS_FSL_SEC_COMPAT_2
York Sun53c95382016-12-28 08:43:29 -0800497 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530498 select FSL_ELBC
Simon Glass3bf926c2017-06-14 21:28:24 -0600499 imply CMD_SATA
Christophe Leroyfa379222017-08-04 16:34:40 -0600500 imply CMD_REGINFO
York Sun4167a672016-11-18 11:05:38 -0800501
York Sun45936372016-11-18 11:08:43 -0800502config ARCH_P2020
503 bool
Tom Rinia3041d92022-02-23 12:28:15 -0500504 select BTB
York Sun05cb79a2016-12-02 10:44:34 -0800505 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400506 select SYS_CACHE_SHIFT_5
York Sun63659ff2016-12-28 08:43:43 -0800507 select SYS_FSL_ERRATUM_A004477
508 select SYS_FSL_ERRATUM_A004508
509 select SYS_FSL_ERRATUM_A005125
York Sunc01e4a12016-12-28 08:43:42 -0800510 select SYS_FSL_ERRATUM_ESDHC111
511 select SYS_FSL_ERRATUM_ESDHC_A001
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800512 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800513 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800514 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800515 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800516 select SYS_FSL_SEC_COMPAT_2
York Sun53c95382016-12-28 08:43:29 -0800517 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530518 select FSL_ELBC
Simon Glassa1dc9802017-05-17 03:25:10 -0600519 imply CMD_EEPROM
Tom Rini8f1a80e2017-07-28 21:31:42 -0400520 imply CMD_NAND
Christophe Leroyfa379222017-08-04 16:34:40 -0600521 imply CMD_REGINFO
Simon Glassd6b318d2021-12-18 11:27:50 -0700522 imply TIMESTAMP
York Sun45936372016-11-18 11:08:43 -0800523
York Sunce040c82016-11-18 11:15:21 -0800524config ARCH_P2041
525 bool
Tom Rinib40d2b22022-03-18 08:38:32 -0400526 select BACKSIDE_L2_CACHE
York Sunf8dee362016-12-28 08:43:27 -0800527 select E500MC
York Sun05cb79a2016-12-02 10:44:34 -0800528 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400529 select SYS_CACHE_SHIFT_6
York Sun63659ff2016-12-28 08:43:43 -0800530 select SYS_FSL_ERRATUM_A004510
531 select SYS_FSL_ERRATUM_A004849
Chris Packham4eaf7f52018-10-04 20:03:53 +1300532 select SYS_FSL_ERRATUM_A005275
York Sun63659ff2016-12-28 08:43:43 -0800533 select SYS_FSL_ERRATUM_A006261
534 select SYS_FSL_ERRATUM_CPU_A003999
535 select SYS_FSL_ERRATUM_DDR_A003
536 select SYS_FSL_ERRATUM_DDR_A003474
York Sunc01e4a12016-12-28 08:43:42 -0800537 select SYS_FSL_ERRATUM_ESDHC111
York Sun63659ff2016-12-28 08:43:43 -0800538 select SYS_FSL_ERRATUM_I2C_A004447
539 select SYS_FSL_ERRATUM_NMG_CPU_A011
540 select SYS_FSL_ERRATUM_SRIO_A004034
541 select SYS_FSL_ERRATUM_USB14
York Sund26e34c2016-12-28 08:43:40 -0800542 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800543 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800544 select SYS_FSL_QORIQ_CHASSIS1
York Sun90b80382016-12-28 08:43:31 -0800545 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800546 select SYS_FSL_SEC_COMPAT_4
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530547 select FSL_ELBC
Tom Rini8f1a80e2017-07-28 21:31:42 -0400548 imply CMD_NAND
York Sunce040c82016-11-18 11:15:21 -0800549
York Sun5e5fdd22016-11-18 11:20:40 -0800550config ARCH_P3041
551 bool
Tom Rinib40d2b22022-03-18 08:38:32 -0400552 select BACKSIDE_L2_CACHE
York Sunf8dee362016-12-28 08:43:27 -0800553 select E500MC
York Sun05cb79a2016-12-02 10:44:34 -0800554 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400555 select SYS_CACHE_SHIFT_6
York Sun22120f12016-12-28 08:43:46 -0800556 select SYS_FSL_DDR_VER_44
York Sun63659ff2016-12-28 08:43:43 -0800557 select SYS_FSL_ERRATUM_A004510
558 select SYS_FSL_ERRATUM_A004849
Chris Packham4eaf7f52018-10-04 20:03:53 +1300559 select SYS_FSL_ERRATUM_A005275
York Sun63659ff2016-12-28 08:43:43 -0800560 select SYS_FSL_ERRATUM_A005812
561 select SYS_FSL_ERRATUM_A006261
562 select SYS_FSL_ERRATUM_CPU_A003999
563 select SYS_FSL_ERRATUM_DDR_A003
564 select SYS_FSL_ERRATUM_DDR_A003474
York Sunc01e4a12016-12-28 08:43:42 -0800565 select SYS_FSL_ERRATUM_ESDHC111
York Sun63659ff2016-12-28 08:43:43 -0800566 select SYS_FSL_ERRATUM_I2C_A004447
567 select SYS_FSL_ERRATUM_NMG_CPU_A011
568 select SYS_FSL_ERRATUM_SRIO_A004034
569 select SYS_FSL_ERRATUM_USB14
York Sund26e34c2016-12-28 08:43:40 -0800570 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800571 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800572 select SYS_FSL_QORIQ_CHASSIS1
York Sun90b80382016-12-28 08:43:31 -0800573 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800574 select SYS_FSL_SEC_COMPAT_4
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530575 select FSL_ELBC
Tom Rini8f1a80e2017-07-28 21:31:42 -0400576 imply CMD_NAND
Simon Glass3bf926c2017-06-14 21:28:24 -0600577 imply CMD_SATA
Christophe Leroyfa379222017-08-04 16:34:40 -0600578 imply CMD_REGINFO
Tuomas Tynkkynen9920d152017-12-08 15:36:17 +0200579 imply FSL_SATA
York Sun5e5fdd22016-11-18 11:20:40 -0800580
York Sune71372c2016-11-18 11:24:40 -0800581config ARCH_P4080
582 bool
Tom Rinib40d2b22022-03-18 08:38:32 -0400583 select BACKSIDE_L2_CACHE
York Sunf8dee362016-12-28 08:43:27 -0800584 select E500MC
York Sun05cb79a2016-12-02 10:44:34 -0800585 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400586 select SYS_CACHE_SHIFT_6
York Sun22120f12016-12-28 08:43:46 -0800587 select SYS_FSL_DDR_VER_44
York Sun63659ff2016-12-28 08:43:43 -0800588 select SYS_FSL_ERRATUM_A004510
589 select SYS_FSL_ERRATUM_A004580
590 select SYS_FSL_ERRATUM_A004849
591 select SYS_FSL_ERRATUM_A005812
592 select SYS_FSL_ERRATUM_A007075
593 select SYS_FSL_ERRATUM_CPC_A002
594 select SYS_FSL_ERRATUM_CPC_A003
595 select SYS_FSL_ERRATUM_CPU_A003999
596 select SYS_FSL_ERRATUM_DDR_A003
597 select SYS_FSL_ERRATUM_DDR_A003474
598 select SYS_FSL_ERRATUM_ELBC_A001
York Sunc01e4a12016-12-28 08:43:42 -0800599 select SYS_FSL_ERRATUM_ESDHC111
600 select SYS_FSL_ERRATUM_ESDHC13
601 select SYS_FSL_ERRATUM_ESDHC135
York Sun63659ff2016-12-28 08:43:43 -0800602 select SYS_FSL_ERRATUM_I2C_A004447
603 select SYS_FSL_ERRATUM_NMG_CPU_A011
604 select SYS_FSL_ERRATUM_SRIO_A004034
605 select SYS_P4080_ERRATUM_CPU22
606 select SYS_P4080_ERRATUM_PCIE_A003
607 select SYS_P4080_ERRATUM_SERDES8
608 select SYS_P4080_ERRATUM_SERDES9
609 select SYS_P4080_ERRATUM_SERDES_A001
610 select SYS_P4080_ERRATUM_SERDES_A005
York Sund26e34c2016-12-28 08:43:40 -0800611 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800612 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800613 select SYS_FSL_QORIQ_CHASSIS1
York Sun90b80382016-12-28 08:43:31 -0800614 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800615 select SYS_FSL_SEC_COMPAT_4
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530616 select FSL_ELBC
Simon Glass3bf926c2017-06-14 21:28:24 -0600617 imply CMD_SATA
Christophe Leroyfa379222017-08-04 16:34:40 -0600618 imply CMD_REGINFO
Tuomas Tynkkynenc88ecf42017-12-08 15:36:14 +0200619 imply SATA_SIL
York Sune71372c2016-11-18 11:24:40 -0800620
York Sun95390362016-11-18 11:39:36 -0800621config ARCH_P5040
622 bool
Tom Rinib40d2b22022-03-18 08:38:32 -0400623 select BACKSIDE_L2_CACHE
York Sunf8dee362016-12-28 08:43:27 -0800624 select E500MC
York Sun05cb79a2016-12-02 10:44:34 -0800625 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400626 select SYS_CACHE_SHIFT_6
York Sun22120f12016-12-28 08:43:46 -0800627 select SYS_FSL_DDR_VER_44
York Sun63659ff2016-12-28 08:43:43 -0800628 select SYS_FSL_ERRATUM_A004510
629 select SYS_FSL_ERRATUM_A004699
Chris Packham4eaf7f52018-10-04 20:03:53 +1300630 select SYS_FSL_ERRATUM_A005275
York Sun63659ff2016-12-28 08:43:43 -0800631 select SYS_FSL_ERRATUM_A005812
632 select SYS_FSL_ERRATUM_A006261
633 select SYS_FSL_ERRATUM_DDR_A003
634 select SYS_FSL_ERRATUM_DDR_A003474
York Sunc01e4a12016-12-28 08:43:42 -0800635 select SYS_FSL_ERRATUM_ESDHC111
York Sun63659ff2016-12-28 08:43:43 -0800636 select SYS_FSL_ERRATUM_USB14
York Sund26e34c2016-12-28 08:43:40 -0800637 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800638 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800639 select SYS_FSL_QORIQ_CHASSIS1
York Sun90b80382016-12-28 08:43:31 -0800640 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800641 select SYS_FSL_SEC_COMPAT_4
York Sun48512782016-12-28 08:43:50 -0800642 select SYS_PPC64
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530643 select FSL_ELBC
Simon Glass3bf926c2017-06-14 21:28:24 -0600644 imply CMD_SATA
Christophe Leroyfa379222017-08-04 16:34:40 -0600645 imply CMD_REGINFO
Tuomas Tynkkynen9920d152017-12-08 15:36:17 +0200646 imply FSL_SATA
York Sun95390362016-11-18 11:39:36 -0800647
York Sun10343402016-11-18 12:29:51 -0800648config ARCH_QEMU_E500
649 bool
Tom Riniab92b382021-08-26 11:47:59 -0400650 select SYS_CACHE_SHIFT_5
York Sun10343402016-11-18 12:29:51 -0800651
York Sune5d5f5a2016-11-18 13:01:34 -0800652config ARCH_T1024
653 bool
Tom Rinib40d2b22022-03-18 08:38:32 -0400654 select BACKSIDE_L2_CACHE
York Sunf8dee362016-12-28 08:43:27 -0800655 select E500MC
York Sun05cb79a2016-12-02 10:44:34 -0800656 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400657 select SYS_CACHE_SHIFT_6
York Sun22120f12016-12-28 08:43:46 -0800658 select SYS_FSL_DDR_VER_50
York Sun63659ff2016-12-28 08:43:43 -0800659 select SYS_FSL_ERRATUM_A008378
Jaiprakash Singh164a5af2020-06-02 12:44:02 +0530660 select SYS_FSL_ERRATUM_A008109
York Sun63659ff2016-12-28 08:43:43 -0800661 select SYS_FSL_ERRATUM_A009663
662 select SYS_FSL_ERRATUM_A009942
York Sunc01e4a12016-12-28 08:43:42 -0800663 select SYS_FSL_ERRATUM_ESDHC111
York Sund26e34c2016-12-28 08:43:40 -0800664 select SYS_FSL_HAS_DDR3
665 select SYS_FSL_HAS_DDR4
York Sun2c2e2c92016-12-28 08:43:30 -0800666 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800667 select SYS_FSL_QORIQ_CHASSIS2
York Sun90b80382016-12-28 08:43:31 -0800668 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800669 select SYS_FSL_SEC_COMPAT_5
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530670 select FSL_IFC
Simon Glassa1dc9802017-05-17 03:25:10 -0600671 imply CMD_EEPROM
Tom Rini8f1a80e2017-07-28 21:31:42 -0400672 imply CMD_NAND
Tom Rinid56b4b12017-07-22 18:36:16 -0400673 imply CMD_MTDPARTS
Christophe Leroyfa379222017-08-04 16:34:40 -0600674 imply CMD_REGINFO
York Sune5d5f5a2016-11-18 13:01:34 -0800675
York Sun5d737012016-11-18 13:11:12 -0800676config ARCH_T1040
677 bool
Tom Rinib40d2b22022-03-18 08:38:32 -0400678 select BACKSIDE_L2_CACHE
York Sunf8dee362016-12-28 08:43:27 -0800679 select E500MC
York Sun05cb79a2016-12-02 10:44:34 -0800680 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400681 select SYS_CACHE_SHIFT_6
York Sun22120f12016-12-28 08:43:46 -0800682 select SYS_FSL_DDR_VER_50
York Sun63659ff2016-12-28 08:43:43 -0800683 select SYS_FSL_ERRATUM_A008044
684 select SYS_FSL_ERRATUM_A008378
Joakim Tjernlund73af0942019-11-20 17:07:34 +0100685 select SYS_FSL_ERRATUM_A008109
York Sun63659ff2016-12-28 08:43:43 -0800686 select SYS_FSL_ERRATUM_A009663
687 select SYS_FSL_ERRATUM_A009942
York Sunc01e4a12016-12-28 08:43:42 -0800688 select SYS_FSL_ERRATUM_ESDHC111
York Sund26e34c2016-12-28 08:43:40 -0800689 select SYS_FSL_HAS_DDR3
690 select SYS_FSL_HAS_DDR4
York Sun2c2e2c92016-12-28 08:43:30 -0800691 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800692 select SYS_FSL_QORIQ_CHASSIS2
York Sun90b80382016-12-28 08:43:31 -0800693 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800694 select SYS_FSL_SEC_COMPAT_5
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530695 select FSL_IFC
Tom Rinid56b4b12017-07-22 18:36:16 -0400696 imply CMD_MTDPARTS
Tom Rini8f1a80e2017-07-28 21:31:42 -0400697 imply CMD_NAND
Christophe Leroyfa379222017-08-04 16:34:40 -0600698 imply CMD_REGINFO
York Sun5d737012016-11-18 13:11:12 -0800699
York Sun5449c982016-11-18 13:36:39 -0800700config ARCH_T1042
701 bool
Tom Rinib40d2b22022-03-18 08:38:32 -0400702 select BACKSIDE_L2_CACHE
York Sunf8dee362016-12-28 08:43:27 -0800703 select E500MC
York Sun05cb79a2016-12-02 10:44:34 -0800704 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400705 select SYS_CACHE_SHIFT_6
York Sun22120f12016-12-28 08:43:46 -0800706 select SYS_FSL_DDR_VER_50
York Sun63659ff2016-12-28 08:43:43 -0800707 select SYS_FSL_ERRATUM_A008044
708 select SYS_FSL_ERRATUM_A008378
Joakim Tjernlund73af0942019-11-20 17:07:34 +0100709 select SYS_FSL_ERRATUM_A008109
York Sun63659ff2016-12-28 08:43:43 -0800710 select SYS_FSL_ERRATUM_A009663
711 select SYS_FSL_ERRATUM_A009942
York Sunc01e4a12016-12-28 08:43:42 -0800712 select SYS_FSL_ERRATUM_ESDHC111
York Sund26e34c2016-12-28 08:43:40 -0800713 select SYS_FSL_HAS_DDR3
714 select SYS_FSL_HAS_DDR4
York Sun2c2e2c92016-12-28 08:43:30 -0800715 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800716 select SYS_FSL_QORIQ_CHASSIS2
York Sun90b80382016-12-28 08:43:31 -0800717 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800718 select SYS_FSL_SEC_COMPAT_5
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530719 select FSL_IFC
Tom Rinid56b4b12017-07-22 18:36:16 -0400720 imply CMD_MTDPARTS
Tom Rini8f1a80e2017-07-28 21:31:42 -0400721 imply CMD_NAND
Christophe Leroyfa379222017-08-04 16:34:40 -0600722 imply CMD_REGINFO
York Sun5449c982016-11-18 13:36:39 -0800723
York Sun0f3d80e2016-11-21 12:54:19 -0800724config ARCH_T2080
725 bool
York Sunf8dee362016-12-28 08:43:27 -0800726 select E500MC
York Sun9ec10102016-12-28 08:43:48 -0800727 select E6500
York Sun05cb79a2016-12-02 10:44:34 -0800728 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400729 select SYS_CACHE_SHIFT_6
York Sun22120f12016-12-28 08:43:46 -0800730 select SYS_FSL_DDR_VER_47
York Sun63659ff2016-12-28 08:43:43 -0800731 select SYS_FSL_ERRATUM_A006379
732 select SYS_FSL_ERRATUM_A006593
733 select SYS_FSL_ERRATUM_A007186
734 select SYS_FSL_ERRATUM_A007212
Tony O'Brien09bfd962016-12-02 09:22:34 +1300735 select SYS_FSL_ERRATUM_A007815
Darwin Dingel06ad9702016-10-25 09:48:01 +1300736 select SYS_FSL_ERRATUM_A007907
Jaiprakash Singh164a5af2020-06-02 12:44:02 +0530737 select SYS_FSL_ERRATUM_A008109
York Sun63659ff2016-12-28 08:43:43 -0800738 select SYS_FSL_ERRATUM_A009942
York Sunc01e4a12016-12-28 08:43:42 -0800739 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800740 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800741 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800742 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800743 select SYS_FSL_QORIQ_CHASSIS2
York Sun90b80382016-12-28 08:43:31 -0800744 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800745 select SYS_FSL_SEC_COMPAT_4
York Sun48512782016-12-28 08:43:50 -0800746 select SYS_PPC64
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530747 select FSL_IFC
Peng Maa2d4cb22019-12-23 09:28:12 +0000748 imply CMD_SATA
Tom Rini8f1a80e2017-07-28 21:31:42 -0400749 imply CMD_NAND
Christophe Leroyfa379222017-08-04 16:34:40 -0600750 imply CMD_REGINFO
Peng Maa2d4cb22019-12-23 09:28:12 +0000751 imply FSL_SATA
Tom Rinid7d40f62021-08-17 17:59:41 -0400752 imply ID_EEPROM
York Sun0f3d80e2016-11-21 12:54:19 -0800753
York Sun26bc57d2016-11-21 13:35:41 -0800754config ARCH_T4240
755 bool
York Sunf8dee362016-12-28 08:43:27 -0800756 select E500MC
York Sun9ec10102016-12-28 08:43:48 -0800757 select E6500
York Sun05cb79a2016-12-02 10:44:34 -0800758 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400759 select SYS_CACHE_SHIFT_6
York Sun22120f12016-12-28 08:43:46 -0800760 select SYS_FSL_DDR_VER_47
York Sun63659ff2016-12-28 08:43:43 -0800761 select SYS_FSL_ERRATUM_A004468
762 select SYS_FSL_ERRATUM_A005871
763 select SYS_FSL_ERRATUM_A006261
764 select SYS_FSL_ERRATUM_A006379
765 select SYS_FSL_ERRATUM_A006593
766 select SYS_FSL_ERRATUM_A007186
767 select SYS_FSL_ERRATUM_A007798
Tony O'Brien09bfd962016-12-02 09:22:34 +1300768 select SYS_FSL_ERRATUM_A007815
Darwin Dingel06ad9702016-10-25 09:48:01 +1300769 select SYS_FSL_ERRATUM_A007907
Jaiprakash Singh164a5af2020-06-02 12:44:02 +0530770 select SYS_FSL_ERRATUM_A008109
York Sun63659ff2016-12-28 08:43:43 -0800771 select SYS_FSL_ERRATUM_A009942
York Sund26e34c2016-12-28 08:43:40 -0800772 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800773 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800774 select SYS_FSL_QORIQ_CHASSIS2
York Sun90b80382016-12-28 08:43:31 -0800775 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800776 select SYS_FSL_SEC_COMPAT_4
York Sun48512782016-12-28 08:43:50 -0800777 select SYS_PPC64
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530778 select FSL_IFC
Simon Glass3bf926c2017-06-14 21:28:24 -0600779 imply CMD_SATA
Tom Rini8f1a80e2017-07-28 21:31:42 -0400780 imply CMD_NAND
Christophe Leroyfa379222017-08-04 16:34:40 -0600781 imply CMD_REGINFO
Tuomas Tynkkynen9920d152017-12-08 15:36:17 +0200782 imply FSL_SATA
York Sun05cb79a2016-12-02 10:44:34 -0800783
Jagdish Gediya96699f02018-09-03 21:35:10 +0530784config MPC85XX_HAVE_RESET_VECTOR
785 bool "Indicate reset vector at CONFIG_RESET_VECTOR_ADDRESS - 0xffc"
786 depends on MPC85xx
787
Tom Rinia3041d92022-02-23 12:28:15 -0500788config BTB
789 bool "toggle branch predition"
790
York Sunf8dee362016-12-28 08:43:27 -0800791config BOOKE
792 bool
793 default y
794
795config E500
796 bool
797 default y
798 help
799 Enable PowerPC E500 cores, including e500v1, e500v2, e500mc
800
801config E500MC
802 bool
Tom Rinia3041d92022-02-23 12:28:15 -0500803 select BTB
Simon Glass6500ec72017-08-04 16:34:34 -0600804 imply CMD_PCI
York Sunf8dee362016-12-28 08:43:27 -0800805 help
806 Enble PowerPC E500MC core
807
York Sun9ec10102016-12-28 08:43:48 -0800808config E6500
809 bool
Tom Rinia3041d92022-02-23 12:28:15 -0500810 select BTB
York Sun9ec10102016-12-28 08:43:48 -0800811 help
812 Enable PowerPC E6500 core
813
York Sun05cb79a2016-12-02 10:44:34 -0800814config FSL_LAW
815 bool
816 help
817 Use Freescale common code for Local Access Window
York Sun26bc57d2016-11-21 13:35:41 -0800818
Udit Agarwalbef18452019-11-07 16:11:39 +0000819config NXP_ESBC
820 bool "NXP_ESBC"
York Sunc6e6bda2016-12-02 09:33:14 -0800821 help
822 Enable Freescale Secure Boot feature. Normally selected
823 by defconfig. If unsure, do not change.
824
York Sun3f82b562016-11-23 12:30:40 -0800825config MAX_CPUS
826 int "Maximum number of CPUs permitted for MPC85xx"
827 default 12 if ARCH_T4240
Tom Riniec6b37c2021-05-23 10:58:05 -0400828 default 8 if ARCH_P4080
York Sun3f82b562016-11-23 12:30:40 -0800829 default 4 if ARCH_B4860 || \
830 ARCH_P2041 || \
831 ARCH_P3041 || \
832 ARCH_P5040 || \
833 ARCH_T1040 || \
834 ARCH_T1042 || \
Tom Rini2322b952021-02-20 20:06:21 -0500835 ARCH_T2080
York Sun3f82b562016-11-23 12:30:40 -0800836 default 2 if ARCH_B4420 || \
837 ARCH_BSC9132 || \
York Sun3f82b562016-11-23 12:30:40 -0800838 ARCH_P1020 || \
839 ARCH_P1021 || \
York Sun3f82b562016-11-23 12:30:40 -0800840 ARCH_P1023 || \
841 ARCH_P1024 || \
842 ARCH_P1025 || \
843 ARCH_P2020 || \
York Sun3f82b562016-11-23 12:30:40 -0800844 ARCH_T1024
845 default 1
846 help
847 Set this number to the maximum number of possible CPUs in the SoC.
848 SoCs may have multiple clusters with each cluster may have multiple
849 ports. If some ports are reserved but higher ports are used for
850 cores, count the reserved ports. This will allocate enough memory
851 in spin table to properly handle all cores.
852
York Sun830fc1b2016-12-01 13:26:06 -0800853config SYS_CCSRBAR_DEFAULT
854 hex "Default CCSRBAR address"
855 default 0xff700000 if ARCH_BSC9131 || \
856 ARCH_BSC9132 || \
857 ARCH_C29X || \
858 ARCH_MPC8536 || \
859 ARCH_MPC8540 || \
York Sun830fc1b2016-12-01 13:26:06 -0800860 ARCH_MPC8544 || \
861 ARCH_MPC8548 || \
York Sun830fc1b2016-12-01 13:26:06 -0800862 ARCH_MPC8560 || \
York Sun830fc1b2016-12-01 13:26:06 -0800863 ARCH_P1010 || \
864 ARCH_P1011 || \
865 ARCH_P1020 || \
866 ARCH_P1021 || \
York Sun830fc1b2016-12-01 13:26:06 -0800867 ARCH_P1024 || \
868 ARCH_P1025 || \
869 ARCH_P2020
870 default 0xff600000 if ARCH_P1023
871 default 0xfe000000 if ARCH_B4420 || \
872 ARCH_B4860 || \
873 ARCH_P2041 || \
874 ARCH_P3041 || \
875 ARCH_P4080 || \
York Sun830fc1b2016-12-01 13:26:06 -0800876 ARCH_P5040 || \
York Sun830fc1b2016-12-01 13:26:06 -0800877 ARCH_T1024 || \
878 ARCH_T1040 || \
879 ARCH_T1042 || \
880 ARCH_T2080 || \
York Sun830fc1b2016-12-01 13:26:06 -0800881 ARCH_T4240
882 default 0xe0000000 if ARCH_QEMU_E500
883 help
884 Default value of CCSRBAR comes from power-on-reset. It
885 is fixed on each SoC. Some SoCs can have different value
886 if changed by pre-boot regime. The value here must match
887 the current value in SoC. If not sure, do not change.
888
Tom Rinifdd0da42022-03-11 09:11:59 -0500889config A003399_NOR_WORKAROUND
890 bool
891 help
892 Enables a workaround for IFC erratum A003399. It is only required
893 during NOR boot.
894
Tom Rini5f7c8862022-03-11 09:12:00 -0500895config A008044_WORKAROUND
896 bool
897 help
898 Enables a workaround for T1040/T1042 erratum A008044. It is only
899 required during NAND boot and valid for Rev 1.0 SoC revision
900
York Sun63659ff2016-12-28 08:43:43 -0800901config SYS_FSL_ERRATUM_A004468
902 bool
903
904config SYS_FSL_ERRATUM_A004477
905 bool
906
907config SYS_FSL_ERRATUM_A004508
908 bool
909
910config SYS_FSL_ERRATUM_A004580
911 bool
912
913config SYS_FSL_ERRATUM_A004699
914 bool
915
916config SYS_FSL_ERRATUM_A004849
917 bool
918
919config SYS_FSL_ERRATUM_A004510
920 bool
921
922config SYS_FSL_ERRATUM_A004510_SVR_REV
923 hex
924 depends on SYS_FSL_ERRATUM_A004510
925 default 0x20 if ARCH_P4080
926 default 0x10
927
928config SYS_FSL_ERRATUM_A004510_SVR_REV2
929 hex
930 depends on (SYS_FSL_ERRATUM_A004510 && (ARCH_P2041 || ARCH_P3041))
931 default 0x11
932
933config SYS_FSL_ERRATUM_A005125
934 bool
935
936config SYS_FSL_ERRATUM_A005434
937 bool
938
939config SYS_FSL_ERRATUM_A005812
940 bool
941
942config SYS_FSL_ERRATUM_A005871
943 bool
944
Chris Packham4eaf7f52018-10-04 20:03:53 +1300945config SYS_FSL_ERRATUM_A005275
946 bool
947
York Sun63659ff2016-12-28 08:43:43 -0800948config SYS_FSL_ERRATUM_A006261
949 bool
950
951config SYS_FSL_ERRATUM_A006379
952 bool
953
954config SYS_FSL_ERRATUM_A006384
955 bool
956
957config SYS_FSL_ERRATUM_A006475
958 bool
959
960config SYS_FSL_ERRATUM_A006593
961 bool
962
963config SYS_FSL_ERRATUM_A007075
964 bool
965
966config SYS_FSL_ERRATUM_A007186
967 bool
968
969config SYS_FSL_ERRATUM_A007212
970 bool
971
Tony O'Brien09bfd962016-12-02 09:22:34 +1300972config SYS_FSL_ERRATUM_A007815
973 bool
974
York Sun63659ff2016-12-28 08:43:43 -0800975config SYS_FSL_ERRATUM_A007798
976 bool
977
Darwin Dingel06ad9702016-10-25 09:48:01 +1300978config SYS_FSL_ERRATUM_A007907
979 bool
980
York Sun63659ff2016-12-28 08:43:43 -0800981config SYS_FSL_ERRATUM_A008044
982 bool
Tom Rini5f7c8862022-03-11 09:12:00 -0500983 select A008044_WORKAROUND if MTD_RAW_NAND
York Sun63659ff2016-12-28 08:43:43 -0800984
985config SYS_FSL_ERRATUM_CPC_A002
986 bool
987
988config SYS_FSL_ERRATUM_CPC_A003
989 bool
990
991config SYS_FSL_ERRATUM_CPU_A003999
992 bool
993
994config SYS_FSL_ERRATUM_ELBC_A001
995 bool
996
997config SYS_FSL_ERRATUM_I2C_A004447
998 bool
999
1000config SYS_FSL_A004447_SVR_REV
1001 hex
1002 depends on SYS_FSL_ERRATUM_I2C_A004447
1003 default 0x00 if ARCH_MPC8548
1004 default 0x10 if ARCH_P1010
1005 default 0x11 if ARCH_P1023 || ARCH_P2041 || ARCH_BSC9132
Tom Rinia99dab12021-02-20 20:06:30 -05001006 default 0x20 if ARCH_P3041 || ARCH_P4080
York Sun63659ff2016-12-28 08:43:43 -08001007
1008config SYS_FSL_ERRATUM_IFC_A002769
1009 bool
1010
1011config SYS_FSL_ERRATUM_IFC_A003399
1012 bool
1013
1014config SYS_FSL_ERRATUM_NMG_CPU_A011
1015 bool
1016
1017config SYS_FSL_ERRATUM_NMG_ETSEC129
1018 bool
1019
1020config SYS_FSL_ERRATUM_NMG_LBC103
1021 bool
1022
1023config SYS_FSL_ERRATUM_P1010_A003549
1024 bool
1025
1026config SYS_FSL_ERRATUM_SATA_A001
1027 bool
1028
1029config SYS_FSL_ERRATUM_SEC_A003571
1030 bool
1031
1032config SYS_FSL_ERRATUM_SRIO_A004034
1033 bool
1034
1035config SYS_FSL_ERRATUM_USB14
1036 bool
1037
Tom Rinif76750d2021-12-11 14:55:51 -05001038config SYS_HAS_SERDES
1039 bool
1040
York Sun63659ff2016-12-28 08:43:43 -08001041config SYS_P4080_ERRATUM_CPU22
1042 bool
1043
1044config SYS_P4080_ERRATUM_PCIE_A003
1045 bool
1046
1047config SYS_P4080_ERRATUM_SERDES8
1048 bool
1049
1050config SYS_P4080_ERRATUM_SERDES9
1051 bool
1052
1053config SYS_P4080_ERRATUM_SERDES_A001
1054 bool
1055
1056config SYS_P4080_ERRATUM_SERDES_A005
1057 bool
1058
Hou Zhiqiangc16dfd02019-05-22 22:46:03 +08001059config FSL_PCIE_DISABLE_ASPM
1060 bool
1061
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +08001062config FSL_PCIE_RESET
1063 bool
1064
York Sun73717742016-12-28 08:43:49 -08001065config SYS_FSL_QORIQ_CHASSIS1
1066 bool
1067
1068config SYS_FSL_QORIQ_CHASSIS2
1069 bool
1070
York Sun8303acb2016-12-01 14:05:02 -08001071config SYS_FSL_NUM_LAWS
1072 int "Number of local access windows"
1073 depends on FSL_LAW
1074 default 32 if ARCH_B4420 || \
1075 ARCH_B4860 || \
1076 ARCH_P2041 || \
1077 ARCH_P3041 || \
1078 ARCH_P4080 || \
York Sun8303acb2016-12-01 14:05:02 -08001079 ARCH_P5040 || \
1080 ARCH_T2080 || \
York Sun8303acb2016-12-01 14:05:02 -08001081 ARCH_T4240
Tom Rini6c3d9932021-05-14 21:34:22 -04001082 default 16 if ARCH_T1024 || \
York Sun8303acb2016-12-01 14:05:02 -08001083 ARCH_T1040 || \
1084 ARCH_T1042
1085 default 12 if ARCH_BSC9131 || \
1086 ARCH_BSC9132 || \
1087 ARCH_C29X || \
1088 ARCH_MPC8536 || \
York Sun8303acb2016-12-01 14:05:02 -08001089 ARCH_P1010 || \
1090 ARCH_P1011 || \
1091 ARCH_P1020 || \
1092 ARCH_P1021 || \
York Sun8303acb2016-12-01 14:05:02 -08001093 ARCH_P1023 || \
1094 ARCH_P1024 || \
1095 ARCH_P1025 || \
1096 ARCH_P2020
1097 default 10 if ARCH_MPC8544 || \
Tom Rini80696892021-05-14 21:34:23 -04001098 ARCH_MPC8548
York Sun8303acb2016-12-01 14:05:02 -08001099 default 8 if ARCH_MPC8540 || \
York Sun8303acb2016-12-01 14:05:02 -08001100 ARCH_MPC8560
1101 help
1102 Number of local access windows. This is fixed per SoC.
1103 If not sure, do not change.
1104
York Sun9ec10102016-12-28 08:43:48 -08001105config SYS_FSL_THREADS_PER_CORE
1106 int
1107 default 2 if E6500
1108 default 1
1109
York Sun26e79b62016-12-28 08:43:28 -08001110config SYS_NUM_TLBCAMS
1111 int "Number of TLB CAM entries"
1112 default 64 if E500MC
1113 default 16
1114 help
1115 Number of TLB CAM entries for Book-E chips. 64 for E500MC,
1116 16 for other E500 SoCs.
1117
Tom Rinib40d2b22022-03-18 08:38:32 -04001118config BACKSIDE_L2_CACHE
1119 bool
1120
York Sun48512782016-12-28 08:43:50 -08001121config SYS_PPC64
1122 bool
1123
York Sun53c95382016-12-28 08:43:29 -08001124config SYS_PPC_E500_USE_DEBUG_TLB
1125 bool
1126
Prabhakar Kushwaha06878972017-02-02 15:01:48 +05301127config FSL_ELBC
1128 bool
1129
York Sun53c95382016-12-28 08:43:29 -08001130config SYS_PPC_E500_DEBUG_TLB
1131 int "Temporary TLB entry for external debugger"
1132 depends on SYS_PPC_E500_USE_DEBUG_TLB
1133 default 0 if ARCH_MPC8544 || ARCH_MPC8548
1134 default 1 if ARCH_MPC8536
Tom Rinied7fe2b2021-05-14 21:34:25 -04001135 default 2 if ARCH_P1011 || \
York Sun53c95382016-12-28 08:43:29 -08001136 ARCH_P1020 || \
1137 ARCH_P1021 || \
York Sun53c95382016-12-28 08:43:29 -08001138 ARCH_P1024 || \
1139 ARCH_P1025 || \
1140 ARCH_P2020
1141 default 3 if ARCH_P1010 || \
1142 ARCH_BSC9132 || \
1143 ARCH_C29X
1144 help
1145 Select a temporary TLB entry to be used during boot to work
1146 around limitations in e500v1 and e500v2 external debugger
1147 support. This reduces the portions of the boot code where
1148 breakpoints and single stepping do not work. The value of this
1149 symbol should be set to the TLB1 entry to be used for this
1150 purpose. If unsure, do not change.
1151
Prabhakar Kushwaha1c407072017-02-02 15:01:26 +05301152config SYS_FSL_IFC_CLK_DIV
1153 int "Divider of platform clock"
1154 depends on FSL_IFC
1155 default 2 if ARCH_B4420 || \
1156 ARCH_B4860 || \
1157 ARCH_T1024 || \
Prabhakar Kushwaha1c407072017-02-02 15:01:26 +05301158 ARCH_T1040 || \
1159 ARCH_T1042 || \
Prabhakar Kushwaha1c407072017-02-02 15:01:26 +05301160 ARCH_T4240
1161 default 1
1162 help
1163 Defines divider of platform clock(clock input to
1164 IFC controller).
1165
Prabhakar Kushwahaadd63f92017-02-02 15:02:00 +05301166config SYS_FSL_LBC_CLK_DIV
1167 int "Divider of platform clock"
1168 depends on FSL_ELBC || ARCH_MPC8540 || \
Tom Rinia8571332021-05-14 21:34:20 -04001169 ARCH_MPC8548 || \
Tom Rini80696892021-05-14 21:34:23 -04001170 ARCH_MPC8560
Prabhakar Kushwahaadd63f92017-02-02 15:02:00 +05301171
1172 default 2 if ARCH_P2041 || \
1173 ARCH_P3041 || \
1174 ARCH_P4080 || \
Prabhakar Kushwahaadd63f92017-02-02 15:02:00 +05301175 ARCH_P5040
1176 default 1
1177
1178 help
1179 Defines divider of platform clock(clock input to
1180 eLBC controller).
1181
Rajesh Bhagatc8c01702021-02-15 09:46:14 +01001182config FSL_VIA
1183 bool
1184
Bin Meng1d636a02021-02-25 17:22:58 +08001185source "board/emulation/qemu-ppce500/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001186source "board/freescale/corenet_ds/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001187source "board/freescale/mpc8548cds/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001188source "board/freescale/p1010rdb/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001189source "board/freescale/p1_p2_rdb_pc/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001190source "board/freescale/p2041rdb/Kconfig"
Shengzhou Liu48c6f322014-11-24 17:11:56 +08001191source "board/freescale/t102xrdb/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001192source "board/freescale/t104xrdb/Kconfig"
1193source "board/freescale/t208xqds/Kconfig"
1194source "board/freescale/t208xrdb/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001195source "board/freescale/t4rdb/Kconfig"
Pascal Linderc0fed3a2019-06-18 13:27:47 +02001196source "board/keymile/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001197source "board/socrates/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001198
1199endmenu