blob: fd0ef3633b77680cab4fa6be89a359ddc922bfc3 [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
Pali Rohár6763ff82024-06-06 18:33:26 +0200176config TARGET_TURRIS_1X
177 bool "Support Turris 1.x"
178 select SUPPORT_SPL
179 select ARCH_P2020
Tom Rini79448332024-07-13 08:38:38 -0600180 select BOARD_EARLY_INIT_F
181 select BOARD_EARLY_INIT_R
182 select LAST_STAGE_INIT
183 select OF_BOARD_SETUP
Pali Rohár6763ff82024-06-06 18:33:26 +0200184 select SYS_L2_SIZE_512KB
185
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900186config TARGET_P2041RDB
187 bool "Support P2041RDB"
York Sun5786fca2016-11-18 11:15:21 -0800188 select ARCH_P2041
Tom Rini22d567e2017-01-22 19:43:11 -0500189 select BOARD_LATE_INIT if CHAIN_OF_TRUST
Tom Rini7374a712022-07-23 13:05:08 -0400190 select FSL_CORENET
Masahiro Yamada653e9fe2016-07-25 19:56:03 +0900191 select PHYS_64BIT
Tom Rinie20e5712022-10-28 20:27:01 -0400192 select SYS_L3_SIZE_1024KB
Simon Glass203b3ab2017-06-14 21:28:24 -0600193 imply CMD_SATA
Tuomas Tynkkynen8df5dd32017-12-08 15:36:17 +0200194 imply FSL_SATA
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900195
196config TARGET_QEMU_PPCE500
197 bool "Support qemu-ppce500"
York Sun51e91e82016-11-18 12:29:51 -0800198 select ARCH_QEMU_E500
Masahiro Yamada653e9fe2016-07-25 19:56:03 +0900199 select PHYS_64BIT
Tom Rinieb4f2de2022-06-25 11:02:44 -0400200 select SYS_RAMBOOT
Simon Glass94886db2021-12-16 20:59:36 -0700201 imply OF_HAS_PRIOR_STAGE
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900202
York Suna5ca1422016-11-18 12:45:44 -0800203config TARGET_T1024RDB
204 bool "Support T1024RDB"
York Sun7d29dd62016-11-18 13:01:34 -0800205 select ARCH_T1024
Tom Rini22d567e2017-01-22 19:43:11 -0500206 select BOARD_LATE_INIT if CHAIN_OF_TRUST
Shengzhou Liu49912402014-11-24 17:11:56 +0800207 select SUPPORT_SPL
Masahiro Yamada653e9fe2016-07-25 19:56:03 +0900208 select PHYS_64BIT
Rajesh Bhagatba2414f2019-02-01 05:22:01 +0000209 select FSL_DDR_INTERACTIVE
Tom Rinie20e5712022-10-28 20:27:01 -0400210 select SYS_L3_SIZE_256KB
Simon Glass4590d4e2017-05-17 03:25:10 -0600211 imply CMD_EEPROM
Masahiro Yamadaacede7a2017-12-04 12:37:00 +0900212 imply PANIC_HANG
Shengzhou Liu49912402014-11-24 17:11:56 +0800213
York Sund08610d2016-11-21 11:04:34 -0800214config TARGET_T1042D4RDB
215 bool "Support T1042D4RDB"
216 select ARCH_T1042
Tom Rini22d567e2017-01-22 19:43:11 -0500217 select BOARD_LATE_INIT if CHAIN_OF_TRUST
York Sund08610d2016-11-21 11:04:34 -0800218 select SUPPORT_SPL
219 select PHYS_64BIT
Tom Rinie20e5712022-10-28 20:27:01 -0400220 select SYS_L3_SIZE_256KB
Masahiro Yamadaacede7a2017-12-04 12:37:00 +0900221 imply PANIC_HANG
York Sund08610d2016-11-21 11:04:34 -0800222
York Sund1a6c0f2016-11-21 12:46:58 -0800223config TARGET_T2080QDS
224 bool "Support T2080QDS"
York Sune20c6852016-11-21 12:54:19 -0800225 select ARCH_T2080
Tom Rini22d567e2017-01-22 19:43:11 -0500226 select BOARD_LATE_INIT if CHAIN_OF_TRUST
Masahiro Yamada6e0971b2014-10-20 17:45:56 +0900227 select SUPPORT_SPL
Masahiro Yamada653e9fe2016-07-25 19:56:03 +0900228 select PHYS_64BIT
Rajesh Bhagatba2414f2019-02-01 05:22:01 +0000229 select FSL_DDR_FIRST_SLOT_QUAD_CAPABLE
230 select FSL_DDR_INTERACTIVE
Tom Rinie20e5712022-10-28 20:27:01 -0400231 select SYS_L3_SIZE_512KB
Peng Ma34bed5d2019-12-23 09:28:12 +0000232 imply CMD_SATA
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900233
York Sun58459252016-11-21 12:57:22 -0800234config TARGET_T2080RDB
235 bool "Support T2080RDB"
York Sune20c6852016-11-21 12:54:19 -0800236 select ARCH_T2080
Tom Rini22d567e2017-01-22 19:43:11 -0500237 select BOARD_LATE_INIT if CHAIN_OF_TRUST
Masahiro Yamada6e0971b2014-10-20 17:45:56 +0900238 select SUPPORT_SPL
Masahiro Yamada653e9fe2016-07-25 19:56:03 +0900239 select PHYS_64BIT
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_T4240RDB
245 bool "Support T4240RDB"
York Sun0fad3262016-11-21 13:35:41 -0800246 select ARCH_T4240
Chunhe Lan66cba6b2015-03-20 17:08:54 +0800247 select SUPPORT_SPL
Masahiro Yamada653e9fe2016-07-25 19:56:03 +0900248 select PHYS_64BIT
Rajesh Bhagatba2414f2019-02-01 05:22:01 +0000249 select FSL_DDR_FIRST_SLOT_QUAD_CAPABLE
Tom Rinie20e5712022-10-28 20:27:01 -0400250 select SYS_L3_SIZE_512KB
Simon Glass203b3ab2017-06-14 21:28:24 -0600251 imply CMD_SATA
Masahiro Yamadaacede7a2017-12-04 12:37:00 +0900252 imply PANIC_HANG
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900253
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900254config TARGET_KMP204X
255 bool "Support kmp204x"
Pascal Linder305329f2019-06-18 13:27:47 +0200256 select VENDOR_KM
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900257
Niel Fouriedb7241d2021-01-21 13:19:20 +0100258config TARGET_KMCENT2
259 bool "Support kmcent2"
260 select VENDOR_KM
Tom Rini7d3684a2023-01-16 15:46:49 -0500261 select EVENT
Tom Rini7374a712022-07-23 13:05:08 -0400262 select FSL_CORENET
Tom Rinif552a132022-11-16 13:10:34 -0500263 select SYS_DPAA_FMAN
264 select SYS_DPAA_PME
Tom Rinie20e5712022-10-28 20:27:01 -0400265 select SYS_L3_SIZE_256KB
Niel Fouriedb7241d2021-01-21 13:19:20 +0100266
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900267endchoice
268
York Sunfda566d2016-11-18 11:56:57 -0800269config ARCH_B4420
270 bool
York Sunaf5495a2016-12-28 08:43:27 -0800271 select E500MC
York Sunf4e8a752016-12-28 08:43:48 -0800272 select E6500
Tom Rini7374a712022-07-23 13:05:08 -0400273 select FSL_CORENET
York Sune7a6eaf2016-12-02 10:44:34 -0800274 select FSL_LAW
Tom Rini46f83262022-06-16 14:04:34 -0400275 select HETROGENOUS_CLUSTERS
York Sun4e577972016-12-28 08:43:46 -0800276 select SYS_FSL_DDR_VER_47
York Sunbe735532016-12-28 08:43:43 -0800277 select SYS_FSL_ERRATUM_A004477
278 select SYS_FSL_ERRATUM_A005871
279 select SYS_FSL_ERRATUM_A006379
280 select SYS_FSL_ERRATUM_A006384
281 select SYS_FSL_ERRATUM_A006475
282 select SYS_FSL_ERRATUM_A006593
283 select SYS_FSL_ERRATUM_A007075
Tom Rinia1663992022-06-16 14:04:40 -0400284 select SYS_FSL_ERRATUM_A007186 if CHAIN_OF_TRUST
York Sunbe735532016-12-28 08:43:43 -0800285 select SYS_FSL_ERRATUM_A007212
286 select SYS_FSL_ERRATUM_A009942
York Sund297d392016-12-28 08:43:40 -0800287 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800288 select SYS_FSL_HAS_SEC
York Sun0d3b8592016-12-28 08:43:49 -0800289 select SYS_FSL_QORIQ_CHASSIS2
Tom Rini70850172022-07-31 21:08:28 -0400290 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v24
York Sunfa4199422016-12-28 08:43:31 -0800291 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800292 select SYS_FSL_SEC_COMPAT_4
Tom Rini8d7aa572022-07-31 21:08:29 -0400293 select SYS_FSL_QMAN_V3 if SYS_DPAA_QBMAN
294 select SYS_FSL_USB1_PHY_ENABLE
York Sun7eafac12016-12-28 08:43:50 -0800295 select SYS_PPC64
Prabhakar Kushwahab0f8bae2017-02-02 15:01:13 +0530296 select FSL_IFC
Simon Glass4590d4e2017-05-17 03:25:10 -0600297 imply CMD_EEPROM
Tom Rini00448d22017-07-28 21:31:42 -0400298 imply CMD_NAND
Christophe Leroye538bbc2017-08-04 16:34:40 -0600299 imply CMD_REGINFO
York Sunfda566d2016-11-18 11:56:57 -0800300
York Sun68eaa9a2016-11-18 11:44:43 -0800301config ARCH_B4860
302 bool
York Sunaf5495a2016-12-28 08:43:27 -0800303 select E500MC
York Sunf4e8a752016-12-28 08:43:48 -0800304 select E6500
Tom Rini7374a712022-07-23 13:05:08 -0400305 select FSL_CORENET
York Sune7a6eaf2016-12-02 10:44:34 -0800306 select FSL_LAW
Tom Rini46f83262022-06-16 14:04:34 -0400307 select HETROGENOUS_CLUSTERS
York Sun4e577972016-12-28 08:43:46 -0800308 select SYS_FSL_DDR_VER_47
York Sunbe735532016-12-28 08:43:43 -0800309 select SYS_FSL_ERRATUM_A004477
310 select SYS_FSL_ERRATUM_A005871
311 select SYS_FSL_ERRATUM_A006379
312 select SYS_FSL_ERRATUM_A006384
313 select SYS_FSL_ERRATUM_A006475
314 select SYS_FSL_ERRATUM_A006593
315 select SYS_FSL_ERRATUM_A007075
Tom Rinia1663992022-06-16 14:04:40 -0400316 select SYS_FSL_ERRATUM_A007186 if CHAIN_OF_TRUST
York Sunbe735532016-12-28 08:43:43 -0800317 select SYS_FSL_ERRATUM_A007212
Darwin Dingela56d6c02016-10-25 09:48:01 +1300318 select SYS_FSL_ERRATUM_A007907
York Sunbe735532016-12-28 08:43:43 -0800319 select SYS_FSL_ERRATUM_A009942
York Sund297d392016-12-28 08:43:40 -0800320 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800321 select SYS_FSL_HAS_SEC
York Sun0d3b8592016-12-28 08:43:49 -0800322 select SYS_FSL_QORIQ_CHASSIS2
Tom Rini70850172022-07-31 21:08:28 -0400323 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v24
York Sunfa4199422016-12-28 08:43:31 -0800324 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800325 select SYS_FSL_SEC_COMPAT_4
Tom Rinid6412852023-01-10 11:19:42 -0500326 select SYS_FSL_SRDS_1
327 select SYS_FSL_SRDS_2
Tom Rini8d7aa572022-07-31 21:08:29 -0400328 select SYS_FSL_SRIO_LIODN
329 select SYS_FSL_QMAN_V3 if SYS_DPAA_QBMAN
330 select SYS_FSL_USB1_PHY_ENABLE
York Sun7eafac12016-12-28 08:43:50 -0800331 select SYS_PPC64
Prabhakar Kushwahab0f8bae2017-02-02 15:01:13 +0530332 select FSL_IFC
Simon Glass4590d4e2017-05-17 03:25:10 -0600333 imply CMD_EEPROM
Tom Rini00448d22017-07-28 21:31:42 -0400334 imply CMD_NAND
Christophe Leroye538bbc2017-08-04 16:34:40 -0600335 imply CMD_REGINFO
York Sun68eaa9a2016-11-18 11:44:43 -0800336
York Suna80bdf72016-11-15 14:09:50 -0800337config ARCH_BSC9131
338 bool
York Sune7a6eaf2016-12-02 10:44:34 -0800339 select FSL_LAW
York Sun4e577972016-12-28 08:43:46 -0800340 select SYS_FSL_DDR_VER_44
York Sunbe735532016-12-28 08:43:43 -0800341 select SYS_FSL_ERRATUM_A004477
342 select SYS_FSL_ERRATUM_A005125
York Sun097e3602016-12-28 08:43:42 -0800343 select SYS_FSL_ERRATUM_ESDHC111
York Sund297d392016-12-28 08:43:40 -0800344 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800345 select SYS_FSL_HAS_SEC
York Sunfa4199422016-12-28 08:43:31 -0800346 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800347 select SYS_FSL_SEC_COMPAT_4
Prabhakar Kushwahab0f8bae2017-02-02 15:01:13 +0530348 select FSL_IFC
Simon Glass4590d4e2017-05-17 03:25:10 -0600349 imply CMD_EEPROM
Tom Rini00448d22017-07-28 21:31:42 -0400350 imply CMD_NAND
Christophe Leroye538bbc2017-08-04 16:34:40 -0600351 imply CMD_REGINFO
York Suna80bdf72016-11-15 14:09:50 -0800352
353config ARCH_BSC9132
354 bool
York Sune7a6eaf2016-12-02 10:44:34 -0800355 select FSL_LAW
York Sun4e577972016-12-28 08:43:46 -0800356 select SYS_FSL_DDR_VER_46
York Sunbe735532016-12-28 08:43:43 -0800357 select SYS_FSL_ERRATUM_A004477
358 select SYS_FSL_ERRATUM_A005125
359 select SYS_FSL_ERRATUM_A005434
York Sun097e3602016-12-28 08:43:42 -0800360 select SYS_FSL_ERRATUM_ESDHC111
York Sunbe735532016-12-28 08:43:43 -0800361 select SYS_FSL_ERRATUM_I2C_A004447
362 select SYS_FSL_ERRATUM_IFC_A002769
Hou Zhiqiang01500f52019-05-23 11:52:44 +0800363 select FSL_PCIE_RESET
York Sund297d392016-12-28 08:43:40 -0800364 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800365 select SYS_FSL_HAS_SEC
Tom Rini70850172022-07-31 21:08:28 -0400366 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v22
York Sunfa4199422016-12-28 08:43:31 -0800367 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800368 select SYS_FSL_SEC_COMPAT_4
York Sun85ab6f02016-12-28 08:43:29 -0800369 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwahab0f8bae2017-02-02 15:01:13 +0530370 select FSL_IFC
Simon Glass4590d4e2017-05-17 03:25:10 -0600371 imply CMD_EEPROM
Tom Rinic20bb732017-07-22 18:36:16 -0400372 imply CMD_MTDPARTS
Tom Rini00448d22017-07-28 21:31:42 -0400373 imply CMD_NAND
Simon Glassc88a09a2017-08-04 16:34:34 -0600374 imply CMD_PCI
Christophe Leroye538bbc2017-08-04 16:34:40 -0600375 imply CMD_REGINFO
York Suna80bdf72016-11-15 14:09:50 -0800376
York Sun4119aee2016-11-15 18:44:22 -0800377config ARCH_C29X
378 bool
York Sune7a6eaf2016-12-02 10:44:34 -0800379 select FSL_LAW
York Sun4e577972016-12-28 08:43:46 -0800380 select SYS_FSL_DDR_VER_46
York Sunbe735532016-12-28 08:43:43 -0800381 select SYS_FSL_ERRATUM_A005125
York Sun097e3602016-12-28 08:43:42 -0800382 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiang01500f52019-05-23 11:52:44 +0800383 select FSL_PCIE_RESET
York Sund297d392016-12-28 08:43:40 -0800384 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800385 select SYS_FSL_HAS_SEC
York Sunfa4199422016-12-28 08:43:31 -0800386 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800387 select SYS_FSL_SEC_COMPAT_6
York Sun85ab6f02016-12-28 08:43:29 -0800388 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwahab0f8bae2017-02-02 15:01:13 +0530389 select FSL_IFC
Tom Rini00448d22017-07-28 21:31:42 -0400390 imply CMD_NAND
Simon Glassc88a09a2017-08-04 16:34:34 -0600391 imply CMD_PCI
Christophe Leroye538bbc2017-08-04 16:34:40 -0600392 imply CMD_REGINFO
York Sun4119aee2016-11-15 18:44:22 -0800393
York Sun5557d6b2016-11-16 11:06:47 -0800394config ARCH_MPC8536
395 bool
York Sune7a6eaf2016-12-02 10:44:34 -0800396 select FSL_LAW
York Sunbe735532016-12-28 08:43:43 -0800397 select SYS_FSL_ERRATUM_A004508
398 select SYS_FSL_ERRATUM_A005125
Hou Zhiqiang01500f52019-05-23 11:52:44 +0800399 select FSL_PCIE_RESET
York Sund297d392016-12-28 08:43:40 -0800400 select SYS_FSL_HAS_DDR2
401 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800402 select SYS_FSL_HAS_SEC
York Sunfa4199422016-12-28 08:43:31 -0800403 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800404 select SYS_FSL_SEC_COMPAT_2
York Sun85ab6f02016-12-28 08:43:29 -0800405 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha4c6be552017-02-02 15:01:48 +0530406 select FSL_ELBC
Tom Rini00448d22017-07-28 21:31:42 -0400407 imply CMD_NAND
Simon Glass203b3ab2017-06-14 21:28:24 -0600408 imply CMD_SATA
Christophe Leroye538bbc2017-08-04 16:34:40 -0600409 imply CMD_REGINFO
York Sun5557d6b2016-11-16 11:06:47 -0800410
York Sun5ddce892016-11-16 11:13:06 -0800411config ARCH_MPC8540
412 bool
York Sune7a6eaf2016-12-02 10:44:34 -0800413 select FSL_LAW
York Sund297d392016-12-28 08:43:40 -0800414 select SYS_FSL_HAS_DDR1
York Sun5ddce892016-11-16 11:13:06 -0800415
York Sun5ac012a2016-11-15 13:57:15 -0800416config ARCH_MPC8544
417 bool
Tom Rinie59f3242022-02-23 12:28:15 -0500418 select BTB
York Sune7a6eaf2016-12-02 10:44:34 -0800419 select FSL_LAW
Tom Rini3ef67ae2021-08-26 11:47:59 -0400420 select SYS_CACHE_SHIFT_5
York Sunbe735532016-12-28 08:43:43 -0800421 select SYS_FSL_ERRATUM_A005125
Hou Zhiqiang01500f52019-05-23 11:52:44 +0800422 select FSL_PCIE_RESET
York Sund297d392016-12-28 08:43:40 -0800423 select SYS_FSL_HAS_DDR2
York Sun92c36e22016-12-28 08:43:30 -0800424 select SYS_FSL_HAS_SEC
York Sunfa4199422016-12-28 08:43:31 -0800425 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800426 select SYS_FSL_SEC_COMPAT_2
York Sun85ab6f02016-12-28 08:43:29 -0800427 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha4c6be552017-02-02 15:01:48 +0530428 select FSL_ELBC
York Sun5ac012a2016-11-15 13:57:15 -0800429
York Sunefc49e02016-11-15 13:52:34 -0800430config ARCH_MPC8548
431 bool
Tom Rinie59f3242022-02-23 12:28:15 -0500432 select BTB
York Sune7a6eaf2016-12-02 10:44:34 -0800433 select FSL_LAW
York Sunbe735532016-12-28 08:43:43 -0800434 select SYS_FSL_ERRATUM_A005125
435 select SYS_FSL_ERRATUM_NMG_DDR120
436 select SYS_FSL_ERRATUM_NMG_LBC103
437 select SYS_FSL_ERRATUM_NMG_ETSEC129
438 select SYS_FSL_ERRATUM_I2C_A004447
Hou Zhiqiang01500f52019-05-23 11:52:44 +0800439 select FSL_PCIE_RESET
York Sund297d392016-12-28 08:43:40 -0800440 select SYS_FSL_HAS_DDR2
441 select SYS_FSL_HAS_DDR1
York Sun92c36e22016-12-28 08:43:30 -0800442 select SYS_FSL_HAS_SEC
Tom Rini8d7aa572022-07-31 21:08:29 -0400443 select SYS_FSL_RMU
York Sunfa4199422016-12-28 08:43:31 -0800444 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800445 select SYS_FSL_SEC_COMPAT_2
York Sun85ab6f02016-12-28 08:43:29 -0800446 select SYS_PPC_E500_USE_DEBUG_TLB
Christophe Leroye538bbc2017-08-04 16:34:40 -0600447 imply CMD_REGINFO
York Sunefc49e02016-11-15 13:52:34 -0800448
York Sunb4046f42016-11-16 11:26:45 -0800449config ARCH_MPC8560
450 bool
York Sune7a6eaf2016-12-02 10:44:34 -0800451 select FSL_LAW
York Sund297d392016-12-28 08:43:40 -0800452 select SYS_FSL_HAS_DDR1
York Sunb4046f42016-11-16 11:26:45 -0800453
York Sun24f88b32016-11-16 13:08:52 -0800454config ARCH_P1010
455 bool
Tom Rini2404edc2022-03-11 09:11:59 -0500456 select A003399_NOR_WORKAROUND if SYS_FSL_ERRATUM_IFC_A003399 && !SPL
Tom Rinie59f3242022-02-23 12:28:15 -0500457 select BTB
York Sune7a6eaf2016-12-02 10:44:34 -0800458 select FSL_LAW
Tom Rini3ef67ae2021-08-26 11:47:59 -0400459 select SYS_CACHE_SHIFT_5
Tom Rinid391d8b2021-12-11 14:55:51 -0500460 select SYS_HAS_SERDES
York Sunbe735532016-12-28 08:43:43 -0800461 select SYS_FSL_ERRATUM_A004477
462 select SYS_FSL_ERRATUM_A004508
463 select SYS_FSL_ERRATUM_A005125
Chris Packham434f0582018-10-04 20:03:53 +1300464 select SYS_FSL_ERRATUM_A005275
York Sunbe735532016-12-28 08:43:43 -0800465 select SYS_FSL_ERRATUM_A006261
466 select SYS_FSL_ERRATUM_A007075
York Sun097e3602016-12-28 08:43:42 -0800467 select SYS_FSL_ERRATUM_ESDHC111
York Sunbe735532016-12-28 08:43:43 -0800468 select SYS_FSL_ERRATUM_I2C_A004447
469 select SYS_FSL_ERRATUM_IFC_A002769
470 select SYS_FSL_ERRATUM_P1010_A003549
471 select SYS_FSL_ERRATUM_SEC_A003571
472 select SYS_FSL_ERRATUM_IFC_A003399
Hou Zhiqiang01500f52019-05-23 11:52:44 +0800473 select FSL_PCIE_RESET
York Sund297d392016-12-28 08:43:40 -0800474 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800475 select SYS_FSL_HAS_SEC
Tom Rini70850172022-07-31 21:08:28 -0400476 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v22
York Sunfa4199422016-12-28 08:43:31 -0800477 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800478 select SYS_FSL_SEC_COMPAT_4
Tom Rini8d7aa572022-07-31 21:08:29 -0400479 select SYS_FSL_USB1_PHY_ENABLE
York Sun85ab6f02016-12-28 08:43:29 -0800480 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwahab0f8bae2017-02-02 15:01:13 +0530481 select FSL_IFC
Simon Glass4590d4e2017-05-17 03:25:10 -0600482 imply CMD_EEPROM
Tom Rinic20bb732017-07-22 18:36:16 -0400483 imply CMD_MTDPARTS
Tom Rini00448d22017-07-28 21:31:42 -0400484 imply CMD_NAND
Simon Glass203b3ab2017-06-14 21:28:24 -0600485 imply CMD_SATA
Simon Glassc88a09a2017-08-04 16:34:34 -0600486 imply CMD_PCI
Christophe Leroye538bbc2017-08-04 16:34:40 -0600487 imply CMD_REGINFO
Tuomas Tynkkynen8df5dd32017-12-08 15:36:17 +0200488 imply FSL_SATA
Simon Glass65831d92021-12-18 11:27:50 -0700489 imply TIMESTAMP
York Sun24f88b32016-11-16 13:08:52 -0800490
York Sun3680e592016-11-16 15:54:15 -0800491config ARCH_P1011
492 bool
York Sune7a6eaf2016-12-02 10:44:34 -0800493 select FSL_LAW
York Sunbe735532016-12-28 08:43:43 -0800494 select SYS_FSL_ERRATUM_A004508
495 select SYS_FSL_ERRATUM_A005125
496 select SYS_FSL_ERRATUM_ELBC_A001
York Sun097e3602016-12-28 08:43:42 -0800497 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiangdeb47f52019-05-22 22:46:03 +0800498 select FSL_PCIE_DISABLE_ASPM
York Sund297d392016-12-28 08:43:40 -0800499 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800500 select SYS_FSL_HAS_SEC
York Sunfa4199422016-12-28 08:43:31 -0800501 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800502 select SYS_FSL_SEC_COMPAT_2
York Sun85ab6f02016-12-28 08:43:29 -0800503 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha4c6be552017-02-02 15:01:48 +0530504 select FSL_ELBC
York Sun3680e592016-11-16 15:54:15 -0800505
York Sunaf2dc812016-11-18 10:02:14 -0800506config ARCH_P1020
507 bool
Tom Rinie59f3242022-02-23 12:28:15 -0500508 select BTB
York Sune7a6eaf2016-12-02 10:44:34 -0800509 select FSL_LAW
Tom Rini3ef67ae2021-08-26 11:47:59 -0400510 select SYS_CACHE_SHIFT_5
York Sunbe735532016-12-28 08:43:43 -0800511 select SYS_FSL_ERRATUM_A004508
512 select SYS_FSL_ERRATUM_A005125
513 select SYS_FSL_ERRATUM_ELBC_A001
York Sun097e3602016-12-28 08:43:42 -0800514 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiangdeb47f52019-05-22 22:46:03 +0800515 select FSL_PCIE_DISABLE_ASPM
Hou Zhiqiang01500f52019-05-23 11:52:44 +0800516 select FSL_PCIE_RESET
York Sund297d392016-12-28 08:43:40 -0800517 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800518 select SYS_FSL_HAS_SEC
York Sunfa4199422016-12-28 08:43:31 -0800519 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800520 select SYS_FSL_SEC_COMPAT_2
York Sun85ab6f02016-12-28 08:43:29 -0800521 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha4c6be552017-02-02 15:01:48 +0530522 select FSL_ELBC
Tom Rini00448d22017-07-28 21:31:42 -0400523 imply CMD_NAND
Simon Glass203b3ab2017-06-14 21:28:24 -0600524 imply CMD_SATA
Simon Glassc88a09a2017-08-04 16:34:34 -0600525 imply CMD_PCI
Christophe Leroye538bbc2017-08-04 16:34:40 -0600526 imply CMD_REGINFO
Tuomas Tynkkynen104a5372017-12-08 15:36:14 +0200527 imply SATA_SIL
York Sunaf2dc812016-11-18 10:02:14 -0800528
York Sun2f924be2016-11-18 10:59:02 -0800529config ARCH_P1021
530 bool
York Sune7a6eaf2016-12-02 10:44:34 -0800531 select FSL_LAW
York Sunbe735532016-12-28 08:43:43 -0800532 select SYS_FSL_ERRATUM_A004508
533 select SYS_FSL_ERRATUM_A005125
534 select SYS_FSL_ERRATUM_ELBC_A001
York Sun097e3602016-12-28 08:43:42 -0800535 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiangdeb47f52019-05-22 22:46:03 +0800536 select FSL_PCIE_DISABLE_ASPM
Hou Zhiqiang01500f52019-05-23 11:52:44 +0800537 select FSL_PCIE_RESET
York Sund297d392016-12-28 08:43:40 -0800538 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800539 select SYS_FSL_HAS_SEC
York Sunfa4199422016-12-28 08:43:31 -0800540 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800541 select SYS_FSL_SEC_COMPAT_2
York Sun85ab6f02016-12-28 08:43:29 -0800542 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha4c6be552017-02-02 15:01:48 +0530543 select FSL_ELBC
Christophe Leroye538bbc2017-08-04 16:34:40 -0600544 imply CMD_REGINFO
Tom Rini00448d22017-07-28 21:31:42 -0400545 imply CMD_NAND
Simon Glass203b3ab2017-06-14 21:28:24 -0600546 imply CMD_SATA
Christophe Leroye538bbc2017-08-04 16:34:40 -0600547 imply CMD_REGINFO
Tuomas Tynkkynen104a5372017-12-08 15:36:14 +0200548 imply SATA_SIL
York Sun2f924be2016-11-18 10:59:02 -0800549
York Sunfeeaae22016-11-16 15:45:31 -0800550config ARCH_P1023
551 bool
York Sune7a6eaf2016-12-02 10:44:34 -0800552 select FSL_LAW
York Sunbe735532016-12-28 08:43:43 -0800553 select SYS_FSL_ERRATUM_A004508
554 select SYS_FSL_ERRATUM_A005125
555 select SYS_FSL_ERRATUM_I2C_A004447
Hou Zhiqiang01500f52019-05-23 11:52:44 +0800556 select FSL_PCIE_RESET
York Sund297d392016-12-28 08:43:40 -0800557 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800558 select SYS_FSL_HAS_SEC
Tom Rini70850172022-07-31 21:08:28 -0400559 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v22
York Sunfa4199422016-12-28 08:43:31 -0800560 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800561 select SYS_FSL_SEC_COMPAT_4
Prabhakar Kushwaha4c6be552017-02-02 15:01:48 +0530562 select FSL_ELBC
York Sunfeeaae22016-11-16 15:45:31 -0800563
York Sun76780b22016-11-18 11:00:57 -0800564config ARCH_P1024
565 bool
York Sune7a6eaf2016-12-02 10:44:34 -0800566 select FSL_LAW
York Sunbe735532016-12-28 08:43:43 -0800567 select SYS_FSL_ERRATUM_A004508
568 select SYS_FSL_ERRATUM_A005125
569 select SYS_FSL_ERRATUM_ELBC_A001
York Sun097e3602016-12-28 08:43:42 -0800570 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiangdeb47f52019-05-22 22:46:03 +0800571 select FSL_PCIE_DISABLE_ASPM
Hou Zhiqiang01500f52019-05-23 11:52:44 +0800572 select FSL_PCIE_RESET
York Sund297d392016-12-28 08:43:40 -0800573 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800574 select SYS_FSL_HAS_SEC
Tom Rini8d7aa572022-07-31 21:08:29 -0400575 select SYS_FSL_RMU
York Sunfa4199422016-12-28 08:43:31 -0800576 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800577 select SYS_FSL_SEC_COMPAT_2
York Sun85ab6f02016-12-28 08:43:29 -0800578 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha4c6be552017-02-02 15:01:48 +0530579 select FSL_ELBC
Simon Glass4590d4e2017-05-17 03:25:10 -0600580 imply CMD_EEPROM
Tom Rini00448d22017-07-28 21:31:42 -0400581 imply CMD_NAND
Simon Glass203b3ab2017-06-14 21:28:24 -0600582 imply CMD_SATA
Simon Glassc88a09a2017-08-04 16:34:34 -0600583 imply CMD_PCI
Christophe Leroye538bbc2017-08-04 16:34:40 -0600584 imply CMD_REGINFO
Tuomas Tynkkynen104a5372017-12-08 15:36:14 +0200585 imply SATA_SIL
York Sun76780b22016-11-18 11:00:57 -0800586
York Sun0f577972016-11-18 11:05:38 -0800587config ARCH_P1025
588 bool
York Sune7a6eaf2016-12-02 10:44:34 -0800589 select FSL_LAW
York Sunbe735532016-12-28 08:43:43 -0800590 select SYS_FSL_ERRATUM_A004508
591 select SYS_FSL_ERRATUM_A005125
592 select SYS_FSL_ERRATUM_ELBC_A001
York Sun097e3602016-12-28 08:43:42 -0800593 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiangdeb47f52019-05-22 22:46:03 +0800594 select FSL_PCIE_DISABLE_ASPM
Hou Zhiqiang01500f52019-05-23 11:52:44 +0800595 select FSL_PCIE_RESET
York Sund297d392016-12-28 08:43:40 -0800596 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800597 select SYS_FSL_HAS_SEC
York Sunfa4199422016-12-28 08:43:31 -0800598 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800599 select SYS_FSL_SEC_COMPAT_2
York Sun85ab6f02016-12-28 08:43:29 -0800600 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha4c6be552017-02-02 15:01:48 +0530601 select FSL_ELBC
Simon Glass203b3ab2017-06-14 21:28:24 -0600602 imply CMD_SATA
Christophe Leroye538bbc2017-08-04 16:34:40 -0600603 imply CMD_REGINFO
York Sun0f577972016-11-18 11:05:38 -0800604
York Sun4b08dd72016-11-18 11:08:43 -0800605config ARCH_P2020
606 bool
Tom Rinie59f3242022-02-23 12:28:15 -0500607 select BTB
York Sune7a6eaf2016-12-02 10:44:34 -0800608 select FSL_LAW
Tom Rini3ef67ae2021-08-26 11:47:59 -0400609 select SYS_CACHE_SHIFT_5
York Sunbe735532016-12-28 08:43:43 -0800610 select SYS_FSL_ERRATUM_A004477
611 select SYS_FSL_ERRATUM_A004508
612 select SYS_FSL_ERRATUM_A005125
York Sun097e3602016-12-28 08:43:42 -0800613 select SYS_FSL_ERRATUM_ESDHC111
614 select SYS_FSL_ERRATUM_ESDHC_A001
Hou Zhiqiang01500f52019-05-23 11:52:44 +0800615 select FSL_PCIE_RESET
York Sund297d392016-12-28 08:43:40 -0800616 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800617 select SYS_FSL_HAS_SEC
York Sunfa4199422016-12-28 08:43:31 -0800618 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800619 select SYS_FSL_SEC_COMPAT_2
York Sun85ab6f02016-12-28 08:43:29 -0800620 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha4c6be552017-02-02 15:01:48 +0530621 select FSL_ELBC
Simon Glass4590d4e2017-05-17 03:25:10 -0600622 imply CMD_EEPROM
Tom Rini00448d22017-07-28 21:31:42 -0400623 imply CMD_NAND
Christophe Leroye538bbc2017-08-04 16:34:40 -0600624 imply CMD_REGINFO
Simon Glass65831d92021-12-18 11:27:50 -0700625 imply TIMESTAMP
York Sun4b08dd72016-11-18 11:08:43 -0800626
York Sun5786fca2016-11-18 11:15:21 -0800627config ARCH_P2041
628 bool
Tom Rini1f05fe22022-03-18 08:38:32 -0400629 select BACKSIDE_L2_CACHE
York Sunaf5495a2016-12-28 08:43:27 -0800630 select E500MC
York Sune7a6eaf2016-12-02 10:44:34 -0800631 select FSL_LAW
Tom Rini3ef67ae2021-08-26 11:47:59 -0400632 select SYS_CACHE_SHIFT_6
Tom Rinif552a132022-11-16 13:10:34 -0500633 select SYS_DPAA_FMAN
634 select SYS_DPAA_PME
635 select SYS_DPAA_RMAN
York Sunbe735532016-12-28 08:43:43 -0800636 select SYS_FSL_ERRATUM_A004510
637 select SYS_FSL_ERRATUM_A004849
Chris Packham434f0582018-10-04 20:03:53 +1300638 select SYS_FSL_ERRATUM_A005275
York Sunbe735532016-12-28 08:43:43 -0800639 select SYS_FSL_ERRATUM_A006261
640 select SYS_FSL_ERRATUM_CPU_A003999
641 select SYS_FSL_ERRATUM_DDR_A003
642 select SYS_FSL_ERRATUM_DDR_A003474
York Sun097e3602016-12-28 08:43:42 -0800643 select SYS_FSL_ERRATUM_ESDHC111
York Sunbe735532016-12-28 08:43:43 -0800644 select SYS_FSL_ERRATUM_I2C_A004447
645 select SYS_FSL_ERRATUM_NMG_CPU_A011
646 select SYS_FSL_ERRATUM_SRIO_A004034
647 select SYS_FSL_ERRATUM_USB14
York Sund297d392016-12-28 08:43:40 -0800648 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800649 select SYS_FSL_HAS_SEC
York Sun0d3b8592016-12-28 08:43:49 -0800650 select SYS_FSL_QORIQ_CHASSIS1
Tom Rini70850172022-07-31 21:08:28 -0400651 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v22
York Sunfa4199422016-12-28 08:43:31 -0800652 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800653 select SYS_FSL_SEC_COMPAT_4
Tom Rini8d7aa572022-07-31 21:08:29 -0400654 select SYS_FSL_USB1_PHY_ENABLE
655 select SYS_FSL_USB2_PHY_ENABLE
Prabhakar Kushwaha4c6be552017-02-02 15:01:48 +0530656 select FSL_ELBC
Tom Rini00448d22017-07-28 21:31:42 -0400657 imply CMD_NAND
York Sun5786fca2016-11-18 11:15:21 -0800658
York Sundf70d062016-11-18 11:20:40 -0800659config ARCH_P3041
660 bool
Tom Rini1f05fe22022-03-18 08:38:32 -0400661 select BACKSIDE_L2_CACHE
York Sunaf5495a2016-12-28 08:43:27 -0800662 select E500MC
Tom Rini7374a712022-07-23 13:05:08 -0400663 select FSL_CORENET
York Sune7a6eaf2016-12-02 10:44:34 -0800664 select FSL_LAW
Tom Rini3ef67ae2021-08-26 11:47:59 -0400665 select SYS_CACHE_SHIFT_6
York Sun4e577972016-12-28 08:43:46 -0800666 select SYS_FSL_DDR_VER_44
York Sunbe735532016-12-28 08:43:43 -0800667 select SYS_FSL_ERRATUM_A004510
668 select SYS_FSL_ERRATUM_A004849
Chris Packham434f0582018-10-04 20:03:53 +1300669 select SYS_FSL_ERRATUM_A005275
York Sunbe735532016-12-28 08:43:43 -0800670 select SYS_FSL_ERRATUM_A005812
671 select SYS_FSL_ERRATUM_A006261
672 select SYS_FSL_ERRATUM_CPU_A003999
673 select SYS_FSL_ERRATUM_DDR_A003
674 select SYS_FSL_ERRATUM_DDR_A003474
York Sun097e3602016-12-28 08:43:42 -0800675 select SYS_FSL_ERRATUM_ESDHC111
York Sunbe735532016-12-28 08:43:43 -0800676 select SYS_FSL_ERRATUM_I2C_A004447
677 select SYS_FSL_ERRATUM_NMG_CPU_A011
678 select SYS_FSL_ERRATUM_SRIO_A004034
679 select SYS_FSL_ERRATUM_USB14
York Sund297d392016-12-28 08:43:40 -0800680 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800681 select SYS_FSL_HAS_SEC
York Sun0d3b8592016-12-28 08:43:49 -0800682 select SYS_FSL_QORIQ_CHASSIS1
Tom Rini70850172022-07-31 21:08:28 -0400683 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v22
York Sunfa4199422016-12-28 08:43:31 -0800684 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800685 select SYS_FSL_SEC_COMPAT_4
Tom Rini8d7aa572022-07-31 21:08:29 -0400686 select SYS_FSL_USB1_PHY_ENABLE
687 select SYS_FSL_USB2_PHY_ENABLE
Prabhakar Kushwaha4c6be552017-02-02 15:01:48 +0530688 select FSL_ELBC
Tom Rini00448d22017-07-28 21:31:42 -0400689 imply CMD_NAND
Simon Glass203b3ab2017-06-14 21:28:24 -0600690 imply CMD_SATA
Christophe Leroye538bbc2017-08-04 16:34:40 -0600691 imply CMD_REGINFO
Tuomas Tynkkynen8df5dd32017-12-08 15:36:17 +0200692 imply FSL_SATA
York Sundf70d062016-11-18 11:20:40 -0800693
York Sun84be8a92016-11-18 11:24:40 -0800694config ARCH_P4080
695 bool
Tom Rini1f05fe22022-03-18 08:38:32 -0400696 select BACKSIDE_L2_CACHE
York Sunaf5495a2016-12-28 08:43:27 -0800697 select E500MC
Tom Rini7374a712022-07-23 13:05:08 -0400698 select FSL_CORENET
York Sune7a6eaf2016-12-02 10:44:34 -0800699 select FSL_LAW
Tom Rini3ef67ae2021-08-26 11:47:59 -0400700 select SYS_CACHE_SHIFT_6
York Sun4e577972016-12-28 08:43:46 -0800701 select SYS_FSL_DDR_VER_44
York Sunbe735532016-12-28 08:43:43 -0800702 select SYS_FSL_ERRATUM_A004510
703 select SYS_FSL_ERRATUM_A004580
704 select SYS_FSL_ERRATUM_A004849
705 select SYS_FSL_ERRATUM_A005812
706 select SYS_FSL_ERRATUM_A007075
707 select SYS_FSL_ERRATUM_CPC_A002
708 select SYS_FSL_ERRATUM_CPC_A003
709 select SYS_FSL_ERRATUM_CPU_A003999
710 select SYS_FSL_ERRATUM_DDR_A003
711 select SYS_FSL_ERRATUM_DDR_A003474
712 select SYS_FSL_ERRATUM_ELBC_A001
York Sun097e3602016-12-28 08:43:42 -0800713 select SYS_FSL_ERRATUM_ESDHC111
714 select SYS_FSL_ERRATUM_ESDHC13
715 select SYS_FSL_ERRATUM_ESDHC135
York Sunbe735532016-12-28 08:43:43 -0800716 select SYS_FSL_ERRATUM_I2C_A004447
717 select SYS_FSL_ERRATUM_NMG_CPU_A011
718 select SYS_FSL_ERRATUM_SRIO_A004034
Tom Rini70850172022-07-31 21:08:28 -0400719 select SYS_FSL_PCIE_COMPAT_P4080_PCIE
York Sunbe735532016-12-28 08:43:43 -0800720 select SYS_P4080_ERRATUM_CPU22
721 select SYS_P4080_ERRATUM_PCIE_A003
722 select SYS_P4080_ERRATUM_SERDES8
723 select SYS_P4080_ERRATUM_SERDES9
724 select SYS_P4080_ERRATUM_SERDES_A001
725 select SYS_P4080_ERRATUM_SERDES_A005
York Sund297d392016-12-28 08:43:40 -0800726 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800727 select SYS_FSL_HAS_SEC
York Sun0d3b8592016-12-28 08:43:49 -0800728 select SYS_FSL_QORIQ_CHASSIS1
Tom Rini8d7aa572022-07-31 21:08:29 -0400729 select SYS_FSL_RMU
York Sunfa4199422016-12-28 08:43:31 -0800730 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800731 select SYS_FSL_SEC_COMPAT_4
Prabhakar Kushwaha4c6be552017-02-02 15:01:48 +0530732 select FSL_ELBC
Simon Glass203b3ab2017-06-14 21:28:24 -0600733 imply CMD_SATA
Christophe Leroye538bbc2017-08-04 16:34:40 -0600734 imply CMD_REGINFO
Tuomas Tynkkynen104a5372017-12-08 15:36:14 +0200735 imply SATA_SIL
York Sun84be8a92016-11-18 11:24:40 -0800736
York Suna3c5b662016-11-18 11:39:36 -0800737config ARCH_P5040
738 bool
Tom Rini1f05fe22022-03-18 08:38:32 -0400739 select BACKSIDE_L2_CACHE
York Sunaf5495a2016-12-28 08:43:27 -0800740 select E500MC
Tom Rini7374a712022-07-23 13:05:08 -0400741 select FSL_CORENET
York Sune7a6eaf2016-12-02 10:44:34 -0800742 select FSL_LAW
Tom Rini3ef67ae2021-08-26 11:47:59 -0400743 select SYS_CACHE_SHIFT_6
York Sun4e577972016-12-28 08:43:46 -0800744 select SYS_FSL_DDR_VER_44
York Sunbe735532016-12-28 08:43:43 -0800745 select SYS_FSL_ERRATUM_A004510
746 select SYS_FSL_ERRATUM_A004699
Chris Packham434f0582018-10-04 20:03:53 +1300747 select SYS_FSL_ERRATUM_A005275
York Sunbe735532016-12-28 08:43:43 -0800748 select SYS_FSL_ERRATUM_A005812
749 select SYS_FSL_ERRATUM_A006261
750 select SYS_FSL_ERRATUM_DDR_A003
751 select SYS_FSL_ERRATUM_DDR_A003474
York Sun097e3602016-12-28 08:43:42 -0800752 select SYS_FSL_ERRATUM_ESDHC111
York Sunbe735532016-12-28 08:43:43 -0800753 select SYS_FSL_ERRATUM_USB14
York Sund297d392016-12-28 08:43:40 -0800754 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800755 select SYS_FSL_HAS_SEC
York Sun0d3b8592016-12-28 08:43:49 -0800756 select SYS_FSL_QORIQ_CHASSIS1
Tom Rini70850172022-07-31 21:08:28 -0400757 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v24
York Sunfa4199422016-12-28 08:43:31 -0800758 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800759 select SYS_FSL_SEC_COMPAT_4
Tom Rini8d7aa572022-07-31 21:08:29 -0400760 select SYS_FSL_USB1_PHY_ENABLE
761 select SYS_FSL_USB2_PHY_ENABLE
York Sun7eafac12016-12-28 08:43:50 -0800762 select SYS_PPC64
Prabhakar Kushwaha4c6be552017-02-02 15:01:48 +0530763 select FSL_ELBC
Simon Glass203b3ab2017-06-14 21:28:24 -0600764 imply CMD_SATA
Christophe Leroye538bbc2017-08-04 16:34:40 -0600765 imply CMD_REGINFO
Tuomas Tynkkynen8df5dd32017-12-08 15:36:17 +0200766 imply FSL_SATA
York Suna3c5b662016-11-18 11:39:36 -0800767
York Sun51e91e82016-11-18 12:29:51 -0800768config ARCH_QEMU_E500
769 bool
Tom Rini3ef67ae2021-08-26 11:47:59 -0400770 select SYS_CACHE_SHIFT_5
York Sun51e91e82016-11-18 12:29:51 -0800771
York Sun7d29dd62016-11-18 13:01:34 -0800772config ARCH_T1024
773 bool
Tom Rini1f05fe22022-03-18 08:38:32 -0400774 select BACKSIDE_L2_CACHE
York Sunaf5495a2016-12-28 08:43:27 -0800775 select E500MC
Tom Rinic1c04bd2022-03-24 17:18:01 -0400776 select E5500
Tom Rini7374a712022-07-23 13:05:08 -0400777 select FSL_CORENET
York Sune7a6eaf2016-12-02 10:44:34 -0800778 select FSL_LAW
Tom Rini3ef67ae2021-08-26 11:47:59 -0400779 select SYS_CACHE_SHIFT_6
Tom Rinif552a132022-11-16 13:10:34 -0500780 select SYS_DPAA_FMAN
York Sun4e577972016-12-28 08:43:46 -0800781 select SYS_FSL_DDR_VER_50
York Sunbe735532016-12-28 08:43:43 -0800782 select SYS_FSL_ERRATUM_A008378
Jaiprakash Singhe230a922020-06-02 12:44:02 +0530783 select SYS_FSL_ERRATUM_A008109
York Sunbe735532016-12-28 08:43:43 -0800784 select SYS_FSL_ERRATUM_A009663
785 select SYS_FSL_ERRATUM_A009942
York Sun097e3602016-12-28 08:43:42 -0800786 select SYS_FSL_ERRATUM_ESDHC111
York Sund297d392016-12-28 08:43:40 -0800787 select SYS_FSL_HAS_DDR3
788 select SYS_FSL_HAS_DDR4
York Sun92c36e22016-12-28 08:43:30 -0800789 select SYS_FSL_HAS_SEC
York Sun0d3b8592016-12-28 08:43:49 -0800790 select SYS_FSL_QORIQ_CHASSIS2
Tom Rini70850172022-07-31 21:08:28 -0400791 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v24
York Sunfa4199422016-12-28 08:43:31 -0800792 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800793 select SYS_FSL_SEC_COMPAT_5
Tom Rini8d7aa572022-07-31 21:08:29 -0400794 select SYS_FSL_SINGLE_SOURCE_CLK
Tom Rinid6412852023-01-10 11:19:42 -0500795 select SYS_FSL_SRDS_1
Tom Rini8d7aa572022-07-31 21:08:29 -0400796 select SYS_FSL_QMAN_V3 if SYS_DPAA_QBMAN
797 select SYS_FSL_USB_DUAL_PHY_ENABLE
Prabhakar Kushwahab0f8bae2017-02-02 15:01:13 +0530798 select FSL_IFC
Simon Glass4590d4e2017-05-17 03:25:10 -0600799 imply CMD_EEPROM
Tom Rini00448d22017-07-28 21:31:42 -0400800 imply CMD_NAND
Tom Rinic20bb732017-07-22 18:36:16 -0400801 imply CMD_MTDPARTS
Christophe Leroye538bbc2017-08-04 16:34:40 -0600802 imply CMD_REGINFO
York Sun7d29dd62016-11-18 13:01:34 -0800803
York Suna5b5d882016-11-18 13:11:12 -0800804config ARCH_T1040
805 bool
Tom Rini1f05fe22022-03-18 08:38:32 -0400806 select BACKSIDE_L2_CACHE
York Sunaf5495a2016-12-28 08:43:27 -0800807 select E500MC
Tom Rinic1c04bd2022-03-24 17:18:01 -0400808 select E5500
Tom Rini7374a712022-07-23 13:05:08 -0400809 select FSL_CORENET
York Sune7a6eaf2016-12-02 10:44:34 -0800810 select FSL_LAW
Tom Rini3ef67ae2021-08-26 11:47:59 -0400811 select SYS_CACHE_SHIFT_6
Tom Rinif552a132022-11-16 13:10:34 -0500812 select SYS_DPAA_FMAN
813 select SYS_DPAA_PME
York Sun4e577972016-12-28 08:43:46 -0800814 select SYS_FSL_DDR_VER_50
York Sunbe735532016-12-28 08:43:43 -0800815 select SYS_FSL_ERRATUM_A008044
816 select SYS_FSL_ERRATUM_A008378
Joakim Tjernlund477602c2019-11-20 17:07:34 +0100817 select SYS_FSL_ERRATUM_A008109
York Sunbe735532016-12-28 08:43:43 -0800818 select SYS_FSL_ERRATUM_A009663
819 select SYS_FSL_ERRATUM_A009942
York Sun097e3602016-12-28 08:43:42 -0800820 select SYS_FSL_ERRATUM_ESDHC111
York Sund297d392016-12-28 08:43:40 -0800821 select SYS_FSL_HAS_DDR3
822 select SYS_FSL_HAS_DDR4
York Sun92c36e22016-12-28 08:43:30 -0800823 select SYS_FSL_HAS_SEC
York Sun0d3b8592016-12-28 08:43:49 -0800824 select SYS_FSL_QORIQ_CHASSIS2
Tom Rini70850172022-07-31 21:08:28 -0400825 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v24
York Sunfa4199422016-12-28 08:43:31 -0800826 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800827 select SYS_FSL_SEC_COMPAT_5
Tom Rini8d7aa572022-07-31 21:08:29 -0400828 select SYS_FSL_SINGLE_SOURCE_CLK
Tom Rinid6412852023-01-10 11:19:42 -0500829 select SYS_FSL_SRDS_1
Tom Rini8d7aa572022-07-31 21:08:29 -0400830 select SYS_FSL_QMAN_V3 if SYS_DPAA_QBMAN
831 select SYS_FSL_USB_DUAL_PHY_ENABLE
Prabhakar Kushwahab0f8bae2017-02-02 15:01:13 +0530832 select FSL_IFC
Tom Rinic20bb732017-07-22 18:36:16 -0400833 imply CMD_MTDPARTS
Tom Rini00448d22017-07-28 21:31:42 -0400834 imply CMD_NAND
Christophe Leroye538bbc2017-08-04 16:34:40 -0600835 imply CMD_REGINFO
York Suna5b5d882016-11-18 13:11:12 -0800836
York Sun2d7b2d42016-11-18 13:36:39 -0800837config ARCH_T1042
838 bool
Tom Rini1f05fe22022-03-18 08:38:32 -0400839 select BACKSIDE_L2_CACHE
York Sunaf5495a2016-12-28 08:43:27 -0800840 select E500MC
Tom Rinic1c04bd2022-03-24 17:18:01 -0400841 select E5500
Tom Rini7374a712022-07-23 13:05:08 -0400842 select FSL_CORENET
York Sune7a6eaf2016-12-02 10:44:34 -0800843 select FSL_LAW
Tom Rini3ef67ae2021-08-26 11:47:59 -0400844 select SYS_CACHE_SHIFT_6
Tom Rinif552a132022-11-16 13:10:34 -0500845 select SYS_DPAA_FMAN
846 select SYS_DPAA_PME
York Sun4e577972016-12-28 08:43:46 -0800847 select SYS_FSL_DDR_VER_50
York Sunbe735532016-12-28 08:43:43 -0800848 select SYS_FSL_ERRATUM_A008044
849 select SYS_FSL_ERRATUM_A008378
Joakim Tjernlund477602c2019-11-20 17:07:34 +0100850 select SYS_FSL_ERRATUM_A008109
York Sunbe735532016-12-28 08:43:43 -0800851 select SYS_FSL_ERRATUM_A009663
852 select SYS_FSL_ERRATUM_A009942
York Sun097e3602016-12-28 08:43:42 -0800853 select SYS_FSL_ERRATUM_ESDHC111
York Sund297d392016-12-28 08:43:40 -0800854 select SYS_FSL_HAS_DDR3
855 select SYS_FSL_HAS_DDR4
York Sun92c36e22016-12-28 08:43:30 -0800856 select SYS_FSL_HAS_SEC
York Sun0d3b8592016-12-28 08:43:49 -0800857 select SYS_FSL_QORIQ_CHASSIS2
Tom Rini70850172022-07-31 21:08:28 -0400858 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v24
York Sunfa4199422016-12-28 08:43:31 -0800859 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800860 select SYS_FSL_SEC_COMPAT_5
Tom Rini8d7aa572022-07-31 21:08:29 -0400861 select SYS_FSL_SINGLE_SOURCE_CLK
Tom Rinid6412852023-01-10 11:19:42 -0500862 select SYS_FSL_SRDS_1
Tom Rini8d7aa572022-07-31 21:08:29 -0400863 select SYS_FSL_QMAN_V3 if SYS_DPAA_QBMAN
864 select SYS_FSL_USB_DUAL_PHY_ENABLE
Prabhakar Kushwahab0f8bae2017-02-02 15:01:13 +0530865 select FSL_IFC
Tom Rinic20bb732017-07-22 18:36:16 -0400866 imply CMD_MTDPARTS
Tom Rini00448d22017-07-28 21:31:42 -0400867 imply CMD_NAND
Christophe Leroye538bbc2017-08-04 16:34:40 -0600868 imply CMD_REGINFO
York Sun2d7b2d42016-11-18 13:36:39 -0800869
York Sune20c6852016-11-21 12:54:19 -0800870config ARCH_T2080
871 bool
York Sunaf5495a2016-12-28 08:43:27 -0800872 select E500MC
York Sunf4e8a752016-12-28 08:43:48 -0800873 select E6500
Tom Rini7374a712022-07-23 13:05:08 -0400874 select FSL_CORENET
York Sune7a6eaf2016-12-02 10:44:34 -0800875 select FSL_LAW
Tom Rini3ef67ae2021-08-26 11:47:59 -0400876 select SYS_CACHE_SHIFT_6
Tom Rinif552a132022-11-16 13:10:34 -0500877 select SYS_DPAA_DCE if !NOBQFMAN
878 select SYS_DPAA_FMAN if !NOBQFMAN
879 select SYS_DPAA_PME if !NOBQFMAN
880 select SYS_DPAA_RMAN if !NOBQFMAN
York Sun4e577972016-12-28 08:43:46 -0800881 select SYS_FSL_DDR_VER_47
York Sunbe735532016-12-28 08:43:43 -0800882 select SYS_FSL_ERRATUM_A006379
883 select SYS_FSL_ERRATUM_A006593
Tom Rinia1663992022-06-16 14:04:40 -0400884 select SYS_FSL_ERRATUM_A007186 if CHAIN_OF_TRUST
York Sunbe735532016-12-28 08:43:43 -0800885 select SYS_FSL_ERRATUM_A007212
Tony O'Brien8acb1272016-12-02 09:22:34 +1300886 select SYS_FSL_ERRATUM_A007815
Darwin Dingela56d6c02016-10-25 09:48:01 +1300887 select SYS_FSL_ERRATUM_A007907
Jaiprakash Singhe230a922020-06-02 12:44:02 +0530888 select SYS_FSL_ERRATUM_A008109
York Sunbe735532016-12-28 08:43:43 -0800889 select SYS_FSL_ERRATUM_A009942
York Sun097e3602016-12-28 08:43:42 -0800890 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiang01500f52019-05-23 11:52:44 +0800891 select FSL_PCIE_RESET
York Sund297d392016-12-28 08:43:40 -0800892 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800893 select SYS_FSL_HAS_SEC
York Sun0d3b8592016-12-28 08:43:49 -0800894 select SYS_FSL_QORIQ_CHASSIS2
Tom Rini70850172022-07-31 21:08:28 -0400895 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v30
York Sunfa4199422016-12-28 08:43:31 -0800896 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800897 select SYS_FSL_SEC_COMPAT_4
Tom Rinid6412852023-01-10 11:19:42 -0500898 select SYS_FSL_SRDS_1
899 select SYS_FSL_SRDS_2
Tom Rini8d7aa572022-07-31 21:08:29 -0400900 select SYS_FSL_SRIO_LIODN
901 select SYS_FSL_QMAN_V3 if SYS_DPAA_QBMAN
902 select SYS_FSL_USB_DUAL_PHY_ENABLE
Tom Rinif552a132022-11-16 13:10:34 -0500903 select SYS_PMAN if !NOBQFMAN
York Sun7eafac12016-12-28 08:43:50 -0800904 select SYS_PPC64
Prabhakar Kushwahab0f8bae2017-02-02 15:01:13 +0530905 select FSL_IFC
Peng Ma34bed5d2019-12-23 09:28:12 +0000906 imply CMD_SATA
Tom Rini00448d22017-07-28 21:31:42 -0400907 imply CMD_NAND
Christophe Leroye538bbc2017-08-04 16:34:40 -0600908 imply CMD_REGINFO
Peng Ma34bed5d2019-12-23 09:28:12 +0000909 imply FSL_SATA
Tom Rini4abdf142021-08-17 17:59:41 -0400910 imply ID_EEPROM
York Sune20c6852016-11-21 12:54:19 -0800911
York Sun0fad3262016-11-21 13:35:41 -0800912config ARCH_T4240
913 bool
York Sunaf5495a2016-12-28 08:43:27 -0800914 select E500MC
York Sunf4e8a752016-12-28 08:43:48 -0800915 select E6500
Tom Rini7374a712022-07-23 13:05:08 -0400916 select FSL_CORENET
York Sune7a6eaf2016-12-02 10:44:34 -0800917 select FSL_LAW
Tom Rini3ef67ae2021-08-26 11:47:59 -0400918 select SYS_CACHE_SHIFT_6
Tom Rinif552a132022-11-16 13:10:34 -0500919 select SYS_DPAA_DCE if !NOBQFMAN
920 select SYS_DPAA_FMAN if !NOBQFMAN
921 select SYS_DPAA_PME if !NOBQFMAN
922 select SYS_DPAA_RMAN if !NOBQFMAN
York Sun4e577972016-12-28 08:43:46 -0800923 select SYS_FSL_DDR_VER_47
York Sunbe735532016-12-28 08:43:43 -0800924 select SYS_FSL_ERRATUM_A004468
925 select SYS_FSL_ERRATUM_A005871
926 select SYS_FSL_ERRATUM_A006261
927 select SYS_FSL_ERRATUM_A006379
928 select SYS_FSL_ERRATUM_A006593
Tom Rinia1663992022-06-16 14:04:40 -0400929 select SYS_FSL_ERRATUM_A007186 if CHAIN_OF_TRUST
York Sunbe735532016-12-28 08:43:43 -0800930 select SYS_FSL_ERRATUM_A007798
Tony O'Brien8acb1272016-12-02 09:22:34 +1300931 select SYS_FSL_ERRATUM_A007815
Darwin Dingela56d6c02016-10-25 09:48:01 +1300932 select SYS_FSL_ERRATUM_A007907
Jaiprakash Singhe230a922020-06-02 12:44:02 +0530933 select SYS_FSL_ERRATUM_A008109
York Sunbe735532016-12-28 08:43:43 -0800934 select SYS_FSL_ERRATUM_A009942
York Sund297d392016-12-28 08:43:40 -0800935 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800936 select SYS_FSL_HAS_SEC
York Sun0d3b8592016-12-28 08:43:49 -0800937 select SYS_FSL_QORIQ_CHASSIS2
Tom Rini70850172022-07-31 21:08:28 -0400938 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v30
York Sunfa4199422016-12-28 08:43:31 -0800939 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800940 select SYS_FSL_SEC_COMPAT_4
Tom Rinid6412852023-01-10 11:19:42 -0500941 select SYS_FSL_SRDS_1
942 select SYS_FSL_SRDS_2
Tom Rini8d7aa572022-07-31 21:08:29 -0400943 select SYS_FSL_SRIO_LIODN
944 select SYS_FSL_QMAN_V3 if SYS_DPAA_QBMAN
945 select SYS_FSL_USB_DUAL_PHY_ENABLE
Tom Rinif552a132022-11-16 13:10:34 -0500946 select SYS_PMAN if !NOBQFMAN
York Sun7eafac12016-12-28 08:43:50 -0800947 select SYS_PPC64
Prabhakar Kushwahab0f8bae2017-02-02 15:01:13 +0530948 select FSL_IFC
Simon Glass203b3ab2017-06-14 21:28:24 -0600949 imply CMD_SATA
Tom Rini00448d22017-07-28 21:31:42 -0400950 imply CMD_NAND
Christophe Leroye538bbc2017-08-04 16:34:40 -0600951 imply CMD_REGINFO
Tuomas Tynkkynen8df5dd32017-12-08 15:36:17 +0200952 imply FSL_SATA
York Sune7a6eaf2016-12-02 10:44:34 -0800953
Jagdish Gediya7f2ad252018-09-03 21:35:10 +0530954config MPC85XX_HAVE_RESET_VECTOR
Tom Riniaac81492022-12-04 10:13:40 -0500955 bool "Indicate reset vector at CFG_RESET_VECTOR_ADDRESS - 0xffc"
Jagdish Gediya7f2ad252018-09-03 21:35:10 +0530956 depends on MPC85xx
957
Tom Rinie59f3242022-02-23 12:28:15 -0500958config BTB
959 bool "toggle branch predition"
960
York Sunaf5495a2016-12-28 08:43:27 -0800961config BOOKE
962 bool
963 default y
964
965config E500
966 bool
967 default y
968 help
969 Enable PowerPC E500 cores, including e500v1, e500v2, e500mc
970
971config E500MC
972 bool
Tom Rinie59f3242022-02-23 12:28:15 -0500973 select BTB
Simon Glassc88a09a2017-08-04 16:34:34 -0600974 imply CMD_PCI
York Sunaf5495a2016-12-28 08:43:27 -0800975 help
976 Enble PowerPC E500MC core
977
Tom Rinic1c04bd2022-03-24 17:18:01 -0400978config E5500
979 bool
980
York Sunf4e8a752016-12-28 08:43:48 -0800981config E6500
982 bool
Tom Rinie59f3242022-02-23 12:28:15 -0500983 select BTB
York Sunf4e8a752016-12-28 08:43:48 -0800984 help
985 Enable PowerPC E6500 core
986
Tom Rinif552a132022-11-16 13:10:34 -0500987config NOBQFMAN
988 bool
989
York Sune7a6eaf2016-12-02 10:44:34 -0800990config FSL_LAW
991 bool
992 help
993 Use Freescale common code for Local Access Window
York Sun0fad3262016-11-21 13:35:41 -0800994
Tom Rini46f83262022-06-16 14:04:34 -0400995config HETROGENOUS_CLUSTERS
996 bool
997
York Suncbf7bf32016-11-23 12:30:40 -0800998config MAX_CPUS
999 int "Maximum number of CPUs permitted for MPC85xx"
1000 default 12 if ARCH_T4240
Tom Rinia7ffa3d2021-05-23 10:58:05 -04001001 default 8 if ARCH_P4080
York Suncbf7bf32016-11-23 12:30:40 -08001002 default 4 if ARCH_B4860 || \
1003 ARCH_P2041 || \
1004 ARCH_P3041 || \
1005 ARCH_P5040 || \
1006 ARCH_T1040 || \
1007 ARCH_T1042 || \
Tom Rini3ec582b2021-02-20 20:06:21 -05001008 ARCH_T2080
York Suncbf7bf32016-11-23 12:30:40 -08001009 default 2 if ARCH_B4420 || \
1010 ARCH_BSC9132 || \
York Suncbf7bf32016-11-23 12:30:40 -08001011 ARCH_P1020 || \
1012 ARCH_P1021 || \
York Suncbf7bf32016-11-23 12:30:40 -08001013 ARCH_P1023 || \
1014 ARCH_P1024 || \
1015 ARCH_P1025 || \
1016 ARCH_P2020 || \
York Suncbf7bf32016-11-23 12:30:40 -08001017 ARCH_T1024
1018 default 1
1019 help
1020 Set this number to the maximum number of possible CPUs in the SoC.
1021 SoCs may have multiple clusters with each cluster may have multiple
1022 ports. If some ports are reserved but higher ports are used for
1023 cores, count the reserved ports. This will allocate enough memory
1024 in spin table to properly handle all cores.
1025
York Sun7ea6f352016-12-01 13:26:06 -08001026config SYS_CCSRBAR_DEFAULT
1027 hex "Default CCSRBAR address"
1028 default 0xff700000 if ARCH_BSC9131 || \
1029 ARCH_BSC9132 || \
1030 ARCH_C29X || \
1031 ARCH_MPC8536 || \
1032 ARCH_MPC8540 || \
York Sun7ea6f352016-12-01 13:26:06 -08001033 ARCH_MPC8544 || \
1034 ARCH_MPC8548 || \
York Sun7ea6f352016-12-01 13:26:06 -08001035 ARCH_MPC8560 || \
York Sun7ea6f352016-12-01 13:26:06 -08001036 ARCH_P1010 || \
1037 ARCH_P1011 || \
1038 ARCH_P1020 || \
1039 ARCH_P1021 || \
York Sun7ea6f352016-12-01 13:26:06 -08001040 ARCH_P1024 || \
1041 ARCH_P1025 || \
1042 ARCH_P2020
1043 default 0xff600000 if ARCH_P1023
1044 default 0xfe000000 if ARCH_B4420 || \
1045 ARCH_B4860 || \
1046 ARCH_P2041 || \
1047 ARCH_P3041 || \
1048 ARCH_P4080 || \
York Sun7ea6f352016-12-01 13:26:06 -08001049 ARCH_P5040 || \
York Sun7ea6f352016-12-01 13:26:06 -08001050 ARCH_T1024 || \
1051 ARCH_T1040 || \
1052 ARCH_T1042 || \
1053 ARCH_T2080 || \
York Sun7ea6f352016-12-01 13:26:06 -08001054 ARCH_T4240
1055 default 0xe0000000 if ARCH_QEMU_E500
1056 help
1057 Default value of CCSRBAR comes from power-on-reset. It
1058 is fixed on each SoC. Some SoCs can have different value
1059 if changed by pre-boot regime. The value here must match
1060 the current value in SoC. If not sure, do not change.
1061
Tom Rinif552a132022-11-16 13:10:34 -05001062config SYS_DPAA_PME
1063 bool
1064
1065config SYS_DPAA_DCE
1066 bool
1067
1068config SYS_DPAA_RMAN
1069 bool
1070
Tom Rini2404edc2022-03-11 09:11:59 -05001071config A003399_NOR_WORKAROUND
1072 bool
1073 help
1074 Enables a workaround for IFC erratum A003399. It is only required
1075 during NOR boot.
1076
Tom Riniea2bbec2022-03-11 09:12:00 -05001077config A008044_WORKAROUND
1078 bool
1079 help
1080 Enables a workaround for T1040/T1042 erratum A008044. It is only
1081 required during NAND boot and valid for Rev 1.0 SoC revision
1082
York Sunbe735532016-12-28 08:43:43 -08001083config SYS_FSL_ERRATUM_A004468
1084 bool
1085
1086config SYS_FSL_ERRATUM_A004477
1087 bool
1088
1089config SYS_FSL_ERRATUM_A004508
1090 bool
1091
1092config SYS_FSL_ERRATUM_A004580
1093 bool
1094
1095config SYS_FSL_ERRATUM_A004699
1096 bool
1097
1098config SYS_FSL_ERRATUM_A004849
1099 bool
1100
1101config SYS_FSL_ERRATUM_A004510
1102 bool
1103
1104config SYS_FSL_ERRATUM_A004510_SVR_REV
1105 hex
1106 depends on SYS_FSL_ERRATUM_A004510
1107 default 0x20 if ARCH_P4080
1108 default 0x10
1109
1110config SYS_FSL_ERRATUM_A004510_SVR_REV2
1111 hex
1112 depends on (SYS_FSL_ERRATUM_A004510 && (ARCH_P2041 || ARCH_P3041))
1113 default 0x11
1114
1115config SYS_FSL_ERRATUM_A005125
1116 bool
1117
1118config SYS_FSL_ERRATUM_A005434
1119 bool
1120
1121config SYS_FSL_ERRATUM_A005812
1122 bool
1123
1124config SYS_FSL_ERRATUM_A005871
1125 bool
1126
Chris Packham434f0582018-10-04 20:03:53 +13001127config SYS_FSL_ERRATUM_A005275
1128 bool
1129
York Sunbe735532016-12-28 08:43:43 -08001130config SYS_FSL_ERRATUM_A006261
1131 bool
1132
1133config SYS_FSL_ERRATUM_A006379
1134 bool
1135
1136config SYS_FSL_ERRATUM_A006384
1137 bool
1138
1139config SYS_FSL_ERRATUM_A006475
1140 bool
1141
1142config SYS_FSL_ERRATUM_A006593
1143 bool
1144
1145config SYS_FSL_ERRATUM_A007075
1146 bool
1147
1148config SYS_FSL_ERRATUM_A007186
1149 bool
1150
1151config SYS_FSL_ERRATUM_A007212
1152 bool
1153
Tony O'Brien8acb1272016-12-02 09:22:34 +13001154config SYS_FSL_ERRATUM_A007815
1155 bool
1156
York Sunbe735532016-12-28 08:43:43 -08001157config SYS_FSL_ERRATUM_A007798
1158 bool
1159
Darwin Dingela56d6c02016-10-25 09:48:01 +13001160config SYS_FSL_ERRATUM_A007907
1161 bool
1162
York Sunbe735532016-12-28 08:43:43 -08001163config SYS_FSL_ERRATUM_A008044
1164 bool
Tom Riniea2bbec2022-03-11 09:12:00 -05001165 select A008044_WORKAROUND if MTD_RAW_NAND
York Sunbe735532016-12-28 08:43:43 -08001166
1167config SYS_FSL_ERRATUM_CPC_A002
1168 bool
1169
1170config SYS_FSL_ERRATUM_CPC_A003
1171 bool
1172
1173config SYS_FSL_ERRATUM_CPU_A003999
1174 bool
1175
1176config SYS_FSL_ERRATUM_ELBC_A001
1177 bool
1178
1179config SYS_FSL_ERRATUM_I2C_A004447
1180 bool
1181
1182config SYS_FSL_A004447_SVR_REV
1183 hex
1184 depends on SYS_FSL_ERRATUM_I2C_A004447
1185 default 0x00 if ARCH_MPC8548
1186 default 0x10 if ARCH_P1010
1187 default 0x11 if ARCH_P1023 || ARCH_P2041 || ARCH_BSC9132
Tom Rini30900822021-02-20 20:06:30 -05001188 default 0x20 if ARCH_P3041 || ARCH_P4080
York Sunbe735532016-12-28 08:43:43 -08001189
1190config SYS_FSL_ERRATUM_IFC_A002769
1191 bool
1192
1193config SYS_FSL_ERRATUM_IFC_A003399
1194 bool
1195
1196config SYS_FSL_ERRATUM_NMG_CPU_A011
1197 bool
1198
1199config SYS_FSL_ERRATUM_NMG_ETSEC129
1200 bool
1201
1202config SYS_FSL_ERRATUM_NMG_LBC103
1203 bool
1204
1205config SYS_FSL_ERRATUM_P1010_A003549
1206 bool
1207
1208config SYS_FSL_ERRATUM_SATA_A001
1209 bool
1210
1211config SYS_FSL_ERRATUM_SEC_A003571
1212 bool
1213
1214config SYS_FSL_ERRATUM_SRIO_A004034
1215 bool
1216
1217config SYS_FSL_ERRATUM_USB14
1218 bool
1219
1220config SYS_P4080_ERRATUM_CPU22
1221 bool
1222
1223config SYS_P4080_ERRATUM_PCIE_A003
1224 bool
1225
1226config SYS_P4080_ERRATUM_SERDES8
1227 bool
1228
1229config SYS_P4080_ERRATUM_SERDES9
1230 bool
1231
1232config SYS_P4080_ERRATUM_SERDES_A001
1233 bool
1234
1235config SYS_P4080_ERRATUM_SERDES_A005
1236 bool
1237
Hou Zhiqiangdeb47f52019-05-22 22:46:03 +08001238config FSL_PCIE_DISABLE_ASPM
1239 bool
1240
Hou Zhiqiang01500f52019-05-23 11:52:44 +08001241config FSL_PCIE_RESET
1242 bool
1243
Tom Rinif552a132022-11-16 13:10:34 -05001244config SYS_PMAN
1245 bool
1246
Tom Rini8d7aa572022-07-31 21:08:29 -04001247config SYS_FSL_RAID_ENGINE
1248 bool
1249
1250config SYS_FSL_RMU
1251 bool
1252
York Sun0d3b8592016-12-28 08:43:49 -08001253config SYS_FSL_QORIQ_CHASSIS1
1254 bool
1255
1256config SYS_FSL_QORIQ_CHASSIS2
1257 bool
1258
York Sun091e5e52016-12-01 14:05:02 -08001259config SYS_FSL_NUM_LAWS
1260 int "Number of local access windows"
1261 depends on FSL_LAW
1262 default 32 if ARCH_B4420 || \
1263 ARCH_B4860 || \
1264 ARCH_P2041 || \
1265 ARCH_P3041 || \
1266 ARCH_P4080 || \
York Sun091e5e52016-12-01 14:05:02 -08001267 ARCH_P5040 || \
1268 ARCH_T2080 || \
York Sun091e5e52016-12-01 14:05:02 -08001269 ARCH_T4240
Tom Rinib4e60262021-05-14 21:34:22 -04001270 default 16 if ARCH_T1024 || \
York Sun091e5e52016-12-01 14:05:02 -08001271 ARCH_T1040 || \
1272 ARCH_T1042
1273 default 12 if ARCH_BSC9131 || \
1274 ARCH_BSC9132 || \
1275 ARCH_C29X || \
1276 ARCH_MPC8536 || \
York Sun091e5e52016-12-01 14:05:02 -08001277 ARCH_P1010 || \
1278 ARCH_P1011 || \
1279 ARCH_P1020 || \
1280 ARCH_P1021 || \
York Sun091e5e52016-12-01 14:05:02 -08001281 ARCH_P1023 || \
1282 ARCH_P1024 || \
1283 ARCH_P1025 || \
1284 ARCH_P2020
1285 default 10 if ARCH_MPC8544 || \
Tom Rini31f56052021-05-14 21:34:23 -04001286 ARCH_MPC8548
York Sun091e5e52016-12-01 14:05:02 -08001287 default 8 if ARCH_MPC8540 || \
York Sun091e5e52016-12-01 14:05:02 -08001288 ARCH_MPC8560
1289 help
1290 Number of local access windows. This is fixed per SoC.
1291 If not sure, do not change.
1292
Tom Rinie2070212022-07-23 13:05:11 -04001293config SYS_FSL_CORES_PER_CLUSTER
1294 int
1295 depends on SYS_FSL_QORIQ_CHASSIS2
1296 default 4 if ARCH_B4860 || ARCH_T2080 || ARCH_T4240
1297 default 2 if ARCH_B4420
1298 default 1 if ARCH_T1024 || ARCH_T1040 || ARCH_T1042
1299
York Sunf4e8a752016-12-28 08:43:48 -08001300config SYS_FSL_THREADS_PER_CORE
1301 int
Tom Rinie2070212022-07-23 13:05:11 -04001302 depends on SYS_FSL_QORIQ_CHASSIS2
York Sunf4e8a752016-12-28 08:43:48 -08001303 default 2 if E6500
1304 default 1
1305
York Sun14e098d2016-12-28 08:43:28 -08001306config SYS_NUM_TLBCAMS
1307 int "Number of TLB CAM entries"
1308 default 64 if E500MC
1309 default 16
1310 help
1311 Number of TLB CAM entries for Book-E chips. 64 for E500MC,
1312 16 for other E500 SoCs.
1313
Tom Rinifc681b92022-12-02 16:42:33 -05001314config L2_CACHE
1315 bool "Enable L2 cache support"
1316
Tom Rini46f83262022-06-16 14:04:34 -04001317if HETROGENOUS_CLUSTERS
1318
1319config SYS_MAPLE
1320 def_bool y
1321
1322config SYS_CPRI
1323 def_bool y
1324
1325config PPC_CLUSTER_START
1326 int
1327 default 0
1328
1329config DSP_CLUSTER_START
1330 int
1331 default 1
1332
1333config SYS_CPRI_CLK
1334 int
1335 default 3
1336
1337config SYS_ULB_CLK
1338 int
1339 default 4
1340
1341config SYS_ETVPE_CLK
1342 int
1343 default 1
Tom Rini6fb86c12022-12-02 16:42:21 -05001344
1345config MAX_DSP_CPUS
1346 int
1347 default 12 if ARCH_B4860
1348 default 2 if ARCH_B4420
Tom Rini46f83262022-06-16 14:04:34 -04001349endif
1350
Tom Rinie4798922022-10-28 20:27:00 -04001351config SYS_L2_SIZE_256KB
1352 bool
1353
1354config SYS_L2_SIZE_512KB
1355 bool
1356
1357config SYS_L2_SIZE
1358 int
1359 default 262144 if SYS_L2_SIZE_256KB
1360 default 524288 if SYS_L2_SIZE_512KB
1361
Tom Rini1f05fe22022-03-18 08:38:32 -04001362config BACKSIDE_L2_CACHE
1363 bool
1364
Tom Rinie20e5712022-10-28 20:27:01 -04001365config SYS_L3_SIZE_256KB
1366 bool
1367
1368config SYS_L3_SIZE_512KB
1369 bool
1370
1371config SYS_L3_SIZE_1024KB
1372 bool
1373
1374config SYS_L3_SIZE
1375 int
1376 default 262144 if SYS_L3_SIZE_256KB
1377 default 524288 if SYS_L3_SIZE_512KB
1378 default 1048576 if SYS_L3_SIZE_512KB
1379
York Sun7eafac12016-12-28 08:43:50 -08001380config SYS_PPC64
1381 bool
1382
York Sun85ab6f02016-12-28 08:43:29 -08001383config SYS_PPC_E500_USE_DEBUG_TLB
1384 bool
1385
Prabhakar Kushwaha4c6be552017-02-02 15:01:48 +05301386config FSL_ELBC
1387 bool
1388
York Sun85ab6f02016-12-28 08:43:29 -08001389config SYS_PPC_E500_DEBUG_TLB
1390 int "Temporary TLB entry for external debugger"
1391 depends on SYS_PPC_E500_USE_DEBUG_TLB
1392 default 0 if ARCH_MPC8544 || ARCH_MPC8548
1393 default 1 if ARCH_MPC8536
Tom Rinie1ef7082021-05-14 21:34:25 -04001394 default 2 if ARCH_P1011 || \
York Sun85ab6f02016-12-28 08:43:29 -08001395 ARCH_P1020 || \
1396 ARCH_P1021 || \
York Sun85ab6f02016-12-28 08:43:29 -08001397 ARCH_P1024 || \
1398 ARCH_P1025 || \
1399 ARCH_P2020
1400 default 3 if ARCH_P1010 || \
1401 ARCH_BSC9132 || \
1402 ARCH_C29X
1403 help
1404 Select a temporary TLB entry to be used during boot to work
1405 around limitations in e500v1 and e500v2 external debugger
1406 support. This reduces the portions of the boot code where
1407 breakpoints and single stepping do not work. The value of this
1408 symbol should be set to the TLB1 entry to be used for this
1409 purpose. If unsure, do not change.
1410
Prabhakar Kushwaha3c48f582017-02-02 15:01:26 +05301411config SYS_FSL_IFC_CLK_DIV
1412 int "Divider of platform clock"
1413 depends on FSL_IFC
1414 default 2 if ARCH_B4420 || \
1415 ARCH_B4860 || \
1416 ARCH_T1024 || \
Prabhakar Kushwaha3c48f582017-02-02 15:01:26 +05301417 ARCH_T1040 || \
1418 ARCH_T1042 || \
Prabhakar Kushwaha3c48f582017-02-02 15:01:26 +05301419 ARCH_T4240
1420 default 1
1421 help
1422 Defines divider of platform clock(clock input to
1423 IFC controller).
1424
Prabhakar Kushwahabedc5622017-02-02 15:02:00 +05301425config SYS_FSL_LBC_CLK_DIV
1426 int "Divider of platform clock"
1427 depends on FSL_ELBC || ARCH_MPC8540 || \
Tom Rini7707c552021-05-14 21:34:20 -04001428 ARCH_MPC8548 || \
Tom Rini31f56052021-05-14 21:34:23 -04001429 ARCH_MPC8560
Prabhakar Kushwahabedc5622017-02-02 15:02:00 +05301430
1431 default 2 if ARCH_P2041 || \
1432 ARCH_P3041 || \
1433 ARCH_P4080 || \
Prabhakar Kushwahabedc5622017-02-02 15:02:00 +05301434 ARCH_P5040
1435 default 1
1436
1437 help
1438 Defines divider of platform clock(clock input to
1439 eLBC controller).
1440
Tom Rinia7fa9762022-06-15 12:03:45 -04001441config ENABLE_36BIT_PHYS
1442 bool "Enable 36bit physical address space support"
1443
Tom Rini2daaf642022-06-25 11:02:43 -04001444config SYS_BOOK3E_HV
1445 bool "Category E.HV is supported"
1446 depends on BOOKE
1447
Tom Rini7374a712022-07-23 13:05:08 -04001448config FSL_CORENET
1449 bool
1450 select SYS_FSL_CPC
1451
Tom Rini8d7aa572022-07-31 21:08:29 -04001452config FSL_NGPIXIS
1453 bool
1454
Tom Rinifc2dcd92022-06-25 11:02:45 -04001455config SYS_CPC_REINIT_F
1456 bool
1457 help
1458 The CPC is configured as SRAM at the time of U-Boot entry and is
1459 required to be re-initialized.
1460
1461config SYS_FSL_CPC
Tom Rini7374a712022-07-23 13:05:08 -04001462 bool
Tom Rinifc2dcd92022-06-25 11:02:45 -04001463
Tom Rini41e1a592022-06-27 13:35:46 -04001464config SYS_CACHE_STASHING
1465 bool "Enable cache stashing"
1466
Tom Rini70850172022-07-31 21:08:28 -04001467config SYS_FSL_PCIE_COMPAT_P4080_PCIE
1468 bool
1469
1470config SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v22
1471 bool
1472
1473config SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v24
1474 bool
1475
1476config SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v30
1477 bool
1478
1479config SYS_FSL_PCIE_COMPAT
1480 string
1481 depends on FSL_CORENET
1482 default "fsl,p4080-pcie" if SYS_FSL_PCIE_COMPAT_P4080_PCIE
1483 default "fsl,qoriq-pcie-v2.2" if SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v22
1484 default "fsl,qoriq-pcie-v2.4" if SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v24
1485 default "fsl,qoriq-pcie-v3.0" if SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v30
1486 help
1487 Defines the string to utilize when trying to match PCIe device tree
1488 nodes for the given platform.
1489
Tom Rini8d7aa572022-07-31 21:08:29 -04001490config SYS_FSL_SINGLE_SOURCE_CLK
1491 bool
1492
1493config SYS_FSL_SRIO_LIODN
1494 bool
1495
1496config SYS_FSL_TBCLK_DIV
1497 int
1498 default 32 if ARCH_P2041 || ARCH_P3041
1499 default 16 if ARCH_P4080 || ARCH_P5040 || ARCH_T4240 || ARCH_B4860 || \
1500 ARCH_B4420 || ARCH_T1040 || ARCH_T1042 || \
1501 ARCH_T1024 || ARCH_T2080
1502 default 8
1503 help
1504 Defines the core time base clock divider ratio compared to the system
1505 clock. On most PQ3 devices this is 8, on newer QorIQ devices it can
1506 be 16 or 32. The ratio varies from SoC to Soc.
1507
1508config SYS_FSL_USB1_PHY_ENABLE
1509 bool
1510
1511config SYS_FSL_USB2_PHY_ENABLE
1512 bool
1513
1514config SYS_FSL_USB_DUAL_PHY_ENABLE
1515 bool
1516
Tom Rini667dd4f2022-06-10 22:59:37 -04001517config SYS_MPC85XX_NO_RESETVEC
1518 bool "Discard resetvec section and move bootpg section up"
Tom Rinic3e45b92022-12-29 09:50:03 -05001519 depends on MPC85xx && !MPC85XX_HAVE_RESET_VECTOR
Tom Rini667dd4f2022-06-10 22:59:37 -04001520 help
1521 If this variable is specified, the section .resetvec is not kept and
1522 the section .bootpg is placed in the previous 4k of the .text section.
1523
1524config SPL_SYS_MPC85XX_NO_RESETVEC
1525 bool "Discard resetvec section and move bootpg section up, in SPL"
Tom Rinic3e45b92022-12-29 09:50:03 -05001526 depends on MPC85xx && SPL && !MPC85XX_HAVE_RESET_VECTOR
Tom Rini667dd4f2022-06-10 22:59:37 -04001527 help
1528 If this variable is specified, the section .resetvec is not kept and
1529 the section .bootpg is placed in the previous 4k of the .text section,
1530 of the SPL portion of the binary.
1531
1532config TPL_SYS_MPC85XX_NO_RESETVEC
1533 bool "Discard resetvec section and move bootpg section up, in TPL"
Tom Rinic3e45b92022-12-29 09:50:03 -05001534 depends on MPC85xx && TPL && !MPC85XX_HAVE_RESET_VECTOR
Tom Rini667dd4f2022-06-10 22:59:37 -04001535 help
1536 If this variable is specified, the section .resetvec is not kept and
1537 the section .bootpg is placed in the previous 4k of the .text section,
1538 of the SPL portion of the binary.
1539
Rajesh Bhagat6d072982021-02-15 09:46:14 +01001540config FSL_VIA
1541 bool
1542
Pali Rohár6763ff82024-06-06 18:33:26 +02001543source "board/CZ.NIC/turris_1x/Kconfig"
Bin Meng2076d992021-02-25 17:22:58 +08001544source "board/emulation/qemu-ppce500/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001545source "board/freescale/mpc8548cds/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001546source "board/freescale/p1010rdb/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001547source "board/freescale/p1_p2_rdb_pc/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001548source "board/freescale/p2041rdb/Kconfig"
Shengzhou Liu49912402014-11-24 17:11:56 +08001549source "board/freescale/t102xrdb/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001550source "board/freescale/t104xrdb/Kconfig"
1551source "board/freescale/t208xqds/Kconfig"
1552source "board/freescale/t208xrdb/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001553source "board/freescale/t4rdb/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001554source "board/socrates/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001555
1556endmenu