blob: 18ef718db3b3458982c4b501188ce694484c9df1 [file] [log] [blame]
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001menu "mpc85xx CPU"
2 depends on MPC85xx
3
4config SYS_CPU
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09005 default "mpc85xx"
6
Simon Glass9fdc0de2017-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árb9304822022-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 Yamadad3ae6782014-07-30 14:08:14 +090068choice
69 prompt "Target select"
Joe Hershbergerf0699602015-05-12 14:46:23 -050070 optional
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090071
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090072config TARGET_SOCRATES
73 bool "Support socrates"
York Sun5ac012a2016-11-15 13:57:15 -080074 select ARCH_MPC8544
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090075
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090076config TARGET_P3041DS
77 bool "Support P3041DS"
Masahiro Yamada653e9fe2016-07-25 19:56:03 +090078 select PHYS_64BIT
York Sundf70d062016-11-18 11:20:40 -080079 select ARCH_P3041
Tom Rini22d567e2017-01-22 19:43:11 -050080 select BOARD_LATE_INIT if CHAIN_OF_TRUST
Simon Glass203b3ab2017-06-14 21:28:24 -060081 imply CMD_SATA
Masahiro Yamadaacede7a2017-12-04 12:37:00 +090082 imply PANIC_HANG
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090083
84config TARGET_P4080DS
85 bool "Support P4080DS"
Masahiro Yamada653e9fe2016-07-25 19:56:03 +090086 select PHYS_64BIT
York Sun84be8a92016-11-18 11:24:40 -080087 select ARCH_P4080
Tom Rini22d567e2017-01-22 19:43:11 -050088 select BOARD_LATE_INIT if CHAIN_OF_TRUST
Simon Glass203b3ab2017-06-14 21:28:24 -060089 imply CMD_SATA
Masahiro Yamadaacede7a2017-12-04 12:37:00 +090090 imply PANIC_HANG
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090091
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090092config TARGET_P5040DS
93 bool "Support P5040DS"
Masahiro Yamada653e9fe2016-07-25 19:56:03 +090094 select PHYS_64BIT
York Suna3c5b662016-11-18 11:39:36 -080095 select ARCH_P5040
Tom Rini22d567e2017-01-22 19:43:11 -050096 select BOARD_LATE_INIT if CHAIN_OF_TRUST
Simon Glass203b3ab2017-06-14 21:28:24 -060097 imply CMD_SATA
Masahiro Yamadaacede7a2017-12-04 12:37:00 +090098 imply PANIC_HANG
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090099
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900100config TARGET_MPC8548CDS
101 bool "Support MPC8548CDS"
York Sunefc49e02016-11-15 13:52:34 -0800102 select ARCH_MPC8548
Rajesh Bhagat6d072982021-02-15 09:46:14 +0100103 select FSL_VIA
Tom Rini3ef67ae2021-08-26 11:47:59 -0400104 select SYS_CACHE_SHIFT_5
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900105
York Sun7f945ca2016-11-16 13:30:06 -0800106config TARGET_P1010RDB_PA
107 bool "Support P1010RDB_PA"
108 select ARCH_P1010
Tom Rini22d567e2017-01-22 19:43:11 -0500109 select BOARD_LATE_INIT if CHAIN_OF_TRUST
York Sun7f945ca2016-11-16 13:30:06 -0800110 select SUPPORT_SPL
111 select SUPPORT_TPL
Simon Glass4590d4e2017-05-17 03:25:10 -0600112 imply CMD_EEPROM
Simon Glass203b3ab2017-06-14 21:28:24 -0600113 imply CMD_SATA
Masahiro Yamadaacede7a2017-12-04 12:37:00 +0900114 imply PANIC_HANG
York Sun7f945ca2016-11-16 13:30:06 -0800115
116config TARGET_P1010RDB_PB
117 bool "Support P1010RDB_PB"
York Sun24f88b32016-11-16 13:08:52 -0800118 select ARCH_P1010
Tom Rini22d567e2017-01-22 19:43:11 -0500119 select BOARD_LATE_INIT if CHAIN_OF_TRUST
Masahiro Yamada6e0971b2014-10-20 17:45:56 +0900120 select SUPPORT_SPL
Masahiro Yamadaf5ebc992014-10-20 17:45:57 +0900121 select SUPPORT_TPL
Simon Glass4590d4e2017-05-17 03:25:10 -0600122 imply CMD_EEPROM
Simon Glass203b3ab2017-06-14 21:28:24 -0600123 imply CMD_SATA
Masahiro Yamadaacede7a2017-12-04 12:37:00 +0900124 imply PANIC_HANG
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900125
York Sun443108bf2016-11-17 13:52:44 -0800126config TARGET_P1020RDB_PC
127 bool "Support P1020RDB-PC"
128 select SUPPORT_SPL
129 select SUPPORT_TPL
York Sunaf2dc812016-11-18 10:02:14 -0800130 select ARCH_P1020
Simon Glass4590d4e2017-05-17 03:25:10 -0600131 imply CMD_EEPROM
Simon Glass203b3ab2017-06-14 21:28:24 -0600132 imply CMD_SATA
Masahiro Yamadaacede7a2017-12-04 12:37:00 +0900133 imply PANIC_HANG
York Sun443108bf2016-11-17 13:52:44 -0800134
York Sun06732382016-11-17 13:53:33 -0800135config TARGET_P1020RDB_PD
136 bool "Support P1020RDB-PD"
137 select SUPPORT_SPL
138 select SUPPORT_TPL
York Sunaf2dc812016-11-18 10:02:14 -0800139 select ARCH_P1020
Simon Glass4590d4e2017-05-17 03:25:10 -0600140 imply CMD_EEPROM
Simon Glass203b3ab2017-06-14 21:28:24 -0600141 imply CMD_SATA
Masahiro Yamadaacede7a2017-12-04 12:37:00 +0900142 imply PANIC_HANG
York Sun06732382016-11-17 13:53:33 -0800143
York Sun9c01ff22016-11-17 14:19:18 -0800144config TARGET_P2020RDB
145 bool "Support P2020RDB-PC"
146 select SUPPORT_SPL
147 select SUPPORT_TPL
York Sun4b08dd72016-11-18 11:08:43 -0800148 select ARCH_P2020
Simon Glass4590d4e2017-05-17 03:25:10 -0600149 imply CMD_EEPROM
Simon Glass203b3ab2017-06-14 21:28:24 -0600150 imply CMD_SATA
Tuomas Tynkkynen104a5372017-12-08 15:36:14 +0200151 imply SATA_SIL
York Sun9c01ff22016-11-17 14:19:18 -0800152
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900153config TARGET_P2041RDB
154 bool "Support P2041RDB"
York Sun5786fca2016-11-18 11:15:21 -0800155 select ARCH_P2041
Tom Rini22d567e2017-01-22 19:43:11 -0500156 select BOARD_LATE_INIT if CHAIN_OF_TRUST
Tom Rini7374a712022-07-23 13:05:08 -0400157 select FSL_CORENET
Masahiro Yamada653e9fe2016-07-25 19:56:03 +0900158 select PHYS_64BIT
Simon Glass203b3ab2017-06-14 21:28:24 -0600159 imply CMD_SATA
Tuomas Tynkkynen8df5dd32017-12-08 15:36:17 +0200160 imply FSL_SATA
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900161
162config TARGET_QEMU_PPCE500
163 bool "Support qemu-ppce500"
York Sun51e91e82016-11-18 12:29:51 -0800164 select ARCH_QEMU_E500
Masahiro Yamada653e9fe2016-07-25 19:56:03 +0900165 select PHYS_64BIT
Tom Rinieb4f2de2022-06-25 11:02:44 -0400166 select SYS_RAMBOOT
Simon Glass94886db2021-12-16 20:59:36 -0700167 imply OF_HAS_PRIOR_STAGE
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900168
York Suna5ca1422016-11-18 12:45:44 -0800169config TARGET_T1024RDB
170 bool "Support T1024RDB"
York Sun7d29dd62016-11-18 13:01:34 -0800171 select ARCH_T1024
Tom Rini22d567e2017-01-22 19:43:11 -0500172 select BOARD_LATE_INIT if CHAIN_OF_TRUST
Shengzhou Liu49912402014-11-24 17:11:56 +0800173 select SUPPORT_SPL
Masahiro Yamada653e9fe2016-07-25 19:56:03 +0900174 select PHYS_64BIT
Rajesh Bhagatba2414f2019-02-01 05:22:01 +0000175 select FSL_DDR_INTERACTIVE
Simon Glass4590d4e2017-05-17 03:25:10 -0600176 imply CMD_EEPROM
Masahiro Yamadaacede7a2017-12-04 12:37:00 +0900177 imply PANIC_HANG
Shengzhou Liu49912402014-11-24 17:11:56 +0800178
York Sun1d564e752016-11-18 13:19:39 -0800179config TARGET_T1042RDB
180 bool "Support T1042RDB"
York Sun2d7b2d42016-11-18 13:36:39 -0800181 select ARCH_T1042
Tom Rini22d567e2017-01-22 19:43:11 -0500182 select BOARD_LATE_INIT if CHAIN_OF_TRUST
Masahiro Yamada6e0971b2014-10-20 17:45:56 +0900183 select SUPPORT_SPL
Masahiro Yamada653e9fe2016-07-25 19:56:03 +0900184 select PHYS_64BIT
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900185
York Sund08610d2016-11-21 11:04:34 -0800186config TARGET_T1042D4RDB
187 bool "Support T1042D4RDB"
188 select ARCH_T1042
Tom Rini22d567e2017-01-22 19:43:11 -0500189 select BOARD_LATE_INIT if CHAIN_OF_TRUST
York Sund08610d2016-11-21 11:04:34 -0800190 select SUPPORT_SPL
191 select PHYS_64BIT
Masahiro Yamadaacede7a2017-12-04 12:37:00 +0900192 imply PANIC_HANG
York Sund08610d2016-11-21 11:04:34 -0800193
York Sune9c8dcf2016-11-18 13:44:00 -0800194config TARGET_T1042RDB_PI
195 bool "Support T1042RDB_PI"
196 select ARCH_T1042
Tom Rini22d567e2017-01-22 19:43:11 -0500197 select BOARD_LATE_INIT if CHAIN_OF_TRUST
York Sune9c8dcf2016-11-18 13:44:00 -0800198 select SUPPORT_SPL
199 select PHYS_64BIT
Masahiro Yamadaacede7a2017-12-04 12:37:00 +0900200 imply PANIC_HANG
York Sune9c8dcf2016-11-18 13:44:00 -0800201
York Sund1a6c0f2016-11-21 12:46:58 -0800202config TARGET_T2080QDS
203 bool "Support T2080QDS"
York Sune20c6852016-11-21 12:54:19 -0800204 select ARCH_T2080
Tom Rini22d567e2017-01-22 19:43:11 -0500205 select BOARD_LATE_INIT if CHAIN_OF_TRUST
Masahiro Yamada6e0971b2014-10-20 17:45:56 +0900206 select SUPPORT_SPL
Masahiro Yamada653e9fe2016-07-25 19:56:03 +0900207 select PHYS_64BIT
Rajesh Bhagatba2414f2019-02-01 05:22:01 +0000208 select FSL_DDR_FIRST_SLOT_QUAD_CAPABLE
209 select FSL_DDR_INTERACTIVE
Peng Ma34bed5d2019-12-23 09:28:12 +0000210 imply CMD_SATA
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900211
York Sun58459252016-11-21 12:57:22 -0800212config TARGET_T2080RDB
213 bool "Support T2080RDB"
York Sune20c6852016-11-21 12:54:19 -0800214 select ARCH_T2080
Tom Rini22d567e2017-01-22 19:43:11 -0500215 select BOARD_LATE_INIT if CHAIN_OF_TRUST
Masahiro Yamada6e0971b2014-10-20 17:45:56 +0900216 select SUPPORT_SPL
Masahiro Yamada653e9fe2016-07-25 19:56:03 +0900217 select PHYS_64BIT
Simon Glass203b3ab2017-06-14 21:28:24 -0600218 imply CMD_SATA
Masahiro Yamadaacede7a2017-12-04 12:37:00 +0900219 imply PANIC_HANG
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900220
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900221config TARGET_T4240RDB
222 bool "Support T4240RDB"
York Sun0fad3262016-11-21 13:35:41 -0800223 select ARCH_T4240
Chunhe Lan66cba6b2015-03-20 17:08:54 +0800224 select SUPPORT_SPL
Masahiro Yamada653e9fe2016-07-25 19:56:03 +0900225 select PHYS_64BIT
Rajesh Bhagatba2414f2019-02-01 05:22:01 +0000226 select FSL_DDR_FIRST_SLOT_QUAD_CAPABLE
Simon Glass203b3ab2017-06-14 21:28:24 -0600227 imply CMD_SATA
Masahiro Yamadaacede7a2017-12-04 12:37:00 +0900228 imply PANIC_HANG
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900229
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900230config TARGET_KMP204X
231 bool "Support kmp204x"
Pascal Linder305329f2019-06-18 13:27:47 +0200232 select VENDOR_KM
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900233
Niel Fouriedb7241d2021-01-21 13:19:20 +0100234config TARGET_KMCENT2
235 bool "Support kmcent2"
236 select VENDOR_KM
Tom Rini7374a712022-07-23 13:05:08 -0400237 select FSL_CORENET
Niel Fouriedb7241d2021-01-21 13:19:20 +0100238
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900239endchoice
240
York Sunfda566d2016-11-18 11:56:57 -0800241config ARCH_B4420
242 bool
York Sunaf5495a2016-12-28 08:43:27 -0800243 select E500MC
York Sunf4e8a752016-12-28 08:43:48 -0800244 select E6500
Tom Rini7374a712022-07-23 13:05:08 -0400245 select FSL_CORENET
York Sune7a6eaf2016-12-02 10:44:34 -0800246 select FSL_LAW
Tom Rini46f83262022-06-16 14:04:34 -0400247 select HETROGENOUS_CLUSTERS
York Sun4e577972016-12-28 08:43:46 -0800248 select SYS_FSL_DDR_VER_47
York Sunbe735532016-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 Rinia1663992022-06-16 14:04:40 -0400256 select SYS_FSL_ERRATUM_A007186 if CHAIN_OF_TRUST
York Sunbe735532016-12-28 08:43:43 -0800257 select SYS_FSL_ERRATUM_A007212
258 select SYS_FSL_ERRATUM_A009942
York Sund297d392016-12-28 08:43:40 -0800259 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800260 select SYS_FSL_HAS_SEC
York Sun0d3b8592016-12-28 08:43:49 -0800261 select SYS_FSL_QORIQ_CHASSIS2
York Sunfa4199422016-12-28 08:43:31 -0800262 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800263 select SYS_FSL_SEC_COMPAT_4
York Sun7eafac12016-12-28 08:43:50 -0800264 select SYS_PPC64
Prabhakar Kushwahab0f8bae2017-02-02 15:01:13 +0530265 select FSL_IFC
Simon Glass4590d4e2017-05-17 03:25:10 -0600266 imply CMD_EEPROM
Tom Rini00448d22017-07-28 21:31:42 -0400267 imply CMD_NAND
Christophe Leroye538bbc2017-08-04 16:34:40 -0600268 imply CMD_REGINFO
York Sunfda566d2016-11-18 11:56:57 -0800269
York Sun68eaa9a2016-11-18 11:44:43 -0800270config ARCH_B4860
271 bool
York Sunaf5495a2016-12-28 08:43:27 -0800272 select E500MC
York Sunf4e8a752016-12-28 08:43:48 -0800273 select E6500
Tom Rini7374a712022-07-23 13:05:08 -0400274 select FSL_CORENET
York Sune7a6eaf2016-12-02 10:44:34 -0800275 select FSL_LAW
Tom Rini46f83262022-06-16 14:04:34 -0400276 select HETROGENOUS_CLUSTERS
York Sun4e577972016-12-28 08:43:46 -0800277 select SYS_FSL_DDR_VER_47
York Sunbe735532016-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 Rinia1663992022-06-16 14:04:40 -0400285 select SYS_FSL_ERRATUM_A007186 if CHAIN_OF_TRUST
York Sunbe735532016-12-28 08:43:43 -0800286 select SYS_FSL_ERRATUM_A007212
Darwin Dingela56d6c02016-10-25 09:48:01 +1300287 select SYS_FSL_ERRATUM_A007907
York Sunbe735532016-12-28 08:43:43 -0800288 select SYS_FSL_ERRATUM_A009942
York Sund297d392016-12-28 08:43:40 -0800289 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800290 select SYS_FSL_HAS_SEC
York Sun0d3b8592016-12-28 08:43:49 -0800291 select SYS_FSL_QORIQ_CHASSIS2
York Sunfa4199422016-12-28 08:43:31 -0800292 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800293 select SYS_FSL_SEC_COMPAT_4
York Sun7eafac12016-12-28 08:43:50 -0800294 select SYS_PPC64
Prabhakar Kushwahab0f8bae2017-02-02 15:01:13 +0530295 select FSL_IFC
Simon Glass4590d4e2017-05-17 03:25:10 -0600296 imply CMD_EEPROM
Tom Rini00448d22017-07-28 21:31:42 -0400297 imply CMD_NAND
Christophe Leroye538bbc2017-08-04 16:34:40 -0600298 imply CMD_REGINFO
York Sun68eaa9a2016-11-18 11:44:43 -0800299
York Suna80bdf72016-11-15 14:09:50 -0800300config ARCH_BSC9131
301 bool
York Sune7a6eaf2016-12-02 10:44:34 -0800302 select FSL_LAW
York Sun4e577972016-12-28 08:43:46 -0800303 select SYS_FSL_DDR_VER_44
York Sunbe735532016-12-28 08:43:43 -0800304 select SYS_FSL_ERRATUM_A004477
305 select SYS_FSL_ERRATUM_A005125
York Sun097e3602016-12-28 08:43:42 -0800306 select SYS_FSL_ERRATUM_ESDHC111
York Sund297d392016-12-28 08:43:40 -0800307 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800308 select SYS_FSL_HAS_SEC
York Sunfa4199422016-12-28 08:43:31 -0800309 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800310 select SYS_FSL_SEC_COMPAT_4
Prabhakar Kushwahab0f8bae2017-02-02 15:01:13 +0530311 select FSL_IFC
Simon Glass4590d4e2017-05-17 03:25:10 -0600312 imply CMD_EEPROM
Tom Rini00448d22017-07-28 21:31:42 -0400313 imply CMD_NAND
Christophe Leroye538bbc2017-08-04 16:34:40 -0600314 imply CMD_REGINFO
York Suna80bdf72016-11-15 14:09:50 -0800315
316config ARCH_BSC9132
317 bool
York Sune7a6eaf2016-12-02 10:44:34 -0800318 select FSL_LAW
York Sun4e577972016-12-28 08:43:46 -0800319 select SYS_FSL_DDR_VER_46
York Sunbe735532016-12-28 08:43:43 -0800320 select SYS_FSL_ERRATUM_A004477
321 select SYS_FSL_ERRATUM_A005125
322 select SYS_FSL_ERRATUM_A005434
York Sun097e3602016-12-28 08:43:42 -0800323 select SYS_FSL_ERRATUM_ESDHC111
York Sunbe735532016-12-28 08:43:43 -0800324 select SYS_FSL_ERRATUM_I2C_A004447
325 select SYS_FSL_ERRATUM_IFC_A002769
Hou Zhiqiang01500f52019-05-23 11:52:44 +0800326 select FSL_PCIE_RESET
York Sund297d392016-12-28 08:43:40 -0800327 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800328 select SYS_FSL_HAS_SEC
York Sunfa4199422016-12-28 08:43:31 -0800329 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800330 select SYS_FSL_SEC_COMPAT_4
York Sun85ab6f02016-12-28 08:43:29 -0800331 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwahab0f8bae2017-02-02 15:01:13 +0530332 select FSL_IFC
Simon Glass4590d4e2017-05-17 03:25:10 -0600333 imply CMD_EEPROM
Tom Rinic20bb732017-07-22 18:36:16 -0400334 imply CMD_MTDPARTS
Tom Rini00448d22017-07-28 21:31:42 -0400335 imply CMD_NAND
Simon Glassc88a09a2017-08-04 16:34:34 -0600336 imply CMD_PCI
Christophe Leroye538bbc2017-08-04 16:34:40 -0600337 imply CMD_REGINFO
York Suna80bdf72016-11-15 14:09:50 -0800338
York Sun4119aee2016-11-15 18:44:22 -0800339config ARCH_C29X
340 bool
York Sune7a6eaf2016-12-02 10:44:34 -0800341 select FSL_LAW
York Sun4e577972016-12-28 08:43:46 -0800342 select SYS_FSL_DDR_VER_46
York Sunbe735532016-12-28 08:43:43 -0800343 select SYS_FSL_ERRATUM_A005125
York Sun097e3602016-12-28 08:43:42 -0800344 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiang01500f52019-05-23 11:52:44 +0800345 select FSL_PCIE_RESET
York Sund297d392016-12-28 08:43:40 -0800346 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800347 select SYS_FSL_HAS_SEC
York Sunfa4199422016-12-28 08:43:31 -0800348 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800349 select SYS_FSL_SEC_COMPAT_6
York Sun85ab6f02016-12-28 08:43:29 -0800350 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwahab0f8bae2017-02-02 15:01:13 +0530351 select FSL_IFC
Tom Rini00448d22017-07-28 21:31:42 -0400352 imply CMD_NAND
Simon Glassc88a09a2017-08-04 16:34:34 -0600353 imply CMD_PCI
Christophe Leroye538bbc2017-08-04 16:34:40 -0600354 imply CMD_REGINFO
York Sun4119aee2016-11-15 18:44:22 -0800355
York Sun5557d6b2016-11-16 11:06:47 -0800356config ARCH_MPC8536
357 bool
York Sune7a6eaf2016-12-02 10:44:34 -0800358 select FSL_LAW
York Sunbe735532016-12-28 08:43:43 -0800359 select SYS_FSL_ERRATUM_A004508
360 select SYS_FSL_ERRATUM_A005125
Hou Zhiqiang01500f52019-05-23 11:52:44 +0800361 select FSL_PCIE_RESET
York Sund297d392016-12-28 08:43:40 -0800362 select SYS_FSL_HAS_DDR2
363 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800364 select SYS_FSL_HAS_SEC
York Sunfa4199422016-12-28 08:43:31 -0800365 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800366 select SYS_FSL_SEC_COMPAT_2
York Sun85ab6f02016-12-28 08:43:29 -0800367 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha4c6be552017-02-02 15:01:48 +0530368 select FSL_ELBC
Tom Rini00448d22017-07-28 21:31:42 -0400369 imply CMD_NAND
Simon Glass203b3ab2017-06-14 21:28:24 -0600370 imply CMD_SATA
Christophe Leroye538bbc2017-08-04 16:34:40 -0600371 imply CMD_REGINFO
York Sun5557d6b2016-11-16 11:06:47 -0800372
York Sun5ddce892016-11-16 11:13:06 -0800373config ARCH_MPC8540
374 bool
York Sune7a6eaf2016-12-02 10:44:34 -0800375 select FSL_LAW
York Sund297d392016-12-28 08:43:40 -0800376 select SYS_FSL_HAS_DDR1
York Sun5ddce892016-11-16 11:13:06 -0800377
York Sun5ac012a2016-11-15 13:57:15 -0800378config ARCH_MPC8544
379 bool
Tom Rinie59f3242022-02-23 12:28:15 -0500380 select BTB
York Sune7a6eaf2016-12-02 10:44:34 -0800381 select FSL_LAW
Tom Rini3ef67ae2021-08-26 11:47:59 -0400382 select SYS_CACHE_SHIFT_5
York Sunbe735532016-12-28 08:43:43 -0800383 select SYS_FSL_ERRATUM_A005125
Hou Zhiqiang01500f52019-05-23 11:52:44 +0800384 select FSL_PCIE_RESET
York Sund297d392016-12-28 08:43:40 -0800385 select SYS_FSL_HAS_DDR2
York Sun92c36e22016-12-28 08:43:30 -0800386 select SYS_FSL_HAS_SEC
York Sunfa4199422016-12-28 08:43:31 -0800387 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800388 select SYS_FSL_SEC_COMPAT_2
York Sun85ab6f02016-12-28 08:43:29 -0800389 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha4c6be552017-02-02 15:01:48 +0530390 select FSL_ELBC
York Sun5ac012a2016-11-15 13:57:15 -0800391
York Sunefc49e02016-11-15 13:52:34 -0800392config ARCH_MPC8548
393 bool
Tom Rinie59f3242022-02-23 12:28:15 -0500394 select BTB
York Sune7a6eaf2016-12-02 10:44:34 -0800395 select FSL_LAW
York Sunbe735532016-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 Zhiqiang01500f52019-05-23 11:52:44 +0800401 select FSL_PCIE_RESET
York Sund297d392016-12-28 08:43:40 -0800402 select SYS_FSL_HAS_DDR2
403 select SYS_FSL_HAS_DDR1
York Sun92c36e22016-12-28 08:43:30 -0800404 select SYS_FSL_HAS_SEC
York Sunfa4199422016-12-28 08:43:31 -0800405 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800406 select SYS_FSL_SEC_COMPAT_2
York Sun85ab6f02016-12-28 08:43:29 -0800407 select SYS_PPC_E500_USE_DEBUG_TLB
Christophe Leroye538bbc2017-08-04 16:34:40 -0600408 imply CMD_REGINFO
York Sunefc49e02016-11-15 13:52:34 -0800409
York Sunb4046f42016-11-16 11:26:45 -0800410config ARCH_MPC8560
411 bool
York Sune7a6eaf2016-12-02 10:44:34 -0800412 select FSL_LAW
York Sund297d392016-12-28 08:43:40 -0800413 select SYS_FSL_HAS_DDR1
York Sunb4046f42016-11-16 11:26:45 -0800414
York Sun24f88b32016-11-16 13:08:52 -0800415config ARCH_P1010
416 bool
Tom Rini2404edc2022-03-11 09:11:59 -0500417 select A003399_NOR_WORKAROUND if SYS_FSL_ERRATUM_IFC_A003399 && !SPL
Tom Rinie59f3242022-02-23 12:28:15 -0500418 select BTB
York Sune7a6eaf2016-12-02 10:44:34 -0800419 select FSL_LAW
Tom Rini3ef67ae2021-08-26 11:47:59 -0400420 select SYS_CACHE_SHIFT_5
Tom Rinid391d8b2021-12-11 14:55:51 -0500421 select SYS_HAS_SERDES
York Sunbe735532016-12-28 08:43:43 -0800422 select SYS_FSL_ERRATUM_A004477
423 select SYS_FSL_ERRATUM_A004508
424 select SYS_FSL_ERRATUM_A005125
Chris Packham434f0582018-10-04 20:03:53 +1300425 select SYS_FSL_ERRATUM_A005275
York Sunbe735532016-12-28 08:43:43 -0800426 select SYS_FSL_ERRATUM_A006261
427 select SYS_FSL_ERRATUM_A007075
York Sun097e3602016-12-28 08:43:42 -0800428 select SYS_FSL_ERRATUM_ESDHC111
York Sunbe735532016-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 Zhiqiang01500f52019-05-23 11:52:44 +0800434 select FSL_PCIE_RESET
York Sund297d392016-12-28 08:43:40 -0800435 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800436 select SYS_FSL_HAS_SEC
York Sunfa4199422016-12-28 08:43:31 -0800437 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800438 select SYS_FSL_SEC_COMPAT_4
York Sun85ab6f02016-12-28 08:43:29 -0800439 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwahab0f8bae2017-02-02 15:01:13 +0530440 select FSL_IFC
Simon Glass4590d4e2017-05-17 03:25:10 -0600441 imply CMD_EEPROM
Tom Rinic20bb732017-07-22 18:36:16 -0400442 imply CMD_MTDPARTS
Tom Rini00448d22017-07-28 21:31:42 -0400443 imply CMD_NAND
Simon Glass203b3ab2017-06-14 21:28:24 -0600444 imply CMD_SATA
Simon Glassc88a09a2017-08-04 16:34:34 -0600445 imply CMD_PCI
Christophe Leroye538bbc2017-08-04 16:34:40 -0600446 imply CMD_REGINFO
Tuomas Tynkkynen8df5dd32017-12-08 15:36:17 +0200447 imply FSL_SATA
Simon Glass65831d92021-12-18 11:27:50 -0700448 imply TIMESTAMP
York Sun24f88b32016-11-16 13:08:52 -0800449
York Sun3680e592016-11-16 15:54:15 -0800450config ARCH_P1011
451 bool
York Sune7a6eaf2016-12-02 10:44:34 -0800452 select FSL_LAW
York Sunbe735532016-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 Sun097e3602016-12-28 08:43:42 -0800456 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiangdeb47f52019-05-22 22:46:03 +0800457 select FSL_PCIE_DISABLE_ASPM
York Sund297d392016-12-28 08:43:40 -0800458 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800459 select SYS_FSL_HAS_SEC
York Sunfa4199422016-12-28 08:43:31 -0800460 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800461 select SYS_FSL_SEC_COMPAT_2
York Sun85ab6f02016-12-28 08:43:29 -0800462 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha4c6be552017-02-02 15:01:48 +0530463 select FSL_ELBC
York Sun3680e592016-11-16 15:54:15 -0800464
York Sunaf2dc812016-11-18 10:02:14 -0800465config ARCH_P1020
466 bool
Tom Rinie59f3242022-02-23 12:28:15 -0500467 select BTB
York Sune7a6eaf2016-12-02 10:44:34 -0800468 select FSL_LAW
Tom Rini3ef67ae2021-08-26 11:47:59 -0400469 select SYS_CACHE_SHIFT_5
York Sunbe735532016-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 Sun097e3602016-12-28 08:43:42 -0800473 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiangdeb47f52019-05-22 22:46:03 +0800474 select FSL_PCIE_DISABLE_ASPM
Hou Zhiqiang01500f52019-05-23 11:52:44 +0800475 select FSL_PCIE_RESET
York Sund297d392016-12-28 08:43:40 -0800476 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800477 select SYS_FSL_HAS_SEC
York Sunfa4199422016-12-28 08:43:31 -0800478 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800479 select SYS_FSL_SEC_COMPAT_2
York Sun85ab6f02016-12-28 08:43:29 -0800480 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha4c6be552017-02-02 15:01:48 +0530481 select FSL_ELBC
Tom Rini00448d22017-07-28 21:31:42 -0400482 imply CMD_NAND
Simon Glass203b3ab2017-06-14 21:28:24 -0600483 imply CMD_SATA
Simon Glassc88a09a2017-08-04 16:34:34 -0600484 imply CMD_PCI
Christophe Leroye538bbc2017-08-04 16:34:40 -0600485 imply CMD_REGINFO
Tuomas Tynkkynen104a5372017-12-08 15:36:14 +0200486 imply SATA_SIL
York Sunaf2dc812016-11-18 10:02:14 -0800487
York Sun2f924be2016-11-18 10:59:02 -0800488config ARCH_P1021
489 bool
York Sune7a6eaf2016-12-02 10:44:34 -0800490 select FSL_LAW
York Sunbe735532016-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 Sun097e3602016-12-28 08:43:42 -0800494 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiangdeb47f52019-05-22 22:46:03 +0800495 select FSL_PCIE_DISABLE_ASPM
Hou Zhiqiang01500f52019-05-23 11:52:44 +0800496 select FSL_PCIE_RESET
York Sund297d392016-12-28 08:43:40 -0800497 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800498 select SYS_FSL_HAS_SEC
York Sunfa4199422016-12-28 08:43:31 -0800499 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800500 select SYS_FSL_SEC_COMPAT_2
York Sun85ab6f02016-12-28 08:43:29 -0800501 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha4c6be552017-02-02 15:01:48 +0530502 select FSL_ELBC
Christophe Leroye538bbc2017-08-04 16:34:40 -0600503 imply CMD_REGINFO
Tom Rini00448d22017-07-28 21:31:42 -0400504 imply CMD_NAND
Simon Glass203b3ab2017-06-14 21:28:24 -0600505 imply CMD_SATA
Christophe Leroye538bbc2017-08-04 16:34:40 -0600506 imply CMD_REGINFO
Tuomas Tynkkynen104a5372017-12-08 15:36:14 +0200507 imply SATA_SIL
York Sun2f924be2016-11-18 10:59:02 -0800508
York Sunfeeaae22016-11-16 15:45:31 -0800509config ARCH_P1023
510 bool
York Sune7a6eaf2016-12-02 10:44:34 -0800511 select FSL_LAW
York Sunbe735532016-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 Zhiqiang01500f52019-05-23 11:52:44 +0800515 select FSL_PCIE_RESET
York Sund297d392016-12-28 08:43:40 -0800516 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800517 select SYS_FSL_HAS_SEC
York Sunfa4199422016-12-28 08:43:31 -0800518 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800519 select SYS_FSL_SEC_COMPAT_4
Prabhakar Kushwaha4c6be552017-02-02 15:01:48 +0530520 select FSL_ELBC
York Sunfeeaae22016-11-16 15:45:31 -0800521
York Sun76780b22016-11-18 11:00:57 -0800522config ARCH_P1024
523 bool
York Sune7a6eaf2016-12-02 10:44:34 -0800524 select FSL_LAW
York Sunbe735532016-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 Sun097e3602016-12-28 08:43:42 -0800528 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiangdeb47f52019-05-22 22:46:03 +0800529 select FSL_PCIE_DISABLE_ASPM
Hou Zhiqiang01500f52019-05-23 11:52:44 +0800530 select FSL_PCIE_RESET
York Sund297d392016-12-28 08:43:40 -0800531 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800532 select SYS_FSL_HAS_SEC
York Sunfa4199422016-12-28 08:43:31 -0800533 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800534 select SYS_FSL_SEC_COMPAT_2
York Sun85ab6f02016-12-28 08:43:29 -0800535 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha4c6be552017-02-02 15:01:48 +0530536 select FSL_ELBC
Simon Glass4590d4e2017-05-17 03:25:10 -0600537 imply CMD_EEPROM
Tom Rini00448d22017-07-28 21:31:42 -0400538 imply CMD_NAND
Simon Glass203b3ab2017-06-14 21:28:24 -0600539 imply CMD_SATA
Simon Glassc88a09a2017-08-04 16:34:34 -0600540 imply CMD_PCI
Christophe Leroye538bbc2017-08-04 16:34:40 -0600541 imply CMD_REGINFO
Tuomas Tynkkynen104a5372017-12-08 15:36:14 +0200542 imply SATA_SIL
York Sun76780b22016-11-18 11:00:57 -0800543
York Sun0f577972016-11-18 11:05:38 -0800544config ARCH_P1025
545 bool
York Sune7a6eaf2016-12-02 10:44:34 -0800546 select FSL_LAW
York Sunbe735532016-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 Sun097e3602016-12-28 08:43:42 -0800550 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiangdeb47f52019-05-22 22:46:03 +0800551 select FSL_PCIE_DISABLE_ASPM
Hou Zhiqiang01500f52019-05-23 11:52:44 +0800552 select FSL_PCIE_RESET
York Sund297d392016-12-28 08:43:40 -0800553 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800554 select SYS_FSL_HAS_SEC
York Sunfa4199422016-12-28 08:43:31 -0800555 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800556 select SYS_FSL_SEC_COMPAT_2
York Sun85ab6f02016-12-28 08:43:29 -0800557 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha4c6be552017-02-02 15:01:48 +0530558 select FSL_ELBC
Simon Glass203b3ab2017-06-14 21:28:24 -0600559 imply CMD_SATA
Christophe Leroye538bbc2017-08-04 16:34:40 -0600560 imply CMD_REGINFO
York Sun0f577972016-11-18 11:05:38 -0800561
York Sun4b08dd72016-11-18 11:08:43 -0800562config ARCH_P2020
563 bool
Tom Rinie59f3242022-02-23 12:28:15 -0500564 select BTB
York Sune7a6eaf2016-12-02 10:44:34 -0800565 select FSL_LAW
Tom Rini3ef67ae2021-08-26 11:47:59 -0400566 select SYS_CACHE_SHIFT_5
York Sunbe735532016-12-28 08:43:43 -0800567 select SYS_FSL_ERRATUM_A004477
568 select SYS_FSL_ERRATUM_A004508
569 select SYS_FSL_ERRATUM_A005125
York Sun097e3602016-12-28 08:43:42 -0800570 select SYS_FSL_ERRATUM_ESDHC111
571 select SYS_FSL_ERRATUM_ESDHC_A001
Hou Zhiqiang01500f52019-05-23 11:52:44 +0800572 select FSL_PCIE_RESET
York Sund297d392016-12-28 08:43:40 -0800573 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800574 select SYS_FSL_HAS_SEC
York Sunfa4199422016-12-28 08:43:31 -0800575 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800576 select SYS_FSL_SEC_COMPAT_2
York Sun85ab6f02016-12-28 08:43:29 -0800577 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha4c6be552017-02-02 15:01:48 +0530578 select FSL_ELBC
Simon Glass4590d4e2017-05-17 03:25:10 -0600579 imply CMD_EEPROM
Tom Rini00448d22017-07-28 21:31:42 -0400580 imply CMD_NAND
Christophe Leroye538bbc2017-08-04 16:34:40 -0600581 imply CMD_REGINFO
Simon Glass65831d92021-12-18 11:27:50 -0700582 imply TIMESTAMP
York Sun4b08dd72016-11-18 11:08:43 -0800583
York Sun5786fca2016-11-18 11:15:21 -0800584config ARCH_P2041
585 bool
Tom Rini1f05fe22022-03-18 08:38:32 -0400586 select BACKSIDE_L2_CACHE
York Sunaf5495a2016-12-28 08:43:27 -0800587 select E500MC
York Sune7a6eaf2016-12-02 10:44:34 -0800588 select FSL_LAW
Tom Rini3ef67ae2021-08-26 11:47:59 -0400589 select SYS_CACHE_SHIFT_6
York Sunbe735532016-12-28 08:43:43 -0800590 select SYS_FSL_ERRATUM_A004510
591 select SYS_FSL_ERRATUM_A004849
Chris Packham434f0582018-10-04 20:03:53 +1300592 select SYS_FSL_ERRATUM_A005275
York Sunbe735532016-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 Sun097e3602016-12-28 08:43:42 -0800597 select SYS_FSL_ERRATUM_ESDHC111
York Sunbe735532016-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 Sund297d392016-12-28 08:43:40 -0800602 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800603 select SYS_FSL_HAS_SEC
York Sun0d3b8592016-12-28 08:43:49 -0800604 select SYS_FSL_QORIQ_CHASSIS1
York Sunfa4199422016-12-28 08:43:31 -0800605 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800606 select SYS_FSL_SEC_COMPAT_4
Prabhakar Kushwaha4c6be552017-02-02 15:01:48 +0530607 select FSL_ELBC
Tom Rini00448d22017-07-28 21:31:42 -0400608 imply CMD_NAND
York Sun5786fca2016-11-18 11:15:21 -0800609
York Sundf70d062016-11-18 11:20:40 -0800610config ARCH_P3041
611 bool
Tom Rini1f05fe22022-03-18 08:38:32 -0400612 select BACKSIDE_L2_CACHE
York Sunaf5495a2016-12-28 08:43:27 -0800613 select E500MC
Tom Rini7374a712022-07-23 13:05:08 -0400614 select FSL_CORENET
York Sune7a6eaf2016-12-02 10:44:34 -0800615 select FSL_LAW
Tom Rini3ef67ae2021-08-26 11:47:59 -0400616 select SYS_CACHE_SHIFT_6
York Sun4e577972016-12-28 08:43:46 -0800617 select SYS_FSL_DDR_VER_44
York Sunbe735532016-12-28 08:43:43 -0800618 select SYS_FSL_ERRATUM_A004510
619 select SYS_FSL_ERRATUM_A004849
Chris Packham434f0582018-10-04 20:03:53 +1300620 select SYS_FSL_ERRATUM_A005275
York Sunbe735532016-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 Sun097e3602016-12-28 08:43:42 -0800626 select SYS_FSL_ERRATUM_ESDHC111
York Sunbe735532016-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 Sund297d392016-12-28 08:43:40 -0800631 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800632 select SYS_FSL_HAS_SEC
York Sun0d3b8592016-12-28 08:43:49 -0800633 select SYS_FSL_QORIQ_CHASSIS1
York Sunfa4199422016-12-28 08:43:31 -0800634 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800635 select SYS_FSL_SEC_COMPAT_4
Prabhakar Kushwaha4c6be552017-02-02 15:01:48 +0530636 select FSL_ELBC
Tom Rini00448d22017-07-28 21:31:42 -0400637 imply CMD_NAND
Simon Glass203b3ab2017-06-14 21:28:24 -0600638 imply CMD_SATA
Christophe Leroye538bbc2017-08-04 16:34:40 -0600639 imply CMD_REGINFO
Tuomas Tynkkynen8df5dd32017-12-08 15:36:17 +0200640 imply FSL_SATA
York Sundf70d062016-11-18 11:20:40 -0800641
York Sun84be8a92016-11-18 11:24:40 -0800642config ARCH_P4080
643 bool
Tom Rini1f05fe22022-03-18 08:38:32 -0400644 select BACKSIDE_L2_CACHE
York Sunaf5495a2016-12-28 08:43:27 -0800645 select E500MC
Tom Rini7374a712022-07-23 13:05:08 -0400646 select FSL_CORENET
York Sune7a6eaf2016-12-02 10:44:34 -0800647 select FSL_LAW
Tom Rini3ef67ae2021-08-26 11:47:59 -0400648 select SYS_CACHE_SHIFT_6
York Sun4e577972016-12-28 08:43:46 -0800649 select SYS_FSL_DDR_VER_44
York Sunbe735532016-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 Sun097e3602016-12-28 08:43:42 -0800661 select SYS_FSL_ERRATUM_ESDHC111
662 select SYS_FSL_ERRATUM_ESDHC13
663 select SYS_FSL_ERRATUM_ESDHC135
York Sunbe735532016-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 Sund297d392016-12-28 08:43:40 -0800673 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800674 select SYS_FSL_HAS_SEC
York Sun0d3b8592016-12-28 08:43:49 -0800675 select SYS_FSL_QORIQ_CHASSIS1
York Sunfa4199422016-12-28 08:43:31 -0800676 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800677 select SYS_FSL_SEC_COMPAT_4
Prabhakar Kushwaha4c6be552017-02-02 15:01:48 +0530678 select FSL_ELBC
Simon Glass203b3ab2017-06-14 21:28:24 -0600679 imply CMD_SATA
Christophe Leroye538bbc2017-08-04 16:34:40 -0600680 imply CMD_REGINFO
Tuomas Tynkkynen104a5372017-12-08 15:36:14 +0200681 imply SATA_SIL
York Sun84be8a92016-11-18 11:24:40 -0800682
York Suna3c5b662016-11-18 11:39:36 -0800683config ARCH_P5040
684 bool
Tom Rini1f05fe22022-03-18 08:38:32 -0400685 select BACKSIDE_L2_CACHE
York Sunaf5495a2016-12-28 08:43:27 -0800686 select E500MC
Tom Rini7374a712022-07-23 13:05:08 -0400687 select FSL_CORENET
York Sune7a6eaf2016-12-02 10:44:34 -0800688 select FSL_LAW
Tom Rini3ef67ae2021-08-26 11:47:59 -0400689 select SYS_CACHE_SHIFT_6
York Sun4e577972016-12-28 08:43:46 -0800690 select SYS_FSL_DDR_VER_44
York Sunbe735532016-12-28 08:43:43 -0800691 select SYS_FSL_ERRATUM_A004510
692 select SYS_FSL_ERRATUM_A004699
Chris Packham434f0582018-10-04 20:03:53 +1300693 select SYS_FSL_ERRATUM_A005275
York Sunbe735532016-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 Sun097e3602016-12-28 08:43:42 -0800698 select SYS_FSL_ERRATUM_ESDHC111
York Sunbe735532016-12-28 08:43:43 -0800699 select SYS_FSL_ERRATUM_USB14
York Sund297d392016-12-28 08:43:40 -0800700 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800701 select SYS_FSL_HAS_SEC
York Sun0d3b8592016-12-28 08:43:49 -0800702 select SYS_FSL_QORIQ_CHASSIS1
York Sunfa4199422016-12-28 08:43:31 -0800703 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800704 select SYS_FSL_SEC_COMPAT_4
York Sun7eafac12016-12-28 08:43:50 -0800705 select SYS_PPC64
Prabhakar Kushwaha4c6be552017-02-02 15:01:48 +0530706 select FSL_ELBC
Simon Glass203b3ab2017-06-14 21:28:24 -0600707 imply CMD_SATA
Christophe Leroye538bbc2017-08-04 16:34:40 -0600708 imply CMD_REGINFO
Tuomas Tynkkynen8df5dd32017-12-08 15:36:17 +0200709 imply FSL_SATA
York Suna3c5b662016-11-18 11:39:36 -0800710
York Sun51e91e82016-11-18 12:29:51 -0800711config ARCH_QEMU_E500
712 bool
Tom Rini3ef67ae2021-08-26 11:47:59 -0400713 select SYS_CACHE_SHIFT_5
York Sun51e91e82016-11-18 12:29:51 -0800714
York Sun7d29dd62016-11-18 13:01:34 -0800715config ARCH_T1024
716 bool
Tom Rini1f05fe22022-03-18 08:38:32 -0400717 select BACKSIDE_L2_CACHE
York Sunaf5495a2016-12-28 08:43:27 -0800718 select E500MC
Tom Rinic1c04bd2022-03-24 17:18:01 -0400719 select E5500
Tom Rini7374a712022-07-23 13:05:08 -0400720 select FSL_CORENET
York Sune7a6eaf2016-12-02 10:44:34 -0800721 select FSL_LAW
Tom Rini3ef67ae2021-08-26 11:47:59 -0400722 select SYS_CACHE_SHIFT_6
York Sun4e577972016-12-28 08:43:46 -0800723 select SYS_FSL_DDR_VER_50
York Sunbe735532016-12-28 08:43:43 -0800724 select SYS_FSL_ERRATUM_A008378
Jaiprakash Singhe230a922020-06-02 12:44:02 +0530725 select SYS_FSL_ERRATUM_A008109
York Sunbe735532016-12-28 08:43:43 -0800726 select SYS_FSL_ERRATUM_A009663
727 select SYS_FSL_ERRATUM_A009942
York Sun097e3602016-12-28 08:43:42 -0800728 select SYS_FSL_ERRATUM_ESDHC111
York Sund297d392016-12-28 08:43:40 -0800729 select SYS_FSL_HAS_DDR3
730 select SYS_FSL_HAS_DDR4
York Sun92c36e22016-12-28 08:43:30 -0800731 select SYS_FSL_HAS_SEC
York Sun0d3b8592016-12-28 08:43:49 -0800732 select SYS_FSL_QORIQ_CHASSIS2
York Sunfa4199422016-12-28 08:43:31 -0800733 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800734 select SYS_FSL_SEC_COMPAT_5
Prabhakar Kushwahab0f8bae2017-02-02 15:01:13 +0530735 select FSL_IFC
Simon Glass4590d4e2017-05-17 03:25:10 -0600736 imply CMD_EEPROM
Tom Rini00448d22017-07-28 21:31:42 -0400737 imply CMD_NAND
Tom Rinic20bb732017-07-22 18:36:16 -0400738 imply CMD_MTDPARTS
Christophe Leroye538bbc2017-08-04 16:34:40 -0600739 imply CMD_REGINFO
York Sun7d29dd62016-11-18 13:01:34 -0800740
York Suna5b5d882016-11-18 13:11:12 -0800741config ARCH_T1040
742 bool
Tom Rini1f05fe22022-03-18 08:38:32 -0400743 select BACKSIDE_L2_CACHE
York Sunaf5495a2016-12-28 08:43:27 -0800744 select E500MC
Tom Rinic1c04bd2022-03-24 17:18:01 -0400745 select E5500
Tom Rini7374a712022-07-23 13:05:08 -0400746 select FSL_CORENET
York Sune7a6eaf2016-12-02 10:44:34 -0800747 select FSL_LAW
Tom Rini3ef67ae2021-08-26 11:47:59 -0400748 select SYS_CACHE_SHIFT_6
York Sun4e577972016-12-28 08:43:46 -0800749 select SYS_FSL_DDR_VER_50
York Sunbe735532016-12-28 08:43:43 -0800750 select SYS_FSL_ERRATUM_A008044
751 select SYS_FSL_ERRATUM_A008378
Joakim Tjernlund477602c2019-11-20 17:07:34 +0100752 select SYS_FSL_ERRATUM_A008109
York Sunbe735532016-12-28 08:43:43 -0800753 select SYS_FSL_ERRATUM_A009663
754 select SYS_FSL_ERRATUM_A009942
York Sun097e3602016-12-28 08:43:42 -0800755 select SYS_FSL_ERRATUM_ESDHC111
York Sund297d392016-12-28 08:43:40 -0800756 select SYS_FSL_HAS_DDR3
757 select SYS_FSL_HAS_DDR4
York Sun92c36e22016-12-28 08:43:30 -0800758 select SYS_FSL_HAS_SEC
York Sun0d3b8592016-12-28 08:43:49 -0800759 select SYS_FSL_QORIQ_CHASSIS2
York Sunfa4199422016-12-28 08:43:31 -0800760 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800761 select SYS_FSL_SEC_COMPAT_5
Prabhakar Kushwahab0f8bae2017-02-02 15:01:13 +0530762 select FSL_IFC
Tom Rinic20bb732017-07-22 18:36:16 -0400763 imply CMD_MTDPARTS
Tom Rini00448d22017-07-28 21:31:42 -0400764 imply CMD_NAND
Christophe Leroye538bbc2017-08-04 16:34:40 -0600765 imply CMD_REGINFO
York Suna5b5d882016-11-18 13:11:12 -0800766
York Sun2d7b2d42016-11-18 13:36:39 -0800767config ARCH_T1042
768 bool
Tom Rini1f05fe22022-03-18 08:38:32 -0400769 select BACKSIDE_L2_CACHE
York Sunaf5495a2016-12-28 08:43:27 -0800770 select E500MC
Tom Rinic1c04bd2022-03-24 17:18:01 -0400771 select E5500
Tom Rini7374a712022-07-23 13:05:08 -0400772 select FSL_CORENET
York Sune7a6eaf2016-12-02 10:44:34 -0800773 select FSL_LAW
Tom Rini3ef67ae2021-08-26 11:47:59 -0400774 select SYS_CACHE_SHIFT_6
York Sun4e577972016-12-28 08:43:46 -0800775 select SYS_FSL_DDR_VER_50
York Sunbe735532016-12-28 08:43:43 -0800776 select SYS_FSL_ERRATUM_A008044
777 select SYS_FSL_ERRATUM_A008378
Joakim Tjernlund477602c2019-11-20 17:07:34 +0100778 select SYS_FSL_ERRATUM_A008109
York Sunbe735532016-12-28 08:43:43 -0800779 select SYS_FSL_ERRATUM_A009663
780 select SYS_FSL_ERRATUM_A009942
York Sun097e3602016-12-28 08:43:42 -0800781 select SYS_FSL_ERRATUM_ESDHC111
York Sund297d392016-12-28 08:43:40 -0800782 select SYS_FSL_HAS_DDR3
783 select SYS_FSL_HAS_DDR4
York Sun92c36e22016-12-28 08:43:30 -0800784 select SYS_FSL_HAS_SEC
York Sun0d3b8592016-12-28 08:43:49 -0800785 select SYS_FSL_QORIQ_CHASSIS2
York Sunfa4199422016-12-28 08:43:31 -0800786 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800787 select SYS_FSL_SEC_COMPAT_5
Prabhakar Kushwahab0f8bae2017-02-02 15:01:13 +0530788 select FSL_IFC
Tom Rinic20bb732017-07-22 18:36:16 -0400789 imply CMD_MTDPARTS
Tom Rini00448d22017-07-28 21:31:42 -0400790 imply CMD_NAND
Christophe Leroye538bbc2017-08-04 16:34:40 -0600791 imply CMD_REGINFO
York Sun2d7b2d42016-11-18 13:36:39 -0800792
York Sune20c6852016-11-21 12:54:19 -0800793config ARCH_T2080
794 bool
York Sunaf5495a2016-12-28 08:43:27 -0800795 select E500MC
York Sunf4e8a752016-12-28 08:43:48 -0800796 select E6500
Tom Rini7374a712022-07-23 13:05:08 -0400797 select FSL_CORENET
York Sune7a6eaf2016-12-02 10:44:34 -0800798 select FSL_LAW
Tom Rini3ef67ae2021-08-26 11:47:59 -0400799 select SYS_CACHE_SHIFT_6
York Sun4e577972016-12-28 08:43:46 -0800800 select SYS_FSL_DDR_VER_47
York Sunbe735532016-12-28 08:43:43 -0800801 select SYS_FSL_ERRATUM_A006379
802 select SYS_FSL_ERRATUM_A006593
Tom Rinia1663992022-06-16 14:04:40 -0400803 select SYS_FSL_ERRATUM_A007186 if CHAIN_OF_TRUST
York Sunbe735532016-12-28 08:43:43 -0800804 select SYS_FSL_ERRATUM_A007212
Tony O'Brien8acb1272016-12-02 09:22:34 +1300805 select SYS_FSL_ERRATUM_A007815
Darwin Dingela56d6c02016-10-25 09:48:01 +1300806 select SYS_FSL_ERRATUM_A007907
Jaiprakash Singhe230a922020-06-02 12:44:02 +0530807 select SYS_FSL_ERRATUM_A008109
York Sunbe735532016-12-28 08:43:43 -0800808 select SYS_FSL_ERRATUM_A009942
York Sun097e3602016-12-28 08:43:42 -0800809 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiang01500f52019-05-23 11:52:44 +0800810 select FSL_PCIE_RESET
York Sund297d392016-12-28 08:43:40 -0800811 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800812 select SYS_FSL_HAS_SEC
York Sun0d3b8592016-12-28 08:43:49 -0800813 select SYS_FSL_QORIQ_CHASSIS2
York Sunfa4199422016-12-28 08:43:31 -0800814 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800815 select SYS_FSL_SEC_COMPAT_4
York Sun7eafac12016-12-28 08:43:50 -0800816 select SYS_PPC64
Prabhakar Kushwahab0f8bae2017-02-02 15:01:13 +0530817 select FSL_IFC
Peng Ma34bed5d2019-12-23 09:28:12 +0000818 imply CMD_SATA
Tom Rini00448d22017-07-28 21:31:42 -0400819 imply CMD_NAND
Christophe Leroye538bbc2017-08-04 16:34:40 -0600820 imply CMD_REGINFO
Peng Ma34bed5d2019-12-23 09:28:12 +0000821 imply FSL_SATA
Tom Rini4abdf142021-08-17 17:59:41 -0400822 imply ID_EEPROM
York Sune20c6852016-11-21 12:54:19 -0800823
York Sun0fad3262016-11-21 13:35:41 -0800824config ARCH_T4240
825 bool
York Sunaf5495a2016-12-28 08:43:27 -0800826 select E500MC
York Sunf4e8a752016-12-28 08:43:48 -0800827 select E6500
Tom Rini7374a712022-07-23 13:05:08 -0400828 select FSL_CORENET
York Sune7a6eaf2016-12-02 10:44:34 -0800829 select FSL_LAW
Tom Rini3ef67ae2021-08-26 11:47:59 -0400830 select SYS_CACHE_SHIFT_6
York Sun4e577972016-12-28 08:43:46 -0800831 select SYS_FSL_DDR_VER_47
York Sunbe735532016-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 Rinia1663992022-06-16 14:04:40 -0400837 select SYS_FSL_ERRATUM_A007186 if CHAIN_OF_TRUST
York Sunbe735532016-12-28 08:43:43 -0800838 select SYS_FSL_ERRATUM_A007798
Tony O'Brien8acb1272016-12-02 09:22:34 +1300839 select SYS_FSL_ERRATUM_A007815
Darwin Dingela56d6c02016-10-25 09:48:01 +1300840 select SYS_FSL_ERRATUM_A007907
Jaiprakash Singhe230a922020-06-02 12:44:02 +0530841 select SYS_FSL_ERRATUM_A008109
York Sunbe735532016-12-28 08:43:43 -0800842 select SYS_FSL_ERRATUM_A009942
York Sund297d392016-12-28 08:43:40 -0800843 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800844 select SYS_FSL_HAS_SEC
York Sun0d3b8592016-12-28 08:43:49 -0800845 select SYS_FSL_QORIQ_CHASSIS2
York Sunfa4199422016-12-28 08:43:31 -0800846 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800847 select SYS_FSL_SEC_COMPAT_4
York Sun7eafac12016-12-28 08:43:50 -0800848 select SYS_PPC64
Prabhakar Kushwahab0f8bae2017-02-02 15:01:13 +0530849 select FSL_IFC
Simon Glass203b3ab2017-06-14 21:28:24 -0600850 imply CMD_SATA
Tom Rini00448d22017-07-28 21:31:42 -0400851 imply CMD_NAND
Christophe Leroye538bbc2017-08-04 16:34:40 -0600852 imply CMD_REGINFO
Tuomas Tynkkynen8df5dd32017-12-08 15:36:17 +0200853 imply FSL_SATA
York Sune7a6eaf2016-12-02 10:44:34 -0800854
Jagdish Gediya7f2ad252018-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 Rinie59f3242022-02-23 12:28:15 -0500859config BTB
860 bool "toggle branch predition"
861
York Sunaf5495a2016-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 Rinie59f3242022-02-23 12:28:15 -0500874 select BTB
Simon Glassc88a09a2017-08-04 16:34:34 -0600875 imply CMD_PCI
York Sunaf5495a2016-12-28 08:43:27 -0800876 help
877 Enble PowerPC E500MC core
878
Tom Rinic1c04bd2022-03-24 17:18:01 -0400879config E5500
880 bool
881
York Sunf4e8a752016-12-28 08:43:48 -0800882config E6500
883 bool
Tom Rinie59f3242022-02-23 12:28:15 -0500884 select BTB
York Sunf4e8a752016-12-28 08:43:48 -0800885 help
886 Enable PowerPC E6500 core
887
York Sune7a6eaf2016-12-02 10:44:34 -0800888config FSL_LAW
889 bool
890 help
891 Use Freescale common code for Local Access Window
York Sun0fad3262016-11-21 13:35:41 -0800892
Tom Rini46f83262022-06-16 14:04:34 -0400893config HETROGENOUS_CLUSTERS
894 bool
895
York Suncbf7bf32016-11-23 12:30:40 -0800896config MAX_CPUS
897 int "Maximum number of CPUs permitted for MPC85xx"
898 default 12 if ARCH_T4240
Tom Rinia7ffa3d2021-05-23 10:58:05 -0400899 default 8 if ARCH_P4080
York Suncbf7bf32016-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 Rini3ec582b2021-02-20 20:06:21 -0500906 ARCH_T2080
York Suncbf7bf32016-11-23 12:30:40 -0800907 default 2 if ARCH_B4420 || \
908 ARCH_BSC9132 || \
York Suncbf7bf32016-11-23 12:30:40 -0800909 ARCH_P1020 || \
910 ARCH_P1021 || \
York Suncbf7bf32016-11-23 12:30:40 -0800911 ARCH_P1023 || \
912 ARCH_P1024 || \
913 ARCH_P1025 || \
914 ARCH_P2020 || \
York Suncbf7bf32016-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 Sun7ea6f352016-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 Sun7ea6f352016-12-01 13:26:06 -0800931 ARCH_MPC8544 || \
932 ARCH_MPC8548 || \
York Sun7ea6f352016-12-01 13:26:06 -0800933 ARCH_MPC8560 || \
York Sun7ea6f352016-12-01 13:26:06 -0800934 ARCH_P1010 || \
935 ARCH_P1011 || \
936 ARCH_P1020 || \
937 ARCH_P1021 || \
York Sun7ea6f352016-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 Sun7ea6f352016-12-01 13:26:06 -0800947 ARCH_P5040 || \
York Sun7ea6f352016-12-01 13:26:06 -0800948 ARCH_T1024 || \
949 ARCH_T1040 || \
950 ARCH_T1042 || \
951 ARCH_T2080 || \
York Sun7ea6f352016-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 Rini2404edc2022-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 Riniea2bbec2022-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 Sunbe735532016-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 Packham434f0582018-10-04 20:03:53 +13001016config SYS_FSL_ERRATUM_A005275
1017 bool
1018
York Sunbe735532016-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'Brien8acb1272016-12-02 09:22:34 +13001043config SYS_FSL_ERRATUM_A007815
1044 bool
1045
York Sunbe735532016-12-28 08:43:43 -08001046config SYS_FSL_ERRATUM_A007798
1047 bool
1048
Darwin Dingela56d6c02016-10-25 09:48:01 +13001049config SYS_FSL_ERRATUM_A007907
1050 bool
1051
York Sunbe735532016-12-28 08:43:43 -08001052config SYS_FSL_ERRATUM_A008044
1053 bool
Tom Riniea2bbec2022-03-11 09:12:00 -05001054 select A008044_WORKAROUND if MTD_RAW_NAND
York Sunbe735532016-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 Rini30900822021-02-20 20:06:30 -05001077 default 0x20 if ARCH_P3041 || ARCH_P4080
York Sunbe735532016-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 Rinid391d8b2021-12-11 14:55:51 -05001109config SYS_HAS_SERDES
1110 bool
1111
York Sunbe735532016-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 Zhiqiangdeb47f52019-05-22 22:46:03 +08001130config FSL_PCIE_DISABLE_ASPM
1131 bool
1132
Hou Zhiqiang01500f52019-05-23 11:52:44 +08001133config FSL_PCIE_RESET
1134 bool
1135
York Sun0d3b8592016-12-28 08:43:49 -08001136config SYS_FSL_QORIQ_CHASSIS1
1137 bool
1138
1139config SYS_FSL_QORIQ_CHASSIS2
1140 bool
1141
York Sun091e5e52016-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 Sun091e5e52016-12-01 14:05:02 -08001150 ARCH_P5040 || \
1151 ARCH_T2080 || \
York Sun091e5e52016-12-01 14:05:02 -08001152 ARCH_T4240
Tom Rinib4e60262021-05-14 21:34:22 -04001153 default 16 if ARCH_T1024 || \
York Sun091e5e52016-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 Sun091e5e52016-12-01 14:05:02 -08001160 ARCH_P1010 || \
1161 ARCH_P1011 || \
1162 ARCH_P1020 || \
1163 ARCH_P1021 || \
York Sun091e5e52016-12-01 14:05:02 -08001164 ARCH_P1023 || \
1165 ARCH_P1024 || \
1166 ARCH_P1025 || \
1167 ARCH_P2020
1168 default 10 if ARCH_MPC8544 || \
Tom Rini31f56052021-05-14 21:34:23 -04001169 ARCH_MPC8548
York Sun091e5e52016-12-01 14:05:02 -08001170 default 8 if ARCH_MPC8540 || \
York Sun091e5e52016-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
Tom Rinie2070212022-07-23 13:05:11 -04001176config SYS_FSL_CORES_PER_CLUSTER
1177 int
1178 depends on SYS_FSL_QORIQ_CHASSIS2
1179 default 4 if ARCH_B4860 || ARCH_T2080 || ARCH_T4240
1180 default 2 if ARCH_B4420
1181 default 1 if ARCH_T1024 || ARCH_T1040 || ARCH_T1042
1182
York Sunf4e8a752016-12-28 08:43:48 -08001183config SYS_FSL_THREADS_PER_CORE
1184 int
Tom Rinie2070212022-07-23 13:05:11 -04001185 depends on SYS_FSL_QORIQ_CHASSIS2
York Sunf4e8a752016-12-28 08:43:48 -08001186 default 2 if E6500
1187 default 1
1188
York Sun14e098d2016-12-28 08:43:28 -08001189config SYS_NUM_TLBCAMS
1190 int "Number of TLB CAM entries"
1191 default 64 if E500MC
1192 default 16
1193 help
1194 Number of TLB CAM entries for Book-E chips. 64 for E500MC,
1195 16 for other E500 SoCs.
1196
Tom Rini46f83262022-06-16 14:04:34 -04001197if HETROGENOUS_CLUSTERS
1198
1199config SYS_MAPLE
1200 def_bool y
1201
1202config SYS_CPRI
1203 def_bool y
1204
1205config PPC_CLUSTER_START
1206 int
1207 default 0
1208
1209config DSP_CLUSTER_START
1210 int
1211 default 1
1212
1213config SYS_CPRI_CLK
1214 int
1215 default 3
1216
1217config SYS_ULB_CLK
1218 int
1219 default 4
1220
1221config SYS_ETVPE_CLK
1222 int
1223 default 1
1224endif
1225
Tom Rini1f05fe22022-03-18 08:38:32 -04001226config BACKSIDE_L2_CACHE
1227 bool
1228
York Sun7eafac12016-12-28 08:43:50 -08001229config SYS_PPC64
1230 bool
1231
York Sun85ab6f02016-12-28 08:43:29 -08001232config SYS_PPC_E500_USE_DEBUG_TLB
1233 bool
1234
Prabhakar Kushwaha4c6be552017-02-02 15:01:48 +05301235config FSL_ELBC
1236 bool
1237
York Sun85ab6f02016-12-28 08:43:29 -08001238config SYS_PPC_E500_DEBUG_TLB
1239 int "Temporary TLB entry for external debugger"
1240 depends on SYS_PPC_E500_USE_DEBUG_TLB
1241 default 0 if ARCH_MPC8544 || ARCH_MPC8548
1242 default 1 if ARCH_MPC8536
Tom Rinie1ef7082021-05-14 21:34:25 -04001243 default 2 if ARCH_P1011 || \
York Sun85ab6f02016-12-28 08:43:29 -08001244 ARCH_P1020 || \
1245 ARCH_P1021 || \
York Sun85ab6f02016-12-28 08:43:29 -08001246 ARCH_P1024 || \
1247 ARCH_P1025 || \
1248 ARCH_P2020
1249 default 3 if ARCH_P1010 || \
1250 ARCH_BSC9132 || \
1251 ARCH_C29X
1252 help
1253 Select a temporary TLB entry to be used during boot to work
1254 around limitations in e500v1 and e500v2 external debugger
1255 support. This reduces the portions of the boot code where
1256 breakpoints and single stepping do not work. The value of this
1257 symbol should be set to the TLB1 entry to be used for this
1258 purpose. If unsure, do not change.
1259
Prabhakar Kushwaha3c48f582017-02-02 15:01:26 +05301260config SYS_FSL_IFC_CLK_DIV
1261 int "Divider of platform clock"
1262 depends on FSL_IFC
1263 default 2 if ARCH_B4420 || \
1264 ARCH_B4860 || \
1265 ARCH_T1024 || \
Prabhakar Kushwaha3c48f582017-02-02 15:01:26 +05301266 ARCH_T1040 || \
1267 ARCH_T1042 || \
Prabhakar Kushwaha3c48f582017-02-02 15:01:26 +05301268 ARCH_T4240
1269 default 1
1270 help
1271 Defines divider of platform clock(clock input to
1272 IFC controller).
1273
Prabhakar Kushwahabedc5622017-02-02 15:02:00 +05301274config SYS_FSL_LBC_CLK_DIV
1275 int "Divider of platform clock"
1276 depends on FSL_ELBC || ARCH_MPC8540 || \
Tom Rini7707c552021-05-14 21:34:20 -04001277 ARCH_MPC8548 || \
Tom Rini31f56052021-05-14 21:34:23 -04001278 ARCH_MPC8560
Prabhakar Kushwahabedc5622017-02-02 15:02:00 +05301279
1280 default 2 if ARCH_P2041 || \
1281 ARCH_P3041 || \
1282 ARCH_P4080 || \
Prabhakar Kushwahabedc5622017-02-02 15:02:00 +05301283 ARCH_P5040
1284 default 1
1285
1286 help
1287 Defines divider of platform clock(clock input to
1288 eLBC controller).
1289
Tom Rinia7fa9762022-06-15 12:03:45 -04001290config ENABLE_36BIT_PHYS
1291 bool "Enable 36bit physical address space support"
1292
Tom Rini2daaf642022-06-25 11:02:43 -04001293config SYS_BOOK3E_HV
1294 bool "Category E.HV is supported"
1295 depends on BOOKE
1296
Tom Rini7374a712022-07-23 13:05:08 -04001297config FSL_CORENET
1298 bool
1299 select SYS_FSL_CPC
1300
Tom Rinifc2dcd92022-06-25 11:02:45 -04001301config SYS_CPC_REINIT_F
1302 bool
1303 help
1304 The CPC is configured as SRAM at the time of U-Boot entry and is
1305 required to be re-initialized.
1306
1307config SYS_FSL_CPC
Tom Rini7374a712022-07-23 13:05:08 -04001308 bool
Tom Rinifc2dcd92022-06-25 11:02:45 -04001309
Tom Rini41e1a592022-06-27 13:35:46 -04001310config SYS_CACHE_STASHING
1311 bool "Enable cache stashing"
1312
Tom Rini667dd4f2022-06-10 22:59:37 -04001313config SYS_MPC85XX_NO_RESETVEC
1314 bool "Discard resetvec section and move bootpg section up"
1315 depends on MPC85xx
1316 help
1317 If this variable is specified, the section .resetvec is not kept and
1318 the section .bootpg is placed in the previous 4k of the .text section.
1319
1320config SPL_SYS_MPC85XX_NO_RESETVEC
1321 bool "Discard resetvec section and move bootpg section up, in SPL"
1322 depends on MPC85xx && SPL
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
1328config TPL_SYS_MPC85XX_NO_RESETVEC
1329 bool "Discard resetvec section and move bootpg section up, in TPL"
1330 depends on MPC85xx && TPL
1331 help
1332 If this variable is specified, the section .resetvec is not kept and
1333 the section .bootpg is placed in the previous 4k of the .text section,
1334 of the SPL portion of the binary.
1335
Rajesh Bhagat6d072982021-02-15 09:46:14 +01001336config FSL_VIA
1337 bool
1338
Bin Meng2076d992021-02-25 17:22:58 +08001339source "board/emulation/qemu-ppce500/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001340source "board/freescale/corenet_ds/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001341source "board/freescale/mpc8548cds/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001342source "board/freescale/p1010rdb/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001343source "board/freescale/p1_p2_rdb_pc/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001344source "board/freescale/p2041rdb/Kconfig"
Shengzhou Liu49912402014-11-24 17:11:56 +08001345source "board/freescale/t102xrdb/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001346source "board/freescale/t104xrdb/Kconfig"
1347source "board/freescale/t208xqds/Kconfig"
1348source "board/freescale/t208xrdb/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001349source "board/freescale/t4rdb/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001350source "board/socrates/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001351
1352endmenu