blob: d01e69bf892edfa4fc14c4f8fc5505e2c54655be [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
Pali Rohár786d9f12022-05-11 20:57:31 +020015config FSL_PREPBL_ESDHC_BOOT_SECTOR
16 bool "Generate QorIQ pre-PBL eSDHC boot sector"
17 depends on MPC85xx
18 depends on SYS_EXTRA_OPTIONS = SDCARD
19 help
20 With this option final image would have prepended QorIQ pre-PBL eSDHC
21 boot sector suitable for SD card images. This boot sector instruct
22 BootROM to configure L2 SRAM and eSDHC then load image from SD card
23 into L2 SRAM and finally jump to image entry point.
24
25 This is alternative to Freescale boot_format tool, but works only for
26 SD card images and only for L2 SRAM booting. U-Boot images generated
27 with this option should not passed to boot_format tool.
28
29 For other configuration like booting from eSPI or configuring SDRAM
30 please use Freescale boot_format tool without this option. See file
31 doc/README.mpc85xx-sd-spi-boot
32
33config FSL_PREPBL_ESDHC_BOOT_SECTOR_START
34 int "QorIQ pre-PBL eSDHC boot sector start offset"
35 depends on FSL_PREPBL_ESDHC_BOOT_SECTOR
36 range 0 23
37 default 0
38 help
39 QorIQ pre-PBL eSDHC boot sector may be located on one of the first
40 24 SD card sectors. Select SD card sector on which final U-Boot
41 image (with this boot sector) would be installed.
42
43 By default first SD card sector (0) is used. But this may be changed
44 to allow installing U-Boot image on some partition (with fixed start
45 sector).
46
47 Please note that any sector on SD card prior this boot sector must
48 not contain ASCII "BOOT" bytes at sector offset 0x40.
49
50config FSL_PREPBL_ESDHC_BOOT_SECTOR_DATA
51 int "Relative data sector for QorIQ pre-PBL eSDHC boot sector"
52 depends on FSL_PREPBL_ESDHC_BOOT_SECTOR
53 default 1
54 range 1 8388607
55 help
56 Select data sector from the beginning of QorIQ pre-PBL eSDHC boot
57 sector on which would be stored raw U-Boot image.
58
59 By default is it second sector (1) which is the first available free
60 sector (on the first sector is stored boot sector). It can be any
61 sector number which offset in bytes can be expressed by 32-bit number.
62
63 In case this final U-Boot image (with this boot sector) is put on
64 the FAT32 partition into reserved boot area, this data sector needs
65 to be at least 2 (third sector) because FAT32 use second sector for
66 its data.
67
Masahiro Yamadadd840582014-07-30 14:08:14 +090068choice
69 prompt "Target select"
Joe Hershbergera26cd042015-05-12 14:46:23 -050070 optional
Masahiro Yamadadd840582014-07-30 14:08:14 +090071
Masahiro Yamadadd840582014-07-30 14:08:14 +090072config TARGET_SOCRATES
73 bool "Support socrates"
York Sun25cb74b2016-11-15 13:57:15 -080074 select ARCH_MPC8544
Masahiro Yamadadd840582014-07-30 14:08:14 +090075
Masahiro Yamadadd840582014-07-30 14:08:14 +090076config TARGET_P3041DS
77 bool "Support P3041DS"
Masahiro Yamadabb6b1422016-07-25 19:56:03 +090078 select PHYS_64BIT
York Sun5e5fdd22016-11-18 11:20:40 -080079 select ARCH_P3041
Tom Rinie5ec4812017-01-22 19:43:11 -050080 select BOARD_LATE_INIT if CHAIN_OF_TRUST
Simon Glass3bf926c2017-06-14 21:28:24 -060081 imply CMD_SATA
Masahiro Yamada7e3caa82017-12-04 12:37:00 +090082 imply PANIC_HANG
Masahiro Yamadadd840582014-07-30 14:08:14 +090083
84config TARGET_P4080DS
85 bool "Support P4080DS"
Masahiro Yamadabb6b1422016-07-25 19:56:03 +090086 select PHYS_64BIT
York Sune71372c2016-11-18 11:24:40 -080087 select ARCH_P4080
Tom Rinie5ec4812017-01-22 19:43:11 -050088 select BOARD_LATE_INIT if CHAIN_OF_TRUST
Simon Glass3bf926c2017-06-14 21:28:24 -060089 imply CMD_SATA
Masahiro Yamada7e3caa82017-12-04 12:37:00 +090090 imply PANIC_HANG
Masahiro Yamadadd840582014-07-30 14:08:14 +090091
Masahiro Yamadadd840582014-07-30 14:08:14 +090092config TARGET_P5040DS
93 bool "Support P5040DS"
Masahiro Yamadabb6b1422016-07-25 19:56:03 +090094 select PHYS_64BIT
York Sun95390362016-11-18 11:39:36 -080095 select ARCH_P5040
Tom Rinie5ec4812017-01-22 19:43:11 -050096 select BOARD_LATE_INIT if CHAIN_OF_TRUST
Simon Glass3bf926c2017-06-14 21:28:24 -060097 imply CMD_SATA
Masahiro Yamada7e3caa82017-12-04 12:37:00 +090098 imply PANIC_HANG
Masahiro Yamadadd840582014-07-30 14:08:14 +090099
Masahiro Yamadadd840582014-07-30 14:08:14 +0900100config TARGET_MPC8548CDS
101 bool "Support MPC8548CDS"
York Sun281ed4c2016-11-15 13:52:34 -0800102 select ARCH_MPC8548
Rajesh Bhagatc8c01702021-02-15 09:46:14 +0100103 select FSL_VIA
Tom Riniab92b382021-08-26 11:47:59 -0400104 select SYS_CACHE_SHIFT_5
Masahiro Yamadadd840582014-07-30 14:08:14 +0900105
York Sun76016862016-11-16 13:30:06 -0800106config TARGET_P1010RDB_PA
107 bool "Support P1010RDB_PA"
108 select ARCH_P1010
Tom Rinie5ec4812017-01-22 19:43:11 -0500109 select BOARD_LATE_INIT if CHAIN_OF_TRUST
York Sun76016862016-11-16 13:30:06 -0800110 select SUPPORT_SPL
111 select SUPPORT_TPL
Simon Glassa1dc9802017-05-17 03:25:10 -0600112 imply CMD_EEPROM
Simon Glass3bf926c2017-06-14 21:28:24 -0600113 imply CMD_SATA
Masahiro Yamada7e3caa82017-12-04 12:37:00 +0900114 imply PANIC_HANG
York Sun76016862016-11-16 13:30:06 -0800115
116config TARGET_P1010RDB_PB
117 bool "Support P1010RDB_PB"
York Sun7d5f9f82016-11-16 13:08:52 -0800118 select ARCH_P1010
Tom Rinie5ec4812017-01-22 19:43:11 -0500119 select BOARD_LATE_INIT if CHAIN_OF_TRUST
Masahiro Yamada02627352014-10-20 17:45:56 +0900120 select SUPPORT_SPL
Masahiro Yamadacf6bbe42014-10-20 17:45:57 +0900121 select SUPPORT_TPL
Simon Glassa1dc9802017-05-17 03:25:10 -0600122 imply CMD_EEPROM
Simon Glass3bf926c2017-06-14 21:28:24 -0600123 imply CMD_SATA
Masahiro Yamada7e3caa82017-12-04 12:37:00 +0900124 imply PANIC_HANG
Masahiro Yamadadd840582014-07-30 14:08:14 +0900125
York Sunaa146202016-11-17 13:52:44 -0800126config TARGET_P1020RDB_PC
127 bool "Support P1020RDB-PC"
128 select SUPPORT_SPL
129 select SUPPORT_TPL
York Sun484fff62016-11-18 10:02:14 -0800130 select ARCH_P1020
Simon Glassa1dc9802017-05-17 03:25:10 -0600131 imply CMD_EEPROM
Simon Glass3bf926c2017-06-14 21:28:24 -0600132 imply CMD_SATA
Masahiro Yamada7e3caa82017-12-04 12:37:00 +0900133 imply PANIC_HANG
York Sunaa146202016-11-17 13:52:44 -0800134
York Sunf404b662016-11-17 13:53:33 -0800135config TARGET_P1020RDB_PD
136 bool "Support P1020RDB-PD"
137 select SUPPORT_SPL
138 select SUPPORT_TPL
York Sun484fff62016-11-18 10:02:14 -0800139 select ARCH_P1020
Simon Glassa1dc9802017-05-17 03:25:10 -0600140 imply CMD_EEPROM
Simon Glass3bf926c2017-06-14 21:28:24 -0600141 imply CMD_SATA
Masahiro Yamada7e3caa82017-12-04 12:37:00 +0900142 imply PANIC_HANG
York Sunf404b662016-11-17 13:53:33 -0800143
York Sun8435aa72016-11-17 14:19:18 -0800144config TARGET_P2020RDB
145 bool "Support P2020RDB-PC"
146 select SUPPORT_SPL
147 select SUPPORT_TPL
York Sun45936372016-11-18 11:08:43 -0800148 select ARCH_P2020
Simon Glassa1dc9802017-05-17 03:25:10 -0600149 imply CMD_EEPROM
Simon Glass3bf926c2017-06-14 21:28:24 -0600150 imply CMD_SATA
Tuomas Tynkkynenc88ecf42017-12-08 15:36:14 +0200151 imply SATA_SIL
York Sun8435aa72016-11-17 14:19:18 -0800152
Masahiro Yamadadd840582014-07-30 14:08:14 +0900153config TARGET_P2041RDB
154 bool "Support P2041RDB"
York Sunce040c82016-11-18 11:15:21 -0800155 select ARCH_P2041
Tom Rinie5ec4812017-01-22 19:43:11 -0500156 select BOARD_LATE_INIT if CHAIN_OF_TRUST
Tom Rini6f6b9702022-07-23 13:05:08 -0400157 select FSL_CORENET
Masahiro Yamadabb6b1422016-07-25 19:56:03 +0900158 select PHYS_64BIT
Simon Glass3bf926c2017-06-14 21:28:24 -0600159 imply CMD_SATA
Tuomas Tynkkynen9920d152017-12-08 15:36:17 +0200160 imply FSL_SATA
Masahiro Yamadadd840582014-07-30 14:08:14 +0900161
162config TARGET_QEMU_PPCE500
163 bool "Support qemu-ppce500"
York Sun10343402016-11-18 12:29:51 -0800164 select ARCH_QEMU_E500
Masahiro Yamadabb6b1422016-07-25 19:56:03 +0900165 select PHYS_64BIT
Tom Rini5a446182022-06-25 11:02:44 -0400166 select SYS_RAMBOOT
Simon Glass239d22c2021-12-16 20:59:36 -0700167 imply OF_HAS_PRIOR_STAGE
Masahiro Yamadadd840582014-07-30 14:08:14 +0900168
York Sun08c75292016-11-18 12:45:44 -0800169config TARGET_T1024RDB
170 bool "Support T1024RDB"
York Sune5d5f5a2016-11-18 13:01:34 -0800171 select ARCH_T1024
Tom Rinie5ec4812017-01-22 19:43:11 -0500172 select BOARD_LATE_INIT if CHAIN_OF_TRUST
Shengzhou Liu48c6f322014-11-24 17:11:56 +0800173 select SUPPORT_SPL
Masahiro Yamadabb6b1422016-07-25 19:56:03 +0900174 select PHYS_64BIT
Rajesh Bhagat32413122019-02-01 05:22:01 +0000175 select FSL_DDR_INTERACTIVE
Simon Glassa1dc9802017-05-17 03:25:10 -0600176 imply CMD_EEPROM
Masahiro Yamada7e3caa82017-12-04 12:37:00 +0900177 imply PANIC_HANG
Shengzhou Liu48c6f322014-11-24 17:11:56 +0800178
York Sun95a809b2016-11-18 13:19:39 -0800179config TARGET_T1042RDB
180 bool "Support T1042RDB"
York Sun5449c982016-11-18 13:36:39 -0800181 select ARCH_T1042
Tom Rinie5ec4812017-01-22 19:43:11 -0500182 select BOARD_LATE_INIT if CHAIN_OF_TRUST
Masahiro Yamada02627352014-10-20 17:45:56 +0900183 select SUPPORT_SPL
Masahiro Yamadabb6b1422016-07-25 19:56:03 +0900184 select PHYS_64BIT
Masahiro Yamadadd840582014-07-30 14:08:14 +0900185
York Sun319ed242016-11-21 11:04:34 -0800186config TARGET_T1042D4RDB
187 bool "Support T1042D4RDB"
188 select ARCH_T1042
Tom Rinie5ec4812017-01-22 19:43:11 -0500189 select BOARD_LATE_INIT if CHAIN_OF_TRUST
York Sun319ed242016-11-21 11:04:34 -0800190 select SUPPORT_SPL
191 select PHYS_64BIT
Masahiro Yamada7e3caa82017-12-04 12:37:00 +0900192 imply PANIC_HANG
York Sun319ed242016-11-21 11:04:34 -0800193
York Sun55ed8ae2016-11-18 13:44:00 -0800194config TARGET_T1042RDB_PI
195 bool "Support T1042RDB_PI"
196 select ARCH_T1042
Tom Rinie5ec4812017-01-22 19:43:11 -0500197 select BOARD_LATE_INIT if CHAIN_OF_TRUST
York Sun55ed8ae2016-11-18 13:44:00 -0800198 select SUPPORT_SPL
199 select PHYS_64BIT
Masahiro Yamada7e3caa82017-12-04 12:37:00 +0900200 imply PANIC_HANG
York Sun55ed8ae2016-11-18 13:44:00 -0800201
York Sun638d5be2016-11-21 12:46:58 -0800202config TARGET_T2080QDS
203 bool "Support T2080QDS"
York Sun0f3d80e2016-11-21 12:54:19 -0800204 select ARCH_T2080
Tom Rinie5ec4812017-01-22 19:43:11 -0500205 select BOARD_LATE_INIT if CHAIN_OF_TRUST
Masahiro Yamada02627352014-10-20 17:45:56 +0900206 select SUPPORT_SPL
Masahiro Yamadabb6b1422016-07-25 19:56:03 +0900207 select PHYS_64BIT
Rajesh Bhagat32413122019-02-01 05:22:01 +0000208 select FSL_DDR_FIRST_SLOT_QUAD_CAPABLE
209 select FSL_DDR_INTERACTIVE
Peng Maa2d4cb22019-12-23 09:28:12 +0000210 imply CMD_SATA
Masahiro Yamadadd840582014-07-30 14:08:14 +0900211
York Sun01671e62016-11-21 12:57:22 -0800212config TARGET_T2080RDB
213 bool "Support T2080RDB"
York Sun0f3d80e2016-11-21 12:54:19 -0800214 select ARCH_T2080
Tom Rinie5ec4812017-01-22 19:43:11 -0500215 select BOARD_LATE_INIT if CHAIN_OF_TRUST
Masahiro Yamada02627352014-10-20 17:45:56 +0900216 select SUPPORT_SPL
Masahiro Yamadabb6b1422016-07-25 19:56:03 +0900217 select PHYS_64BIT
Simon Glass3bf926c2017-06-14 21:28:24 -0600218 imply CMD_SATA
Masahiro Yamada7e3caa82017-12-04 12:37:00 +0900219 imply PANIC_HANG
Masahiro Yamadadd840582014-07-30 14:08:14 +0900220
Masahiro Yamadadd840582014-07-30 14:08:14 +0900221config TARGET_T4240RDB
222 bool "Support T4240RDB"
York Sun26bc57d2016-11-21 13:35:41 -0800223 select ARCH_T4240
Chunhe Lan373762c2015-03-20 17:08:54 +0800224 select SUPPORT_SPL
Masahiro Yamadabb6b1422016-07-25 19:56:03 +0900225 select PHYS_64BIT
Rajesh Bhagat32413122019-02-01 05:22:01 +0000226 select FSL_DDR_FIRST_SLOT_QUAD_CAPABLE
Simon Glass3bf926c2017-06-14 21:28:24 -0600227 imply CMD_SATA
Masahiro Yamada7e3caa82017-12-04 12:37:00 +0900228 imply PANIC_HANG
Masahiro Yamadadd840582014-07-30 14:08:14 +0900229
Masahiro Yamadadd840582014-07-30 14:08:14 +0900230config TARGET_KMP204X
231 bool "Support kmp204x"
Pascal Linderc0fed3a2019-06-18 13:27:47 +0200232 select VENDOR_KM
Masahiro Yamadadd840582014-07-30 14:08:14 +0900233
Niel Fourie37bfd9c2021-01-21 13:19:20 +0100234config TARGET_KMCENT2
235 bool "Support kmcent2"
236 select VENDOR_KM
Tom Rini6f6b9702022-07-23 13:05:08 -0400237 select FSL_CORENET
Niel Fourie37bfd9c2021-01-21 13:19:20 +0100238
Masahiro Yamadadd840582014-07-30 14:08:14 +0900239endchoice
240
York Sunb41f1922016-11-18 11:56:57 -0800241config ARCH_B4420
242 bool
York Sunf8dee362016-12-28 08:43:27 -0800243 select E500MC
York Sun9ec10102016-12-28 08:43:48 -0800244 select E6500
Tom Rini6f6b9702022-07-23 13:05:08 -0400245 select FSL_CORENET
York Sun05cb79a2016-12-02 10:44:34 -0800246 select FSL_LAW
Tom Rini1e7750f2022-06-16 14:04:34 -0400247 select HETROGENOUS_CLUSTERS
York Sun22120f12016-12-28 08:43:46 -0800248 select SYS_FSL_DDR_VER_47
York Sun63659ff2016-12-28 08:43:43 -0800249 select SYS_FSL_ERRATUM_A004477
250 select SYS_FSL_ERRATUM_A005871
251 select SYS_FSL_ERRATUM_A006379
252 select SYS_FSL_ERRATUM_A006384
253 select SYS_FSL_ERRATUM_A006475
254 select SYS_FSL_ERRATUM_A006593
255 select SYS_FSL_ERRATUM_A007075
Tom Rini601483f2022-06-16 14:04:40 -0400256 select SYS_FSL_ERRATUM_A007186 if CHAIN_OF_TRUST
York Sun63659ff2016-12-28 08:43:43 -0800257 select SYS_FSL_ERRATUM_A007212
258 select SYS_FSL_ERRATUM_A009942
York Sund26e34c2016-12-28 08:43:40 -0800259 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800260 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800261 select SYS_FSL_QORIQ_CHASSIS2
Tom Rini4143a232022-07-31 21:08:28 -0400262 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v24
York Sun90b80382016-12-28 08:43:31 -0800263 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800264 select SYS_FSL_SEC_COMPAT_4
York Sun48512782016-12-28 08:43:50 -0800265 select SYS_PPC64
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530266 select FSL_IFC
Simon Glassa1dc9802017-05-17 03:25:10 -0600267 imply CMD_EEPROM
Tom Rini8f1a80e2017-07-28 21:31:42 -0400268 imply CMD_NAND
Christophe Leroyfa379222017-08-04 16:34:40 -0600269 imply CMD_REGINFO
York Sunb41f1922016-11-18 11:56:57 -0800270
York Sun3006ebc2016-11-18 11:44:43 -0800271config ARCH_B4860
272 bool
York Sunf8dee362016-12-28 08:43:27 -0800273 select E500MC
York Sun9ec10102016-12-28 08:43:48 -0800274 select E6500
Tom Rini6f6b9702022-07-23 13:05:08 -0400275 select FSL_CORENET
York Sun05cb79a2016-12-02 10:44:34 -0800276 select FSL_LAW
Tom Rini1e7750f2022-06-16 14:04:34 -0400277 select HETROGENOUS_CLUSTERS
York Sun22120f12016-12-28 08:43:46 -0800278 select SYS_FSL_DDR_VER_47
York Sun63659ff2016-12-28 08:43:43 -0800279 select SYS_FSL_ERRATUM_A004477
280 select SYS_FSL_ERRATUM_A005871
281 select SYS_FSL_ERRATUM_A006379
282 select SYS_FSL_ERRATUM_A006384
283 select SYS_FSL_ERRATUM_A006475
284 select SYS_FSL_ERRATUM_A006593
285 select SYS_FSL_ERRATUM_A007075
Tom Rini601483f2022-06-16 14:04:40 -0400286 select SYS_FSL_ERRATUM_A007186 if CHAIN_OF_TRUST
York Sun63659ff2016-12-28 08:43:43 -0800287 select SYS_FSL_ERRATUM_A007212
Darwin Dingel06ad9702016-10-25 09:48:01 +1300288 select SYS_FSL_ERRATUM_A007907
York Sun63659ff2016-12-28 08:43:43 -0800289 select SYS_FSL_ERRATUM_A009942
York Sund26e34c2016-12-28 08:43:40 -0800290 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800291 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800292 select SYS_FSL_QORIQ_CHASSIS2
Tom Rini4143a232022-07-31 21:08:28 -0400293 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v24
York Sun90b80382016-12-28 08:43:31 -0800294 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800295 select SYS_FSL_SEC_COMPAT_4
York Sun48512782016-12-28 08:43:50 -0800296 select SYS_PPC64
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530297 select FSL_IFC
Simon Glassa1dc9802017-05-17 03:25:10 -0600298 imply CMD_EEPROM
Tom Rini8f1a80e2017-07-28 21:31:42 -0400299 imply CMD_NAND
Christophe Leroyfa379222017-08-04 16:34:40 -0600300 imply CMD_REGINFO
York Sun3006ebc2016-11-18 11:44:43 -0800301
York Sun115d60c2016-11-15 14:09:50 -0800302config ARCH_BSC9131
303 bool
York Sun05cb79a2016-12-02 10:44:34 -0800304 select FSL_LAW
York Sun22120f12016-12-28 08:43:46 -0800305 select SYS_FSL_DDR_VER_44
York Sun63659ff2016-12-28 08:43:43 -0800306 select SYS_FSL_ERRATUM_A004477
307 select SYS_FSL_ERRATUM_A005125
York Sunc01e4a12016-12-28 08:43:42 -0800308 select SYS_FSL_ERRATUM_ESDHC111
York Sund26e34c2016-12-28 08:43:40 -0800309 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800310 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800311 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800312 select SYS_FSL_SEC_COMPAT_4
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530313 select FSL_IFC
Simon Glassa1dc9802017-05-17 03:25:10 -0600314 imply CMD_EEPROM
Tom Rini8f1a80e2017-07-28 21:31:42 -0400315 imply CMD_NAND
Christophe Leroyfa379222017-08-04 16:34:40 -0600316 imply CMD_REGINFO
York Sun115d60c2016-11-15 14:09:50 -0800317
318config ARCH_BSC9132
319 bool
York Sun05cb79a2016-12-02 10:44:34 -0800320 select FSL_LAW
York Sun22120f12016-12-28 08:43:46 -0800321 select SYS_FSL_DDR_VER_46
York Sun63659ff2016-12-28 08:43:43 -0800322 select SYS_FSL_ERRATUM_A004477
323 select SYS_FSL_ERRATUM_A005125
324 select SYS_FSL_ERRATUM_A005434
York Sunc01e4a12016-12-28 08:43:42 -0800325 select SYS_FSL_ERRATUM_ESDHC111
York Sun63659ff2016-12-28 08:43:43 -0800326 select SYS_FSL_ERRATUM_I2C_A004447
327 select SYS_FSL_ERRATUM_IFC_A002769
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800328 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800329 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800330 select SYS_FSL_HAS_SEC
Tom Rini4143a232022-07-31 21:08:28 -0400331 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v22
York Sun90b80382016-12-28 08:43:31 -0800332 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800333 select SYS_FSL_SEC_COMPAT_4
York Sun53c95382016-12-28 08:43:29 -0800334 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530335 select FSL_IFC
Simon Glassa1dc9802017-05-17 03:25:10 -0600336 imply CMD_EEPROM
Tom Rinid56b4b12017-07-22 18:36:16 -0400337 imply CMD_MTDPARTS
Tom Rini8f1a80e2017-07-28 21:31:42 -0400338 imply CMD_NAND
Simon Glass6500ec72017-08-04 16:34:34 -0600339 imply CMD_PCI
Christophe Leroyfa379222017-08-04 16:34:40 -0600340 imply CMD_REGINFO
York Sun115d60c2016-11-15 14:09:50 -0800341
York Sun4fd64742016-11-15 18:44:22 -0800342config ARCH_C29X
343 bool
York Sun05cb79a2016-12-02 10:44:34 -0800344 select FSL_LAW
York Sun22120f12016-12-28 08:43:46 -0800345 select SYS_FSL_DDR_VER_46
York Sun63659ff2016-12-28 08:43:43 -0800346 select SYS_FSL_ERRATUM_A005125
York Sunc01e4a12016-12-28 08:43:42 -0800347 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800348 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800349 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800350 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800351 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800352 select SYS_FSL_SEC_COMPAT_6
York Sun53c95382016-12-28 08:43:29 -0800353 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530354 select FSL_IFC
Tom Rini8f1a80e2017-07-28 21:31:42 -0400355 imply CMD_NAND
Simon Glass6500ec72017-08-04 16:34:34 -0600356 imply CMD_PCI
Christophe Leroyfa379222017-08-04 16:34:40 -0600357 imply CMD_REGINFO
York Sun4fd64742016-11-15 18:44:22 -0800358
York Sun24ad75a2016-11-16 11:06:47 -0800359config ARCH_MPC8536
360 bool
York Sun05cb79a2016-12-02 10:44:34 -0800361 select FSL_LAW
York Sun63659ff2016-12-28 08:43:43 -0800362 select SYS_FSL_ERRATUM_A004508
363 select SYS_FSL_ERRATUM_A005125
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800364 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800365 select SYS_FSL_HAS_DDR2
366 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800367 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800368 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800369 select SYS_FSL_SEC_COMPAT_2
York Sun53c95382016-12-28 08:43:29 -0800370 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530371 select FSL_ELBC
Tom Rini8f1a80e2017-07-28 21:31:42 -0400372 imply CMD_NAND
Simon Glass3bf926c2017-06-14 21:28:24 -0600373 imply CMD_SATA
Christophe Leroyfa379222017-08-04 16:34:40 -0600374 imply CMD_REGINFO
York Sun24ad75a2016-11-16 11:06:47 -0800375
York Sun7f825212016-11-16 11:13:06 -0800376config ARCH_MPC8540
377 bool
York Sun05cb79a2016-12-02 10:44:34 -0800378 select FSL_LAW
York Sund26e34c2016-12-28 08:43:40 -0800379 select SYS_FSL_HAS_DDR1
York Sun7f825212016-11-16 11:13:06 -0800380
York Sun25cb74b2016-11-15 13:57:15 -0800381config ARCH_MPC8544
382 bool
Tom Rinia3041d92022-02-23 12:28:15 -0500383 select BTB
York Sun05cb79a2016-12-02 10:44:34 -0800384 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400385 select SYS_CACHE_SHIFT_5
York Sun63659ff2016-12-28 08:43:43 -0800386 select SYS_FSL_ERRATUM_A005125
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800387 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800388 select SYS_FSL_HAS_DDR2
York Sun2c2e2c92016-12-28 08:43:30 -0800389 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800390 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800391 select SYS_FSL_SEC_COMPAT_2
York Sun53c95382016-12-28 08:43:29 -0800392 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530393 select FSL_ELBC
York Sun25cb74b2016-11-15 13:57:15 -0800394
York Sun281ed4c2016-11-15 13:52:34 -0800395config ARCH_MPC8548
396 bool
Tom Rinia3041d92022-02-23 12:28:15 -0500397 select BTB
York Sun05cb79a2016-12-02 10:44:34 -0800398 select FSL_LAW
York Sun63659ff2016-12-28 08:43:43 -0800399 select SYS_FSL_ERRATUM_A005125
400 select SYS_FSL_ERRATUM_NMG_DDR120
401 select SYS_FSL_ERRATUM_NMG_LBC103
402 select SYS_FSL_ERRATUM_NMG_ETSEC129
403 select SYS_FSL_ERRATUM_I2C_A004447
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800404 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800405 select SYS_FSL_HAS_DDR2
406 select SYS_FSL_HAS_DDR1
York Sun2c2e2c92016-12-28 08:43:30 -0800407 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800408 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800409 select SYS_FSL_SEC_COMPAT_2
York Sun53c95382016-12-28 08:43:29 -0800410 select SYS_PPC_E500_USE_DEBUG_TLB
Christophe Leroyfa379222017-08-04 16:34:40 -0600411 imply CMD_REGINFO
York Sun281ed4c2016-11-15 13:52:34 -0800412
York Sun99d0a312016-11-16 11:26:45 -0800413config ARCH_MPC8560
414 bool
York Sun05cb79a2016-12-02 10:44:34 -0800415 select FSL_LAW
York Sund26e34c2016-12-28 08:43:40 -0800416 select SYS_FSL_HAS_DDR1
York Sun99d0a312016-11-16 11:26:45 -0800417
York Sun7d5f9f82016-11-16 13:08:52 -0800418config ARCH_P1010
419 bool
Tom Rinifdd0da42022-03-11 09:11:59 -0500420 select A003399_NOR_WORKAROUND if SYS_FSL_ERRATUM_IFC_A003399 && !SPL
Tom Rinia3041d92022-02-23 12:28:15 -0500421 select BTB
York Sun05cb79a2016-12-02 10:44:34 -0800422 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400423 select SYS_CACHE_SHIFT_5
Tom Rinif76750d2021-12-11 14:55:51 -0500424 select SYS_HAS_SERDES
York Sun63659ff2016-12-28 08:43:43 -0800425 select SYS_FSL_ERRATUM_A004477
426 select SYS_FSL_ERRATUM_A004508
427 select SYS_FSL_ERRATUM_A005125
Chris Packham4eaf7f52018-10-04 20:03:53 +1300428 select SYS_FSL_ERRATUM_A005275
York Sun63659ff2016-12-28 08:43:43 -0800429 select SYS_FSL_ERRATUM_A006261
430 select SYS_FSL_ERRATUM_A007075
York Sunc01e4a12016-12-28 08:43:42 -0800431 select SYS_FSL_ERRATUM_ESDHC111
York Sun63659ff2016-12-28 08:43:43 -0800432 select SYS_FSL_ERRATUM_I2C_A004447
433 select SYS_FSL_ERRATUM_IFC_A002769
434 select SYS_FSL_ERRATUM_P1010_A003549
435 select SYS_FSL_ERRATUM_SEC_A003571
436 select SYS_FSL_ERRATUM_IFC_A003399
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800437 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800438 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800439 select SYS_FSL_HAS_SEC
Tom Rini4143a232022-07-31 21:08:28 -0400440 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v22
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_4
York Sun53c95382016-12-28 08:43:29 -0800443 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530444 select FSL_IFC
Simon Glassa1dc9802017-05-17 03:25:10 -0600445 imply CMD_EEPROM
Tom Rinid56b4b12017-07-22 18:36:16 -0400446 imply CMD_MTDPARTS
Tom Rini8f1a80e2017-07-28 21:31:42 -0400447 imply CMD_NAND
Simon Glass3bf926c2017-06-14 21:28:24 -0600448 imply CMD_SATA
Simon Glass6500ec72017-08-04 16:34:34 -0600449 imply CMD_PCI
Christophe Leroyfa379222017-08-04 16:34:40 -0600450 imply CMD_REGINFO
Tuomas Tynkkynen9920d152017-12-08 15:36:17 +0200451 imply FSL_SATA
Simon Glassd6b318d2021-12-18 11:27:50 -0700452 imply TIMESTAMP
York Sun7d5f9f82016-11-16 13:08:52 -0800453
York Sun1cdd96f2016-11-16 15:54:15 -0800454config ARCH_P1011
455 bool
York Sun05cb79a2016-12-02 10:44:34 -0800456 select FSL_LAW
York Sun63659ff2016-12-28 08:43:43 -0800457 select SYS_FSL_ERRATUM_A004508
458 select SYS_FSL_ERRATUM_A005125
459 select SYS_FSL_ERRATUM_ELBC_A001
York Sunc01e4a12016-12-28 08:43:42 -0800460 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiangc16dfd02019-05-22 22:46:03 +0800461 select FSL_PCIE_DISABLE_ASPM
York Sund26e34c2016-12-28 08:43:40 -0800462 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800463 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800464 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800465 select SYS_FSL_SEC_COMPAT_2
York Sun53c95382016-12-28 08:43:29 -0800466 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530467 select FSL_ELBC
York Sun1cdd96f2016-11-16 15:54:15 -0800468
York Sun484fff62016-11-18 10:02:14 -0800469config ARCH_P1020
470 bool
Tom Rinia3041d92022-02-23 12:28:15 -0500471 select BTB
York Sun05cb79a2016-12-02 10:44:34 -0800472 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400473 select SYS_CACHE_SHIFT_5
York Sun63659ff2016-12-28 08:43:43 -0800474 select SYS_FSL_ERRATUM_A004508
475 select SYS_FSL_ERRATUM_A005125
476 select SYS_FSL_ERRATUM_ELBC_A001
York Sunc01e4a12016-12-28 08:43:42 -0800477 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiangc16dfd02019-05-22 22:46:03 +0800478 select FSL_PCIE_DISABLE_ASPM
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800479 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800480 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800481 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800482 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800483 select SYS_FSL_SEC_COMPAT_2
York Sun53c95382016-12-28 08:43:29 -0800484 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530485 select FSL_ELBC
Tom Rini8f1a80e2017-07-28 21:31:42 -0400486 imply CMD_NAND
Simon Glass3bf926c2017-06-14 21:28:24 -0600487 imply CMD_SATA
Simon Glass6500ec72017-08-04 16:34:34 -0600488 imply CMD_PCI
Christophe Leroyfa379222017-08-04 16:34:40 -0600489 imply CMD_REGINFO
Tuomas Tynkkynenc88ecf42017-12-08 15:36:14 +0200490 imply SATA_SIL
York Sun484fff62016-11-18 10:02:14 -0800491
York Suna9907992016-11-18 10:59:02 -0800492config ARCH_P1021
493 bool
York Sun05cb79a2016-12-02 10:44:34 -0800494 select FSL_LAW
York Sun63659ff2016-12-28 08:43:43 -0800495 select SYS_FSL_ERRATUM_A004508
496 select SYS_FSL_ERRATUM_A005125
497 select SYS_FSL_ERRATUM_ELBC_A001
York Sunc01e4a12016-12-28 08:43:42 -0800498 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiangc16dfd02019-05-22 22:46:03 +0800499 select FSL_PCIE_DISABLE_ASPM
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800500 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800501 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800502 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800503 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800504 select SYS_FSL_SEC_COMPAT_2
York Sun53c95382016-12-28 08:43:29 -0800505 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530506 select FSL_ELBC
Christophe Leroyfa379222017-08-04 16:34:40 -0600507 imply CMD_REGINFO
Tom Rini8f1a80e2017-07-28 21:31:42 -0400508 imply CMD_NAND
Simon Glass3bf926c2017-06-14 21:28:24 -0600509 imply CMD_SATA
Christophe Leroyfa379222017-08-04 16:34:40 -0600510 imply CMD_REGINFO
Tuomas Tynkkynenc88ecf42017-12-08 15:36:14 +0200511 imply SATA_SIL
York Suna9907992016-11-18 10:59:02 -0800512
York Sun9bb1d6b2016-11-16 15:45:31 -0800513config ARCH_P1023
514 bool
York Sun05cb79a2016-12-02 10:44:34 -0800515 select FSL_LAW
York Sun63659ff2016-12-28 08:43:43 -0800516 select SYS_FSL_ERRATUM_A004508
517 select SYS_FSL_ERRATUM_A005125
518 select SYS_FSL_ERRATUM_I2C_A004447
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800519 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800520 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800521 select SYS_FSL_HAS_SEC
Tom Rini4143a232022-07-31 21:08:28 -0400522 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v22
York Sun90b80382016-12-28 08:43:31 -0800523 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800524 select SYS_FSL_SEC_COMPAT_4
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530525 select FSL_ELBC
York Sun9bb1d6b2016-11-16 15:45:31 -0800526
York Sun52b6f132016-11-18 11:00:57 -0800527config ARCH_P1024
528 bool
York Sun05cb79a2016-12-02 10:44:34 -0800529 select FSL_LAW
York Sun63659ff2016-12-28 08:43:43 -0800530 select SYS_FSL_ERRATUM_A004508
531 select SYS_FSL_ERRATUM_A005125
532 select SYS_FSL_ERRATUM_ELBC_A001
York Sunc01e4a12016-12-28 08:43:42 -0800533 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiangc16dfd02019-05-22 22:46:03 +0800534 select FSL_PCIE_DISABLE_ASPM
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800535 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800536 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800537 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800538 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800539 select SYS_FSL_SEC_COMPAT_2
York Sun53c95382016-12-28 08:43:29 -0800540 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530541 select FSL_ELBC
Simon Glassa1dc9802017-05-17 03:25:10 -0600542 imply CMD_EEPROM
Tom Rini8f1a80e2017-07-28 21:31:42 -0400543 imply CMD_NAND
Simon Glass3bf926c2017-06-14 21:28:24 -0600544 imply CMD_SATA
Simon Glass6500ec72017-08-04 16:34:34 -0600545 imply CMD_PCI
Christophe Leroyfa379222017-08-04 16:34:40 -0600546 imply CMD_REGINFO
Tuomas Tynkkynenc88ecf42017-12-08 15:36:14 +0200547 imply SATA_SIL
York Sun52b6f132016-11-18 11:00:57 -0800548
York Sun4167a672016-11-18 11:05:38 -0800549config ARCH_P1025
550 bool
York Sun05cb79a2016-12-02 10:44:34 -0800551 select FSL_LAW
York Sun63659ff2016-12-28 08:43:43 -0800552 select SYS_FSL_ERRATUM_A004508
553 select SYS_FSL_ERRATUM_A005125
554 select SYS_FSL_ERRATUM_ELBC_A001
York Sunc01e4a12016-12-28 08:43:42 -0800555 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiangc16dfd02019-05-22 22:46:03 +0800556 select FSL_PCIE_DISABLE_ASPM
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800557 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800558 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800559 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800560 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800561 select SYS_FSL_SEC_COMPAT_2
York Sun53c95382016-12-28 08:43:29 -0800562 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530563 select FSL_ELBC
Simon Glass3bf926c2017-06-14 21:28:24 -0600564 imply CMD_SATA
Christophe Leroyfa379222017-08-04 16:34:40 -0600565 imply CMD_REGINFO
York Sun4167a672016-11-18 11:05:38 -0800566
York Sun45936372016-11-18 11:08:43 -0800567config ARCH_P2020
568 bool
Tom Rinia3041d92022-02-23 12:28:15 -0500569 select BTB
York Sun05cb79a2016-12-02 10:44:34 -0800570 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400571 select SYS_CACHE_SHIFT_5
York Sun63659ff2016-12-28 08:43:43 -0800572 select SYS_FSL_ERRATUM_A004477
573 select SYS_FSL_ERRATUM_A004508
574 select SYS_FSL_ERRATUM_A005125
York Sunc01e4a12016-12-28 08:43:42 -0800575 select SYS_FSL_ERRATUM_ESDHC111
576 select SYS_FSL_ERRATUM_ESDHC_A001
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800577 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800578 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800579 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800580 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800581 select SYS_FSL_SEC_COMPAT_2
York Sun53c95382016-12-28 08:43:29 -0800582 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530583 select FSL_ELBC
Simon Glassa1dc9802017-05-17 03:25:10 -0600584 imply CMD_EEPROM
Tom Rini8f1a80e2017-07-28 21:31:42 -0400585 imply CMD_NAND
Christophe Leroyfa379222017-08-04 16:34:40 -0600586 imply CMD_REGINFO
Simon Glassd6b318d2021-12-18 11:27:50 -0700587 imply TIMESTAMP
York Sun45936372016-11-18 11:08:43 -0800588
York Sunce040c82016-11-18 11:15:21 -0800589config ARCH_P2041
590 bool
Tom Rinib40d2b22022-03-18 08:38:32 -0400591 select BACKSIDE_L2_CACHE
York Sunf8dee362016-12-28 08:43:27 -0800592 select E500MC
York Sun05cb79a2016-12-02 10:44:34 -0800593 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400594 select SYS_CACHE_SHIFT_6
York Sun63659ff2016-12-28 08:43:43 -0800595 select SYS_FSL_ERRATUM_A004510
596 select SYS_FSL_ERRATUM_A004849
Chris Packham4eaf7f52018-10-04 20:03:53 +1300597 select SYS_FSL_ERRATUM_A005275
York Sun63659ff2016-12-28 08:43:43 -0800598 select SYS_FSL_ERRATUM_A006261
599 select SYS_FSL_ERRATUM_CPU_A003999
600 select SYS_FSL_ERRATUM_DDR_A003
601 select SYS_FSL_ERRATUM_DDR_A003474
York Sunc01e4a12016-12-28 08:43:42 -0800602 select SYS_FSL_ERRATUM_ESDHC111
York Sun63659ff2016-12-28 08:43:43 -0800603 select SYS_FSL_ERRATUM_I2C_A004447
604 select SYS_FSL_ERRATUM_NMG_CPU_A011
605 select SYS_FSL_ERRATUM_SRIO_A004034
606 select SYS_FSL_ERRATUM_USB14
York Sund26e34c2016-12-28 08:43:40 -0800607 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800608 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800609 select SYS_FSL_QORIQ_CHASSIS1
Tom Rini4143a232022-07-31 21:08:28 -0400610 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v22
York Sun90b80382016-12-28 08:43:31 -0800611 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800612 select SYS_FSL_SEC_COMPAT_4
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530613 select FSL_ELBC
Tom Rini8f1a80e2017-07-28 21:31:42 -0400614 imply CMD_NAND
York Sunce040c82016-11-18 11:15:21 -0800615
York Sun5e5fdd22016-11-18 11:20:40 -0800616config ARCH_P3041
617 bool
Tom Rinib40d2b22022-03-18 08:38:32 -0400618 select BACKSIDE_L2_CACHE
York Sunf8dee362016-12-28 08:43:27 -0800619 select E500MC
Tom Rini6f6b9702022-07-23 13:05:08 -0400620 select FSL_CORENET
York Sun05cb79a2016-12-02 10:44:34 -0800621 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400622 select SYS_CACHE_SHIFT_6
York Sun22120f12016-12-28 08:43:46 -0800623 select SYS_FSL_DDR_VER_44
York Sun63659ff2016-12-28 08:43:43 -0800624 select SYS_FSL_ERRATUM_A004510
625 select SYS_FSL_ERRATUM_A004849
Chris Packham4eaf7f52018-10-04 20:03:53 +1300626 select SYS_FSL_ERRATUM_A005275
York Sun63659ff2016-12-28 08:43:43 -0800627 select SYS_FSL_ERRATUM_A005812
628 select SYS_FSL_ERRATUM_A006261
629 select SYS_FSL_ERRATUM_CPU_A003999
630 select SYS_FSL_ERRATUM_DDR_A003
631 select SYS_FSL_ERRATUM_DDR_A003474
York Sunc01e4a12016-12-28 08:43:42 -0800632 select SYS_FSL_ERRATUM_ESDHC111
York Sun63659ff2016-12-28 08:43:43 -0800633 select SYS_FSL_ERRATUM_I2C_A004447
634 select SYS_FSL_ERRATUM_NMG_CPU_A011
635 select SYS_FSL_ERRATUM_SRIO_A004034
636 select SYS_FSL_ERRATUM_USB14
York Sund26e34c2016-12-28 08:43:40 -0800637 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800638 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800639 select SYS_FSL_QORIQ_CHASSIS1
Tom Rini4143a232022-07-31 21:08:28 -0400640 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v22
York Sun90b80382016-12-28 08:43:31 -0800641 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800642 select SYS_FSL_SEC_COMPAT_4
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530643 select FSL_ELBC
Tom Rini8f1a80e2017-07-28 21:31:42 -0400644 imply CMD_NAND
Simon Glass3bf926c2017-06-14 21:28:24 -0600645 imply CMD_SATA
Christophe Leroyfa379222017-08-04 16:34:40 -0600646 imply CMD_REGINFO
Tuomas Tynkkynen9920d152017-12-08 15:36:17 +0200647 imply FSL_SATA
York Sun5e5fdd22016-11-18 11:20:40 -0800648
York Sune71372c2016-11-18 11:24:40 -0800649config ARCH_P4080
650 bool
Tom Rinib40d2b22022-03-18 08:38:32 -0400651 select BACKSIDE_L2_CACHE
York Sunf8dee362016-12-28 08:43:27 -0800652 select E500MC
Tom Rini6f6b9702022-07-23 13:05:08 -0400653 select FSL_CORENET
York Sun05cb79a2016-12-02 10:44:34 -0800654 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400655 select SYS_CACHE_SHIFT_6
York Sun22120f12016-12-28 08:43:46 -0800656 select SYS_FSL_DDR_VER_44
York Sun63659ff2016-12-28 08:43:43 -0800657 select SYS_FSL_ERRATUM_A004510
658 select SYS_FSL_ERRATUM_A004580
659 select SYS_FSL_ERRATUM_A004849
660 select SYS_FSL_ERRATUM_A005812
661 select SYS_FSL_ERRATUM_A007075
662 select SYS_FSL_ERRATUM_CPC_A002
663 select SYS_FSL_ERRATUM_CPC_A003
664 select SYS_FSL_ERRATUM_CPU_A003999
665 select SYS_FSL_ERRATUM_DDR_A003
666 select SYS_FSL_ERRATUM_DDR_A003474
667 select SYS_FSL_ERRATUM_ELBC_A001
York Sunc01e4a12016-12-28 08:43:42 -0800668 select SYS_FSL_ERRATUM_ESDHC111
669 select SYS_FSL_ERRATUM_ESDHC13
670 select SYS_FSL_ERRATUM_ESDHC135
York Sun63659ff2016-12-28 08:43:43 -0800671 select SYS_FSL_ERRATUM_I2C_A004447
672 select SYS_FSL_ERRATUM_NMG_CPU_A011
673 select SYS_FSL_ERRATUM_SRIO_A004034
Tom Rini4143a232022-07-31 21:08:28 -0400674 select SYS_FSL_PCIE_COMPAT_P4080_PCIE
York Sun63659ff2016-12-28 08:43:43 -0800675 select SYS_P4080_ERRATUM_CPU22
676 select SYS_P4080_ERRATUM_PCIE_A003
677 select SYS_P4080_ERRATUM_SERDES8
678 select SYS_P4080_ERRATUM_SERDES9
679 select SYS_P4080_ERRATUM_SERDES_A001
680 select SYS_P4080_ERRATUM_SERDES_A005
York Sund26e34c2016-12-28 08:43:40 -0800681 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800682 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800683 select SYS_FSL_QORIQ_CHASSIS1
York Sun90b80382016-12-28 08:43:31 -0800684 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800685 select SYS_FSL_SEC_COMPAT_4
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530686 select FSL_ELBC
Simon Glass3bf926c2017-06-14 21:28:24 -0600687 imply CMD_SATA
Christophe Leroyfa379222017-08-04 16:34:40 -0600688 imply CMD_REGINFO
Tuomas Tynkkynenc88ecf42017-12-08 15:36:14 +0200689 imply SATA_SIL
York Sune71372c2016-11-18 11:24:40 -0800690
York Sun95390362016-11-18 11:39:36 -0800691config ARCH_P5040
692 bool
Tom Rinib40d2b22022-03-18 08:38:32 -0400693 select BACKSIDE_L2_CACHE
York Sunf8dee362016-12-28 08:43:27 -0800694 select E500MC
Tom Rini6f6b9702022-07-23 13:05:08 -0400695 select FSL_CORENET
York Sun05cb79a2016-12-02 10:44:34 -0800696 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400697 select SYS_CACHE_SHIFT_6
York Sun22120f12016-12-28 08:43:46 -0800698 select SYS_FSL_DDR_VER_44
York Sun63659ff2016-12-28 08:43:43 -0800699 select SYS_FSL_ERRATUM_A004510
700 select SYS_FSL_ERRATUM_A004699
Chris Packham4eaf7f52018-10-04 20:03:53 +1300701 select SYS_FSL_ERRATUM_A005275
York Sun63659ff2016-12-28 08:43:43 -0800702 select SYS_FSL_ERRATUM_A005812
703 select SYS_FSL_ERRATUM_A006261
704 select SYS_FSL_ERRATUM_DDR_A003
705 select SYS_FSL_ERRATUM_DDR_A003474
York Sunc01e4a12016-12-28 08:43:42 -0800706 select SYS_FSL_ERRATUM_ESDHC111
York Sun63659ff2016-12-28 08:43:43 -0800707 select SYS_FSL_ERRATUM_USB14
York Sund26e34c2016-12-28 08:43:40 -0800708 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800709 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800710 select SYS_FSL_QORIQ_CHASSIS1
Tom Rini4143a232022-07-31 21:08:28 -0400711 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v24
York Sun90b80382016-12-28 08:43:31 -0800712 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800713 select SYS_FSL_SEC_COMPAT_4
York Sun48512782016-12-28 08:43:50 -0800714 select SYS_PPC64
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530715 select FSL_ELBC
Simon Glass3bf926c2017-06-14 21:28:24 -0600716 imply CMD_SATA
Christophe Leroyfa379222017-08-04 16:34:40 -0600717 imply CMD_REGINFO
Tuomas Tynkkynen9920d152017-12-08 15:36:17 +0200718 imply FSL_SATA
York Sun95390362016-11-18 11:39:36 -0800719
York Sun10343402016-11-18 12:29:51 -0800720config ARCH_QEMU_E500
721 bool
Tom Riniab92b382021-08-26 11:47:59 -0400722 select SYS_CACHE_SHIFT_5
York Sun10343402016-11-18 12:29:51 -0800723
York Sune5d5f5a2016-11-18 13:01:34 -0800724config ARCH_T1024
725 bool
Tom Rinib40d2b22022-03-18 08:38:32 -0400726 select BACKSIDE_L2_CACHE
York Sunf8dee362016-12-28 08:43:27 -0800727 select E500MC
Tom Rinif2428ac2022-03-24 17:18:01 -0400728 select E5500
Tom Rini6f6b9702022-07-23 13:05:08 -0400729 select FSL_CORENET
York Sun05cb79a2016-12-02 10:44:34 -0800730 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400731 select SYS_CACHE_SHIFT_6
York Sun22120f12016-12-28 08:43:46 -0800732 select SYS_FSL_DDR_VER_50
York Sun63659ff2016-12-28 08:43:43 -0800733 select SYS_FSL_ERRATUM_A008378
Jaiprakash Singh164a5af2020-06-02 12:44:02 +0530734 select SYS_FSL_ERRATUM_A008109
York Sun63659ff2016-12-28 08:43:43 -0800735 select SYS_FSL_ERRATUM_A009663
736 select SYS_FSL_ERRATUM_A009942
York Sunc01e4a12016-12-28 08:43:42 -0800737 select SYS_FSL_ERRATUM_ESDHC111
York Sund26e34c2016-12-28 08:43:40 -0800738 select SYS_FSL_HAS_DDR3
739 select SYS_FSL_HAS_DDR4
York Sun2c2e2c92016-12-28 08:43:30 -0800740 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800741 select SYS_FSL_QORIQ_CHASSIS2
Tom Rini4143a232022-07-31 21:08:28 -0400742 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v24
York Sun90b80382016-12-28 08:43:31 -0800743 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800744 select SYS_FSL_SEC_COMPAT_5
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530745 select FSL_IFC
Simon Glassa1dc9802017-05-17 03:25:10 -0600746 imply CMD_EEPROM
Tom Rini8f1a80e2017-07-28 21:31:42 -0400747 imply CMD_NAND
Tom Rinid56b4b12017-07-22 18:36:16 -0400748 imply CMD_MTDPARTS
Christophe Leroyfa379222017-08-04 16:34:40 -0600749 imply CMD_REGINFO
York Sune5d5f5a2016-11-18 13:01:34 -0800750
York Sun5d737012016-11-18 13:11:12 -0800751config ARCH_T1040
752 bool
Tom Rinib40d2b22022-03-18 08:38:32 -0400753 select BACKSIDE_L2_CACHE
York Sunf8dee362016-12-28 08:43:27 -0800754 select E500MC
Tom Rinif2428ac2022-03-24 17:18:01 -0400755 select E5500
Tom Rini6f6b9702022-07-23 13:05:08 -0400756 select FSL_CORENET
York Sun05cb79a2016-12-02 10:44:34 -0800757 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400758 select SYS_CACHE_SHIFT_6
York Sun22120f12016-12-28 08:43:46 -0800759 select SYS_FSL_DDR_VER_50
York Sun63659ff2016-12-28 08:43:43 -0800760 select SYS_FSL_ERRATUM_A008044
761 select SYS_FSL_ERRATUM_A008378
Joakim Tjernlund73af0942019-11-20 17:07:34 +0100762 select SYS_FSL_ERRATUM_A008109
York Sun63659ff2016-12-28 08:43:43 -0800763 select SYS_FSL_ERRATUM_A009663
764 select SYS_FSL_ERRATUM_A009942
York Sunc01e4a12016-12-28 08:43:42 -0800765 select SYS_FSL_ERRATUM_ESDHC111
York Sund26e34c2016-12-28 08:43:40 -0800766 select SYS_FSL_HAS_DDR3
767 select SYS_FSL_HAS_DDR4
York Sun2c2e2c92016-12-28 08:43:30 -0800768 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800769 select SYS_FSL_QORIQ_CHASSIS2
Tom Rini4143a232022-07-31 21:08:28 -0400770 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v24
York Sun90b80382016-12-28 08:43:31 -0800771 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800772 select SYS_FSL_SEC_COMPAT_5
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530773 select FSL_IFC
Tom Rinid56b4b12017-07-22 18:36:16 -0400774 imply CMD_MTDPARTS
Tom Rini8f1a80e2017-07-28 21:31:42 -0400775 imply CMD_NAND
Christophe Leroyfa379222017-08-04 16:34:40 -0600776 imply CMD_REGINFO
York Sun5d737012016-11-18 13:11:12 -0800777
York Sun5449c982016-11-18 13:36:39 -0800778config ARCH_T1042
779 bool
Tom Rinib40d2b22022-03-18 08:38:32 -0400780 select BACKSIDE_L2_CACHE
York Sunf8dee362016-12-28 08:43:27 -0800781 select E500MC
Tom Rinif2428ac2022-03-24 17:18:01 -0400782 select E5500
Tom Rini6f6b9702022-07-23 13:05:08 -0400783 select FSL_CORENET
York Sun05cb79a2016-12-02 10:44:34 -0800784 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400785 select SYS_CACHE_SHIFT_6
York Sun22120f12016-12-28 08:43:46 -0800786 select SYS_FSL_DDR_VER_50
York Sun63659ff2016-12-28 08:43:43 -0800787 select SYS_FSL_ERRATUM_A008044
788 select SYS_FSL_ERRATUM_A008378
Joakim Tjernlund73af0942019-11-20 17:07:34 +0100789 select SYS_FSL_ERRATUM_A008109
York Sun63659ff2016-12-28 08:43:43 -0800790 select SYS_FSL_ERRATUM_A009663
791 select SYS_FSL_ERRATUM_A009942
York Sunc01e4a12016-12-28 08:43:42 -0800792 select SYS_FSL_ERRATUM_ESDHC111
York Sund26e34c2016-12-28 08:43:40 -0800793 select SYS_FSL_HAS_DDR3
794 select SYS_FSL_HAS_DDR4
York Sun2c2e2c92016-12-28 08:43:30 -0800795 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800796 select SYS_FSL_QORIQ_CHASSIS2
Tom Rini4143a232022-07-31 21:08:28 -0400797 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v24
York Sun90b80382016-12-28 08:43:31 -0800798 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800799 select SYS_FSL_SEC_COMPAT_5
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530800 select FSL_IFC
Tom Rinid56b4b12017-07-22 18:36:16 -0400801 imply CMD_MTDPARTS
Tom Rini8f1a80e2017-07-28 21:31:42 -0400802 imply CMD_NAND
Christophe Leroyfa379222017-08-04 16:34:40 -0600803 imply CMD_REGINFO
York Sun5449c982016-11-18 13:36:39 -0800804
York Sun0f3d80e2016-11-21 12:54:19 -0800805config ARCH_T2080
806 bool
York Sunf8dee362016-12-28 08:43:27 -0800807 select E500MC
York Sun9ec10102016-12-28 08:43:48 -0800808 select E6500
Tom Rini6f6b9702022-07-23 13:05:08 -0400809 select FSL_CORENET
York Sun05cb79a2016-12-02 10:44:34 -0800810 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400811 select SYS_CACHE_SHIFT_6
York Sun22120f12016-12-28 08:43:46 -0800812 select SYS_FSL_DDR_VER_47
York Sun63659ff2016-12-28 08:43:43 -0800813 select SYS_FSL_ERRATUM_A006379
814 select SYS_FSL_ERRATUM_A006593
Tom Rini601483f2022-06-16 14:04:40 -0400815 select SYS_FSL_ERRATUM_A007186 if CHAIN_OF_TRUST
York Sun63659ff2016-12-28 08:43:43 -0800816 select SYS_FSL_ERRATUM_A007212
Tony O'Brien09bfd962016-12-02 09:22:34 +1300817 select SYS_FSL_ERRATUM_A007815
Darwin Dingel06ad9702016-10-25 09:48:01 +1300818 select SYS_FSL_ERRATUM_A007907
Jaiprakash Singh164a5af2020-06-02 12:44:02 +0530819 select SYS_FSL_ERRATUM_A008109
York Sun63659ff2016-12-28 08:43:43 -0800820 select SYS_FSL_ERRATUM_A009942
York Sunc01e4a12016-12-28 08:43:42 -0800821 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800822 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800823 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800824 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800825 select SYS_FSL_QORIQ_CHASSIS2
Tom Rini4143a232022-07-31 21:08:28 -0400826 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v30
York Sun90b80382016-12-28 08:43:31 -0800827 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800828 select SYS_FSL_SEC_COMPAT_4
York Sun48512782016-12-28 08:43:50 -0800829 select SYS_PPC64
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530830 select FSL_IFC
Peng Maa2d4cb22019-12-23 09:28:12 +0000831 imply CMD_SATA
Tom Rini8f1a80e2017-07-28 21:31:42 -0400832 imply CMD_NAND
Christophe Leroyfa379222017-08-04 16:34:40 -0600833 imply CMD_REGINFO
Peng Maa2d4cb22019-12-23 09:28:12 +0000834 imply FSL_SATA
Tom Rinid7d40f62021-08-17 17:59:41 -0400835 imply ID_EEPROM
York Sun0f3d80e2016-11-21 12:54:19 -0800836
York Sun26bc57d2016-11-21 13:35:41 -0800837config ARCH_T4240
838 bool
York Sunf8dee362016-12-28 08:43:27 -0800839 select E500MC
York Sun9ec10102016-12-28 08:43:48 -0800840 select E6500
Tom Rini6f6b9702022-07-23 13:05:08 -0400841 select FSL_CORENET
York Sun05cb79a2016-12-02 10:44:34 -0800842 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400843 select SYS_CACHE_SHIFT_6
York Sun22120f12016-12-28 08:43:46 -0800844 select SYS_FSL_DDR_VER_47
York Sun63659ff2016-12-28 08:43:43 -0800845 select SYS_FSL_ERRATUM_A004468
846 select SYS_FSL_ERRATUM_A005871
847 select SYS_FSL_ERRATUM_A006261
848 select SYS_FSL_ERRATUM_A006379
849 select SYS_FSL_ERRATUM_A006593
Tom Rini601483f2022-06-16 14:04:40 -0400850 select SYS_FSL_ERRATUM_A007186 if CHAIN_OF_TRUST
York Sun63659ff2016-12-28 08:43:43 -0800851 select SYS_FSL_ERRATUM_A007798
Tony O'Brien09bfd962016-12-02 09:22:34 +1300852 select SYS_FSL_ERRATUM_A007815
Darwin Dingel06ad9702016-10-25 09:48:01 +1300853 select SYS_FSL_ERRATUM_A007907
Jaiprakash Singh164a5af2020-06-02 12:44:02 +0530854 select SYS_FSL_ERRATUM_A008109
York Sun63659ff2016-12-28 08:43:43 -0800855 select SYS_FSL_ERRATUM_A009942
York Sund26e34c2016-12-28 08:43:40 -0800856 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800857 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800858 select SYS_FSL_QORIQ_CHASSIS2
Tom Rini4143a232022-07-31 21:08:28 -0400859 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v30
York Sun90b80382016-12-28 08:43:31 -0800860 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800861 select SYS_FSL_SEC_COMPAT_4
York Sun48512782016-12-28 08:43:50 -0800862 select SYS_PPC64
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530863 select FSL_IFC
Simon Glass3bf926c2017-06-14 21:28:24 -0600864 imply CMD_SATA
Tom Rini8f1a80e2017-07-28 21:31:42 -0400865 imply CMD_NAND
Christophe Leroyfa379222017-08-04 16:34:40 -0600866 imply CMD_REGINFO
Tuomas Tynkkynen9920d152017-12-08 15:36:17 +0200867 imply FSL_SATA
York Sun05cb79a2016-12-02 10:44:34 -0800868
Jagdish Gediya96699f02018-09-03 21:35:10 +0530869config MPC85XX_HAVE_RESET_VECTOR
870 bool "Indicate reset vector at CONFIG_RESET_VECTOR_ADDRESS - 0xffc"
871 depends on MPC85xx
872
Tom Rinia3041d92022-02-23 12:28:15 -0500873config BTB
874 bool "toggle branch predition"
875
York Sunf8dee362016-12-28 08:43:27 -0800876config BOOKE
877 bool
878 default y
879
880config E500
881 bool
882 default y
883 help
884 Enable PowerPC E500 cores, including e500v1, e500v2, e500mc
885
886config E500MC
887 bool
Tom Rinia3041d92022-02-23 12:28:15 -0500888 select BTB
Simon Glass6500ec72017-08-04 16:34:34 -0600889 imply CMD_PCI
York Sunf8dee362016-12-28 08:43:27 -0800890 help
891 Enble PowerPC E500MC core
892
Tom Rinif2428ac2022-03-24 17:18:01 -0400893config E5500
894 bool
895
York Sun9ec10102016-12-28 08:43:48 -0800896config E6500
897 bool
Tom Rinia3041d92022-02-23 12:28:15 -0500898 select BTB
York Sun9ec10102016-12-28 08:43:48 -0800899 help
900 Enable PowerPC E6500 core
901
York Sun05cb79a2016-12-02 10:44:34 -0800902config FSL_LAW
903 bool
904 help
905 Use Freescale common code for Local Access Window
York Sun26bc57d2016-11-21 13:35:41 -0800906
Tom Rini1e7750f2022-06-16 14:04:34 -0400907config HETROGENOUS_CLUSTERS
908 bool
909
York Sun3f82b562016-11-23 12:30:40 -0800910config MAX_CPUS
911 int "Maximum number of CPUs permitted for MPC85xx"
912 default 12 if ARCH_T4240
Tom Riniec6b37c2021-05-23 10:58:05 -0400913 default 8 if ARCH_P4080
York Sun3f82b562016-11-23 12:30:40 -0800914 default 4 if ARCH_B4860 || \
915 ARCH_P2041 || \
916 ARCH_P3041 || \
917 ARCH_P5040 || \
918 ARCH_T1040 || \
919 ARCH_T1042 || \
Tom Rini2322b952021-02-20 20:06:21 -0500920 ARCH_T2080
York Sun3f82b562016-11-23 12:30:40 -0800921 default 2 if ARCH_B4420 || \
922 ARCH_BSC9132 || \
York Sun3f82b562016-11-23 12:30:40 -0800923 ARCH_P1020 || \
924 ARCH_P1021 || \
York Sun3f82b562016-11-23 12:30:40 -0800925 ARCH_P1023 || \
926 ARCH_P1024 || \
927 ARCH_P1025 || \
928 ARCH_P2020 || \
York Sun3f82b562016-11-23 12:30:40 -0800929 ARCH_T1024
930 default 1
931 help
932 Set this number to the maximum number of possible CPUs in the SoC.
933 SoCs may have multiple clusters with each cluster may have multiple
934 ports. If some ports are reserved but higher ports are used for
935 cores, count the reserved ports. This will allocate enough memory
936 in spin table to properly handle all cores.
937
York Sun830fc1b2016-12-01 13:26:06 -0800938config SYS_CCSRBAR_DEFAULT
939 hex "Default CCSRBAR address"
940 default 0xff700000 if ARCH_BSC9131 || \
941 ARCH_BSC9132 || \
942 ARCH_C29X || \
943 ARCH_MPC8536 || \
944 ARCH_MPC8540 || \
York Sun830fc1b2016-12-01 13:26:06 -0800945 ARCH_MPC8544 || \
946 ARCH_MPC8548 || \
York Sun830fc1b2016-12-01 13:26:06 -0800947 ARCH_MPC8560 || \
York Sun830fc1b2016-12-01 13:26:06 -0800948 ARCH_P1010 || \
949 ARCH_P1011 || \
950 ARCH_P1020 || \
951 ARCH_P1021 || \
York Sun830fc1b2016-12-01 13:26:06 -0800952 ARCH_P1024 || \
953 ARCH_P1025 || \
954 ARCH_P2020
955 default 0xff600000 if ARCH_P1023
956 default 0xfe000000 if ARCH_B4420 || \
957 ARCH_B4860 || \
958 ARCH_P2041 || \
959 ARCH_P3041 || \
960 ARCH_P4080 || \
York Sun830fc1b2016-12-01 13:26:06 -0800961 ARCH_P5040 || \
York Sun830fc1b2016-12-01 13:26:06 -0800962 ARCH_T1024 || \
963 ARCH_T1040 || \
964 ARCH_T1042 || \
965 ARCH_T2080 || \
York Sun830fc1b2016-12-01 13:26:06 -0800966 ARCH_T4240
967 default 0xe0000000 if ARCH_QEMU_E500
968 help
969 Default value of CCSRBAR comes from power-on-reset. It
970 is fixed on each SoC. Some SoCs can have different value
971 if changed by pre-boot regime. The value here must match
972 the current value in SoC. If not sure, do not change.
973
Tom Rinifdd0da42022-03-11 09:11:59 -0500974config A003399_NOR_WORKAROUND
975 bool
976 help
977 Enables a workaround for IFC erratum A003399. It is only required
978 during NOR boot.
979
Tom Rini5f7c8862022-03-11 09:12:00 -0500980config A008044_WORKAROUND
981 bool
982 help
983 Enables a workaround for T1040/T1042 erratum A008044. It is only
984 required during NAND boot and valid for Rev 1.0 SoC revision
985
York Sun63659ff2016-12-28 08:43:43 -0800986config SYS_FSL_ERRATUM_A004468
987 bool
988
989config SYS_FSL_ERRATUM_A004477
990 bool
991
992config SYS_FSL_ERRATUM_A004508
993 bool
994
995config SYS_FSL_ERRATUM_A004580
996 bool
997
998config SYS_FSL_ERRATUM_A004699
999 bool
1000
1001config SYS_FSL_ERRATUM_A004849
1002 bool
1003
1004config SYS_FSL_ERRATUM_A004510
1005 bool
1006
1007config SYS_FSL_ERRATUM_A004510_SVR_REV
1008 hex
1009 depends on SYS_FSL_ERRATUM_A004510
1010 default 0x20 if ARCH_P4080
1011 default 0x10
1012
1013config SYS_FSL_ERRATUM_A004510_SVR_REV2
1014 hex
1015 depends on (SYS_FSL_ERRATUM_A004510 && (ARCH_P2041 || ARCH_P3041))
1016 default 0x11
1017
1018config SYS_FSL_ERRATUM_A005125
1019 bool
1020
1021config SYS_FSL_ERRATUM_A005434
1022 bool
1023
1024config SYS_FSL_ERRATUM_A005812
1025 bool
1026
1027config SYS_FSL_ERRATUM_A005871
1028 bool
1029
Chris Packham4eaf7f52018-10-04 20:03:53 +13001030config SYS_FSL_ERRATUM_A005275
1031 bool
1032
York Sun63659ff2016-12-28 08:43:43 -08001033config SYS_FSL_ERRATUM_A006261
1034 bool
1035
1036config SYS_FSL_ERRATUM_A006379
1037 bool
1038
1039config SYS_FSL_ERRATUM_A006384
1040 bool
1041
1042config SYS_FSL_ERRATUM_A006475
1043 bool
1044
1045config SYS_FSL_ERRATUM_A006593
1046 bool
1047
1048config SYS_FSL_ERRATUM_A007075
1049 bool
1050
1051config SYS_FSL_ERRATUM_A007186
1052 bool
1053
1054config SYS_FSL_ERRATUM_A007212
1055 bool
1056
Tony O'Brien09bfd962016-12-02 09:22:34 +13001057config SYS_FSL_ERRATUM_A007815
1058 bool
1059
York Sun63659ff2016-12-28 08:43:43 -08001060config SYS_FSL_ERRATUM_A007798
1061 bool
1062
Darwin Dingel06ad9702016-10-25 09:48:01 +13001063config SYS_FSL_ERRATUM_A007907
1064 bool
1065
York Sun63659ff2016-12-28 08:43:43 -08001066config SYS_FSL_ERRATUM_A008044
1067 bool
Tom Rini5f7c8862022-03-11 09:12:00 -05001068 select A008044_WORKAROUND if MTD_RAW_NAND
York Sun63659ff2016-12-28 08:43:43 -08001069
1070config SYS_FSL_ERRATUM_CPC_A002
1071 bool
1072
1073config SYS_FSL_ERRATUM_CPC_A003
1074 bool
1075
1076config SYS_FSL_ERRATUM_CPU_A003999
1077 bool
1078
1079config SYS_FSL_ERRATUM_ELBC_A001
1080 bool
1081
1082config SYS_FSL_ERRATUM_I2C_A004447
1083 bool
1084
1085config SYS_FSL_A004447_SVR_REV
1086 hex
1087 depends on SYS_FSL_ERRATUM_I2C_A004447
1088 default 0x00 if ARCH_MPC8548
1089 default 0x10 if ARCH_P1010
1090 default 0x11 if ARCH_P1023 || ARCH_P2041 || ARCH_BSC9132
Tom Rinia99dab12021-02-20 20:06:30 -05001091 default 0x20 if ARCH_P3041 || ARCH_P4080
York Sun63659ff2016-12-28 08:43:43 -08001092
1093config SYS_FSL_ERRATUM_IFC_A002769
1094 bool
1095
1096config SYS_FSL_ERRATUM_IFC_A003399
1097 bool
1098
1099config SYS_FSL_ERRATUM_NMG_CPU_A011
1100 bool
1101
1102config SYS_FSL_ERRATUM_NMG_ETSEC129
1103 bool
1104
1105config SYS_FSL_ERRATUM_NMG_LBC103
1106 bool
1107
1108config SYS_FSL_ERRATUM_P1010_A003549
1109 bool
1110
1111config SYS_FSL_ERRATUM_SATA_A001
1112 bool
1113
1114config SYS_FSL_ERRATUM_SEC_A003571
1115 bool
1116
1117config SYS_FSL_ERRATUM_SRIO_A004034
1118 bool
1119
1120config SYS_FSL_ERRATUM_USB14
1121 bool
1122
Tom Rinif76750d2021-12-11 14:55:51 -05001123config SYS_HAS_SERDES
1124 bool
1125
York Sun63659ff2016-12-28 08:43:43 -08001126config SYS_P4080_ERRATUM_CPU22
1127 bool
1128
1129config SYS_P4080_ERRATUM_PCIE_A003
1130 bool
1131
1132config SYS_P4080_ERRATUM_SERDES8
1133 bool
1134
1135config SYS_P4080_ERRATUM_SERDES9
1136 bool
1137
1138config SYS_P4080_ERRATUM_SERDES_A001
1139 bool
1140
1141config SYS_P4080_ERRATUM_SERDES_A005
1142 bool
1143
Hou Zhiqiangc16dfd02019-05-22 22:46:03 +08001144config FSL_PCIE_DISABLE_ASPM
1145 bool
1146
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +08001147config FSL_PCIE_RESET
1148 bool
1149
York Sun73717742016-12-28 08:43:49 -08001150config SYS_FSL_QORIQ_CHASSIS1
1151 bool
1152
1153config SYS_FSL_QORIQ_CHASSIS2
1154 bool
1155
York Sun8303acb2016-12-01 14:05:02 -08001156config SYS_FSL_NUM_LAWS
1157 int "Number of local access windows"
1158 depends on FSL_LAW
1159 default 32 if ARCH_B4420 || \
1160 ARCH_B4860 || \
1161 ARCH_P2041 || \
1162 ARCH_P3041 || \
1163 ARCH_P4080 || \
York Sun8303acb2016-12-01 14:05:02 -08001164 ARCH_P5040 || \
1165 ARCH_T2080 || \
York Sun8303acb2016-12-01 14:05:02 -08001166 ARCH_T4240
Tom Rini6c3d9932021-05-14 21:34:22 -04001167 default 16 if ARCH_T1024 || \
York Sun8303acb2016-12-01 14:05:02 -08001168 ARCH_T1040 || \
1169 ARCH_T1042
1170 default 12 if ARCH_BSC9131 || \
1171 ARCH_BSC9132 || \
1172 ARCH_C29X || \
1173 ARCH_MPC8536 || \
York Sun8303acb2016-12-01 14:05:02 -08001174 ARCH_P1010 || \
1175 ARCH_P1011 || \
1176 ARCH_P1020 || \
1177 ARCH_P1021 || \
York Sun8303acb2016-12-01 14:05:02 -08001178 ARCH_P1023 || \
1179 ARCH_P1024 || \
1180 ARCH_P1025 || \
1181 ARCH_P2020
1182 default 10 if ARCH_MPC8544 || \
Tom Rini80696892021-05-14 21:34:23 -04001183 ARCH_MPC8548
York Sun8303acb2016-12-01 14:05:02 -08001184 default 8 if ARCH_MPC8540 || \
York Sun8303acb2016-12-01 14:05:02 -08001185 ARCH_MPC8560
1186 help
1187 Number of local access windows. This is fixed per SoC.
1188 If not sure, do not change.
1189
Tom Rini7da6a9e2022-07-23 13:05:11 -04001190config SYS_FSL_CORES_PER_CLUSTER
1191 int
1192 depends on SYS_FSL_QORIQ_CHASSIS2
1193 default 4 if ARCH_B4860 || ARCH_T2080 || ARCH_T4240
1194 default 2 if ARCH_B4420
1195 default 1 if ARCH_T1024 || ARCH_T1040 || ARCH_T1042
1196
York Sun9ec10102016-12-28 08:43:48 -08001197config SYS_FSL_THREADS_PER_CORE
1198 int
Tom Rini7da6a9e2022-07-23 13:05:11 -04001199 depends on SYS_FSL_QORIQ_CHASSIS2
York Sun9ec10102016-12-28 08:43:48 -08001200 default 2 if E6500
1201 default 1
1202
York Sun26e79b62016-12-28 08:43:28 -08001203config SYS_NUM_TLBCAMS
1204 int "Number of TLB CAM entries"
1205 default 64 if E500MC
1206 default 16
1207 help
1208 Number of TLB CAM entries for Book-E chips. 64 for E500MC,
1209 16 for other E500 SoCs.
1210
Tom Rini1e7750f2022-06-16 14:04:34 -04001211if HETROGENOUS_CLUSTERS
1212
1213config SYS_MAPLE
1214 def_bool y
1215
1216config SYS_CPRI
1217 def_bool y
1218
1219config PPC_CLUSTER_START
1220 int
1221 default 0
1222
1223config DSP_CLUSTER_START
1224 int
1225 default 1
1226
1227config SYS_CPRI_CLK
1228 int
1229 default 3
1230
1231config SYS_ULB_CLK
1232 int
1233 default 4
1234
1235config SYS_ETVPE_CLK
1236 int
1237 default 1
1238endif
1239
Tom Rinib40d2b22022-03-18 08:38:32 -04001240config BACKSIDE_L2_CACHE
1241 bool
1242
York Sun48512782016-12-28 08:43:50 -08001243config SYS_PPC64
1244 bool
1245
York Sun53c95382016-12-28 08:43:29 -08001246config SYS_PPC_E500_USE_DEBUG_TLB
1247 bool
1248
Prabhakar Kushwaha06878972017-02-02 15:01:48 +05301249config FSL_ELBC
1250 bool
1251
York Sun53c95382016-12-28 08:43:29 -08001252config SYS_PPC_E500_DEBUG_TLB
1253 int "Temporary TLB entry for external debugger"
1254 depends on SYS_PPC_E500_USE_DEBUG_TLB
1255 default 0 if ARCH_MPC8544 || ARCH_MPC8548
1256 default 1 if ARCH_MPC8536
Tom Rinied7fe2b2021-05-14 21:34:25 -04001257 default 2 if ARCH_P1011 || \
York Sun53c95382016-12-28 08:43:29 -08001258 ARCH_P1020 || \
1259 ARCH_P1021 || \
York Sun53c95382016-12-28 08:43:29 -08001260 ARCH_P1024 || \
1261 ARCH_P1025 || \
1262 ARCH_P2020
1263 default 3 if ARCH_P1010 || \
1264 ARCH_BSC9132 || \
1265 ARCH_C29X
1266 help
1267 Select a temporary TLB entry to be used during boot to work
1268 around limitations in e500v1 and e500v2 external debugger
1269 support. This reduces the portions of the boot code where
1270 breakpoints and single stepping do not work. The value of this
1271 symbol should be set to the TLB1 entry to be used for this
1272 purpose. If unsure, do not change.
1273
Prabhakar Kushwaha1c407072017-02-02 15:01:26 +05301274config SYS_FSL_IFC_CLK_DIV
1275 int "Divider of platform clock"
1276 depends on FSL_IFC
1277 default 2 if ARCH_B4420 || \
1278 ARCH_B4860 || \
1279 ARCH_T1024 || \
Prabhakar Kushwaha1c407072017-02-02 15:01:26 +05301280 ARCH_T1040 || \
1281 ARCH_T1042 || \
Prabhakar Kushwaha1c407072017-02-02 15:01:26 +05301282 ARCH_T4240
1283 default 1
1284 help
1285 Defines divider of platform clock(clock input to
1286 IFC controller).
1287
Prabhakar Kushwahaadd63f92017-02-02 15:02:00 +05301288config SYS_FSL_LBC_CLK_DIV
1289 int "Divider of platform clock"
1290 depends on FSL_ELBC || ARCH_MPC8540 || \
Tom Rinia8571332021-05-14 21:34:20 -04001291 ARCH_MPC8548 || \
Tom Rini80696892021-05-14 21:34:23 -04001292 ARCH_MPC8560
Prabhakar Kushwahaadd63f92017-02-02 15:02:00 +05301293
1294 default 2 if ARCH_P2041 || \
1295 ARCH_P3041 || \
1296 ARCH_P4080 || \
Prabhakar Kushwahaadd63f92017-02-02 15:02:00 +05301297 ARCH_P5040
1298 default 1
1299
1300 help
1301 Defines divider of platform clock(clock input to
1302 eLBC controller).
1303
Tom Rinifbc36212022-06-15 12:03:45 -04001304config ENABLE_36BIT_PHYS
1305 bool "Enable 36bit physical address space support"
1306
Tom Rini3dab4052022-06-25 11:02:43 -04001307config SYS_BOOK3E_HV
1308 bool "Category E.HV is supported"
1309 depends on BOOKE
1310
Tom Rini6f6b9702022-07-23 13:05:08 -04001311config FSL_CORENET
1312 bool
1313 select SYS_FSL_CPC
1314
Tom Rinif6c1f912022-06-25 11:02:45 -04001315config SYS_CPC_REINIT_F
1316 bool
1317 help
1318 The CPC is configured as SRAM at the time of U-Boot entry and is
1319 required to be re-initialized.
1320
1321config SYS_FSL_CPC
Tom Rini6f6b9702022-07-23 13:05:08 -04001322 bool
Tom Rinif6c1f912022-06-25 11:02:45 -04001323
Tom Rini38d091a2022-06-27 13:35:46 -04001324config SYS_CACHE_STASHING
1325 bool "Enable cache stashing"
1326
Tom Rini4143a232022-07-31 21:08:28 -04001327config SYS_FSL_PCIE_COMPAT_P4080_PCIE
1328 bool
1329
1330config SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v22
1331 bool
1332
1333config SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v24
1334 bool
1335
1336config SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v30
1337 bool
1338
1339config SYS_FSL_PCIE_COMPAT
1340 string
1341 depends on FSL_CORENET
1342 default "fsl,p4080-pcie" if SYS_FSL_PCIE_COMPAT_P4080_PCIE
1343 default "fsl,qoriq-pcie-v2.2" if SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v22
1344 default "fsl,qoriq-pcie-v2.4" if SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v24
1345 default "fsl,qoriq-pcie-v3.0" if SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v30
1346 help
1347 Defines the string to utilize when trying to match PCIe device tree
1348 nodes for the given platform.
1349
Tom Rinide47ff52022-06-10 22:59:37 -04001350config SYS_MPC85XX_NO_RESETVEC
1351 bool "Discard resetvec section and move bootpg section up"
1352 depends on MPC85xx
1353 help
1354 If this variable is specified, the section .resetvec is not kept and
1355 the section .bootpg is placed in the previous 4k of the .text section.
1356
1357config SPL_SYS_MPC85XX_NO_RESETVEC
1358 bool "Discard resetvec section and move bootpg section up, in SPL"
1359 depends on MPC85xx && SPL
1360 help
1361 If this variable is specified, the section .resetvec is not kept and
1362 the section .bootpg is placed in the previous 4k of the .text section,
1363 of the SPL portion of the binary.
1364
1365config TPL_SYS_MPC85XX_NO_RESETVEC
1366 bool "Discard resetvec section and move bootpg section up, in TPL"
1367 depends on MPC85xx && TPL
1368 help
1369 If this variable is specified, the section .resetvec is not kept and
1370 the section .bootpg is placed in the previous 4k of the .text section,
1371 of the SPL portion of the binary.
1372
Rajesh Bhagatc8c01702021-02-15 09:46:14 +01001373config FSL_VIA
1374 bool
1375
Bin Meng1d636a02021-02-25 17:22:58 +08001376source "board/emulation/qemu-ppce500/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001377source "board/freescale/corenet_ds/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001378source "board/freescale/mpc8548cds/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001379source "board/freescale/p1010rdb/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001380source "board/freescale/p1_p2_rdb_pc/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001381source "board/freescale/p2041rdb/Kconfig"
Shengzhou Liu48c6f322014-11-24 17:11:56 +08001382source "board/freescale/t102xrdb/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001383source "board/freescale/t104xrdb/Kconfig"
1384source "board/freescale/t208xqds/Kconfig"
1385source "board/freescale/t208xrdb/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001386source "board/freescale/t4rdb/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001387source "board/socrates/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001388
1389endmenu