blob: 2ac6b872f7bd61525948d4a296c70f4900e6e344 [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
York Sun90b80382016-12-28 08:43:31 -0800262 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800263 select SYS_FSL_SEC_COMPAT_4
York Sun48512782016-12-28 08:43:50 -0800264 select SYS_PPC64
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530265 select FSL_IFC
Simon Glassa1dc9802017-05-17 03:25:10 -0600266 imply CMD_EEPROM
Tom Rini8f1a80e2017-07-28 21:31:42 -0400267 imply CMD_NAND
Christophe Leroyfa379222017-08-04 16:34:40 -0600268 imply CMD_REGINFO
York Sunb41f1922016-11-18 11:56:57 -0800269
York Sun3006ebc2016-11-18 11:44:43 -0800270config ARCH_B4860
271 bool
York Sunf8dee362016-12-28 08:43:27 -0800272 select E500MC
York Sun9ec10102016-12-28 08:43:48 -0800273 select E6500
Tom Rini6f6b9702022-07-23 13:05:08 -0400274 select FSL_CORENET
York Sun05cb79a2016-12-02 10:44:34 -0800275 select FSL_LAW
Tom Rini1e7750f2022-06-16 14:04:34 -0400276 select HETROGENOUS_CLUSTERS
York Sun22120f12016-12-28 08:43:46 -0800277 select SYS_FSL_DDR_VER_47
York Sun63659ff2016-12-28 08:43:43 -0800278 select SYS_FSL_ERRATUM_A004477
279 select SYS_FSL_ERRATUM_A005871
280 select SYS_FSL_ERRATUM_A006379
281 select SYS_FSL_ERRATUM_A006384
282 select SYS_FSL_ERRATUM_A006475
283 select SYS_FSL_ERRATUM_A006593
284 select SYS_FSL_ERRATUM_A007075
Tom Rini601483f2022-06-16 14:04:40 -0400285 select SYS_FSL_ERRATUM_A007186 if CHAIN_OF_TRUST
York Sun63659ff2016-12-28 08:43:43 -0800286 select SYS_FSL_ERRATUM_A007212
Darwin Dingel06ad9702016-10-25 09:48:01 +1300287 select SYS_FSL_ERRATUM_A007907
York Sun63659ff2016-12-28 08:43:43 -0800288 select SYS_FSL_ERRATUM_A009942
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 Sun73717742016-12-28 08:43:49 -0800291 select SYS_FSL_QORIQ_CHASSIS2
York Sun90b80382016-12-28 08:43:31 -0800292 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800293 select SYS_FSL_SEC_COMPAT_4
York Sun48512782016-12-28 08:43:50 -0800294 select SYS_PPC64
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530295 select FSL_IFC
Simon Glassa1dc9802017-05-17 03:25:10 -0600296 imply CMD_EEPROM
Tom Rini8f1a80e2017-07-28 21:31:42 -0400297 imply CMD_NAND
Christophe Leroyfa379222017-08-04 16:34:40 -0600298 imply CMD_REGINFO
York Sun3006ebc2016-11-18 11:44:43 -0800299
York Sun115d60c2016-11-15 14:09:50 -0800300config ARCH_BSC9131
301 bool
York Sun05cb79a2016-12-02 10:44:34 -0800302 select FSL_LAW
York Sun22120f12016-12-28 08:43:46 -0800303 select SYS_FSL_DDR_VER_44
York Sun63659ff2016-12-28 08:43:43 -0800304 select SYS_FSL_ERRATUM_A004477
305 select SYS_FSL_ERRATUM_A005125
York Sunc01e4a12016-12-28 08:43:42 -0800306 select SYS_FSL_ERRATUM_ESDHC111
York Sund26e34c2016-12-28 08:43:40 -0800307 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800308 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800309 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800310 select SYS_FSL_SEC_COMPAT_4
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530311 select FSL_IFC
Simon Glassa1dc9802017-05-17 03:25:10 -0600312 imply CMD_EEPROM
Tom Rini8f1a80e2017-07-28 21:31:42 -0400313 imply CMD_NAND
Christophe Leroyfa379222017-08-04 16:34:40 -0600314 imply CMD_REGINFO
York Sun115d60c2016-11-15 14:09:50 -0800315
316config ARCH_BSC9132
317 bool
York Sun05cb79a2016-12-02 10:44:34 -0800318 select FSL_LAW
York Sun22120f12016-12-28 08:43:46 -0800319 select SYS_FSL_DDR_VER_46
York Sun63659ff2016-12-28 08:43:43 -0800320 select SYS_FSL_ERRATUM_A004477
321 select SYS_FSL_ERRATUM_A005125
322 select SYS_FSL_ERRATUM_A005434
York Sunc01e4a12016-12-28 08:43:42 -0800323 select SYS_FSL_ERRATUM_ESDHC111
York Sun63659ff2016-12-28 08:43:43 -0800324 select SYS_FSL_ERRATUM_I2C_A004447
325 select SYS_FSL_ERRATUM_IFC_A002769
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800326 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800327 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800328 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800329 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800330 select SYS_FSL_SEC_COMPAT_4
York Sun53c95382016-12-28 08:43:29 -0800331 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530332 select FSL_IFC
Simon Glassa1dc9802017-05-17 03:25:10 -0600333 imply CMD_EEPROM
Tom Rinid56b4b12017-07-22 18:36:16 -0400334 imply CMD_MTDPARTS
Tom Rini8f1a80e2017-07-28 21:31:42 -0400335 imply CMD_NAND
Simon Glass6500ec72017-08-04 16:34:34 -0600336 imply CMD_PCI
Christophe Leroyfa379222017-08-04 16:34:40 -0600337 imply CMD_REGINFO
York Sun115d60c2016-11-15 14:09:50 -0800338
York Sun4fd64742016-11-15 18:44:22 -0800339config ARCH_C29X
340 bool
York Sun05cb79a2016-12-02 10:44:34 -0800341 select FSL_LAW
York Sun22120f12016-12-28 08:43:46 -0800342 select SYS_FSL_DDR_VER_46
York Sun63659ff2016-12-28 08:43:43 -0800343 select SYS_FSL_ERRATUM_A005125
York Sunc01e4a12016-12-28 08:43:42 -0800344 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800345 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800346 select SYS_FSL_HAS_DDR3
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_6
York Sun53c95382016-12-28 08:43:29 -0800350 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530351 select FSL_IFC
Tom Rini8f1a80e2017-07-28 21:31:42 -0400352 imply CMD_NAND
Simon Glass6500ec72017-08-04 16:34:34 -0600353 imply CMD_PCI
Christophe Leroyfa379222017-08-04 16:34:40 -0600354 imply CMD_REGINFO
York Sun4fd64742016-11-15 18:44:22 -0800355
York Sun24ad75a2016-11-16 11:06:47 -0800356config ARCH_MPC8536
357 bool
York Sun05cb79a2016-12-02 10:44:34 -0800358 select FSL_LAW
York Sun63659ff2016-12-28 08:43:43 -0800359 select SYS_FSL_ERRATUM_A004508
360 select SYS_FSL_ERRATUM_A005125
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800361 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800362 select SYS_FSL_HAS_DDR2
363 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800364 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800365 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800366 select SYS_FSL_SEC_COMPAT_2
York Sun53c95382016-12-28 08:43:29 -0800367 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530368 select FSL_ELBC
Tom Rini8f1a80e2017-07-28 21:31:42 -0400369 imply CMD_NAND
Simon Glass3bf926c2017-06-14 21:28:24 -0600370 imply CMD_SATA
Christophe Leroyfa379222017-08-04 16:34:40 -0600371 imply CMD_REGINFO
York Sun24ad75a2016-11-16 11:06:47 -0800372
York Sun7f825212016-11-16 11:13:06 -0800373config ARCH_MPC8540
374 bool
York Sun05cb79a2016-12-02 10:44:34 -0800375 select FSL_LAW
York Sund26e34c2016-12-28 08:43:40 -0800376 select SYS_FSL_HAS_DDR1
York Sun7f825212016-11-16 11:13:06 -0800377
York Sun25cb74b2016-11-15 13:57:15 -0800378config ARCH_MPC8544
379 bool
Tom Rinia3041d92022-02-23 12:28:15 -0500380 select BTB
York Sun05cb79a2016-12-02 10:44:34 -0800381 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400382 select SYS_CACHE_SHIFT_5
York Sun63659ff2016-12-28 08:43:43 -0800383 select SYS_FSL_ERRATUM_A005125
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800384 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800385 select SYS_FSL_HAS_DDR2
York Sun2c2e2c92016-12-28 08:43:30 -0800386 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800387 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800388 select SYS_FSL_SEC_COMPAT_2
York Sun53c95382016-12-28 08:43:29 -0800389 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530390 select FSL_ELBC
York Sun25cb74b2016-11-15 13:57:15 -0800391
York Sun281ed4c2016-11-15 13:52:34 -0800392config ARCH_MPC8548
393 bool
Tom Rinia3041d92022-02-23 12:28:15 -0500394 select BTB
York Sun05cb79a2016-12-02 10:44:34 -0800395 select FSL_LAW
York Sun63659ff2016-12-28 08:43:43 -0800396 select SYS_FSL_ERRATUM_A005125
397 select SYS_FSL_ERRATUM_NMG_DDR120
398 select SYS_FSL_ERRATUM_NMG_LBC103
399 select SYS_FSL_ERRATUM_NMG_ETSEC129
400 select SYS_FSL_ERRATUM_I2C_A004447
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800401 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800402 select SYS_FSL_HAS_DDR2
403 select SYS_FSL_HAS_DDR1
York Sun2c2e2c92016-12-28 08:43:30 -0800404 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800405 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800406 select SYS_FSL_SEC_COMPAT_2
York Sun53c95382016-12-28 08:43:29 -0800407 select SYS_PPC_E500_USE_DEBUG_TLB
Christophe Leroyfa379222017-08-04 16:34:40 -0600408 imply CMD_REGINFO
York Sun281ed4c2016-11-15 13:52:34 -0800409
York Sun99d0a312016-11-16 11:26:45 -0800410config ARCH_MPC8560
411 bool
York Sun05cb79a2016-12-02 10:44:34 -0800412 select FSL_LAW
York Sund26e34c2016-12-28 08:43:40 -0800413 select SYS_FSL_HAS_DDR1
York Sun99d0a312016-11-16 11:26:45 -0800414
York Sun7d5f9f82016-11-16 13:08:52 -0800415config ARCH_P1010
416 bool
Tom Rinifdd0da42022-03-11 09:11:59 -0500417 select A003399_NOR_WORKAROUND if SYS_FSL_ERRATUM_IFC_A003399 && !SPL
Tom Rinia3041d92022-02-23 12:28:15 -0500418 select BTB
York Sun05cb79a2016-12-02 10:44:34 -0800419 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400420 select SYS_CACHE_SHIFT_5
Tom Rinif76750d2021-12-11 14:55:51 -0500421 select SYS_HAS_SERDES
York Sun63659ff2016-12-28 08:43:43 -0800422 select SYS_FSL_ERRATUM_A004477
423 select SYS_FSL_ERRATUM_A004508
424 select SYS_FSL_ERRATUM_A005125
Chris Packham4eaf7f52018-10-04 20:03:53 +1300425 select SYS_FSL_ERRATUM_A005275
York Sun63659ff2016-12-28 08:43:43 -0800426 select SYS_FSL_ERRATUM_A006261
427 select SYS_FSL_ERRATUM_A007075
York Sunc01e4a12016-12-28 08:43:42 -0800428 select SYS_FSL_ERRATUM_ESDHC111
York Sun63659ff2016-12-28 08:43:43 -0800429 select SYS_FSL_ERRATUM_I2C_A004447
430 select SYS_FSL_ERRATUM_IFC_A002769
431 select SYS_FSL_ERRATUM_P1010_A003549
432 select SYS_FSL_ERRATUM_SEC_A003571
433 select SYS_FSL_ERRATUM_IFC_A003399
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800434 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800435 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800436 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800437 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800438 select SYS_FSL_SEC_COMPAT_4
York Sun53c95382016-12-28 08:43:29 -0800439 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530440 select FSL_IFC
Simon Glassa1dc9802017-05-17 03:25:10 -0600441 imply CMD_EEPROM
Tom Rinid56b4b12017-07-22 18:36:16 -0400442 imply CMD_MTDPARTS
Tom Rini8f1a80e2017-07-28 21:31:42 -0400443 imply CMD_NAND
Simon Glass3bf926c2017-06-14 21:28:24 -0600444 imply CMD_SATA
Simon Glass6500ec72017-08-04 16:34:34 -0600445 imply CMD_PCI
Christophe Leroyfa379222017-08-04 16:34:40 -0600446 imply CMD_REGINFO
Tuomas Tynkkynen9920d152017-12-08 15:36:17 +0200447 imply FSL_SATA
Simon Glassd6b318d2021-12-18 11:27:50 -0700448 imply TIMESTAMP
York Sun7d5f9f82016-11-16 13:08:52 -0800449
York Sun1cdd96f2016-11-16 15:54:15 -0800450config ARCH_P1011
451 bool
York Sun05cb79a2016-12-02 10:44:34 -0800452 select FSL_LAW
York Sun63659ff2016-12-28 08:43:43 -0800453 select SYS_FSL_ERRATUM_A004508
454 select SYS_FSL_ERRATUM_A005125
455 select SYS_FSL_ERRATUM_ELBC_A001
York Sunc01e4a12016-12-28 08:43:42 -0800456 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiangc16dfd02019-05-22 22:46:03 +0800457 select FSL_PCIE_DISABLE_ASPM
York Sund26e34c2016-12-28 08:43:40 -0800458 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800459 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800460 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800461 select SYS_FSL_SEC_COMPAT_2
York Sun53c95382016-12-28 08:43:29 -0800462 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530463 select FSL_ELBC
York Sun1cdd96f2016-11-16 15:54:15 -0800464
York Sun484fff62016-11-18 10:02:14 -0800465config ARCH_P1020
466 bool
Tom Rinia3041d92022-02-23 12:28:15 -0500467 select BTB
York Sun05cb79a2016-12-02 10:44:34 -0800468 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400469 select SYS_CACHE_SHIFT_5
York Sun63659ff2016-12-28 08:43:43 -0800470 select SYS_FSL_ERRATUM_A004508
471 select SYS_FSL_ERRATUM_A005125
472 select SYS_FSL_ERRATUM_ELBC_A001
York Sunc01e4a12016-12-28 08:43:42 -0800473 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiangc16dfd02019-05-22 22:46:03 +0800474 select FSL_PCIE_DISABLE_ASPM
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800475 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800476 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800477 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800478 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800479 select SYS_FSL_SEC_COMPAT_2
York Sun53c95382016-12-28 08:43:29 -0800480 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530481 select FSL_ELBC
Tom Rini8f1a80e2017-07-28 21:31:42 -0400482 imply CMD_NAND
Simon Glass3bf926c2017-06-14 21:28:24 -0600483 imply CMD_SATA
Simon Glass6500ec72017-08-04 16:34:34 -0600484 imply CMD_PCI
Christophe Leroyfa379222017-08-04 16:34:40 -0600485 imply CMD_REGINFO
Tuomas Tynkkynenc88ecf42017-12-08 15:36:14 +0200486 imply SATA_SIL
York Sun484fff62016-11-18 10:02:14 -0800487
York Suna9907992016-11-18 10:59:02 -0800488config ARCH_P1021
489 bool
York Sun05cb79a2016-12-02 10:44:34 -0800490 select FSL_LAW
York Sun63659ff2016-12-28 08:43:43 -0800491 select SYS_FSL_ERRATUM_A004508
492 select SYS_FSL_ERRATUM_A005125
493 select SYS_FSL_ERRATUM_ELBC_A001
York Sunc01e4a12016-12-28 08:43:42 -0800494 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiangc16dfd02019-05-22 22:46:03 +0800495 select FSL_PCIE_DISABLE_ASPM
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800496 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800497 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800498 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800499 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800500 select SYS_FSL_SEC_COMPAT_2
York Sun53c95382016-12-28 08:43:29 -0800501 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530502 select FSL_ELBC
Christophe Leroyfa379222017-08-04 16:34:40 -0600503 imply CMD_REGINFO
Tom Rini8f1a80e2017-07-28 21:31:42 -0400504 imply CMD_NAND
Simon Glass3bf926c2017-06-14 21:28:24 -0600505 imply CMD_SATA
Christophe Leroyfa379222017-08-04 16:34:40 -0600506 imply CMD_REGINFO
Tuomas Tynkkynenc88ecf42017-12-08 15:36:14 +0200507 imply SATA_SIL
York Suna9907992016-11-18 10:59:02 -0800508
York Sun9bb1d6b2016-11-16 15:45:31 -0800509config ARCH_P1023
510 bool
York Sun05cb79a2016-12-02 10:44:34 -0800511 select FSL_LAW
York Sun63659ff2016-12-28 08:43:43 -0800512 select SYS_FSL_ERRATUM_A004508
513 select SYS_FSL_ERRATUM_A005125
514 select SYS_FSL_ERRATUM_I2C_A004447
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_4
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530520 select FSL_ELBC
York Sun9bb1d6b2016-11-16 15:45:31 -0800521
York Sun52b6f132016-11-18 11:00:57 -0800522config ARCH_P1024
523 bool
York Sun05cb79a2016-12-02 10:44:34 -0800524 select FSL_LAW
York Sun63659ff2016-12-28 08:43:43 -0800525 select SYS_FSL_ERRATUM_A004508
526 select SYS_FSL_ERRATUM_A005125
527 select SYS_FSL_ERRATUM_ELBC_A001
York Sunc01e4a12016-12-28 08:43:42 -0800528 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiangc16dfd02019-05-22 22:46:03 +0800529 select FSL_PCIE_DISABLE_ASPM
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800530 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800531 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800532 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800533 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800534 select SYS_FSL_SEC_COMPAT_2
York Sun53c95382016-12-28 08:43:29 -0800535 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530536 select FSL_ELBC
Simon Glassa1dc9802017-05-17 03:25:10 -0600537 imply CMD_EEPROM
Tom Rini8f1a80e2017-07-28 21:31:42 -0400538 imply CMD_NAND
Simon Glass3bf926c2017-06-14 21:28:24 -0600539 imply CMD_SATA
Simon Glass6500ec72017-08-04 16:34:34 -0600540 imply CMD_PCI
Christophe Leroyfa379222017-08-04 16:34:40 -0600541 imply CMD_REGINFO
Tuomas Tynkkynenc88ecf42017-12-08 15:36:14 +0200542 imply SATA_SIL
York Sun52b6f132016-11-18 11:00:57 -0800543
York Sun4167a672016-11-18 11:05:38 -0800544config ARCH_P1025
545 bool
York Sun05cb79a2016-12-02 10:44:34 -0800546 select FSL_LAW
York Sun63659ff2016-12-28 08:43:43 -0800547 select SYS_FSL_ERRATUM_A004508
548 select SYS_FSL_ERRATUM_A005125
549 select SYS_FSL_ERRATUM_ELBC_A001
York Sunc01e4a12016-12-28 08:43:42 -0800550 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiangc16dfd02019-05-22 22:46:03 +0800551 select FSL_PCIE_DISABLE_ASPM
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800552 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800553 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800554 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800555 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800556 select SYS_FSL_SEC_COMPAT_2
York Sun53c95382016-12-28 08:43:29 -0800557 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530558 select FSL_ELBC
Simon Glass3bf926c2017-06-14 21:28:24 -0600559 imply CMD_SATA
Christophe Leroyfa379222017-08-04 16:34:40 -0600560 imply CMD_REGINFO
York Sun4167a672016-11-18 11:05:38 -0800561
York Sun45936372016-11-18 11:08:43 -0800562config ARCH_P2020
563 bool
Tom Rinia3041d92022-02-23 12:28:15 -0500564 select BTB
York Sun05cb79a2016-12-02 10:44:34 -0800565 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400566 select SYS_CACHE_SHIFT_5
York Sun63659ff2016-12-28 08:43:43 -0800567 select SYS_FSL_ERRATUM_A004477
568 select SYS_FSL_ERRATUM_A004508
569 select SYS_FSL_ERRATUM_A005125
York Sunc01e4a12016-12-28 08:43:42 -0800570 select SYS_FSL_ERRATUM_ESDHC111
571 select SYS_FSL_ERRATUM_ESDHC_A001
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800572 select FSL_PCIE_RESET
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 Sun90b80382016-12-28 08:43:31 -0800575 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800576 select SYS_FSL_SEC_COMPAT_2
York Sun53c95382016-12-28 08:43:29 -0800577 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530578 select FSL_ELBC
Simon Glassa1dc9802017-05-17 03:25:10 -0600579 imply CMD_EEPROM
Tom Rini8f1a80e2017-07-28 21:31:42 -0400580 imply CMD_NAND
Christophe Leroyfa379222017-08-04 16:34:40 -0600581 imply CMD_REGINFO
Simon Glassd6b318d2021-12-18 11:27:50 -0700582 imply TIMESTAMP
York Sun45936372016-11-18 11:08:43 -0800583
York Sunce040c82016-11-18 11:15:21 -0800584config ARCH_P2041
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 Sun63659ff2016-12-28 08:43:43 -0800590 select SYS_FSL_ERRATUM_A004510
591 select SYS_FSL_ERRATUM_A004849
Chris Packham4eaf7f52018-10-04 20:03:53 +1300592 select SYS_FSL_ERRATUM_A005275
York Sun63659ff2016-12-28 08:43:43 -0800593 select SYS_FSL_ERRATUM_A006261
594 select SYS_FSL_ERRATUM_CPU_A003999
595 select SYS_FSL_ERRATUM_DDR_A003
596 select SYS_FSL_ERRATUM_DDR_A003474
York Sunc01e4a12016-12-28 08:43:42 -0800597 select SYS_FSL_ERRATUM_ESDHC111
York Sun63659ff2016-12-28 08:43:43 -0800598 select SYS_FSL_ERRATUM_I2C_A004447
599 select SYS_FSL_ERRATUM_NMG_CPU_A011
600 select SYS_FSL_ERRATUM_SRIO_A004034
601 select SYS_FSL_ERRATUM_USB14
York Sund26e34c2016-12-28 08:43:40 -0800602 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800603 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800604 select SYS_FSL_QORIQ_CHASSIS1
York Sun90b80382016-12-28 08:43:31 -0800605 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800606 select SYS_FSL_SEC_COMPAT_4
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530607 select FSL_ELBC
Tom Rini8f1a80e2017-07-28 21:31:42 -0400608 imply CMD_NAND
York Sunce040c82016-11-18 11:15:21 -0800609
York Sun5e5fdd22016-11-18 11:20:40 -0800610config ARCH_P3041
611 bool
Tom Rinib40d2b22022-03-18 08:38:32 -0400612 select BACKSIDE_L2_CACHE
York Sunf8dee362016-12-28 08:43:27 -0800613 select E500MC
Tom Rini6f6b9702022-07-23 13:05:08 -0400614 select FSL_CORENET
York Sun05cb79a2016-12-02 10:44:34 -0800615 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400616 select SYS_CACHE_SHIFT_6
York Sun22120f12016-12-28 08:43:46 -0800617 select SYS_FSL_DDR_VER_44
York Sun63659ff2016-12-28 08:43:43 -0800618 select SYS_FSL_ERRATUM_A004510
619 select SYS_FSL_ERRATUM_A004849
Chris Packham4eaf7f52018-10-04 20:03:53 +1300620 select SYS_FSL_ERRATUM_A005275
York Sun63659ff2016-12-28 08:43:43 -0800621 select SYS_FSL_ERRATUM_A005812
622 select SYS_FSL_ERRATUM_A006261
623 select SYS_FSL_ERRATUM_CPU_A003999
624 select SYS_FSL_ERRATUM_DDR_A003
625 select SYS_FSL_ERRATUM_DDR_A003474
York Sunc01e4a12016-12-28 08:43:42 -0800626 select SYS_FSL_ERRATUM_ESDHC111
York Sun63659ff2016-12-28 08:43:43 -0800627 select SYS_FSL_ERRATUM_I2C_A004447
628 select SYS_FSL_ERRATUM_NMG_CPU_A011
629 select SYS_FSL_ERRATUM_SRIO_A004034
630 select SYS_FSL_ERRATUM_USB14
York Sund26e34c2016-12-28 08:43:40 -0800631 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800632 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800633 select SYS_FSL_QORIQ_CHASSIS1
York Sun90b80382016-12-28 08:43:31 -0800634 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800635 select SYS_FSL_SEC_COMPAT_4
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530636 select FSL_ELBC
Tom Rini8f1a80e2017-07-28 21:31:42 -0400637 imply CMD_NAND
Simon Glass3bf926c2017-06-14 21:28:24 -0600638 imply CMD_SATA
Christophe Leroyfa379222017-08-04 16:34:40 -0600639 imply CMD_REGINFO
Tuomas Tynkkynen9920d152017-12-08 15:36:17 +0200640 imply FSL_SATA
York Sun5e5fdd22016-11-18 11:20:40 -0800641
York Sune71372c2016-11-18 11:24:40 -0800642config ARCH_P4080
643 bool
Tom Rinib40d2b22022-03-18 08:38:32 -0400644 select BACKSIDE_L2_CACHE
York Sunf8dee362016-12-28 08:43:27 -0800645 select E500MC
Tom Rini6f6b9702022-07-23 13:05:08 -0400646 select FSL_CORENET
York Sun05cb79a2016-12-02 10:44:34 -0800647 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400648 select SYS_CACHE_SHIFT_6
York Sun22120f12016-12-28 08:43:46 -0800649 select SYS_FSL_DDR_VER_44
York Sun63659ff2016-12-28 08:43:43 -0800650 select SYS_FSL_ERRATUM_A004510
651 select SYS_FSL_ERRATUM_A004580
652 select SYS_FSL_ERRATUM_A004849
653 select SYS_FSL_ERRATUM_A005812
654 select SYS_FSL_ERRATUM_A007075
655 select SYS_FSL_ERRATUM_CPC_A002
656 select SYS_FSL_ERRATUM_CPC_A003
657 select SYS_FSL_ERRATUM_CPU_A003999
658 select SYS_FSL_ERRATUM_DDR_A003
659 select SYS_FSL_ERRATUM_DDR_A003474
660 select SYS_FSL_ERRATUM_ELBC_A001
York Sunc01e4a12016-12-28 08:43:42 -0800661 select SYS_FSL_ERRATUM_ESDHC111
662 select SYS_FSL_ERRATUM_ESDHC13
663 select SYS_FSL_ERRATUM_ESDHC135
York Sun63659ff2016-12-28 08:43:43 -0800664 select SYS_FSL_ERRATUM_I2C_A004447
665 select SYS_FSL_ERRATUM_NMG_CPU_A011
666 select SYS_FSL_ERRATUM_SRIO_A004034
667 select SYS_P4080_ERRATUM_CPU22
668 select SYS_P4080_ERRATUM_PCIE_A003
669 select SYS_P4080_ERRATUM_SERDES8
670 select SYS_P4080_ERRATUM_SERDES9
671 select SYS_P4080_ERRATUM_SERDES_A001
672 select SYS_P4080_ERRATUM_SERDES_A005
York Sund26e34c2016-12-28 08:43:40 -0800673 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800674 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800675 select SYS_FSL_QORIQ_CHASSIS1
York Sun90b80382016-12-28 08:43:31 -0800676 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800677 select SYS_FSL_SEC_COMPAT_4
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530678 select FSL_ELBC
Simon Glass3bf926c2017-06-14 21:28:24 -0600679 imply CMD_SATA
Christophe Leroyfa379222017-08-04 16:34:40 -0600680 imply CMD_REGINFO
Tuomas Tynkkynenc88ecf42017-12-08 15:36:14 +0200681 imply SATA_SIL
York Sune71372c2016-11-18 11:24:40 -0800682
York Sun95390362016-11-18 11:39:36 -0800683config ARCH_P5040
684 bool
Tom Rinib40d2b22022-03-18 08:38:32 -0400685 select BACKSIDE_L2_CACHE
York Sunf8dee362016-12-28 08:43:27 -0800686 select E500MC
Tom Rini6f6b9702022-07-23 13:05:08 -0400687 select FSL_CORENET
York Sun05cb79a2016-12-02 10:44:34 -0800688 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400689 select SYS_CACHE_SHIFT_6
York Sun22120f12016-12-28 08:43:46 -0800690 select SYS_FSL_DDR_VER_44
York Sun63659ff2016-12-28 08:43:43 -0800691 select SYS_FSL_ERRATUM_A004510
692 select SYS_FSL_ERRATUM_A004699
Chris Packham4eaf7f52018-10-04 20:03:53 +1300693 select SYS_FSL_ERRATUM_A005275
York Sun63659ff2016-12-28 08:43:43 -0800694 select SYS_FSL_ERRATUM_A005812
695 select SYS_FSL_ERRATUM_A006261
696 select SYS_FSL_ERRATUM_DDR_A003
697 select SYS_FSL_ERRATUM_DDR_A003474
York Sunc01e4a12016-12-28 08:43:42 -0800698 select SYS_FSL_ERRATUM_ESDHC111
York Sun63659ff2016-12-28 08:43:43 -0800699 select SYS_FSL_ERRATUM_USB14
York Sund26e34c2016-12-28 08:43:40 -0800700 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800701 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800702 select SYS_FSL_QORIQ_CHASSIS1
York Sun90b80382016-12-28 08:43:31 -0800703 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800704 select SYS_FSL_SEC_COMPAT_4
York Sun48512782016-12-28 08:43:50 -0800705 select SYS_PPC64
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530706 select FSL_ELBC
Simon Glass3bf926c2017-06-14 21:28:24 -0600707 imply CMD_SATA
Christophe Leroyfa379222017-08-04 16:34:40 -0600708 imply CMD_REGINFO
Tuomas Tynkkynen9920d152017-12-08 15:36:17 +0200709 imply FSL_SATA
York Sun95390362016-11-18 11:39:36 -0800710
York Sun10343402016-11-18 12:29:51 -0800711config ARCH_QEMU_E500
712 bool
Tom Riniab92b382021-08-26 11:47:59 -0400713 select SYS_CACHE_SHIFT_5
York Sun10343402016-11-18 12:29:51 -0800714
York Sune5d5f5a2016-11-18 13:01:34 -0800715config ARCH_T1024
716 bool
Tom Rinib40d2b22022-03-18 08:38:32 -0400717 select BACKSIDE_L2_CACHE
York Sunf8dee362016-12-28 08:43:27 -0800718 select E500MC
Tom Rinif2428ac2022-03-24 17:18:01 -0400719 select E5500
Tom Rini6f6b9702022-07-23 13:05:08 -0400720 select FSL_CORENET
York Sun05cb79a2016-12-02 10:44:34 -0800721 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400722 select SYS_CACHE_SHIFT_6
York Sun22120f12016-12-28 08:43:46 -0800723 select SYS_FSL_DDR_VER_50
York Sun63659ff2016-12-28 08:43:43 -0800724 select SYS_FSL_ERRATUM_A008378
Jaiprakash Singh164a5af2020-06-02 12:44:02 +0530725 select SYS_FSL_ERRATUM_A008109
York Sun63659ff2016-12-28 08:43:43 -0800726 select SYS_FSL_ERRATUM_A009663
727 select SYS_FSL_ERRATUM_A009942
York Sunc01e4a12016-12-28 08:43:42 -0800728 select SYS_FSL_ERRATUM_ESDHC111
York Sund26e34c2016-12-28 08:43:40 -0800729 select SYS_FSL_HAS_DDR3
730 select SYS_FSL_HAS_DDR4
York Sun2c2e2c92016-12-28 08:43:30 -0800731 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800732 select SYS_FSL_QORIQ_CHASSIS2
York Sun90b80382016-12-28 08:43:31 -0800733 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800734 select SYS_FSL_SEC_COMPAT_5
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530735 select FSL_IFC
Simon Glassa1dc9802017-05-17 03:25:10 -0600736 imply CMD_EEPROM
Tom Rini8f1a80e2017-07-28 21:31:42 -0400737 imply CMD_NAND
Tom Rinid56b4b12017-07-22 18:36:16 -0400738 imply CMD_MTDPARTS
Christophe Leroyfa379222017-08-04 16:34:40 -0600739 imply CMD_REGINFO
York Sune5d5f5a2016-11-18 13:01:34 -0800740
York Sun5d737012016-11-18 13:11:12 -0800741config ARCH_T1040
742 bool
Tom Rinib40d2b22022-03-18 08:38:32 -0400743 select BACKSIDE_L2_CACHE
York Sunf8dee362016-12-28 08:43:27 -0800744 select E500MC
Tom Rinif2428ac2022-03-24 17:18:01 -0400745 select E5500
Tom Rini6f6b9702022-07-23 13:05:08 -0400746 select FSL_CORENET
York Sun05cb79a2016-12-02 10:44:34 -0800747 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400748 select SYS_CACHE_SHIFT_6
York Sun22120f12016-12-28 08:43:46 -0800749 select SYS_FSL_DDR_VER_50
York Sun63659ff2016-12-28 08:43:43 -0800750 select SYS_FSL_ERRATUM_A008044
751 select SYS_FSL_ERRATUM_A008378
Joakim Tjernlund73af0942019-11-20 17:07:34 +0100752 select SYS_FSL_ERRATUM_A008109
York Sun63659ff2016-12-28 08:43:43 -0800753 select SYS_FSL_ERRATUM_A009663
754 select SYS_FSL_ERRATUM_A009942
York Sunc01e4a12016-12-28 08:43:42 -0800755 select SYS_FSL_ERRATUM_ESDHC111
York Sund26e34c2016-12-28 08:43:40 -0800756 select SYS_FSL_HAS_DDR3
757 select SYS_FSL_HAS_DDR4
York Sun2c2e2c92016-12-28 08:43:30 -0800758 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800759 select SYS_FSL_QORIQ_CHASSIS2
York Sun90b80382016-12-28 08:43:31 -0800760 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800761 select SYS_FSL_SEC_COMPAT_5
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530762 select FSL_IFC
Tom Rinid56b4b12017-07-22 18:36:16 -0400763 imply CMD_MTDPARTS
Tom Rini8f1a80e2017-07-28 21:31:42 -0400764 imply CMD_NAND
Christophe Leroyfa379222017-08-04 16:34:40 -0600765 imply CMD_REGINFO
York Sun5d737012016-11-18 13:11:12 -0800766
York Sun5449c982016-11-18 13:36:39 -0800767config ARCH_T1042
768 bool
Tom Rinib40d2b22022-03-18 08:38:32 -0400769 select BACKSIDE_L2_CACHE
York Sunf8dee362016-12-28 08:43:27 -0800770 select E500MC
Tom Rinif2428ac2022-03-24 17:18:01 -0400771 select E5500
Tom Rini6f6b9702022-07-23 13:05:08 -0400772 select FSL_CORENET
York Sun05cb79a2016-12-02 10:44:34 -0800773 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400774 select SYS_CACHE_SHIFT_6
York Sun22120f12016-12-28 08:43:46 -0800775 select SYS_FSL_DDR_VER_50
York Sun63659ff2016-12-28 08:43:43 -0800776 select SYS_FSL_ERRATUM_A008044
777 select SYS_FSL_ERRATUM_A008378
Joakim Tjernlund73af0942019-11-20 17:07:34 +0100778 select SYS_FSL_ERRATUM_A008109
York Sun63659ff2016-12-28 08:43:43 -0800779 select SYS_FSL_ERRATUM_A009663
780 select SYS_FSL_ERRATUM_A009942
York Sunc01e4a12016-12-28 08:43:42 -0800781 select SYS_FSL_ERRATUM_ESDHC111
York Sund26e34c2016-12-28 08:43:40 -0800782 select SYS_FSL_HAS_DDR3
783 select SYS_FSL_HAS_DDR4
York Sun2c2e2c92016-12-28 08:43:30 -0800784 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800785 select SYS_FSL_QORIQ_CHASSIS2
York Sun90b80382016-12-28 08:43:31 -0800786 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800787 select SYS_FSL_SEC_COMPAT_5
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530788 select FSL_IFC
Tom Rinid56b4b12017-07-22 18:36:16 -0400789 imply CMD_MTDPARTS
Tom Rini8f1a80e2017-07-28 21:31:42 -0400790 imply CMD_NAND
Christophe Leroyfa379222017-08-04 16:34:40 -0600791 imply CMD_REGINFO
York Sun5449c982016-11-18 13:36:39 -0800792
York Sun0f3d80e2016-11-21 12:54:19 -0800793config ARCH_T2080
794 bool
York Sunf8dee362016-12-28 08:43:27 -0800795 select E500MC
York Sun9ec10102016-12-28 08:43:48 -0800796 select E6500
Tom Rini6f6b9702022-07-23 13:05:08 -0400797 select FSL_CORENET
York Sun05cb79a2016-12-02 10:44:34 -0800798 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400799 select SYS_CACHE_SHIFT_6
York Sun22120f12016-12-28 08:43:46 -0800800 select SYS_FSL_DDR_VER_47
York Sun63659ff2016-12-28 08:43:43 -0800801 select SYS_FSL_ERRATUM_A006379
802 select SYS_FSL_ERRATUM_A006593
Tom Rini601483f2022-06-16 14:04:40 -0400803 select SYS_FSL_ERRATUM_A007186 if CHAIN_OF_TRUST
York Sun63659ff2016-12-28 08:43:43 -0800804 select SYS_FSL_ERRATUM_A007212
Tony O'Brien09bfd962016-12-02 09:22:34 +1300805 select SYS_FSL_ERRATUM_A007815
Darwin Dingel06ad9702016-10-25 09:48:01 +1300806 select SYS_FSL_ERRATUM_A007907
Jaiprakash Singh164a5af2020-06-02 12:44:02 +0530807 select SYS_FSL_ERRATUM_A008109
York Sun63659ff2016-12-28 08:43:43 -0800808 select SYS_FSL_ERRATUM_A009942
York Sunc01e4a12016-12-28 08:43:42 -0800809 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800810 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800811 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800812 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800813 select SYS_FSL_QORIQ_CHASSIS2
York Sun90b80382016-12-28 08:43:31 -0800814 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800815 select SYS_FSL_SEC_COMPAT_4
York Sun48512782016-12-28 08:43:50 -0800816 select SYS_PPC64
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530817 select FSL_IFC
Peng Maa2d4cb22019-12-23 09:28:12 +0000818 imply CMD_SATA
Tom Rini8f1a80e2017-07-28 21:31:42 -0400819 imply CMD_NAND
Christophe Leroyfa379222017-08-04 16:34:40 -0600820 imply CMD_REGINFO
Peng Maa2d4cb22019-12-23 09:28:12 +0000821 imply FSL_SATA
Tom Rinid7d40f62021-08-17 17:59:41 -0400822 imply ID_EEPROM
York Sun0f3d80e2016-11-21 12:54:19 -0800823
York Sun26bc57d2016-11-21 13:35:41 -0800824config ARCH_T4240
825 bool
York Sunf8dee362016-12-28 08:43:27 -0800826 select E500MC
York Sun9ec10102016-12-28 08:43:48 -0800827 select E6500
Tom Rini6f6b9702022-07-23 13:05:08 -0400828 select FSL_CORENET
York Sun05cb79a2016-12-02 10:44:34 -0800829 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400830 select SYS_CACHE_SHIFT_6
York Sun22120f12016-12-28 08:43:46 -0800831 select SYS_FSL_DDR_VER_47
York Sun63659ff2016-12-28 08:43:43 -0800832 select SYS_FSL_ERRATUM_A004468
833 select SYS_FSL_ERRATUM_A005871
834 select SYS_FSL_ERRATUM_A006261
835 select SYS_FSL_ERRATUM_A006379
836 select SYS_FSL_ERRATUM_A006593
Tom Rini601483f2022-06-16 14:04:40 -0400837 select SYS_FSL_ERRATUM_A007186 if CHAIN_OF_TRUST
York Sun63659ff2016-12-28 08:43:43 -0800838 select SYS_FSL_ERRATUM_A007798
Tony O'Brien09bfd962016-12-02 09:22:34 +1300839 select SYS_FSL_ERRATUM_A007815
Darwin Dingel06ad9702016-10-25 09:48:01 +1300840 select SYS_FSL_ERRATUM_A007907
Jaiprakash Singh164a5af2020-06-02 12:44:02 +0530841 select SYS_FSL_ERRATUM_A008109
York Sun63659ff2016-12-28 08:43:43 -0800842 select SYS_FSL_ERRATUM_A009942
York Sund26e34c2016-12-28 08:43:40 -0800843 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800844 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800845 select SYS_FSL_QORIQ_CHASSIS2
York Sun90b80382016-12-28 08:43:31 -0800846 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800847 select SYS_FSL_SEC_COMPAT_4
York Sun48512782016-12-28 08:43:50 -0800848 select SYS_PPC64
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530849 select FSL_IFC
Simon Glass3bf926c2017-06-14 21:28:24 -0600850 imply CMD_SATA
Tom Rini8f1a80e2017-07-28 21:31:42 -0400851 imply CMD_NAND
Christophe Leroyfa379222017-08-04 16:34:40 -0600852 imply CMD_REGINFO
Tuomas Tynkkynen9920d152017-12-08 15:36:17 +0200853 imply FSL_SATA
York Sun05cb79a2016-12-02 10:44:34 -0800854
Jagdish Gediya96699f02018-09-03 21:35:10 +0530855config MPC85XX_HAVE_RESET_VECTOR
856 bool "Indicate reset vector at CONFIG_RESET_VECTOR_ADDRESS - 0xffc"
857 depends on MPC85xx
858
Tom Rinia3041d92022-02-23 12:28:15 -0500859config BTB
860 bool "toggle branch predition"
861
York Sunf8dee362016-12-28 08:43:27 -0800862config BOOKE
863 bool
864 default y
865
866config E500
867 bool
868 default y
869 help
870 Enable PowerPC E500 cores, including e500v1, e500v2, e500mc
871
872config E500MC
873 bool
Tom Rinia3041d92022-02-23 12:28:15 -0500874 select BTB
Simon Glass6500ec72017-08-04 16:34:34 -0600875 imply CMD_PCI
York Sunf8dee362016-12-28 08:43:27 -0800876 help
877 Enble PowerPC E500MC core
878
Tom Rinif2428ac2022-03-24 17:18:01 -0400879config E5500
880 bool
881
York Sun9ec10102016-12-28 08:43:48 -0800882config E6500
883 bool
Tom Rinia3041d92022-02-23 12:28:15 -0500884 select BTB
York Sun9ec10102016-12-28 08:43:48 -0800885 help
886 Enable PowerPC E6500 core
887
York Sun05cb79a2016-12-02 10:44:34 -0800888config FSL_LAW
889 bool
890 help
891 Use Freescale common code for Local Access Window
York Sun26bc57d2016-11-21 13:35:41 -0800892
Tom Rini1e7750f2022-06-16 14:04:34 -0400893config HETROGENOUS_CLUSTERS
894 bool
895
York Sun3f82b562016-11-23 12:30:40 -0800896config MAX_CPUS
897 int "Maximum number of CPUs permitted for MPC85xx"
898 default 12 if ARCH_T4240
Tom Riniec6b37c2021-05-23 10:58:05 -0400899 default 8 if ARCH_P4080
York Sun3f82b562016-11-23 12:30:40 -0800900 default 4 if ARCH_B4860 || \
901 ARCH_P2041 || \
902 ARCH_P3041 || \
903 ARCH_P5040 || \
904 ARCH_T1040 || \
905 ARCH_T1042 || \
Tom Rini2322b952021-02-20 20:06:21 -0500906 ARCH_T2080
York Sun3f82b562016-11-23 12:30:40 -0800907 default 2 if ARCH_B4420 || \
908 ARCH_BSC9132 || \
York Sun3f82b562016-11-23 12:30:40 -0800909 ARCH_P1020 || \
910 ARCH_P1021 || \
York Sun3f82b562016-11-23 12:30:40 -0800911 ARCH_P1023 || \
912 ARCH_P1024 || \
913 ARCH_P1025 || \
914 ARCH_P2020 || \
York Sun3f82b562016-11-23 12:30:40 -0800915 ARCH_T1024
916 default 1
917 help
918 Set this number to the maximum number of possible CPUs in the SoC.
919 SoCs may have multiple clusters with each cluster may have multiple
920 ports. If some ports are reserved but higher ports are used for
921 cores, count the reserved ports. This will allocate enough memory
922 in spin table to properly handle all cores.
923
York Sun830fc1b2016-12-01 13:26:06 -0800924config SYS_CCSRBAR_DEFAULT
925 hex "Default CCSRBAR address"
926 default 0xff700000 if ARCH_BSC9131 || \
927 ARCH_BSC9132 || \
928 ARCH_C29X || \
929 ARCH_MPC8536 || \
930 ARCH_MPC8540 || \
York Sun830fc1b2016-12-01 13:26:06 -0800931 ARCH_MPC8544 || \
932 ARCH_MPC8548 || \
York Sun830fc1b2016-12-01 13:26:06 -0800933 ARCH_MPC8560 || \
York Sun830fc1b2016-12-01 13:26:06 -0800934 ARCH_P1010 || \
935 ARCH_P1011 || \
936 ARCH_P1020 || \
937 ARCH_P1021 || \
York Sun830fc1b2016-12-01 13:26:06 -0800938 ARCH_P1024 || \
939 ARCH_P1025 || \
940 ARCH_P2020
941 default 0xff600000 if ARCH_P1023
942 default 0xfe000000 if ARCH_B4420 || \
943 ARCH_B4860 || \
944 ARCH_P2041 || \
945 ARCH_P3041 || \
946 ARCH_P4080 || \
York Sun830fc1b2016-12-01 13:26:06 -0800947 ARCH_P5040 || \
York Sun830fc1b2016-12-01 13:26:06 -0800948 ARCH_T1024 || \
949 ARCH_T1040 || \
950 ARCH_T1042 || \
951 ARCH_T2080 || \
York Sun830fc1b2016-12-01 13:26:06 -0800952 ARCH_T4240
953 default 0xe0000000 if ARCH_QEMU_E500
954 help
955 Default value of CCSRBAR comes from power-on-reset. It
956 is fixed on each SoC. Some SoCs can have different value
957 if changed by pre-boot regime. The value here must match
958 the current value in SoC. If not sure, do not change.
959
Tom Rinifdd0da42022-03-11 09:11:59 -0500960config A003399_NOR_WORKAROUND
961 bool
962 help
963 Enables a workaround for IFC erratum A003399. It is only required
964 during NOR boot.
965
Tom Rini5f7c8862022-03-11 09:12:00 -0500966config A008044_WORKAROUND
967 bool
968 help
969 Enables a workaround for T1040/T1042 erratum A008044. It is only
970 required during NAND boot and valid for Rev 1.0 SoC revision
971
York Sun63659ff2016-12-28 08:43:43 -0800972config SYS_FSL_ERRATUM_A004468
973 bool
974
975config SYS_FSL_ERRATUM_A004477
976 bool
977
978config SYS_FSL_ERRATUM_A004508
979 bool
980
981config SYS_FSL_ERRATUM_A004580
982 bool
983
984config SYS_FSL_ERRATUM_A004699
985 bool
986
987config SYS_FSL_ERRATUM_A004849
988 bool
989
990config SYS_FSL_ERRATUM_A004510
991 bool
992
993config SYS_FSL_ERRATUM_A004510_SVR_REV
994 hex
995 depends on SYS_FSL_ERRATUM_A004510
996 default 0x20 if ARCH_P4080
997 default 0x10
998
999config SYS_FSL_ERRATUM_A004510_SVR_REV2
1000 hex
1001 depends on (SYS_FSL_ERRATUM_A004510 && (ARCH_P2041 || ARCH_P3041))
1002 default 0x11
1003
1004config SYS_FSL_ERRATUM_A005125
1005 bool
1006
1007config SYS_FSL_ERRATUM_A005434
1008 bool
1009
1010config SYS_FSL_ERRATUM_A005812
1011 bool
1012
1013config SYS_FSL_ERRATUM_A005871
1014 bool
1015
Chris Packham4eaf7f52018-10-04 20:03:53 +13001016config SYS_FSL_ERRATUM_A005275
1017 bool
1018
York Sun63659ff2016-12-28 08:43:43 -08001019config SYS_FSL_ERRATUM_A006261
1020 bool
1021
1022config SYS_FSL_ERRATUM_A006379
1023 bool
1024
1025config SYS_FSL_ERRATUM_A006384
1026 bool
1027
1028config SYS_FSL_ERRATUM_A006475
1029 bool
1030
1031config SYS_FSL_ERRATUM_A006593
1032 bool
1033
1034config SYS_FSL_ERRATUM_A007075
1035 bool
1036
1037config SYS_FSL_ERRATUM_A007186
1038 bool
1039
1040config SYS_FSL_ERRATUM_A007212
1041 bool
1042
Tony O'Brien09bfd962016-12-02 09:22:34 +13001043config SYS_FSL_ERRATUM_A007815
1044 bool
1045
York Sun63659ff2016-12-28 08:43:43 -08001046config SYS_FSL_ERRATUM_A007798
1047 bool
1048
Darwin Dingel06ad9702016-10-25 09:48:01 +13001049config SYS_FSL_ERRATUM_A007907
1050 bool
1051
York Sun63659ff2016-12-28 08:43:43 -08001052config SYS_FSL_ERRATUM_A008044
1053 bool
Tom Rini5f7c8862022-03-11 09:12:00 -05001054 select A008044_WORKAROUND if MTD_RAW_NAND
York Sun63659ff2016-12-28 08:43:43 -08001055
1056config SYS_FSL_ERRATUM_CPC_A002
1057 bool
1058
1059config SYS_FSL_ERRATUM_CPC_A003
1060 bool
1061
1062config SYS_FSL_ERRATUM_CPU_A003999
1063 bool
1064
1065config SYS_FSL_ERRATUM_ELBC_A001
1066 bool
1067
1068config SYS_FSL_ERRATUM_I2C_A004447
1069 bool
1070
1071config SYS_FSL_A004447_SVR_REV
1072 hex
1073 depends on SYS_FSL_ERRATUM_I2C_A004447
1074 default 0x00 if ARCH_MPC8548
1075 default 0x10 if ARCH_P1010
1076 default 0x11 if ARCH_P1023 || ARCH_P2041 || ARCH_BSC9132
Tom Rinia99dab12021-02-20 20:06:30 -05001077 default 0x20 if ARCH_P3041 || ARCH_P4080
York Sun63659ff2016-12-28 08:43:43 -08001078
1079config SYS_FSL_ERRATUM_IFC_A002769
1080 bool
1081
1082config SYS_FSL_ERRATUM_IFC_A003399
1083 bool
1084
1085config SYS_FSL_ERRATUM_NMG_CPU_A011
1086 bool
1087
1088config SYS_FSL_ERRATUM_NMG_ETSEC129
1089 bool
1090
1091config SYS_FSL_ERRATUM_NMG_LBC103
1092 bool
1093
1094config SYS_FSL_ERRATUM_P1010_A003549
1095 bool
1096
1097config SYS_FSL_ERRATUM_SATA_A001
1098 bool
1099
1100config SYS_FSL_ERRATUM_SEC_A003571
1101 bool
1102
1103config SYS_FSL_ERRATUM_SRIO_A004034
1104 bool
1105
1106config SYS_FSL_ERRATUM_USB14
1107 bool
1108
Tom Rinif76750d2021-12-11 14:55:51 -05001109config SYS_HAS_SERDES
1110 bool
1111
York Sun63659ff2016-12-28 08:43:43 -08001112config SYS_P4080_ERRATUM_CPU22
1113 bool
1114
1115config SYS_P4080_ERRATUM_PCIE_A003
1116 bool
1117
1118config SYS_P4080_ERRATUM_SERDES8
1119 bool
1120
1121config SYS_P4080_ERRATUM_SERDES9
1122 bool
1123
1124config SYS_P4080_ERRATUM_SERDES_A001
1125 bool
1126
1127config SYS_P4080_ERRATUM_SERDES_A005
1128 bool
1129
Hou Zhiqiangc16dfd02019-05-22 22:46:03 +08001130config FSL_PCIE_DISABLE_ASPM
1131 bool
1132
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +08001133config FSL_PCIE_RESET
1134 bool
1135
York Sun73717742016-12-28 08:43:49 -08001136config SYS_FSL_QORIQ_CHASSIS1
1137 bool
1138
1139config SYS_FSL_QORIQ_CHASSIS2
1140 bool
1141
York Sun8303acb2016-12-01 14:05:02 -08001142config SYS_FSL_NUM_LAWS
1143 int "Number of local access windows"
1144 depends on FSL_LAW
1145 default 32 if ARCH_B4420 || \
1146 ARCH_B4860 || \
1147 ARCH_P2041 || \
1148 ARCH_P3041 || \
1149 ARCH_P4080 || \
York Sun8303acb2016-12-01 14:05:02 -08001150 ARCH_P5040 || \
1151 ARCH_T2080 || \
York Sun8303acb2016-12-01 14:05:02 -08001152 ARCH_T4240
Tom Rini6c3d9932021-05-14 21:34:22 -04001153 default 16 if ARCH_T1024 || \
York Sun8303acb2016-12-01 14:05:02 -08001154 ARCH_T1040 || \
1155 ARCH_T1042
1156 default 12 if ARCH_BSC9131 || \
1157 ARCH_BSC9132 || \
1158 ARCH_C29X || \
1159 ARCH_MPC8536 || \
York Sun8303acb2016-12-01 14:05:02 -08001160 ARCH_P1010 || \
1161 ARCH_P1011 || \
1162 ARCH_P1020 || \
1163 ARCH_P1021 || \
York Sun8303acb2016-12-01 14:05:02 -08001164 ARCH_P1023 || \
1165 ARCH_P1024 || \
1166 ARCH_P1025 || \
1167 ARCH_P2020
1168 default 10 if ARCH_MPC8544 || \
Tom Rini80696892021-05-14 21:34:23 -04001169 ARCH_MPC8548
York Sun8303acb2016-12-01 14:05:02 -08001170 default 8 if ARCH_MPC8540 || \
York Sun8303acb2016-12-01 14:05:02 -08001171 ARCH_MPC8560
1172 help
1173 Number of local access windows. This is fixed per SoC.
1174 If not sure, do not change.
1175
York Sun9ec10102016-12-28 08:43:48 -08001176config SYS_FSL_THREADS_PER_CORE
1177 int
1178 default 2 if E6500
1179 default 1
1180
York Sun26e79b62016-12-28 08:43:28 -08001181config SYS_NUM_TLBCAMS
1182 int "Number of TLB CAM entries"
1183 default 64 if E500MC
1184 default 16
1185 help
1186 Number of TLB CAM entries for Book-E chips. 64 for E500MC,
1187 16 for other E500 SoCs.
1188
Tom Rini1e7750f2022-06-16 14:04:34 -04001189if HETROGENOUS_CLUSTERS
1190
1191config SYS_MAPLE
1192 def_bool y
1193
1194config SYS_CPRI
1195 def_bool y
1196
1197config PPC_CLUSTER_START
1198 int
1199 default 0
1200
1201config DSP_CLUSTER_START
1202 int
1203 default 1
1204
1205config SYS_CPRI_CLK
1206 int
1207 default 3
1208
1209config SYS_ULB_CLK
1210 int
1211 default 4
1212
1213config SYS_ETVPE_CLK
1214 int
1215 default 1
1216endif
1217
Tom Rinib40d2b22022-03-18 08:38:32 -04001218config BACKSIDE_L2_CACHE
1219 bool
1220
York Sun48512782016-12-28 08:43:50 -08001221config SYS_PPC64
1222 bool
1223
York Sun53c95382016-12-28 08:43:29 -08001224config SYS_PPC_E500_USE_DEBUG_TLB
1225 bool
1226
Prabhakar Kushwaha06878972017-02-02 15:01:48 +05301227config FSL_ELBC
1228 bool
1229
York Sun53c95382016-12-28 08:43:29 -08001230config SYS_PPC_E500_DEBUG_TLB
1231 int "Temporary TLB entry for external debugger"
1232 depends on SYS_PPC_E500_USE_DEBUG_TLB
1233 default 0 if ARCH_MPC8544 || ARCH_MPC8548
1234 default 1 if ARCH_MPC8536
Tom Rinied7fe2b2021-05-14 21:34:25 -04001235 default 2 if ARCH_P1011 || \
York Sun53c95382016-12-28 08:43:29 -08001236 ARCH_P1020 || \
1237 ARCH_P1021 || \
York Sun53c95382016-12-28 08:43:29 -08001238 ARCH_P1024 || \
1239 ARCH_P1025 || \
1240 ARCH_P2020
1241 default 3 if ARCH_P1010 || \
1242 ARCH_BSC9132 || \
1243 ARCH_C29X
1244 help
1245 Select a temporary TLB entry to be used during boot to work
1246 around limitations in e500v1 and e500v2 external debugger
1247 support. This reduces the portions of the boot code where
1248 breakpoints and single stepping do not work. The value of this
1249 symbol should be set to the TLB1 entry to be used for this
1250 purpose. If unsure, do not change.
1251
Prabhakar Kushwaha1c407072017-02-02 15:01:26 +05301252config SYS_FSL_IFC_CLK_DIV
1253 int "Divider of platform clock"
1254 depends on FSL_IFC
1255 default 2 if ARCH_B4420 || \
1256 ARCH_B4860 || \
1257 ARCH_T1024 || \
Prabhakar Kushwaha1c407072017-02-02 15:01:26 +05301258 ARCH_T1040 || \
1259 ARCH_T1042 || \
Prabhakar Kushwaha1c407072017-02-02 15:01:26 +05301260 ARCH_T4240
1261 default 1
1262 help
1263 Defines divider of platform clock(clock input to
1264 IFC controller).
1265
Prabhakar Kushwahaadd63f92017-02-02 15:02:00 +05301266config SYS_FSL_LBC_CLK_DIV
1267 int "Divider of platform clock"
1268 depends on FSL_ELBC || ARCH_MPC8540 || \
Tom Rinia8571332021-05-14 21:34:20 -04001269 ARCH_MPC8548 || \
Tom Rini80696892021-05-14 21:34:23 -04001270 ARCH_MPC8560
Prabhakar Kushwahaadd63f92017-02-02 15:02:00 +05301271
1272 default 2 if ARCH_P2041 || \
1273 ARCH_P3041 || \
1274 ARCH_P4080 || \
Prabhakar Kushwahaadd63f92017-02-02 15:02:00 +05301275 ARCH_P5040
1276 default 1
1277
1278 help
1279 Defines divider of platform clock(clock input to
1280 eLBC controller).
1281
Tom Rinifbc36212022-06-15 12:03:45 -04001282config ENABLE_36BIT_PHYS
1283 bool "Enable 36bit physical address space support"
1284
Tom Rini3dab4052022-06-25 11:02:43 -04001285config SYS_BOOK3E_HV
1286 bool "Category E.HV is supported"
1287 depends on BOOKE
1288
Tom Rini6f6b9702022-07-23 13:05:08 -04001289config FSL_CORENET
1290 bool
1291 select SYS_FSL_CPC
1292
Tom Rinif6c1f912022-06-25 11:02:45 -04001293config SYS_CPC_REINIT_F
1294 bool
1295 help
1296 The CPC is configured as SRAM at the time of U-Boot entry and is
1297 required to be re-initialized.
1298
1299config SYS_FSL_CPC
Tom Rini6f6b9702022-07-23 13:05:08 -04001300 bool
Tom Rinif6c1f912022-06-25 11:02:45 -04001301
Tom Rini38d091a2022-06-27 13:35:46 -04001302config SYS_CACHE_STASHING
1303 bool "Enable cache stashing"
1304
Tom Rinide47ff52022-06-10 22:59:37 -04001305config SYS_MPC85XX_NO_RESETVEC
1306 bool "Discard resetvec section and move bootpg section up"
1307 depends on MPC85xx
1308 help
1309 If this variable is specified, the section .resetvec is not kept and
1310 the section .bootpg is placed in the previous 4k of the .text section.
1311
1312config SPL_SYS_MPC85XX_NO_RESETVEC
1313 bool "Discard resetvec section and move bootpg section up, in SPL"
1314 depends on MPC85xx && SPL
1315 help
1316 If this variable is specified, the section .resetvec is not kept and
1317 the section .bootpg is placed in the previous 4k of the .text section,
1318 of the SPL portion of the binary.
1319
1320config TPL_SYS_MPC85XX_NO_RESETVEC
1321 bool "Discard resetvec section and move bootpg section up, in TPL"
1322 depends on MPC85xx && TPL
1323 help
1324 If this variable is specified, the section .resetvec is not kept and
1325 the section .bootpg is placed in the previous 4k of the .text section,
1326 of the SPL portion of the binary.
1327
Rajesh Bhagatc8c01702021-02-15 09:46:14 +01001328config FSL_VIA
1329 bool
1330
Bin Meng1d636a02021-02-25 17:22:58 +08001331source "board/emulation/qemu-ppce500/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001332source "board/freescale/corenet_ds/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001333source "board/freescale/mpc8548cds/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001334source "board/freescale/p1010rdb/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001335source "board/freescale/p1_p2_rdb_pc/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001336source "board/freescale/p2041rdb/Kconfig"
Shengzhou Liu48c6f322014-11-24 17:11:56 +08001337source "board/freescale/t102xrdb/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001338source "board/freescale/t104xrdb/Kconfig"
1339source "board/freescale/t208xqds/Kconfig"
1340source "board/freescale/t208xrdb/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001341source "board/freescale/t4rdb/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001342source "board/socrates/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001343
1344endmenu