blob: e813bf094d116ced614e8c3e81ed9a932e5fd41f [file] [log] [blame]
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001menu "mpc85xx CPU"
2 depends on MPC85xx
3
Tom Rini7897aef2022-12-02 16:42:42 -05004config PPC_SPINTABLE_COMPATIBLE
5 depends on MP
6 def_bool y
7 help
8 To comply with ePAPR 1.1, the spin table has been moved to
9 cache-enabled memory. Old OS may not work with this change. A patch
10 is waiting to be accepted for Linux kernel. Other OS needs similar
11 fix to spin table. For OSes with old spin table code, we can enable
12 this temporary fix by setting environmental variable
13 "spin_table_compat". For new OSes, set "spin_table_compat=no". After
14 Linux is fixed, we can remove this macro and related code. For now,
15 it is enabled by default.
16
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090017config SYS_CPU
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090018 default "mpc85xx"
19
Simon Glass9fdc0de2017-05-17 03:25:15 -060020config CMD_ERRATA
21 bool "Enable the 'errata' command"
22 depends on MPC85xx
23 default y
24 help
25 This enables the 'errata' command which displays a list of errata
26 work-arounds which are enabled for the current board.
27
Pali Rohárb9304822022-05-11 20:57:31 +020028config FSL_PREPBL_ESDHC_BOOT_SECTOR
29 bool "Generate QorIQ pre-PBL eSDHC boot sector"
30 depends on MPC85xx
Marek Behúna7f4aaa2022-09-15 16:08:27 +020031 depends on SDCARD
Pali Rohárb9304822022-05-11 20:57:31 +020032 help
33 With this option final image would have prepended QorIQ pre-PBL eSDHC
34 boot sector suitable for SD card images. This boot sector instruct
35 BootROM to configure L2 SRAM and eSDHC then load image from SD card
36 into L2 SRAM and finally jump to image entry point.
37
38 This is alternative to Freescale boot_format tool, but works only for
39 SD card images and only for L2 SRAM booting. U-Boot images generated
40 with this option should not passed to boot_format tool.
41
42 For other configuration like booting from eSPI or configuring SDRAM
43 please use Freescale boot_format tool without this option. See file
44 doc/README.mpc85xx-sd-spi-boot
45
46config FSL_PREPBL_ESDHC_BOOT_SECTOR_START
47 int "QorIQ pre-PBL eSDHC boot sector start offset"
48 depends on FSL_PREPBL_ESDHC_BOOT_SECTOR
49 range 0 23
50 default 0
51 help
52 QorIQ pre-PBL eSDHC boot sector may be located on one of the first
53 24 SD card sectors. Select SD card sector on which final U-Boot
54 image (with this boot sector) would be installed.
55
56 By default first SD card sector (0) is used. But this may be changed
57 to allow installing U-Boot image on some partition (with fixed start
58 sector).
59
60 Please note that any sector on SD card prior this boot sector must
61 not contain ASCII "BOOT" bytes at sector offset 0x40.
62
63config FSL_PREPBL_ESDHC_BOOT_SECTOR_DATA
64 int "Relative data sector for QorIQ pre-PBL eSDHC boot sector"
65 depends on FSL_PREPBL_ESDHC_BOOT_SECTOR
66 default 1
67 range 1 8388607
68 help
69 Select data sector from the beginning of QorIQ pre-PBL eSDHC boot
70 sector on which would be stored raw U-Boot image.
71
72 By default is it second sector (1) which is the first available free
73 sector (on the first sector is stored boot sector). It can be any
74 sector number which offset in bytes can be expressed by 32-bit number.
75
76 In case this final U-Boot image (with this boot sector) is put on
77 the FAT32 partition into reserved boot area, this data sector needs
78 to be at least 2 (third sector) because FAT32 use second sector for
79 its data.
80
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090081choice
82 prompt "Target select"
Joe Hershbergerf0699602015-05-12 14:46:23 -050083 optional
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090084
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090085config TARGET_SOCRATES
86 bool "Support socrates"
York Sun5ac012a2016-11-15 13:57:15 -080087 select ARCH_MPC8544
Pali Rohár6d3011a2022-12-28 19:18:39 +010088 select BINMAN
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090089
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090090config TARGET_P3041DS
91 bool "Support P3041DS"
Masahiro Yamada653e9fe2016-07-25 19:56:03 +090092 select PHYS_64BIT
York Sundf70d062016-11-18 11:20:40 -080093 select ARCH_P3041
Tom Rini22d567e2017-01-22 19:43:11 -050094 select BOARD_LATE_INIT if CHAIN_OF_TRUST
Tom Rini8d7aa572022-07-31 21:08:29 -040095 select FSL_NGPIXIS
Simon Glass203b3ab2017-06-14 21:28:24 -060096 imply CMD_SATA
Masahiro Yamadaacede7a2017-12-04 12:37:00 +090097 imply PANIC_HANG
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090098
99config TARGET_P4080DS
100 bool "Support P4080DS"
Masahiro Yamada653e9fe2016-07-25 19:56:03 +0900101 select PHYS_64BIT
York Sun84be8a92016-11-18 11:24:40 -0800102 select ARCH_P4080
Tom Rini22d567e2017-01-22 19:43:11 -0500103 select BOARD_LATE_INIT if CHAIN_OF_TRUST
Tom Rini8d7aa572022-07-31 21:08:29 -0400104 select FSL_NGPIXIS
Simon Glass203b3ab2017-06-14 21:28:24 -0600105 imply CMD_SATA
Masahiro Yamadaacede7a2017-12-04 12:37:00 +0900106 imply PANIC_HANG
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900107
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900108config TARGET_P5040DS
109 bool "Support P5040DS"
Masahiro Yamada653e9fe2016-07-25 19:56:03 +0900110 select PHYS_64BIT
York Suna3c5b662016-11-18 11:39:36 -0800111 select ARCH_P5040
Tom Rini22d567e2017-01-22 19:43:11 -0500112 select BOARD_LATE_INIT if CHAIN_OF_TRUST
Tom Rini8d7aa572022-07-31 21:08:29 -0400113 select FSL_NGPIXIS
114 select SYS_FSL_RAID_ENGINE
Simon Glass203b3ab2017-06-14 21:28:24 -0600115 imply CMD_SATA
Masahiro Yamadaacede7a2017-12-04 12:37:00 +0900116 imply PANIC_HANG
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900117
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900118config TARGET_MPC8548CDS
119 bool "Support MPC8548CDS"
York Sunefc49e02016-11-15 13:52:34 -0800120 select ARCH_MPC8548
Rajesh Bhagat6d072982021-02-15 09:46:14 +0100121 select FSL_VIA
Tom Rini3ef67ae2021-08-26 11:47:59 -0400122 select SYS_CACHE_SHIFT_5
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900123
York Sun7f945ca2016-11-16 13:30:06 -0800124config TARGET_P1010RDB_PA
125 bool "Support P1010RDB_PA"
126 select ARCH_P1010
Tom Rini22d567e2017-01-22 19:43:11 -0500127 select BOARD_LATE_INIT if CHAIN_OF_TRUST
York Sun7f945ca2016-11-16 13:30:06 -0800128 select SUPPORT_SPL
129 select SUPPORT_TPL
Tom Rinie4798922022-10-28 20:27:00 -0400130 select SYS_L2_SIZE_256KB
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 Sun7f945ca2016-11-16 13:30:06 -0800134
135config TARGET_P1010RDB_PB
136 bool "Support P1010RDB_PB"
York Sun24f88b32016-11-16 13:08:52 -0800137 select ARCH_P1010
Tom Rini22d567e2017-01-22 19:43:11 -0500138 select BOARD_LATE_INIT if CHAIN_OF_TRUST
Masahiro Yamada6e0971b2014-10-20 17:45:56 +0900139 select SUPPORT_SPL
Masahiro Yamadaf5ebc992014-10-20 17:45:57 +0900140 select SUPPORT_TPL
Tom Rinie4798922022-10-28 20:27:00 -0400141 select SYS_L2_SIZE_256KB
Simon Glass4590d4e2017-05-17 03:25:10 -0600142 imply CMD_EEPROM
Simon Glass203b3ab2017-06-14 21:28:24 -0600143 imply CMD_SATA
Masahiro Yamadaacede7a2017-12-04 12:37:00 +0900144 imply PANIC_HANG
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900145
York Sun443108bf2016-11-17 13:52:44 -0800146config TARGET_P1020RDB_PC
147 bool "Support P1020RDB-PC"
148 select SUPPORT_SPL
149 select SUPPORT_TPL
York Sunaf2dc812016-11-18 10:02:14 -0800150 select ARCH_P1020
Tom Rinie4798922022-10-28 20:27:00 -0400151 select SYS_L2_SIZE_256KB
Simon Glass4590d4e2017-05-17 03:25:10 -0600152 imply CMD_EEPROM
Simon Glass203b3ab2017-06-14 21:28:24 -0600153 imply CMD_SATA
Masahiro Yamadaacede7a2017-12-04 12:37:00 +0900154 imply PANIC_HANG
York Sun443108bf2016-11-17 13:52:44 -0800155
York Sun06732382016-11-17 13:53:33 -0800156config TARGET_P1020RDB_PD
157 bool "Support P1020RDB-PD"
158 select SUPPORT_SPL
159 select SUPPORT_TPL
York Sunaf2dc812016-11-18 10:02:14 -0800160 select ARCH_P1020
Tom Rinie4798922022-10-28 20:27:00 -0400161 select SYS_L2_SIZE_256KB
Simon Glass4590d4e2017-05-17 03:25:10 -0600162 imply CMD_EEPROM
Simon Glass203b3ab2017-06-14 21:28:24 -0600163 imply CMD_SATA
Masahiro Yamadaacede7a2017-12-04 12:37:00 +0900164 imply PANIC_HANG
York Sun06732382016-11-17 13:53:33 -0800165
York Sun9c01ff22016-11-17 14:19:18 -0800166config TARGET_P2020RDB
167 bool "Support P2020RDB-PC"
168 select SUPPORT_SPL
169 select SUPPORT_TPL
York Sun4b08dd72016-11-18 11:08:43 -0800170 select ARCH_P2020
Tom Rinie4798922022-10-28 20:27:00 -0400171 select SYS_L2_SIZE_512KB
Simon Glass4590d4e2017-05-17 03:25:10 -0600172 imply CMD_EEPROM
Simon Glass203b3ab2017-06-14 21:28:24 -0600173 imply CMD_SATA
Tuomas Tynkkynen104a5372017-12-08 15:36:14 +0200174 imply SATA_SIL
York Sun9c01ff22016-11-17 14:19:18 -0800175
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900176config TARGET_P2041RDB
177 bool "Support P2041RDB"
York Sun5786fca2016-11-18 11:15:21 -0800178 select ARCH_P2041
Tom Rini22d567e2017-01-22 19:43:11 -0500179 select BOARD_LATE_INIT if CHAIN_OF_TRUST
Tom Rini7374a712022-07-23 13:05:08 -0400180 select FSL_CORENET
Masahiro Yamada653e9fe2016-07-25 19:56:03 +0900181 select PHYS_64BIT
Tom Rinie20e5712022-10-28 20:27:01 -0400182 select SYS_L3_SIZE_1024KB
Simon Glass203b3ab2017-06-14 21:28:24 -0600183 imply CMD_SATA
Tuomas Tynkkynen8df5dd32017-12-08 15:36:17 +0200184 imply FSL_SATA
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900185
186config TARGET_QEMU_PPCE500
187 bool "Support qemu-ppce500"
York Sun51e91e82016-11-18 12:29:51 -0800188 select ARCH_QEMU_E500
Masahiro Yamada653e9fe2016-07-25 19:56:03 +0900189 select PHYS_64BIT
Tom Rinieb4f2de2022-06-25 11:02:44 -0400190 select SYS_RAMBOOT
Simon Glass94886db2021-12-16 20:59:36 -0700191 imply OF_HAS_PRIOR_STAGE
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900192
York Suna5ca1422016-11-18 12:45:44 -0800193config TARGET_T1024RDB
194 bool "Support T1024RDB"
York Sun7d29dd62016-11-18 13:01:34 -0800195 select ARCH_T1024
Tom Rini22d567e2017-01-22 19:43:11 -0500196 select BOARD_LATE_INIT if CHAIN_OF_TRUST
Shengzhou Liu49912402014-11-24 17:11:56 +0800197 select SUPPORT_SPL
Masahiro Yamada653e9fe2016-07-25 19:56:03 +0900198 select PHYS_64BIT
Rajesh Bhagatba2414f2019-02-01 05:22:01 +0000199 select FSL_DDR_INTERACTIVE
Tom Rinie20e5712022-10-28 20:27:01 -0400200 select SYS_L3_SIZE_256KB
Simon Glass4590d4e2017-05-17 03:25:10 -0600201 imply CMD_EEPROM
Masahiro Yamadaacede7a2017-12-04 12:37:00 +0900202 imply PANIC_HANG
Shengzhou Liu49912402014-11-24 17:11:56 +0800203
York Sund08610d2016-11-21 11:04:34 -0800204config TARGET_T1042D4RDB
205 bool "Support T1042D4RDB"
206 select ARCH_T1042
Tom Rini22d567e2017-01-22 19:43:11 -0500207 select BOARD_LATE_INIT if CHAIN_OF_TRUST
York Sund08610d2016-11-21 11:04:34 -0800208 select SUPPORT_SPL
209 select PHYS_64BIT
Tom Rinie20e5712022-10-28 20:27:01 -0400210 select SYS_L3_SIZE_256KB
Masahiro Yamadaacede7a2017-12-04 12:37:00 +0900211 imply PANIC_HANG
York Sund08610d2016-11-21 11:04:34 -0800212
York Sund1a6c0f2016-11-21 12:46:58 -0800213config TARGET_T2080QDS
214 bool "Support T2080QDS"
York Sune20c6852016-11-21 12:54:19 -0800215 select ARCH_T2080
Tom Rini22d567e2017-01-22 19:43:11 -0500216 select BOARD_LATE_INIT if CHAIN_OF_TRUST
Masahiro Yamada6e0971b2014-10-20 17:45:56 +0900217 select SUPPORT_SPL
Masahiro Yamada653e9fe2016-07-25 19:56:03 +0900218 select PHYS_64BIT
Rajesh Bhagatba2414f2019-02-01 05:22:01 +0000219 select FSL_DDR_FIRST_SLOT_QUAD_CAPABLE
220 select FSL_DDR_INTERACTIVE
Tom Rinie20e5712022-10-28 20:27:01 -0400221 select SYS_L3_SIZE_512KB
Peng Ma34bed5d2019-12-23 09:28:12 +0000222 imply CMD_SATA
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900223
York Sun58459252016-11-21 12:57:22 -0800224config TARGET_T2080RDB
225 bool "Support T2080RDB"
York Sune20c6852016-11-21 12:54:19 -0800226 select ARCH_T2080
Tom Rini22d567e2017-01-22 19:43:11 -0500227 select BOARD_LATE_INIT if CHAIN_OF_TRUST
Masahiro Yamada6e0971b2014-10-20 17:45:56 +0900228 select SUPPORT_SPL
Masahiro Yamada653e9fe2016-07-25 19:56:03 +0900229 select PHYS_64BIT
Tom Rinie20e5712022-10-28 20:27:01 -0400230 select SYS_L3_SIZE_512KB
Simon Glass203b3ab2017-06-14 21:28:24 -0600231 imply CMD_SATA
Masahiro Yamadaacede7a2017-12-04 12:37:00 +0900232 imply PANIC_HANG
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900233
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900234config TARGET_T4240RDB
235 bool "Support T4240RDB"
York Sun0fad3262016-11-21 13:35:41 -0800236 select ARCH_T4240
Chunhe Lan66cba6b2015-03-20 17:08:54 +0800237 select SUPPORT_SPL
Masahiro Yamada653e9fe2016-07-25 19:56:03 +0900238 select PHYS_64BIT
Rajesh Bhagatba2414f2019-02-01 05:22:01 +0000239 select FSL_DDR_FIRST_SLOT_QUAD_CAPABLE
Tom Rinie20e5712022-10-28 20:27:01 -0400240 select SYS_L3_SIZE_512KB
Simon Glass203b3ab2017-06-14 21:28:24 -0600241 imply CMD_SATA
Masahiro Yamadaacede7a2017-12-04 12:37:00 +0900242 imply PANIC_HANG
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900243
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900244config TARGET_KMP204X
245 bool "Support kmp204x"
Pascal Linder305329f2019-06-18 13:27:47 +0200246 select VENDOR_KM
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900247
Niel Fouriedb7241d2021-01-21 13:19:20 +0100248config TARGET_KMCENT2
249 bool "Support kmcent2"
250 select VENDOR_KM
Tom Rini7d3684a2023-01-16 15:46:49 -0500251 select EVENT
Tom Rini7374a712022-07-23 13:05:08 -0400252 select FSL_CORENET
Tom Rinif552a132022-11-16 13:10:34 -0500253 select SYS_DPAA_FMAN
254 select SYS_DPAA_PME
Tom Rinie20e5712022-10-28 20:27:01 -0400255 select SYS_L3_SIZE_256KB
Niel Fouriedb7241d2021-01-21 13:19:20 +0100256
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900257endchoice
258
York Sunfda566d2016-11-18 11:56:57 -0800259config ARCH_B4420
260 bool
York Sunaf5495a2016-12-28 08:43:27 -0800261 select E500MC
York Sunf4e8a752016-12-28 08:43:48 -0800262 select E6500
Tom Rini7374a712022-07-23 13:05:08 -0400263 select FSL_CORENET
York Sune7a6eaf2016-12-02 10:44:34 -0800264 select FSL_LAW
Tom Rini46f83262022-06-16 14:04:34 -0400265 select HETROGENOUS_CLUSTERS
York Sun4e577972016-12-28 08:43:46 -0800266 select SYS_FSL_DDR_VER_47
York Sunbe735532016-12-28 08:43:43 -0800267 select SYS_FSL_ERRATUM_A004477
268 select SYS_FSL_ERRATUM_A005871
269 select SYS_FSL_ERRATUM_A006379
270 select SYS_FSL_ERRATUM_A006384
271 select SYS_FSL_ERRATUM_A006475
272 select SYS_FSL_ERRATUM_A006593
273 select SYS_FSL_ERRATUM_A007075
Tom Rinia1663992022-06-16 14:04:40 -0400274 select SYS_FSL_ERRATUM_A007186 if CHAIN_OF_TRUST
York Sunbe735532016-12-28 08:43:43 -0800275 select SYS_FSL_ERRATUM_A007212
276 select SYS_FSL_ERRATUM_A009942
York Sund297d392016-12-28 08:43:40 -0800277 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800278 select SYS_FSL_HAS_SEC
York Sun0d3b8592016-12-28 08:43:49 -0800279 select SYS_FSL_QORIQ_CHASSIS2
Tom Rini70850172022-07-31 21:08:28 -0400280 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v24
York Sunfa4199422016-12-28 08:43:31 -0800281 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800282 select SYS_FSL_SEC_COMPAT_4
Tom Rini8d7aa572022-07-31 21:08:29 -0400283 select SYS_FSL_QMAN_V3 if SYS_DPAA_QBMAN
284 select SYS_FSL_USB1_PHY_ENABLE
York Sun7eafac12016-12-28 08:43:50 -0800285 select SYS_PPC64
Prabhakar Kushwahab0f8bae2017-02-02 15:01:13 +0530286 select FSL_IFC
Simon Glass4590d4e2017-05-17 03:25:10 -0600287 imply CMD_EEPROM
Tom Rini00448d22017-07-28 21:31:42 -0400288 imply CMD_NAND
Christophe Leroye538bbc2017-08-04 16:34:40 -0600289 imply CMD_REGINFO
York Sunfda566d2016-11-18 11:56:57 -0800290
York Sun68eaa9a2016-11-18 11:44:43 -0800291config ARCH_B4860
292 bool
York Sunaf5495a2016-12-28 08:43:27 -0800293 select E500MC
York Sunf4e8a752016-12-28 08:43:48 -0800294 select E6500
Tom Rini7374a712022-07-23 13:05:08 -0400295 select FSL_CORENET
York Sune7a6eaf2016-12-02 10:44:34 -0800296 select FSL_LAW
Tom Rini46f83262022-06-16 14:04:34 -0400297 select HETROGENOUS_CLUSTERS
York Sun4e577972016-12-28 08:43:46 -0800298 select SYS_FSL_DDR_VER_47
York Sunbe735532016-12-28 08:43:43 -0800299 select SYS_FSL_ERRATUM_A004477
300 select SYS_FSL_ERRATUM_A005871
301 select SYS_FSL_ERRATUM_A006379
302 select SYS_FSL_ERRATUM_A006384
303 select SYS_FSL_ERRATUM_A006475
304 select SYS_FSL_ERRATUM_A006593
305 select SYS_FSL_ERRATUM_A007075
Tom Rinia1663992022-06-16 14:04:40 -0400306 select SYS_FSL_ERRATUM_A007186 if CHAIN_OF_TRUST
York Sunbe735532016-12-28 08:43:43 -0800307 select SYS_FSL_ERRATUM_A007212
Darwin Dingela56d6c02016-10-25 09:48:01 +1300308 select SYS_FSL_ERRATUM_A007907
York Sunbe735532016-12-28 08:43:43 -0800309 select SYS_FSL_ERRATUM_A009942
York Sund297d392016-12-28 08:43:40 -0800310 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800311 select SYS_FSL_HAS_SEC
York Sun0d3b8592016-12-28 08:43:49 -0800312 select SYS_FSL_QORIQ_CHASSIS2
Tom Rini70850172022-07-31 21:08:28 -0400313 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v24
York Sunfa4199422016-12-28 08:43:31 -0800314 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800315 select SYS_FSL_SEC_COMPAT_4
Tom Rinid6412852023-01-10 11:19:42 -0500316 select SYS_FSL_SRDS_1
317 select SYS_FSL_SRDS_2
Tom Rini8d7aa572022-07-31 21:08:29 -0400318 select SYS_FSL_SRIO_LIODN
319 select SYS_FSL_QMAN_V3 if SYS_DPAA_QBMAN
320 select SYS_FSL_USB1_PHY_ENABLE
York Sun7eafac12016-12-28 08:43:50 -0800321 select SYS_PPC64
Prabhakar Kushwahab0f8bae2017-02-02 15:01:13 +0530322 select FSL_IFC
Simon Glass4590d4e2017-05-17 03:25:10 -0600323 imply CMD_EEPROM
Tom Rini00448d22017-07-28 21:31:42 -0400324 imply CMD_NAND
Christophe Leroye538bbc2017-08-04 16:34:40 -0600325 imply CMD_REGINFO
York Sun68eaa9a2016-11-18 11:44:43 -0800326
York Suna80bdf72016-11-15 14:09:50 -0800327config ARCH_BSC9131
328 bool
York Sune7a6eaf2016-12-02 10:44:34 -0800329 select FSL_LAW
York Sun4e577972016-12-28 08:43:46 -0800330 select SYS_FSL_DDR_VER_44
York Sunbe735532016-12-28 08:43:43 -0800331 select SYS_FSL_ERRATUM_A004477
332 select SYS_FSL_ERRATUM_A005125
York Sun097e3602016-12-28 08:43:42 -0800333 select SYS_FSL_ERRATUM_ESDHC111
York Sund297d392016-12-28 08:43:40 -0800334 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800335 select SYS_FSL_HAS_SEC
York Sunfa4199422016-12-28 08:43:31 -0800336 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800337 select SYS_FSL_SEC_COMPAT_4
Prabhakar Kushwahab0f8bae2017-02-02 15:01:13 +0530338 select FSL_IFC
Simon Glass4590d4e2017-05-17 03:25:10 -0600339 imply CMD_EEPROM
Tom Rini00448d22017-07-28 21:31:42 -0400340 imply CMD_NAND
Christophe Leroye538bbc2017-08-04 16:34:40 -0600341 imply CMD_REGINFO
York Suna80bdf72016-11-15 14:09:50 -0800342
343config ARCH_BSC9132
344 bool
York Sune7a6eaf2016-12-02 10:44:34 -0800345 select FSL_LAW
York Sun4e577972016-12-28 08:43:46 -0800346 select SYS_FSL_DDR_VER_46
York Sunbe735532016-12-28 08:43:43 -0800347 select SYS_FSL_ERRATUM_A004477
348 select SYS_FSL_ERRATUM_A005125
349 select SYS_FSL_ERRATUM_A005434
York Sun097e3602016-12-28 08:43:42 -0800350 select SYS_FSL_ERRATUM_ESDHC111
York Sunbe735532016-12-28 08:43:43 -0800351 select SYS_FSL_ERRATUM_I2C_A004447
352 select SYS_FSL_ERRATUM_IFC_A002769
Hou Zhiqiang01500f52019-05-23 11:52:44 +0800353 select FSL_PCIE_RESET
York Sund297d392016-12-28 08:43:40 -0800354 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800355 select SYS_FSL_HAS_SEC
Tom Rini70850172022-07-31 21:08:28 -0400356 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v22
York Sunfa4199422016-12-28 08:43:31 -0800357 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800358 select SYS_FSL_SEC_COMPAT_4
York Sun85ab6f02016-12-28 08:43:29 -0800359 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwahab0f8bae2017-02-02 15:01:13 +0530360 select FSL_IFC
Simon Glass4590d4e2017-05-17 03:25:10 -0600361 imply CMD_EEPROM
Tom Rinic20bb732017-07-22 18:36:16 -0400362 imply CMD_MTDPARTS
Tom Rini00448d22017-07-28 21:31:42 -0400363 imply CMD_NAND
Simon Glassc88a09a2017-08-04 16:34:34 -0600364 imply CMD_PCI
Christophe Leroye538bbc2017-08-04 16:34:40 -0600365 imply CMD_REGINFO
York Suna80bdf72016-11-15 14:09:50 -0800366
York Sun4119aee2016-11-15 18:44:22 -0800367config ARCH_C29X
368 bool
York Sune7a6eaf2016-12-02 10:44:34 -0800369 select FSL_LAW
York Sun4e577972016-12-28 08:43:46 -0800370 select SYS_FSL_DDR_VER_46
York Sunbe735532016-12-28 08:43:43 -0800371 select SYS_FSL_ERRATUM_A005125
York Sun097e3602016-12-28 08:43:42 -0800372 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiang01500f52019-05-23 11:52:44 +0800373 select FSL_PCIE_RESET
York Sund297d392016-12-28 08:43:40 -0800374 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800375 select SYS_FSL_HAS_SEC
York Sunfa4199422016-12-28 08:43:31 -0800376 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800377 select SYS_FSL_SEC_COMPAT_6
York Sun85ab6f02016-12-28 08:43:29 -0800378 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwahab0f8bae2017-02-02 15:01:13 +0530379 select FSL_IFC
Tom Rini00448d22017-07-28 21:31:42 -0400380 imply CMD_NAND
Simon Glassc88a09a2017-08-04 16:34:34 -0600381 imply CMD_PCI
Christophe Leroye538bbc2017-08-04 16:34:40 -0600382 imply CMD_REGINFO
York Sun4119aee2016-11-15 18:44:22 -0800383
York Sun5557d6b2016-11-16 11:06:47 -0800384config ARCH_MPC8536
385 bool
York Sune7a6eaf2016-12-02 10:44:34 -0800386 select FSL_LAW
York Sunbe735532016-12-28 08:43:43 -0800387 select SYS_FSL_ERRATUM_A004508
388 select SYS_FSL_ERRATUM_A005125
Hou Zhiqiang01500f52019-05-23 11:52:44 +0800389 select FSL_PCIE_RESET
York Sund297d392016-12-28 08:43:40 -0800390 select SYS_FSL_HAS_DDR2
391 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800392 select SYS_FSL_HAS_SEC
York Sunfa4199422016-12-28 08:43:31 -0800393 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800394 select SYS_FSL_SEC_COMPAT_2
York Sun85ab6f02016-12-28 08:43:29 -0800395 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha4c6be552017-02-02 15:01:48 +0530396 select FSL_ELBC
Tom Rini00448d22017-07-28 21:31:42 -0400397 imply CMD_NAND
Simon Glass203b3ab2017-06-14 21:28:24 -0600398 imply CMD_SATA
Christophe Leroye538bbc2017-08-04 16:34:40 -0600399 imply CMD_REGINFO
York Sun5557d6b2016-11-16 11:06:47 -0800400
York Sun5ddce892016-11-16 11:13:06 -0800401config ARCH_MPC8540
402 bool
York Sune7a6eaf2016-12-02 10:44:34 -0800403 select FSL_LAW
York Sund297d392016-12-28 08:43:40 -0800404 select SYS_FSL_HAS_DDR1
York Sun5ddce892016-11-16 11:13:06 -0800405
York Sun5ac012a2016-11-15 13:57:15 -0800406config ARCH_MPC8544
407 bool
Tom Rinie59f3242022-02-23 12:28:15 -0500408 select BTB
York Sune7a6eaf2016-12-02 10:44:34 -0800409 select FSL_LAW
Tom Rini3ef67ae2021-08-26 11:47:59 -0400410 select SYS_CACHE_SHIFT_5
York Sunbe735532016-12-28 08:43:43 -0800411 select SYS_FSL_ERRATUM_A005125
Hou Zhiqiang01500f52019-05-23 11:52:44 +0800412 select FSL_PCIE_RESET
York Sund297d392016-12-28 08:43:40 -0800413 select SYS_FSL_HAS_DDR2
York Sun92c36e22016-12-28 08:43:30 -0800414 select SYS_FSL_HAS_SEC
York Sunfa4199422016-12-28 08:43:31 -0800415 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800416 select SYS_FSL_SEC_COMPAT_2
York Sun85ab6f02016-12-28 08:43:29 -0800417 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha4c6be552017-02-02 15:01:48 +0530418 select FSL_ELBC
York Sun5ac012a2016-11-15 13:57:15 -0800419
York Sunefc49e02016-11-15 13:52:34 -0800420config ARCH_MPC8548
421 bool
Tom Rinie59f3242022-02-23 12:28:15 -0500422 select BTB
York Sune7a6eaf2016-12-02 10:44:34 -0800423 select FSL_LAW
York Sunbe735532016-12-28 08:43:43 -0800424 select SYS_FSL_ERRATUM_A005125
425 select SYS_FSL_ERRATUM_NMG_DDR120
426 select SYS_FSL_ERRATUM_NMG_LBC103
427 select SYS_FSL_ERRATUM_NMG_ETSEC129
428 select SYS_FSL_ERRATUM_I2C_A004447
Hou Zhiqiang01500f52019-05-23 11:52:44 +0800429 select FSL_PCIE_RESET
York Sund297d392016-12-28 08:43:40 -0800430 select SYS_FSL_HAS_DDR2
431 select SYS_FSL_HAS_DDR1
York Sun92c36e22016-12-28 08:43:30 -0800432 select SYS_FSL_HAS_SEC
Tom Rini8d7aa572022-07-31 21:08:29 -0400433 select SYS_FSL_RMU
York Sunfa4199422016-12-28 08:43:31 -0800434 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800435 select SYS_FSL_SEC_COMPAT_2
York Sun85ab6f02016-12-28 08:43:29 -0800436 select SYS_PPC_E500_USE_DEBUG_TLB
Christophe Leroye538bbc2017-08-04 16:34:40 -0600437 imply CMD_REGINFO
York Sunefc49e02016-11-15 13:52:34 -0800438
York Sunb4046f42016-11-16 11:26:45 -0800439config ARCH_MPC8560
440 bool
York Sune7a6eaf2016-12-02 10:44:34 -0800441 select FSL_LAW
York Sund297d392016-12-28 08:43:40 -0800442 select SYS_FSL_HAS_DDR1
York Sunb4046f42016-11-16 11:26:45 -0800443
York Sun24f88b32016-11-16 13:08:52 -0800444config ARCH_P1010
445 bool
Tom Rini2404edc2022-03-11 09:11:59 -0500446 select A003399_NOR_WORKAROUND if SYS_FSL_ERRATUM_IFC_A003399 && !SPL
Tom Rinie59f3242022-02-23 12:28:15 -0500447 select BTB
York Sune7a6eaf2016-12-02 10:44:34 -0800448 select FSL_LAW
Tom Rini3ef67ae2021-08-26 11:47:59 -0400449 select SYS_CACHE_SHIFT_5
Tom Rinid391d8b2021-12-11 14:55:51 -0500450 select SYS_HAS_SERDES
York Sunbe735532016-12-28 08:43:43 -0800451 select SYS_FSL_ERRATUM_A004477
452 select SYS_FSL_ERRATUM_A004508
453 select SYS_FSL_ERRATUM_A005125
Chris Packham434f0582018-10-04 20:03:53 +1300454 select SYS_FSL_ERRATUM_A005275
York Sunbe735532016-12-28 08:43:43 -0800455 select SYS_FSL_ERRATUM_A006261
456 select SYS_FSL_ERRATUM_A007075
York Sun097e3602016-12-28 08:43:42 -0800457 select SYS_FSL_ERRATUM_ESDHC111
York Sunbe735532016-12-28 08:43:43 -0800458 select SYS_FSL_ERRATUM_I2C_A004447
459 select SYS_FSL_ERRATUM_IFC_A002769
460 select SYS_FSL_ERRATUM_P1010_A003549
461 select SYS_FSL_ERRATUM_SEC_A003571
462 select SYS_FSL_ERRATUM_IFC_A003399
Hou Zhiqiang01500f52019-05-23 11:52:44 +0800463 select FSL_PCIE_RESET
York Sund297d392016-12-28 08:43:40 -0800464 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800465 select SYS_FSL_HAS_SEC
Tom Rini70850172022-07-31 21:08:28 -0400466 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v22
York Sunfa4199422016-12-28 08:43:31 -0800467 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800468 select SYS_FSL_SEC_COMPAT_4
Tom Rini8d7aa572022-07-31 21:08:29 -0400469 select SYS_FSL_USB1_PHY_ENABLE
York Sun85ab6f02016-12-28 08:43:29 -0800470 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwahab0f8bae2017-02-02 15:01:13 +0530471 select FSL_IFC
Simon Glass4590d4e2017-05-17 03:25:10 -0600472 imply CMD_EEPROM
Tom Rinic20bb732017-07-22 18:36:16 -0400473 imply CMD_MTDPARTS
Tom Rini00448d22017-07-28 21:31:42 -0400474 imply CMD_NAND
Simon Glass203b3ab2017-06-14 21:28:24 -0600475 imply CMD_SATA
Simon Glassc88a09a2017-08-04 16:34:34 -0600476 imply CMD_PCI
Christophe Leroye538bbc2017-08-04 16:34:40 -0600477 imply CMD_REGINFO
Tuomas Tynkkynen8df5dd32017-12-08 15:36:17 +0200478 imply FSL_SATA
Simon Glass65831d92021-12-18 11:27:50 -0700479 imply TIMESTAMP
York Sun24f88b32016-11-16 13:08:52 -0800480
York Sun3680e592016-11-16 15:54:15 -0800481config ARCH_P1011
482 bool
York Sune7a6eaf2016-12-02 10:44:34 -0800483 select FSL_LAW
York Sunbe735532016-12-28 08:43:43 -0800484 select SYS_FSL_ERRATUM_A004508
485 select SYS_FSL_ERRATUM_A005125
486 select SYS_FSL_ERRATUM_ELBC_A001
York Sun097e3602016-12-28 08:43:42 -0800487 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiangdeb47f52019-05-22 22:46:03 +0800488 select FSL_PCIE_DISABLE_ASPM
York Sund297d392016-12-28 08:43:40 -0800489 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800490 select SYS_FSL_HAS_SEC
York Sunfa4199422016-12-28 08:43:31 -0800491 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800492 select SYS_FSL_SEC_COMPAT_2
York Sun85ab6f02016-12-28 08:43:29 -0800493 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha4c6be552017-02-02 15:01:48 +0530494 select FSL_ELBC
York Sun3680e592016-11-16 15:54:15 -0800495
York Sunaf2dc812016-11-18 10:02:14 -0800496config ARCH_P1020
497 bool
Tom Rinie59f3242022-02-23 12:28:15 -0500498 select BTB
York Sune7a6eaf2016-12-02 10:44:34 -0800499 select FSL_LAW
Tom Rini3ef67ae2021-08-26 11:47:59 -0400500 select SYS_CACHE_SHIFT_5
York Sunbe735532016-12-28 08:43:43 -0800501 select SYS_FSL_ERRATUM_A004508
502 select SYS_FSL_ERRATUM_A005125
503 select SYS_FSL_ERRATUM_ELBC_A001
York Sun097e3602016-12-28 08:43:42 -0800504 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiangdeb47f52019-05-22 22:46:03 +0800505 select FSL_PCIE_DISABLE_ASPM
Hou Zhiqiang01500f52019-05-23 11:52:44 +0800506 select FSL_PCIE_RESET
York Sund297d392016-12-28 08:43:40 -0800507 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800508 select SYS_FSL_HAS_SEC
York Sunfa4199422016-12-28 08:43:31 -0800509 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800510 select SYS_FSL_SEC_COMPAT_2
York Sun85ab6f02016-12-28 08:43:29 -0800511 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha4c6be552017-02-02 15:01:48 +0530512 select FSL_ELBC
Tom Rini00448d22017-07-28 21:31:42 -0400513 imply CMD_NAND
Simon Glass203b3ab2017-06-14 21:28:24 -0600514 imply CMD_SATA
Simon Glassc88a09a2017-08-04 16:34:34 -0600515 imply CMD_PCI
Christophe Leroye538bbc2017-08-04 16:34:40 -0600516 imply CMD_REGINFO
Tuomas Tynkkynen104a5372017-12-08 15:36:14 +0200517 imply SATA_SIL
York Sunaf2dc812016-11-18 10:02:14 -0800518
York Sun2f924be2016-11-18 10:59:02 -0800519config ARCH_P1021
520 bool
York Sune7a6eaf2016-12-02 10:44:34 -0800521 select FSL_LAW
York Sunbe735532016-12-28 08:43:43 -0800522 select SYS_FSL_ERRATUM_A004508
523 select SYS_FSL_ERRATUM_A005125
524 select SYS_FSL_ERRATUM_ELBC_A001
York Sun097e3602016-12-28 08:43:42 -0800525 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiangdeb47f52019-05-22 22:46:03 +0800526 select FSL_PCIE_DISABLE_ASPM
Hou Zhiqiang01500f52019-05-23 11:52:44 +0800527 select FSL_PCIE_RESET
York Sund297d392016-12-28 08:43:40 -0800528 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800529 select SYS_FSL_HAS_SEC
York Sunfa4199422016-12-28 08:43:31 -0800530 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800531 select SYS_FSL_SEC_COMPAT_2
York Sun85ab6f02016-12-28 08:43:29 -0800532 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha4c6be552017-02-02 15:01:48 +0530533 select FSL_ELBC
Christophe Leroye538bbc2017-08-04 16:34:40 -0600534 imply CMD_REGINFO
Tom Rini00448d22017-07-28 21:31:42 -0400535 imply CMD_NAND
Simon Glass203b3ab2017-06-14 21:28:24 -0600536 imply CMD_SATA
Christophe Leroye538bbc2017-08-04 16:34:40 -0600537 imply CMD_REGINFO
Tuomas Tynkkynen104a5372017-12-08 15:36:14 +0200538 imply SATA_SIL
York Sun2f924be2016-11-18 10:59:02 -0800539
York Sunfeeaae22016-11-16 15:45:31 -0800540config ARCH_P1023
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_I2C_A004447
Hou Zhiqiang01500f52019-05-23 11:52:44 +0800546 select FSL_PCIE_RESET
York Sund297d392016-12-28 08:43:40 -0800547 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800548 select SYS_FSL_HAS_SEC
Tom Rini70850172022-07-31 21:08:28 -0400549 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v22
York Sunfa4199422016-12-28 08:43:31 -0800550 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800551 select SYS_FSL_SEC_COMPAT_4
Prabhakar Kushwaha4c6be552017-02-02 15:01:48 +0530552 select FSL_ELBC
York Sunfeeaae22016-11-16 15:45:31 -0800553
York Sun76780b22016-11-18 11:00:57 -0800554config ARCH_P1024
555 bool
York Sune7a6eaf2016-12-02 10:44:34 -0800556 select FSL_LAW
York Sunbe735532016-12-28 08:43:43 -0800557 select SYS_FSL_ERRATUM_A004508
558 select SYS_FSL_ERRATUM_A005125
559 select SYS_FSL_ERRATUM_ELBC_A001
York Sun097e3602016-12-28 08:43:42 -0800560 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiangdeb47f52019-05-22 22:46:03 +0800561 select FSL_PCIE_DISABLE_ASPM
Hou Zhiqiang01500f52019-05-23 11:52:44 +0800562 select FSL_PCIE_RESET
York Sund297d392016-12-28 08:43:40 -0800563 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800564 select SYS_FSL_HAS_SEC
Tom Rini8d7aa572022-07-31 21:08:29 -0400565 select SYS_FSL_RMU
York Sunfa4199422016-12-28 08:43:31 -0800566 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800567 select SYS_FSL_SEC_COMPAT_2
York Sun85ab6f02016-12-28 08:43:29 -0800568 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha4c6be552017-02-02 15:01:48 +0530569 select FSL_ELBC
Simon Glass4590d4e2017-05-17 03:25:10 -0600570 imply CMD_EEPROM
Tom Rini00448d22017-07-28 21:31:42 -0400571 imply CMD_NAND
Simon Glass203b3ab2017-06-14 21:28:24 -0600572 imply CMD_SATA
Simon Glassc88a09a2017-08-04 16:34:34 -0600573 imply CMD_PCI
Christophe Leroye538bbc2017-08-04 16:34:40 -0600574 imply CMD_REGINFO
Tuomas Tynkkynen104a5372017-12-08 15:36:14 +0200575 imply SATA_SIL
York Sun76780b22016-11-18 11:00:57 -0800576
York Sun0f577972016-11-18 11:05:38 -0800577config ARCH_P1025
578 bool
York Sune7a6eaf2016-12-02 10:44:34 -0800579 select FSL_LAW
York Sunbe735532016-12-28 08:43:43 -0800580 select SYS_FSL_ERRATUM_A004508
581 select SYS_FSL_ERRATUM_A005125
582 select SYS_FSL_ERRATUM_ELBC_A001
York Sun097e3602016-12-28 08:43:42 -0800583 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiangdeb47f52019-05-22 22:46:03 +0800584 select FSL_PCIE_DISABLE_ASPM
Hou Zhiqiang01500f52019-05-23 11:52:44 +0800585 select FSL_PCIE_RESET
York Sund297d392016-12-28 08:43:40 -0800586 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800587 select SYS_FSL_HAS_SEC
York Sunfa4199422016-12-28 08:43:31 -0800588 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800589 select SYS_FSL_SEC_COMPAT_2
York Sun85ab6f02016-12-28 08:43:29 -0800590 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha4c6be552017-02-02 15:01:48 +0530591 select FSL_ELBC
Simon Glass203b3ab2017-06-14 21:28:24 -0600592 imply CMD_SATA
Christophe Leroye538bbc2017-08-04 16:34:40 -0600593 imply CMD_REGINFO
York Sun0f577972016-11-18 11:05:38 -0800594
York Sun4b08dd72016-11-18 11:08:43 -0800595config ARCH_P2020
596 bool
Tom Rinie59f3242022-02-23 12:28:15 -0500597 select BTB
York Sune7a6eaf2016-12-02 10:44:34 -0800598 select FSL_LAW
Tom Rini3ef67ae2021-08-26 11:47:59 -0400599 select SYS_CACHE_SHIFT_5
York Sunbe735532016-12-28 08:43:43 -0800600 select SYS_FSL_ERRATUM_A004477
601 select SYS_FSL_ERRATUM_A004508
602 select SYS_FSL_ERRATUM_A005125
York Sun097e3602016-12-28 08:43:42 -0800603 select SYS_FSL_ERRATUM_ESDHC111
604 select SYS_FSL_ERRATUM_ESDHC_A001
Hou Zhiqiang01500f52019-05-23 11:52:44 +0800605 select FSL_PCIE_RESET
York Sund297d392016-12-28 08:43:40 -0800606 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800607 select SYS_FSL_HAS_SEC
York Sunfa4199422016-12-28 08:43:31 -0800608 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800609 select SYS_FSL_SEC_COMPAT_2
York Sun85ab6f02016-12-28 08:43:29 -0800610 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha4c6be552017-02-02 15:01:48 +0530611 select FSL_ELBC
Simon Glass4590d4e2017-05-17 03:25:10 -0600612 imply CMD_EEPROM
Tom Rini00448d22017-07-28 21:31:42 -0400613 imply CMD_NAND
Christophe Leroye538bbc2017-08-04 16:34:40 -0600614 imply CMD_REGINFO
Simon Glass65831d92021-12-18 11:27:50 -0700615 imply TIMESTAMP
York Sun4b08dd72016-11-18 11:08:43 -0800616
York Sun5786fca2016-11-18 11:15:21 -0800617config ARCH_P2041
618 bool
Tom Rini1f05fe22022-03-18 08:38:32 -0400619 select BACKSIDE_L2_CACHE
York Sunaf5495a2016-12-28 08:43:27 -0800620 select E500MC
York Sune7a6eaf2016-12-02 10:44:34 -0800621 select FSL_LAW
Tom Rini3ef67ae2021-08-26 11:47:59 -0400622 select SYS_CACHE_SHIFT_6
Tom Rinif552a132022-11-16 13:10:34 -0500623 select SYS_DPAA_FMAN
624 select SYS_DPAA_PME
625 select SYS_DPAA_RMAN
York Sunbe735532016-12-28 08:43:43 -0800626 select SYS_FSL_ERRATUM_A004510
627 select SYS_FSL_ERRATUM_A004849
Chris Packham434f0582018-10-04 20:03:53 +1300628 select SYS_FSL_ERRATUM_A005275
York Sunbe735532016-12-28 08:43:43 -0800629 select SYS_FSL_ERRATUM_A006261
630 select SYS_FSL_ERRATUM_CPU_A003999
631 select SYS_FSL_ERRATUM_DDR_A003
632 select SYS_FSL_ERRATUM_DDR_A003474
York Sun097e3602016-12-28 08:43:42 -0800633 select SYS_FSL_ERRATUM_ESDHC111
York Sunbe735532016-12-28 08:43:43 -0800634 select SYS_FSL_ERRATUM_I2C_A004447
635 select SYS_FSL_ERRATUM_NMG_CPU_A011
636 select SYS_FSL_ERRATUM_SRIO_A004034
637 select SYS_FSL_ERRATUM_USB14
York Sund297d392016-12-28 08:43:40 -0800638 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800639 select SYS_FSL_HAS_SEC
York Sun0d3b8592016-12-28 08:43:49 -0800640 select SYS_FSL_QORIQ_CHASSIS1
Tom Rini70850172022-07-31 21:08:28 -0400641 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v22
York Sunfa4199422016-12-28 08:43:31 -0800642 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800643 select SYS_FSL_SEC_COMPAT_4
Tom Rini8d7aa572022-07-31 21:08:29 -0400644 select SYS_FSL_USB1_PHY_ENABLE
645 select SYS_FSL_USB2_PHY_ENABLE
Prabhakar Kushwaha4c6be552017-02-02 15:01:48 +0530646 select FSL_ELBC
Tom Rini00448d22017-07-28 21:31:42 -0400647 imply CMD_NAND
York Sun5786fca2016-11-18 11:15:21 -0800648
York Sundf70d062016-11-18 11:20:40 -0800649config ARCH_P3041
650 bool
Tom Rini1f05fe22022-03-18 08:38:32 -0400651 select BACKSIDE_L2_CACHE
York Sunaf5495a2016-12-28 08:43:27 -0800652 select E500MC
Tom Rini7374a712022-07-23 13:05:08 -0400653 select FSL_CORENET
York Sune7a6eaf2016-12-02 10:44:34 -0800654 select FSL_LAW
Tom Rini3ef67ae2021-08-26 11:47:59 -0400655 select SYS_CACHE_SHIFT_6
York Sun4e577972016-12-28 08:43:46 -0800656 select SYS_FSL_DDR_VER_44
York Sunbe735532016-12-28 08:43:43 -0800657 select SYS_FSL_ERRATUM_A004510
658 select SYS_FSL_ERRATUM_A004849
Chris Packham434f0582018-10-04 20:03:53 +1300659 select SYS_FSL_ERRATUM_A005275
York Sunbe735532016-12-28 08:43:43 -0800660 select SYS_FSL_ERRATUM_A005812
661 select SYS_FSL_ERRATUM_A006261
662 select SYS_FSL_ERRATUM_CPU_A003999
663 select SYS_FSL_ERRATUM_DDR_A003
664 select SYS_FSL_ERRATUM_DDR_A003474
York Sun097e3602016-12-28 08:43:42 -0800665 select SYS_FSL_ERRATUM_ESDHC111
York Sunbe735532016-12-28 08:43:43 -0800666 select SYS_FSL_ERRATUM_I2C_A004447
667 select SYS_FSL_ERRATUM_NMG_CPU_A011
668 select SYS_FSL_ERRATUM_SRIO_A004034
669 select SYS_FSL_ERRATUM_USB14
York Sund297d392016-12-28 08:43:40 -0800670 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800671 select SYS_FSL_HAS_SEC
York Sun0d3b8592016-12-28 08:43:49 -0800672 select SYS_FSL_QORIQ_CHASSIS1
Tom Rini70850172022-07-31 21:08:28 -0400673 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v22
York Sunfa4199422016-12-28 08:43:31 -0800674 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800675 select SYS_FSL_SEC_COMPAT_4
Tom Rini8d7aa572022-07-31 21:08:29 -0400676 select SYS_FSL_USB1_PHY_ENABLE
677 select SYS_FSL_USB2_PHY_ENABLE
Prabhakar Kushwaha4c6be552017-02-02 15:01:48 +0530678 select FSL_ELBC
Tom Rini00448d22017-07-28 21:31:42 -0400679 imply CMD_NAND
Simon Glass203b3ab2017-06-14 21:28:24 -0600680 imply CMD_SATA
Christophe Leroye538bbc2017-08-04 16:34:40 -0600681 imply CMD_REGINFO
Tuomas Tynkkynen8df5dd32017-12-08 15:36:17 +0200682 imply FSL_SATA
York Sundf70d062016-11-18 11:20:40 -0800683
York Sun84be8a92016-11-18 11:24:40 -0800684config ARCH_P4080
685 bool
Tom Rini1f05fe22022-03-18 08:38:32 -0400686 select BACKSIDE_L2_CACHE
York Sunaf5495a2016-12-28 08:43:27 -0800687 select E500MC
Tom Rini7374a712022-07-23 13:05:08 -0400688 select FSL_CORENET
York Sune7a6eaf2016-12-02 10:44:34 -0800689 select FSL_LAW
Tom Rini3ef67ae2021-08-26 11:47:59 -0400690 select SYS_CACHE_SHIFT_6
York Sun4e577972016-12-28 08:43:46 -0800691 select SYS_FSL_DDR_VER_44
York Sunbe735532016-12-28 08:43:43 -0800692 select SYS_FSL_ERRATUM_A004510
693 select SYS_FSL_ERRATUM_A004580
694 select SYS_FSL_ERRATUM_A004849
695 select SYS_FSL_ERRATUM_A005812
696 select SYS_FSL_ERRATUM_A007075
697 select SYS_FSL_ERRATUM_CPC_A002
698 select SYS_FSL_ERRATUM_CPC_A003
699 select SYS_FSL_ERRATUM_CPU_A003999
700 select SYS_FSL_ERRATUM_DDR_A003
701 select SYS_FSL_ERRATUM_DDR_A003474
702 select SYS_FSL_ERRATUM_ELBC_A001
York Sun097e3602016-12-28 08:43:42 -0800703 select SYS_FSL_ERRATUM_ESDHC111
704 select SYS_FSL_ERRATUM_ESDHC13
705 select SYS_FSL_ERRATUM_ESDHC135
York Sunbe735532016-12-28 08:43:43 -0800706 select SYS_FSL_ERRATUM_I2C_A004447
707 select SYS_FSL_ERRATUM_NMG_CPU_A011
708 select SYS_FSL_ERRATUM_SRIO_A004034
Tom Rini70850172022-07-31 21:08:28 -0400709 select SYS_FSL_PCIE_COMPAT_P4080_PCIE
York Sunbe735532016-12-28 08:43:43 -0800710 select SYS_P4080_ERRATUM_CPU22
711 select SYS_P4080_ERRATUM_PCIE_A003
712 select SYS_P4080_ERRATUM_SERDES8
713 select SYS_P4080_ERRATUM_SERDES9
714 select SYS_P4080_ERRATUM_SERDES_A001
715 select SYS_P4080_ERRATUM_SERDES_A005
York Sund297d392016-12-28 08:43:40 -0800716 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800717 select SYS_FSL_HAS_SEC
York Sun0d3b8592016-12-28 08:43:49 -0800718 select SYS_FSL_QORIQ_CHASSIS1
Tom Rini8d7aa572022-07-31 21:08:29 -0400719 select SYS_FSL_RMU
York Sunfa4199422016-12-28 08:43:31 -0800720 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800721 select SYS_FSL_SEC_COMPAT_4
Prabhakar Kushwaha4c6be552017-02-02 15:01:48 +0530722 select FSL_ELBC
Simon Glass203b3ab2017-06-14 21:28:24 -0600723 imply CMD_SATA
Christophe Leroye538bbc2017-08-04 16:34:40 -0600724 imply CMD_REGINFO
Tuomas Tynkkynen104a5372017-12-08 15:36:14 +0200725 imply SATA_SIL
York Sun84be8a92016-11-18 11:24:40 -0800726
York Suna3c5b662016-11-18 11:39:36 -0800727config ARCH_P5040
728 bool
Tom Rini1f05fe22022-03-18 08:38:32 -0400729 select BACKSIDE_L2_CACHE
York Sunaf5495a2016-12-28 08:43:27 -0800730 select E500MC
Tom Rini7374a712022-07-23 13:05:08 -0400731 select FSL_CORENET
York Sune7a6eaf2016-12-02 10:44:34 -0800732 select FSL_LAW
Tom Rini3ef67ae2021-08-26 11:47:59 -0400733 select SYS_CACHE_SHIFT_6
York Sun4e577972016-12-28 08:43:46 -0800734 select SYS_FSL_DDR_VER_44
York Sunbe735532016-12-28 08:43:43 -0800735 select SYS_FSL_ERRATUM_A004510
736 select SYS_FSL_ERRATUM_A004699
Chris Packham434f0582018-10-04 20:03:53 +1300737 select SYS_FSL_ERRATUM_A005275
York Sunbe735532016-12-28 08:43:43 -0800738 select SYS_FSL_ERRATUM_A005812
739 select SYS_FSL_ERRATUM_A006261
740 select SYS_FSL_ERRATUM_DDR_A003
741 select SYS_FSL_ERRATUM_DDR_A003474
York Sun097e3602016-12-28 08:43:42 -0800742 select SYS_FSL_ERRATUM_ESDHC111
York Sunbe735532016-12-28 08:43:43 -0800743 select SYS_FSL_ERRATUM_USB14
York Sund297d392016-12-28 08:43:40 -0800744 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800745 select SYS_FSL_HAS_SEC
York Sun0d3b8592016-12-28 08:43:49 -0800746 select SYS_FSL_QORIQ_CHASSIS1
Tom Rini70850172022-07-31 21:08:28 -0400747 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v24
York Sunfa4199422016-12-28 08:43:31 -0800748 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800749 select SYS_FSL_SEC_COMPAT_4
Tom Rini8d7aa572022-07-31 21:08:29 -0400750 select SYS_FSL_USB1_PHY_ENABLE
751 select SYS_FSL_USB2_PHY_ENABLE
York Sun7eafac12016-12-28 08:43:50 -0800752 select SYS_PPC64
Prabhakar Kushwaha4c6be552017-02-02 15:01:48 +0530753 select FSL_ELBC
Simon Glass203b3ab2017-06-14 21:28:24 -0600754 imply CMD_SATA
Christophe Leroye538bbc2017-08-04 16:34:40 -0600755 imply CMD_REGINFO
Tuomas Tynkkynen8df5dd32017-12-08 15:36:17 +0200756 imply FSL_SATA
York Suna3c5b662016-11-18 11:39:36 -0800757
York Sun51e91e82016-11-18 12:29:51 -0800758config ARCH_QEMU_E500
759 bool
Tom Rini3ef67ae2021-08-26 11:47:59 -0400760 select SYS_CACHE_SHIFT_5
York Sun51e91e82016-11-18 12:29:51 -0800761
York Sun7d29dd62016-11-18 13:01:34 -0800762config ARCH_T1024
763 bool
Tom Rini1f05fe22022-03-18 08:38:32 -0400764 select BACKSIDE_L2_CACHE
York Sunaf5495a2016-12-28 08:43:27 -0800765 select E500MC
Tom Rinic1c04bd2022-03-24 17:18:01 -0400766 select E5500
Tom Rini7374a712022-07-23 13:05:08 -0400767 select FSL_CORENET
York Sune7a6eaf2016-12-02 10:44:34 -0800768 select FSL_LAW
Tom Rini3ef67ae2021-08-26 11:47:59 -0400769 select SYS_CACHE_SHIFT_6
Tom Rinif552a132022-11-16 13:10:34 -0500770 select SYS_DPAA_FMAN
York Sun4e577972016-12-28 08:43:46 -0800771 select SYS_FSL_DDR_VER_50
York Sunbe735532016-12-28 08:43:43 -0800772 select SYS_FSL_ERRATUM_A008378
Jaiprakash Singhe230a922020-06-02 12:44:02 +0530773 select SYS_FSL_ERRATUM_A008109
York Sunbe735532016-12-28 08:43:43 -0800774 select SYS_FSL_ERRATUM_A009663
775 select SYS_FSL_ERRATUM_A009942
York Sun097e3602016-12-28 08:43:42 -0800776 select SYS_FSL_ERRATUM_ESDHC111
York Sund297d392016-12-28 08:43:40 -0800777 select SYS_FSL_HAS_DDR3
778 select SYS_FSL_HAS_DDR4
York Sun92c36e22016-12-28 08:43:30 -0800779 select SYS_FSL_HAS_SEC
York Sun0d3b8592016-12-28 08:43:49 -0800780 select SYS_FSL_QORIQ_CHASSIS2
Tom Rini70850172022-07-31 21:08:28 -0400781 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v24
York Sunfa4199422016-12-28 08:43:31 -0800782 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800783 select SYS_FSL_SEC_COMPAT_5
Tom Rini8d7aa572022-07-31 21:08:29 -0400784 select SYS_FSL_SINGLE_SOURCE_CLK
Tom Rinid6412852023-01-10 11:19:42 -0500785 select SYS_FSL_SRDS_1
Tom Rini8d7aa572022-07-31 21:08:29 -0400786 select SYS_FSL_QMAN_V3 if SYS_DPAA_QBMAN
787 select SYS_FSL_USB_DUAL_PHY_ENABLE
Prabhakar Kushwahab0f8bae2017-02-02 15:01:13 +0530788 select FSL_IFC
Simon Glass4590d4e2017-05-17 03:25:10 -0600789 imply CMD_EEPROM
Tom Rini00448d22017-07-28 21:31:42 -0400790 imply CMD_NAND
Tom Rinic20bb732017-07-22 18:36:16 -0400791 imply CMD_MTDPARTS
Christophe Leroye538bbc2017-08-04 16:34:40 -0600792 imply CMD_REGINFO
York Sun7d29dd62016-11-18 13:01:34 -0800793
York Suna5b5d882016-11-18 13:11:12 -0800794config ARCH_T1040
795 bool
Tom Rini1f05fe22022-03-18 08:38:32 -0400796 select BACKSIDE_L2_CACHE
York Sunaf5495a2016-12-28 08:43:27 -0800797 select E500MC
Tom Rinic1c04bd2022-03-24 17:18:01 -0400798 select E5500
Tom Rini7374a712022-07-23 13:05:08 -0400799 select FSL_CORENET
York Sune7a6eaf2016-12-02 10:44:34 -0800800 select FSL_LAW
Tom Rini3ef67ae2021-08-26 11:47:59 -0400801 select SYS_CACHE_SHIFT_6
Tom Rinif552a132022-11-16 13:10:34 -0500802 select SYS_DPAA_FMAN
803 select SYS_DPAA_PME
York Sun4e577972016-12-28 08:43:46 -0800804 select SYS_FSL_DDR_VER_50
York Sunbe735532016-12-28 08:43:43 -0800805 select SYS_FSL_ERRATUM_A008044
806 select SYS_FSL_ERRATUM_A008378
Joakim Tjernlund477602c2019-11-20 17:07:34 +0100807 select SYS_FSL_ERRATUM_A008109
York Sunbe735532016-12-28 08:43:43 -0800808 select SYS_FSL_ERRATUM_A009663
809 select SYS_FSL_ERRATUM_A009942
York Sun097e3602016-12-28 08:43:42 -0800810 select SYS_FSL_ERRATUM_ESDHC111
York Sund297d392016-12-28 08:43:40 -0800811 select SYS_FSL_HAS_DDR3
812 select SYS_FSL_HAS_DDR4
York Sun92c36e22016-12-28 08:43:30 -0800813 select SYS_FSL_HAS_SEC
York Sun0d3b8592016-12-28 08:43:49 -0800814 select SYS_FSL_QORIQ_CHASSIS2
Tom Rini70850172022-07-31 21:08:28 -0400815 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v24
York Sunfa4199422016-12-28 08:43:31 -0800816 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800817 select SYS_FSL_SEC_COMPAT_5
Tom Rini8d7aa572022-07-31 21:08:29 -0400818 select SYS_FSL_SINGLE_SOURCE_CLK
Tom Rinid6412852023-01-10 11:19:42 -0500819 select SYS_FSL_SRDS_1
Tom Rini8d7aa572022-07-31 21:08:29 -0400820 select SYS_FSL_QMAN_V3 if SYS_DPAA_QBMAN
821 select SYS_FSL_USB_DUAL_PHY_ENABLE
Prabhakar Kushwahab0f8bae2017-02-02 15:01:13 +0530822 select FSL_IFC
Tom Rinic20bb732017-07-22 18:36:16 -0400823 imply CMD_MTDPARTS
Tom Rini00448d22017-07-28 21:31:42 -0400824 imply CMD_NAND
Christophe Leroye538bbc2017-08-04 16:34:40 -0600825 imply CMD_REGINFO
York Suna5b5d882016-11-18 13:11:12 -0800826
York Sun2d7b2d42016-11-18 13:36:39 -0800827config ARCH_T1042
828 bool
Tom Rini1f05fe22022-03-18 08:38:32 -0400829 select BACKSIDE_L2_CACHE
York Sunaf5495a2016-12-28 08:43:27 -0800830 select E500MC
Tom Rinic1c04bd2022-03-24 17:18:01 -0400831 select E5500
Tom Rini7374a712022-07-23 13:05:08 -0400832 select FSL_CORENET
York Sune7a6eaf2016-12-02 10:44:34 -0800833 select FSL_LAW
Tom Rini3ef67ae2021-08-26 11:47:59 -0400834 select SYS_CACHE_SHIFT_6
Tom Rinif552a132022-11-16 13:10:34 -0500835 select SYS_DPAA_FMAN
836 select SYS_DPAA_PME
York Sun4e577972016-12-28 08:43:46 -0800837 select SYS_FSL_DDR_VER_50
York Sunbe735532016-12-28 08:43:43 -0800838 select SYS_FSL_ERRATUM_A008044
839 select SYS_FSL_ERRATUM_A008378
Joakim Tjernlund477602c2019-11-20 17:07:34 +0100840 select SYS_FSL_ERRATUM_A008109
York Sunbe735532016-12-28 08:43:43 -0800841 select SYS_FSL_ERRATUM_A009663
842 select SYS_FSL_ERRATUM_A009942
York Sun097e3602016-12-28 08:43:42 -0800843 select SYS_FSL_ERRATUM_ESDHC111
York Sund297d392016-12-28 08:43:40 -0800844 select SYS_FSL_HAS_DDR3
845 select SYS_FSL_HAS_DDR4
York Sun92c36e22016-12-28 08:43:30 -0800846 select SYS_FSL_HAS_SEC
York Sun0d3b8592016-12-28 08:43:49 -0800847 select SYS_FSL_QORIQ_CHASSIS2
Tom Rini70850172022-07-31 21:08:28 -0400848 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v24
York Sunfa4199422016-12-28 08:43:31 -0800849 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800850 select SYS_FSL_SEC_COMPAT_5
Tom Rini8d7aa572022-07-31 21:08:29 -0400851 select SYS_FSL_SINGLE_SOURCE_CLK
Tom Rinid6412852023-01-10 11:19:42 -0500852 select SYS_FSL_SRDS_1
Tom Rini8d7aa572022-07-31 21:08:29 -0400853 select SYS_FSL_QMAN_V3 if SYS_DPAA_QBMAN
854 select SYS_FSL_USB_DUAL_PHY_ENABLE
Prabhakar Kushwahab0f8bae2017-02-02 15:01:13 +0530855 select FSL_IFC
Tom Rinic20bb732017-07-22 18:36:16 -0400856 imply CMD_MTDPARTS
Tom Rini00448d22017-07-28 21:31:42 -0400857 imply CMD_NAND
Christophe Leroye538bbc2017-08-04 16:34:40 -0600858 imply CMD_REGINFO
York Sun2d7b2d42016-11-18 13:36:39 -0800859
York Sune20c6852016-11-21 12:54:19 -0800860config ARCH_T2080
861 bool
York Sunaf5495a2016-12-28 08:43:27 -0800862 select E500MC
York Sunf4e8a752016-12-28 08:43:48 -0800863 select E6500
Tom Rini7374a712022-07-23 13:05:08 -0400864 select FSL_CORENET
York Sune7a6eaf2016-12-02 10:44:34 -0800865 select FSL_LAW
Tom Rini3ef67ae2021-08-26 11:47:59 -0400866 select SYS_CACHE_SHIFT_6
Tom Rinif552a132022-11-16 13:10:34 -0500867 select SYS_DPAA_DCE if !NOBQFMAN
868 select SYS_DPAA_FMAN if !NOBQFMAN
869 select SYS_DPAA_PME if !NOBQFMAN
870 select SYS_DPAA_RMAN if !NOBQFMAN
York Sun4e577972016-12-28 08:43:46 -0800871 select SYS_FSL_DDR_VER_47
York Sunbe735532016-12-28 08:43:43 -0800872 select SYS_FSL_ERRATUM_A006379
873 select SYS_FSL_ERRATUM_A006593
Tom Rinia1663992022-06-16 14:04:40 -0400874 select SYS_FSL_ERRATUM_A007186 if CHAIN_OF_TRUST
York Sunbe735532016-12-28 08:43:43 -0800875 select SYS_FSL_ERRATUM_A007212
Tony O'Brien8acb1272016-12-02 09:22:34 +1300876 select SYS_FSL_ERRATUM_A007815
Darwin Dingela56d6c02016-10-25 09:48:01 +1300877 select SYS_FSL_ERRATUM_A007907
Jaiprakash Singhe230a922020-06-02 12:44:02 +0530878 select SYS_FSL_ERRATUM_A008109
York Sunbe735532016-12-28 08:43:43 -0800879 select SYS_FSL_ERRATUM_A009942
York Sun097e3602016-12-28 08:43:42 -0800880 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiang01500f52019-05-23 11:52:44 +0800881 select FSL_PCIE_RESET
York Sund297d392016-12-28 08:43:40 -0800882 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800883 select SYS_FSL_HAS_SEC
York Sun0d3b8592016-12-28 08:43:49 -0800884 select SYS_FSL_QORIQ_CHASSIS2
Tom Rini70850172022-07-31 21:08:28 -0400885 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v30
York Sunfa4199422016-12-28 08:43:31 -0800886 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800887 select SYS_FSL_SEC_COMPAT_4
Tom Rinid6412852023-01-10 11:19:42 -0500888 select SYS_FSL_SRDS_1
889 select SYS_FSL_SRDS_2
Tom Rini8d7aa572022-07-31 21:08:29 -0400890 select SYS_FSL_SRIO_LIODN
891 select SYS_FSL_QMAN_V3 if SYS_DPAA_QBMAN
892 select SYS_FSL_USB_DUAL_PHY_ENABLE
Tom Rinif552a132022-11-16 13:10:34 -0500893 select SYS_PMAN if !NOBQFMAN
York Sun7eafac12016-12-28 08:43:50 -0800894 select SYS_PPC64
Prabhakar Kushwahab0f8bae2017-02-02 15:01:13 +0530895 select FSL_IFC
Peng Ma34bed5d2019-12-23 09:28:12 +0000896 imply CMD_SATA
Tom Rini00448d22017-07-28 21:31:42 -0400897 imply CMD_NAND
Christophe Leroye538bbc2017-08-04 16:34:40 -0600898 imply CMD_REGINFO
Peng Ma34bed5d2019-12-23 09:28:12 +0000899 imply FSL_SATA
Tom Rini4abdf142021-08-17 17:59:41 -0400900 imply ID_EEPROM
York Sune20c6852016-11-21 12:54:19 -0800901
York Sun0fad3262016-11-21 13:35:41 -0800902config ARCH_T4240
903 bool
York Sunaf5495a2016-12-28 08:43:27 -0800904 select E500MC
York Sunf4e8a752016-12-28 08:43:48 -0800905 select E6500
Tom Rini7374a712022-07-23 13:05:08 -0400906 select FSL_CORENET
York Sune7a6eaf2016-12-02 10:44:34 -0800907 select FSL_LAW
Tom Rini3ef67ae2021-08-26 11:47:59 -0400908 select SYS_CACHE_SHIFT_6
Tom Rinif552a132022-11-16 13:10:34 -0500909 select SYS_DPAA_DCE if !NOBQFMAN
910 select SYS_DPAA_FMAN if !NOBQFMAN
911 select SYS_DPAA_PME if !NOBQFMAN
912 select SYS_DPAA_RMAN if !NOBQFMAN
York Sun4e577972016-12-28 08:43:46 -0800913 select SYS_FSL_DDR_VER_47
York Sunbe735532016-12-28 08:43:43 -0800914 select SYS_FSL_ERRATUM_A004468
915 select SYS_FSL_ERRATUM_A005871
916 select SYS_FSL_ERRATUM_A006261
917 select SYS_FSL_ERRATUM_A006379
918 select SYS_FSL_ERRATUM_A006593
Tom Rinia1663992022-06-16 14:04:40 -0400919 select SYS_FSL_ERRATUM_A007186 if CHAIN_OF_TRUST
York Sunbe735532016-12-28 08:43:43 -0800920 select SYS_FSL_ERRATUM_A007798
Tony O'Brien8acb1272016-12-02 09:22:34 +1300921 select SYS_FSL_ERRATUM_A007815
Darwin Dingela56d6c02016-10-25 09:48:01 +1300922 select SYS_FSL_ERRATUM_A007907
Jaiprakash Singhe230a922020-06-02 12:44:02 +0530923 select SYS_FSL_ERRATUM_A008109
York Sunbe735532016-12-28 08:43:43 -0800924 select SYS_FSL_ERRATUM_A009942
York Sund297d392016-12-28 08:43:40 -0800925 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800926 select SYS_FSL_HAS_SEC
York Sun0d3b8592016-12-28 08:43:49 -0800927 select SYS_FSL_QORIQ_CHASSIS2
Tom Rini70850172022-07-31 21:08:28 -0400928 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v30
York Sunfa4199422016-12-28 08:43:31 -0800929 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800930 select SYS_FSL_SEC_COMPAT_4
Tom Rinid6412852023-01-10 11:19:42 -0500931 select SYS_FSL_SRDS_1
932 select SYS_FSL_SRDS_2
Tom Rini8d7aa572022-07-31 21:08:29 -0400933 select SYS_FSL_SRIO_LIODN
934 select SYS_FSL_QMAN_V3 if SYS_DPAA_QBMAN
935 select SYS_FSL_USB_DUAL_PHY_ENABLE
Tom Rinif552a132022-11-16 13:10:34 -0500936 select SYS_PMAN if !NOBQFMAN
York Sun7eafac12016-12-28 08:43:50 -0800937 select SYS_PPC64
Prabhakar Kushwahab0f8bae2017-02-02 15:01:13 +0530938 select FSL_IFC
Simon Glass203b3ab2017-06-14 21:28:24 -0600939 imply CMD_SATA
Tom Rini00448d22017-07-28 21:31:42 -0400940 imply CMD_NAND
Christophe Leroye538bbc2017-08-04 16:34:40 -0600941 imply CMD_REGINFO
Tuomas Tynkkynen8df5dd32017-12-08 15:36:17 +0200942 imply FSL_SATA
York Sune7a6eaf2016-12-02 10:44:34 -0800943
Jagdish Gediya7f2ad252018-09-03 21:35:10 +0530944config MPC85XX_HAVE_RESET_VECTOR
Tom Riniaac81492022-12-04 10:13:40 -0500945 bool "Indicate reset vector at CFG_RESET_VECTOR_ADDRESS - 0xffc"
Jagdish Gediya7f2ad252018-09-03 21:35:10 +0530946 depends on MPC85xx
947
Tom Rinie59f3242022-02-23 12:28:15 -0500948config BTB
949 bool "toggle branch predition"
950
York Sunaf5495a2016-12-28 08:43:27 -0800951config BOOKE
952 bool
953 default y
954
955config E500
956 bool
957 default y
958 help
959 Enable PowerPC E500 cores, including e500v1, e500v2, e500mc
960
961config E500MC
962 bool
Tom Rinie59f3242022-02-23 12:28:15 -0500963 select BTB
Simon Glassc88a09a2017-08-04 16:34:34 -0600964 imply CMD_PCI
York Sunaf5495a2016-12-28 08:43:27 -0800965 help
966 Enble PowerPC E500MC core
967
Tom Rinic1c04bd2022-03-24 17:18:01 -0400968config E5500
969 bool
970
York Sunf4e8a752016-12-28 08:43:48 -0800971config E6500
972 bool
Tom Rinie59f3242022-02-23 12:28:15 -0500973 select BTB
York Sunf4e8a752016-12-28 08:43:48 -0800974 help
975 Enable PowerPC E6500 core
976
Tom Rinif552a132022-11-16 13:10:34 -0500977config NOBQFMAN
978 bool
979
York Sune7a6eaf2016-12-02 10:44:34 -0800980config FSL_LAW
981 bool
982 help
983 Use Freescale common code for Local Access Window
York Sun0fad3262016-11-21 13:35:41 -0800984
Tom Rini46f83262022-06-16 14:04:34 -0400985config HETROGENOUS_CLUSTERS
986 bool
987
York Suncbf7bf32016-11-23 12:30:40 -0800988config MAX_CPUS
989 int "Maximum number of CPUs permitted for MPC85xx"
990 default 12 if ARCH_T4240
Tom Rinia7ffa3d2021-05-23 10:58:05 -0400991 default 8 if ARCH_P4080
York Suncbf7bf32016-11-23 12:30:40 -0800992 default 4 if ARCH_B4860 || \
993 ARCH_P2041 || \
994 ARCH_P3041 || \
995 ARCH_P5040 || \
996 ARCH_T1040 || \
997 ARCH_T1042 || \
Tom Rini3ec582b2021-02-20 20:06:21 -0500998 ARCH_T2080
York Suncbf7bf32016-11-23 12:30:40 -0800999 default 2 if ARCH_B4420 || \
1000 ARCH_BSC9132 || \
York Suncbf7bf32016-11-23 12:30:40 -08001001 ARCH_P1020 || \
1002 ARCH_P1021 || \
York Suncbf7bf32016-11-23 12:30:40 -08001003 ARCH_P1023 || \
1004 ARCH_P1024 || \
1005 ARCH_P1025 || \
1006 ARCH_P2020 || \
York Suncbf7bf32016-11-23 12:30:40 -08001007 ARCH_T1024
1008 default 1
1009 help
1010 Set this number to the maximum number of possible CPUs in the SoC.
1011 SoCs may have multiple clusters with each cluster may have multiple
1012 ports. If some ports are reserved but higher ports are used for
1013 cores, count the reserved ports. This will allocate enough memory
1014 in spin table to properly handle all cores.
1015
York Sun7ea6f352016-12-01 13:26:06 -08001016config SYS_CCSRBAR_DEFAULT
1017 hex "Default CCSRBAR address"
1018 default 0xff700000 if ARCH_BSC9131 || \
1019 ARCH_BSC9132 || \
1020 ARCH_C29X || \
1021 ARCH_MPC8536 || \
1022 ARCH_MPC8540 || \
York Sun7ea6f352016-12-01 13:26:06 -08001023 ARCH_MPC8544 || \
1024 ARCH_MPC8548 || \
York Sun7ea6f352016-12-01 13:26:06 -08001025 ARCH_MPC8560 || \
York Sun7ea6f352016-12-01 13:26:06 -08001026 ARCH_P1010 || \
1027 ARCH_P1011 || \
1028 ARCH_P1020 || \
1029 ARCH_P1021 || \
York Sun7ea6f352016-12-01 13:26:06 -08001030 ARCH_P1024 || \
1031 ARCH_P1025 || \
1032 ARCH_P2020
1033 default 0xff600000 if ARCH_P1023
1034 default 0xfe000000 if ARCH_B4420 || \
1035 ARCH_B4860 || \
1036 ARCH_P2041 || \
1037 ARCH_P3041 || \
1038 ARCH_P4080 || \
York Sun7ea6f352016-12-01 13:26:06 -08001039 ARCH_P5040 || \
York Sun7ea6f352016-12-01 13:26:06 -08001040 ARCH_T1024 || \
1041 ARCH_T1040 || \
1042 ARCH_T1042 || \
1043 ARCH_T2080 || \
York Sun7ea6f352016-12-01 13:26:06 -08001044 ARCH_T4240
1045 default 0xe0000000 if ARCH_QEMU_E500
1046 help
1047 Default value of CCSRBAR comes from power-on-reset. It
1048 is fixed on each SoC. Some SoCs can have different value
1049 if changed by pre-boot regime. The value here must match
1050 the current value in SoC. If not sure, do not change.
1051
Tom Rinif552a132022-11-16 13:10:34 -05001052config SYS_DPAA_PME
1053 bool
1054
1055config SYS_DPAA_DCE
1056 bool
1057
1058config SYS_DPAA_RMAN
1059 bool
1060
Tom Rini2404edc2022-03-11 09:11:59 -05001061config A003399_NOR_WORKAROUND
1062 bool
1063 help
1064 Enables a workaround for IFC erratum A003399. It is only required
1065 during NOR boot.
1066
Tom Riniea2bbec2022-03-11 09:12:00 -05001067config A008044_WORKAROUND
1068 bool
1069 help
1070 Enables a workaround for T1040/T1042 erratum A008044. It is only
1071 required during NAND boot and valid for Rev 1.0 SoC revision
1072
York Sunbe735532016-12-28 08:43:43 -08001073config SYS_FSL_ERRATUM_A004468
1074 bool
1075
1076config SYS_FSL_ERRATUM_A004477
1077 bool
1078
1079config SYS_FSL_ERRATUM_A004508
1080 bool
1081
1082config SYS_FSL_ERRATUM_A004580
1083 bool
1084
1085config SYS_FSL_ERRATUM_A004699
1086 bool
1087
1088config SYS_FSL_ERRATUM_A004849
1089 bool
1090
1091config SYS_FSL_ERRATUM_A004510
1092 bool
1093
1094config SYS_FSL_ERRATUM_A004510_SVR_REV
1095 hex
1096 depends on SYS_FSL_ERRATUM_A004510
1097 default 0x20 if ARCH_P4080
1098 default 0x10
1099
1100config SYS_FSL_ERRATUM_A004510_SVR_REV2
1101 hex
1102 depends on (SYS_FSL_ERRATUM_A004510 && (ARCH_P2041 || ARCH_P3041))
1103 default 0x11
1104
1105config SYS_FSL_ERRATUM_A005125
1106 bool
1107
1108config SYS_FSL_ERRATUM_A005434
1109 bool
1110
1111config SYS_FSL_ERRATUM_A005812
1112 bool
1113
1114config SYS_FSL_ERRATUM_A005871
1115 bool
1116
Chris Packham434f0582018-10-04 20:03:53 +13001117config SYS_FSL_ERRATUM_A005275
1118 bool
1119
York Sunbe735532016-12-28 08:43:43 -08001120config SYS_FSL_ERRATUM_A006261
1121 bool
1122
1123config SYS_FSL_ERRATUM_A006379
1124 bool
1125
1126config SYS_FSL_ERRATUM_A006384
1127 bool
1128
1129config SYS_FSL_ERRATUM_A006475
1130 bool
1131
1132config SYS_FSL_ERRATUM_A006593
1133 bool
1134
1135config SYS_FSL_ERRATUM_A007075
1136 bool
1137
1138config SYS_FSL_ERRATUM_A007186
1139 bool
1140
1141config SYS_FSL_ERRATUM_A007212
1142 bool
1143
Tony O'Brien8acb1272016-12-02 09:22:34 +13001144config SYS_FSL_ERRATUM_A007815
1145 bool
1146
York Sunbe735532016-12-28 08:43:43 -08001147config SYS_FSL_ERRATUM_A007798
1148 bool
1149
Darwin Dingela56d6c02016-10-25 09:48:01 +13001150config SYS_FSL_ERRATUM_A007907
1151 bool
1152
York Sunbe735532016-12-28 08:43:43 -08001153config SYS_FSL_ERRATUM_A008044
1154 bool
Tom Riniea2bbec2022-03-11 09:12:00 -05001155 select A008044_WORKAROUND if MTD_RAW_NAND
York Sunbe735532016-12-28 08:43:43 -08001156
1157config SYS_FSL_ERRATUM_CPC_A002
1158 bool
1159
1160config SYS_FSL_ERRATUM_CPC_A003
1161 bool
1162
1163config SYS_FSL_ERRATUM_CPU_A003999
1164 bool
1165
1166config SYS_FSL_ERRATUM_ELBC_A001
1167 bool
1168
1169config SYS_FSL_ERRATUM_I2C_A004447
1170 bool
1171
1172config SYS_FSL_A004447_SVR_REV
1173 hex
1174 depends on SYS_FSL_ERRATUM_I2C_A004447
1175 default 0x00 if ARCH_MPC8548
1176 default 0x10 if ARCH_P1010
1177 default 0x11 if ARCH_P1023 || ARCH_P2041 || ARCH_BSC9132
Tom Rini30900822021-02-20 20:06:30 -05001178 default 0x20 if ARCH_P3041 || ARCH_P4080
York Sunbe735532016-12-28 08:43:43 -08001179
1180config SYS_FSL_ERRATUM_IFC_A002769
1181 bool
1182
1183config SYS_FSL_ERRATUM_IFC_A003399
1184 bool
1185
1186config SYS_FSL_ERRATUM_NMG_CPU_A011
1187 bool
1188
1189config SYS_FSL_ERRATUM_NMG_ETSEC129
1190 bool
1191
1192config SYS_FSL_ERRATUM_NMG_LBC103
1193 bool
1194
1195config SYS_FSL_ERRATUM_P1010_A003549
1196 bool
1197
1198config SYS_FSL_ERRATUM_SATA_A001
1199 bool
1200
1201config SYS_FSL_ERRATUM_SEC_A003571
1202 bool
1203
1204config SYS_FSL_ERRATUM_SRIO_A004034
1205 bool
1206
1207config SYS_FSL_ERRATUM_USB14
1208 bool
1209
1210config SYS_P4080_ERRATUM_CPU22
1211 bool
1212
1213config SYS_P4080_ERRATUM_PCIE_A003
1214 bool
1215
1216config SYS_P4080_ERRATUM_SERDES8
1217 bool
1218
1219config SYS_P4080_ERRATUM_SERDES9
1220 bool
1221
1222config SYS_P4080_ERRATUM_SERDES_A001
1223 bool
1224
1225config SYS_P4080_ERRATUM_SERDES_A005
1226 bool
1227
Hou Zhiqiangdeb47f52019-05-22 22:46:03 +08001228config FSL_PCIE_DISABLE_ASPM
1229 bool
1230
Hou Zhiqiang01500f52019-05-23 11:52:44 +08001231config FSL_PCIE_RESET
1232 bool
1233
Tom Rinif552a132022-11-16 13:10:34 -05001234config SYS_PMAN
1235 bool
1236
Tom Rini8d7aa572022-07-31 21:08:29 -04001237config SYS_FSL_RAID_ENGINE
1238 bool
1239
1240config SYS_FSL_RMU
1241 bool
1242
York Sun0d3b8592016-12-28 08:43:49 -08001243config SYS_FSL_QORIQ_CHASSIS1
1244 bool
1245
1246config SYS_FSL_QORIQ_CHASSIS2
1247 bool
1248
York Sun091e5e52016-12-01 14:05:02 -08001249config SYS_FSL_NUM_LAWS
1250 int "Number of local access windows"
1251 depends on FSL_LAW
1252 default 32 if ARCH_B4420 || \
1253 ARCH_B4860 || \
1254 ARCH_P2041 || \
1255 ARCH_P3041 || \
1256 ARCH_P4080 || \
York Sun091e5e52016-12-01 14:05:02 -08001257 ARCH_P5040 || \
1258 ARCH_T2080 || \
York Sun091e5e52016-12-01 14:05:02 -08001259 ARCH_T4240
Tom Rinib4e60262021-05-14 21:34:22 -04001260 default 16 if ARCH_T1024 || \
York Sun091e5e52016-12-01 14:05:02 -08001261 ARCH_T1040 || \
1262 ARCH_T1042
1263 default 12 if ARCH_BSC9131 || \
1264 ARCH_BSC9132 || \
1265 ARCH_C29X || \
1266 ARCH_MPC8536 || \
York Sun091e5e52016-12-01 14:05:02 -08001267 ARCH_P1010 || \
1268 ARCH_P1011 || \
1269 ARCH_P1020 || \
1270 ARCH_P1021 || \
York Sun091e5e52016-12-01 14:05:02 -08001271 ARCH_P1023 || \
1272 ARCH_P1024 || \
1273 ARCH_P1025 || \
1274 ARCH_P2020
1275 default 10 if ARCH_MPC8544 || \
Tom Rini31f56052021-05-14 21:34:23 -04001276 ARCH_MPC8548
York Sun091e5e52016-12-01 14:05:02 -08001277 default 8 if ARCH_MPC8540 || \
York Sun091e5e52016-12-01 14:05:02 -08001278 ARCH_MPC8560
1279 help
1280 Number of local access windows. This is fixed per SoC.
1281 If not sure, do not change.
1282
Tom Rinie2070212022-07-23 13:05:11 -04001283config SYS_FSL_CORES_PER_CLUSTER
1284 int
1285 depends on SYS_FSL_QORIQ_CHASSIS2
1286 default 4 if ARCH_B4860 || ARCH_T2080 || ARCH_T4240
1287 default 2 if ARCH_B4420
1288 default 1 if ARCH_T1024 || ARCH_T1040 || ARCH_T1042
1289
York Sunf4e8a752016-12-28 08:43:48 -08001290config SYS_FSL_THREADS_PER_CORE
1291 int
Tom Rinie2070212022-07-23 13:05:11 -04001292 depends on SYS_FSL_QORIQ_CHASSIS2
York Sunf4e8a752016-12-28 08:43:48 -08001293 default 2 if E6500
1294 default 1
1295
York Sun14e098d2016-12-28 08:43:28 -08001296config SYS_NUM_TLBCAMS
1297 int "Number of TLB CAM entries"
1298 default 64 if E500MC
1299 default 16
1300 help
1301 Number of TLB CAM entries for Book-E chips. 64 for E500MC,
1302 16 for other E500 SoCs.
1303
Tom Rinifc681b92022-12-02 16:42:33 -05001304config L2_CACHE
1305 bool "Enable L2 cache support"
1306
Tom Rini46f83262022-06-16 14:04:34 -04001307if HETROGENOUS_CLUSTERS
1308
1309config SYS_MAPLE
1310 def_bool y
1311
1312config SYS_CPRI
1313 def_bool y
1314
1315config PPC_CLUSTER_START
1316 int
1317 default 0
1318
1319config DSP_CLUSTER_START
1320 int
1321 default 1
1322
1323config SYS_CPRI_CLK
1324 int
1325 default 3
1326
1327config SYS_ULB_CLK
1328 int
1329 default 4
1330
1331config SYS_ETVPE_CLK
1332 int
1333 default 1
Tom Rini6fb86c12022-12-02 16:42:21 -05001334
1335config MAX_DSP_CPUS
1336 int
1337 default 12 if ARCH_B4860
1338 default 2 if ARCH_B4420
Tom Rini46f83262022-06-16 14:04:34 -04001339endif
1340
Tom Rinie4798922022-10-28 20:27:00 -04001341config SYS_L2_SIZE_256KB
1342 bool
1343
1344config SYS_L2_SIZE_512KB
1345 bool
1346
1347config SYS_L2_SIZE
1348 int
1349 default 262144 if SYS_L2_SIZE_256KB
1350 default 524288 if SYS_L2_SIZE_512KB
1351
Tom Rini1f05fe22022-03-18 08:38:32 -04001352config BACKSIDE_L2_CACHE
1353 bool
1354
Tom Rinie20e5712022-10-28 20:27:01 -04001355config SYS_L3_SIZE_256KB
1356 bool
1357
1358config SYS_L3_SIZE_512KB
1359 bool
1360
1361config SYS_L3_SIZE_1024KB
1362 bool
1363
1364config SYS_L3_SIZE
1365 int
1366 default 262144 if SYS_L3_SIZE_256KB
1367 default 524288 if SYS_L3_SIZE_512KB
1368 default 1048576 if SYS_L3_SIZE_512KB
1369
York Sun7eafac12016-12-28 08:43:50 -08001370config SYS_PPC64
1371 bool
1372
York Sun85ab6f02016-12-28 08:43:29 -08001373config SYS_PPC_E500_USE_DEBUG_TLB
1374 bool
1375
Prabhakar Kushwaha4c6be552017-02-02 15:01:48 +05301376config FSL_ELBC
1377 bool
1378
York Sun85ab6f02016-12-28 08:43:29 -08001379config SYS_PPC_E500_DEBUG_TLB
1380 int "Temporary TLB entry for external debugger"
1381 depends on SYS_PPC_E500_USE_DEBUG_TLB
1382 default 0 if ARCH_MPC8544 || ARCH_MPC8548
1383 default 1 if ARCH_MPC8536
Tom Rinie1ef7082021-05-14 21:34:25 -04001384 default 2 if ARCH_P1011 || \
York Sun85ab6f02016-12-28 08:43:29 -08001385 ARCH_P1020 || \
1386 ARCH_P1021 || \
York Sun85ab6f02016-12-28 08:43:29 -08001387 ARCH_P1024 || \
1388 ARCH_P1025 || \
1389 ARCH_P2020
1390 default 3 if ARCH_P1010 || \
1391 ARCH_BSC9132 || \
1392 ARCH_C29X
1393 help
1394 Select a temporary TLB entry to be used during boot to work
1395 around limitations in e500v1 and e500v2 external debugger
1396 support. This reduces the portions of the boot code where
1397 breakpoints and single stepping do not work. The value of this
1398 symbol should be set to the TLB1 entry to be used for this
1399 purpose. If unsure, do not change.
1400
Prabhakar Kushwaha3c48f582017-02-02 15:01:26 +05301401config SYS_FSL_IFC_CLK_DIV
1402 int "Divider of platform clock"
1403 depends on FSL_IFC
1404 default 2 if ARCH_B4420 || \
1405 ARCH_B4860 || \
1406 ARCH_T1024 || \
Prabhakar Kushwaha3c48f582017-02-02 15:01:26 +05301407 ARCH_T1040 || \
1408 ARCH_T1042 || \
Prabhakar Kushwaha3c48f582017-02-02 15:01:26 +05301409 ARCH_T4240
1410 default 1
1411 help
1412 Defines divider of platform clock(clock input to
1413 IFC controller).
1414
Prabhakar Kushwahabedc5622017-02-02 15:02:00 +05301415config SYS_FSL_LBC_CLK_DIV
1416 int "Divider of platform clock"
1417 depends on FSL_ELBC || ARCH_MPC8540 || \
Tom Rini7707c552021-05-14 21:34:20 -04001418 ARCH_MPC8548 || \
Tom Rini31f56052021-05-14 21:34:23 -04001419 ARCH_MPC8560
Prabhakar Kushwahabedc5622017-02-02 15:02:00 +05301420
1421 default 2 if ARCH_P2041 || \
1422 ARCH_P3041 || \
1423 ARCH_P4080 || \
Prabhakar Kushwahabedc5622017-02-02 15:02:00 +05301424 ARCH_P5040
1425 default 1
1426
1427 help
1428 Defines divider of platform clock(clock input to
1429 eLBC controller).
1430
Tom Rinia7fa9762022-06-15 12:03:45 -04001431config ENABLE_36BIT_PHYS
1432 bool "Enable 36bit physical address space support"
1433
Tom Rini2daaf642022-06-25 11:02:43 -04001434config SYS_BOOK3E_HV
1435 bool "Category E.HV is supported"
1436 depends on BOOKE
1437
Tom Rini7374a712022-07-23 13:05:08 -04001438config FSL_CORENET
1439 bool
1440 select SYS_FSL_CPC
1441
Tom Rini8d7aa572022-07-31 21:08:29 -04001442config FSL_NGPIXIS
1443 bool
1444
Tom Rinifc2dcd92022-06-25 11:02:45 -04001445config SYS_CPC_REINIT_F
1446 bool
1447 help
1448 The CPC is configured as SRAM at the time of U-Boot entry and is
1449 required to be re-initialized.
1450
1451config SYS_FSL_CPC
Tom Rini7374a712022-07-23 13:05:08 -04001452 bool
Tom Rinifc2dcd92022-06-25 11:02:45 -04001453
Tom Rini41e1a592022-06-27 13:35:46 -04001454config SYS_CACHE_STASHING
1455 bool "Enable cache stashing"
1456
Tom Rini70850172022-07-31 21:08:28 -04001457config SYS_FSL_PCIE_COMPAT_P4080_PCIE
1458 bool
1459
1460config SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v22
1461 bool
1462
1463config SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v24
1464 bool
1465
1466config SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v30
1467 bool
1468
1469config SYS_FSL_PCIE_COMPAT
1470 string
1471 depends on FSL_CORENET
1472 default "fsl,p4080-pcie" if SYS_FSL_PCIE_COMPAT_P4080_PCIE
1473 default "fsl,qoriq-pcie-v2.2" if SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v22
1474 default "fsl,qoriq-pcie-v2.4" if SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v24
1475 default "fsl,qoriq-pcie-v3.0" if SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v30
1476 help
1477 Defines the string to utilize when trying to match PCIe device tree
1478 nodes for the given platform.
1479
Tom Rini8d7aa572022-07-31 21:08:29 -04001480config SYS_FSL_SINGLE_SOURCE_CLK
1481 bool
1482
1483config SYS_FSL_SRIO_LIODN
1484 bool
1485
1486config SYS_FSL_TBCLK_DIV
1487 int
1488 default 32 if ARCH_P2041 || ARCH_P3041
1489 default 16 if ARCH_P4080 || ARCH_P5040 || ARCH_T4240 || ARCH_B4860 || \
1490 ARCH_B4420 || ARCH_T1040 || ARCH_T1042 || \
1491 ARCH_T1024 || ARCH_T2080
1492 default 8
1493 help
1494 Defines the core time base clock divider ratio compared to the system
1495 clock. On most PQ3 devices this is 8, on newer QorIQ devices it can
1496 be 16 or 32. The ratio varies from SoC to Soc.
1497
1498config SYS_FSL_USB1_PHY_ENABLE
1499 bool
1500
1501config SYS_FSL_USB2_PHY_ENABLE
1502 bool
1503
1504config SYS_FSL_USB_DUAL_PHY_ENABLE
1505 bool
1506
Tom Rini667dd4f2022-06-10 22:59:37 -04001507config SYS_MPC85XX_NO_RESETVEC
1508 bool "Discard resetvec section and move bootpg section up"
Tom Rinic3e45b92022-12-29 09:50:03 -05001509 depends on MPC85xx && !MPC85XX_HAVE_RESET_VECTOR
Tom Rini667dd4f2022-06-10 22:59:37 -04001510 help
1511 If this variable is specified, the section .resetvec is not kept and
1512 the section .bootpg is placed in the previous 4k of the .text section.
1513
1514config SPL_SYS_MPC85XX_NO_RESETVEC
1515 bool "Discard resetvec section and move bootpg section up, in SPL"
Tom Rinic3e45b92022-12-29 09:50:03 -05001516 depends on MPC85xx && SPL && !MPC85XX_HAVE_RESET_VECTOR
Tom Rini667dd4f2022-06-10 22:59:37 -04001517 help
1518 If this variable is specified, the section .resetvec is not kept and
1519 the section .bootpg is placed in the previous 4k of the .text section,
1520 of the SPL portion of the binary.
1521
1522config TPL_SYS_MPC85XX_NO_RESETVEC
1523 bool "Discard resetvec section and move bootpg section up, in TPL"
Tom Rinic3e45b92022-12-29 09:50:03 -05001524 depends on MPC85xx && TPL && !MPC85XX_HAVE_RESET_VECTOR
Tom Rini667dd4f2022-06-10 22:59:37 -04001525 help
1526 If this variable is specified, the section .resetvec is not kept and
1527 the section .bootpg is placed in the previous 4k of the .text section,
1528 of the SPL portion of the binary.
1529
Rajesh Bhagat6d072982021-02-15 09:46:14 +01001530config FSL_VIA
1531 bool
1532
Bin Meng2076d992021-02-25 17:22:58 +08001533source "board/emulation/qemu-ppce500/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001534source "board/freescale/mpc8548cds/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001535source "board/freescale/p1010rdb/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001536source "board/freescale/p1_p2_rdb_pc/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001537source "board/freescale/p2041rdb/Kconfig"
Shengzhou Liu49912402014-11-24 17:11:56 +08001538source "board/freescale/t102xrdb/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001539source "board/freescale/t104xrdb/Kconfig"
1540source "board/freescale/t208xqds/Kconfig"
1541source "board/freescale/t208xrdb/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001542source "board/freescale/t4rdb/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001543source "board/socrates/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001544
1545endmenu