blob: f4f5ebfe0c40a50a8b933d34eb71ea2ff32a0493 [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
Tom Rini1e7750f2022-06-16 14:04:34 -0400190 select HETROGENOUS_CLUSTERS
York Sun22120f12016-12-28 08:43:46 -0800191 select SYS_FSL_DDR_VER_47
York Sun63659ff2016-12-28 08:43:43 -0800192 select SYS_FSL_ERRATUM_A004477
193 select SYS_FSL_ERRATUM_A005871
194 select SYS_FSL_ERRATUM_A006379
195 select SYS_FSL_ERRATUM_A006384
196 select SYS_FSL_ERRATUM_A006475
197 select SYS_FSL_ERRATUM_A006593
198 select SYS_FSL_ERRATUM_A007075
Tom Rini601483f2022-06-16 14:04:40 -0400199 select SYS_FSL_ERRATUM_A007186 if CHAIN_OF_TRUST
York Sun63659ff2016-12-28 08:43:43 -0800200 select SYS_FSL_ERRATUM_A007212
201 select SYS_FSL_ERRATUM_A009942
York Sund26e34c2016-12-28 08:43:40 -0800202 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800203 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800204 select SYS_FSL_QORIQ_CHASSIS2
York Sun90b80382016-12-28 08:43:31 -0800205 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800206 select SYS_FSL_SEC_COMPAT_4
York Sun48512782016-12-28 08:43:50 -0800207 select SYS_PPC64
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530208 select FSL_IFC
Simon Glassa1dc9802017-05-17 03:25:10 -0600209 imply CMD_EEPROM
Tom Rini8f1a80e2017-07-28 21:31:42 -0400210 imply CMD_NAND
Christophe Leroyfa379222017-08-04 16:34:40 -0600211 imply CMD_REGINFO
York Sunb41f1922016-11-18 11:56:57 -0800212
York Sun3006ebc2016-11-18 11:44:43 -0800213config ARCH_B4860
214 bool
York Sunf8dee362016-12-28 08:43:27 -0800215 select E500MC
York Sun9ec10102016-12-28 08:43:48 -0800216 select E6500
York Sun05cb79a2016-12-02 10:44:34 -0800217 select FSL_LAW
Tom Rini1e7750f2022-06-16 14:04:34 -0400218 select HETROGENOUS_CLUSTERS
York Sun22120f12016-12-28 08:43:46 -0800219 select SYS_FSL_DDR_VER_47
York Sun63659ff2016-12-28 08:43:43 -0800220 select SYS_FSL_ERRATUM_A004477
221 select SYS_FSL_ERRATUM_A005871
222 select SYS_FSL_ERRATUM_A006379
223 select SYS_FSL_ERRATUM_A006384
224 select SYS_FSL_ERRATUM_A006475
225 select SYS_FSL_ERRATUM_A006593
226 select SYS_FSL_ERRATUM_A007075
Tom Rini601483f2022-06-16 14:04:40 -0400227 select SYS_FSL_ERRATUM_A007186 if CHAIN_OF_TRUST
York Sun63659ff2016-12-28 08:43:43 -0800228 select SYS_FSL_ERRATUM_A007212
Darwin Dingel06ad9702016-10-25 09:48:01 +1300229 select SYS_FSL_ERRATUM_A007907
York Sun63659ff2016-12-28 08:43:43 -0800230 select SYS_FSL_ERRATUM_A009942
York Sund26e34c2016-12-28 08:43:40 -0800231 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800232 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800233 select SYS_FSL_QORIQ_CHASSIS2
York Sun90b80382016-12-28 08:43:31 -0800234 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800235 select SYS_FSL_SEC_COMPAT_4
York Sun48512782016-12-28 08:43:50 -0800236 select SYS_PPC64
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530237 select FSL_IFC
Simon Glassa1dc9802017-05-17 03:25:10 -0600238 imply CMD_EEPROM
Tom Rini8f1a80e2017-07-28 21:31:42 -0400239 imply CMD_NAND
Christophe Leroyfa379222017-08-04 16:34:40 -0600240 imply CMD_REGINFO
York Sun3006ebc2016-11-18 11:44:43 -0800241
York Sun115d60c2016-11-15 14:09:50 -0800242config ARCH_BSC9131
243 bool
York Sun05cb79a2016-12-02 10:44:34 -0800244 select FSL_LAW
York Sun22120f12016-12-28 08:43:46 -0800245 select SYS_FSL_DDR_VER_44
York Sun63659ff2016-12-28 08:43:43 -0800246 select SYS_FSL_ERRATUM_A004477
247 select SYS_FSL_ERRATUM_A005125
York Sunc01e4a12016-12-28 08:43:42 -0800248 select SYS_FSL_ERRATUM_ESDHC111
York Sund26e34c2016-12-28 08:43:40 -0800249 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800250 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800251 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800252 select SYS_FSL_SEC_COMPAT_4
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530253 select FSL_IFC
Simon Glassa1dc9802017-05-17 03:25:10 -0600254 imply CMD_EEPROM
Tom Rini8f1a80e2017-07-28 21:31:42 -0400255 imply CMD_NAND
Christophe Leroyfa379222017-08-04 16:34:40 -0600256 imply CMD_REGINFO
York Sun115d60c2016-11-15 14:09:50 -0800257
258config ARCH_BSC9132
259 bool
York Sun05cb79a2016-12-02 10:44:34 -0800260 select FSL_LAW
York Sun22120f12016-12-28 08:43:46 -0800261 select SYS_FSL_DDR_VER_46
York Sun63659ff2016-12-28 08:43:43 -0800262 select SYS_FSL_ERRATUM_A004477
263 select SYS_FSL_ERRATUM_A005125
264 select SYS_FSL_ERRATUM_A005434
York Sunc01e4a12016-12-28 08:43:42 -0800265 select SYS_FSL_ERRATUM_ESDHC111
York Sun63659ff2016-12-28 08:43:43 -0800266 select SYS_FSL_ERRATUM_I2C_A004447
267 select SYS_FSL_ERRATUM_IFC_A002769
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800268 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800269 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800270 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800271 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800272 select SYS_FSL_SEC_COMPAT_4
York Sun53c95382016-12-28 08:43:29 -0800273 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530274 select FSL_IFC
Simon Glassa1dc9802017-05-17 03:25:10 -0600275 imply CMD_EEPROM
Tom Rinid56b4b12017-07-22 18:36:16 -0400276 imply CMD_MTDPARTS
Tom Rini8f1a80e2017-07-28 21:31:42 -0400277 imply CMD_NAND
Simon Glass6500ec72017-08-04 16:34:34 -0600278 imply CMD_PCI
Christophe Leroyfa379222017-08-04 16:34:40 -0600279 imply CMD_REGINFO
York Sun115d60c2016-11-15 14:09:50 -0800280
York Sun4fd64742016-11-15 18:44:22 -0800281config ARCH_C29X
282 bool
York Sun05cb79a2016-12-02 10:44:34 -0800283 select FSL_LAW
York Sun22120f12016-12-28 08:43:46 -0800284 select SYS_FSL_DDR_VER_46
York Sun63659ff2016-12-28 08:43:43 -0800285 select SYS_FSL_ERRATUM_A005125
York Sunc01e4a12016-12-28 08:43:42 -0800286 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800287 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800288 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800289 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800290 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800291 select SYS_FSL_SEC_COMPAT_6
York Sun53c95382016-12-28 08:43:29 -0800292 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530293 select FSL_IFC
Tom Rini8f1a80e2017-07-28 21:31:42 -0400294 imply CMD_NAND
Simon Glass6500ec72017-08-04 16:34:34 -0600295 imply CMD_PCI
Christophe Leroyfa379222017-08-04 16:34:40 -0600296 imply CMD_REGINFO
York Sun4fd64742016-11-15 18:44:22 -0800297
York Sun24ad75a2016-11-16 11:06:47 -0800298config ARCH_MPC8536
299 bool
York Sun05cb79a2016-12-02 10:44:34 -0800300 select FSL_LAW
York Sun63659ff2016-12-28 08:43:43 -0800301 select SYS_FSL_ERRATUM_A004508
302 select SYS_FSL_ERRATUM_A005125
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800303 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800304 select SYS_FSL_HAS_DDR2
305 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800306 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800307 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800308 select SYS_FSL_SEC_COMPAT_2
York Sun53c95382016-12-28 08:43:29 -0800309 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530310 select FSL_ELBC
Tom Rini8f1a80e2017-07-28 21:31:42 -0400311 imply CMD_NAND
Simon Glass3bf926c2017-06-14 21:28:24 -0600312 imply CMD_SATA
Christophe Leroyfa379222017-08-04 16:34:40 -0600313 imply CMD_REGINFO
York Sun24ad75a2016-11-16 11:06:47 -0800314
York Sun7f825212016-11-16 11:13:06 -0800315config ARCH_MPC8540
316 bool
York Sun05cb79a2016-12-02 10:44:34 -0800317 select FSL_LAW
York Sund26e34c2016-12-28 08:43:40 -0800318 select SYS_FSL_HAS_DDR1
York Sun7f825212016-11-16 11:13:06 -0800319
York Sun25cb74b2016-11-15 13:57:15 -0800320config ARCH_MPC8544
321 bool
Tom Rinia3041d92022-02-23 12:28:15 -0500322 select BTB
York Sun05cb79a2016-12-02 10:44:34 -0800323 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400324 select SYS_CACHE_SHIFT_5
York Sun63659ff2016-12-28 08:43:43 -0800325 select SYS_FSL_ERRATUM_A005125
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800326 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800327 select SYS_FSL_HAS_DDR2
York Sun2c2e2c92016-12-28 08:43:30 -0800328 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800329 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800330 select SYS_FSL_SEC_COMPAT_2
York Sun53c95382016-12-28 08:43:29 -0800331 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530332 select FSL_ELBC
York Sun25cb74b2016-11-15 13:57:15 -0800333
York Sun281ed4c2016-11-15 13:52:34 -0800334config ARCH_MPC8548
335 bool
Tom Rinia3041d92022-02-23 12:28:15 -0500336 select BTB
York Sun05cb79a2016-12-02 10:44:34 -0800337 select FSL_LAW
York Sun63659ff2016-12-28 08:43:43 -0800338 select SYS_FSL_ERRATUM_A005125
339 select SYS_FSL_ERRATUM_NMG_DDR120
340 select SYS_FSL_ERRATUM_NMG_LBC103
341 select SYS_FSL_ERRATUM_NMG_ETSEC129
342 select SYS_FSL_ERRATUM_I2C_A004447
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800343 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800344 select SYS_FSL_HAS_DDR2
345 select SYS_FSL_HAS_DDR1
York Sun2c2e2c92016-12-28 08:43:30 -0800346 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800347 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800348 select SYS_FSL_SEC_COMPAT_2
York Sun53c95382016-12-28 08:43:29 -0800349 select SYS_PPC_E500_USE_DEBUG_TLB
Christophe Leroyfa379222017-08-04 16:34:40 -0600350 imply CMD_REGINFO
York Sun281ed4c2016-11-15 13:52:34 -0800351
York Sun99d0a312016-11-16 11:26:45 -0800352config ARCH_MPC8560
353 bool
York Sun05cb79a2016-12-02 10:44:34 -0800354 select FSL_LAW
York Sund26e34c2016-12-28 08:43:40 -0800355 select SYS_FSL_HAS_DDR1
York Sun99d0a312016-11-16 11:26:45 -0800356
York Sun7d5f9f82016-11-16 13:08:52 -0800357config ARCH_P1010
358 bool
Tom Rinifdd0da42022-03-11 09:11:59 -0500359 select A003399_NOR_WORKAROUND if SYS_FSL_ERRATUM_IFC_A003399 && !SPL
Tom Rinia3041d92022-02-23 12:28:15 -0500360 select BTB
York Sun05cb79a2016-12-02 10:44:34 -0800361 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400362 select SYS_CACHE_SHIFT_5
Tom Rinif76750d2021-12-11 14:55:51 -0500363 select SYS_HAS_SERDES
York Sun63659ff2016-12-28 08:43:43 -0800364 select SYS_FSL_ERRATUM_A004477
365 select SYS_FSL_ERRATUM_A004508
366 select SYS_FSL_ERRATUM_A005125
Chris Packham4eaf7f52018-10-04 20:03:53 +1300367 select SYS_FSL_ERRATUM_A005275
York Sun63659ff2016-12-28 08:43:43 -0800368 select SYS_FSL_ERRATUM_A006261
369 select SYS_FSL_ERRATUM_A007075
York Sunc01e4a12016-12-28 08:43:42 -0800370 select SYS_FSL_ERRATUM_ESDHC111
York Sun63659ff2016-12-28 08:43:43 -0800371 select SYS_FSL_ERRATUM_I2C_A004447
372 select SYS_FSL_ERRATUM_IFC_A002769
373 select SYS_FSL_ERRATUM_P1010_A003549
374 select SYS_FSL_ERRATUM_SEC_A003571
375 select SYS_FSL_ERRATUM_IFC_A003399
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800376 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800377 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800378 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800379 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800380 select SYS_FSL_SEC_COMPAT_4
York Sun53c95382016-12-28 08:43:29 -0800381 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530382 select FSL_IFC
Simon Glassa1dc9802017-05-17 03:25:10 -0600383 imply CMD_EEPROM
Tom Rinid56b4b12017-07-22 18:36:16 -0400384 imply CMD_MTDPARTS
Tom Rini8f1a80e2017-07-28 21:31:42 -0400385 imply CMD_NAND
Simon Glass3bf926c2017-06-14 21:28:24 -0600386 imply CMD_SATA
Simon Glass6500ec72017-08-04 16:34:34 -0600387 imply CMD_PCI
Christophe Leroyfa379222017-08-04 16:34:40 -0600388 imply CMD_REGINFO
Tuomas Tynkkynen9920d152017-12-08 15:36:17 +0200389 imply FSL_SATA
Simon Glassd6b318d2021-12-18 11:27:50 -0700390 imply TIMESTAMP
York Sun7d5f9f82016-11-16 13:08:52 -0800391
York Sun1cdd96f2016-11-16 15:54:15 -0800392config ARCH_P1011
393 bool
York Sun05cb79a2016-12-02 10:44:34 -0800394 select FSL_LAW
York Sun63659ff2016-12-28 08:43:43 -0800395 select SYS_FSL_ERRATUM_A004508
396 select SYS_FSL_ERRATUM_A005125
397 select SYS_FSL_ERRATUM_ELBC_A001
York Sunc01e4a12016-12-28 08:43:42 -0800398 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiangc16dfd02019-05-22 22:46:03 +0800399 select FSL_PCIE_DISABLE_ASPM
York Sund26e34c2016-12-28 08:43:40 -0800400 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800401 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800402 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800403 select SYS_FSL_SEC_COMPAT_2
York Sun53c95382016-12-28 08:43:29 -0800404 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530405 select FSL_ELBC
York Sun1cdd96f2016-11-16 15:54:15 -0800406
York Sun484fff62016-11-18 10:02:14 -0800407config ARCH_P1020
408 bool
Tom Rinia3041d92022-02-23 12:28:15 -0500409 select BTB
York Sun05cb79a2016-12-02 10:44:34 -0800410 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400411 select SYS_CACHE_SHIFT_5
York Sun63659ff2016-12-28 08:43:43 -0800412 select SYS_FSL_ERRATUM_A004508
413 select SYS_FSL_ERRATUM_A005125
414 select SYS_FSL_ERRATUM_ELBC_A001
York Sunc01e4a12016-12-28 08:43:42 -0800415 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiangc16dfd02019-05-22 22:46:03 +0800416 select FSL_PCIE_DISABLE_ASPM
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800417 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800418 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800419 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800420 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800421 select SYS_FSL_SEC_COMPAT_2
York Sun53c95382016-12-28 08:43:29 -0800422 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530423 select FSL_ELBC
Tom Rini8f1a80e2017-07-28 21:31:42 -0400424 imply CMD_NAND
Simon Glass3bf926c2017-06-14 21:28:24 -0600425 imply CMD_SATA
Simon Glass6500ec72017-08-04 16:34:34 -0600426 imply CMD_PCI
Christophe Leroyfa379222017-08-04 16:34:40 -0600427 imply CMD_REGINFO
Tuomas Tynkkynenc88ecf42017-12-08 15:36:14 +0200428 imply SATA_SIL
York Sun484fff62016-11-18 10:02:14 -0800429
York Suna9907992016-11-18 10:59:02 -0800430config ARCH_P1021
431 bool
York Sun05cb79a2016-12-02 10:44:34 -0800432 select FSL_LAW
York Sun63659ff2016-12-28 08:43:43 -0800433 select SYS_FSL_ERRATUM_A004508
434 select SYS_FSL_ERRATUM_A005125
435 select SYS_FSL_ERRATUM_ELBC_A001
York Sunc01e4a12016-12-28 08:43:42 -0800436 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiangc16dfd02019-05-22 22:46:03 +0800437 select FSL_PCIE_DISABLE_ASPM
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800438 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800439 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800440 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800441 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800442 select SYS_FSL_SEC_COMPAT_2
York Sun53c95382016-12-28 08:43:29 -0800443 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530444 select FSL_ELBC
Christophe Leroyfa379222017-08-04 16:34:40 -0600445 imply CMD_REGINFO
Tom Rini8f1a80e2017-07-28 21:31:42 -0400446 imply CMD_NAND
Simon Glass3bf926c2017-06-14 21:28:24 -0600447 imply CMD_SATA
Christophe Leroyfa379222017-08-04 16:34:40 -0600448 imply CMD_REGINFO
Tuomas Tynkkynenc88ecf42017-12-08 15:36:14 +0200449 imply SATA_SIL
York Suna9907992016-11-18 10:59:02 -0800450
York Sun9bb1d6b2016-11-16 15:45:31 -0800451config ARCH_P1023
452 bool
York Sun05cb79a2016-12-02 10:44:34 -0800453 select FSL_LAW
York Sun63659ff2016-12-28 08:43:43 -0800454 select SYS_FSL_ERRATUM_A004508
455 select SYS_FSL_ERRATUM_A005125
456 select SYS_FSL_ERRATUM_I2C_A004447
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800457 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800458 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800459 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800460 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800461 select SYS_FSL_SEC_COMPAT_4
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530462 select FSL_ELBC
York Sun9bb1d6b2016-11-16 15:45:31 -0800463
York Sun52b6f132016-11-18 11:00:57 -0800464config ARCH_P1024
465 bool
York Sun05cb79a2016-12-02 10:44:34 -0800466 select FSL_LAW
York Sun63659ff2016-12-28 08:43:43 -0800467 select SYS_FSL_ERRATUM_A004508
468 select SYS_FSL_ERRATUM_A005125
469 select SYS_FSL_ERRATUM_ELBC_A001
York Sunc01e4a12016-12-28 08:43:42 -0800470 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiangc16dfd02019-05-22 22:46:03 +0800471 select FSL_PCIE_DISABLE_ASPM
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800472 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800473 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800474 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800475 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800476 select SYS_FSL_SEC_COMPAT_2
York Sun53c95382016-12-28 08:43:29 -0800477 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530478 select FSL_ELBC
Simon Glassa1dc9802017-05-17 03:25:10 -0600479 imply CMD_EEPROM
Tom Rini8f1a80e2017-07-28 21:31:42 -0400480 imply CMD_NAND
Simon Glass3bf926c2017-06-14 21:28:24 -0600481 imply CMD_SATA
Simon Glass6500ec72017-08-04 16:34:34 -0600482 imply CMD_PCI
Christophe Leroyfa379222017-08-04 16:34:40 -0600483 imply CMD_REGINFO
Tuomas Tynkkynenc88ecf42017-12-08 15:36:14 +0200484 imply SATA_SIL
York Sun52b6f132016-11-18 11:00:57 -0800485
York Sun4167a672016-11-18 11:05:38 -0800486config ARCH_P1025
487 bool
York Sun05cb79a2016-12-02 10:44:34 -0800488 select FSL_LAW
York Sun63659ff2016-12-28 08:43:43 -0800489 select SYS_FSL_ERRATUM_A004508
490 select SYS_FSL_ERRATUM_A005125
491 select SYS_FSL_ERRATUM_ELBC_A001
York Sunc01e4a12016-12-28 08:43:42 -0800492 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiangc16dfd02019-05-22 22:46:03 +0800493 select FSL_PCIE_DISABLE_ASPM
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800494 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800495 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800496 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800497 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800498 select SYS_FSL_SEC_COMPAT_2
York Sun53c95382016-12-28 08:43:29 -0800499 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530500 select FSL_ELBC
Simon Glass3bf926c2017-06-14 21:28:24 -0600501 imply CMD_SATA
Christophe Leroyfa379222017-08-04 16:34:40 -0600502 imply CMD_REGINFO
York Sun4167a672016-11-18 11:05:38 -0800503
York Sun45936372016-11-18 11:08:43 -0800504config ARCH_P2020
505 bool
Tom Rinia3041d92022-02-23 12:28:15 -0500506 select BTB
York Sun05cb79a2016-12-02 10:44:34 -0800507 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400508 select SYS_CACHE_SHIFT_5
York Sun63659ff2016-12-28 08:43:43 -0800509 select SYS_FSL_ERRATUM_A004477
510 select SYS_FSL_ERRATUM_A004508
511 select SYS_FSL_ERRATUM_A005125
York Sunc01e4a12016-12-28 08:43:42 -0800512 select SYS_FSL_ERRATUM_ESDHC111
513 select SYS_FSL_ERRATUM_ESDHC_A001
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800514 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800515 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800516 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800517 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800518 select SYS_FSL_SEC_COMPAT_2
York Sun53c95382016-12-28 08:43:29 -0800519 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530520 select FSL_ELBC
Simon Glassa1dc9802017-05-17 03:25:10 -0600521 imply CMD_EEPROM
Tom Rini8f1a80e2017-07-28 21:31:42 -0400522 imply CMD_NAND
Christophe Leroyfa379222017-08-04 16:34:40 -0600523 imply CMD_REGINFO
Simon Glassd6b318d2021-12-18 11:27:50 -0700524 imply TIMESTAMP
York Sun45936372016-11-18 11:08:43 -0800525
York Sunce040c82016-11-18 11:15:21 -0800526config ARCH_P2041
527 bool
Tom Rinib40d2b22022-03-18 08:38:32 -0400528 select BACKSIDE_L2_CACHE
York Sunf8dee362016-12-28 08:43:27 -0800529 select E500MC
York Sun05cb79a2016-12-02 10:44:34 -0800530 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400531 select SYS_CACHE_SHIFT_6
York Sun63659ff2016-12-28 08:43:43 -0800532 select SYS_FSL_ERRATUM_A004510
533 select SYS_FSL_ERRATUM_A004849
Chris Packham4eaf7f52018-10-04 20:03:53 +1300534 select SYS_FSL_ERRATUM_A005275
York Sun63659ff2016-12-28 08:43:43 -0800535 select SYS_FSL_ERRATUM_A006261
536 select SYS_FSL_ERRATUM_CPU_A003999
537 select SYS_FSL_ERRATUM_DDR_A003
538 select SYS_FSL_ERRATUM_DDR_A003474
York Sunc01e4a12016-12-28 08:43:42 -0800539 select SYS_FSL_ERRATUM_ESDHC111
York Sun63659ff2016-12-28 08:43:43 -0800540 select SYS_FSL_ERRATUM_I2C_A004447
541 select SYS_FSL_ERRATUM_NMG_CPU_A011
542 select SYS_FSL_ERRATUM_SRIO_A004034
543 select SYS_FSL_ERRATUM_USB14
York Sund26e34c2016-12-28 08:43:40 -0800544 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800545 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800546 select SYS_FSL_QORIQ_CHASSIS1
York Sun90b80382016-12-28 08:43:31 -0800547 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800548 select SYS_FSL_SEC_COMPAT_4
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530549 select FSL_ELBC
Tom Rini8f1a80e2017-07-28 21:31:42 -0400550 imply CMD_NAND
York Sunce040c82016-11-18 11:15:21 -0800551
York Sun5e5fdd22016-11-18 11:20:40 -0800552config ARCH_P3041
553 bool
Tom Rinib40d2b22022-03-18 08:38:32 -0400554 select BACKSIDE_L2_CACHE
York Sunf8dee362016-12-28 08:43:27 -0800555 select E500MC
York Sun05cb79a2016-12-02 10:44:34 -0800556 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400557 select SYS_CACHE_SHIFT_6
York Sun22120f12016-12-28 08:43:46 -0800558 select SYS_FSL_DDR_VER_44
York Sun63659ff2016-12-28 08:43:43 -0800559 select SYS_FSL_ERRATUM_A004510
560 select SYS_FSL_ERRATUM_A004849
Chris Packham4eaf7f52018-10-04 20:03:53 +1300561 select SYS_FSL_ERRATUM_A005275
York Sun63659ff2016-12-28 08:43:43 -0800562 select SYS_FSL_ERRATUM_A005812
563 select SYS_FSL_ERRATUM_A006261
564 select SYS_FSL_ERRATUM_CPU_A003999
565 select SYS_FSL_ERRATUM_DDR_A003
566 select SYS_FSL_ERRATUM_DDR_A003474
York Sunc01e4a12016-12-28 08:43:42 -0800567 select SYS_FSL_ERRATUM_ESDHC111
York Sun63659ff2016-12-28 08:43:43 -0800568 select SYS_FSL_ERRATUM_I2C_A004447
569 select SYS_FSL_ERRATUM_NMG_CPU_A011
570 select SYS_FSL_ERRATUM_SRIO_A004034
571 select SYS_FSL_ERRATUM_USB14
York Sund26e34c2016-12-28 08:43:40 -0800572 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800573 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800574 select SYS_FSL_QORIQ_CHASSIS1
York Sun90b80382016-12-28 08:43:31 -0800575 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800576 select SYS_FSL_SEC_COMPAT_4
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530577 select FSL_ELBC
Tom Rini8f1a80e2017-07-28 21:31:42 -0400578 imply CMD_NAND
Simon Glass3bf926c2017-06-14 21:28:24 -0600579 imply CMD_SATA
Christophe Leroyfa379222017-08-04 16:34:40 -0600580 imply CMD_REGINFO
Tuomas Tynkkynen9920d152017-12-08 15:36:17 +0200581 imply FSL_SATA
York Sun5e5fdd22016-11-18 11:20:40 -0800582
York Sune71372c2016-11-18 11:24:40 -0800583config ARCH_P4080
584 bool
Tom Rinib40d2b22022-03-18 08:38:32 -0400585 select BACKSIDE_L2_CACHE
York Sunf8dee362016-12-28 08:43:27 -0800586 select E500MC
York Sun05cb79a2016-12-02 10:44:34 -0800587 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400588 select SYS_CACHE_SHIFT_6
York Sun22120f12016-12-28 08:43:46 -0800589 select SYS_FSL_DDR_VER_44
York Sun63659ff2016-12-28 08:43:43 -0800590 select SYS_FSL_ERRATUM_A004510
591 select SYS_FSL_ERRATUM_A004580
592 select SYS_FSL_ERRATUM_A004849
593 select SYS_FSL_ERRATUM_A005812
594 select SYS_FSL_ERRATUM_A007075
595 select SYS_FSL_ERRATUM_CPC_A002
596 select SYS_FSL_ERRATUM_CPC_A003
597 select SYS_FSL_ERRATUM_CPU_A003999
598 select SYS_FSL_ERRATUM_DDR_A003
599 select SYS_FSL_ERRATUM_DDR_A003474
600 select SYS_FSL_ERRATUM_ELBC_A001
York Sunc01e4a12016-12-28 08:43:42 -0800601 select SYS_FSL_ERRATUM_ESDHC111
602 select SYS_FSL_ERRATUM_ESDHC13
603 select SYS_FSL_ERRATUM_ESDHC135
York Sun63659ff2016-12-28 08:43:43 -0800604 select SYS_FSL_ERRATUM_I2C_A004447
605 select SYS_FSL_ERRATUM_NMG_CPU_A011
606 select SYS_FSL_ERRATUM_SRIO_A004034
607 select SYS_P4080_ERRATUM_CPU22
608 select SYS_P4080_ERRATUM_PCIE_A003
609 select SYS_P4080_ERRATUM_SERDES8
610 select SYS_P4080_ERRATUM_SERDES9
611 select SYS_P4080_ERRATUM_SERDES_A001
612 select SYS_P4080_ERRATUM_SERDES_A005
York Sund26e34c2016-12-28 08:43:40 -0800613 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800614 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800615 select SYS_FSL_QORIQ_CHASSIS1
York Sun90b80382016-12-28 08:43:31 -0800616 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800617 select SYS_FSL_SEC_COMPAT_4
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530618 select FSL_ELBC
Simon Glass3bf926c2017-06-14 21:28:24 -0600619 imply CMD_SATA
Christophe Leroyfa379222017-08-04 16:34:40 -0600620 imply CMD_REGINFO
Tuomas Tynkkynenc88ecf42017-12-08 15:36:14 +0200621 imply SATA_SIL
York Sune71372c2016-11-18 11:24:40 -0800622
York Sun95390362016-11-18 11:39:36 -0800623config ARCH_P5040
624 bool
Tom Rinib40d2b22022-03-18 08:38:32 -0400625 select BACKSIDE_L2_CACHE
York Sunf8dee362016-12-28 08:43:27 -0800626 select E500MC
York Sun05cb79a2016-12-02 10:44:34 -0800627 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400628 select SYS_CACHE_SHIFT_6
York Sun22120f12016-12-28 08:43:46 -0800629 select SYS_FSL_DDR_VER_44
York Sun63659ff2016-12-28 08:43:43 -0800630 select SYS_FSL_ERRATUM_A004510
631 select SYS_FSL_ERRATUM_A004699
Chris Packham4eaf7f52018-10-04 20:03:53 +1300632 select SYS_FSL_ERRATUM_A005275
York Sun63659ff2016-12-28 08:43:43 -0800633 select SYS_FSL_ERRATUM_A005812
634 select SYS_FSL_ERRATUM_A006261
635 select SYS_FSL_ERRATUM_DDR_A003
636 select SYS_FSL_ERRATUM_DDR_A003474
York Sunc01e4a12016-12-28 08:43:42 -0800637 select SYS_FSL_ERRATUM_ESDHC111
York Sun63659ff2016-12-28 08:43:43 -0800638 select SYS_FSL_ERRATUM_USB14
York Sund26e34c2016-12-28 08:43:40 -0800639 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800640 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800641 select SYS_FSL_QORIQ_CHASSIS1
York Sun90b80382016-12-28 08:43:31 -0800642 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800643 select SYS_FSL_SEC_COMPAT_4
York Sun48512782016-12-28 08:43:50 -0800644 select SYS_PPC64
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530645 select FSL_ELBC
Simon Glass3bf926c2017-06-14 21:28:24 -0600646 imply CMD_SATA
Christophe Leroyfa379222017-08-04 16:34:40 -0600647 imply CMD_REGINFO
Tuomas Tynkkynen9920d152017-12-08 15:36:17 +0200648 imply FSL_SATA
York Sun95390362016-11-18 11:39:36 -0800649
York Sun10343402016-11-18 12:29:51 -0800650config ARCH_QEMU_E500
651 bool
Tom Riniab92b382021-08-26 11:47:59 -0400652 select SYS_CACHE_SHIFT_5
York Sun10343402016-11-18 12:29:51 -0800653
York Sune5d5f5a2016-11-18 13:01:34 -0800654config ARCH_T1024
655 bool
Tom Rinib40d2b22022-03-18 08:38:32 -0400656 select BACKSIDE_L2_CACHE
York Sunf8dee362016-12-28 08:43:27 -0800657 select E500MC
Tom Rinif2428ac2022-03-24 17:18:01 -0400658 select E5500
York Sun05cb79a2016-12-02 10:44:34 -0800659 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400660 select SYS_CACHE_SHIFT_6
York Sun22120f12016-12-28 08:43:46 -0800661 select SYS_FSL_DDR_VER_50
York Sun63659ff2016-12-28 08:43:43 -0800662 select SYS_FSL_ERRATUM_A008378
Jaiprakash Singh164a5af2020-06-02 12:44:02 +0530663 select SYS_FSL_ERRATUM_A008109
York Sun63659ff2016-12-28 08:43:43 -0800664 select SYS_FSL_ERRATUM_A009663
665 select SYS_FSL_ERRATUM_A009942
York Sunc01e4a12016-12-28 08:43:42 -0800666 select SYS_FSL_ERRATUM_ESDHC111
York Sund26e34c2016-12-28 08:43:40 -0800667 select SYS_FSL_HAS_DDR3
668 select SYS_FSL_HAS_DDR4
York Sun2c2e2c92016-12-28 08:43:30 -0800669 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800670 select SYS_FSL_QORIQ_CHASSIS2
York Sun90b80382016-12-28 08:43:31 -0800671 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800672 select SYS_FSL_SEC_COMPAT_5
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530673 select FSL_IFC
Simon Glassa1dc9802017-05-17 03:25:10 -0600674 imply CMD_EEPROM
Tom Rini8f1a80e2017-07-28 21:31:42 -0400675 imply CMD_NAND
Tom Rinid56b4b12017-07-22 18:36:16 -0400676 imply CMD_MTDPARTS
Christophe Leroyfa379222017-08-04 16:34:40 -0600677 imply CMD_REGINFO
York Sune5d5f5a2016-11-18 13:01:34 -0800678
York Sun5d737012016-11-18 13:11:12 -0800679config ARCH_T1040
680 bool
Tom Rinib40d2b22022-03-18 08:38:32 -0400681 select BACKSIDE_L2_CACHE
York Sunf8dee362016-12-28 08:43:27 -0800682 select E500MC
Tom Rinif2428ac2022-03-24 17:18:01 -0400683 select E5500
York Sun05cb79a2016-12-02 10:44:34 -0800684 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400685 select SYS_CACHE_SHIFT_6
York Sun22120f12016-12-28 08:43:46 -0800686 select SYS_FSL_DDR_VER_50
York Sun63659ff2016-12-28 08:43:43 -0800687 select SYS_FSL_ERRATUM_A008044
688 select SYS_FSL_ERRATUM_A008378
Joakim Tjernlund73af0942019-11-20 17:07:34 +0100689 select SYS_FSL_ERRATUM_A008109
York Sun63659ff2016-12-28 08:43:43 -0800690 select SYS_FSL_ERRATUM_A009663
691 select SYS_FSL_ERRATUM_A009942
York Sunc01e4a12016-12-28 08:43:42 -0800692 select SYS_FSL_ERRATUM_ESDHC111
York Sund26e34c2016-12-28 08:43:40 -0800693 select SYS_FSL_HAS_DDR3
694 select SYS_FSL_HAS_DDR4
York Sun2c2e2c92016-12-28 08:43:30 -0800695 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800696 select SYS_FSL_QORIQ_CHASSIS2
York Sun90b80382016-12-28 08:43:31 -0800697 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800698 select SYS_FSL_SEC_COMPAT_5
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530699 select FSL_IFC
Tom Rinid56b4b12017-07-22 18:36:16 -0400700 imply CMD_MTDPARTS
Tom Rini8f1a80e2017-07-28 21:31:42 -0400701 imply CMD_NAND
Christophe Leroyfa379222017-08-04 16:34:40 -0600702 imply CMD_REGINFO
York Sun5d737012016-11-18 13:11:12 -0800703
York Sun5449c982016-11-18 13:36:39 -0800704config ARCH_T1042
705 bool
Tom Rinib40d2b22022-03-18 08:38:32 -0400706 select BACKSIDE_L2_CACHE
York Sunf8dee362016-12-28 08:43:27 -0800707 select E500MC
Tom Rinif2428ac2022-03-24 17:18:01 -0400708 select E5500
York Sun05cb79a2016-12-02 10:44:34 -0800709 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400710 select SYS_CACHE_SHIFT_6
York Sun22120f12016-12-28 08:43:46 -0800711 select SYS_FSL_DDR_VER_50
York Sun63659ff2016-12-28 08:43:43 -0800712 select SYS_FSL_ERRATUM_A008044
713 select SYS_FSL_ERRATUM_A008378
Joakim Tjernlund73af0942019-11-20 17:07:34 +0100714 select SYS_FSL_ERRATUM_A008109
York Sun63659ff2016-12-28 08:43:43 -0800715 select SYS_FSL_ERRATUM_A009663
716 select SYS_FSL_ERRATUM_A009942
York Sunc01e4a12016-12-28 08:43:42 -0800717 select SYS_FSL_ERRATUM_ESDHC111
York Sund26e34c2016-12-28 08:43:40 -0800718 select SYS_FSL_HAS_DDR3
719 select SYS_FSL_HAS_DDR4
York Sun2c2e2c92016-12-28 08:43:30 -0800720 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800721 select SYS_FSL_QORIQ_CHASSIS2
York Sun90b80382016-12-28 08:43:31 -0800722 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800723 select SYS_FSL_SEC_COMPAT_5
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530724 select FSL_IFC
Tom Rinid56b4b12017-07-22 18:36:16 -0400725 imply CMD_MTDPARTS
Tom Rini8f1a80e2017-07-28 21:31:42 -0400726 imply CMD_NAND
Christophe Leroyfa379222017-08-04 16:34:40 -0600727 imply CMD_REGINFO
York Sun5449c982016-11-18 13:36:39 -0800728
York Sun0f3d80e2016-11-21 12:54:19 -0800729config ARCH_T2080
730 bool
York Sunf8dee362016-12-28 08:43:27 -0800731 select E500MC
York Sun9ec10102016-12-28 08:43:48 -0800732 select E6500
York Sun05cb79a2016-12-02 10:44:34 -0800733 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400734 select SYS_CACHE_SHIFT_6
York Sun22120f12016-12-28 08:43:46 -0800735 select SYS_FSL_DDR_VER_47
York Sun63659ff2016-12-28 08:43:43 -0800736 select SYS_FSL_ERRATUM_A006379
737 select SYS_FSL_ERRATUM_A006593
Tom Rini601483f2022-06-16 14:04:40 -0400738 select SYS_FSL_ERRATUM_A007186 if CHAIN_OF_TRUST
York Sun63659ff2016-12-28 08:43:43 -0800739 select SYS_FSL_ERRATUM_A007212
Tony O'Brien09bfd962016-12-02 09:22:34 +1300740 select SYS_FSL_ERRATUM_A007815
Darwin Dingel06ad9702016-10-25 09:48:01 +1300741 select SYS_FSL_ERRATUM_A007907
Jaiprakash Singh164a5af2020-06-02 12:44:02 +0530742 select SYS_FSL_ERRATUM_A008109
York Sun63659ff2016-12-28 08:43:43 -0800743 select SYS_FSL_ERRATUM_A009942
York Sunc01e4a12016-12-28 08:43:42 -0800744 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800745 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800746 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800747 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800748 select SYS_FSL_QORIQ_CHASSIS2
York Sun90b80382016-12-28 08:43:31 -0800749 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800750 select SYS_FSL_SEC_COMPAT_4
York Sun48512782016-12-28 08:43:50 -0800751 select SYS_PPC64
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530752 select FSL_IFC
Peng Maa2d4cb22019-12-23 09:28:12 +0000753 imply CMD_SATA
Tom Rini8f1a80e2017-07-28 21:31:42 -0400754 imply CMD_NAND
Christophe Leroyfa379222017-08-04 16:34:40 -0600755 imply CMD_REGINFO
Peng Maa2d4cb22019-12-23 09:28:12 +0000756 imply FSL_SATA
Tom Rinid7d40f62021-08-17 17:59:41 -0400757 imply ID_EEPROM
York Sun0f3d80e2016-11-21 12:54:19 -0800758
York Sun26bc57d2016-11-21 13:35:41 -0800759config ARCH_T4240
760 bool
York Sunf8dee362016-12-28 08:43:27 -0800761 select E500MC
York Sun9ec10102016-12-28 08:43:48 -0800762 select E6500
York Sun05cb79a2016-12-02 10:44:34 -0800763 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400764 select SYS_CACHE_SHIFT_6
York Sun22120f12016-12-28 08:43:46 -0800765 select SYS_FSL_DDR_VER_47
York Sun63659ff2016-12-28 08:43:43 -0800766 select SYS_FSL_ERRATUM_A004468
767 select SYS_FSL_ERRATUM_A005871
768 select SYS_FSL_ERRATUM_A006261
769 select SYS_FSL_ERRATUM_A006379
770 select SYS_FSL_ERRATUM_A006593
Tom Rini601483f2022-06-16 14:04:40 -0400771 select SYS_FSL_ERRATUM_A007186 if CHAIN_OF_TRUST
York Sun63659ff2016-12-28 08:43:43 -0800772 select SYS_FSL_ERRATUM_A007798
Tony O'Brien09bfd962016-12-02 09:22:34 +1300773 select SYS_FSL_ERRATUM_A007815
Darwin Dingel06ad9702016-10-25 09:48:01 +1300774 select SYS_FSL_ERRATUM_A007907
Jaiprakash Singh164a5af2020-06-02 12:44:02 +0530775 select SYS_FSL_ERRATUM_A008109
York Sun63659ff2016-12-28 08:43:43 -0800776 select SYS_FSL_ERRATUM_A009942
York Sund26e34c2016-12-28 08:43:40 -0800777 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800778 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800779 select SYS_FSL_QORIQ_CHASSIS2
York Sun90b80382016-12-28 08:43:31 -0800780 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800781 select SYS_FSL_SEC_COMPAT_4
York Sun48512782016-12-28 08:43:50 -0800782 select SYS_PPC64
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530783 select FSL_IFC
Simon Glass3bf926c2017-06-14 21:28:24 -0600784 imply CMD_SATA
Tom Rini8f1a80e2017-07-28 21:31:42 -0400785 imply CMD_NAND
Christophe Leroyfa379222017-08-04 16:34:40 -0600786 imply CMD_REGINFO
Tuomas Tynkkynen9920d152017-12-08 15:36:17 +0200787 imply FSL_SATA
York Sun05cb79a2016-12-02 10:44:34 -0800788
Jagdish Gediya96699f02018-09-03 21:35:10 +0530789config MPC85XX_HAVE_RESET_VECTOR
790 bool "Indicate reset vector at CONFIG_RESET_VECTOR_ADDRESS - 0xffc"
791 depends on MPC85xx
792
Tom Rinia3041d92022-02-23 12:28:15 -0500793config BTB
794 bool "toggle branch predition"
795
York Sunf8dee362016-12-28 08:43:27 -0800796config BOOKE
797 bool
798 default y
799
800config E500
801 bool
802 default y
803 help
804 Enable PowerPC E500 cores, including e500v1, e500v2, e500mc
805
806config E500MC
807 bool
Tom Rinia3041d92022-02-23 12:28:15 -0500808 select BTB
Simon Glass6500ec72017-08-04 16:34:34 -0600809 imply CMD_PCI
York Sunf8dee362016-12-28 08:43:27 -0800810 help
811 Enble PowerPC E500MC core
812
Tom Rinif2428ac2022-03-24 17:18:01 -0400813config E5500
814 bool
815
York Sun9ec10102016-12-28 08:43:48 -0800816config E6500
817 bool
Tom Rinia3041d92022-02-23 12:28:15 -0500818 select BTB
York Sun9ec10102016-12-28 08:43:48 -0800819 help
820 Enable PowerPC E6500 core
821
York Sun05cb79a2016-12-02 10:44:34 -0800822config FSL_LAW
823 bool
824 help
825 Use Freescale common code for Local Access Window
York Sun26bc57d2016-11-21 13:35:41 -0800826
Tom Rini1e7750f2022-06-16 14:04:34 -0400827config HETROGENOUS_CLUSTERS
828 bool
829
York Sun3f82b562016-11-23 12:30:40 -0800830config MAX_CPUS
831 int "Maximum number of CPUs permitted for MPC85xx"
832 default 12 if ARCH_T4240
Tom Riniec6b37c2021-05-23 10:58:05 -0400833 default 8 if ARCH_P4080
York Sun3f82b562016-11-23 12:30:40 -0800834 default 4 if ARCH_B4860 || \
835 ARCH_P2041 || \
836 ARCH_P3041 || \
837 ARCH_P5040 || \
838 ARCH_T1040 || \
839 ARCH_T1042 || \
Tom Rini2322b952021-02-20 20:06:21 -0500840 ARCH_T2080
York Sun3f82b562016-11-23 12:30:40 -0800841 default 2 if ARCH_B4420 || \
842 ARCH_BSC9132 || \
York Sun3f82b562016-11-23 12:30:40 -0800843 ARCH_P1020 || \
844 ARCH_P1021 || \
York Sun3f82b562016-11-23 12:30:40 -0800845 ARCH_P1023 || \
846 ARCH_P1024 || \
847 ARCH_P1025 || \
848 ARCH_P2020 || \
York Sun3f82b562016-11-23 12:30:40 -0800849 ARCH_T1024
850 default 1
851 help
852 Set this number to the maximum number of possible CPUs in the SoC.
853 SoCs may have multiple clusters with each cluster may have multiple
854 ports. If some ports are reserved but higher ports are used for
855 cores, count the reserved ports. This will allocate enough memory
856 in spin table to properly handle all cores.
857
York Sun830fc1b2016-12-01 13:26:06 -0800858config SYS_CCSRBAR_DEFAULT
859 hex "Default CCSRBAR address"
860 default 0xff700000 if ARCH_BSC9131 || \
861 ARCH_BSC9132 || \
862 ARCH_C29X || \
863 ARCH_MPC8536 || \
864 ARCH_MPC8540 || \
York Sun830fc1b2016-12-01 13:26:06 -0800865 ARCH_MPC8544 || \
866 ARCH_MPC8548 || \
York Sun830fc1b2016-12-01 13:26:06 -0800867 ARCH_MPC8560 || \
York Sun830fc1b2016-12-01 13:26:06 -0800868 ARCH_P1010 || \
869 ARCH_P1011 || \
870 ARCH_P1020 || \
871 ARCH_P1021 || \
York Sun830fc1b2016-12-01 13:26:06 -0800872 ARCH_P1024 || \
873 ARCH_P1025 || \
874 ARCH_P2020
875 default 0xff600000 if ARCH_P1023
876 default 0xfe000000 if ARCH_B4420 || \
877 ARCH_B4860 || \
878 ARCH_P2041 || \
879 ARCH_P3041 || \
880 ARCH_P4080 || \
York Sun830fc1b2016-12-01 13:26:06 -0800881 ARCH_P5040 || \
York Sun830fc1b2016-12-01 13:26:06 -0800882 ARCH_T1024 || \
883 ARCH_T1040 || \
884 ARCH_T1042 || \
885 ARCH_T2080 || \
York Sun830fc1b2016-12-01 13:26:06 -0800886 ARCH_T4240
887 default 0xe0000000 if ARCH_QEMU_E500
888 help
889 Default value of CCSRBAR comes from power-on-reset. It
890 is fixed on each SoC. Some SoCs can have different value
891 if changed by pre-boot regime. The value here must match
892 the current value in SoC. If not sure, do not change.
893
Tom Rinifdd0da42022-03-11 09:11:59 -0500894config A003399_NOR_WORKAROUND
895 bool
896 help
897 Enables a workaround for IFC erratum A003399. It is only required
898 during NOR boot.
899
Tom Rini5f7c8862022-03-11 09:12:00 -0500900config A008044_WORKAROUND
901 bool
902 help
903 Enables a workaround for T1040/T1042 erratum A008044. It is only
904 required during NAND boot and valid for Rev 1.0 SoC revision
905
York Sun63659ff2016-12-28 08:43:43 -0800906config SYS_FSL_ERRATUM_A004468
907 bool
908
909config SYS_FSL_ERRATUM_A004477
910 bool
911
912config SYS_FSL_ERRATUM_A004508
913 bool
914
915config SYS_FSL_ERRATUM_A004580
916 bool
917
918config SYS_FSL_ERRATUM_A004699
919 bool
920
921config SYS_FSL_ERRATUM_A004849
922 bool
923
924config SYS_FSL_ERRATUM_A004510
925 bool
926
927config SYS_FSL_ERRATUM_A004510_SVR_REV
928 hex
929 depends on SYS_FSL_ERRATUM_A004510
930 default 0x20 if ARCH_P4080
931 default 0x10
932
933config SYS_FSL_ERRATUM_A004510_SVR_REV2
934 hex
935 depends on (SYS_FSL_ERRATUM_A004510 && (ARCH_P2041 || ARCH_P3041))
936 default 0x11
937
938config SYS_FSL_ERRATUM_A005125
939 bool
940
941config SYS_FSL_ERRATUM_A005434
942 bool
943
944config SYS_FSL_ERRATUM_A005812
945 bool
946
947config SYS_FSL_ERRATUM_A005871
948 bool
949
Chris Packham4eaf7f52018-10-04 20:03:53 +1300950config SYS_FSL_ERRATUM_A005275
951 bool
952
York Sun63659ff2016-12-28 08:43:43 -0800953config SYS_FSL_ERRATUM_A006261
954 bool
955
956config SYS_FSL_ERRATUM_A006379
957 bool
958
959config SYS_FSL_ERRATUM_A006384
960 bool
961
962config SYS_FSL_ERRATUM_A006475
963 bool
964
965config SYS_FSL_ERRATUM_A006593
966 bool
967
968config SYS_FSL_ERRATUM_A007075
969 bool
970
971config SYS_FSL_ERRATUM_A007186
972 bool
973
974config SYS_FSL_ERRATUM_A007212
975 bool
976
Tony O'Brien09bfd962016-12-02 09:22:34 +1300977config SYS_FSL_ERRATUM_A007815
978 bool
979
York Sun63659ff2016-12-28 08:43:43 -0800980config SYS_FSL_ERRATUM_A007798
981 bool
982
Darwin Dingel06ad9702016-10-25 09:48:01 +1300983config SYS_FSL_ERRATUM_A007907
984 bool
985
York Sun63659ff2016-12-28 08:43:43 -0800986config SYS_FSL_ERRATUM_A008044
987 bool
Tom Rini5f7c8862022-03-11 09:12:00 -0500988 select A008044_WORKAROUND if MTD_RAW_NAND
York Sun63659ff2016-12-28 08:43:43 -0800989
990config SYS_FSL_ERRATUM_CPC_A002
991 bool
992
993config SYS_FSL_ERRATUM_CPC_A003
994 bool
995
996config SYS_FSL_ERRATUM_CPU_A003999
997 bool
998
999config SYS_FSL_ERRATUM_ELBC_A001
1000 bool
1001
1002config SYS_FSL_ERRATUM_I2C_A004447
1003 bool
1004
1005config SYS_FSL_A004447_SVR_REV
1006 hex
1007 depends on SYS_FSL_ERRATUM_I2C_A004447
1008 default 0x00 if ARCH_MPC8548
1009 default 0x10 if ARCH_P1010
1010 default 0x11 if ARCH_P1023 || ARCH_P2041 || ARCH_BSC9132
Tom Rinia99dab12021-02-20 20:06:30 -05001011 default 0x20 if ARCH_P3041 || ARCH_P4080
York Sun63659ff2016-12-28 08:43:43 -08001012
1013config SYS_FSL_ERRATUM_IFC_A002769
1014 bool
1015
1016config SYS_FSL_ERRATUM_IFC_A003399
1017 bool
1018
1019config SYS_FSL_ERRATUM_NMG_CPU_A011
1020 bool
1021
1022config SYS_FSL_ERRATUM_NMG_ETSEC129
1023 bool
1024
1025config SYS_FSL_ERRATUM_NMG_LBC103
1026 bool
1027
1028config SYS_FSL_ERRATUM_P1010_A003549
1029 bool
1030
1031config SYS_FSL_ERRATUM_SATA_A001
1032 bool
1033
1034config SYS_FSL_ERRATUM_SEC_A003571
1035 bool
1036
1037config SYS_FSL_ERRATUM_SRIO_A004034
1038 bool
1039
1040config SYS_FSL_ERRATUM_USB14
1041 bool
1042
Tom Rinif76750d2021-12-11 14:55:51 -05001043config SYS_HAS_SERDES
1044 bool
1045
York Sun63659ff2016-12-28 08:43:43 -08001046config SYS_P4080_ERRATUM_CPU22
1047 bool
1048
1049config SYS_P4080_ERRATUM_PCIE_A003
1050 bool
1051
1052config SYS_P4080_ERRATUM_SERDES8
1053 bool
1054
1055config SYS_P4080_ERRATUM_SERDES9
1056 bool
1057
1058config SYS_P4080_ERRATUM_SERDES_A001
1059 bool
1060
1061config SYS_P4080_ERRATUM_SERDES_A005
1062 bool
1063
Hou Zhiqiangc16dfd02019-05-22 22:46:03 +08001064config FSL_PCIE_DISABLE_ASPM
1065 bool
1066
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +08001067config FSL_PCIE_RESET
1068 bool
1069
York Sun73717742016-12-28 08:43:49 -08001070config SYS_FSL_QORIQ_CHASSIS1
1071 bool
1072
1073config SYS_FSL_QORIQ_CHASSIS2
1074 bool
1075
York Sun8303acb2016-12-01 14:05:02 -08001076config SYS_FSL_NUM_LAWS
1077 int "Number of local access windows"
1078 depends on FSL_LAW
1079 default 32 if ARCH_B4420 || \
1080 ARCH_B4860 || \
1081 ARCH_P2041 || \
1082 ARCH_P3041 || \
1083 ARCH_P4080 || \
York Sun8303acb2016-12-01 14:05:02 -08001084 ARCH_P5040 || \
1085 ARCH_T2080 || \
York Sun8303acb2016-12-01 14:05:02 -08001086 ARCH_T4240
Tom Rini6c3d9932021-05-14 21:34:22 -04001087 default 16 if ARCH_T1024 || \
York Sun8303acb2016-12-01 14:05:02 -08001088 ARCH_T1040 || \
1089 ARCH_T1042
1090 default 12 if ARCH_BSC9131 || \
1091 ARCH_BSC9132 || \
1092 ARCH_C29X || \
1093 ARCH_MPC8536 || \
York Sun8303acb2016-12-01 14:05:02 -08001094 ARCH_P1010 || \
1095 ARCH_P1011 || \
1096 ARCH_P1020 || \
1097 ARCH_P1021 || \
York Sun8303acb2016-12-01 14:05:02 -08001098 ARCH_P1023 || \
1099 ARCH_P1024 || \
1100 ARCH_P1025 || \
1101 ARCH_P2020
1102 default 10 if ARCH_MPC8544 || \
Tom Rini80696892021-05-14 21:34:23 -04001103 ARCH_MPC8548
York Sun8303acb2016-12-01 14:05:02 -08001104 default 8 if ARCH_MPC8540 || \
York Sun8303acb2016-12-01 14:05:02 -08001105 ARCH_MPC8560
1106 help
1107 Number of local access windows. This is fixed per SoC.
1108 If not sure, do not change.
1109
York Sun9ec10102016-12-28 08:43:48 -08001110config SYS_FSL_THREADS_PER_CORE
1111 int
1112 default 2 if E6500
1113 default 1
1114
York Sun26e79b62016-12-28 08:43:28 -08001115config SYS_NUM_TLBCAMS
1116 int "Number of TLB CAM entries"
1117 default 64 if E500MC
1118 default 16
1119 help
1120 Number of TLB CAM entries for Book-E chips. 64 for E500MC,
1121 16 for other E500 SoCs.
1122
Tom Rini1e7750f2022-06-16 14:04:34 -04001123if HETROGENOUS_CLUSTERS
1124
1125config SYS_MAPLE
1126 def_bool y
1127
1128config SYS_CPRI
1129 def_bool y
1130
1131config PPC_CLUSTER_START
1132 int
1133 default 0
1134
1135config DSP_CLUSTER_START
1136 int
1137 default 1
1138
1139config SYS_CPRI_CLK
1140 int
1141 default 3
1142
1143config SYS_ULB_CLK
1144 int
1145 default 4
1146
1147config SYS_ETVPE_CLK
1148 int
1149 default 1
1150endif
1151
Tom Rinib40d2b22022-03-18 08:38:32 -04001152config BACKSIDE_L2_CACHE
1153 bool
1154
York Sun48512782016-12-28 08:43:50 -08001155config SYS_PPC64
1156 bool
1157
York Sun53c95382016-12-28 08:43:29 -08001158config SYS_PPC_E500_USE_DEBUG_TLB
1159 bool
1160
Prabhakar Kushwaha06878972017-02-02 15:01:48 +05301161config FSL_ELBC
1162 bool
1163
York Sun53c95382016-12-28 08:43:29 -08001164config SYS_PPC_E500_DEBUG_TLB
1165 int "Temporary TLB entry for external debugger"
1166 depends on SYS_PPC_E500_USE_DEBUG_TLB
1167 default 0 if ARCH_MPC8544 || ARCH_MPC8548
1168 default 1 if ARCH_MPC8536
Tom Rinied7fe2b2021-05-14 21:34:25 -04001169 default 2 if ARCH_P1011 || \
York Sun53c95382016-12-28 08:43:29 -08001170 ARCH_P1020 || \
1171 ARCH_P1021 || \
York Sun53c95382016-12-28 08:43:29 -08001172 ARCH_P1024 || \
1173 ARCH_P1025 || \
1174 ARCH_P2020
1175 default 3 if ARCH_P1010 || \
1176 ARCH_BSC9132 || \
1177 ARCH_C29X
1178 help
1179 Select a temporary TLB entry to be used during boot to work
1180 around limitations in e500v1 and e500v2 external debugger
1181 support. This reduces the portions of the boot code where
1182 breakpoints and single stepping do not work. The value of this
1183 symbol should be set to the TLB1 entry to be used for this
1184 purpose. If unsure, do not change.
1185
Prabhakar Kushwaha1c407072017-02-02 15:01:26 +05301186config SYS_FSL_IFC_CLK_DIV
1187 int "Divider of platform clock"
1188 depends on FSL_IFC
1189 default 2 if ARCH_B4420 || \
1190 ARCH_B4860 || \
1191 ARCH_T1024 || \
Prabhakar Kushwaha1c407072017-02-02 15:01:26 +05301192 ARCH_T1040 || \
1193 ARCH_T1042 || \
Prabhakar Kushwaha1c407072017-02-02 15:01:26 +05301194 ARCH_T4240
1195 default 1
1196 help
1197 Defines divider of platform clock(clock input to
1198 IFC controller).
1199
Prabhakar Kushwahaadd63f92017-02-02 15:02:00 +05301200config SYS_FSL_LBC_CLK_DIV
1201 int "Divider of platform clock"
1202 depends on FSL_ELBC || ARCH_MPC8540 || \
Tom Rinia8571332021-05-14 21:34:20 -04001203 ARCH_MPC8548 || \
Tom Rini80696892021-05-14 21:34:23 -04001204 ARCH_MPC8560
Prabhakar Kushwahaadd63f92017-02-02 15:02:00 +05301205
1206 default 2 if ARCH_P2041 || \
1207 ARCH_P3041 || \
1208 ARCH_P4080 || \
Prabhakar Kushwahaadd63f92017-02-02 15:02:00 +05301209 ARCH_P5040
1210 default 1
1211
1212 help
1213 Defines divider of platform clock(clock input to
1214 eLBC controller).
1215
Tom Rinifbc36212022-06-15 12:03:45 -04001216config ENABLE_36BIT_PHYS
1217 bool "Enable 36bit physical address space support"
1218
Tom Rini3dab4052022-06-25 11:02:43 -04001219config SYS_BOOK3E_HV
1220 bool "Category E.HV is supported"
1221 depends on BOOKE
1222
Tom Rinide47ff52022-06-10 22:59:37 -04001223config SYS_MPC85XX_NO_RESETVEC
1224 bool "Discard resetvec section and move bootpg section up"
1225 depends on MPC85xx
1226 help
1227 If this variable is specified, the section .resetvec is not kept and
1228 the section .bootpg is placed in the previous 4k of the .text section.
1229
1230config SPL_SYS_MPC85XX_NO_RESETVEC
1231 bool "Discard resetvec section and move bootpg section up, in SPL"
1232 depends on MPC85xx && SPL
1233 help
1234 If this variable is specified, the section .resetvec is not kept and
1235 the section .bootpg is placed in the previous 4k of the .text section,
1236 of the SPL portion of the binary.
1237
1238config TPL_SYS_MPC85XX_NO_RESETVEC
1239 bool "Discard resetvec section and move bootpg section up, in TPL"
1240 depends on MPC85xx && TPL
1241 help
1242 If this variable is specified, the section .resetvec is not kept and
1243 the section .bootpg is placed in the previous 4k of the .text section,
1244 of the SPL portion of the binary.
1245
Rajesh Bhagatc8c01702021-02-15 09:46:14 +01001246config FSL_VIA
1247 bool
1248
Bin Meng1d636a02021-02-25 17:22:58 +08001249source "board/emulation/qemu-ppce500/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001250source "board/freescale/corenet_ds/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001251source "board/freescale/mpc8548cds/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001252source "board/freescale/p1010rdb/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001253source "board/freescale/p1_p2_rdb_pc/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001254source "board/freescale/p2041rdb/Kconfig"
Shengzhou Liu48c6f322014-11-24 17:11:56 +08001255source "board/freescale/t102xrdb/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001256source "board/freescale/t104xrdb/Kconfig"
1257source "board/freescale/t208xqds/Kconfig"
1258source "board/freescale/t208xrdb/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001259source "board/freescale/t4rdb/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001260source "board/socrates/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001261
1262endmenu