blob: 915e28e11088a5381a2506c885d73d90ed8599d3 [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
Tom Rini5a446182022-06-25 11:02:44 -0400112 select SYS_RAMBOOT
Simon Glass239d22c2021-12-16 20:59:36 -0700113 imply OF_HAS_PRIOR_STAGE
Masahiro Yamadadd840582014-07-30 14:08:14 +0900114
York Sun08c75292016-11-18 12:45:44 -0800115config TARGET_T1024RDB
116 bool "Support T1024RDB"
York Sune5d5f5a2016-11-18 13:01:34 -0800117 select ARCH_T1024
Tom Rinie5ec4812017-01-22 19:43:11 -0500118 select BOARD_LATE_INIT if CHAIN_OF_TRUST
Shengzhou Liu48c6f322014-11-24 17:11:56 +0800119 select SUPPORT_SPL
Masahiro Yamadabb6b1422016-07-25 19:56:03 +0900120 select PHYS_64BIT
Rajesh Bhagat32413122019-02-01 05:22:01 +0000121 select FSL_DDR_INTERACTIVE
Simon Glassa1dc9802017-05-17 03:25:10 -0600122 imply CMD_EEPROM
Masahiro Yamada7e3caa82017-12-04 12:37:00 +0900123 imply PANIC_HANG
Shengzhou Liu48c6f322014-11-24 17:11:56 +0800124
York Sun95a809b2016-11-18 13:19:39 -0800125config TARGET_T1042RDB
126 bool "Support T1042RDB"
York Sun5449c982016-11-18 13:36:39 -0800127 select ARCH_T1042
Tom Rinie5ec4812017-01-22 19:43:11 -0500128 select BOARD_LATE_INIT if CHAIN_OF_TRUST
Masahiro Yamada02627352014-10-20 17:45:56 +0900129 select SUPPORT_SPL
Masahiro Yamadabb6b1422016-07-25 19:56:03 +0900130 select PHYS_64BIT
Masahiro Yamadadd840582014-07-30 14:08:14 +0900131
York Sun319ed242016-11-21 11:04:34 -0800132config TARGET_T1042D4RDB
133 bool "Support T1042D4RDB"
134 select ARCH_T1042
Tom Rinie5ec4812017-01-22 19:43:11 -0500135 select BOARD_LATE_INIT if CHAIN_OF_TRUST
York Sun319ed242016-11-21 11:04:34 -0800136 select SUPPORT_SPL
137 select PHYS_64BIT
Masahiro Yamada7e3caa82017-12-04 12:37:00 +0900138 imply PANIC_HANG
York Sun319ed242016-11-21 11:04:34 -0800139
York Sun55ed8ae2016-11-18 13:44:00 -0800140config TARGET_T1042RDB_PI
141 bool "Support T1042RDB_PI"
142 select ARCH_T1042
Tom Rinie5ec4812017-01-22 19:43:11 -0500143 select BOARD_LATE_INIT if CHAIN_OF_TRUST
York Sun55ed8ae2016-11-18 13:44:00 -0800144 select SUPPORT_SPL
145 select PHYS_64BIT
Masahiro Yamada7e3caa82017-12-04 12:37:00 +0900146 imply PANIC_HANG
York Sun55ed8ae2016-11-18 13:44:00 -0800147
York Sun638d5be2016-11-21 12:46:58 -0800148config TARGET_T2080QDS
149 bool "Support T2080QDS"
York Sun0f3d80e2016-11-21 12:54:19 -0800150 select ARCH_T2080
Tom Rinie5ec4812017-01-22 19:43:11 -0500151 select BOARD_LATE_INIT if CHAIN_OF_TRUST
Masahiro Yamada02627352014-10-20 17:45:56 +0900152 select SUPPORT_SPL
Masahiro Yamadabb6b1422016-07-25 19:56:03 +0900153 select PHYS_64BIT
Rajesh Bhagat32413122019-02-01 05:22:01 +0000154 select FSL_DDR_FIRST_SLOT_QUAD_CAPABLE
155 select FSL_DDR_INTERACTIVE
Peng Maa2d4cb22019-12-23 09:28:12 +0000156 imply CMD_SATA
Masahiro Yamadadd840582014-07-30 14:08:14 +0900157
York Sun01671e62016-11-21 12:57:22 -0800158config TARGET_T2080RDB
159 bool "Support T2080RDB"
York Sun0f3d80e2016-11-21 12:54:19 -0800160 select ARCH_T2080
Tom Rinie5ec4812017-01-22 19:43:11 -0500161 select BOARD_LATE_INIT if CHAIN_OF_TRUST
Masahiro Yamada02627352014-10-20 17:45:56 +0900162 select SUPPORT_SPL
Masahiro Yamadabb6b1422016-07-25 19:56:03 +0900163 select PHYS_64BIT
Simon Glass3bf926c2017-06-14 21:28:24 -0600164 imply CMD_SATA
Masahiro Yamada7e3caa82017-12-04 12:37:00 +0900165 imply PANIC_HANG
Masahiro Yamadadd840582014-07-30 14:08:14 +0900166
Masahiro Yamadadd840582014-07-30 14:08:14 +0900167config TARGET_T4240RDB
168 bool "Support T4240RDB"
York Sun26bc57d2016-11-21 13:35:41 -0800169 select ARCH_T4240
Chunhe Lan373762c2015-03-20 17:08:54 +0800170 select SUPPORT_SPL
Masahiro Yamadabb6b1422016-07-25 19:56:03 +0900171 select PHYS_64BIT
Rajesh Bhagat32413122019-02-01 05:22:01 +0000172 select FSL_DDR_FIRST_SLOT_QUAD_CAPABLE
Simon Glass3bf926c2017-06-14 21:28:24 -0600173 imply CMD_SATA
Masahiro Yamada7e3caa82017-12-04 12:37:00 +0900174 imply PANIC_HANG
Masahiro Yamadadd840582014-07-30 14:08:14 +0900175
Masahiro Yamadadd840582014-07-30 14:08:14 +0900176config TARGET_KMP204X
177 bool "Support kmp204x"
Pascal Linderc0fed3a2019-06-18 13:27:47 +0200178 select VENDOR_KM
Masahiro Yamadadd840582014-07-30 14:08:14 +0900179
Niel Fourie37bfd9c2021-01-21 13:19:20 +0100180config TARGET_KMCENT2
181 bool "Support kmcent2"
182 select VENDOR_KM
183
Masahiro Yamadadd840582014-07-30 14:08:14 +0900184endchoice
185
York Sunb41f1922016-11-18 11:56:57 -0800186config ARCH_B4420
187 bool
York Sunf8dee362016-12-28 08:43:27 -0800188 select E500MC
York Sun9ec10102016-12-28 08:43:48 -0800189 select E6500
York Sun05cb79a2016-12-02 10:44:34 -0800190 select FSL_LAW
Tom Rini1e7750f2022-06-16 14:04:34 -0400191 select HETROGENOUS_CLUSTERS
York Sun22120f12016-12-28 08:43:46 -0800192 select SYS_FSL_DDR_VER_47
York Sun63659ff2016-12-28 08:43:43 -0800193 select SYS_FSL_ERRATUM_A004477
194 select SYS_FSL_ERRATUM_A005871
195 select SYS_FSL_ERRATUM_A006379
196 select SYS_FSL_ERRATUM_A006384
197 select SYS_FSL_ERRATUM_A006475
198 select SYS_FSL_ERRATUM_A006593
199 select SYS_FSL_ERRATUM_A007075
Tom Rini601483f2022-06-16 14:04:40 -0400200 select SYS_FSL_ERRATUM_A007186 if CHAIN_OF_TRUST
York Sun63659ff2016-12-28 08:43:43 -0800201 select SYS_FSL_ERRATUM_A007212
202 select SYS_FSL_ERRATUM_A009942
York Sund26e34c2016-12-28 08:43:40 -0800203 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800204 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800205 select SYS_FSL_QORIQ_CHASSIS2
York Sun90b80382016-12-28 08:43:31 -0800206 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800207 select SYS_FSL_SEC_COMPAT_4
York Sun48512782016-12-28 08:43:50 -0800208 select SYS_PPC64
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530209 select FSL_IFC
Simon Glassa1dc9802017-05-17 03:25:10 -0600210 imply CMD_EEPROM
Tom Rini8f1a80e2017-07-28 21:31:42 -0400211 imply CMD_NAND
Christophe Leroyfa379222017-08-04 16:34:40 -0600212 imply CMD_REGINFO
York Sunb41f1922016-11-18 11:56:57 -0800213
York Sun3006ebc2016-11-18 11:44:43 -0800214config ARCH_B4860
215 bool
York Sunf8dee362016-12-28 08:43:27 -0800216 select E500MC
York Sun9ec10102016-12-28 08:43:48 -0800217 select E6500
York Sun05cb79a2016-12-02 10:44:34 -0800218 select FSL_LAW
Tom Rini1e7750f2022-06-16 14:04:34 -0400219 select HETROGENOUS_CLUSTERS
York Sun22120f12016-12-28 08:43:46 -0800220 select SYS_FSL_DDR_VER_47
York Sun63659ff2016-12-28 08:43:43 -0800221 select SYS_FSL_ERRATUM_A004477
222 select SYS_FSL_ERRATUM_A005871
223 select SYS_FSL_ERRATUM_A006379
224 select SYS_FSL_ERRATUM_A006384
225 select SYS_FSL_ERRATUM_A006475
226 select SYS_FSL_ERRATUM_A006593
227 select SYS_FSL_ERRATUM_A007075
Tom Rini601483f2022-06-16 14:04:40 -0400228 select SYS_FSL_ERRATUM_A007186 if CHAIN_OF_TRUST
York Sun63659ff2016-12-28 08:43:43 -0800229 select SYS_FSL_ERRATUM_A007212
Darwin Dingel06ad9702016-10-25 09:48:01 +1300230 select SYS_FSL_ERRATUM_A007907
York Sun63659ff2016-12-28 08:43:43 -0800231 select SYS_FSL_ERRATUM_A009942
York Sund26e34c2016-12-28 08:43:40 -0800232 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800233 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800234 select SYS_FSL_QORIQ_CHASSIS2
York Sun90b80382016-12-28 08:43:31 -0800235 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800236 select SYS_FSL_SEC_COMPAT_4
York Sun48512782016-12-28 08:43:50 -0800237 select SYS_PPC64
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530238 select FSL_IFC
Simon Glassa1dc9802017-05-17 03:25:10 -0600239 imply CMD_EEPROM
Tom Rini8f1a80e2017-07-28 21:31:42 -0400240 imply CMD_NAND
Christophe Leroyfa379222017-08-04 16:34:40 -0600241 imply CMD_REGINFO
York Sun3006ebc2016-11-18 11:44:43 -0800242
York Sun115d60c2016-11-15 14:09:50 -0800243config ARCH_BSC9131
244 bool
York Sun05cb79a2016-12-02 10:44:34 -0800245 select FSL_LAW
York Sun22120f12016-12-28 08:43:46 -0800246 select SYS_FSL_DDR_VER_44
York Sun63659ff2016-12-28 08:43:43 -0800247 select SYS_FSL_ERRATUM_A004477
248 select SYS_FSL_ERRATUM_A005125
York Sunc01e4a12016-12-28 08:43:42 -0800249 select SYS_FSL_ERRATUM_ESDHC111
York Sund26e34c2016-12-28 08:43:40 -0800250 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800251 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800252 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800253 select SYS_FSL_SEC_COMPAT_4
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530254 select FSL_IFC
Simon Glassa1dc9802017-05-17 03:25:10 -0600255 imply CMD_EEPROM
Tom Rini8f1a80e2017-07-28 21:31:42 -0400256 imply CMD_NAND
Christophe Leroyfa379222017-08-04 16:34:40 -0600257 imply CMD_REGINFO
York Sun115d60c2016-11-15 14:09:50 -0800258
259config ARCH_BSC9132
260 bool
York Sun05cb79a2016-12-02 10:44:34 -0800261 select FSL_LAW
York Sun22120f12016-12-28 08:43:46 -0800262 select SYS_FSL_DDR_VER_46
York Sun63659ff2016-12-28 08:43:43 -0800263 select SYS_FSL_ERRATUM_A004477
264 select SYS_FSL_ERRATUM_A005125
265 select SYS_FSL_ERRATUM_A005434
York Sunc01e4a12016-12-28 08:43:42 -0800266 select SYS_FSL_ERRATUM_ESDHC111
York Sun63659ff2016-12-28 08:43:43 -0800267 select SYS_FSL_ERRATUM_I2C_A004447
268 select SYS_FSL_ERRATUM_IFC_A002769
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800269 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800270 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800271 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800272 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800273 select SYS_FSL_SEC_COMPAT_4
York Sun53c95382016-12-28 08:43:29 -0800274 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530275 select FSL_IFC
Simon Glassa1dc9802017-05-17 03:25:10 -0600276 imply CMD_EEPROM
Tom Rinid56b4b12017-07-22 18:36:16 -0400277 imply CMD_MTDPARTS
Tom Rini8f1a80e2017-07-28 21:31:42 -0400278 imply CMD_NAND
Simon Glass6500ec72017-08-04 16:34:34 -0600279 imply CMD_PCI
Christophe Leroyfa379222017-08-04 16:34:40 -0600280 imply CMD_REGINFO
York Sun115d60c2016-11-15 14:09:50 -0800281
York Sun4fd64742016-11-15 18:44:22 -0800282config ARCH_C29X
283 bool
York Sun05cb79a2016-12-02 10:44:34 -0800284 select FSL_LAW
York Sun22120f12016-12-28 08:43:46 -0800285 select SYS_FSL_DDR_VER_46
York Sun63659ff2016-12-28 08:43:43 -0800286 select SYS_FSL_ERRATUM_A005125
York Sunc01e4a12016-12-28 08:43:42 -0800287 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800288 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800289 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800290 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800291 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800292 select SYS_FSL_SEC_COMPAT_6
York Sun53c95382016-12-28 08:43:29 -0800293 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530294 select FSL_IFC
Tom Rini8f1a80e2017-07-28 21:31:42 -0400295 imply CMD_NAND
Simon Glass6500ec72017-08-04 16:34:34 -0600296 imply CMD_PCI
Christophe Leroyfa379222017-08-04 16:34:40 -0600297 imply CMD_REGINFO
York Sun4fd64742016-11-15 18:44:22 -0800298
York Sun24ad75a2016-11-16 11:06:47 -0800299config ARCH_MPC8536
300 bool
York Sun05cb79a2016-12-02 10:44:34 -0800301 select FSL_LAW
York Sun63659ff2016-12-28 08:43:43 -0800302 select SYS_FSL_ERRATUM_A004508
303 select SYS_FSL_ERRATUM_A005125
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800304 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800305 select SYS_FSL_HAS_DDR2
306 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800307 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800308 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800309 select SYS_FSL_SEC_COMPAT_2
York Sun53c95382016-12-28 08:43:29 -0800310 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530311 select FSL_ELBC
Tom Rini8f1a80e2017-07-28 21:31:42 -0400312 imply CMD_NAND
Simon Glass3bf926c2017-06-14 21:28:24 -0600313 imply CMD_SATA
Christophe Leroyfa379222017-08-04 16:34:40 -0600314 imply CMD_REGINFO
York Sun24ad75a2016-11-16 11:06:47 -0800315
York Sun7f825212016-11-16 11:13:06 -0800316config ARCH_MPC8540
317 bool
York Sun05cb79a2016-12-02 10:44:34 -0800318 select FSL_LAW
York Sund26e34c2016-12-28 08:43:40 -0800319 select SYS_FSL_HAS_DDR1
York Sun7f825212016-11-16 11:13:06 -0800320
York Sun25cb74b2016-11-15 13:57:15 -0800321config ARCH_MPC8544
322 bool
Tom Rinia3041d92022-02-23 12:28:15 -0500323 select BTB
York Sun05cb79a2016-12-02 10:44:34 -0800324 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400325 select SYS_CACHE_SHIFT_5
York Sun63659ff2016-12-28 08:43:43 -0800326 select SYS_FSL_ERRATUM_A005125
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800327 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800328 select SYS_FSL_HAS_DDR2
York Sun2c2e2c92016-12-28 08:43:30 -0800329 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800330 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800331 select SYS_FSL_SEC_COMPAT_2
York Sun53c95382016-12-28 08:43:29 -0800332 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530333 select FSL_ELBC
York Sun25cb74b2016-11-15 13:57:15 -0800334
York Sun281ed4c2016-11-15 13:52:34 -0800335config ARCH_MPC8548
336 bool
Tom Rinia3041d92022-02-23 12:28:15 -0500337 select BTB
York Sun05cb79a2016-12-02 10:44:34 -0800338 select FSL_LAW
York Sun63659ff2016-12-28 08:43:43 -0800339 select SYS_FSL_ERRATUM_A005125
340 select SYS_FSL_ERRATUM_NMG_DDR120
341 select SYS_FSL_ERRATUM_NMG_LBC103
342 select SYS_FSL_ERRATUM_NMG_ETSEC129
343 select SYS_FSL_ERRATUM_I2C_A004447
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800344 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800345 select SYS_FSL_HAS_DDR2
346 select SYS_FSL_HAS_DDR1
York Sun2c2e2c92016-12-28 08:43:30 -0800347 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800348 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800349 select SYS_FSL_SEC_COMPAT_2
York Sun53c95382016-12-28 08:43:29 -0800350 select SYS_PPC_E500_USE_DEBUG_TLB
Christophe Leroyfa379222017-08-04 16:34:40 -0600351 imply CMD_REGINFO
York Sun281ed4c2016-11-15 13:52:34 -0800352
York Sun99d0a312016-11-16 11:26:45 -0800353config ARCH_MPC8560
354 bool
York Sun05cb79a2016-12-02 10:44:34 -0800355 select FSL_LAW
York Sund26e34c2016-12-28 08:43:40 -0800356 select SYS_FSL_HAS_DDR1
York Sun99d0a312016-11-16 11:26:45 -0800357
York Sun7d5f9f82016-11-16 13:08:52 -0800358config ARCH_P1010
359 bool
Tom Rinifdd0da42022-03-11 09:11:59 -0500360 select A003399_NOR_WORKAROUND if SYS_FSL_ERRATUM_IFC_A003399 && !SPL
Tom Rinia3041d92022-02-23 12:28:15 -0500361 select BTB
York Sun05cb79a2016-12-02 10:44:34 -0800362 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400363 select SYS_CACHE_SHIFT_5
Tom Rinif76750d2021-12-11 14:55:51 -0500364 select SYS_HAS_SERDES
York Sun63659ff2016-12-28 08:43:43 -0800365 select SYS_FSL_ERRATUM_A004477
366 select SYS_FSL_ERRATUM_A004508
367 select SYS_FSL_ERRATUM_A005125
Chris Packham4eaf7f52018-10-04 20:03:53 +1300368 select SYS_FSL_ERRATUM_A005275
York Sun63659ff2016-12-28 08:43:43 -0800369 select SYS_FSL_ERRATUM_A006261
370 select SYS_FSL_ERRATUM_A007075
York Sunc01e4a12016-12-28 08:43:42 -0800371 select SYS_FSL_ERRATUM_ESDHC111
York Sun63659ff2016-12-28 08:43:43 -0800372 select SYS_FSL_ERRATUM_I2C_A004447
373 select SYS_FSL_ERRATUM_IFC_A002769
374 select SYS_FSL_ERRATUM_P1010_A003549
375 select SYS_FSL_ERRATUM_SEC_A003571
376 select SYS_FSL_ERRATUM_IFC_A003399
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800377 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800378 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800379 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800380 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800381 select SYS_FSL_SEC_COMPAT_4
York Sun53c95382016-12-28 08:43:29 -0800382 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530383 select FSL_IFC
Simon Glassa1dc9802017-05-17 03:25:10 -0600384 imply CMD_EEPROM
Tom Rinid56b4b12017-07-22 18:36:16 -0400385 imply CMD_MTDPARTS
Tom Rini8f1a80e2017-07-28 21:31:42 -0400386 imply CMD_NAND
Simon Glass3bf926c2017-06-14 21:28:24 -0600387 imply CMD_SATA
Simon Glass6500ec72017-08-04 16:34:34 -0600388 imply CMD_PCI
Christophe Leroyfa379222017-08-04 16:34:40 -0600389 imply CMD_REGINFO
Tuomas Tynkkynen9920d152017-12-08 15:36:17 +0200390 imply FSL_SATA
Simon Glassd6b318d2021-12-18 11:27:50 -0700391 imply TIMESTAMP
York Sun7d5f9f82016-11-16 13:08:52 -0800392
York Sun1cdd96f2016-11-16 15:54:15 -0800393config ARCH_P1011
394 bool
York Sun05cb79a2016-12-02 10:44:34 -0800395 select FSL_LAW
York Sun63659ff2016-12-28 08:43:43 -0800396 select SYS_FSL_ERRATUM_A004508
397 select SYS_FSL_ERRATUM_A005125
398 select SYS_FSL_ERRATUM_ELBC_A001
York Sunc01e4a12016-12-28 08:43:42 -0800399 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiangc16dfd02019-05-22 22:46:03 +0800400 select FSL_PCIE_DISABLE_ASPM
York Sund26e34c2016-12-28 08:43:40 -0800401 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800402 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800403 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800404 select SYS_FSL_SEC_COMPAT_2
York Sun53c95382016-12-28 08:43:29 -0800405 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530406 select FSL_ELBC
York Sun1cdd96f2016-11-16 15:54:15 -0800407
York Sun484fff62016-11-18 10:02:14 -0800408config ARCH_P1020
409 bool
Tom Rinia3041d92022-02-23 12:28:15 -0500410 select BTB
York Sun05cb79a2016-12-02 10:44:34 -0800411 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400412 select SYS_CACHE_SHIFT_5
York Sun63659ff2016-12-28 08:43:43 -0800413 select SYS_FSL_ERRATUM_A004508
414 select SYS_FSL_ERRATUM_A005125
415 select SYS_FSL_ERRATUM_ELBC_A001
York Sunc01e4a12016-12-28 08:43:42 -0800416 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiangc16dfd02019-05-22 22:46:03 +0800417 select FSL_PCIE_DISABLE_ASPM
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800418 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800419 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800420 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800421 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800422 select SYS_FSL_SEC_COMPAT_2
York Sun53c95382016-12-28 08:43:29 -0800423 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530424 select FSL_ELBC
Tom Rini8f1a80e2017-07-28 21:31:42 -0400425 imply CMD_NAND
Simon Glass3bf926c2017-06-14 21:28:24 -0600426 imply CMD_SATA
Simon Glass6500ec72017-08-04 16:34:34 -0600427 imply CMD_PCI
Christophe Leroyfa379222017-08-04 16:34:40 -0600428 imply CMD_REGINFO
Tuomas Tynkkynenc88ecf42017-12-08 15:36:14 +0200429 imply SATA_SIL
York Sun484fff62016-11-18 10:02:14 -0800430
York Suna9907992016-11-18 10:59:02 -0800431config ARCH_P1021
432 bool
York Sun05cb79a2016-12-02 10:44:34 -0800433 select FSL_LAW
York Sun63659ff2016-12-28 08:43:43 -0800434 select SYS_FSL_ERRATUM_A004508
435 select SYS_FSL_ERRATUM_A005125
436 select SYS_FSL_ERRATUM_ELBC_A001
York Sunc01e4a12016-12-28 08:43:42 -0800437 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiangc16dfd02019-05-22 22:46:03 +0800438 select FSL_PCIE_DISABLE_ASPM
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800439 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800440 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800441 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800442 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800443 select SYS_FSL_SEC_COMPAT_2
York Sun53c95382016-12-28 08:43:29 -0800444 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530445 select FSL_ELBC
Christophe Leroyfa379222017-08-04 16:34:40 -0600446 imply CMD_REGINFO
Tom Rini8f1a80e2017-07-28 21:31:42 -0400447 imply CMD_NAND
Simon Glass3bf926c2017-06-14 21:28:24 -0600448 imply CMD_SATA
Christophe Leroyfa379222017-08-04 16:34:40 -0600449 imply CMD_REGINFO
Tuomas Tynkkynenc88ecf42017-12-08 15:36:14 +0200450 imply SATA_SIL
York Suna9907992016-11-18 10:59:02 -0800451
York Sun9bb1d6b2016-11-16 15:45:31 -0800452config ARCH_P1023
453 bool
York Sun05cb79a2016-12-02 10:44:34 -0800454 select FSL_LAW
York Sun63659ff2016-12-28 08:43:43 -0800455 select SYS_FSL_ERRATUM_A004508
456 select SYS_FSL_ERRATUM_A005125
457 select SYS_FSL_ERRATUM_I2C_A004447
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800458 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800459 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800460 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800461 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800462 select SYS_FSL_SEC_COMPAT_4
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530463 select FSL_ELBC
York Sun9bb1d6b2016-11-16 15:45:31 -0800464
York Sun52b6f132016-11-18 11:00:57 -0800465config ARCH_P1024
466 bool
York Sun05cb79a2016-12-02 10:44:34 -0800467 select FSL_LAW
York Sun63659ff2016-12-28 08:43:43 -0800468 select SYS_FSL_ERRATUM_A004508
469 select SYS_FSL_ERRATUM_A005125
470 select SYS_FSL_ERRATUM_ELBC_A001
York Sunc01e4a12016-12-28 08:43:42 -0800471 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiangc16dfd02019-05-22 22:46:03 +0800472 select FSL_PCIE_DISABLE_ASPM
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800473 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800474 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800475 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800476 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800477 select SYS_FSL_SEC_COMPAT_2
York Sun53c95382016-12-28 08:43:29 -0800478 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530479 select FSL_ELBC
Simon Glassa1dc9802017-05-17 03:25:10 -0600480 imply CMD_EEPROM
Tom Rini8f1a80e2017-07-28 21:31:42 -0400481 imply CMD_NAND
Simon Glass3bf926c2017-06-14 21:28:24 -0600482 imply CMD_SATA
Simon Glass6500ec72017-08-04 16:34:34 -0600483 imply CMD_PCI
Christophe Leroyfa379222017-08-04 16:34:40 -0600484 imply CMD_REGINFO
Tuomas Tynkkynenc88ecf42017-12-08 15:36:14 +0200485 imply SATA_SIL
York Sun52b6f132016-11-18 11:00:57 -0800486
York Sun4167a672016-11-18 11:05:38 -0800487config ARCH_P1025
488 bool
York Sun05cb79a2016-12-02 10:44:34 -0800489 select FSL_LAW
York Sun63659ff2016-12-28 08:43:43 -0800490 select SYS_FSL_ERRATUM_A004508
491 select SYS_FSL_ERRATUM_A005125
492 select SYS_FSL_ERRATUM_ELBC_A001
York Sunc01e4a12016-12-28 08:43:42 -0800493 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiangc16dfd02019-05-22 22:46:03 +0800494 select FSL_PCIE_DISABLE_ASPM
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800495 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800496 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800497 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800498 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800499 select SYS_FSL_SEC_COMPAT_2
York Sun53c95382016-12-28 08:43:29 -0800500 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530501 select FSL_ELBC
Simon Glass3bf926c2017-06-14 21:28:24 -0600502 imply CMD_SATA
Christophe Leroyfa379222017-08-04 16:34:40 -0600503 imply CMD_REGINFO
York Sun4167a672016-11-18 11:05:38 -0800504
York Sun45936372016-11-18 11:08:43 -0800505config ARCH_P2020
506 bool
Tom Rinia3041d92022-02-23 12:28:15 -0500507 select BTB
York Sun05cb79a2016-12-02 10:44:34 -0800508 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400509 select SYS_CACHE_SHIFT_5
York Sun63659ff2016-12-28 08:43:43 -0800510 select SYS_FSL_ERRATUM_A004477
511 select SYS_FSL_ERRATUM_A004508
512 select SYS_FSL_ERRATUM_A005125
York Sunc01e4a12016-12-28 08:43:42 -0800513 select SYS_FSL_ERRATUM_ESDHC111
514 select SYS_FSL_ERRATUM_ESDHC_A001
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800515 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800516 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800517 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800518 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800519 select SYS_FSL_SEC_COMPAT_2
York Sun53c95382016-12-28 08:43:29 -0800520 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530521 select FSL_ELBC
Simon Glassa1dc9802017-05-17 03:25:10 -0600522 imply CMD_EEPROM
Tom Rini8f1a80e2017-07-28 21:31:42 -0400523 imply CMD_NAND
Christophe Leroyfa379222017-08-04 16:34:40 -0600524 imply CMD_REGINFO
Simon Glassd6b318d2021-12-18 11:27:50 -0700525 imply TIMESTAMP
York Sun45936372016-11-18 11:08:43 -0800526
York Sunce040c82016-11-18 11:15:21 -0800527config ARCH_P2041
528 bool
Tom Rinib40d2b22022-03-18 08:38:32 -0400529 select BACKSIDE_L2_CACHE
York Sunf8dee362016-12-28 08:43:27 -0800530 select E500MC
York Sun05cb79a2016-12-02 10:44:34 -0800531 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400532 select SYS_CACHE_SHIFT_6
York Sun63659ff2016-12-28 08:43:43 -0800533 select SYS_FSL_ERRATUM_A004510
534 select SYS_FSL_ERRATUM_A004849
Chris Packham4eaf7f52018-10-04 20:03:53 +1300535 select SYS_FSL_ERRATUM_A005275
York Sun63659ff2016-12-28 08:43:43 -0800536 select SYS_FSL_ERRATUM_A006261
537 select SYS_FSL_ERRATUM_CPU_A003999
538 select SYS_FSL_ERRATUM_DDR_A003
539 select SYS_FSL_ERRATUM_DDR_A003474
York Sunc01e4a12016-12-28 08:43:42 -0800540 select SYS_FSL_ERRATUM_ESDHC111
York Sun63659ff2016-12-28 08:43:43 -0800541 select SYS_FSL_ERRATUM_I2C_A004447
542 select SYS_FSL_ERRATUM_NMG_CPU_A011
543 select SYS_FSL_ERRATUM_SRIO_A004034
544 select SYS_FSL_ERRATUM_USB14
York Sund26e34c2016-12-28 08:43:40 -0800545 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800546 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800547 select SYS_FSL_QORIQ_CHASSIS1
York Sun90b80382016-12-28 08:43:31 -0800548 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800549 select SYS_FSL_SEC_COMPAT_4
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530550 select FSL_ELBC
Tom Rini8f1a80e2017-07-28 21:31:42 -0400551 imply CMD_NAND
York Sunce040c82016-11-18 11:15:21 -0800552
York Sun5e5fdd22016-11-18 11:20:40 -0800553config ARCH_P3041
554 bool
Tom Rinib40d2b22022-03-18 08:38:32 -0400555 select BACKSIDE_L2_CACHE
York Sunf8dee362016-12-28 08:43:27 -0800556 select E500MC
York Sun05cb79a2016-12-02 10:44:34 -0800557 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400558 select SYS_CACHE_SHIFT_6
York Sun22120f12016-12-28 08:43:46 -0800559 select SYS_FSL_DDR_VER_44
York Sun63659ff2016-12-28 08:43:43 -0800560 select SYS_FSL_ERRATUM_A004510
561 select SYS_FSL_ERRATUM_A004849
Chris Packham4eaf7f52018-10-04 20:03:53 +1300562 select SYS_FSL_ERRATUM_A005275
York Sun63659ff2016-12-28 08:43:43 -0800563 select SYS_FSL_ERRATUM_A005812
564 select SYS_FSL_ERRATUM_A006261
565 select SYS_FSL_ERRATUM_CPU_A003999
566 select SYS_FSL_ERRATUM_DDR_A003
567 select SYS_FSL_ERRATUM_DDR_A003474
York Sunc01e4a12016-12-28 08:43:42 -0800568 select SYS_FSL_ERRATUM_ESDHC111
York Sun63659ff2016-12-28 08:43:43 -0800569 select SYS_FSL_ERRATUM_I2C_A004447
570 select SYS_FSL_ERRATUM_NMG_CPU_A011
571 select SYS_FSL_ERRATUM_SRIO_A004034
572 select SYS_FSL_ERRATUM_USB14
York Sund26e34c2016-12-28 08:43:40 -0800573 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800574 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800575 select SYS_FSL_QORIQ_CHASSIS1
York Sun90b80382016-12-28 08:43:31 -0800576 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800577 select SYS_FSL_SEC_COMPAT_4
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530578 select FSL_ELBC
Tom Rini8f1a80e2017-07-28 21:31:42 -0400579 imply CMD_NAND
Simon Glass3bf926c2017-06-14 21:28:24 -0600580 imply CMD_SATA
Christophe Leroyfa379222017-08-04 16:34:40 -0600581 imply CMD_REGINFO
Tuomas Tynkkynen9920d152017-12-08 15:36:17 +0200582 imply FSL_SATA
York Sun5e5fdd22016-11-18 11:20:40 -0800583
York Sune71372c2016-11-18 11:24:40 -0800584config ARCH_P4080
585 bool
Tom Rinib40d2b22022-03-18 08:38:32 -0400586 select BACKSIDE_L2_CACHE
York Sunf8dee362016-12-28 08:43:27 -0800587 select E500MC
York Sun05cb79a2016-12-02 10:44:34 -0800588 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400589 select SYS_CACHE_SHIFT_6
York Sun22120f12016-12-28 08:43:46 -0800590 select SYS_FSL_DDR_VER_44
York Sun63659ff2016-12-28 08:43:43 -0800591 select SYS_FSL_ERRATUM_A004510
592 select SYS_FSL_ERRATUM_A004580
593 select SYS_FSL_ERRATUM_A004849
594 select SYS_FSL_ERRATUM_A005812
595 select SYS_FSL_ERRATUM_A007075
596 select SYS_FSL_ERRATUM_CPC_A002
597 select SYS_FSL_ERRATUM_CPC_A003
598 select SYS_FSL_ERRATUM_CPU_A003999
599 select SYS_FSL_ERRATUM_DDR_A003
600 select SYS_FSL_ERRATUM_DDR_A003474
601 select SYS_FSL_ERRATUM_ELBC_A001
York Sunc01e4a12016-12-28 08:43:42 -0800602 select SYS_FSL_ERRATUM_ESDHC111
603 select SYS_FSL_ERRATUM_ESDHC13
604 select SYS_FSL_ERRATUM_ESDHC135
York Sun63659ff2016-12-28 08:43:43 -0800605 select SYS_FSL_ERRATUM_I2C_A004447
606 select SYS_FSL_ERRATUM_NMG_CPU_A011
607 select SYS_FSL_ERRATUM_SRIO_A004034
608 select SYS_P4080_ERRATUM_CPU22
609 select SYS_P4080_ERRATUM_PCIE_A003
610 select SYS_P4080_ERRATUM_SERDES8
611 select SYS_P4080_ERRATUM_SERDES9
612 select SYS_P4080_ERRATUM_SERDES_A001
613 select SYS_P4080_ERRATUM_SERDES_A005
York Sund26e34c2016-12-28 08:43:40 -0800614 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800615 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800616 select SYS_FSL_QORIQ_CHASSIS1
York Sun90b80382016-12-28 08:43:31 -0800617 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800618 select SYS_FSL_SEC_COMPAT_4
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530619 select FSL_ELBC
Simon Glass3bf926c2017-06-14 21:28:24 -0600620 imply CMD_SATA
Christophe Leroyfa379222017-08-04 16:34:40 -0600621 imply CMD_REGINFO
Tuomas Tynkkynenc88ecf42017-12-08 15:36:14 +0200622 imply SATA_SIL
York Sune71372c2016-11-18 11:24:40 -0800623
York Sun95390362016-11-18 11:39:36 -0800624config ARCH_P5040
625 bool
Tom Rinib40d2b22022-03-18 08:38:32 -0400626 select BACKSIDE_L2_CACHE
York Sunf8dee362016-12-28 08:43:27 -0800627 select E500MC
York Sun05cb79a2016-12-02 10:44:34 -0800628 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400629 select SYS_CACHE_SHIFT_6
York Sun22120f12016-12-28 08:43:46 -0800630 select SYS_FSL_DDR_VER_44
York Sun63659ff2016-12-28 08:43:43 -0800631 select SYS_FSL_ERRATUM_A004510
632 select SYS_FSL_ERRATUM_A004699
Chris Packham4eaf7f52018-10-04 20:03:53 +1300633 select SYS_FSL_ERRATUM_A005275
York Sun63659ff2016-12-28 08:43:43 -0800634 select SYS_FSL_ERRATUM_A005812
635 select SYS_FSL_ERRATUM_A006261
636 select SYS_FSL_ERRATUM_DDR_A003
637 select SYS_FSL_ERRATUM_DDR_A003474
York Sunc01e4a12016-12-28 08:43:42 -0800638 select SYS_FSL_ERRATUM_ESDHC111
York Sun63659ff2016-12-28 08:43:43 -0800639 select SYS_FSL_ERRATUM_USB14
York Sund26e34c2016-12-28 08:43:40 -0800640 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800641 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800642 select SYS_FSL_QORIQ_CHASSIS1
York Sun90b80382016-12-28 08:43:31 -0800643 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800644 select SYS_FSL_SEC_COMPAT_4
York Sun48512782016-12-28 08:43:50 -0800645 select SYS_PPC64
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530646 select FSL_ELBC
Simon Glass3bf926c2017-06-14 21:28:24 -0600647 imply CMD_SATA
Christophe Leroyfa379222017-08-04 16:34:40 -0600648 imply CMD_REGINFO
Tuomas Tynkkynen9920d152017-12-08 15:36:17 +0200649 imply FSL_SATA
York Sun95390362016-11-18 11:39:36 -0800650
York Sun10343402016-11-18 12:29:51 -0800651config ARCH_QEMU_E500
652 bool
Tom Riniab92b382021-08-26 11:47:59 -0400653 select SYS_CACHE_SHIFT_5
York Sun10343402016-11-18 12:29:51 -0800654
York Sune5d5f5a2016-11-18 13:01:34 -0800655config ARCH_T1024
656 bool
Tom Rinib40d2b22022-03-18 08:38:32 -0400657 select BACKSIDE_L2_CACHE
York Sunf8dee362016-12-28 08:43:27 -0800658 select E500MC
Tom Rinif2428ac2022-03-24 17:18:01 -0400659 select E5500
York Sun05cb79a2016-12-02 10:44:34 -0800660 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400661 select SYS_CACHE_SHIFT_6
York Sun22120f12016-12-28 08:43:46 -0800662 select SYS_FSL_DDR_VER_50
York Sun63659ff2016-12-28 08:43:43 -0800663 select SYS_FSL_ERRATUM_A008378
Jaiprakash Singh164a5af2020-06-02 12:44:02 +0530664 select SYS_FSL_ERRATUM_A008109
York Sun63659ff2016-12-28 08:43:43 -0800665 select SYS_FSL_ERRATUM_A009663
666 select SYS_FSL_ERRATUM_A009942
York Sunc01e4a12016-12-28 08:43:42 -0800667 select SYS_FSL_ERRATUM_ESDHC111
York Sund26e34c2016-12-28 08:43:40 -0800668 select SYS_FSL_HAS_DDR3
669 select SYS_FSL_HAS_DDR4
York Sun2c2e2c92016-12-28 08:43:30 -0800670 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800671 select SYS_FSL_QORIQ_CHASSIS2
York Sun90b80382016-12-28 08:43:31 -0800672 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800673 select SYS_FSL_SEC_COMPAT_5
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530674 select FSL_IFC
Simon Glassa1dc9802017-05-17 03:25:10 -0600675 imply CMD_EEPROM
Tom Rini8f1a80e2017-07-28 21:31:42 -0400676 imply CMD_NAND
Tom Rinid56b4b12017-07-22 18:36:16 -0400677 imply CMD_MTDPARTS
Christophe Leroyfa379222017-08-04 16:34:40 -0600678 imply CMD_REGINFO
York Sune5d5f5a2016-11-18 13:01:34 -0800679
York Sun5d737012016-11-18 13:11:12 -0800680config ARCH_T1040
681 bool
Tom Rinib40d2b22022-03-18 08:38:32 -0400682 select BACKSIDE_L2_CACHE
York Sunf8dee362016-12-28 08:43:27 -0800683 select E500MC
Tom Rinif2428ac2022-03-24 17:18:01 -0400684 select E5500
York Sun05cb79a2016-12-02 10:44:34 -0800685 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400686 select SYS_CACHE_SHIFT_6
York Sun22120f12016-12-28 08:43:46 -0800687 select SYS_FSL_DDR_VER_50
York Sun63659ff2016-12-28 08:43:43 -0800688 select SYS_FSL_ERRATUM_A008044
689 select SYS_FSL_ERRATUM_A008378
Joakim Tjernlund73af0942019-11-20 17:07:34 +0100690 select SYS_FSL_ERRATUM_A008109
York Sun63659ff2016-12-28 08:43:43 -0800691 select SYS_FSL_ERRATUM_A009663
692 select SYS_FSL_ERRATUM_A009942
York Sunc01e4a12016-12-28 08:43:42 -0800693 select SYS_FSL_ERRATUM_ESDHC111
York Sund26e34c2016-12-28 08:43:40 -0800694 select SYS_FSL_HAS_DDR3
695 select SYS_FSL_HAS_DDR4
York Sun2c2e2c92016-12-28 08:43:30 -0800696 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800697 select SYS_FSL_QORIQ_CHASSIS2
York Sun90b80382016-12-28 08:43:31 -0800698 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800699 select SYS_FSL_SEC_COMPAT_5
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530700 select FSL_IFC
Tom Rinid56b4b12017-07-22 18:36:16 -0400701 imply CMD_MTDPARTS
Tom Rini8f1a80e2017-07-28 21:31:42 -0400702 imply CMD_NAND
Christophe Leroyfa379222017-08-04 16:34:40 -0600703 imply CMD_REGINFO
York Sun5d737012016-11-18 13:11:12 -0800704
York Sun5449c982016-11-18 13:36:39 -0800705config ARCH_T1042
706 bool
Tom Rinib40d2b22022-03-18 08:38:32 -0400707 select BACKSIDE_L2_CACHE
York Sunf8dee362016-12-28 08:43:27 -0800708 select E500MC
Tom Rinif2428ac2022-03-24 17:18:01 -0400709 select E5500
York Sun05cb79a2016-12-02 10:44:34 -0800710 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400711 select SYS_CACHE_SHIFT_6
York Sun22120f12016-12-28 08:43:46 -0800712 select SYS_FSL_DDR_VER_50
York Sun63659ff2016-12-28 08:43:43 -0800713 select SYS_FSL_ERRATUM_A008044
714 select SYS_FSL_ERRATUM_A008378
Joakim Tjernlund73af0942019-11-20 17:07:34 +0100715 select SYS_FSL_ERRATUM_A008109
York Sun63659ff2016-12-28 08:43:43 -0800716 select SYS_FSL_ERRATUM_A009663
717 select SYS_FSL_ERRATUM_A009942
York Sunc01e4a12016-12-28 08:43:42 -0800718 select SYS_FSL_ERRATUM_ESDHC111
York Sund26e34c2016-12-28 08:43:40 -0800719 select SYS_FSL_HAS_DDR3
720 select SYS_FSL_HAS_DDR4
York Sun2c2e2c92016-12-28 08:43:30 -0800721 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800722 select SYS_FSL_QORIQ_CHASSIS2
York Sun90b80382016-12-28 08:43:31 -0800723 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800724 select SYS_FSL_SEC_COMPAT_5
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530725 select FSL_IFC
Tom Rinid56b4b12017-07-22 18:36:16 -0400726 imply CMD_MTDPARTS
Tom Rini8f1a80e2017-07-28 21:31:42 -0400727 imply CMD_NAND
Christophe Leroyfa379222017-08-04 16:34:40 -0600728 imply CMD_REGINFO
York Sun5449c982016-11-18 13:36:39 -0800729
York Sun0f3d80e2016-11-21 12:54:19 -0800730config ARCH_T2080
731 bool
York Sunf8dee362016-12-28 08:43:27 -0800732 select E500MC
York Sun9ec10102016-12-28 08:43:48 -0800733 select E6500
York Sun05cb79a2016-12-02 10:44:34 -0800734 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400735 select SYS_CACHE_SHIFT_6
York Sun22120f12016-12-28 08:43:46 -0800736 select SYS_FSL_DDR_VER_47
York Sun63659ff2016-12-28 08:43:43 -0800737 select SYS_FSL_ERRATUM_A006379
738 select SYS_FSL_ERRATUM_A006593
Tom Rini601483f2022-06-16 14:04:40 -0400739 select SYS_FSL_ERRATUM_A007186 if CHAIN_OF_TRUST
York Sun63659ff2016-12-28 08:43:43 -0800740 select SYS_FSL_ERRATUM_A007212
Tony O'Brien09bfd962016-12-02 09:22:34 +1300741 select SYS_FSL_ERRATUM_A007815
Darwin Dingel06ad9702016-10-25 09:48:01 +1300742 select SYS_FSL_ERRATUM_A007907
Jaiprakash Singh164a5af2020-06-02 12:44:02 +0530743 select SYS_FSL_ERRATUM_A008109
York Sun63659ff2016-12-28 08:43:43 -0800744 select SYS_FSL_ERRATUM_A009942
York Sunc01e4a12016-12-28 08:43:42 -0800745 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800746 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800747 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800748 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800749 select SYS_FSL_QORIQ_CHASSIS2
York Sun90b80382016-12-28 08:43:31 -0800750 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800751 select SYS_FSL_SEC_COMPAT_4
York Sun48512782016-12-28 08:43:50 -0800752 select SYS_PPC64
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530753 select FSL_IFC
Peng Maa2d4cb22019-12-23 09:28:12 +0000754 imply CMD_SATA
Tom Rini8f1a80e2017-07-28 21:31:42 -0400755 imply CMD_NAND
Christophe Leroyfa379222017-08-04 16:34:40 -0600756 imply CMD_REGINFO
Peng Maa2d4cb22019-12-23 09:28:12 +0000757 imply FSL_SATA
Tom Rinid7d40f62021-08-17 17:59:41 -0400758 imply ID_EEPROM
York Sun0f3d80e2016-11-21 12:54:19 -0800759
York Sun26bc57d2016-11-21 13:35:41 -0800760config ARCH_T4240
761 bool
York Sunf8dee362016-12-28 08:43:27 -0800762 select E500MC
York Sun9ec10102016-12-28 08:43:48 -0800763 select E6500
York Sun05cb79a2016-12-02 10:44:34 -0800764 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400765 select SYS_CACHE_SHIFT_6
York Sun22120f12016-12-28 08:43:46 -0800766 select SYS_FSL_DDR_VER_47
York Sun63659ff2016-12-28 08:43:43 -0800767 select SYS_FSL_ERRATUM_A004468
768 select SYS_FSL_ERRATUM_A005871
769 select SYS_FSL_ERRATUM_A006261
770 select SYS_FSL_ERRATUM_A006379
771 select SYS_FSL_ERRATUM_A006593
Tom Rini601483f2022-06-16 14:04:40 -0400772 select SYS_FSL_ERRATUM_A007186 if CHAIN_OF_TRUST
York Sun63659ff2016-12-28 08:43:43 -0800773 select SYS_FSL_ERRATUM_A007798
Tony O'Brien09bfd962016-12-02 09:22:34 +1300774 select SYS_FSL_ERRATUM_A007815
Darwin Dingel06ad9702016-10-25 09:48:01 +1300775 select SYS_FSL_ERRATUM_A007907
Jaiprakash Singh164a5af2020-06-02 12:44:02 +0530776 select SYS_FSL_ERRATUM_A008109
York Sun63659ff2016-12-28 08:43:43 -0800777 select SYS_FSL_ERRATUM_A009942
York Sund26e34c2016-12-28 08:43:40 -0800778 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800779 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800780 select SYS_FSL_QORIQ_CHASSIS2
York Sun90b80382016-12-28 08:43:31 -0800781 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800782 select SYS_FSL_SEC_COMPAT_4
York Sun48512782016-12-28 08:43:50 -0800783 select SYS_PPC64
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530784 select FSL_IFC
Simon Glass3bf926c2017-06-14 21:28:24 -0600785 imply CMD_SATA
Tom Rini8f1a80e2017-07-28 21:31:42 -0400786 imply CMD_NAND
Christophe Leroyfa379222017-08-04 16:34:40 -0600787 imply CMD_REGINFO
Tuomas Tynkkynen9920d152017-12-08 15:36:17 +0200788 imply FSL_SATA
York Sun05cb79a2016-12-02 10:44:34 -0800789
Jagdish Gediya96699f02018-09-03 21:35:10 +0530790config MPC85XX_HAVE_RESET_VECTOR
791 bool "Indicate reset vector at CONFIG_RESET_VECTOR_ADDRESS - 0xffc"
792 depends on MPC85xx
793
Tom Rinia3041d92022-02-23 12:28:15 -0500794config BTB
795 bool "toggle branch predition"
796
York Sunf8dee362016-12-28 08:43:27 -0800797config BOOKE
798 bool
799 default y
800
801config E500
802 bool
803 default y
804 help
805 Enable PowerPC E500 cores, including e500v1, e500v2, e500mc
806
807config E500MC
808 bool
Tom Rinia3041d92022-02-23 12:28:15 -0500809 select BTB
Simon Glass6500ec72017-08-04 16:34:34 -0600810 imply CMD_PCI
York Sunf8dee362016-12-28 08:43:27 -0800811 help
812 Enble PowerPC E500MC core
813
Tom Rinif2428ac2022-03-24 17:18:01 -0400814config E5500
815 bool
816
York Sun9ec10102016-12-28 08:43:48 -0800817config E6500
818 bool
Tom Rinia3041d92022-02-23 12:28:15 -0500819 select BTB
York Sun9ec10102016-12-28 08:43:48 -0800820 help
821 Enable PowerPC E6500 core
822
York Sun05cb79a2016-12-02 10:44:34 -0800823config FSL_LAW
824 bool
825 help
826 Use Freescale common code for Local Access Window
York Sun26bc57d2016-11-21 13:35:41 -0800827
Tom Rini1e7750f2022-06-16 14:04:34 -0400828config HETROGENOUS_CLUSTERS
829 bool
830
York Sun3f82b562016-11-23 12:30:40 -0800831config MAX_CPUS
832 int "Maximum number of CPUs permitted for MPC85xx"
833 default 12 if ARCH_T4240
Tom Riniec6b37c2021-05-23 10:58:05 -0400834 default 8 if ARCH_P4080
York Sun3f82b562016-11-23 12:30:40 -0800835 default 4 if ARCH_B4860 || \
836 ARCH_P2041 || \
837 ARCH_P3041 || \
838 ARCH_P5040 || \
839 ARCH_T1040 || \
840 ARCH_T1042 || \
Tom Rini2322b952021-02-20 20:06:21 -0500841 ARCH_T2080
York Sun3f82b562016-11-23 12:30:40 -0800842 default 2 if ARCH_B4420 || \
843 ARCH_BSC9132 || \
York Sun3f82b562016-11-23 12:30:40 -0800844 ARCH_P1020 || \
845 ARCH_P1021 || \
York Sun3f82b562016-11-23 12:30:40 -0800846 ARCH_P1023 || \
847 ARCH_P1024 || \
848 ARCH_P1025 || \
849 ARCH_P2020 || \
York Sun3f82b562016-11-23 12:30:40 -0800850 ARCH_T1024
851 default 1
852 help
853 Set this number to the maximum number of possible CPUs in the SoC.
854 SoCs may have multiple clusters with each cluster may have multiple
855 ports. If some ports are reserved but higher ports are used for
856 cores, count the reserved ports. This will allocate enough memory
857 in spin table to properly handle all cores.
858
York Sun830fc1b2016-12-01 13:26:06 -0800859config SYS_CCSRBAR_DEFAULT
860 hex "Default CCSRBAR address"
861 default 0xff700000 if ARCH_BSC9131 || \
862 ARCH_BSC9132 || \
863 ARCH_C29X || \
864 ARCH_MPC8536 || \
865 ARCH_MPC8540 || \
York Sun830fc1b2016-12-01 13:26:06 -0800866 ARCH_MPC8544 || \
867 ARCH_MPC8548 || \
York Sun830fc1b2016-12-01 13:26:06 -0800868 ARCH_MPC8560 || \
York Sun830fc1b2016-12-01 13:26:06 -0800869 ARCH_P1010 || \
870 ARCH_P1011 || \
871 ARCH_P1020 || \
872 ARCH_P1021 || \
York Sun830fc1b2016-12-01 13:26:06 -0800873 ARCH_P1024 || \
874 ARCH_P1025 || \
875 ARCH_P2020
876 default 0xff600000 if ARCH_P1023
877 default 0xfe000000 if ARCH_B4420 || \
878 ARCH_B4860 || \
879 ARCH_P2041 || \
880 ARCH_P3041 || \
881 ARCH_P4080 || \
York Sun830fc1b2016-12-01 13:26:06 -0800882 ARCH_P5040 || \
York Sun830fc1b2016-12-01 13:26:06 -0800883 ARCH_T1024 || \
884 ARCH_T1040 || \
885 ARCH_T1042 || \
886 ARCH_T2080 || \
York Sun830fc1b2016-12-01 13:26:06 -0800887 ARCH_T4240
888 default 0xe0000000 if ARCH_QEMU_E500
889 help
890 Default value of CCSRBAR comes from power-on-reset. It
891 is fixed on each SoC. Some SoCs can have different value
892 if changed by pre-boot regime. The value here must match
893 the current value in SoC. If not sure, do not change.
894
Tom Rinifdd0da42022-03-11 09:11:59 -0500895config A003399_NOR_WORKAROUND
896 bool
897 help
898 Enables a workaround for IFC erratum A003399. It is only required
899 during NOR boot.
900
Tom Rini5f7c8862022-03-11 09:12:00 -0500901config A008044_WORKAROUND
902 bool
903 help
904 Enables a workaround for T1040/T1042 erratum A008044. It is only
905 required during NAND boot and valid for Rev 1.0 SoC revision
906
York Sun63659ff2016-12-28 08:43:43 -0800907config SYS_FSL_ERRATUM_A004468
908 bool
909
910config SYS_FSL_ERRATUM_A004477
911 bool
912
913config SYS_FSL_ERRATUM_A004508
914 bool
915
916config SYS_FSL_ERRATUM_A004580
917 bool
918
919config SYS_FSL_ERRATUM_A004699
920 bool
921
922config SYS_FSL_ERRATUM_A004849
923 bool
924
925config SYS_FSL_ERRATUM_A004510
926 bool
927
928config SYS_FSL_ERRATUM_A004510_SVR_REV
929 hex
930 depends on SYS_FSL_ERRATUM_A004510
931 default 0x20 if ARCH_P4080
932 default 0x10
933
934config SYS_FSL_ERRATUM_A004510_SVR_REV2
935 hex
936 depends on (SYS_FSL_ERRATUM_A004510 && (ARCH_P2041 || ARCH_P3041))
937 default 0x11
938
939config SYS_FSL_ERRATUM_A005125
940 bool
941
942config SYS_FSL_ERRATUM_A005434
943 bool
944
945config SYS_FSL_ERRATUM_A005812
946 bool
947
948config SYS_FSL_ERRATUM_A005871
949 bool
950
Chris Packham4eaf7f52018-10-04 20:03:53 +1300951config SYS_FSL_ERRATUM_A005275
952 bool
953
York Sun63659ff2016-12-28 08:43:43 -0800954config SYS_FSL_ERRATUM_A006261
955 bool
956
957config SYS_FSL_ERRATUM_A006379
958 bool
959
960config SYS_FSL_ERRATUM_A006384
961 bool
962
963config SYS_FSL_ERRATUM_A006475
964 bool
965
966config SYS_FSL_ERRATUM_A006593
967 bool
968
969config SYS_FSL_ERRATUM_A007075
970 bool
971
972config SYS_FSL_ERRATUM_A007186
973 bool
974
975config SYS_FSL_ERRATUM_A007212
976 bool
977
Tony O'Brien09bfd962016-12-02 09:22:34 +1300978config SYS_FSL_ERRATUM_A007815
979 bool
980
York Sun63659ff2016-12-28 08:43:43 -0800981config SYS_FSL_ERRATUM_A007798
982 bool
983
Darwin Dingel06ad9702016-10-25 09:48:01 +1300984config SYS_FSL_ERRATUM_A007907
985 bool
986
York Sun63659ff2016-12-28 08:43:43 -0800987config SYS_FSL_ERRATUM_A008044
988 bool
Tom Rini5f7c8862022-03-11 09:12:00 -0500989 select A008044_WORKAROUND if MTD_RAW_NAND
York Sun63659ff2016-12-28 08:43:43 -0800990
991config SYS_FSL_ERRATUM_CPC_A002
992 bool
993
994config SYS_FSL_ERRATUM_CPC_A003
995 bool
996
997config SYS_FSL_ERRATUM_CPU_A003999
998 bool
999
1000config SYS_FSL_ERRATUM_ELBC_A001
1001 bool
1002
1003config SYS_FSL_ERRATUM_I2C_A004447
1004 bool
1005
1006config SYS_FSL_A004447_SVR_REV
1007 hex
1008 depends on SYS_FSL_ERRATUM_I2C_A004447
1009 default 0x00 if ARCH_MPC8548
1010 default 0x10 if ARCH_P1010
1011 default 0x11 if ARCH_P1023 || ARCH_P2041 || ARCH_BSC9132
Tom Rinia99dab12021-02-20 20:06:30 -05001012 default 0x20 if ARCH_P3041 || ARCH_P4080
York Sun63659ff2016-12-28 08:43:43 -08001013
1014config SYS_FSL_ERRATUM_IFC_A002769
1015 bool
1016
1017config SYS_FSL_ERRATUM_IFC_A003399
1018 bool
1019
1020config SYS_FSL_ERRATUM_NMG_CPU_A011
1021 bool
1022
1023config SYS_FSL_ERRATUM_NMG_ETSEC129
1024 bool
1025
1026config SYS_FSL_ERRATUM_NMG_LBC103
1027 bool
1028
1029config SYS_FSL_ERRATUM_P1010_A003549
1030 bool
1031
1032config SYS_FSL_ERRATUM_SATA_A001
1033 bool
1034
1035config SYS_FSL_ERRATUM_SEC_A003571
1036 bool
1037
1038config SYS_FSL_ERRATUM_SRIO_A004034
1039 bool
1040
1041config SYS_FSL_ERRATUM_USB14
1042 bool
1043
Tom Rinif76750d2021-12-11 14:55:51 -05001044config SYS_HAS_SERDES
1045 bool
1046
York Sun63659ff2016-12-28 08:43:43 -08001047config SYS_P4080_ERRATUM_CPU22
1048 bool
1049
1050config SYS_P4080_ERRATUM_PCIE_A003
1051 bool
1052
1053config SYS_P4080_ERRATUM_SERDES8
1054 bool
1055
1056config SYS_P4080_ERRATUM_SERDES9
1057 bool
1058
1059config SYS_P4080_ERRATUM_SERDES_A001
1060 bool
1061
1062config SYS_P4080_ERRATUM_SERDES_A005
1063 bool
1064
Hou Zhiqiangc16dfd02019-05-22 22:46:03 +08001065config FSL_PCIE_DISABLE_ASPM
1066 bool
1067
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +08001068config FSL_PCIE_RESET
1069 bool
1070
York Sun73717742016-12-28 08:43:49 -08001071config SYS_FSL_QORIQ_CHASSIS1
1072 bool
1073
1074config SYS_FSL_QORIQ_CHASSIS2
1075 bool
1076
York Sun8303acb2016-12-01 14:05:02 -08001077config SYS_FSL_NUM_LAWS
1078 int "Number of local access windows"
1079 depends on FSL_LAW
1080 default 32 if ARCH_B4420 || \
1081 ARCH_B4860 || \
1082 ARCH_P2041 || \
1083 ARCH_P3041 || \
1084 ARCH_P4080 || \
York Sun8303acb2016-12-01 14:05:02 -08001085 ARCH_P5040 || \
1086 ARCH_T2080 || \
York Sun8303acb2016-12-01 14:05:02 -08001087 ARCH_T4240
Tom Rini6c3d9932021-05-14 21:34:22 -04001088 default 16 if ARCH_T1024 || \
York Sun8303acb2016-12-01 14:05:02 -08001089 ARCH_T1040 || \
1090 ARCH_T1042
1091 default 12 if ARCH_BSC9131 || \
1092 ARCH_BSC9132 || \
1093 ARCH_C29X || \
1094 ARCH_MPC8536 || \
York Sun8303acb2016-12-01 14:05:02 -08001095 ARCH_P1010 || \
1096 ARCH_P1011 || \
1097 ARCH_P1020 || \
1098 ARCH_P1021 || \
York Sun8303acb2016-12-01 14:05:02 -08001099 ARCH_P1023 || \
1100 ARCH_P1024 || \
1101 ARCH_P1025 || \
1102 ARCH_P2020
1103 default 10 if ARCH_MPC8544 || \
Tom Rini80696892021-05-14 21:34:23 -04001104 ARCH_MPC8548
York Sun8303acb2016-12-01 14:05:02 -08001105 default 8 if ARCH_MPC8540 || \
York Sun8303acb2016-12-01 14:05:02 -08001106 ARCH_MPC8560
1107 help
1108 Number of local access windows. This is fixed per SoC.
1109 If not sure, do not change.
1110
York Sun9ec10102016-12-28 08:43:48 -08001111config SYS_FSL_THREADS_PER_CORE
1112 int
1113 default 2 if E6500
1114 default 1
1115
York Sun26e79b62016-12-28 08:43:28 -08001116config SYS_NUM_TLBCAMS
1117 int "Number of TLB CAM entries"
1118 default 64 if E500MC
1119 default 16
1120 help
1121 Number of TLB CAM entries for Book-E chips. 64 for E500MC,
1122 16 for other E500 SoCs.
1123
Tom Rini1e7750f2022-06-16 14:04:34 -04001124if HETROGENOUS_CLUSTERS
1125
1126config SYS_MAPLE
1127 def_bool y
1128
1129config SYS_CPRI
1130 def_bool y
1131
1132config PPC_CLUSTER_START
1133 int
1134 default 0
1135
1136config DSP_CLUSTER_START
1137 int
1138 default 1
1139
1140config SYS_CPRI_CLK
1141 int
1142 default 3
1143
1144config SYS_ULB_CLK
1145 int
1146 default 4
1147
1148config SYS_ETVPE_CLK
1149 int
1150 default 1
1151endif
1152
Tom Rinib40d2b22022-03-18 08:38:32 -04001153config BACKSIDE_L2_CACHE
1154 bool
1155
York Sun48512782016-12-28 08:43:50 -08001156config SYS_PPC64
1157 bool
1158
York Sun53c95382016-12-28 08:43:29 -08001159config SYS_PPC_E500_USE_DEBUG_TLB
1160 bool
1161
Prabhakar Kushwaha06878972017-02-02 15:01:48 +05301162config FSL_ELBC
1163 bool
1164
York Sun53c95382016-12-28 08:43:29 -08001165config SYS_PPC_E500_DEBUG_TLB
1166 int "Temporary TLB entry for external debugger"
1167 depends on SYS_PPC_E500_USE_DEBUG_TLB
1168 default 0 if ARCH_MPC8544 || ARCH_MPC8548
1169 default 1 if ARCH_MPC8536
Tom Rinied7fe2b2021-05-14 21:34:25 -04001170 default 2 if ARCH_P1011 || \
York Sun53c95382016-12-28 08:43:29 -08001171 ARCH_P1020 || \
1172 ARCH_P1021 || \
York Sun53c95382016-12-28 08:43:29 -08001173 ARCH_P1024 || \
1174 ARCH_P1025 || \
1175 ARCH_P2020
1176 default 3 if ARCH_P1010 || \
1177 ARCH_BSC9132 || \
1178 ARCH_C29X
1179 help
1180 Select a temporary TLB entry to be used during boot to work
1181 around limitations in e500v1 and e500v2 external debugger
1182 support. This reduces the portions of the boot code where
1183 breakpoints and single stepping do not work. The value of this
1184 symbol should be set to the TLB1 entry to be used for this
1185 purpose. If unsure, do not change.
1186
Prabhakar Kushwaha1c407072017-02-02 15:01:26 +05301187config SYS_FSL_IFC_CLK_DIV
1188 int "Divider of platform clock"
1189 depends on FSL_IFC
1190 default 2 if ARCH_B4420 || \
1191 ARCH_B4860 || \
1192 ARCH_T1024 || \
Prabhakar Kushwaha1c407072017-02-02 15:01:26 +05301193 ARCH_T1040 || \
1194 ARCH_T1042 || \
Prabhakar Kushwaha1c407072017-02-02 15:01:26 +05301195 ARCH_T4240
1196 default 1
1197 help
1198 Defines divider of platform clock(clock input to
1199 IFC controller).
1200
Prabhakar Kushwahaadd63f92017-02-02 15:02:00 +05301201config SYS_FSL_LBC_CLK_DIV
1202 int "Divider of platform clock"
1203 depends on FSL_ELBC || ARCH_MPC8540 || \
Tom Rinia8571332021-05-14 21:34:20 -04001204 ARCH_MPC8548 || \
Tom Rini80696892021-05-14 21:34:23 -04001205 ARCH_MPC8560
Prabhakar Kushwahaadd63f92017-02-02 15:02:00 +05301206
1207 default 2 if ARCH_P2041 || \
1208 ARCH_P3041 || \
1209 ARCH_P4080 || \
Prabhakar Kushwahaadd63f92017-02-02 15:02:00 +05301210 ARCH_P5040
1211 default 1
1212
1213 help
1214 Defines divider of platform clock(clock input to
1215 eLBC controller).
1216
Tom Rinifbc36212022-06-15 12:03:45 -04001217config ENABLE_36BIT_PHYS
1218 bool "Enable 36bit physical address space support"
1219
Tom Rini3dab4052022-06-25 11:02:43 -04001220config SYS_BOOK3E_HV
1221 bool "Category E.HV is supported"
1222 depends on BOOKE
1223
Tom Rinif6c1f912022-06-25 11:02:45 -04001224config SYS_CPC_REINIT_F
1225 bool
1226 help
1227 The CPC is configured as SRAM at the time of U-Boot entry and is
1228 required to be re-initialized.
1229
1230config SYS_FSL_CPC
1231 bool "Corenet Platform Cache support"
1232
Tom Rinide47ff52022-06-10 22:59:37 -04001233config SYS_MPC85XX_NO_RESETVEC
1234 bool "Discard resetvec section and move bootpg section up"
1235 depends on MPC85xx
1236 help
1237 If this variable is specified, the section .resetvec is not kept and
1238 the section .bootpg is placed in the previous 4k of the .text section.
1239
1240config SPL_SYS_MPC85XX_NO_RESETVEC
1241 bool "Discard resetvec section and move bootpg section up, in SPL"
1242 depends on MPC85xx && SPL
1243 help
1244 If this variable is specified, the section .resetvec is not kept and
1245 the section .bootpg is placed in the previous 4k of the .text section,
1246 of the SPL portion of the binary.
1247
1248config TPL_SYS_MPC85XX_NO_RESETVEC
1249 bool "Discard resetvec section and move bootpg section up, in TPL"
1250 depends on MPC85xx && TPL
1251 help
1252 If this variable is specified, the section .resetvec is not kept and
1253 the section .bootpg is placed in the previous 4k of the .text section,
1254 of the SPL portion of the binary.
1255
Rajesh Bhagatc8c01702021-02-15 09:46:14 +01001256config FSL_VIA
1257 bool
1258
Bin Meng1d636a02021-02-25 17:22:58 +08001259source "board/emulation/qemu-ppce500/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001260source "board/freescale/corenet_ds/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001261source "board/freescale/mpc8548cds/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001262source "board/freescale/p1010rdb/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001263source "board/freescale/p1_p2_rdb_pc/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001264source "board/freescale/p2041rdb/Kconfig"
Shengzhou Liu48c6f322014-11-24 17:11:56 +08001265source "board/freescale/t102xrdb/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001266source "board/freescale/t104xrdb/Kconfig"
1267source "board/freescale/t208xqds/Kconfig"
1268source "board/freescale/t208xrdb/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001269source "board/freescale/t4rdb/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001270source "board/socrates/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001271
1272endmenu