blob: b441ba9840ad5ef16f80de8924ed242e82a742f2 [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
180 select SYS_L2_SIZE_512KB
181
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900182config TARGET_P2041RDB
183 bool "Support P2041RDB"
York Sun5786fca2016-11-18 11:15:21 -0800184 select ARCH_P2041
Tom Rini22d567e2017-01-22 19:43:11 -0500185 select BOARD_LATE_INIT if CHAIN_OF_TRUST
Tom Rini7374a712022-07-23 13:05:08 -0400186 select FSL_CORENET
Masahiro Yamada653e9fe2016-07-25 19:56:03 +0900187 select PHYS_64BIT
Tom Rinie20e5712022-10-28 20:27:01 -0400188 select SYS_L3_SIZE_1024KB
Simon Glass203b3ab2017-06-14 21:28:24 -0600189 imply CMD_SATA
Tuomas Tynkkynen8df5dd32017-12-08 15:36:17 +0200190 imply FSL_SATA
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900191
192config TARGET_QEMU_PPCE500
193 bool "Support qemu-ppce500"
York Sun51e91e82016-11-18 12:29:51 -0800194 select ARCH_QEMU_E500
Masahiro Yamada653e9fe2016-07-25 19:56:03 +0900195 select PHYS_64BIT
Tom Rinieb4f2de2022-06-25 11:02:44 -0400196 select SYS_RAMBOOT
Simon Glass94886db2021-12-16 20:59:36 -0700197 imply OF_HAS_PRIOR_STAGE
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900198
York Suna5ca1422016-11-18 12:45:44 -0800199config TARGET_T1024RDB
200 bool "Support T1024RDB"
York Sun7d29dd62016-11-18 13:01:34 -0800201 select ARCH_T1024
Tom Rini22d567e2017-01-22 19:43:11 -0500202 select BOARD_LATE_INIT if CHAIN_OF_TRUST
Shengzhou Liu49912402014-11-24 17:11:56 +0800203 select SUPPORT_SPL
Masahiro Yamada653e9fe2016-07-25 19:56:03 +0900204 select PHYS_64BIT
Rajesh Bhagatba2414f2019-02-01 05:22:01 +0000205 select FSL_DDR_INTERACTIVE
Tom Rinie20e5712022-10-28 20:27:01 -0400206 select SYS_L3_SIZE_256KB
Simon Glass4590d4e2017-05-17 03:25:10 -0600207 imply CMD_EEPROM
Masahiro Yamadaacede7a2017-12-04 12:37:00 +0900208 imply PANIC_HANG
Shengzhou Liu49912402014-11-24 17:11:56 +0800209
York Sund08610d2016-11-21 11:04:34 -0800210config TARGET_T1042D4RDB
211 bool "Support T1042D4RDB"
212 select ARCH_T1042
Tom Rini22d567e2017-01-22 19:43:11 -0500213 select BOARD_LATE_INIT if CHAIN_OF_TRUST
York Sund08610d2016-11-21 11:04:34 -0800214 select SUPPORT_SPL
215 select PHYS_64BIT
Tom Rinie20e5712022-10-28 20:27:01 -0400216 select SYS_L3_SIZE_256KB
Masahiro Yamadaacede7a2017-12-04 12:37:00 +0900217 imply PANIC_HANG
York Sund08610d2016-11-21 11:04:34 -0800218
York Sund1a6c0f2016-11-21 12:46:58 -0800219config TARGET_T2080QDS
220 bool "Support T2080QDS"
York Sune20c6852016-11-21 12:54:19 -0800221 select ARCH_T2080
Tom Rini22d567e2017-01-22 19:43:11 -0500222 select BOARD_LATE_INIT if CHAIN_OF_TRUST
Masahiro Yamada6e0971b2014-10-20 17:45:56 +0900223 select SUPPORT_SPL
Masahiro Yamada653e9fe2016-07-25 19:56:03 +0900224 select PHYS_64BIT
Rajesh Bhagatba2414f2019-02-01 05:22:01 +0000225 select FSL_DDR_FIRST_SLOT_QUAD_CAPABLE
226 select FSL_DDR_INTERACTIVE
Tom Rinie20e5712022-10-28 20:27:01 -0400227 select SYS_L3_SIZE_512KB
Peng Ma34bed5d2019-12-23 09:28:12 +0000228 imply CMD_SATA
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900229
York Sun58459252016-11-21 12:57:22 -0800230config TARGET_T2080RDB
231 bool "Support T2080RDB"
York Sune20c6852016-11-21 12:54:19 -0800232 select ARCH_T2080
Tom Rini22d567e2017-01-22 19:43:11 -0500233 select BOARD_LATE_INIT if CHAIN_OF_TRUST
Masahiro Yamada6e0971b2014-10-20 17:45:56 +0900234 select SUPPORT_SPL
Masahiro Yamada653e9fe2016-07-25 19:56:03 +0900235 select PHYS_64BIT
Tom Rinie20e5712022-10-28 20:27:01 -0400236 select SYS_L3_SIZE_512KB
Simon Glass203b3ab2017-06-14 21:28:24 -0600237 imply CMD_SATA
Masahiro Yamadaacede7a2017-12-04 12:37:00 +0900238 imply PANIC_HANG
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900239
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900240config TARGET_T4240RDB
241 bool "Support T4240RDB"
York Sun0fad3262016-11-21 13:35:41 -0800242 select ARCH_T4240
Chunhe Lan66cba6b2015-03-20 17:08:54 +0800243 select SUPPORT_SPL
Masahiro Yamada653e9fe2016-07-25 19:56:03 +0900244 select PHYS_64BIT
Rajesh Bhagatba2414f2019-02-01 05:22:01 +0000245 select FSL_DDR_FIRST_SLOT_QUAD_CAPABLE
Tom Rinie20e5712022-10-28 20:27:01 -0400246 select SYS_L3_SIZE_512KB
Simon Glass203b3ab2017-06-14 21:28:24 -0600247 imply CMD_SATA
Masahiro Yamadaacede7a2017-12-04 12:37:00 +0900248 imply PANIC_HANG
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900249
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900250config TARGET_KMP204X
251 bool "Support kmp204x"
Pascal Linder305329f2019-06-18 13:27:47 +0200252 select VENDOR_KM
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900253
Niel Fouriedb7241d2021-01-21 13:19:20 +0100254config TARGET_KMCENT2
255 bool "Support kmcent2"
256 select VENDOR_KM
Tom Rini7d3684a2023-01-16 15:46:49 -0500257 select EVENT
Tom Rini7374a712022-07-23 13:05:08 -0400258 select FSL_CORENET
Tom Rinif552a132022-11-16 13:10:34 -0500259 select SYS_DPAA_FMAN
260 select SYS_DPAA_PME
Tom Rinie20e5712022-10-28 20:27:01 -0400261 select SYS_L3_SIZE_256KB
Niel Fouriedb7241d2021-01-21 13:19:20 +0100262
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900263endchoice
264
York Sunfda566d2016-11-18 11:56:57 -0800265config ARCH_B4420
266 bool
York Sunaf5495a2016-12-28 08:43:27 -0800267 select E500MC
York Sunf4e8a752016-12-28 08:43:48 -0800268 select E6500
Tom Rini7374a712022-07-23 13:05:08 -0400269 select FSL_CORENET
York Sune7a6eaf2016-12-02 10:44:34 -0800270 select FSL_LAW
Tom Rini46f83262022-06-16 14:04:34 -0400271 select HETROGENOUS_CLUSTERS
York Sun4e577972016-12-28 08:43:46 -0800272 select SYS_FSL_DDR_VER_47
York Sunbe735532016-12-28 08:43:43 -0800273 select SYS_FSL_ERRATUM_A004477
274 select SYS_FSL_ERRATUM_A005871
275 select SYS_FSL_ERRATUM_A006379
276 select SYS_FSL_ERRATUM_A006384
277 select SYS_FSL_ERRATUM_A006475
278 select SYS_FSL_ERRATUM_A006593
279 select SYS_FSL_ERRATUM_A007075
Tom Rinia1663992022-06-16 14:04:40 -0400280 select SYS_FSL_ERRATUM_A007186 if CHAIN_OF_TRUST
York Sunbe735532016-12-28 08:43:43 -0800281 select SYS_FSL_ERRATUM_A007212
282 select SYS_FSL_ERRATUM_A009942
York Sund297d392016-12-28 08:43:40 -0800283 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800284 select SYS_FSL_HAS_SEC
York Sun0d3b8592016-12-28 08:43:49 -0800285 select SYS_FSL_QORIQ_CHASSIS2
Tom Rini70850172022-07-31 21:08:28 -0400286 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v24
York Sunfa4199422016-12-28 08:43:31 -0800287 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800288 select SYS_FSL_SEC_COMPAT_4
Tom Rini8d7aa572022-07-31 21:08:29 -0400289 select SYS_FSL_QMAN_V3 if SYS_DPAA_QBMAN
290 select SYS_FSL_USB1_PHY_ENABLE
York Sun7eafac12016-12-28 08:43:50 -0800291 select SYS_PPC64
Prabhakar Kushwahab0f8bae2017-02-02 15:01:13 +0530292 select FSL_IFC
Simon Glass4590d4e2017-05-17 03:25:10 -0600293 imply CMD_EEPROM
Tom Rini00448d22017-07-28 21:31:42 -0400294 imply CMD_NAND
Christophe Leroye538bbc2017-08-04 16:34:40 -0600295 imply CMD_REGINFO
York Sunfda566d2016-11-18 11:56:57 -0800296
York Sun68eaa9a2016-11-18 11:44:43 -0800297config ARCH_B4860
298 bool
York Sunaf5495a2016-12-28 08:43:27 -0800299 select E500MC
York Sunf4e8a752016-12-28 08:43:48 -0800300 select E6500
Tom Rini7374a712022-07-23 13:05:08 -0400301 select FSL_CORENET
York Sune7a6eaf2016-12-02 10:44:34 -0800302 select FSL_LAW
Tom Rini46f83262022-06-16 14:04:34 -0400303 select HETROGENOUS_CLUSTERS
York Sun4e577972016-12-28 08:43:46 -0800304 select SYS_FSL_DDR_VER_47
York Sunbe735532016-12-28 08:43:43 -0800305 select SYS_FSL_ERRATUM_A004477
306 select SYS_FSL_ERRATUM_A005871
307 select SYS_FSL_ERRATUM_A006379
308 select SYS_FSL_ERRATUM_A006384
309 select SYS_FSL_ERRATUM_A006475
310 select SYS_FSL_ERRATUM_A006593
311 select SYS_FSL_ERRATUM_A007075
Tom Rinia1663992022-06-16 14:04:40 -0400312 select SYS_FSL_ERRATUM_A007186 if CHAIN_OF_TRUST
York Sunbe735532016-12-28 08:43:43 -0800313 select SYS_FSL_ERRATUM_A007212
Darwin Dingela56d6c02016-10-25 09:48:01 +1300314 select SYS_FSL_ERRATUM_A007907
York Sunbe735532016-12-28 08:43:43 -0800315 select SYS_FSL_ERRATUM_A009942
York Sund297d392016-12-28 08:43:40 -0800316 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800317 select SYS_FSL_HAS_SEC
York Sun0d3b8592016-12-28 08:43:49 -0800318 select SYS_FSL_QORIQ_CHASSIS2
Tom Rini70850172022-07-31 21:08:28 -0400319 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v24
York Sunfa4199422016-12-28 08:43:31 -0800320 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800321 select SYS_FSL_SEC_COMPAT_4
Tom Rinid6412852023-01-10 11:19:42 -0500322 select SYS_FSL_SRDS_1
323 select SYS_FSL_SRDS_2
Tom Rini8d7aa572022-07-31 21:08:29 -0400324 select SYS_FSL_SRIO_LIODN
325 select SYS_FSL_QMAN_V3 if SYS_DPAA_QBMAN
326 select SYS_FSL_USB1_PHY_ENABLE
York Sun7eafac12016-12-28 08:43:50 -0800327 select SYS_PPC64
Prabhakar Kushwahab0f8bae2017-02-02 15:01:13 +0530328 select FSL_IFC
Simon Glass4590d4e2017-05-17 03:25:10 -0600329 imply CMD_EEPROM
Tom Rini00448d22017-07-28 21:31:42 -0400330 imply CMD_NAND
Christophe Leroye538bbc2017-08-04 16:34:40 -0600331 imply CMD_REGINFO
York Sun68eaa9a2016-11-18 11:44:43 -0800332
York Suna80bdf72016-11-15 14:09:50 -0800333config ARCH_BSC9131
334 bool
York Sune7a6eaf2016-12-02 10:44:34 -0800335 select FSL_LAW
York Sun4e577972016-12-28 08:43:46 -0800336 select SYS_FSL_DDR_VER_44
York Sunbe735532016-12-28 08:43:43 -0800337 select SYS_FSL_ERRATUM_A004477
338 select SYS_FSL_ERRATUM_A005125
York Sun097e3602016-12-28 08:43:42 -0800339 select SYS_FSL_ERRATUM_ESDHC111
York Sund297d392016-12-28 08:43:40 -0800340 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800341 select SYS_FSL_HAS_SEC
York Sunfa4199422016-12-28 08:43:31 -0800342 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800343 select SYS_FSL_SEC_COMPAT_4
Prabhakar Kushwahab0f8bae2017-02-02 15:01:13 +0530344 select FSL_IFC
Simon Glass4590d4e2017-05-17 03:25:10 -0600345 imply CMD_EEPROM
Tom Rini00448d22017-07-28 21:31:42 -0400346 imply CMD_NAND
Christophe Leroye538bbc2017-08-04 16:34:40 -0600347 imply CMD_REGINFO
York Suna80bdf72016-11-15 14:09:50 -0800348
349config ARCH_BSC9132
350 bool
York Sune7a6eaf2016-12-02 10:44:34 -0800351 select FSL_LAW
York Sun4e577972016-12-28 08:43:46 -0800352 select SYS_FSL_DDR_VER_46
York Sunbe735532016-12-28 08:43:43 -0800353 select SYS_FSL_ERRATUM_A004477
354 select SYS_FSL_ERRATUM_A005125
355 select SYS_FSL_ERRATUM_A005434
York Sun097e3602016-12-28 08:43:42 -0800356 select SYS_FSL_ERRATUM_ESDHC111
York Sunbe735532016-12-28 08:43:43 -0800357 select SYS_FSL_ERRATUM_I2C_A004447
358 select SYS_FSL_ERRATUM_IFC_A002769
Hou Zhiqiang01500f52019-05-23 11:52:44 +0800359 select FSL_PCIE_RESET
York Sund297d392016-12-28 08:43:40 -0800360 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800361 select SYS_FSL_HAS_SEC
Tom Rini70850172022-07-31 21:08:28 -0400362 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v22
York Sunfa4199422016-12-28 08:43:31 -0800363 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800364 select SYS_FSL_SEC_COMPAT_4
York Sun85ab6f02016-12-28 08:43:29 -0800365 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwahab0f8bae2017-02-02 15:01:13 +0530366 select FSL_IFC
Simon Glass4590d4e2017-05-17 03:25:10 -0600367 imply CMD_EEPROM
Tom Rinic20bb732017-07-22 18:36:16 -0400368 imply CMD_MTDPARTS
Tom Rini00448d22017-07-28 21:31:42 -0400369 imply CMD_NAND
Simon Glassc88a09a2017-08-04 16:34:34 -0600370 imply CMD_PCI
Christophe Leroye538bbc2017-08-04 16:34:40 -0600371 imply CMD_REGINFO
York Suna80bdf72016-11-15 14:09:50 -0800372
York Sun4119aee2016-11-15 18:44:22 -0800373config ARCH_C29X
374 bool
York Sune7a6eaf2016-12-02 10:44:34 -0800375 select FSL_LAW
York Sun4e577972016-12-28 08:43:46 -0800376 select SYS_FSL_DDR_VER_46
York Sunbe735532016-12-28 08:43:43 -0800377 select SYS_FSL_ERRATUM_A005125
York Sun097e3602016-12-28 08:43:42 -0800378 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiang01500f52019-05-23 11:52:44 +0800379 select FSL_PCIE_RESET
York Sund297d392016-12-28 08:43:40 -0800380 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800381 select SYS_FSL_HAS_SEC
York Sunfa4199422016-12-28 08:43:31 -0800382 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800383 select SYS_FSL_SEC_COMPAT_6
York Sun85ab6f02016-12-28 08:43:29 -0800384 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwahab0f8bae2017-02-02 15:01:13 +0530385 select FSL_IFC
Tom Rini00448d22017-07-28 21:31:42 -0400386 imply CMD_NAND
Simon Glassc88a09a2017-08-04 16:34:34 -0600387 imply CMD_PCI
Christophe Leroye538bbc2017-08-04 16:34:40 -0600388 imply CMD_REGINFO
York Sun4119aee2016-11-15 18:44:22 -0800389
York Sun5557d6b2016-11-16 11:06:47 -0800390config ARCH_MPC8536
391 bool
York Sune7a6eaf2016-12-02 10:44:34 -0800392 select FSL_LAW
York Sunbe735532016-12-28 08:43:43 -0800393 select SYS_FSL_ERRATUM_A004508
394 select SYS_FSL_ERRATUM_A005125
Hou Zhiqiang01500f52019-05-23 11:52:44 +0800395 select FSL_PCIE_RESET
York Sund297d392016-12-28 08:43:40 -0800396 select SYS_FSL_HAS_DDR2
397 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800398 select SYS_FSL_HAS_SEC
York Sunfa4199422016-12-28 08:43:31 -0800399 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800400 select SYS_FSL_SEC_COMPAT_2
York Sun85ab6f02016-12-28 08:43:29 -0800401 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha4c6be552017-02-02 15:01:48 +0530402 select FSL_ELBC
Tom Rini00448d22017-07-28 21:31:42 -0400403 imply CMD_NAND
Simon Glass203b3ab2017-06-14 21:28:24 -0600404 imply CMD_SATA
Christophe Leroye538bbc2017-08-04 16:34:40 -0600405 imply CMD_REGINFO
York Sun5557d6b2016-11-16 11:06:47 -0800406
York Sun5ddce892016-11-16 11:13:06 -0800407config ARCH_MPC8540
408 bool
York Sune7a6eaf2016-12-02 10:44:34 -0800409 select FSL_LAW
York Sund297d392016-12-28 08:43:40 -0800410 select SYS_FSL_HAS_DDR1
York Sun5ddce892016-11-16 11:13:06 -0800411
York Sun5ac012a2016-11-15 13:57:15 -0800412config ARCH_MPC8544
413 bool
Tom Rinie59f3242022-02-23 12:28:15 -0500414 select BTB
York Sune7a6eaf2016-12-02 10:44:34 -0800415 select FSL_LAW
Tom Rini3ef67ae2021-08-26 11:47:59 -0400416 select SYS_CACHE_SHIFT_5
York Sunbe735532016-12-28 08:43:43 -0800417 select SYS_FSL_ERRATUM_A005125
Hou Zhiqiang01500f52019-05-23 11:52:44 +0800418 select FSL_PCIE_RESET
York Sund297d392016-12-28 08:43:40 -0800419 select SYS_FSL_HAS_DDR2
York Sun92c36e22016-12-28 08:43:30 -0800420 select SYS_FSL_HAS_SEC
York Sunfa4199422016-12-28 08:43:31 -0800421 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800422 select SYS_FSL_SEC_COMPAT_2
York Sun85ab6f02016-12-28 08:43:29 -0800423 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha4c6be552017-02-02 15:01:48 +0530424 select FSL_ELBC
York Sun5ac012a2016-11-15 13:57:15 -0800425
York Sunefc49e02016-11-15 13:52:34 -0800426config ARCH_MPC8548
427 bool
Tom Rinie59f3242022-02-23 12:28:15 -0500428 select BTB
York Sune7a6eaf2016-12-02 10:44:34 -0800429 select FSL_LAW
York Sunbe735532016-12-28 08:43:43 -0800430 select SYS_FSL_ERRATUM_A005125
431 select SYS_FSL_ERRATUM_NMG_DDR120
432 select SYS_FSL_ERRATUM_NMG_LBC103
433 select SYS_FSL_ERRATUM_NMG_ETSEC129
434 select SYS_FSL_ERRATUM_I2C_A004447
Hou Zhiqiang01500f52019-05-23 11:52:44 +0800435 select FSL_PCIE_RESET
York Sund297d392016-12-28 08:43:40 -0800436 select SYS_FSL_HAS_DDR2
437 select SYS_FSL_HAS_DDR1
York Sun92c36e22016-12-28 08:43:30 -0800438 select SYS_FSL_HAS_SEC
Tom Rini8d7aa572022-07-31 21:08:29 -0400439 select SYS_FSL_RMU
York Sunfa4199422016-12-28 08:43:31 -0800440 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800441 select SYS_FSL_SEC_COMPAT_2
York Sun85ab6f02016-12-28 08:43:29 -0800442 select SYS_PPC_E500_USE_DEBUG_TLB
Christophe Leroye538bbc2017-08-04 16:34:40 -0600443 imply CMD_REGINFO
York Sunefc49e02016-11-15 13:52:34 -0800444
York Sunb4046f42016-11-16 11:26:45 -0800445config ARCH_MPC8560
446 bool
York Sune7a6eaf2016-12-02 10:44:34 -0800447 select FSL_LAW
York Sund297d392016-12-28 08:43:40 -0800448 select SYS_FSL_HAS_DDR1
York Sunb4046f42016-11-16 11:26:45 -0800449
York Sun24f88b32016-11-16 13:08:52 -0800450config ARCH_P1010
451 bool
Tom Rini2404edc2022-03-11 09:11:59 -0500452 select A003399_NOR_WORKAROUND if SYS_FSL_ERRATUM_IFC_A003399 && !SPL
Tom Rinie59f3242022-02-23 12:28:15 -0500453 select BTB
York Sune7a6eaf2016-12-02 10:44:34 -0800454 select FSL_LAW
Tom Rini3ef67ae2021-08-26 11:47:59 -0400455 select SYS_CACHE_SHIFT_5
Tom Rinid391d8b2021-12-11 14:55:51 -0500456 select SYS_HAS_SERDES
York Sunbe735532016-12-28 08:43:43 -0800457 select SYS_FSL_ERRATUM_A004477
458 select SYS_FSL_ERRATUM_A004508
459 select SYS_FSL_ERRATUM_A005125
Chris Packham434f0582018-10-04 20:03:53 +1300460 select SYS_FSL_ERRATUM_A005275
York Sunbe735532016-12-28 08:43:43 -0800461 select SYS_FSL_ERRATUM_A006261
462 select SYS_FSL_ERRATUM_A007075
York Sun097e3602016-12-28 08:43:42 -0800463 select SYS_FSL_ERRATUM_ESDHC111
York Sunbe735532016-12-28 08:43:43 -0800464 select SYS_FSL_ERRATUM_I2C_A004447
465 select SYS_FSL_ERRATUM_IFC_A002769
466 select SYS_FSL_ERRATUM_P1010_A003549
467 select SYS_FSL_ERRATUM_SEC_A003571
468 select SYS_FSL_ERRATUM_IFC_A003399
Hou Zhiqiang01500f52019-05-23 11:52:44 +0800469 select FSL_PCIE_RESET
York Sund297d392016-12-28 08:43:40 -0800470 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800471 select SYS_FSL_HAS_SEC
Tom Rini70850172022-07-31 21:08:28 -0400472 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v22
York Sunfa4199422016-12-28 08:43:31 -0800473 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800474 select SYS_FSL_SEC_COMPAT_4
Tom Rini8d7aa572022-07-31 21:08:29 -0400475 select SYS_FSL_USB1_PHY_ENABLE
York Sun85ab6f02016-12-28 08:43:29 -0800476 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwahab0f8bae2017-02-02 15:01:13 +0530477 select FSL_IFC
Simon Glass4590d4e2017-05-17 03:25:10 -0600478 imply CMD_EEPROM
Tom Rinic20bb732017-07-22 18:36:16 -0400479 imply CMD_MTDPARTS
Tom Rini00448d22017-07-28 21:31:42 -0400480 imply CMD_NAND
Simon Glass203b3ab2017-06-14 21:28:24 -0600481 imply CMD_SATA
Simon Glassc88a09a2017-08-04 16:34:34 -0600482 imply CMD_PCI
Christophe Leroye538bbc2017-08-04 16:34:40 -0600483 imply CMD_REGINFO
Tuomas Tynkkynen8df5dd32017-12-08 15:36:17 +0200484 imply FSL_SATA
Simon Glass65831d92021-12-18 11:27:50 -0700485 imply TIMESTAMP
York Sun24f88b32016-11-16 13:08:52 -0800486
York Sun3680e592016-11-16 15:54:15 -0800487config ARCH_P1011
488 bool
York Sune7a6eaf2016-12-02 10:44:34 -0800489 select FSL_LAW
York Sunbe735532016-12-28 08:43:43 -0800490 select SYS_FSL_ERRATUM_A004508
491 select SYS_FSL_ERRATUM_A005125
492 select SYS_FSL_ERRATUM_ELBC_A001
York Sun097e3602016-12-28 08:43:42 -0800493 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiangdeb47f52019-05-22 22:46:03 +0800494 select FSL_PCIE_DISABLE_ASPM
York Sund297d392016-12-28 08:43:40 -0800495 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800496 select SYS_FSL_HAS_SEC
York Sunfa4199422016-12-28 08:43:31 -0800497 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800498 select SYS_FSL_SEC_COMPAT_2
York Sun85ab6f02016-12-28 08:43:29 -0800499 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha4c6be552017-02-02 15:01:48 +0530500 select FSL_ELBC
York Sun3680e592016-11-16 15:54:15 -0800501
York Sunaf2dc812016-11-18 10:02:14 -0800502config ARCH_P1020
503 bool
Tom Rinie59f3242022-02-23 12:28:15 -0500504 select BTB
York Sune7a6eaf2016-12-02 10:44:34 -0800505 select FSL_LAW
Tom Rini3ef67ae2021-08-26 11:47:59 -0400506 select SYS_CACHE_SHIFT_5
York Sunbe735532016-12-28 08:43:43 -0800507 select SYS_FSL_ERRATUM_A004508
508 select SYS_FSL_ERRATUM_A005125
509 select SYS_FSL_ERRATUM_ELBC_A001
York Sun097e3602016-12-28 08:43:42 -0800510 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiangdeb47f52019-05-22 22:46:03 +0800511 select FSL_PCIE_DISABLE_ASPM
Hou Zhiqiang01500f52019-05-23 11:52:44 +0800512 select FSL_PCIE_RESET
York Sund297d392016-12-28 08:43:40 -0800513 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800514 select SYS_FSL_HAS_SEC
York Sunfa4199422016-12-28 08:43:31 -0800515 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800516 select SYS_FSL_SEC_COMPAT_2
York Sun85ab6f02016-12-28 08:43:29 -0800517 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha4c6be552017-02-02 15:01:48 +0530518 select FSL_ELBC
Tom Rini00448d22017-07-28 21:31:42 -0400519 imply CMD_NAND
Simon Glass203b3ab2017-06-14 21:28:24 -0600520 imply CMD_SATA
Simon Glassc88a09a2017-08-04 16:34:34 -0600521 imply CMD_PCI
Christophe Leroye538bbc2017-08-04 16:34:40 -0600522 imply CMD_REGINFO
Tuomas Tynkkynen104a5372017-12-08 15:36:14 +0200523 imply SATA_SIL
York Sunaf2dc812016-11-18 10:02:14 -0800524
York Sun2f924be2016-11-18 10:59:02 -0800525config ARCH_P1021
526 bool
York Sune7a6eaf2016-12-02 10:44:34 -0800527 select FSL_LAW
York Sunbe735532016-12-28 08:43:43 -0800528 select SYS_FSL_ERRATUM_A004508
529 select SYS_FSL_ERRATUM_A005125
530 select SYS_FSL_ERRATUM_ELBC_A001
York Sun097e3602016-12-28 08:43:42 -0800531 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiangdeb47f52019-05-22 22:46:03 +0800532 select FSL_PCIE_DISABLE_ASPM
Hou Zhiqiang01500f52019-05-23 11:52:44 +0800533 select FSL_PCIE_RESET
York Sund297d392016-12-28 08:43:40 -0800534 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800535 select SYS_FSL_HAS_SEC
York Sunfa4199422016-12-28 08:43:31 -0800536 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800537 select SYS_FSL_SEC_COMPAT_2
York Sun85ab6f02016-12-28 08:43:29 -0800538 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha4c6be552017-02-02 15:01:48 +0530539 select FSL_ELBC
Christophe Leroye538bbc2017-08-04 16:34:40 -0600540 imply CMD_REGINFO
Tom Rini00448d22017-07-28 21:31:42 -0400541 imply CMD_NAND
Simon Glass203b3ab2017-06-14 21:28:24 -0600542 imply CMD_SATA
Christophe Leroye538bbc2017-08-04 16:34:40 -0600543 imply CMD_REGINFO
Tuomas Tynkkynen104a5372017-12-08 15:36:14 +0200544 imply SATA_SIL
York Sun2f924be2016-11-18 10:59:02 -0800545
York Sunfeeaae22016-11-16 15:45:31 -0800546config ARCH_P1023
547 bool
York Sune7a6eaf2016-12-02 10:44:34 -0800548 select FSL_LAW
York Sunbe735532016-12-28 08:43:43 -0800549 select SYS_FSL_ERRATUM_A004508
550 select SYS_FSL_ERRATUM_A005125
551 select SYS_FSL_ERRATUM_I2C_A004447
Hou Zhiqiang01500f52019-05-23 11:52:44 +0800552 select FSL_PCIE_RESET
York Sund297d392016-12-28 08:43:40 -0800553 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800554 select SYS_FSL_HAS_SEC
Tom Rini70850172022-07-31 21:08:28 -0400555 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v22
York Sunfa4199422016-12-28 08:43:31 -0800556 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800557 select SYS_FSL_SEC_COMPAT_4
Prabhakar Kushwaha4c6be552017-02-02 15:01:48 +0530558 select FSL_ELBC
York Sunfeeaae22016-11-16 15:45:31 -0800559
York Sun76780b22016-11-18 11:00:57 -0800560config ARCH_P1024
561 bool
York Sune7a6eaf2016-12-02 10:44:34 -0800562 select FSL_LAW
York Sunbe735532016-12-28 08:43:43 -0800563 select SYS_FSL_ERRATUM_A004508
564 select SYS_FSL_ERRATUM_A005125
565 select SYS_FSL_ERRATUM_ELBC_A001
York Sun097e3602016-12-28 08:43:42 -0800566 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiangdeb47f52019-05-22 22:46:03 +0800567 select FSL_PCIE_DISABLE_ASPM
Hou Zhiqiang01500f52019-05-23 11:52:44 +0800568 select FSL_PCIE_RESET
York Sund297d392016-12-28 08:43:40 -0800569 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800570 select SYS_FSL_HAS_SEC
Tom Rini8d7aa572022-07-31 21:08:29 -0400571 select SYS_FSL_RMU
York Sunfa4199422016-12-28 08:43:31 -0800572 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800573 select SYS_FSL_SEC_COMPAT_2
York Sun85ab6f02016-12-28 08:43:29 -0800574 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha4c6be552017-02-02 15:01:48 +0530575 select FSL_ELBC
Simon Glass4590d4e2017-05-17 03:25:10 -0600576 imply CMD_EEPROM
Tom Rini00448d22017-07-28 21:31:42 -0400577 imply CMD_NAND
Simon Glass203b3ab2017-06-14 21:28:24 -0600578 imply CMD_SATA
Simon Glassc88a09a2017-08-04 16:34:34 -0600579 imply CMD_PCI
Christophe Leroye538bbc2017-08-04 16:34:40 -0600580 imply CMD_REGINFO
Tuomas Tynkkynen104a5372017-12-08 15:36:14 +0200581 imply SATA_SIL
York Sun76780b22016-11-18 11:00:57 -0800582
York Sun0f577972016-11-18 11:05:38 -0800583config ARCH_P1025
584 bool
York Sune7a6eaf2016-12-02 10:44:34 -0800585 select FSL_LAW
York Sunbe735532016-12-28 08:43:43 -0800586 select SYS_FSL_ERRATUM_A004508
587 select SYS_FSL_ERRATUM_A005125
588 select SYS_FSL_ERRATUM_ELBC_A001
York Sun097e3602016-12-28 08:43:42 -0800589 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiangdeb47f52019-05-22 22:46:03 +0800590 select FSL_PCIE_DISABLE_ASPM
Hou Zhiqiang01500f52019-05-23 11:52:44 +0800591 select FSL_PCIE_RESET
York Sund297d392016-12-28 08:43:40 -0800592 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800593 select SYS_FSL_HAS_SEC
York Sunfa4199422016-12-28 08:43:31 -0800594 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800595 select SYS_FSL_SEC_COMPAT_2
York Sun85ab6f02016-12-28 08:43:29 -0800596 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha4c6be552017-02-02 15:01:48 +0530597 select FSL_ELBC
Simon Glass203b3ab2017-06-14 21:28:24 -0600598 imply CMD_SATA
Christophe Leroye538bbc2017-08-04 16:34:40 -0600599 imply CMD_REGINFO
York Sun0f577972016-11-18 11:05:38 -0800600
York Sun4b08dd72016-11-18 11:08:43 -0800601config ARCH_P2020
602 bool
Tom Rinie59f3242022-02-23 12:28:15 -0500603 select BTB
York Sune7a6eaf2016-12-02 10:44:34 -0800604 select FSL_LAW
Tom Rini3ef67ae2021-08-26 11:47:59 -0400605 select SYS_CACHE_SHIFT_5
York Sunbe735532016-12-28 08:43:43 -0800606 select SYS_FSL_ERRATUM_A004477
607 select SYS_FSL_ERRATUM_A004508
608 select SYS_FSL_ERRATUM_A005125
York Sun097e3602016-12-28 08:43:42 -0800609 select SYS_FSL_ERRATUM_ESDHC111
610 select SYS_FSL_ERRATUM_ESDHC_A001
Hou Zhiqiang01500f52019-05-23 11:52:44 +0800611 select FSL_PCIE_RESET
York Sund297d392016-12-28 08:43:40 -0800612 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800613 select SYS_FSL_HAS_SEC
York Sunfa4199422016-12-28 08:43:31 -0800614 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800615 select SYS_FSL_SEC_COMPAT_2
York Sun85ab6f02016-12-28 08:43:29 -0800616 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha4c6be552017-02-02 15:01:48 +0530617 select FSL_ELBC
Simon Glass4590d4e2017-05-17 03:25:10 -0600618 imply CMD_EEPROM
Tom Rini00448d22017-07-28 21:31:42 -0400619 imply CMD_NAND
Christophe Leroye538bbc2017-08-04 16:34:40 -0600620 imply CMD_REGINFO
Simon Glass65831d92021-12-18 11:27:50 -0700621 imply TIMESTAMP
York Sun4b08dd72016-11-18 11:08:43 -0800622
York Sun5786fca2016-11-18 11:15:21 -0800623config ARCH_P2041
624 bool
Tom Rini1f05fe22022-03-18 08:38:32 -0400625 select BACKSIDE_L2_CACHE
York Sunaf5495a2016-12-28 08:43:27 -0800626 select E500MC
York Sune7a6eaf2016-12-02 10:44:34 -0800627 select FSL_LAW
Tom Rini3ef67ae2021-08-26 11:47:59 -0400628 select SYS_CACHE_SHIFT_6
Tom Rinif552a132022-11-16 13:10:34 -0500629 select SYS_DPAA_FMAN
630 select SYS_DPAA_PME
631 select SYS_DPAA_RMAN
York Sunbe735532016-12-28 08:43:43 -0800632 select SYS_FSL_ERRATUM_A004510
633 select SYS_FSL_ERRATUM_A004849
Chris Packham434f0582018-10-04 20:03:53 +1300634 select SYS_FSL_ERRATUM_A005275
York Sunbe735532016-12-28 08:43:43 -0800635 select SYS_FSL_ERRATUM_A006261
636 select SYS_FSL_ERRATUM_CPU_A003999
637 select SYS_FSL_ERRATUM_DDR_A003
638 select SYS_FSL_ERRATUM_DDR_A003474
York Sun097e3602016-12-28 08:43:42 -0800639 select SYS_FSL_ERRATUM_ESDHC111
York Sunbe735532016-12-28 08:43:43 -0800640 select SYS_FSL_ERRATUM_I2C_A004447
641 select SYS_FSL_ERRATUM_NMG_CPU_A011
642 select SYS_FSL_ERRATUM_SRIO_A004034
643 select SYS_FSL_ERRATUM_USB14
York Sund297d392016-12-28 08:43:40 -0800644 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800645 select SYS_FSL_HAS_SEC
York Sun0d3b8592016-12-28 08:43:49 -0800646 select SYS_FSL_QORIQ_CHASSIS1
Tom Rini70850172022-07-31 21:08:28 -0400647 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v22
York Sunfa4199422016-12-28 08:43:31 -0800648 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800649 select SYS_FSL_SEC_COMPAT_4
Tom Rini8d7aa572022-07-31 21:08:29 -0400650 select SYS_FSL_USB1_PHY_ENABLE
651 select SYS_FSL_USB2_PHY_ENABLE
Prabhakar Kushwaha4c6be552017-02-02 15:01:48 +0530652 select FSL_ELBC
Tom Rini00448d22017-07-28 21:31:42 -0400653 imply CMD_NAND
York Sun5786fca2016-11-18 11:15:21 -0800654
York Sundf70d062016-11-18 11:20:40 -0800655config ARCH_P3041
656 bool
Tom Rini1f05fe22022-03-18 08:38:32 -0400657 select BACKSIDE_L2_CACHE
York Sunaf5495a2016-12-28 08:43:27 -0800658 select E500MC
Tom Rini7374a712022-07-23 13:05:08 -0400659 select FSL_CORENET
York Sune7a6eaf2016-12-02 10:44:34 -0800660 select FSL_LAW
Tom Rini3ef67ae2021-08-26 11:47:59 -0400661 select SYS_CACHE_SHIFT_6
York Sun4e577972016-12-28 08:43:46 -0800662 select SYS_FSL_DDR_VER_44
York Sunbe735532016-12-28 08:43:43 -0800663 select SYS_FSL_ERRATUM_A004510
664 select SYS_FSL_ERRATUM_A004849
Chris Packham434f0582018-10-04 20:03:53 +1300665 select SYS_FSL_ERRATUM_A005275
York Sunbe735532016-12-28 08:43:43 -0800666 select SYS_FSL_ERRATUM_A005812
667 select SYS_FSL_ERRATUM_A006261
668 select SYS_FSL_ERRATUM_CPU_A003999
669 select SYS_FSL_ERRATUM_DDR_A003
670 select SYS_FSL_ERRATUM_DDR_A003474
York Sun097e3602016-12-28 08:43:42 -0800671 select SYS_FSL_ERRATUM_ESDHC111
York Sunbe735532016-12-28 08:43:43 -0800672 select SYS_FSL_ERRATUM_I2C_A004447
673 select SYS_FSL_ERRATUM_NMG_CPU_A011
674 select SYS_FSL_ERRATUM_SRIO_A004034
675 select SYS_FSL_ERRATUM_USB14
York Sund297d392016-12-28 08:43:40 -0800676 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800677 select SYS_FSL_HAS_SEC
York Sun0d3b8592016-12-28 08:43:49 -0800678 select SYS_FSL_QORIQ_CHASSIS1
Tom Rini70850172022-07-31 21:08:28 -0400679 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v22
York Sunfa4199422016-12-28 08:43:31 -0800680 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800681 select SYS_FSL_SEC_COMPAT_4
Tom Rini8d7aa572022-07-31 21:08:29 -0400682 select SYS_FSL_USB1_PHY_ENABLE
683 select SYS_FSL_USB2_PHY_ENABLE
Prabhakar Kushwaha4c6be552017-02-02 15:01:48 +0530684 select FSL_ELBC
Tom Rini00448d22017-07-28 21:31:42 -0400685 imply CMD_NAND
Simon Glass203b3ab2017-06-14 21:28:24 -0600686 imply CMD_SATA
Christophe Leroye538bbc2017-08-04 16:34:40 -0600687 imply CMD_REGINFO
Tuomas Tynkkynen8df5dd32017-12-08 15:36:17 +0200688 imply FSL_SATA
York Sundf70d062016-11-18 11:20:40 -0800689
York Sun84be8a92016-11-18 11:24:40 -0800690config ARCH_P4080
691 bool
Tom Rini1f05fe22022-03-18 08:38:32 -0400692 select BACKSIDE_L2_CACHE
York Sunaf5495a2016-12-28 08:43:27 -0800693 select E500MC
Tom Rini7374a712022-07-23 13:05:08 -0400694 select FSL_CORENET
York Sune7a6eaf2016-12-02 10:44:34 -0800695 select FSL_LAW
Tom Rini3ef67ae2021-08-26 11:47:59 -0400696 select SYS_CACHE_SHIFT_6
York Sun4e577972016-12-28 08:43:46 -0800697 select SYS_FSL_DDR_VER_44
York Sunbe735532016-12-28 08:43:43 -0800698 select SYS_FSL_ERRATUM_A004510
699 select SYS_FSL_ERRATUM_A004580
700 select SYS_FSL_ERRATUM_A004849
701 select SYS_FSL_ERRATUM_A005812
702 select SYS_FSL_ERRATUM_A007075
703 select SYS_FSL_ERRATUM_CPC_A002
704 select SYS_FSL_ERRATUM_CPC_A003
705 select SYS_FSL_ERRATUM_CPU_A003999
706 select SYS_FSL_ERRATUM_DDR_A003
707 select SYS_FSL_ERRATUM_DDR_A003474
708 select SYS_FSL_ERRATUM_ELBC_A001
York Sun097e3602016-12-28 08:43:42 -0800709 select SYS_FSL_ERRATUM_ESDHC111
710 select SYS_FSL_ERRATUM_ESDHC13
711 select SYS_FSL_ERRATUM_ESDHC135
York Sunbe735532016-12-28 08:43:43 -0800712 select SYS_FSL_ERRATUM_I2C_A004447
713 select SYS_FSL_ERRATUM_NMG_CPU_A011
714 select SYS_FSL_ERRATUM_SRIO_A004034
Tom Rini70850172022-07-31 21:08:28 -0400715 select SYS_FSL_PCIE_COMPAT_P4080_PCIE
York Sunbe735532016-12-28 08:43:43 -0800716 select SYS_P4080_ERRATUM_CPU22
717 select SYS_P4080_ERRATUM_PCIE_A003
718 select SYS_P4080_ERRATUM_SERDES8
719 select SYS_P4080_ERRATUM_SERDES9
720 select SYS_P4080_ERRATUM_SERDES_A001
721 select SYS_P4080_ERRATUM_SERDES_A005
York Sund297d392016-12-28 08:43:40 -0800722 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800723 select SYS_FSL_HAS_SEC
York Sun0d3b8592016-12-28 08:43:49 -0800724 select SYS_FSL_QORIQ_CHASSIS1
Tom Rini8d7aa572022-07-31 21:08:29 -0400725 select SYS_FSL_RMU
York Sunfa4199422016-12-28 08:43:31 -0800726 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800727 select SYS_FSL_SEC_COMPAT_4
Prabhakar Kushwaha4c6be552017-02-02 15:01:48 +0530728 select FSL_ELBC
Simon Glass203b3ab2017-06-14 21:28:24 -0600729 imply CMD_SATA
Christophe Leroye538bbc2017-08-04 16:34:40 -0600730 imply CMD_REGINFO
Tuomas Tynkkynen104a5372017-12-08 15:36:14 +0200731 imply SATA_SIL
York Sun84be8a92016-11-18 11:24:40 -0800732
York Suna3c5b662016-11-18 11:39:36 -0800733config ARCH_P5040
734 bool
Tom Rini1f05fe22022-03-18 08:38:32 -0400735 select BACKSIDE_L2_CACHE
York Sunaf5495a2016-12-28 08:43:27 -0800736 select E500MC
Tom Rini7374a712022-07-23 13:05:08 -0400737 select FSL_CORENET
York Sune7a6eaf2016-12-02 10:44:34 -0800738 select FSL_LAW
Tom Rini3ef67ae2021-08-26 11:47:59 -0400739 select SYS_CACHE_SHIFT_6
York Sun4e577972016-12-28 08:43:46 -0800740 select SYS_FSL_DDR_VER_44
York Sunbe735532016-12-28 08:43:43 -0800741 select SYS_FSL_ERRATUM_A004510
742 select SYS_FSL_ERRATUM_A004699
Chris Packham434f0582018-10-04 20:03:53 +1300743 select SYS_FSL_ERRATUM_A005275
York Sunbe735532016-12-28 08:43:43 -0800744 select SYS_FSL_ERRATUM_A005812
745 select SYS_FSL_ERRATUM_A006261
746 select SYS_FSL_ERRATUM_DDR_A003
747 select SYS_FSL_ERRATUM_DDR_A003474
York Sun097e3602016-12-28 08:43:42 -0800748 select SYS_FSL_ERRATUM_ESDHC111
York Sunbe735532016-12-28 08:43:43 -0800749 select SYS_FSL_ERRATUM_USB14
York Sund297d392016-12-28 08:43:40 -0800750 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800751 select SYS_FSL_HAS_SEC
York Sun0d3b8592016-12-28 08:43:49 -0800752 select SYS_FSL_QORIQ_CHASSIS1
Tom Rini70850172022-07-31 21:08:28 -0400753 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v24
York Sunfa4199422016-12-28 08:43:31 -0800754 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800755 select SYS_FSL_SEC_COMPAT_4
Tom Rini8d7aa572022-07-31 21:08:29 -0400756 select SYS_FSL_USB1_PHY_ENABLE
757 select SYS_FSL_USB2_PHY_ENABLE
York Sun7eafac12016-12-28 08:43:50 -0800758 select SYS_PPC64
Prabhakar Kushwaha4c6be552017-02-02 15:01:48 +0530759 select FSL_ELBC
Simon Glass203b3ab2017-06-14 21:28:24 -0600760 imply CMD_SATA
Christophe Leroye538bbc2017-08-04 16:34:40 -0600761 imply CMD_REGINFO
Tuomas Tynkkynen8df5dd32017-12-08 15:36:17 +0200762 imply FSL_SATA
York Suna3c5b662016-11-18 11:39:36 -0800763
York Sun51e91e82016-11-18 12:29:51 -0800764config ARCH_QEMU_E500
765 bool
Tom Rini3ef67ae2021-08-26 11:47:59 -0400766 select SYS_CACHE_SHIFT_5
York Sun51e91e82016-11-18 12:29:51 -0800767
York Sun7d29dd62016-11-18 13:01:34 -0800768config ARCH_T1024
769 bool
Tom Rini1f05fe22022-03-18 08:38:32 -0400770 select BACKSIDE_L2_CACHE
York Sunaf5495a2016-12-28 08:43:27 -0800771 select E500MC
Tom Rinic1c04bd2022-03-24 17:18:01 -0400772 select E5500
Tom Rini7374a712022-07-23 13:05:08 -0400773 select FSL_CORENET
York Sune7a6eaf2016-12-02 10:44:34 -0800774 select FSL_LAW
Tom Rini3ef67ae2021-08-26 11:47:59 -0400775 select SYS_CACHE_SHIFT_6
Tom Rinif552a132022-11-16 13:10:34 -0500776 select SYS_DPAA_FMAN
York Sun4e577972016-12-28 08:43:46 -0800777 select SYS_FSL_DDR_VER_50
York Sunbe735532016-12-28 08:43:43 -0800778 select SYS_FSL_ERRATUM_A008378
Jaiprakash Singhe230a922020-06-02 12:44:02 +0530779 select SYS_FSL_ERRATUM_A008109
York Sunbe735532016-12-28 08:43:43 -0800780 select SYS_FSL_ERRATUM_A009663
781 select SYS_FSL_ERRATUM_A009942
York Sun097e3602016-12-28 08:43:42 -0800782 select SYS_FSL_ERRATUM_ESDHC111
York Sund297d392016-12-28 08:43:40 -0800783 select SYS_FSL_HAS_DDR3
784 select SYS_FSL_HAS_DDR4
York Sun92c36e22016-12-28 08:43:30 -0800785 select SYS_FSL_HAS_SEC
York Sun0d3b8592016-12-28 08:43:49 -0800786 select SYS_FSL_QORIQ_CHASSIS2
Tom Rini70850172022-07-31 21:08:28 -0400787 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v24
York Sunfa4199422016-12-28 08:43:31 -0800788 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800789 select SYS_FSL_SEC_COMPAT_5
Tom Rini8d7aa572022-07-31 21:08:29 -0400790 select SYS_FSL_SINGLE_SOURCE_CLK
Tom Rinid6412852023-01-10 11:19:42 -0500791 select SYS_FSL_SRDS_1
Tom Rini8d7aa572022-07-31 21:08:29 -0400792 select SYS_FSL_QMAN_V3 if SYS_DPAA_QBMAN
793 select SYS_FSL_USB_DUAL_PHY_ENABLE
Prabhakar Kushwahab0f8bae2017-02-02 15:01:13 +0530794 select FSL_IFC
Simon Glass4590d4e2017-05-17 03:25:10 -0600795 imply CMD_EEPROM
Tom Rini00448d22017-07-28 21:31:42 -0400796 imply CMD_NAND
Tom Rinic20bb732017-07-22 18:36:16 -0400797 imply CMD_MTDPARTS
Christophe Leroye538bbc2017-08-04 16:34:40 -0600798 imply CMD_REGINFO
York Sun7d29dd62016-11-18 13:01:34 -0800799
York Suna5b5d882016-11-18 13:11:12 -0800800config ARCH_T1040
801 bool
Tom Rini1f05fe22022-03-18 08:38:32 -0400802 select BACKSIDE_L2_CACHE
York Sunaf5495a2016-12-28 08:43:27 -0800803 select E500MC
Tom Rinic1c04bd2022-03-24 17:18:01 -0400804 select E5500
Tom Rini7374a712022-07-23 13:05:08 -0400805 select FSL_CORENET
York Sune7a6eaf2016-12-02 10:44:34 -0800806 select FSL_LAW
Tom Rini3ef67ae2021-08-26 11:47:59 -0400807 select SYS_CACHE_SHIFT_6
Tom Rinif552a132022-11-16 13:10:34 -0500808 select SYS_DPAA_FMAN
809 select SYS_DPAA_PME
York Sun4e577972016-12-28 08:43:46 -0800810 select SYS_FSL_DDR_VER_50
York Sunbe735532016-12-28 08:43:43 -0800811 select SYS_FSL_ERRATUM_A008044
812 select SYS_FSL_ERRATUM_A008378
Joakim Tjernlund477602c2019-11-20 17:07:34 +0100813 select SYS_FSL_ERRATUM_A008109
York Sunbe735532016-12-28 08:43:43 -0800814 select SYS_FSL_ERRATUM_A009663
815 select SYS_FSL_ERRATUM_A009942
York Sun097e3602016-12-28 08:43:42 -0800816 select SYS_FSL_ERRATUM_ESDHC111
York Sund297d392016-12-28 08:43:40 -0800817 select SYS_FSL_HAS_DDR3
818 select SYS_FSL_HAS_DDR4
York Sun92c36e22016-12-28 08:43:30 -0800819 select SYS_FSL_HAS_SEC
York Sun0d3b8592016-12-28 08:43:49 -0800820 select SYS_FSL_QORIQ_CHASSIS2
Tom Rini70850172022-07-31 21:08:28 -0400821 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v24
York Sunfa4199422016-12-28 08:43:31 -0800822 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800823 select SYS_FSL_SEC_COMPAT_5
Tom Rini8d7aa572022-07-31 21:08:29 -0400824 select SYS_FSL_SINGLE_SOURCE_CLK
Tom Rinid6412852023-01-10 11:19:42 -0500825 select SYS_FSL_SRDS_1
Tom Rini8d7aa572022-07-31 21:08:29 -0400826 select SYS_FSL_QMAN_V3 if SYS_DPAA_QBMAN
827 select SYS_FSL_USB_DUAL_PHY_ENABLE
Prabhakar Kushwahab0f8bae2017-02-02 15:01:13 +0530828 select FSL_IFC
Tom Rinic20bb732017-07-22 18:36:16 -0400829 imply CMD_MTDPARTS
Tom Rini00448d22017-07-28 21:31:42 -0400830 imply CMD_NAND
Christophe Leroye538bbc2017-08-04 16:34:40 -0600831 imply CMD_REGINFO
York Suna5b5d882016-11-18 13:11:12 -0800832
York Sun2d7b2d42016-11-18 13:36:39 -0800833config ARCH_T1042
834 bool
Tom Rini1f05fe22022-03-18 08:38:32 -0400835 select BACKSIDE_L2_CACHE
York Sunaf5495a2016-12-28 08:43:27 -0800836 select E500MC
Tom Rinic1c04bd2022-03-24 17:18:01 -0400837 select E5500
Tom Rini7374a712022-07-23 13:05:08 -0400838 select FSL_CORENET
York Sune7a6eaf2016-12-02 10:44:34 -0800839 select FSL_LAW
Tom Rini3ef67ae2021-08-26 11:47:59 -0400840 select SYS_CACHE_SHIFT_6
Tom Rinif552a132022-11-16 13:10:34 -0500841 select SYS_DPAA_FMAN
842 select SYS_DPAA_PME
York Sun4e577972016-12-28 08:43:46 -0800843 select SYS_FSL_DDR_VER_50
York Sunbe735532016-12-28 08:43:43 -0800844 select SYS_FSL_ERRATUM_A008044
845 select SYS_FSL_ERRATUM_A008378
Joakim Tjernlund477602c2019-11-20 17:07:34 +0100846 select SYS_FSL_ERRATUM_A008109
York Sunbe735532016-12-28 08:43:43 -0800847 select SYS_FSL_ERRATUM_A009663
848 select SYS_FSL_ERRATUM_A009942
York Sun097e3602016-12-28 08:43:42 -0800849 select SYS_FSL_ERRATUM_ESDHC111
York Sund297d392016-12-28 08:43:40 -0800850 select SYS_FSL_HAS_DDR3
851 select SYS_FSL_HAS_DDR4
York Sun92c36e22016-12-28 08:43:30 -0800852 select SYS_FSL_HAS_SEC
York Sun0d3b8592016-12-28 08:43:49 -0800853 select SYS_FSL_QORIQ_CHASSIS2
Tom Rini70850172022-07-31 21:08:28 -0400854 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v24
York Sunfa4199422016-12-28 08:43:31 -0800855 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800856 select SYS_FSL_SEC_COMPAT_5
Tom Rini8d7aa572022-07-31 21:08:29 -0400857 select SYS_FSL_SINGLE_SOURCE_CLK
Tom Rinid6412852023-01-10 11:19:42 -0500858 select SYS_FSL_SRDS_1
Tom Rini8d7aa572022-07-31 21:08:29 -0400859 select SYS_FSL_QMAN_V3 if SYS_DPAA_QBMAN
860 select SYS_FSL_USB_DUAL_PHY_ENABLE
Prabhakar Kushwahab0f8bae2017-02-02 15:01:13 +0530861 select FSL_IFC
Tom Rinic20bb732017-07-22 18:36:16 -0400862 imply CMD_MTDPARTS
Tom Rini00448d22017-07-28 21:31:42 -0400863 imply CMD_NAND
Christophe Leroye538bbc2017-08-04 16:34:40 -0600864 imply CMD_REGINFO
York Sun2d7b2d42016-11-18 13:36:39 -0800865
York Sune20c6852016-11-21 12:54:19 -0800866config ARCH_T2080
867 bool
York Sunaf5495a2016-12-28 08:43:27 -0800868 select E500MC
York Sunf4e8a752016-12-28 08:43:48 -0800869 select E6500
Tom Rini7374a712022-07-23 13:05:08 -0400870 select FSL_CORENET
York Sune7a6eaf2016-12-02 10:44:34 -0800871 select FSL_LAW
Tom Rini3ef67ae2021-08-26 11:47:59 -0400872 select SYS_CACHE_SHIFT_6
Tom Rinif552a132022-11-16 13:10:34 -0500873 select SYS_DPAA_DCE if !NOBQFMAN
874 select SYS_DPAA_FMAN if !NOBQFMAN
875 select SYS_DPAA_PME if !NOBQFMAN
876 select SYS_DPAA_RMAN if !NOBQFMAN
York Sun4e577972016-12-28 08:43:46 -0800877 select SYS_FSL_DDR_VER_47
York Sunbe735532016-12-28 08:43:43 -0800878 select SYS_FSL_ERRATUM_A006379
879 select SYS_FSL_ERRATUM_A006593
Tom Rinia1663992022-06-16 14:04:40 -0400880 select SYS_FSL_ERRATUM_A007186 if CHAIN_OF_TRUST
York Sunbe735532016-12-28 08:43:43 -0800881 select SYS_FSL_ERRATUM_A007212
Tony O'Brien8acb1272016-12-02 09:22:34 +1300882 select SYS_FSL_ERRATUM_A007815
Darwin Dingela56d6c02016-10-25 09:48:01 +1300883 select SYS_FSL_ERRATUM_A007907
Jaiprakash Singhe230a922020-06-02 12:44:02 +0530884 select SYS_FSL_ERRATUM_A008109
York Sunbe735532016-12-28 08:43:43 -0800885 select SYS_FSL_ERRATUM_A009942
York Sun097e3602016-12-28 08:43:42 -0800886 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiang01500f52019-05-23 11:52:44 +0800887 select FSL_PCIE_RESET
York Sund297d392016-12-28 08:43:40 -0800888 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800889 select SYS_FSL_HAS_SEC
York Sun0d3b8592016-12-28 08:43:49 -0800890 select SYS_FSL_QORIQ_CHASSIS2
Tom Rini70850172022-07-31 21:08:28 -0400891 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v30
York Sunfa4199422016-12-28 08:43:31 -0800892 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800893 select SYS_FSL_SEC_COMPAT_4
Tom Rinid6412852023-01-10 11:19:42 -0500894 select SYS_FSL_SRDS_1
895 select SYS_FSL_SRDS_2
Tom Rini8d7aa572022-07-31 21:08:29 -0400896 select SYS_FSL_SRIO_LIODN
897 select SYS_FSL_QMAN_V3 if SYS_DPAA_QBMAN
898 select SYS_FSL_USB_DUAL_PHY_ENABLE
Tom Rinif552a132022-11-16 13:10:34 -0500899 select SYS_PMAN if !NOBQFMAN
York Sun7eafac12016-12-28 08:43:50 -0800900 select SYS_PPC64
Prabhakar Kushwahab0f8bae2017-02-02 15:01:13 +0530901 select FSL_IFC
Peng Ma34bed5d2019-12-23 09:28:12 +0000902 imply CMD_SATA
Tom Rini00448d22017-07-28 21:31:42 -0400903 imply CMD_NAND
Christophe Leroye538bbc2017-08-04 16:34:40 -0600904 imply CMD_REGINFO
Peng Ma34bed5d2019-12-23 09:28:12 +0000905 imply FSL_SATA
Tom Rini4abdf142021-08-17 17:59:41 -0400906 imply ID_EEPROM
York Sune20c6852016-11-21 12:54:19 -0800907
York Sun0fad3262016-11-21 13:35:41 -0800908config ARCH_T4240
909 bool
York Sunaf5495a2016-12-28 08:43:27 -0800910 select E500MC
York Sunf4e8a752016-12-28 08:43:48 -0800911 select E6500
Tom Rini7374a712022-07-23 13:05:08 -0400912 select FSL_CORENET
York Sune7a6eaf2016-12-02 10:44:34 -0800913 select FSL_LAW
Tom Rini3ef67ae2021-08-26 11:47:59 -0400914 select SYS_CACHE_SHIFT_6
Tom Rinif552a132022-11-16 13:10:34 -0500915 select SYS_DPAA_DCE if !NOBQFMAN
916 select SYS_DPAA_FMAN if !NOBQFMAN
917 select SYS_DPAA_PME if !NOBQFMAN
918 select SYS_DPAA_RMAN if !NOBQFMAN
York Sun4e577972016-12-28 08:43:46 -0800919 select SYS_FSL_DDR_VER_47
York Sunbe735532016-12-28 08:43:43 -0800920 select SYS_FSL_ERRATUM_A004468
921 select SYS_FSL_ERRATUM_A005871
922 select SYS_FSL_ERRATUM_A006261
923 select SYS_FSL_ERRATUM_A006379
924 select SYS_FSL_ERRATUM_A006593
Tom Rinia1663992022-06-16 14:04:40 -0400925 select SYS_FSL_ERRATUM_A007186 if CHAIN_OF_TRUST
York Sunbe735532016-12-28 08:43:43 -0800926 select SYS_FSL_ERRATUM_A007798
Tony O'Brien8acb1272016-12-02 09:22:34 +1300927 select SYS_FSL_ERRATUM_A007815
Darwin Dingela56d6c02016-10-25 09:48:01 +1300928 select SYS_FSL_ERRATUM_A007907
Jaiprakash Singhe230a922020-06-02 12:44:02 +0530929 select SYS_FSL_ERRATUM_A008109
York Sunbe735532016-12-28 08:43:43 -0800930 select SYS_FSL_ERRATUM_A009942
York Sund297d392016-12-28 08:43:40 -0800931 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800932 select SYS_FSL_HAS_SEC
York Sun0d3b8592016-12-28 08:43:49 -0800933 select SYS_FSL_QORIQ_CHASSIS2
Tom Rini70850172022-07-31 21:08:28 -0400934 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v30
York Sunfa4199422016-12-28 08:43:31 -0800935 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800936 select SYS_FSL_SEC_COMPAT_4
Tom Rinid6412852023-01-10 11:19:42 -0500937 select SYS_FSL_SRDS_1
938 select SYS_FSL_SRDS_2
Tom Rini8d7aa572022-07-31 21:08:29 -0400939 select SYS_FSL_SRIO_LIODN
940 select SYS_FSL_QMAN_V3 if SYS_DPAA_QBMAN
941 select SYS_FSL_USB_DUAL_PHY_ENABLE
Tom Rinif552a132022-11-16 13:10:34 -0500942 select SYS_PMAN if !NOBQFMAN
York Sun7eafac12016-12-28 08:43:50 -0800943 select SYS_PPC64
Prabhakar Kushwahab0f8bae2017-02-02 15:01:13 +0530944 select FSL_IFC
Simon Glass203b3ab2017-06-14 21:28:24 -0600945 imply CMD_SATA
Tom Rini00448d22017-07-28 21:31:42 -0400946 imply CMD_NAND
Christophe Leroye538bbc2017-08-04 16:34:40 -0600947 imply CMD_REGINFO
Tuomas Tynkkynen8df5dd32017-12-08 15:36:17 +0200948 imply FSL_SATA
York Sune7a6eaf2016-12-02 10:44:34 -0800949
Jagdish Gediya7f2ad252018-09-03 21:35:10 +0530950config MPC85XX_HAVE_RESET_VECTOR
Tom Riniaac81492022-12-04 10:13:40 -0500951 bool "Indicate reset vector at CFG_RESET_VECTOR_ADDRESS - 0xffc"
Jagdish Gediya7f2ad252018-09-03 21:35:10 +0530952 depends on MPC85xx
953
Tom Rinie59f3242022-02-23 12:28:15 -0500954config BTB
955 bool "toggle branch predition"
956
York Sunaf5495a2016-12-28 08:43:27 -0800957config BOOKE
958 bool
959 default y
960
961config E500
962 bool
963 default y
964 help
965 Enable PowerPC E500 cores, including e500v1, e500v2, e500mc
966
967config E500MC
968 bool
Tom Rinie59f3242022-02-23 12:28:15 -0500969 select BTB
Simon Glassc88a09a2017-08-04 16:34:34 -0600970 imply CMD_PCI
York Sunaf5495a2016-12-28 08:43:27 -0800971 help
972 Enble PowerPC E500MC core
973
Tom Rinic1c04bd2022-03-24 17:18:01 -0400974config E5500
975 bool
976
York Sunf4e8a752016-12-28 08:43:48 -0800977config E6500
978 bool
Tom Rinie59f3242022-02-23 12:28:15 -0500979 select BTB
York Sunf4e8a752016-12-28 08:43:48 -0800980 help
981 Enable PowerPC E6500 core
982
Tom Rinif552a132022-11-16 13:10:34 -0500983config NOBQFMAN
984 bool
985
York Sune7a6eaf2016-12-02 10:44:34 -0800986config FSL_LAW
987 bool
988 help
989 Use Freescale common code for Local Access Window
York Sun0fad3262016-11-21 13:35:41 -0800990
Tom Rini46f83262022-06-16 14:04:34 -0400991config HETROGENOUS_CLUSTERS
992 bool
993
York Suncbf7bf32016-11-23 12:30:40 -0800994config MAX_CPUS
995 int "Maximum number of CPUs permitted for MPC85xx"
996 default 12 if ARCH_T4240
Tom Rinia7ffa3d2021-05-23 10:58:05 -0400997 default 8 if ARCH_P4080
York Suncbf7bf32016-11-23 12:30:40 -0800998 default 4 if ARCH_B4860 || \
999 ARCH_P2041 || \
1000 ARCH_P3041 || \
1001 ARCH_P5040 || \
1002 ARCH_T1040 || \
1003 ARCH_T1042 || \
Tom Rini3ec582b2021-02-20 20:06:21 -05001004 ARCH_T2080
York Suncbf7bf32016-11-23 12:30:40 -08001005 default 2 if ARCH_B4420 || \
1006 ARCH_BSC9132 || \
York Suncbf7bf32016-11-23 12:30:40 -08001007 ARCH_P1020 || \
1008 ARCH_P1021 || \
York Suncbf7bf32016-11-23 12:30:40 -08001009 ARCH_P1023 || \
1010 ARCH_P1024 || \
1011 ARCH_P1025 || \
1012 ARCH_P2020 || \
York Suncbf7bf32016-11-23 12:30:40 -08001013 ARCH_T1024
1014 default 1
1015 help
1016 Set this number to the maximum number of possible CPUs in the SoC.
1017 SoCs may have multiple clusters with each cluster may have multiple
1018 ports. If some ports are reserved but higher ports are used for
1019 cores, count the reserved ports. This will allocate enough memory
1020 in spin table to properly handle all cores.
1021
York Sun7ea6f352016-12-01 13:26:06 -08001022config SYS_CCSRBAR_DEFAULT
1023 hex "Default CCSRBAR address"
1024 default 0xff700000 if ARCH_BSC9131 || \
1025 ARCH_BSC9132 || \
1026 ARCH_C29X || \
1027 ARCH_MPC8536 || \
1028 ARCH_MPC8540 || \
York Sun7ea6f352016-12-01 13:26:06 -08001029 ARCH_MPC8544 || \
1030 ARCH_MPC8548 || \
York Sun7ea6f352016-12-01 13:26:06 -08001031 ARCH_MPC8560 || \
York Sun7ea6f352016-12-01 13:26:06 -08001032 ARCH_P1010 || \
1033 ARCH_P1011 || \
1034 ARCH_P1020 || \
1035 ARCH_P1021 || \
York Sun7ea6f352016-12-01 13:26:06 -08001036 ARCH_P1024 || \
1037 ARCH_P1025 || \
1038 ARCH_P2020
1039 default 0xff600000 if ARCH_P1023
1040 default 0xfe000000 if ARCH_B4420 || \
1041 ARCH_B4860 || \
1042 ARCH_P2041 || \
1043 ARCH_P3041 || \
1044 ARCH_P4080 || \
York Sun7ea6f352016-12-01 13:26:06 -08001045 ARCH_P5040 || \
York Sun7ea6f352016-12-01 13:26:06 -08001046 ARCH_T1024 || \
1047 ARCH_T1040 || \
1048 ARCH_T1042 || \
1049 ARCH_T2080 || \
York Sun7ea6f352016-12-01 13:26:06 -08001050 ARCH_T4240
1051 default 0xe0000000 if ARCH_QEMU_E500
1052 help
1053 Default value of CCSRBAR comes from power-on-reset. It
1054 is fixed on each SoC. Some SoCs can have different value
1055 if changed by pre-boot regime. The value here must match
1056 the current value in SoC. If not sure, do not change.
1057
Tom Rinif552a132022-11-16 13:10:34 -05001058config SYS_DPAA_PME
1059 bool
1060
1061config SYS_DPAA_DCE
1062 bool
1063
1064config SYS_DPAA_RMAN
1065 bool
1066
Tom Rini2404edc2022-03-11 09:11:59 -05001067config A003399_NOR_WORKAROUND
1068 bool
1069 help
1070 Enables a workaround for IFC erratum A003399. It is only required
1071 during NOR boot.
1072
Tom Riniea2bbec2022-03-11 09:12:00 -05001073config A008044_WORKAROUND
1074 bool
1075 help
1076 Enables a workaround for T1040/T1042 erratum A008044. It is only
1077 required during NAND boot and valid for Rev 1.0 SoC revision
1078
York Sunbe735532016-12-28 08:43:43 -08001079config SYS_FSL_ERRATUM_A004468
1080 bool
1081
1082config SYS_FSL_ERRATUM_A004477
1083 bool
1084
1085config SYS_FSL_ERRATUM_A004508
1086 bool
1087
1088config SYS_FSL_ERRATUM_A004580
1089 bool
1090
1091config SYS_FSL_ERRATUM_A004699
1092 bool
1093
1094config SYS_FSL_ERRATUM_A004849
1095 bool
1096
1097config SYS_FSL_ERRATUM_A004510
1098 bool
1099
1100config SYS_FSL_ERRATUM_A004510_SVR_REV
1101 hex
1102 depends on SYS_FSL_ERRATUM_A004510
1103 default 0x20 if ARCH_P4080
1104 default 0x10
1105
1106config SYS_FSL_ERRATUM_A004510_SVR_REV2
1107 hex
1108 depends on (SYS_FSL_ERRATUM_A004510 && (ARCH_P2041 || ARCH_P3041))
1109 default 0x11
1110
1111config SYS_FSL_ERRATUM_A005125
1112 bool
1113
1114config SYS_FSL_ERRATUM_A005434
1115 bool
1116
1117config SYS_FSL_ERRATUM_A005812
1118 bool
1119
1120config SYS_FSL_ERRATUM_A005871
1121 bool
1122
Chris Packham434f0582018-10-04 20:03:53 +13001123config SYS_FSL_ERRATUM_A005275
1124 bool
1125
York Sunbe735532016-12-28 08:43:43 -08001126config SYS_FSL_ERRATUM_A006261
1127 bool
1128
1129config SYS_FSL_ERRATUM_A006379
1130 bool
1131
1132config SYS_FSL_ERRATUM_A006384
1133 bool
1134
1135config SYS_FSL_ERRATUM_A006475
1136 bool
1137
1138config SYS_FSL_ERRATUM_A006593
1139 bool
1140
1141config SYS_FSL_ERRATUM_A007075
1142 bool
1143
1144config SYS_FSL_ERRATUM_A007186
1145 bool
1146
1147config SYS_FSL_ERRATUM_A007212
1148 bool
1149
Tony O'Brien8acb1272016-12-02 09:22:34 +13001150config SYS_FSL_ERRATUM_A007815
1151 bool
1152
York Sunbe735532016-12-28 08:43:43 -08001153config SYS_FSL_ERRATUM_A007798
1154 bool
1155
Darwin Dingela56d6c02016-10-25 09:48:01 +13001156config SYS_FSL_ERRATUM_A007907
1157 bool
1158
York Sunbe735532016-12-28 08:43:43 -08001159config SYS_FSL_ERRATUM_A008044
1160 bool
Tom Riniea2bbec2022-03-11 09:12:00 -05001161 select A008044_WORKAROUND if MTD_RAW_NAND
York Sunbe735532016-12-28 08:43:43 -08001162
1163config SYS_FSL_ERRATUM_CPC_A002
1164 bool
1165
1166config SYS_FSL_ERRATUM_CPC_A003
1167 bool
1168
1169config SYS_FSL_ERRATUM_CPU_A003999
1170 bool
1171
1172config SYS_FSL_ERRATUM_ELBC_A001
1173 bool
1174
1175config SYS_FSL_ERRATUM_I2C_A004447
1176 bool
1177
1178config SYS_FSL_A004447_SVR_REV
1179 hex
1180 depends on SYS_FSL_ERRATUM_I2C_A004447
1181 default 0x00 if ARCH_MPC8548
1182 default 0x10 if ARCH_P1010
1183 default 0x11 if ARCH_P1023 || ARCH_P2041 || ARCH_BSC9132
Tom Rini30900822021-02-20 20:06:30 -05001184 default 0x20 if ARCH_P3041 || ARCH_P4080
York Sunbe735532016-12-28 08:43:43 -08001185
1186config SYS_FSL_ERRATUM_IFC_A002769
1187 bool
1188
1189config SYS_FSL_ERRATUM_IFC_A003399
1190 bool
1191
1192config SYS_FSL_ERRATUM_NMG_CPU_A011
1193 bool
1194
1195config SYS_FSL_ERRATUM_NMG_ETSEC129
1196 bool
1197
1198config SYS_FSL_ERRATUM_NMG_LBC103
1199 bool
1200
1201config SYS_FSL_ERRATUM_P1010_A003549
1202 bool
1203
1204config SYS_FSL_ERRATUM_SATA_A001
1205 bool
1206
1207config SYS_FSL_ERRATUM_SEC_A003571
1208 bool
1209
1210config SYS_FSL_ERRATUM_SRIO_A004034
1211 bool
1212
1213config SYS_FSL_ERRATUM_USB14
1214 bool
1215
1216config SYS_P4080_ERRATUM_CPU22
1217 bool
1218
1219config SYS_P4080_ERRATUM_PCIE_A003
1220 bool
1221
1222config SYS_P4080_ERRATUM_SERDES8
1223 bool
1224
1225config SYS_P4080_ERRATUM_SERDES9
1226 bool
1227
1228config SYS_P4080_ERRATUM_SERDES_A001
1229 bool
1230
1231config SYS_P4080_ERRATUM_SERDES_A005
1232 bool
1233
Hou Zhiqiangdeb47f52019-05-22 22:46:03 +08001234config FSL_PCIE_DISABLE_ASPM
1235 bool
1236
Hou Zhiqiang01500f52019-05-23 11:52:44 +08001237config FSL_PCIE_RESET
1238 bool
1239
Tom Rinif552a132022-11-16 13:10:34 -05001240config SYS_PMAN
1241 bool
1242
Tom Rini8d7aa572022-07-31 21:08:29 -04001243config SYS_FSL_RAID_ENGINE
1244 bool
1245
1246config SYS_FSL_RMU
1247 bool
1248
York Sun0d3b8592016-12-28 08:43:49 -08001249config SYS_FSL_QORIQ_CHASSIS1
1250 bool
1251
1252config SYS_FSL_QORIQ_CHASSIS2
1253 bool
1254
York Sun091e5e52016-12-01 14:05:02 -08001255config SYS_FSL_NUM_LAWS
1256 int "Number of local access windows"
1257 depends on FSL_LAW
1258 default 32 if ARCH_B4420 || \
1259 ARCH_B4860 || \
1260 ARCH_P2041 || \
1261 ARCH_P3041 || \
1262 ARCH_P4080 || \
York Sun091e5e52016-12-01 14:05:02 -08001263 ARCH_P5040 || \
1264 ARCH_T2080 || \
York Sun091e5e52016-12-01 14:05:02 -08001265 ARCH_T4240
Tom Rinib4e60262021-05-14 21:34:22 -04001266 default 16 if ARCH_T1024 || \
York Sun091e5e52016-12-01 14:05:02 -08001267 ARCH_T1040 || \
1268 ARCH_T1042
1269 default 12 if ARCH_BSC9131 || \
1270 ARCH_BSC9132 || \
1271 ARCH_C29X || \
1272 ARCH_MPC8536 || \
York Sun091e5e52016-12-01 14:05:02 -08001273 ARCH_P1010 || \
1274 ARCH_P1011 || \
1275 ARCH_P1020 || \
1276 ARCH_P1021 || \
York Sun091e5e52016-12-01 14:05:02 -08001277 ARCH_P1023 || \
1278 ARCH_P1024 || \
1279 ARCH_P1025 || \
1280 ARCH_P2020
1281 default 10 if ARCH_MPC8544 || \
Tom Rini31f56052021-05-14 21:34:23 -04001282 ARCH_MPC8548
York Sun091e5e52016-12-01 14:05:02 -08001283 default 8 if ARCH_MPC8540 || \
York Sun091e5e52016-12-01 14:05:02 -08001284 ARCH_MPC8560
1285 help
1286 Number of local access windows. This is fixed per SoC.
1287 If not sure, do not change.
1288
Tom Rinie2070212022-07-23 13:05:11 -04001289config SYS_FSL_CORES_PER_CLUSTER
1290 int
1291 depends on SYS_FSL_QORIQ_CHASSIS2
1292 default 4 if ARCH_B4860 || ARCH_T2080 || ARCH_T4240
1293 default 2 if ARCH_B4420
1294 default 1 if ARCH_T1024 || ARCH_T1040 || ARCH_T1042
1295
York Sunf4e8a752016-12-28 08:43:48 -08001296config SYS_FSL_THREADS_PER_CORE
1297 int
Tom Rinie2070212022-07-23 13:05:11 -04001298 depends on SYS_FSL_QORIQ_CHASSIS2
York Sunf4e8a752016-12-28 08:43:48 -08001299 default 2 if E6500
1300 default 1
1301
York Sun14e098d2016-12-28 08:43:28 -08001302config SYS_NUM_TLBCAMS
1303 int "Number of TLB CAM entries"
1304 default 64 if E500MC
1305 default 16
1306 help
1307 Number of TLB CAM entries for Book-E chips. 64 for E500MC,
1308 16 for other E500 SoCs.
1309
Tom Rinifc681b92022-12-02 16:42:33 -05001310config L2_CACHE
1311 bool "Enable L2 cache support"
1312
Tom Rini46f83262022-06-16 14:04:34 -04001313if HETROGENOUS_CLUSTERS
1314
1315config SYS_MAPLE
1316 def_bool y
1317
1318config SYS_CPRI
1319 def_bool y
1320
1321config PPC_CLUSTER_START
1322 int
1323 default 0
1324
1325config DSP_CLUSTER_START
1326 int
1327 default 1
1328
1329config SYS_CPRI_CLK
1330 int
1331 default 3
1332
1333config SYS_ULB_CLK
1334 int
1335 default 4
1336
1337config SYS_ETVPE_CLK
1338 int
1339 default 1
Tom Rini6fb86c12022-12-02 16:42:21 -05001340
1341config MAX_DSP_CPUS
1342 int
1343 default 12 if ARCH_B4860
1344 default 2 if ARCH_B4420
Tom Rini46f83262022-06-16 14:04:34 -04001345endif
1346
Tom Rinie4798922022-10-28 20:27:00 -04001347config SYS_L2_SIZE_256KB
1348 bool
1349
1350config SYS_L2_SIZE_512KB
1351 bool
1352
1353config SYS_L2_SIZE
1354 int
1355 default 262144 if SYS_L2_SIZE_256KB
1356 default 524288 if SYS_L2_SIZE_512KB
1357
Tom Rini1f05fe22022-03-18 08:38:32 -04001358config BACKSIDE_L2_CACHE
1359 bool
1360
Tom Rinie20e5712022-10-28 20:27:01 -04001361config SYS_L3_SIZE_256KB
1362 bool
1363
1364config SYS_L3_SIZE_512KB
1365 bool
1366
1367config SYS_L3_SIZE_1024KB
1368 bool
1369
1370config SYS_L3_SIZE
1371 int
1372 default 262144 if SYS_L3_SIZE_256KB
1373 default 524288 if SYS_L3_SIZE_512KB
1374 default 1048576 if SYS_L3_SIZE_512KB
1375
York Sun7eafac12016-12-28 08:43:50 -08001376config SYS_PPC64
1377 bool
1378
York Sun85ab6f02016-12-28 08:43:29 -08001379config SYS_PPC_E500_USE_DEBUG_TLB
1380 bool
1381
Prabhakar Kushwaha4c6be552017-02-02 15:01:48 +05301382config FSL_ELBC
1383 bool
1384
York Sun85ab6f02016-12-28 08:43:29 -08001385config SYS_PPC_E500_DEBUG_TLB
1386 int "Temporary TLB entry for external debugger"
1387 depends on SYS_PPC_E500_USE_DEBUG_TLB
1388 default 0 if ARCH_MPC8544 || ARCH_MPC8548
1389 default 1 if ARCH_MPC8536
Tom Rinie1ef7082021-05-14 21:34:25 -04001390 default 2 if ARCH_P1011 || \
York Sun85ab6f02016-12-28 08:43:29 -08001391 ARCH_P1020 || \
1392 ARCH_P1021 || \
York Sun85ab6f02016-12-28 08:43:29 -08001393 ARCH_P1024 || \
1394 ARCH_P1025 || \
1395 ARCH_P2020
1396 default 3 if ARCH_P1010 || \
1397 ARCH_BSC9132 || \
1398 ARCH_C29X
1399 help
1400 Select a temporary TLB entry to be used during boot to work
1401 around limitations in e500v1 and e500v2 external debugger
1402 support. This reduces the portions of the boot code where
1403 breakpoints and single stepping do not work. The value of this
1404 symbol should be set to the TLB1 entry to be used for this
1405 purpose. If unsure, do not change.
1406
Prabhakar Kushwaha3c48f582017-02-02 15:01:26 +05301407config SYS_FSL_IFC_CLK_DIV
1408 int "Divider of platform clock"
1409 depends on FSL_IFC
1410 default 2 if ARCH_B4420 || \
1411 ARCH_B4860 || \
1412 ARCH_T1024 || \
Prabhakar Kushwaha3c48f582017-02-02 15:01:26 +05301413 ARCH_T1040 || \
1414 ARCH_T1042 || \
Prabhakar Kushwaha3c48f582017-02-02 15:01:26 +05301415 ARCH_T4240
1416 default 1
1417 help
1418 Defines divider of platform clock(clock input to
1419 IFC controller).
1420
Prabhakar Kushwahabedc5622017-02-02 15:02:00 +05301421config SYS_FSL_LBC_CLK_DIV
1422 int "Divider of platform clock"
1423 depends on FSL_ELBC || ARCH_MPC8540 || \
Tom Rini7707c552021-05-14 21:34:20 -04001424 ARCH_MPC8548 || \
Tom Rini31f56052021-05-14 21:34:23 -04001425 ARCH_MPC8560
Prabhakar Kushwahabedc5622017-02-02 15:02:00 +05301426
1427 default 2 if ARCH_P2041 || \
1428 ARCH_P3041 || \
1429 ARCH_P4080 || \
Prabhakar Kushwahabedc5622017-02-02 15:02:00 +05301430 ARCH_P5040
1431 default 1
1432
1433 help
1434 Defines divider of platform clock(clock input to
1435 eLBC controller).
1436
Tom Rinia7fa9762022-06-15 12:03:45 -04001437config ENABLE_36BIT_PHYS
1438 bool "Enable 36bit physical address space support"
1439
Tom Rini2daaf642022-06-25 11:02:43 -04001440config SYS_BOOK3E_HV
1441 bool "Category E.HV is supported"
1442 depends on BOOKE
1443
Tom Rini7374a712022-07-23 13:05:08 -04001444config FSL_CORENET
1445 bool
1446 select SYS_FSL_CPC
1447
Tom Rini8d7aa572022-07-31 21:08:29 -04001448config FSL_NGPIXIS
1449 bool
1450
Tom Rinifc2dcd92022-06-25 11:02:45 -04001451config SYS_CPC_REINIT_F
1452 bool
1453 help
1454 The CPC is configured as SRAM at the time of U-Boot entry and is
1455 required to be re-initialized.
1456
1457config SYS_FSL_CPC
Tom Rini7374a712022-07-23 13:05:08 -04001458 bool
Tom Rinifc2dcd92022-06-25 11:02:45 -04001459
Tom Rini41e1a592022-06-27 13:35:46 -04001460config SYS_CACHE_STASHING
1461 bool "Enable cache stashing"
1462
Tom Rini70850172022-07-31 21:08:28 -04001463config SYS_FSL_PCIE_COMPAT_P4080_PCIE
1464 bool
1465
1466config SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v22
1467 bool
1468
1469config SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v24
1470 bool
1471
1472config SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v30
1473 bool
1474
1475config SYS_FSL_PCIE_COMPAT
1476 string
1477 depends on FSL_CORENET
1478 default "fsl,p4080-pcie" if SYS_FSL_PCIE_COMPAT_P4080_PCIE
1479 default "fsl,qoriq-pcie-v2.2" if SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v22
1480 default "fsl,qoriq-pcie-v2.4" if SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v24
1481 default "fsl,qoriq-pcie-v3.0" if SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v30
1482 help
1483 Defines the string to utilize when trying to match PCIe device tree
1484 nodes for the given platform.
1485
Tom Rini8d7aa572022-07-31 21:08:29 -04001486config SYS_FSL_SINGLE_SOURCE_CLK
1487 bool
1488
1489config SYS_FSL_SRIO_LIODN
1490 bool
1491
1492config SYS_FSL_TBCLK_DIV
1493 int
1494 default 32 if ARCH_P2041 || ARCH_P3041
1495 default 16 if ARCH_P4080 || ARCH_P5040 || ARCH_T4240 || ARCH_B4860 || \
1496 ARCH_B4420 || ARCH_T1040 || ARCH_T1042 || \
1497 ARCH_T1024 || ARCH_T2080
1498 default 8
1499 help
1500 Defines the core time base clock divider ratio compared to the system
1501 clock. On most PQ3 devices this is 8, on newer QorIQ devices it can
1502 be 16 or 32. The ratio varies from SoC to Soc.
1503
1504config SYS_FSL_USB1_PHY_ENABLE
1505 bool
1506
1507config SYS_FSL_USB2_PHY_ENABLE
1508 bool
1509
1510config SYS_FSL_USB_DUAL_PHY_ENABLE
1511 bool
1512
Tom Rini667dd4f2022-06-10 22:59:37 -04001513config SYS_MPC85XX_NO_RESETVEC
1514 bool "Discard resetvec section and move bootpg section up"
Tom Rinic3e45b92022-12-29 09:50:03 -05001515 depends on MPC85xx && !MPC85XX_HAVE_RESET_VECTOR
Tom Rini667dd4f2022-06-10 22:59:37 -04001516 help
1517 If this variable is specified, the section .resetvec is not kept and
1518 the section .bootpg is placed in the previous 4k of the .text section.
1519
1520config SPL_SYS_MPC85XX_NO_RESETVEC
1521 bool "Discard resetvec section and move bootpg section up, in SPL"
Tom Rinic3e45b92022-12-29 09:50:03 -05001522 depends on MPC85xx && SPL && !MPC85XX_HAVE_RESET_VECTOR
Tom Rini667dd4f2022-06-10 22:59:37 -04001523 help
1524 If this variable is specified, the section .resetvec is not kept and
1525 the section .bootpg is placed in the previous 4k of the .text section,
1526 of the SPL portion of the binary.
1527
1528config TPL_SYS_MPC85XX_NO_RESETVEC
1529 bool "Discard resetvec section and move bootpg section up, in TPL"
Tom Rinic3e45b92022-12-29 09:50:03 -05001530 depends on MPC85xx && TPL && !MPC85XX_HAVE_RESET_VECTOR
Tom Rini667dd4f2022-06-10 22:59:37 -04001531 help
1532 If this variable is specified, the section .resetvec is not kept and
1533 the section .bootpg is placed in the previous 4k of the .text section,
1534 of the SPL portion of the binary.
1535
Rajesh Bhagat6d072982021-02-15 09:46:14 +01001536config FSL_VIA
1537 bool
1538
Pali Rohár6763ff82024-06-06 18:33:26 +02001539source "board/CZ.NIC/turris_1x/Kconfig"
Bin Meng2076d992021-02-25 17:22:58 +08001540source "board/emulation/qemu-ppce500/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001541source "board/freescale/mpc8548cds/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001542source "board/freescale/p1010rdb/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001543source "board/freescale/p1_p2_rdb_pc/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001544source "board/freescale/p2041rdb/Kconfig"
Shengzhou Liu49912402014-11-24 17:11:56 +08001545source "board/freescale/t102xrdb/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001546source "board/freescale/t104xrdb/Kconfig"
1547source "board/freescale/t208xqds/Kconfig"
1548source "board/freescale/t208xrdb/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001549source "board/freescale/t4rdb/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001550source "board/socrates/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001551
1552endmenu