blob: 12dc03cfd0f059e83243d4b2a974abd84cf5fb56 [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
Masahiro Yamada653e9fe2016-07-25 19:56:03 +0900157 select PHYS_64BIT
Simon Glass203b3ab2017-06-14 21:28:24 -0600158 imply CMD_SATA
Tuomas Tynkkynen8df5dd32017-12-08 15:36:17 +0200159 imply FSL_SATA
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900160
161config TARGET_QEMU_PPCE500
162 bool "Support qemu-ppce500"
York Sun51e91e82016-11-18 12:29:51 -0800163 select ARCH_QEMU_E500
Masahiro Yamada653e9fe2016-07-25 19:56:03 +0900164 select PHYS_64BIT
Tom Rinieb4f2de2022-06-25 11:02:44 -0400165 select SYS_RAMBOOT
Simon Glass94886db2021-12-16 20:59:36 -0700166 imply OF_HAS_PRIOR_STAGE
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900167
York Suna5ca1422016-11-18 12:45:44 -0800168config TARGET_T1024RDB
169 bool "Support T1024RDB"
York Sun7d29dd62016-11-18 13:01:34 -0800170 select ARCH_T1024
Tom Rini22d567e2017-01-22 19:43:11 -0500171 select BOARD_LATE_INIT if CHAIN_OF_TRUST
Shengzhou Liu49912402014-11-24 17:11:56 +0800172 select SUPPORT_SPL
Masahiro Yamada653e9fe2016-07-25 19:56:03 +0900173 select PHYS_64BIT
Rajesh Bhagatba2414f2019-02-01 05:22:01 +0000174 select FSL_DDR_INTERACTIVE
Simon Glass4590d4e2017-05-17 03:25:10 -0600175 imply CMD_EEPROM
Masahiro Yamadaacede7a2017-12-04 12:37:00 +0900176 imply PANIC_HANG
Shengzhou Liu49912402014-11-24 17:11:56 +0800177
York Sun1d564e752016-11-18 13:19:39 -0800178config TARGET_T1042RDB
179 bool "Support T1042RDB"
York Sun2d7b2d42016-11-18 13:36:39 -0800180 select ARCH_T1042
Tom Rini22d567e2017-01-22 19:43:11 -0500181 select BOARD_LATE_INIT if CHAIN_OF_TRUST
Masahiro Yamada6e0971b2014-10-20 17:45:56 +0900182 select SUPPORT_SPL
Masahiro Yamada653e9fe2016-07-25 19:56:03 +0900183 select PHYS_64BIT
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900184
York Sund08610d2016-11-21 11:04:34 -0800185config TARGET_T1042D4RDB
186 bool "Support T1042D4RDB"
187 select ARCH_T1042
Tom Rini22d567e2017-01-22 19:43:11 -0500188 select BOARD_LATE_INIT if CHAIN_OF_TRUST
York Sund08610d2016-11-21 11:04:34 -0800189 select SUPPORT_SPL
190 select PHYS_64BIT
Masahiro Yamadaacede7a2017-12-04 12:37:00 +0900191 imply PANIC_HANG
York Sund08610d2016-11-21 11:04:34 -0800192
York Sune9c8dcf2016-11-18 13:44:00 -0800193config TARGET_T1042RDB_PI
194 bool "Support T1042RDB_PI"
195 select ARCH_T1042
Tom Rini22d567e2017-01-22 19:43:11 -0500196 select BOARD_LATE_INIT if CHAIN_OF_TRUST
York Sune9c8dcf2016-11-18 13:44:00 -0800197 select SUPPORT_SPL
198 select PHYS_64BIT
Masahiro Yamadaacede7a2017-12-04 12:37:00 +0900199 imply PANIC_HANG
York Sune9c8dcf2016-11-18 13:44:00 -0800200
York Sund1a6c0f2016-11-21 12:46:58 -0800201config TARGET_T2080QDS
202 bool "Support T2080QDS"
York Sune20c6852016-11-21 12:54:19 -0800203 select ARCH_T2080
Tom Rini22d567e2017-01-22 19:43:11 -0500204 select BOARD_LATE_INIT if CHAIN_OF_TRUST
Masahiro Yamada6e0971b2014-10-20 17:45:56 +0900205 select SUPPORT_SPL
Masahiro Yamada653e9fe2016-07-25 19:56:03 +0900206 select PHYS_64BIT
Rajesh Bhagatba2414f2019-02-01 05:22:01 +0000207 select FSL_DDR_FIRST_SLOT_QUAD_CAPABLE
208 select FSL_DDR_INTERACTIVE
Peng Ma34bed5d2019-12-23 09:28:12 +0000209 imply CMD_SATA
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900210
York Sun58459252016-11-21 12:57:22 -0800211config TARGET_T2080RDB
212 bool "Support T2080RDB"
York Sune20c6852016-11-21 12:54:19 -0800213 select ARCH_T2080
Tom Rini22d567e2017-01-22 19:43:11 -0500214 select BOARD_LATE_INIT if CHAIN_OF_TRUST
Masahiro Yamada6e0971b2014-10-20 17:45:56 +0900215 select SUPPORT_SPL
Masahiro Yamada653e9fe2016-07-25 19:56:03 +0900216 select PHYS_64BIT
Simon Glass203b3ab2017-06-14 21:28:24 -0600217 imply CMD_SATA
Masahiro Yamadaacede7a2017-12-04 12:37:00 +0900218 imply PANIC_HANG
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900219
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900220config TARGET_T4240RDB
221 bool "Support T4240RDB"
York Sun0fad3262016-11-21 13:35:41 -0800222 select ARCH_T4240
Chunhe Lan66cba6b2015-03-20 17:08:54 +0800223 select SUPPORT_SPL
Masahiro Yamada653e9fe2016-07-25 19:56:03 +0900224 select PHYS_64BIT
Rajesh Bhagatba2414f2019-02-01 05:22:01 +0000225 select FSL_DDR_FIRST_SLOT_QUAD_CAPABLE
Simon Glass203b3ab2017-06-14 21:28:24 -0600226 imply CMD_SATA
Masahiro Yamadaacede7a2017-12-04 12:37:00 +0900227 imply PANIC_HANG
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900228
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900229config TARGET_KMP204X
230 bool "Support kmp204x"
Pascal Linder305329f2019-06-18 13:27:47 +0200231 select VENDOR_KM
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900232
Niel Fouriedb7241d2021-01-21 13:19:20 +0100233config TARGET_KMCENT2
234 bool "Support kmcent2"
235 select VENDOR_KM
236
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900237endchoice
238
York Sunfda566d2016-11-18 11:56:57 -0800239config ARCH_B4420
240 bool
York Sunaf5495a2016-12-28 08:43:27 -0800241 select E500MC
York Sunf4e8a752016-12-28 08:43:48 -0800242 select E6500
York Sune7a6eaf2016-12-02 10:44:34 -0800243 select FSL_LAW
Tom Rini46f83262022-06-16 14:04:34 -0400244 select HETROGENOUS_CLUSTERS
York Sun4e577972016-12-28 08:43:46 -0800245 select SYS_FSL_DDR_VER_47
York Sunbe735532016-12-28 08:43:43 -0800246 select SYS_FSL_ERRATUM_A004477
247 select SYS_FSL_ERRATUM_A005871
248 select SYS_FSL_ERRATUM_A006379
249 select SYS_FSL_ERRATUM_A006384
250 select SYS_FSL_ERRATUM_A006475
251 select SYS_FSL_ERRATUM_A006593
252 select SYS_FSL_ERRATUM_A007075
Tom Rinia1663992022-06-16 14:04:40 -0400253 select SYS_FSL_ERRATUM_A007186 if CHAIN_OF_TRUST
York Sunbe735532016-12-28 08:43:43 -0800254 select SYS_FSL_ERRATUM_A007212
255 select SYS_FSL_ERRATUM_A009942
York Sund297d392016-12-28 08:43:40 -0800256 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800257 select SYS_FSL_HAS_SEC
York Sun0d3b8592016-12-28 08:43:49 -0800258 select SYS_FSL_QORIQ_CHASSIS2
York Sunfa4199422016-12-28 08:43:31 -0800259 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800260 select SYS_FSL_SEC_COMPAT_4
York Sun7eafac12016-12-28 08:43:50 -0800261 select SYS_PPC64
Prabhakar Kushwahab0f8bae2017-02-02 15:01:13 +0530262 select FSL_IFC
Simon Glass4590d4e2017-05-17 03:25:10 -0600263 imply CMD_EEPROM
Tom Rini00448d22017-07-28 21:31:42 -0400264 imply CMD_NAND
Christophe Leroye538bbc2017-08-04 16:34:40 -0600265 imply CMD_REGINFO
York Sunfda566d2016-11-18 11:56:57 -0800266
York Sun68eaa9a2016-11-18 11:44:43 -0800267config ARCH_B4860
268 bool
York Sunaf5495a2016-12-28 08:43:27 -0800269 select E500MC
York Sunf4e8a752016-12-28 08:43:48 -0800270 select E6500
York Sune7a6eaf2016-12-02 10:44:34 -0800271 select FSL_LAW
Tom Rini46f83262022-06-16 14:04:34 -0400272 select HETROGENOUS_CLUSTERS
York Sun4e577972016-12-28 08:43:46 -0800273 select SYS_FSL_DDR_VER_47
York Sunbe735532016-12-28 08:43:43 -0800274 select SYS_FSL_ERRATUM_A004477
275 select SYS_FSL_ERRATUM_A005871
276 select SYS_FSL_ERRATUM_A006379
277 select SYS_FSL_ERRATUM_A006384
278 select SYS_FSL_ERRATUM_A006475
279 select SYS_FSL_ERRATUM_A006593
280 select SYS_FSL_ERRATUM_A007075
Tom Rinia1663992022-06-16 14:04:40 -0400281 select SYS_FSL_ERRATUM_A007186 if CHAIN_OF_TRUST
York Sunbe735532016-12-28 08:43:43 -0800282 select SYS_FSL_ERRATUM_A007212
Darwin Dingela56d6c02016-10-25 09:48:01 +1300283 select SYS_FSL_ERRATUM_A007907
York Sunbe735532016-12-28 08:43:43 -0800284 select SYS_FSL_ERRATUM_A009942
York Sund297d392016-12-28 08:43:40 -0800285 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800286 select SYS_FSL_HAS_SEC
York Sun0d3b8592016-12-28 08:43:49 -0800287 select SYS_FSL_QORIQ_CHASSIS2
York Sunfa4199422016-12-28 08:43:31 -0800288 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800289 select SYS_FSL_SEC_COMPAT_4
York Sun7eafac12016-12-28 08:43:50 -0800290 select SYS_PPC64
Prabhakar Kushwahab0f8bae2017-02-02 15:01:13 +0530291 select FSL_IFC
Simon Glass4590d4e2017-05-17 03:25:10 -0600292 imply CMD_EEPROM
Tom Rini00448d22017-07-28 21:31:42 -0400293 imply CMD_NAND
Christophe Leroye538bbc2017-08-04 16:34:40 -0600294 imply CMD_REGINFO
York Sun68eaa9a2016-11-18 11:44:43 -0800295
York Suna80bdf72016-11-15 14:09:50 -0800296config ARCH_BSC9131
297 bool
York Sune7a6eaf2016-12-02 10:44:34 -0800298 select FSL_LAW
York Sun4e577972016-12-28 08:43:46 -0800299 select SYS_FSL_DDR_VER_44
York Sunbe735532016-12-28 08:43:43 -0800300 select SYS_FSL_ERRATUM_A004477
301 select SYS_FSL_ERRATUM_A005125
York Sun097e3602016-12-28 08:43:42 -0800302 select SYS_FSL_ERRATUM_ESDHC111
York Sund297d392016-12-28 08:43:40 -0800303 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800304 select SYS_FSL_HAS_SEC
York Sunfa4199422016-12-28 08:43:31 -0800305 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800306 select SYS_FSL_SEC_COMPAT_4
Prabhakar Kushwahab0f8bae2017-02-02 15:01:13 +0530307 select FSL_IFC
Simon Glass4590d4e2017-05-17 03:25:10 -0600308 imply CMD_EEPROM
Tom Rini00448d22017-07-28 21:31:42 -0400309 imply CMD_NAND
Christophe Leroye538bbc2017-08-04 16:34:40 -0600310 imply CMD_REGINFO
York Suna80bdf72016-11-15 14:09:50 -0800311
312config ARCH_BSC9132
313 bool
York Sune7a6eaf2016-12-02 10:44:34 -0800314 select FSL_LAW
York Sun4e577972016-12-28 08:43:46 -0800315 select SYS_FSL_DDR_VER_46
York Sunbe735532016-12-28 08:43:43 -0800316 select SYS_FSL_ERRATUM_A004477
317 select SYS_FSL_ERRATUM_A005125
318 select SYS_FSL_ERRATUM_A005434
York Sun097e3602016-12-28 08:43:42 -0800319 select SYS_FSL_ERRATUM_ESDHC111
York Sunbe735532016-12-28 08:43:43 -0800320 select SYS_FSL_ERRATUM_I2C_A004447
321 select SYS_FSL_ERRATUM_IFC_A002769
Hou Zhiqiang01500f52019-05-23 11:52:44 +0800322 select FSL_PCIE_RESET
York Sund297d392016-12-28 08:43:40 -0800323 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800324 select SYS_FSL_HAS_SEC
York Sunfa4199422016-12-28 08:43:31 -0800325 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800326 select SYS_FSL_SEC_COMPAT_4
York Sun85ab6f02016-12-28 08:43:29 -0800327 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwahab0f8bae2017-02-02 15:01:13 +0530328 select FSL_IFC
Simon Glass4590d4e2017-05-17 03:25:10 -0600329 imply CMD_EEPROM
Tom Rinic20bb732017-07-22 18:36:16 -0400330 imply CMD_MTDPARTS
Tom Rini00448d22017-07-28 21:31:42 -0400331 imply CMD_NAND
Simon Glassc88a09a2017-08-04 16:34:34 -0600332 imply CMD_PCI
Christophe Leroye538bbc2017-08-04 16:34:40 -0600333 imply CMD_REGINFO
York Suna80bdf72016-11-15 14:09:50 -0800334
York Sun4119aee2016-11-15 18:44:22 -0800335config ARCH_C29X
336 bool
York Sune7a6eaf2016-12-02 10:44:34 -0800337 select FSL_LAW
York Sun4e577972016-12-28 08:43:46 -0800338 select SYS_FSL_DDR_VER_46
York Sunbe735532016-12-28 08:43:43 -0800339 select SYS_FSL_ERRATUM_A005125
York Sun097e3602016-12-28 08:43:42 -0800340 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiang01500f52019-05-23 11:52:44 +0800341 select FSL_PCIE_RESET
York Sund297d392016-12-28 08:43:40 -0800342 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800343 select SYS_FSL_HAS_SEC
York Sunfa4199422016-12-28 08:43:31 -0800344 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800345 select SYS_FSL_SEC_COMPAT_6
York Sun85ab6f02016-12-28 08:43:29 -0800346 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwahab0f8bae2017-02-02 15:01:13 +0530347 select FSL_IFC
Tom Rini00448d22017-07-28 21:31:42 -0400348 imply CMD_NAND
Simon Glassc88a09a2017-08-04 16:34:34 -0600349 imply CMD_PCI
Christophe Leroye538bbc2017-08-04 16:34:40 -0600350 imply CMD_REGINFO
York Sun4119aee2016-11-15 18:44:22 -0800351
York Sun5557d6b2016-11-16 11:06:47 -0800352config ARCH_MPC8536
353 bool
York Sune7a6eaf2016-12-02 10:44:34 -0800354 select FSL_LAW
York Sunbe735532016-12-28 08:43:43 -0800355 select SYS_FSL_ERRATUM_A004508
356 select SYS_FSL_ERRATUM_A005125
Hou Zhiqiang01500f52019-05-23 11:52:44 +0800357 select FSL_PCIE_RESET
York Sund297d392016-12-28 08:43:40 -0800358 select SYS_FSL_HAS_DDR2
359 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800360 select SYS_FSL_HAS_SEC
York Sunfa4199422016-12-28 08:43:31 -0800361 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800362 select SYS_FSL_SEC_COMPAT_2
York Sun85ab6f02016-12-28 08:43:29 -0800363 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha4c6be552017-02-02 15:01:48 +0530364 select FSL_ELBC
Tom Rini00448d22017-07-28 21:31:42 -0400365 imply CMD_NAND
Simon Glass203b3ab2017-06-14 21:28:24 -0600366 imply CMD_SATA
Christophe Leroye538bbc2017-08-04 16:34:40 -0600367 imply CMD_REGINFO
York Sun5557d6b2016-11-16 11:06:47 -0800368
York Sun5ddce892016-11-16 11:13:06 -0800369config ARCH_MPC8540
370 bool
York Sune7a6eaf2016-12-02 10:44:34 -0800371 select FSL_LAW
York Sund297d392016-12-28 08:43:40 -0800372 select SYS_FSL_HAS_DDR1
York Sun5ddce892016-11-16 11:13:06 -0800373
York Sun5ac012a2016-11-15 13:57:15 -0800374config ARCH_MPC8544
375 bool
Tom Rinie59f3242022-02-23 12:28:15 -0500376 select BTB
York Sune7a6eaf2016-12-02 10:44:34 -0800377 select FSL_LAW
Tom Rini3ef67ae2021-08-26 11:47:59 -0400378 select SYS_CACHE_SHIFT_5
York Sunbe735532016-12-28 08:43:43 -0800379 select SYS_FSL_ERRATUM_A005125
Hou Zhiqiang01500f52019-05-23 11:52:44 +0800380 select FSL_PCIE_RESET
York Sund297d392016-12-28 08:43:40 -0800381 select SYS_FSL_HAS_DDR2
York Sun92c36e22016-12-28 08:43:30 -0800382 select SYS_FSL_HAS_SEC
York Sunfa4199422016-12-28 08:43:31 -0800383 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800384 select SYS_FSL_SEC_COMPAT_2
York Sun85ab6f02016-12-28 08:43:29 -0800385 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha4c6be552017-02-02 15:01:48 +0530386 select FSL_ELBC
York Sun5ac012a2016-11-15 13:57:15 -0800387
York Sunefc49e02016-11-15 13:52:34 -0800388config ARCH_MPC8548
389 bool
Tom Rinie59f3242022-02-23 12:28:15 -0500390 select BTB
York Sune7a6eaf2016-12-02 10:44:34 -0800391 select FSL_LAW
York Sunbe735532016-12-28 08:43:43 -0800392 select SYS_FSL_ERRATUM_A005125
393 select SYS_FSL_ERRATUM_NMG_DDR120
394 select SYS_FSL_ERRATUM_NMG_LBC103
395 select SYS_FSL_ERRATUM_NMG_ETSEC129
396 select SYS_FSL_ERRATUM_I2C_A004447
Hou Zhiqiang01500f52019-05-23 11:52:44 +0800397 select FSL_PCIE_RESET
York Sund297d392016-12-28 08:43:40 -0800398 select SYS_FSL_HAS_DDR2
399 select SYS_FSL_HAS_DDR1
York Sun92c36e22016-12-28 08:43:30 -0800400 select SYS_FSL_HAS_SEC
York Sunfa4199422016-12-28 08:43:31 -0800401 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800402 select SYS_FSL_SEC_COMPAT_2
York Sun85ab6f02016-12-28 08:43:29 -0800403 select SYS_PPC_E500_USE_DEBUG_TLB
Christophe Leroye538bbc2017-08-04 16:34:40 -0600404 imply CMD_REGINFO
York Sunefc49e02016-11-15 13:52:34 -0800405
York Sunb4046f42016-11-16 11:26:45 -0800406config ARCH_MPC8560
407 bool
York Sune7a6eaf2016-12-02 10:44:34 -0800408 select FSL_LAW
York Sund297d392016-12-28 08:43:40 -0800409 select SYS_FSL_HAS_DDR1
York Sunb4046f42016-11-16 11:26:45 -0800410
York Sun24f88b32016-11-16 13:08:52 -0800411config ARCH_P1010
412 bool
Tom Rini2404edc2022-03-11 09:11:59 -0500413 select A003399_NOR_WORKAROUND if SYS_FSL_ERRATUM_IFC_A003399 && !SPL
Tom Rinie59f3242022-02-23 12:28:15 -0500414 select BTB
York Sune7a6eaf2016-12-02 10:44:34 -0800415 select FSL_LAW
Tom Rini3ef67ae2021-08-26 11:47:59 -0400416 select SYS_CACHE_SHIFT_5
Tom Rinid391d8b2021-12-11 14:55:51 -0500417 select SYS_HAS_SERDES
York Sunbe735532016-12-28 08:43:43 -0800418 select SYS_FSL_ERRATUM_A004477
419 select SYS_FSL_ERRATUM_A004508
420 select SYS_FSL_ERRATUM_A005125
Chris Packham434f0582018-10-04 20:03:53 +1300421 select SYS_FSL_ERRATUM_A005275
York Sunbe735532016-12-28 08:43:43 -0800422 select SYS_FSL_ERRATUM_A006261
423 select SYS_FSL_ERRATUM_A007075
York Sun097e3602016-12-28 08:43:42 -0800424 select SYS_FSL_ERRATUM_ESDHC111
York Sunbe735532016-12-28 08:43:43 -0800425 select SYS_FSL_ERRATUM_I2C_A004447
426 select SYS_FSL_ERRATUM_IFC_A002769
427 select SYS_FSL_ERRATUM_P1010_A003549
428 select SYS_FSL_ERRATUM_SEC_A003571
429 select SYS_FSL_ERRATUM_IFC_A003399
Hou Zhiqiang01500f52019-05-23 11:52:44 +0800430 select FSL_PCIE_RESET
York Sund297d392016-12-28 08:43:40 -0800431 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800432 select SYS_FSL_HAS_SEC
York Sunfa4199422016-12-28 08:43:31 -0800433 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800434 select SYS_FSL_SEC_COMPAT_4
York Sun85ab6f02016-12-28 08:43:29 -0800435 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwahab0f8bae2017-02-02 15:01:13 +0530436 select FSL_IFC
Simon Glass4590d4e2017-05-17 03:25:10 -0600437 imply CMD_EEPROM
Tom Rinic20bb732017-07-22 18:36:16 -0400438 imply CMD_MTDPARTS
Tom Rini00448d22017-07-28 21:31:42 -0400439 imply CMD_NAND
Simon Glass203b3ab2017-06-14 21:28:24 -0600440 imply CMD_SATA
Simon Glassc88a09a2017-08-04 16:34:34 -0600441 imply CMD_PCI
Christophe Leroye538bbc2017-08-04 16:34:40 -0600442 imply CMD_REGINFO
Tuomas Tynkkynen8df5dd32017-12-08 15:36:17 +0200443 imply FSL_SATA
Simon Glass65831d92021-12-18 11:27:50 -0700444 imply TIMESTAMP
York Sun24f88b32016-11-16 13:08:52 -0800445
York Sun3680e592016-11-16 15:54:15 -0800446config ARCH_P1011
447 bool
York Sune7a6eaf2016-12-02 10:44:34 -0800448 select FSL_LAW
York Sunbe735532016-12-28 08:43:43 -0800449 select SYS_FSL_ERRATUM_A004508
450 select SYS_FSL_ERRATUM_A005125
451 select SYS_FSL_ERRATUM_ELBC_A001
York Sun097e3602016-12-28 08:43:42 -0800452 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiangdeb47f52019-05-22 22:46:03 +0800453 select FSL_PCIE_DISABLE_ASPM
York Sund297d392016-12-28 08:43:40 -0800454 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800455 select SYS_FSL_HAS_SEC
York Sunfa4199422016-12-28 08:43:31 -0800456 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800457 select SYS_FSL_SEC_COMPAT_2
York Sun85ab6f02016-12-28 08:43:29 -0800458 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha4c6be552017-02-02 15:01:48 +0530459 select FSL_ELBC
York Sun3680e592016-11-16 15:54:15 -0800460
York Sunaf2dc812016-11-18 10:02:14 -0800461config ARCH_P1020
462 bool
Tom Rinie59f3242022-02-23 12:28:15 -0500463 select BTB
York Sune7a6eaf2016-12-02 10:44:34 -0800464 select FSL_LAW
Tom Rini3ef67ae2021-08-26 11:47:59 -0400465 select SYS_CACHE_SHIFT_5
York Sunbe735532016-12-28 08:43:43 -0800466 select SYS_FSL_ERRATUM_A004508
467 select SYS_FSL_ERRATUM_A005125
468 select SYS_FSL_ERRATUM_ELBC_A001
York Sun097e3602016-12-28 08:43:42 -0800469 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiangdeb47f52019-05-22 22:46:03 +0800470 select FSL_PCIE_DISABLE_ASPM
Hou Zhiqiang01500f52019-05-23 11:52:44 +0800471 select FSL_PCIE_RESET
York Sund297d392016-12-28 08:43:40 -0800472 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800473 select SYS_FSL_HAS_SEC
York Sunfa4199422016-12-28 08:43:31 -0800474 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800475 select SYS_FSL_SEC_COMPAT_2
York Sun85ab6f02016-12-28 08:43:29 -0800476 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha4c6be552017-02-02 15:01:48 +0530477 select FSL_ELBC
Tom Rini00448d22017-07-28 21:31:42 -0400478 imply CMD_NAND
Simon Glass203b3ab2017-06-14 21:28:24 -0600479 imply CMD_SATA
Simon Glassc88a09a2017-08-04 16:34:34 -0600480 imply CMD_PCI
Christophe Leroye538bbc2017-08-04 16:34:40 -0600481 imply CMD_REGINFO
Tuomas Tynkkynen104a5372017-12-08 15:36:14 +0200482 imply SATA_SIL
York Sunaf2dc812016-11-18 10:02:14 -0800483
York Sun2f924be2016-11-18 10:59:02 -0800484config ARCH_P1021
485 bool
York Sune7a6eaf2016-12-02 10:44:34 -0800486 select FSL_LAW
York Sunbe735532016-12-28 08:43:43 -0800487 select SYS_FSL_ERRATUM_A004508
488 select SYS_FSL_ERRATUM_A005125
489 select SYS_FSL_ERRATUM_ELBC_A001
York Sun097e3602016-12-28 08:43:42 -0800490 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiangdeb47f52019-05-22 22:46:03 +0800491 select FSL_PCIE_DISABLE_ASPM
Hou Zhiqiang01500f52019-05-23 11:52:44 +0800492 select FSL_PCIE_RESET
York Sund297d392016-12-28 08:43:40 -0800493 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800494 select SYS_FSL_HAS_SEC
York Sunfa4199422016-12-28 08:43:31 -0800495 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800496 select SYS_FSL_SEC_COMPAT_2
York Sun85ab6f02016-12-28 08:43:29 -0800497 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha4c6be552017-02-02 15:01:48 +0530498 select FSL_ELBC
Christophe Leroye538bbc2017-08-04 16:34:40 -0600499 imply CMD_REGINFO
Tom Rini00448d22017-07-28 21:31:42 -0400500 imply CMD_NAND
Simon Glass203b3ab2017-06-14 21:28:24 -0600501 imply CMD_SATA
Christophe Leroye538bbc2017-08-04 16:34:40 -0600502 imply CMD_REGINFO
Tuomas Tynkkynen104a5372017-12-08 15:36:14 +0200503 imply SATA_SIL
York Sun2f924be2016-11-18 10:59:02 -0800504
York Sunfeeaae22016-11-16 15:45:31 -0800505config ARCH_P1023
506 bool
York Sune7a6eaf2016-12-02 10:44:34 -0800507 select FSL_LAW
York Sunbe735532016-12-28 08:43:43 -0800508 select SYS_FSL_ERRATUM_A004508
509 select SYS_FSL_ERRATUM_A005125
510 select SYS_FSL_ERRATUM_I2C_A004447
Hou Zhiqiang01500f52019-05-23 11:52:44 +0800511 select FSL_PCIE_RESET
York Sund297d392016-12-28 08:43:40 -0800512 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800513 select SYS_FSL_HAS_SEC
York Sunfa4199422016-12-28 08:43:31 -0800514 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800515 select SYS_FSL_SEC_COMPAT_4
Prabhakar Kushwaha4c6be552017-02-02 15:01:48 +0530516 select FSL_ELBC
York Sunfeeaae22016-11-16 15:45:31 -0800517
York Sun76780b22016-11-18 11:00:57 -0800518config ARCH_P1024
519 bool
York Sune7a6eaf2016-12-02 10:44:34 -0800520 select FSL_LAW
York Sunbe735532016-12-28 08:43:43 -0800521 select SYS_FSL_ERRATUM_A004508
522 select SYS_FSL_ERRATUM_A005125
523 select SYS_FSL_ERRATUM_ELBC_A001
York Sun097e3602016-12-28 08:43:42 -0800524 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiangdeb47f52019-05-22 22:46:03 +0800525 select FSL_PCIE_DISABLE_ASPM
Hou Zhiqiang01500f52019-05-23 11:52:44 +0800526 select FSL_PCIE_RESET
York Sund297d392016-12-28 08:43:40 -0800527 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800528 select SYS_FSL_HAS_SEC
York Sunfa4199422016-12-28 08:43:31 -0800529 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800530 select SYS_FSL_SEC_COMPAT_2
York Sun85ab6f02016-12-28 08:43:29 -0800531 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha4c6be552017-02-02 15:01:48 +0530532 select FSL_ELBC
Simon Glass4590d4e2017-05-17 03:25:10 -0600533 imply CMD_EEPROM
Tom Rini00448d22017-07-28 21:31:42 -0400534 imply CMD_NAND
Simon Glass203b3ab2017-06-14 21:28:24 -0600535 imply CMD_SATA
Simon Glassc88a09a2017-08-04 16:34:34 -0600536 imply CMD_PCI
Christophe Leroye538bbc2017-08-04 16:34:40 -0600537 imply CMD_REGINFO
Tuomas Tynkkynen104a5372017-12-08 15:36:14 +0200538 imply SATA_SIL
York Sun76780b22016-11-18 11:00:57 -0800539
York Sun0f577972016-11-18 11:05:38 -0800540config ARCH_P1025
541 bool
York Sune7a6eaf2016-12-02 10:44:34 -0800542 select FSL_LAW
York Sunbe735532016-12-28 08:43:43 -0800543 select SYS_FSL_ERRATUM_A004508
544 select SYS_FSL_ERRATUM_A005125
545 select SYS_FSL_ERRATUM_ELBC_A001
York Sun097e3602016-12-28 08:43:42 -0800546 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiangdeb47f52019-05-22 22:46:03 +0800547 select FSL_PCIE_DISABLE_ASPM
Hou Zhiqiang01500f52019-05-23 11:52:44 +0800548 select FSL_PCIE_RESET
York Sund297d392016-12-28 08:43:40 -0800549 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800550 select SYS_FSL_HAS_SEC
York Sunfa4199422016-12-28 08:43:31 -0800551 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800552 select SYS_FSL_SEC_COMPAT_2
York Sun85ab6f02016-12-28 08:43:29 -0800553 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha4c6be552017-02-02 15:01:48 +0530554 select FSL_ELBC
Simon Glass203b3ab2017-06-14 21:28:24 -0600555 imply CMD_SATA
Christophe Leroye538bbc2017-08-04 16:34:40 -0600556 imply CMD_REGINFO
York Sun0f577972016-11-18 11:05:38 -0800557
York Sun4b08dd72016-11-18 11:08:43 -0800558config ARCH_P2020
559 bool
Tom Rinie59f3242022-02-23 12:28:15 -0500560 select BTB
York Sune7a6eaf2016-12-02 10:44:34 -0800561 select FSL_LAW
Tom Rini3ef67ae2021-08-26 11:47:59 -0400562 select SYS_CACHE_SHIFT_5
York Sunbe735532016-12-28 08:43:43 -0800563 select SYS_FSL_ERRATUM_A004477
564 select SYS_FSL_ERRATUM_A004508
565 select SYS_FSL_ERRATUM_A005125
York Sun097e3602016-12-28 08:43:42 -0800566 select SYS_FSL_ERRATUM_ESDHC111
567 select SYS_FSL_ERRATUM_ESDHC_A001
Hou Zhiqiang01500f52019-05-23 11:52:44 +0800568 select FSL_PCIE_RESET
York Sund297d392016-12-28 08:43:40 -0800569 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800570 select SYS_FSL_HAS_SEC
York Sunfa4199422016-12-28 08:43:31 -0800571 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800572 select SYS_FSL_SEC_COMPAT_2
York Sun85ab6f02016-12-28 08:43:29 -0800573 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha4c6be552017-02-02 15:01:48 +0530574 select FSL_ELBC
Simon Glass4590d4e2017-05-17 03:25:10 -0600575 imply CMD_EEPROM
Tom Rini00448d22017-07-28 21:31:42 -0400576 imply CMD_NAND
Christophe Leroye538bbc2017-08-04 16:34:40 -0600577 imply CMD_REGINFO
Simon Glass65831d92021-12-18 11:27:50 -0700578 imply TIMESTAMP
York Sun4b08dd72016-11-18 11:08:43 -0800579
York Sun5786fca2016-11-18 11:15:21 -0800580config ARCH_P2041
581 bool
Tom Rini1f05fe22022-03-18 08:38:32 -0400582 select BACKSIDE_L2_CACHE
York Sunaf5495a2016-12-28 08:43:27 -0800583 select E500MC
York Sune7a6eaf2016-12-02 10:44:34 -0800584 select FSL_LAW
Tom Rini3ef67ae2021-08-26 11:47:59 -0400585 select SYS_CACHE_SHIFT_6
York Sunbe735532016-12-28 08:43:43 -0800586 select SYS_FSL_ERRATUM_A004510
587 select SYS_FSL_ERRATUM_A004849
Chris Packham434f0582018-10-04 20:03:53 +1300588 select SYS_FSL_ERRATUM_A005275
York Sunbe735532016-12-28 08:43:43 -0800589 select SYS_FSL_ERRATUM_A006261
590 select SYS_FSL_ERRATUM_CPU_A003999
591 select SYS_FSL_ERRATUM_DDR_A003
592 select SYS_FSL_ERRATUM_DDR_A003474
York Sun097e3602016-12-28 08:43:42 -0800593 select SYS_FSL_ERRATUM_ESDHC111
York Sunbe735532016-12-28 08:43:43 -0800594 select SYS_FSL_ERRATUM_I2C_A004447
595 select SYS_FSL_ERRATUM_NMG_CPU_A011
596 select SYS_FSL_ERRATUM_SRIO_A004034
597 select SYS_FSL_ERRATUM_USB14
York Sund297d392016-12-28 08:43:40 -0800598 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800599 select SYS_FSL_HAS_SEC
York Sun0d3b8592016-12-28 08:43:49 -0800600 select SYS_FSL_QORIQ_CHASSIS1
York Sunfa4199422016-12-28 08:43:31 -0800601 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800602 select SYS_FSL_SEC_COMPAT_4
Prabhakar Kushwaha4c6be552017-02-02 15:01:48 +0530603 select FSL_ELBC
Tom Rini00448d22017-07-28 21:31:42 -0400604 imply CMD_NAND
York Sun5786fca2016-11-18 11:15:21 -0800605
York Sundf70d062016-11-18 11:20:40 -0800606config ARCH_P3041
607 bool
Tom Rini1f05fe22022-03-18 08:38:32 -0400608 select BACKSIDE_L2_CACHE
York Sunaf5495a2016-12-28 08:43:27 -0800609 select E500MC
York Sune7a6eaf2016-12-02 10:44:34 -0800610 select FSL_LAW
Tom Rini3ef67ae2021-08-26 11:47:59 -0400611 select SYS_CACHE_SHIFT_6
York Sun4e577972016-12-28 08:43:46 -0800612 select SYS_FSL_DDR_VER_44
York Sunbe735532016-12-28 08:43:43 -0800613 select SYS_FSL_ERRATUM_A004510
614 select SYS_FSL_ERRATUM_A004849
Chris Packham434f0582018-10-04 20:03:53 +1300615 select SYS_FSL_ERRATUM_A005275
York Sunbe735532016-12-28 08:43:43 -0800616 select SYS_FSL_ERRATUM_A005812
617 select SYS_FSL_ERRATUM_A006261
618 select SYS_FSL_ERRATUM_CPU_A003999
619 select SYS_FSL_ERRATUM_DDR_A003
620 select SYS_FSL_ERRATUM_DDR_A003474
York Sun097e3602016-12-28 08:43:42 -0800621 select SYS_FSL_ERRATUM_ESDHC111
York Sunbe735532016-12-28 08:43:43 -0800622 select SYS_FSL_ERRATUM_I2C_A004447
623 select SYS_FSL_ERRATUM_NMG_CPU_A011
624 select SYS_FSL_ERRATUM_SRIO_A004034
625 select SYS_FSL_ERRATUM_USB14
York Sund297d392016-12-28 08:43:40 -0800626 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800627 select SYS_FSL_HAS_SEC
York Sun0d3b8592016-12-28 08:43:49 -0800628 select SYS_FSL_QORIQ_CHASSIS1
York Sunfa4199422016-12-28 08:43:31 -0800629 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800630 select SYS_FSL_SEC_COMPAT_4
Prabhakar Kushwaha4c6be552017-02-02 15:01:48 +0530631 select FSL_ELBC
Tom Rini00448d22017-07-28 21:31:42 -0400632 imply CMD_NAND
Simon Glass203b3ab2017-06-14 21:28:24 -0600633 imply CMD_SATA
Christophe Leroye538bbc2017-08-04 16:34:40 -0600634 imply CMD_REGINFO
Tuomas Tynkkynen8df5dd32017-12-08 15:36:17 +0200635 imply FSL_SATA
York Sundf70d062016-11-18 11:20:40 -0800636
York Sun84be8a92016-11-18 11:24:40 -0800637config ARCH_P4080
638 bool
Tom Rini1f05fe22022-03-18 08:38:32 -0400639 select BACKSIDE_L2_CACHE
York Sunaf5495a2016-12-28 08:43:27 -0800640 select E500MC
York Sune7a6eaf2016-12-02 10:44:34 -0800641 select FSL_LAW
Tom Rini3ef67ae2021-08-26 11:47:59 -0400642 select SYS_CACHE_SHIFT_6
York Sun4e577972016-12-28 08:43:46 -0800643 select SYS_FSL_DDR_VER_44
York Sunbe735532016-12-28 08:43:43 -0800644 select SYS_FSL_ERRATUM_A004510
645 select SYS_FSL_ERRATUM_A004580
646 select SYS_FSL_ERRATUM_A004849
647 select SYS_FSL_ERRATUM_A005812
648 select SYS_FSL_ERRATUM_A007075
649 select SYS_FSL_ERRATUM_CPC_A002
650 select SYS_FSL_ERRATUM_CPC_A003
651 select SYS_FSL_ERRATUM_CPU_A003999
652 select SYS_FSL_ERRATUM_DDR_A003
653 select SYS_FSL_ERRATUM_DDR_A003474
654 select SYS_FSL_ERRATUM_ELBC_A001
York Sun097e3602016-12-28 08:43:42 -0800655 select SYS_FSL_ERRATUM_ESDHC111
656 select SYS_FSL_ERRATUM_ESDHC13
657 select SYS_FSL_ERRATUM_ESDHC135
York Sunbe735532016-12-28 08:43:43 -0800658 select SYS_FSL_ERRATUM_I2C_A004447
659 select SYS_FSL_ERRATUM_NMG_CPU_A011
660 select SYS_FSL_ERRATUM_SRIO_A004034
661 select SYS_P4080_ERRATUM_CPU22
662 select SYS_P4080_ERRATUM_PCIE_A003
663 select SYS_P4080_ERRATUM_SERDES8
664 select SYS_P4080_ERRATUM_SERDES9
665 select SYS_P4080_ERRATUM_SERDES_A001
666 select SYS_P4080_ERRATUM_SERDES_A005
York Sund297d392016-12-28 08:43:40 -0800667 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800668 select SYS_FSL_HAS_SEC
York Sun0d3b8592016-12-28 08:43:49 -0800669 select SYS_FSL_QORIQ_CHASSIS1
York Sunfa4199422016-12-28 08:43:31 -0800670 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800671 select SYS_FSL_SEC_COMPAT_4
Prabhakar Kushwaha4c6be552017-02-02 15:01:48 +0530672 select FSL_ELBC
Simon Glass203b3ab2017-06-14 21:28:24 -0600673 imply CMD_SATA
Christophe Leroye538bbc2017-08-04 16:34:40 -0600674 imply CMD_REGINFO
Tuomas Tynkkynen104a5372017-12-08 15:36:14 +0200675 imply SATA_SIL
York Sun84be8a92016-11-18 11:24:40 -0800676
York Suna3c5b662016-11-18 11:39:36 -0800677config ARCH_P5040
678 bool
Tom Rini1f05fe22022-03-18 08:38:32 -0400679 select BACKSIDE_L2_CACHE
York Sunaf5495a2016-12-28 08:43:27 -0800680 select E500MC
York Sune7a6eaf2016-12-02 10:44:34 -0800681 select FSL_LAW
Tom Rini3ef67ae2021-08-26 11:47:59 -0400682 select SYS_CACHE_SHIFT_6
York Sun4e577972016-12-28 08:43:46 -0800683 select SYS_FSL_DDR_VER_44
York Sunbe735532016-12-28 08:43:43 -0800684 select SYS_FSL_ERRATUM_A004510
685 select SYS_FSL_ERRATUM_A004699
Chris Packham434f0582018-10-04 20:03:53 +1300686 select SYS_FSL_ERRATUM_A005275
York Sunbe735532016-12-28 08:43:43 -0800687 select SYS_FSL_ERRATUM_A005812
688 select SYS_FSL_ERRATUM_A006261
689 select SYS_FSL_ERRATUM_DDR_A003
690 select SYS_FSL_ERRATUM_DDR_A003474
York Sun097e3602016-12-28 08:43:42 -0800691 select SYS_FSL_ERRATUM_ESDHC111
York Sunbe735532016-12-28 08:43:43 -0800692 select SYS_FSL_ERRATUM_USB14
York Sund297d392016-12-28 08:43:40 -0800693 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800694 select SYS_FSL_HAS_SEC
York Sun0d3b8592016-12-28 08:43:49 -0800695 select SYS_FSL_QORIQ_CHASSIS1
York Sunfa4199422016-12-28 08:43:31 -0800696 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800697 select SYS_FSL_SEC_COMPAT_4
York Sun7eafac12016-12-28 08:43:50 -0800698 select SYS_PPC64
Prabhakar Kushwaha4c6be552017-02-02 15:01:48 +0530699 select FSL_ELBC
Simon Glass203b3ab2017-06-14 21:28:24 -0600700 imply CMD_SATA
Christophe Leroye538bbc2017-08-04 16:34:40 -0600701 imply CMD_REGINFO
Tuomas Tynkkynen8df5dd32017-12-08 15:36:17 +0200702 imply FSL_SATA
York Suna3c5b662016-11-18 11:39:36 -0800703
York Sun51e91e82016-11-18 12:29:51 -0800704config ARCH_QEMU_E500
705 bool
Tom Rini3ef67ae2021-08-26 11:47:59 -0400706 select SYS_CACHE_SHIFT_5
York Sun51e91e82016-11-18 12:29:51 -0800707
York Sun7d29dd62016-11-18 13:01:34 -0800708config ARCH_T1024
709 bool
Tom Rini1f05fe22022-03-18 08:38:32 -0400710 select BACKSIDE_L2_CACHE
York Sunaf5495a2016-12-28 08:43:27 -0800711 select E500MC
Tom Rinic1c04bd2022-03-24 17:18:01 -0400712 select E5500
York Sune7a6eaf2016-12-02 10:44:34 -0800713 select FSL_LAW
Tom Rini3ef67ae2021-08-26 11:47:59 -0400714 select SYS_CACHE_SHIFT_6
York Sun4e577972016-12-28 08:43:46 -0800715 select SYS_FSL_DDR_VER_50
York Sunbe735532016-12-28 08:43:43 -0800716 select SYS_FSL_ERRATUM_A008378
Jaiprakash Singhe230a922020-06-02 12:44:02 +0530717 select SYS_FSL_ERRATUM_A008109
York Sunbe735532016-12-28 08:43:43 -0800718 select SYS_FSL_ERRATUM_A009663
719 select SYS_FSL_ERRATUM_A009942
York Sun097e3602016-12-28 08:43:42 -0800720 select SYS_FSL_ERRATUM_ESDHC111
York Sund297d392016-12-28 08:43:40 -0800721 select SYS_FSL_HAS_DDR3
722 select SYS_FSL_HAS_DDR4
York Sun92c36e22016-12-28 08:43:30 -0800723 select SYS_FSL_HAS_SEC
York Sun0d3b8592016-12-28 08:43:49 -0800724 select SYS_FSL_QORIQ_CHASSIS2
York Sunfa4199422016-12-28 08:43:31 -0800725 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800726 select SYS_FSL_SEC_COMPAT_5
Prabhakar Kushwahab0f8bae2017-02-02 15:01:13 +0530727 select FSL_IFC
Simon Glass4590d4e2017-05-17 03:25:10 -0600728 imply CMD_EEPROM
Tom Rini00448d22017-07-28 21:31:42 -0400729 imply CMD_NAND
Tom Rinic20bb732017-07-22 18:36:16 -0400730 imply CMD_MTDPARTS
Christophe Leroye538bbc2017-08-04 16:34:40 -0600731 imply CMD_REGINFO
York Sun7d29dd62016-11-18 13:01:34 -0800732
York Suna5b5d882016-11-18 13:11:12 -0800733config ARCH_T1040
734 bool
Tom Rini1f05fe22022-03-18 08:38:32 -0400735 select BACKSIDE_L2_CACHE
York Sunaf5495a2016-12-28 08:43:27 -0800736 select E500MC
Tom Rinic1c04bd2022-03-24 17:18:01 -0400737 select E5500
York Sune7a6eaf2016-12-02 10:44:34 -0800738 select FSL_LAW
Tom Rini3ef67ae2021-08-26 11:47:59 -0400739 select SYS_CACHE_SHIFT_6
York Sun4e577972016-12-28 08:43:46 -0800740 select SYS_FSL_DDR_VER_50
York Sunbe735532016-12-28 08:43:43 -0800741 select SYS_FSL_ERRATUM_A008044
742 select SYS_FSL_ERRATUM_A008378
Joakim Tjernlund477602c2019-11-20 17:07:34 +0100743 select SYS_FSL_ERRATUM_A008109
York Sunbe735532016-12-28 08:43:43 -0800744 select SYS_FSL_ERRATUM_A009663
745 select SYS_FSL_ERRATUM_A009942
York Sun097e3602016-12-28 08:43:42 -0800746 select SYS_FSL_ERRATUM_ESDHC111
York Sund297d392016-12-28 08:43:40 -0800747 select SYS_FSL_HAS_DDR3
748 select SYS_FSL_HAS_DDR4
York Sun92c36e22016-12-28 08:43:30 -0800749 select SYS_FSL_HAS_SEC
York Sun0d3b8592016-12-28 08:43:49 -0800750 select SYS_FSL_QORIQ_CHASSIS2
York Sunfa4199422016-12-28 08:43:31 -0800751 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800752 select SYS_FSL_SEC_COMPAT_5
Prabhakar Kushwahab0f8bae2017-02-02 15:01:13 +0530753 select FSL_IFC
Tom Rinic20bb732017-07-22 18:36:16 -0400754 imply CMD_MTDPARTS
Tom Rini00448d22017-07-28 21:31:42 -0400755 imply CMD_NAND
Christophe Leroye538bbc2017-08-04 16:34:40 -0600756 imply CMD_REGINFO
York Suna5b5d882016-11-18 13:11:12 -0800757
York Sun2d7b2d42016-11-18 13:36:39 -0800758config ARCH_T1042
759 bool
Tom Rini1f05fe22022-03-18 08:38:32 -0400760 select BACKSIDE_L2_CACHE
York Sunaf5495a2016-12-28 08:43:27 -0800761 select E500MC
Tom Rinic1c04bd2022-03-24 17:18:01 -0400762 select E5500
York Sune7a6eaf2016-12-02 10:44:34 -0800763 select FSL_LAW
Tom Rini3ef67ae2021-08-26 11:47:59 -0400764 select SYS_CACHE_SHIFT_6
York Sun4e577972016-12-28 08:43:46 -0800765 select SYS_FSL_DDR_VER_50
York Sunbe735532016-12-28 08:43:43 -0800766 select SYS_FSL_ERRATUM_A008044
767 select SYS_FSL_ERRATUM_A008378
Joakim Tjernlund477602c2019-11-20 17:07:34 +0100768 select SYS_FSL_ERRATUM_A008109
York Sunbe735532016-12-28 08:43:43 -0800769 select SYS_FSL_ERRATUM_A009663
770 select SYS_FSL_ERRATUM_A009942
York Sun097e3602016-12-28 08:43:42 -0800771 select SYS_FSL_ERRATUM_ESDHC111
York Sund297d392016-12-28 08:43:40 -0800772 select SYS_FSL_HAS_DDR3
773 select SYS_FSL_HAS_DDR4
York Sun92c36e22016-12-28 08:43:30 -0800774 select SYS_FSL_HAS_SEC
York Sun0d3b8592016-12-28 08:43:49 -0800775 select SYS_FSL_QORIQ_CHASSIS2
York Sunfa4199422016-12-28 08:43:31 -0800776 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800777 select SYS_FSL_SEC_COMPAT_5
Prabhakar Kushwahab0f8bae2017-02-02 15:01:13 +0530778 select FSL_IFC
Tom Rinic20bb732017-07-22 18:36:16 -0400779 imply CMD_MTDPARTS
Tom Rini00448d22017-07-28 21:31:42 -0400780 imply CMD_NAND
Christophe Leroye538bbc2017-08-04 16:34:40 -0600781 imply CMD_REGINFO
York Sun2d7b2d42016-11-18 13:36:39 -0800782
York Sune20c6852016-11-21 12:54:19 -0800783config ARCH_T2080
784 bool
York Sunaf5495a2016-12-28 08:43:27 -0800785 select E500MC
York Sunf4e8a752016-12-28 08:43:48 -0800786 select E6500
York Sune7a6eaf2016-12-02 10:44:34 -0800787 select FSL_LAW
Tom Rini3ef67ae2021-08-26 11:47:59 -0400788 select SYS_CACHE_SHIFT_6
York Sun4e577972016-12-28 08:43:46 -0800789 select SYS_FSL_DDR_VER_47
York Sunbe735532016-12-28 08:43:43 -0800790 select SYS_FSL_ERRATUM_A006379
791 select SYS_FSL_ERRATUM_A006593
Tom Rinia1663992022-06-16 14:04:40 -0400792 select SYS_FSL_ERRATUM_A007186 if CHAIN_OF_TRUST
York Sunbe735532016-12-28 08:43:43 -0800793 select SYS_FSL_ERRATUM_A007212
Tony O'Brien8acb1272016-12-02 09:22:34 +1300794 select SYS_FSL_ERRATUM_A007815
Darwin Dingela56d6c02016-10-25 09:48:01 +1300795 select SYS_FSL_ERRATUM_A007907
Jaiprakash Singhe230a922020-06-02 12:44:02 +0530796 select SYS_FSL_ERRATUM_A008109
York Sunbe735532016-12-28 08:43:43 -0800797 select SYS_FSL_ERRATUM_A009942
York Sun097e3602016-12-28 08:43:42 -0800798 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiang01500f52019-05-23 11:52:44 +0800799 select FSL_PCIE_RESET
York Sund297d392016-12-28 08:43:40 -0800800 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800801 select SYS_FSL_HAS_SEC
York Sun0d3b8592016-12-28 08:43:49 -0800802 select SYS_FSL_QORIQ_CHASSIS2
York Sunfa4199422016-12-28 08:43:31 -0800803 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800804 select SYS_FSL_SEC_COMPAT_4
York Sun7eafac12016-12-28 08:43:50 -0800805 select SYS_PPC64
Prabhakar Kushwahab0f8bae2017-02-02 15:01:13 +0530806 select FSL_IFC
Peng Ma34bed5d2019-12-23 09:28:12 +0000807 imply CMD_SATA
Tom Rini00448d22017-07-28 21:31:42 -0400808 imply CMD_NAND
Christophe Leroye538bbc2017-08-04 16:34:40 -0600809 imply CMD_REGINFO
Peng Ma34bed5d2019-12-23 09:28:12 +0000810 imply FSL_SATA
Tom Rini4abdf142021-08-17 17:59:41 -0400811 imply ID_EEPROM
York Sune20c6852016-11-21 12:54:19 -0800812
York Sun0fad3262016-11-21 13:35:41 -0800813config ARCH_T4240
814 bool
York Sunaf5495a2016-12-28 08:43:27 -0800815 select E500MC
York Sunf4e8a752016-12-28 08:43:48 -0800816 select E6500
York Sune7a6eaf2016-12-02 10:44:34 -0800817 select FSL_LAW
Tom Rini3ef67ae2021-08-26 11:47:59 -0400818 select SYS_CACHE_SHIFT_6
York Sun4e577972016-12-28 08:43:46 -0800819 select SYS_FSL_DDR_VER_47
York Sunbe735532016-12-28 08:43:43 -0800820 select SYS_FSL_ERRATUM_A004468
821 select SYS_FSL_ERRATUM_A005871
822 select SYS_FSL_ERRATUM_A006261
823 select SYS_FSL_ERRATUM_A006379
824 select SYS_FSL_ERRATUM_A006593
Tom Rinia1663992022-06-16 14:04:40 -0400825 select SYS_FSL_ERRATUM_A007186 if CHAIN_OF_TRUST
York Sunbe735532016-12-28 08:43:43 -0800826 select SYS_FSL_ERRATUM_A007798
Tony O'Brien8acb1272016-12-02 09:22:34 +1300827 select SYS_FSL_ERRATUM_A007815
Darwin Dingela56d6c02016-10-25 09:48:01 +1300828 select SYS_FSL_ERRATUM_A007907
Jaiprakash Singhe230a922020-06-02 12:44:02 +0530829 select SYS_FSL_ERRATUM_A008109
York Sunbe735532016-12-28 08:43:43 -0800830 select SYS_FSL_ERRATUM_A009942
York Sund297d392016-12-28 08:43:40 -0800831 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800832 select SYS_FSL_HAS_SEC
York Sun0d3b8592016-12-28 08:43:49 -0800833 select SYS_FSL_QORIQ_CHASSIS2
York Sunfa4199422016-12-28 08:43:31 -0800834 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800835 select SYS_FSL_SEC_COMPAT_4
York Sun7eafac12016-12-28 08:43:50 -0800836 select SYS_PPC64
Prabhakar Kushwahab0f8bae2017-02-02 15:01:13 +0530837 select FSL_IFC
Simon Glass203b3ab2017-06-14 21:28:24 -0600838 imply CMD_SATA
Tom Rini00448d22017-07-28 21:31:42 -0400839 imply CMD_NAND
Christophe Leroye538bbc2017-08-04 16:34:40 -0600840 imply CMD_REGINFO
Tuomas Tynkkynen8df5dd32017-12-08 15:36:17 +0200841 imply FSL_SATA
York Sune7a6eaf2016-12-02 10:44:34 -0800842
Jagdish Gediya7f2ad252018-09-03 21:35:10 +0530843config MPC85XX_HAVE_RESET_VECTOR
844 bool "Indicate reset vector at CONFIG_RESET_VECTOR_ADDRESS - 0xffc"
845 depends on MPC85xx
846
Tom Rinie59f3242022-02-23 12:28:15 -0500847config BTB
848 bool "toggle branch predition"
849
York Sunaf5495a2016-12-28 08:43:27 -0800850config BOOKE
851 bool
852 default y
853
854config E500
855 bool
856 default y
857 help
858 Enable PowerPC E500 cores, including e500v1, e500v2, e500mc
859
860config E500MC
861 bool
Tom Rinie59f3242022-02-23 12:28:15 -0500862 select BTB
Simon Glassc88a09a2017-08-04 16:34:34 -0600863 imply CMD_PCI
York Sunaf5495a2016-12-28 08:43:27 -0800864 help
865 Enble PowerPC E500MC core
866
Tom Rinic1c04bd2022-03-24 17:18:01 -0400867config E5500
868 bool
869
York Sunf4e8a752016-12-28 08:43:48 -0800870config E6500
871 bool
Tom Rinie59f3242022-02-23 12:28:15 -0500872 select BTB
York Sunf4e8a752016-12-28 08:43:48 -0800873 help
874 Enable PowerPC E6500 core
875
York Sune7a6eaf2016-12-02 10:44:34 -0800876config FSL_LAW
877 bool
878 help
879 Use Freescale common code for Local Access Window
York Sun0fad3262016-11-21 13:35:41 -0800880
Tom Rini46f83262022-06-16 14:04:34 -0400881config HETROGENOUS_CLUSTERS
882 bool
883
York Suncbf7bf32016-11-23 12:30:40 -0800884config MAX_CPUS
885 int "Maximum number of CPUs permitted for MPC85xx"
886 default 12 if ARCH_T4240
Tom Rinia7ffa3d2021-05-23 10:58:05 -0400887 default 8 if ARCH_P4080
York Suncbf7bf32016-11-23 12:30:40 -0800888 default 4 if ARCH_B4860 || \
889 ARCH_P2041 || \
890 ARCH_P3041 || \
891 ARCH_P5040 || \
892 ARCH_T1040 || \
893 ARCH_T1042 || \
Tom Rini3ec582b2021-02-20 20:06:21 -0500894 ARCH_T2080
York Suncbf7bf32016-11-23 12:30:40 -0800895 default 2 if ARCH_B4420 || \
896 ARCH_BSC9132 || \
York Suncbf7bf32016-11-23 12:30:40 -0800897 ARCH_P1020 || \
898 ARCH_P1021 || \
York Suncbf7bf32016-11-23 12:30:40 -0800899 ARCH_P1023 || \
900 ARCH_P1024 || \
901 ARCH_P1025 || \
902 ARCH_P2020 || \
York Suncbf7bf32016-11-23 12:30:40 -0800903 ARCH_T1024
904 default 1
905 help
906 Set this number to the maximum number of possible CPUs in the SoC.
907 SoCs may have multiple clusters with each cluster may have multiple
908 ports. If some ports are reserved but higher ports are used for
909 cores, count the reserved ports. This will allocate enough memory
910 in spin table to properly handle all cores.
911
York Sun7ea6f352016-12-01 13:26:06 -0800912config SYS_CCSRBAR_DEFAULT
913 hex "Default CCSRBAR address"
914 default 0xff700000 if ARCH_BSC9131 || \
915 ARCH_BSC9132 || \
916 ARCH_C29X || \
917 ARCH_MPC8536 || \
918 ARCH_MPC8540 || \
York Sun7ea6f352016-12-01 13:26:06 -0800919 ARCH_MPC8544 || \
920 ARCH_MPC8548 || \
York Sun7ea6f352016-12-01 13:26:06 -0800921 ARCH_MPC8560 || \
York Sun7ea6f352016-12-01 13:26:06 -0800922 ARCH_P1010 || \
923 ARCH_P1011 || \
924 ARCH_P1020 || \
925 ARCH_P1021 || \
York Sun7ea6f352016-12-01 13:26:06 -0800926 ARCH_P1024 || \
927 ARCH_P1025 || \
928 ARCH_P2020
929 default 0xff600000 if ARCH_P1023
930 default 0xfe000000 if ARCH_B4420 || \
931 ARCH_B4860 || \
932 ARCH_P2041 || \
933 ARCH_P3041 || \
934 ARCH_P4080 || \
York Sun7ea6f352016-12-01 13:26:06 -0800935 ARCH_P5040 || \
York Sun7ea6f352016-12-01 13:26:06 -0800936 ARCH_T1024 || \
937 ARCH_T1040 || \
938 ARCH_T1042 || \
939 ARCH_T2080 || \
York Sun7ea6f352016-12-01 13:26:06 -0800940 ARCH_T4240
941 default 0xe0000000 if ARCH_QEMU_E500
942 help
943 Default value of CCSRBAR comes from power-on-reset. It
944 is fixed on each SoC. Some SoCs can have different value
945 if changed by pre-boot regime. The value here must match
946 the current value in SoC. If not sure, do not change.
947
Tom Rini2404edc2022-03-11 09:11:59 -0500948config A003399_NOR_WORKAROUND
949 bool
950 help
951 Enables a workaround for IFC erratum A003399. It is only required
952 during NOR boot.
953
Tom Riniea2bbec2022-03-11 09:12:00 -0500954config A008044_WORKAROUND
955 bool
956 help
957 Enables a workaround for T1040/T1042 erratum A008044. It is only
958 required during NAND boot and valid for Rev 1.0 SoC revision
959
York Sunbe735532016-12-28 08:43:43 -0800960config SYS_FSL_ERRATUM_A004468
961 bool
962
963config SYS_FSL_ERRATUM_A004477
964 bool
965
966config SYS_FSL_ERRATUM_A004508
967 bool
968
969config SYS_FSL_ERRATUM_A004580
970 bool
971
972config SYS_FSL_ERRATUM_A004699
973 bool
974
975config SYS_FSL_ERRATUM_A004849
976 bool
977
978config SYS_FSL_ERRATUM_A004510
979 bool
980
981config SYS_FSL_ERRATUM_A004510_SVR_REV
982 hex
983 depends on SYS_FSL_ERRATUM_A004510
984 default 0x20 if ARCH_P4080
985 default 0x10
986
987config SYS_FSL_ERRATUM_A004510_SVR_REV2
988 hex
989 depends on (SYS_FSL_ERRATUM_A004510 && (ARCH_P2041 || ARCH_P3041))
990 default 0x11
991
992config SYS_FSL_ERRATUM_A005125
993 bool
994
995config SYS_FSL_ERRATUM_A005434
996 bool
997
998config SYS_FSL_ERRATUM_A005812
999 bool
1000
1001config SYS_FSL_ERRATUM_A005871
1002 bool
1003
Chris Packham434f0582018-10-04 20:03:53 +13001004config SYS_FSL_ERRATUM_A005275
1005 bool
1006
York Sunbe735532016-12-28 08:43:43 -08001007config SYS_FSL_ERRATUM_A006261
1008 bool
1009
1010config SYS_FSL_ERRATUM_A006379
1011 bool
1012
1013config SYS_FSL_ERRATUM_A006384
1014 bool
1015
1016config SYS_FSL_ERRATUM_A006475
1017 bool
1018
1019config SYS_FSL_ERRATUM_A006593
1020 bool
1021
1022config SYS_FSL_ERRATUM_A007075
1023 bool
1024
1025config SYS_FSL_ERRATUM_A007186
1026 bool
1027
1028config SYS_FSL_ERRATUM_A007212
1029 bool
1030
Tony O'Brien8acb1272016-12-02 09:22:34 +13001031config SYS_FSL_ERRATUM_A007815
1032 bool
1033
York Sunbe735532016-12-28 08:43:43 -08001034config SYS_FSL_ERRATUM_A007798
1035 bool
1036
Darwin Dingela56d6c02016-10-25 09:48:01 +13001037config SYS_FSL_ERRATUM_A007907
1038 bool
1039
York Sunbe735532016-12-28 08:43:43 -08001040config SYS_FSL_ERRATUM_A008044
1041 bool
Tom Riniea2bbec2022-03-11 09:12:00 -05001042 select A008044_WORKAROUND if MTD_RAW_NAND
York Sunbe735532016-12-28 08:43:43 -08001043
1044config SYS_FSL_ERRATUM_CPC_A002
1045 bool
1046
1047config SYS_FSL_ERRATUM_CPC_A003
1048 bool
1049
1050config SYS_FSL_ERRATUM_CPU_A003999
1051 bool
1052
1053config SYS_FSL_ERRATUM_ELBC_A001
1054 bool
1055
1056config SYS_FSL_ERRATUM_I2C_A004447
1057 bool
1058
1059config SYS_FSL_A004447_SVR_REV
1060 hex
1061 depends on SYS_FSL_ERRATUM_I2C_A004447
1062 default 0x00 if ARCH_MPC8548
1063 default 0x10 if ARCH_P1010
1064 default 0x11 if ARCH_P1023 || ARCH_P2041 || ARCH_BSC9132
Tom Rini30900822021-02-20 20:06:30 -05001065 default 0x20 if ARCH_P3041 || ARCH_P4080
York Sunbe735532016-12-28 08:43:43 -08001066
1067config SYS_FSL_ERRATUM_IFC_A002769
1068 bool
1069
1070config SYS_FSL_ERRATUM_IFC_A003399
1071 bool
1072
1073config SYS_FSL_ERRATUM_NMG_CPU_A011
1074 bool
1075
1076config SYS_FSL_ERRATUM_NMG_ETSEC129
1077 bool
1078
1079config SYS_FSL_ERRATUM_NMG_LBC103
1080 bool
1081
1082config SYS_FSL_ERRATUM_P1010_A003549
1083 bool
1084
1085config SYS_FSL_ERRATUM_SATA_A001
1086 bool
1087
1088config SYS_FSL_ERRATUM_SEC_A003571
1089 bool
1090
1091config SYS_FSL_ERRATUM_SRIO_A004034
1092 bool
1093
1094config SYS_FSL_ERRATUM_USB14
1095 bool
1096
Tom Rinid391d8b2021-12-11 14:55:51 -05001097config SYS_HAS_SERDES
1098 bool
1099
York Sunbe735532016-12-28 08:43:43 -08001100config SYS_P4080_ERRATUM_CPU22
1101 bool
1102
1103config SYS_P4080_ERRATUM_PCIE_A003
1104 bool
1105
1106config SYS_P4080_ERRATUM_SERDES8
1107 bool
1108
1109config SYS_P4080_ERRATUM_SERDES9
1110 bool
1111
1112config SYS_P4080_ERRATUM_SERDES_A001
1113 bool
1114
1115config SYS_P4080_ERRATUM_SERDES_A005
1116 bool
1117
Hou Zhiqiangdeb47f52019-05-22 22:46:03 +08001118config FSL_PCIE_DISABLE_ASPM
1119 bool
1120
Hou Zhiqiang01500f52019-05-23 11:52:44 +08001121config FSL_PCIE_RESET
1122 bool
1123
York Sun0d3b8592016-12-28 08:43:49 -08001124config SYS_FSL_QORIQ_CHASSIS1
1125 bool
1126
1127config SYS_FSL_QORIQ_CHASSIS2
1128 bool
1129
York Sun091e5e52016-12-01 14:05:02 -08001130config SYS_FSL_NUM_LAWS
1131 int "Number of local access windows"
1132 depends on FSL_LAW
1133 default 32 if ARCH_B4420 || \
1134 ARCH_B4860 || \
1135 ARCH_P2041 || \
1136 ARCH_P3041 || \
1137 ARCH_P4080 || \
York Sun091e5e52016-12-01 14:05:02 -08001138 ARCH_P5040 || \
1139 ARCH_T2080 || \
York Sun091e5e52016-12-01 14:05:02 -08001140 ARCH_T4240
Tom Rinib4e60262021-05-14 21:34:22 -04001141 default 16 if ARCH_T1024 || \
York Sun091e5e52016-12-01 14:05:02 -08001142 ARCH_T1040 || \
1143 ARCH_T1042
1144 default 12 if ARCH_BSC9131 || \
1145 ARCH_BSC9132 || \
1146 ARCH_C29X || \
1147 ARCH_MPC8536 || \
York Sun091e5e52016-12-01 14:05:02 -08001148 ARCH_P1010 || \
1149 ARCH_P1011 || \
1150 ARCH_P1020 || \
1151 ARCH_P1021 || \
York Sun091e5e52016-12-01 14:05:02 -08001152 ARCH_P1023 || \
1153 ARCH_P1024 || \
1154 ARCH_P1025 || \
1155 ARCH_P2020
1156 default 10 if ARCH_MPC8544 || \
Tom Rini31f56052021-05-14 21:34:23 -04001157 ARCH_MPC8548
York Sun091e5e52016-12-01 14:05:02 -08001158 default 8 if ARCH_MPC8540 || \
York Sun091e5e52016-12-01 14:05:02 -08001159 ARCH_MPC8560
1160 help
1161 Number of local access windows. This is fixed per SoC.
1162 If not sure, do not change.
1163
York Sunf4e8a752016-12-28 08:43:48 -08001164config SYS_FSL_THREADS_PER_CORE
1165 int
1166 default 2 if E6500
1167 default 1
1168
York Sun14e098d2016-12-28 08:43:28 -08001169config SYS_NUM_TLBCAMS
1170 int "Number of TLB CAM entries"
1171 default 64 if E500MC
1172 default 16
1173 help
1174 Number of TLB CAM entries for Book-E chips. 64 for E500MC,
1175 16 for other E500 SoCs.
1176
Tom Rini46f83262022-06-16 14:04:34 -04001177if HETROGENOUS_CLUSTERS
1178
1179config SYS_MAPLE
1180 def_bool y
1181
1182config SYS_CPRI
1183 def_bool y
1184
1185config PPC_CLUSTER_START
1186 int
1187 default 0
1188
1189config DSP_CLUSTER_START
1190 int
1191 default 1
1192
1193config SYS_CPRI_CLK
1194 int
1195 default 3
1196
1197config SYS_ULB_CLK
1198 int
1199 default 4
1200
1201config SYS_ETVPE_CLK
1202 int
1203 default 1
1204endif
1205
Tom Rini1f05fe22022-03-18 08:38:32 -04001206config BACKSIDE_L2_CACHE
1207 bool
1208
York Sun7eafac12016-12-28 08:43:50 -08001209config SYS_PPC64
1210 bool
1211
York Sun85ab6f02016-12-28 08:43:29 -08001212config SYS_PPC_E500_USE_DEBUG_TLB
1213 bool
1214
Prabhakar Kushwaha4c6be552017-02-02 15:01:48 +05301215config FSL_ELBC
1216 bool
1217
York Sun85ab6f02016-12-28 08:43:29 -08001218config SYS_PPC_E500_DEBUG_TLB
1219 int "Temporary TLB entry for external debugger"
1220 depends on SYS_PPC_E500_USE_DEBUG_TLB
1221 default 0 if ARCH_MPC8544 || ARCH_MPC8548
1222 default 1 if ARCH_MPC8536
Tom Rinie1ef7082021-05-14 21:34:25 -04001223 default 2 if ARCH_P1011 || \
York Sun85ab6f02016-12-28 08:43:29 -08001224 ARCH_P1020 || \
1225 ARCH_P1021 || \
York Sun85ab6f02016-12-28 08:43:29 -08001226 ARCH_P1024 || \
1227 ARCH_P1025 || \
1228 ARCH_P2020
1229 default 3 if ARCH_P1010 || \
1230 ARCH_BSC9132 || \
1231 ARCH_C29X
1232 help
1233 Select a temporary TLB entry to be used during boot to work
1234 around limitations in e500v1 and e500v2 external debugger
1235 support. This reduces the portions of the boot code where
1236 breakpoints and single stepping do not work. The value of this
1237 symbol should be set to the TLB1 entry to be used for this
1238 purpose. If unsure, do not change.
1239
Prabhakar Kushwaha3c48f582017-02-02 15:01:26 +05301240config SYS_FSL_IFC_CLK_DIV
1241 int "Divider of platform clock"
1242 depends on FSL_IFC
1243 default 2 if ARCH_B4420 || \
1244 ARCH_B4860 || \
1245 ARCH_T1024 || \
Prabhakar Kushwaha3c48f582017-02-02 15:01:26 +05301246 ARCH_T1040 || \
1247 ARCH_T1042 || \
Prabhakar Kushwaha3c48f582017-02-02 15:01:26 +05301248 ARCH_T4240
1249 default 1
1250 help
1251 Defines divider of platform clock(clock input to
1252 IFC controller).
1253
Prabhakar Kushwahabedc5622017-02-02 15:02:00 +05301254config SYS_FSL_LBC_CLK_DIV
1255 int "Divider of platform clock"
1256 depends on FSL_ELBC || ARCH_MPC8540 || \
Tom Rini7707c552021-05-14 21:34:20 -04001257 ARCH_MPC8548 || \
Tom Rini31f56052021-05-14 21:34:23 -04001258 ARCH_MPC8560
Prabhakar Kushwahabedc5622017-02-02 15:02:00 +05301259
1260 default 2 if ARCH_P2041 || \
1261 ARCH_P3041 || \
1262 ARCH_P4080 || \
Prabhakar Kushwahabedc5622017-02-02 15:02:00 +05301263 ARCH_P5040
1264 default 1
1265
1266 help
1267 Defines divider of platform clock(clock input to
1268 eLBC controller).
1269
Tom Rinia7fa9762022-06-15 12:03:45 -04001270config ENABLE_36BIT_PHYS
1271 bool "Enable 36bit physical address space support"
1272
Tom Rini2daaf642022-06-25 11:02:43 -04001273config SYS_BOOK3E_HV
1274 bool "Category E.HV is supported"
1275 depends on BOOKE
1276
Tom Rinifc2dcd92022-06-25 11:02:45 -04001277config SYS_CPC_REINIT_F
1278 bool
1279 help
1280 The CPC is configured as SRAM at the time of U-Boot entry and is
1281 required to be re-initialized.
1282
1283config SYS_FSL_CPC
1284 bool "Corenet Platform Cache support"
1285
Tom Rini41e1a592022-06-27 13:35:46 -04001286config SYS_CACHE_STASHING
1287 bool "Enable cache stashing"
1288
Tom Rini667dd4f2022-06-10 22:59:37 -04001289config SYS_MPC85XX_NO_RESETVEC
1290 bool "Discard resetvec section and move bootpg section up"
1291 depends on MPC85xx
1292 help
1293 If this variable is specified, the section .resetvec is not kept and
1294 the section .bootpg is placed in the previous 4k of the .text section.
1295
1296config SPL_SYS_MPC85XX_NO_RESETVEC
1297 bool "Discard resetvec section and move bootpg section up, in SPL"
1298 depends on MPC85xx && SPL
1299 help
1300 If this variable is specified, the section .resetvec is not kept and
1301 the section .bootpg is placed in the previous 4k of the .text section,
1302 of the SPL portion of the binary.
1303
1304config TPL_SYS_MPC85XX_NO_RESETVEC
1305 bool "Discard resetvec section and move bootpg section up, in TPL"
1306 depends on MPC85xx && TPL
1307 help
1308 If this variable is specified, the section .resetvec is not kept and
1309 the section .bootpg is placed in the previous 4k of the .text section,
1310 of the SPL portion of the binary.
1311
Rajesh Bhagat6d072982021-02-15 09:46:14 +01001312config FSL_VIA
1313 bool
1314
Bin Meng2076d992021-02-25 17:22:58 +08001315source "board/emulation/qemu-ppce500/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001316source "board/freescale/corenet_ds/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001317source "board/freescale/mpc8548cds/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001318source "board/freescale/p1010rdb/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001319source "board/freescale/p1_p2_rdb_pc/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001320source "board/freescale/p2041rdb/Kconfig"
Shengzhou Liu49912402014-11-24 17:11:56 +08001321source "board/freescale/t102xrdb/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001322source "board/freescale/t104xrdb/Kconfig"
1323source "board/freescale/t208xqds/Kconfig"
1324source "board/freescale/t208xrdb/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001325source "board/freescale/t4rdb/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001326source "board/socrates/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001327
1328endmenu