blob: 24d3f1f20c2530d57f94cee76c536ab65190f28b [file] [log] [blame]
Masahiro Yamadadd840582014-07-30 14:08:14 +09001menu "mpc85xx CPU"
2 depends on MPC85xx
3
4config SYS_CPU
Masahiro Yamadadd840582014-07-30 14:08:14 +09005 default "mpc85xx"
6
Simon Glass230ecd72017-05-17 03:25:15 -06007config CMD_ERRATA
8 bool "Enable the 'errata' command"
9 depends on MPC85xx
10 default y
11 help
12 This enables the 'errata' command which displays a list of errata
13 work-arounds which are enabled for the current board.
14
Pali Rohár786d9f12022-05-11 20:57:31 +020015config FSL_PREPBL_ESDHC_BOOT_SECTOR
16 bool "Generate QorIQ pre-PBL eSDHC boot sector"
17 depends on MPC85xx
Marek Behún1e1d12a2022-09-15 16:08:27 +020018 depends on SDCARD
Pali Rohár786d9f12022-05-11 20:57:31 +020019 help
20 With this option final image would have prepended QorIQ pre-PBL eSDHC
21 boot sector suitable for SD card images. This boot sector instruct
22 BootROM to configure L2 SRAM and eSDHC then load image from SD card
23 into L2 SRAM and finally jump to image entry point.
24
25 This is alternative to Freescale boot_format tool, but works only for
26 SD card images and only for L2 SRAM booting. U-Boot images generated
27 with this option should not passed to boot_format tool.
28
29 For other configuration like booting from eSPI or configuring SDRAM
30 please use Freescale boot_format tool without this option. See file
31 doc/README.mpc85xx-sd-spi-boot
32
33config FSL_PREPBL_ESDHC_BOOT_SECTOR_START
34 int "QorIQ pre-PBL eSDHC boot sector start offset"
35 depends on FSL_PREPBL_ESDHC_BOOT_SECTOR
36 range 0 23
37 default 0
38 help
39 QorIQ pre-PBL eSDHC boot sector may be located on one of the first
40 24 SD card sectors. Select SD card sector on which final U-Boot
41 image (with this boot sector) would be installed.
42
43 By default first SD card sector (0) is used. But this may be changed
44 to allow installing U-Boot image on some partition (with fixed start
45 sector).
46
47 Please note that any sector on SD card prior this boot sector must
48 not contain ASCII "BOOT" bytes at sector offset 0x40.
49
50config FSL_PREPBL_ESDHC_BOOT_SECTOR_DATA
51 int "Relative data sector for QorIQ pre-PBL eSDHC boot sector"
52 depends on FSL_PREPBL_ESDHC_BOOT_SECTOR
53 default 1
54 range 1 8388607
55 help
56 Select data sector from the beginning of QorIQ pre-PBL eSDHC boot
57 sector on which would be stored raw U-Boot image.
58
59 By default is it second sector (1) which is the first available free
60 sector (on the first sector is stored boot sector). It can be any
61 sector number which offset in bytes can be expressed by 32-bit number.
62
63 In case this final U-Boot image (with this boot sector) is put on
64 the FAT32 partition into reserved boot area, this data sector needs
65 to be at least 2 (third sector) because FAT32 use second sector for
66 its data.
67
Masahiro Yamadadd840582014-07-30 14:08:14 +090068choice
69 prompt "Target select"
Joe Hershbergera26cd042015-05-12 14:46:23 -050070 optional
Masahiro Yamadadd840582014-07-30 14:08:14 +090071
Masahiro Yamadadd840582014-07-30 14:08:14 +090072config TARGET_SOCRATES
73 bool "Support socrates"
York Sun25cb74b2016-11-15 13:57:15 -080074 select ARCH_MPC8544
Masahiro Yamadadd840582014-07-30 14:08:14 +090075
Masahiro Yamadadd840582014-07-30 14:08:14 +090076config TARGET_P3041DS
77 bool "Support P3041DS"
Masahiro Yamadabb6b1422016-07-25 19:56:03 +090078 select PHYS_64BIT
York Sun5e5fdd22016-11-18 11:20:40 -080079 select ARCH_P3041
Tom Rinie5ec4812017-01-22 19:43:11 -050080 select BOARD_LATE_INIT if CHAIN_OF_TRUST
Tom Riniff4e87c2022-07-31 21:08:29 -040081 select FSL_NGPIXIS
Simon Glass3bf926c2017-06-14 21:28:24 -060082 imply CMD_SATA
Masahiro Yamada7e3caa82017-12-04 12:37:00 +090083 imply PANIC_HANG
Masahiro Yamadadd840582014-07-30 14:08:14 +090084
85config TARGET_P4080DS
86 bool "Support P4080DS"
Masahiro Yamadabb6b1422016-07-25 19:56:03 +090087 select PHYS_64BIT
York Sune71372c2016-11-18 11:24:40 -080088 select ARCH_P4080
Tom Rinie5ec4812017-01-22 19:43:11 -050089 select BOARD_LATE_INIT if CHAIN_OF_TRUST
Tom Riniff4e87c2022-07-31 21:08:29 -040090 select FSL_NGPIXIS
Simon Glass3bf926c2017-06-14 21:28:24 -060091 imply CMD_SATA
Masahiro Yamada7e3caa82017-12-04 12:37:00 +090092 imply PANIC_HANG
Masahiro Yamadadd840582014-07-30 14:08:14 +090093
Masahiro Yamadadd840582014-07-30 14:08:14 +090094config TARGET_P5040DS
95 bool "Support P5040DS"
Masahiro Yamadabb6b1422016-07-25 19:56:03 +090096 select PHYS_64BIT
York Sun95390362016-11-18 11:39:36 -080097 select ARCH_P5040
Tom Rinie5ec4812017-01-22 19:43:11 -050098 select BOARD_LATE_INIT if CHAIN_OF_TRUST
Tom Riniff4e87c2022-07-31 21:08:29 -040099 select FSL_NGPIXIS
100 select SYS_FSL_RAID_ENGINE
Simon Glass3bf926c2017-06-14 21:28:24 -0600101 imply CMD_SATA
Masahiro Yamada7e3caa82017-12-04 12:37:00 +0900102 imply PANIC_HANG
Masahiro Yamadadd840582014-07-30 14:08:14 +0900103
Masahiro Yamadadd840582014-07-30 14:08:14 +0900104config TARGET_MPC8548CDS
105 bool "Support MPC8548CDS"
York Sun281ed4c2016-11-15 13:52:34 -0800106 select ARCH_MPC8548
Rajesh Bhagatc8c01702021-02-15 09:46:14 +0100107 select FSL_VIA
Tom Riniab92b382021-08-26 11:47:59 -0400108 select SYS_CACHE_SHIFT_5
Masahiro Yamadadd840582014-07-30 14:08:14 +0900109
York Sun76016862016-11-16 13:30:06 -0800110config TARGET_P1010RDB_PA
111 bool "Support P1010RDB_PA"
112 select ARCH_P1010
Tom Rinie5ec4812017-01-22 19:43:11 -0500113 select BOARD_LATE_INIT if CHAIN_OF_TRUST
York Sun76016862016-11-16 13:30:06 -0800114 select SUPPORT_SPL
115 select SUPPORT_TPL
Tom Rini22a22832022-10-28 20:27:00 -0400116 select SYS_L2_SIZE_256KB
Simon Glassa1dc9802017-05-17 03:25:10 -0600117 imply CMD_EEPROM
Simon Glass3bf926c2017-06-14 21:28:24 -0600118 imply CMD_SATA
Masahiro Yamada7e3caa82017-12-04 12:37:00 +0900119 imply PANIC_HANG
York Sun76016862016-11-16 13:30:06 -0800120
121config TARGET_P1010RDB_PB
122 bool "Support P1010RDB_PB"
York Sun7d5f9f82016-11-16 13:08:52 -0800123 select ARCH_P1010
Tom Rinie5ec4812017-01-22 19:43:11 -0500124 select BOARD_LATE_INIT if CHAIN_OF_TRUST
Masahiro Yamada02627352014-10-20 17:45:56 +0900125 select SUPPORT_SPL
Masahiro Yamadacf6bbe42014-10-20 17:45:57 +0900126 select SUPPORT_TPL
Tom Rini22a22832022-10-28 20:27:00 -0400127 select SYS_L2_SIZE_256KB
Simon Glassa1dc9802017-05-17 03:25:10 -0600128 imply CMD_EEPROM
Simon Glass3bf926c2017-06-14 21:28:24 -0600129 imply CMD_SATA
Masahiro Yamada7e3caa82017-12-04 12:37:00 +0900130 imply PANIC_HANG
Masahiro Yamadadd840582014-07-30 14:08:14 +0900131
York Sunaa146202016-11-17 13:52:44 -0800132config TARGET_P1020RDB_PC
133 bool "Support P1020RDB-PC"
134 select SUPPORT_SPL
135 select SUPPORT_TPL
York Sun484fff62016-11-18 10:02:14 -0800136 select ARCH_P1020
Tom Rini22a22832022-10-28 20:27:00 -0400137 select SYS_L2_SIZE_256KB
Simon Glassa1dc9802017-05-17 03:25:10 -0600138 imply CMD_EEPROM
Simon Glass3bf926c2017-06-14 21:28:24 -0600139 imply CMD_SATA
Masahiro Yamada7e3caa82017-12-04 12:37:00 +0900140 imply PANIC_HANG
York Sunaa146202016-11-17 13:52:44 -0800141
York Sunf404b662016-11-17 13:53:33 -0800142config TARGET_P1020RDB_PD
143 bool "Support P1020RDB-PD"
144 select SUPPORT_SPL
145 select SUPPORT_TPL
York Sun484fff62016-11-18 10:02:14 -0800146 select ARCH_P1020
Tom Rini22a22832022-10-28 20:27:00 -0400147 select SYS_L2_SIZE_256KB
Simon Glassa1dc9802017-05-17 03:25:10 -0600148 imply CMD_EEPROM
Simon Glass3bf926c2017-06-14 21:28:24 -0600149 imply CMD_SATA
Masahiro Yamada7e3caa82017-12-04 12:37:00 +0900150 imply PANIC_HANG
York Sunf404b662016-11-17 13:53:33 -0800151
York Sun8435aa72016-11-17 14:19:18 -0800152config TARGET_P2020RDB
153 bool "Support P2020RDB-PC"
154 select SUPPORT_SPL
155 select SUPPORT_TPL
York Sun45936372016-11-18 11:08:43 -0800156 select ARCH_P2020
Tom Rini22a22832022-10-28 20:27:00 -0400157 select SYS_L2_SIZE_512KB
Simon Glassa1dc9802017-05-17 03:25:10 -0600158 imply CMD_EEPROM
Simon Glass3bf926c2017-06-14 21:28:24 -0600159 imply CMD_SATA
Tuomas Tynkkynenc88ecf42017-12-08 15:36:14 +0200160 imply SATA_SIL
York Sun8435aa72016-11-17 14:19:18 -0800161
Masahiro Yamadadd840582014-07-30 14:08:14 +0900162config TARGET_P2041RDB
163 bool "Support P2041RDB"
York Sunce040c82016-11-18 11:15:21 -0800164 select ARCH_P2041
Tom Rinie5ec4812017-01-22 19:43:11 -0500165 select BOARD_LATE_INIT if CHAIN_OF_TRUST
Tom Rini6f6b9702022-07-23 13:05:08 -0400166 select FSL_CORENET
Masahiro Yamadabb6b1422016-07-25 19:56:03 +0900167 select PHYS_64BIT
Tom Rinib85d7592022-10-28 20:27:01 -0400168 select SYS_L3_SIZE_1024KB
Simon Glass3bf926c2017-06-14 21:28:24 -0600169 imply CMD_SATA
Tuomas Tynkkynen9920d152017-12-08 15:36:17 +0200170 imply FSL_SATA
Masahiro Yamadadd840582014-07-30 14:08:14 +0900171
172config TARGET_QEMU_PPCE500
173 bool "Support qemu-ppce500"
York Sun10343402016-11-18 12:29:51 -0800174 select ARCH_QEMU_E500
Masahiro Yamadabb6b1422016-07-25 19:56:03 +0900175 select PHYS_64BIT
Tom Rini5a446182022-06-25 11:02:44 -0400176 select SYS_RAMBOOT
Simon Glass239d22c2021-12-16 20:59:36 -0700177 imply OF_HAS_PRIOR_STAGE
Masahiro Yamadadd840582014-07-30 14:08:14 +0900178
York Sun08c75292016-11-18 12:45:44 -0800179config TARGET_T1024RDB
180 bool "Support T1024RDB"
York Sune5d5f5a2016-11-18 13:01:34 -0800181 select ARCH_T1024
Tom Rinie5ec4812017-01-22 19:43:11 -0500182 select BOARD_LATE_INIT if CHAIN_OF_TRUST
Shengzhou Liu48c6f322014-11-24 17:11:56 +0800183 select SUPPORT_SPL
Masahiro Yamadabb6b1422016-07-25 19:56:03 +0900184 select PHYS_64BIT
Rajesh Bhagat32413122019-02-01 05:22:01 +0000185 select FSL_DDR_INTERACTIVE
Tom Rinib85d7592022-10-28 20:27:01 -0400186 select SYS_L3_SIZE_256KB
Simon Glassa1dc9802017-05-17 03:25:10 -0600187 imply CMD_EEPROM
Masahiro Yamada7e3caa82017-12-04 12:37:00 +0900188 imply PANIC_HANG
Shengzhou Liu48c6f322014-11-24 17:11:56 +0800189
York Sun95a809b2016-11-18 13:19:39 -0800190config TARGET_T1042RDB
191 bool "Support T1042RDB"
York Sun5449c982016-11-18 13:36:39 -0800192 select ARCH_T1042
Tom Rinie5ec4812017-01-22 19:43:11 -0500193 select BOARD_LATE_INIT if CHAIN_OF_TRUST
Masahiro Yamada02627352014-10-20 17:45:56 +0900194 select SUPPORT_SPL
Masahiro Yamadabb6b1422016-07-25 19:56:03 +0900195 select PHYS_64BIT
Tom Rinib85d7592022-10-28 20:27:01 -0400196 select SYS_L3_SIZE_256KB
Masahiro Yamadadd840582014-07-30 14:08:14 +0900197
York Sun319ed242016-11-21 11:04:34 -0800198config TARGET_T1042D4RDB
199 bool "Support T1042D4RDB"
200 select ARCH_T1042
Tom Rinie5ec4812017-01-22 19:43:11 -0500201 select BOARD_LATE_INIT if CHAIN_OF_TRUST
York Sun319ed242016-11-21 11:04:34 -0800202 select SUPPORT_SPL
203 select PHYS_64BIT
Tom Rinib85d7592022-10-28 20:27:01 -0400204 select SYS_L3_SIZE_256KB
Masahiro Yamada7e3caa82017-12-04 12:37:00 +0900205 imply PANIC_HANG
York Sun319ed242016-11-21 11:04:34 -0800206
York Sun55ed8ae2016-11-18 13:44:00 -0800207config TARGET_T1042RDB_PI
208 bool "Support T1042RDB_PI"
209 select ARCH_T1042
Tom Rinie5ec4812017-01-22 19:43:11 -0500210 select BOARD_LATE_INIT if CHAIN_OF_TRUST
York Sun55ed8ae2016-11-18 13:44:00 -0800211 select SUPPORT_SPL
212 select PHYS_64BIT
Tom Rinib85d7592022-10-28 20:27:01 -0400213 select SYS_L3_SIZE_256KB
Masahiro Yamada7e3caa82017-12-04 12:37:00 +0900214 imply PANIC_HANG
York Sun55ed8ae2016-11-18 13:44:00 -0800215
York Sun638d5be2016-11-21 12:46:58 -0800216config TARGET_T2080QDS
217 bool "Support T2080QDS"
York Sun0f3d80e2016-11-21 12:54:19 -0800218 select ARCH_T2080
Tom Rinie5ec4812017-01-22 19:43:11 -0500219 select BOARD_LATE_INIT if CHAIN_OF_TRUST
Masahiro Yamada02627352014-10-20 17:45:56 +0900220 select SUPPORT_SPL
Masahiro Yamadabb6b1422016-07-25 19:56:03 +0900221 select PHYS_64BIT
Rajesh Bhagat32413122019-02-01 05:22:01 +0000222 select FSL_DDR_FIRST_SLOT_QUAD_CAPABLE
223 select FSL_DDR_INTERACTIVE
Tom Rinib85d7592022-10-28 20:27:01 -0400224 select SYS_L3_SIZE_512KB
Peng Maa2d4cb22019-12-23 09:28:12 +0000225 imply CMD_SATA
Masahiro Yamadadd840582014-07-30 14:08:14 +0900226
York Sun01671e62016-11-21 12:57:22 -0800227config TARGET_T2080RDB
228 bool "Support T2080RDB"
York Sun0f3d80e2016-11-21 12:54:19 -0800229 select ARCH_T2080
Tom Rinie5ec4812017-01-22 19:43:11 -0500230 select BOARD_LATE_INIT if CHAIN_OF_TRUST
Masahiro Yamada02627352014-10-20 17:45:56 +0900231 select SUPPORT_SPL
Masahiro Yamadabb6b1422016-07-25 19:56:03 +0900232 select PHYS_64BIT
Tom Rinib85d7592022-10-28 20:27:01 -0400233 select SYS_L3_SIZE_512KB
Simon Glass3bf926c2017-06-14 21:28:24 -0600234 imply CMD_SATA
Masahiro Yamada7e3caa82017-12-04 12:37:00 +0900235 imply PANIC_HANG
Masahiro Yamadadd840582014-07-30 14:08:14 +0900236
Masahiro Yamadadd840582014-07-30 14:08:14 +0900237config TARGET_T4240RDB
238 bool "Support T4240RDB"
York Sun26bc57d2016-11-21 13:35:41 -0800239 select ARCH_T4240
Chunhe Lan373762c2015-03-20 17:08:54 +0800240 select SUPPORT_SPL
Masahiro Yamadabb6b1422016-07-25 19:56:03 +0900241 select PHYS_64BIT
Rajesh Bhagat32413122019-02-01 05:22:01 +0000242 select FSL_DDR_FIRST_SLOT_QUAD_CAPABLE
Tom Rinib85d7592022-10-28 20:27:01 -0400243 select SYS_L3_SIZE_512KB
Simon Glass3bf926c2017-06-14 21:28:24 -0600244 imply CMD_SATA
Masahiro Yamada7e3caa82017-12-04 12:37:00 +0900245 imply PANIC_HANG
Masahiro Yamadadd840582014-07-30 14:08:14 +0900246
Masahiro Yamadadd840582014-07-30 14:08:14 +0900247config TARGET_KMP204X
248 bool "Support kmp204x"
Pascal Linderc0fed3a2019-06-18 13:27:47 +0200249 select VENDOR_KM
Masahiro Yamadadd840582014-07-30 14:08:14 +0900250
Niel Fourie37bfd9c2021-01-21 13:19:20 +0100251config TARGET_KMCENT2
252 bool "Support kmcent2"
253 select VENDOR_KM
Tom Rini6f6b9702022-07-23 13:05:08 -0400254 select FSL_CORENET
Tom Rinib85d7592022-10-28 20:27:01 -0400255 select SYS_L3_SIZE_256KB
Niel Fourie37bfd9c2021-01-21 13:19:20 +0100256
Masahiro Yamadadd840582014-07-30 14:08:14 +0900257endchoice
258
York Sunb41f1922016-11-18 11:56:57 -0800259config ARCH_B4420
260 bool
York Sunf8dee362016-12-28 08:43:27 -0800261 select E500MC
York Sun9ec10102016-12-28 08:43:48 -0800262 select E6500
Tom Rini6f6b9702022-07-23 13:05:08 -0400263 select FSL_CORENET
York Sun05cb79a2016-12-02 10:44:34 -0800264 select FSL_LAW
Tom Rini1e7750f2022-06-16 14:04:34 -0400265 select HETROGENOUS_CLUSTERS
York Sun22120f12016-12-28 08:43:46 -0800266 select SYS_FSL_DDR_VER_47
York Sun63659ff2016-12-28 08:43:43 -0800267 select SYS_FSL_ERRATUM_A004477
268 select SYS_FSL_ERRATUM_A005871
269 select SYS_FSL_ERRATUM_A006379
270 select SYS_FSL_ERRATUM_A006384
271 select SYS_FSL_ERRATUM_A006475
272 select SYS_FSL_ERRATUM_A006593
273 select SYS_FSL_ERRATUM_A007075
Tom Rini601483f2022-06-16 14:04:40 -0400274 select SYS_FSL_ERRATUM_A007186 if CHAIN_OF_TRUST
York Sun63659ff2016-12-28 08:43:43 -0800275 select SYS_FSL_ERRATUM_A007212
276 select SYS_FSL_ERRATUM_A009942
York Sund26e34c2016-12-28 08:43:40 -0800277 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800278 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800279 select SYS_FSL_QORIQ_CHASSIS2
Tom Rini4143a232022-07-31 21:08:28 -0400280 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v24
York Sun90b80382016-12-28 08:43:31 -0800281 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800282 select SYS_FSL_SEC_COMPAT_4
Tom Riniff4e87c2022-07-31 21:08:29 -0400283 select SYS_FSL_QMAN_V3 if SYS_DPAA_QBMAN
284 select SYS_FSL_USB1_PHY_ENABLE
York Sun48512782016-12-28 08:43:50 -0800285 select SYS_PPC64
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530286 select FSL_IFC
Simon Glassa1dc9802017-05-17 03:25:10 -0600287 imply CMD_EEPROM
Tom Rini8f1a80e2017-07-28 21:31:42 -0400288 imply CMD_NAND
Christophe Leroyfa379222017-08-04 16:34:40 -0600289 imply CMD_REGINFO
York Sunb41f1922016-11-18 11:56:57 -0800290
York Sun3006ebc2016-11-18 11:44:43 -0800291config ARCH_B4860
292 bool
York Sunf8dee362016-12-28 08:43:27 -0800293 select E500MC
York Sun9ec10102016-12-28 08:43:48 -0800294 select E6500
Tom Rini6f6b9702022-07-23 13:05:08 -0400295 select FSL_CORENET
York Sun05cb79a2016-12-02 10:44:34 -0800296 select FSL_LAW
Tom Rini1e7750f2022-06-16 14:04:34 -0400297 select HETROGENOUS_CLUSTERS
York Sun22120f12016-12-28 08:43:46 -0800298 select SYS_FSL_DDR_VER_47
York Sun63659ff2016-12-28 08:43:43 -0800299 select SYS_FSL_ERRATUM_A004477
300 select SYS_FSL_ERRATUM_A005871
301 select SYS_FSL_ERRATUM_A006379
302 select SYS_FSL_ERRATUM_A006384
303 select SYS_FSL_ERRATUM_A006475
304 select SYS_FSL_ERRATUM_A006593
305 select SYS_FSL_ERRATUM_A007075
Tom Rini601483f2022-06-16 14:04:40 -0400306 select SYS_FSL_ERRATUM_A007186 if CHAIN_OF_TRUST
York Sun63659ff2016-12-28 08:43:43 -0800307 select SYS_FSL_ERRATUM_A007212
Darwin Dingel06ad9702016-10-25 09:48:01 +1300308 select SYS_FSL_ERRATUM_A007907
York Sun63659ff2016-12-28 08:43:43 -0800309 select SYS_FSL_ERRATUM_A009942
York Sund26e34c2016-12-28 08:43:40 -0800310 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800311 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800312 select SYS_FSL_QORIQ_CHASSIS2
Tom Rini4143a232022-07-31 21:08:28 -0400313 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v24
York Sun90b80382016-12-28 08:43:31 -0800314 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800315 select SYS_FSL_SEC_COMPAT_4
Tom Riniff4e87c2022-07-31 21:08:29 -0400316 select SYS_FSL_SRIO_LIODN
317 select SYS_FSL_QMAN_V3 if SYS_DPAA_QBMAN
318 select SYS_FSL_USB1_PHY_ENABLE
York Sun48512782016-12-28 08:43:50 -0800319 select SYS_PPC64
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530320 select FSL_IFC
Simon Glassa1dc9802017-05-17 03:25:10 -0600321 imply CMD_EEPROM
Tom Rini8f1a80e2017-07-28 21:31:42 -0400322 imply CMD_NAND
Christophe Leroyfa379222017-08-04 16:34:40 -0600323 imply CMD_REGINFO
York Sun3006ebc2016-11-18 11:44:43 -0800324
York Sun115d60c2016-11-15 14:09:50 -0800325config ARCH_BSC9131
326 bool
York Sun05cb79a2016-12-02 10:44:34 -0800327 select FSL_LAW
York Sun22120f12016-12-28 08:43:46 -0800328 select SYS_FSL_DDR_VER_44
York Sun63659ff2016-12-28 08:43:43 -0800329 select SYS_FSL_ERRATUM_A004477
330 select SYS_FSL_ERRATUM_A005125
York Sunc01e4a12016-12-28 08:43:42 -0800331 select SYS_FSL_ERRATUM_ESDHC111
York Sund26e34c2016-12-28 08:43:40 -0800332 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800333 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800334 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800335 select SYS_FSL_SEC_COMPAT_4
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530336 select FSL_IFC
Simon Glassa1dc9802017-05-17 03:25:10 -0600337 imply CMD_EEPROM
Tom Rini8f1a80e2017-07-28 21:31:42 -0400338 imply CMD_NAND
Christophe Leroyfa379222017-08-04 16:34:40 -0600339 imply CMD_REGINFO
York Sun115d60c2016-11-15 14:09:50 -0800340
341config ARCH_BSC9132
342 bool
York Sun05cb79a2016-12-02 10:44:34 -0800343 select FSL_LAW
York Sun22120f12016-12-28 08:43:46 -0800344 select SYS_FSL_DDR_VER_46
York Sun63659ff2016-12-28 08:43:43 -0800345 select SYS_FSL_ERRATUM_A004477
346 select SYS_FSL_ERRATUM_A005125
347 select SYS_FSL_ERRATUM_A005434
York Sunc01e4a12016-12-28 08:43:42 -0800348 select SYS_FSL_ERRATUM_ESDHC111
York Sun63659ff2016-12-28 08:43:43 -0800349 select SYS_FSL_ERRATUM_I2C_A004447
350 select SYS_FSL_ERRATUM_IFC_A002769
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800351 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800352 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800353 select SYS_FSL_HAS_SEC
Tom Rini4143a232022-07-31 21:08:28 -0400354 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v22
York Sun90b80382016-12-28 08:43:31 -0800355 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800356 select SYS_FSL_SEC_COMPAT_4
York Sun53c95382016-12-28 08:43:29 -0800357 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530358 select FSL_IFC
Simon Glassa1dc9802017-05-17 03:25:10 -0600359 imply CMD_EEPROM
Tom Rinid56b4b12017-07-22 18:36:16 -0400360 imply CMD_MTDPARTS
Tom Rini8f1a80e2017-07-28 21:31:42 -0400361 imply CMD_NAND
Simon Glass6500ec72017-08-04 16:34:34 -0600362 imply CMD_PCI
Christophe Leroyfa379222017-08-04 16:34:40 -0600363 imply CMD_REGINFO
York Sun115d60c2016-11-15 14:09:50 -0800364
York Sun4fd64742016-11-15 18:44:22 -0800365config ARCH_C29X
366 bool
York Sun05cb79a2016-12-02 10:44:34 -0800367 select FSL_LAW
York Sun22120f12016-12-28 08:43:46 -0800368 select SYS_FSL_DDR_VER_46
York Sun63659ff2016-12-28 08:43:43 -0800369 select SYS_FSL_ERRATUM_A005125
York Sunc01e4a12016-12-28 08:43:42 -0800370 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800371 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800372 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800373 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800374 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800375 select SYS_FSL_SEC_COMPAT_6
York Sun53c95382016-12-28 08:43:29 -0800376 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530377 select FSL_IFC
Tom Rini8f1a80e2017-07-28 21:31:42 -0400378 imply CMD_NAND
Simon Glass6500ec72017-08-04 16:34:34 -0600379 imply CMD_PCI
Christophe Leroyfa379222017-08-04 16:34:40 -0600380 imply CMD_REGINFO
York Sun4fd64742016-11-15 18:44:22 -0800381
York Sun24ad75a2016-11-16 11:06:47 -0800382config ARCH_MPC8536
383 bool
York Sun05cb79a2016-12-02 10:44:34 -0800384 select FSL_LAW
York Sun63659ff2016-12-28 08:43:43 -0800385 select SYS_FSL_ERRATUM_A004508
386 select SYS_FSL_ERRATUM_A005125
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800387 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800388 select SYS_FSL_HAS_DDR2
389 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800390 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800391 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800392 select SYS_FSL_SEC_COMPAT_2
York Sun53c95382016-12-28 08:43:29 -0800393 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530394 select FSL_ELBC
Tom Rini8f1a80e2017-07-28 21:31:42 -0400395 imply CMD_NAND
Simon Glass3bf926c2017-06-14 21:28:24 -0600396 imply CMD_SATA
Christophe Leroyfa379222017-08-04 16:34:40 -0600397 imply CMD_REGINFO
York Sun24ad75a2016-11-16 11:06:47 -0800398
York Sun7f825212016-11-16 11:13:06 -0800399config ARCH_MPC8540
400 bool
York Sun05cb79a2016-12-02 10:44:34 -0800401 select FSL_LAW
York Sund26e34c2016-12-28 08:43:40 -0800402 select SYS_FSL_HAS_DDR1
York Sun7f825212016-11-16 11:13:06 -0800403
York Sun25cb74b2016-11-15 13:57:15 -0800404config ARCH_MPC8544
405 bool
Tom Rinia3041d92022-02-23 12:28:15 -0500406 select BTB
York Sun05cb79a2016-12-02 10:44:34 -0800407 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400408 select SYS_CACHE_SHIFT_5
York Sun63659ff2016-12-28 08:43:43 -0800409 select SYS_FSL_ERRATUM_A005125
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800410 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800411 select SYS_FSL_HAS_DDR2
York Sun2c2e2c92016-12-28 08:43:30 -0800412 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800413 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800414 select SYS_FSL_SEC_COMPAT_2
York Sun53c95382016-12-28 08:43:29 -0800415 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530416 select FSL_ELBC
York Sun25cb74b2016-11-15 13:57:15 -0800417
York Sun281ed4c2016-11-15 13:52:34 -0800418config ARCH_MPC8548
419 bool
Tom Rinia3041d92022-02-23 12:28:15 -0500420 select BTB
York Sun05cb79a2016-12-02 10:44:34 -0800421 select FSL_LAW
York Sun63659ff2016-12-28 08:43:43 -0800422 select SYS_FSL_ERRATUM_A005125
423 select SYS_FSL_ERRATUM_NMG_DDR120
424 select SYS_FSL_ERRATUM_NMG_LBC103
425 select SYS_FSL_ERRATUM_NMG_ETSEC129
426 select SYS_FSL_ERRATUM_I2C_A004447
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800427 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800428 select SYS_FSL_HAS_DDR2
429 select SYS_FSL_HAS_DDR1
York Sun2c2e2c92016-12-28 08:43:30 -0800430 select SYS_FSL_HAS_SEC
Tom Riniff4e87c2022-07-31 21:08:29 -0400431 select SYS_FSL_RMU
York Sun90b80382016-12-28 08:43:31 -0800432 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800433 select SYS_FSL_SEC_COMPAT_2
York Sun53c95382016-12-28 08:43:29 -0800434 select SYS_PPC_E500_USE_DEBUG_TLB
Christophe Leroyfa379222017-08-04 16:34:40 -0600435 imply CMD_REGINFO
York Sun281ed4c2016-11-15 13:52:34 -0800436
York Sun99d0a312016-11-16 11:26:45 -0800437config ARCH_MPC8560
438 bool
York Sun05cb79a2016-12-02 10:44:34 -0800439 select FSL_LAW
York Sund26e34c2016-12-28 08:43:40 -0800440 select SYS_FSL_HAS_DDR1
York Sun99d0a312016-11-16 11:26:45 -0800441
York Sun7d5f9f82016-11-16 13:08:52 -0800442config ARCH_P1010
443 bool
Tom Rinifdd0da42022-03-11 09:11:59 -0500444 select A003399_NOR_WORKAROUND if SYS_FSL_ERRATUM_IFC_A003399 && !SPL
Tom Rinia3041d92022-02-23 12:28:15 -0500445 select BTB
York Sun05cb79a2016-12-02 10:44:34 -0800446 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400447 select SYS_CACHE_SHIFT_5
Tom Rinif76750d2021-12-11 14:55:51 -0500448 select SYS_HAS_SERDES
York Sun63659ff2016-12-28 08:43:43 -0800449 select SYS_FSL_ERRATUM_A004477
450 select SYS_FSL_ERRATUM_A004508
451 select SYS_FSL_ERRATUM_A005125
Chris Packham4eaf7f52018-10-04 20:03:53 +1300452 select SYS_FSL_ERRATUM_A005275
York Sun63659ff2016-12-28 08:43:43 -0800453 select SYS_FSL_ERRATUM_A006261
454 select SYS_FSL_ERRATUM_A007075
York Sunc01e4a12016-12-28 08:43:42 -0800455 select SYS_FSL_ERRATUM_ESDHC111
York Sun63659ff2016-12-28 08:43:43 -0800456 select SYS_FSL_ERRATUM_I2C_A004447
457 select SYS_FSL_ERRATUM_IFC_A002769
458 select SYS_FSL_ERRATUM_P1010_A003549
459 select SYS_FSL_ERRATUM_SEC_A003571
460 select SYS_FSL_ERRATUM_IFC_A003399
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800461 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800462 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800463 select SYS_FSL_HAS_SEC
Tom Rini4143a232022-07-31 21:08:28 -0400464 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v22
York Sun90b80382016-12-28 08:43:31 -0800465 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800466 select SYS_FSL_SEC_COMPAT_4
Tom Riniff4e87c2022-07-31 21:08:29 -0400467 select SYS_FSL_USB1_PHY_ENABLE
York Sun53c95382016-12-28 08:43:29 -0800468 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530469 select FSL_IFC
Simon Glassa1dc9802017-05-17 03:25:10 -0600470 imply CMD_EEPROM
Tom Rinid56b4b12017-07-22 18:36:16 -0400471 imply CMD_MTDPARTS
Tom Rini8f1a80e2017-07-28 21:31:42 -0400472 imply CMD_NAND
Simon Glass3bf926c2017-06-14 21:28:24 -0600473 imply CMD_SATA
Simon Glass6500ec72017-08-04 16:34:34 -0600474 imply CMD_PCI
Christophe Leroyfa379222017-08-04 16:34:40 -0600475 imply CMD_REGINFO
Tuomas Tynkkynen9920d152017-12-08 15:36:17 +0200476 imply FSL_SATA
Simon Glassd6b318d2021-12-18 11:27:50 -0700477 imply TIMESTAMP
York Sun7d5f9f82016-11-16 13:08:52 -0800478
York Sun1cdd96f2016-11-16 15:54:15 -0800479config ARCH_P1011
480 bool
York Sun05cb79a2016-12-02 10:44:34 -0800481 select FSL_LAW
York Sun63659ff2016-12-28 08:43:43 -0800482 select SYS_FSL_ERRATUM_A004508
483 select SYS_FSL_ERRATUM_A005125
484 select SYS_FSL_ERRATUM_ELBC_A001
York Sunc01e4a12016-12-28 08:43:42 -0800485 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiangc16dfd02019-05-22 22:46:03 +0800486 select FSL_PCIE_DISABLE_ASPM
York Sund26e34c2016-12-28 08:43:40 -0800487 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800488 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800489 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800490 select SYS_FSL_SEC_COMPAT_2
York Sun53c95382016-12-28 08:43:29 -0800491 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530492 select FSL_ELBC
York Sun1cdd96f2016-11-16 15:54:15 -0800493
York Sun484fff62016-11-18 10:02:14 -0800494config ARCH_P1020
495 bool
Tom Rinia3041d92022-02-23 12:28:15 -0500496 select BTB
York Sun05cb79a2016-12-02 10:44:34 -0800497 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400498 select SYS_CACHE_SHIFT_5
York Sun63659ff2016-12-28 08:43:43 -0800499 select SYS_FSL_ERRATUM_A004508
500 select SYS_FSL_ERRATUM_A005125
501 select SYS_FSL_ERRATUM_ELBC_A001
York Sunc01e4a12016-12-28 08:43:42 -0800502 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiangc16dfd02019-05-22 22:46:03 +0800503 select FSL_PCIE_DISABLE_ASPM
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800504 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800505 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800506 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800507 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800508 select SYS_FSL_SEC_COMPAT_2
York Sun53c95382016-12-28 08:43:29 -0800509 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530510 select FSL_ELBC
Tom Rini8f1a80e2017-07-28 21:31:42 -0400511 imply CMD_NAND
Simon Glass3bf926c2017-06-14 21:28:24 -0600512 imply CMD_SATA
Simon Glass6500ec72017-08-04 16:34:34 -0600513 imply CMD_PCI
Christophe Leroyfa379222017-08-04 16:34:40 -0600514 imply CMD_REGINFO
Tuomas Tynkkynenc88ecf42017-12-08 15:36:14 +0200515 imply SATA_SIL
York Sun484fff62016-11-18 10:02:14 -0800516
York Suna9907992016-11-18 10:59:02 -0800517config ARCH_P1021
518 bool
York Sun05cb79a2016-12-02 10:44:34 -0800519 select FSL_LAW
York Sun63659ff2016-12-28 08:43:43 -0800520 select SYS_FSL_ERRATUM_A004508
521 select SYS_FSL_ERRATUM_A005125
522 select SYS_FSL_ERRATUM_ELBC_A001
York Sunc01e4a12016-12-28 08:43:42 -0800523 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiangc16dfd02019-05-22 22:46:03 +0800524 select FSL_PCIE_DISABLE_ASPM
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800525 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800526 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800527 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800528 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800529 select SYS_FSL_SEC_COMPAT_2
York Sun53c95382016-12-28 08:43:29 -0800530 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530531 select FSL_ELBC
Christophe Leroyfa379222017-08-04 16:34:40 -0600532 imply CMD_REGINFO
Tom Rini8f1a80e2017-07-28 21:31:42 -0400533 imply CMD_NAND
Simon Glass3bf926c2017-06-14 21:28:24 -0600534 imply CMD_SATA
Christophe Leroyfa379222017-08-04 16:34:40 -0600535 imply CMD_REGINFO
Tuomas Tynkkynenc88ecf42017-12-08 15:36:14 +0200536 imply SATA_SIL
York Suna9907992016-11-18 10:59:02 -0800537
York Sun9bb1d6b2016-11-16 15:45:31 -0800538config ARCH_P1023
539 bool
York Sun05cb79a2016-12-02 10:44:34 -0800540 select FSL_LAW
York Sun63659ff2016-12-28 08:43:43 -0800541 select SYS_FSL_ERRATUM_A004508
542 select SYS_FSL_ERRATUM_A005125
543 select SYS_FSL_ERRATUM_I2C_A004447
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800544 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800545 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800546 select SYS_FSL_HAS_SEC
Tom Rini4143a232022-07-31 21:08:28 -0400547 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v22
York Sun90b80382016-12-28 08:43:31 -0800548 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800549 select SYS_FSL_SEC_COMPAT_4
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530550 select FSL_ELBC
York Sun9bb1d6b2016-11-16 15:45:31 -0800551
York Sun52b6f132016-11-18 11:00:57 -0800552config ARCH_P1024
553 bool
York Sun05cb79a2016-12-02 10:44:34 -0800554 select FSL_LAW
York Sun63659ff2016-12-28 08:43:43 -0800555 select SYS_FSL_ERRATUM_A004508
556 select SYS_FSL_ERRATUM_A005125
557 select SYS_FSL_ERRATUM_ELBC_A001
York Sunc01e4a12016-12-28 08:43:42 -0800558 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiangc16dfd02019-05-22 22:46:03 +0800559 select FSL_PCIE_DISABLE_ASPM
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800560 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800561 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800562 select SYS_FSL_HAS_SEC
Tom Riniff4e87c2022-07-31 21:08:29 -0400563 select SYS_FSL_RMU
York Sun90b80382016-12-28 08:43:31 -0800564 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800565 select SYS_FSL_SEC_COMPAT_2
York Sun53c95382016-12-28 08:43:29 -0800566 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530567 select FSL_ELBC
Simon Glassa1dc9802017-05-17 03:25:10 -0600568 imply CMD_EEPROM
Tom Rini8f1a80e2017-07-28 21:31:42 -0400569 imply CMD_NAND
Simon Glass3bf926c2017-06-14 21:28:24 -0600570 imply CMD_SATA
Simon Glass6500ec72017-08-04 16:34:34 -0600571 imply CMD_PCI
Christophe Leroyfa379222017-08-04 16:34:40 -0600572 imply CMD_REGINFO
Tuomas Tynkkynenc88ecf42017-12-08 15:36:14 +0200573 imply SATA_SIL
York Sun52b6f132016-11-18 11:00:57 -0800574
York Sun4167a672016-11-18 11:05:38 -0800575config ARCH_P1025
576 bool
York Sun05cb79a2016-12-02 10:44:34 -0800577 select FSL_LAW
York Sun63659ff2016-12-28 08:43:43 -0800578 select SYS_FSL_ERRATUM_A004508
579 select SYS_FSL_ERRATUM_A005125
580 select SYS_FSL_ERRATUM_ELBC_A001
York Sunc01e4a12016-12-28 08:43:42 -0800581 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiangc16dfd02019-05-22 22:46:03 +0800582 select FSL_PCIE_DISABLE_ASPM
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800583 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800584 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800585 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800586 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800587 select SYS_FSL_SEC_COMPAT_2
York Sun53c95382016-12-28 08:43:29 -0800588 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530589 select FSL_ELBC
Simon Glass3bf926c2017-06-14 21:28:24 -0600590 imply CMD_SATA
Christophe Leroyfa379222017-08-04 16:34:40 -0600591 imply CMD_REGINFO
York Sun4167a672016-11-18 11:05:38 -0800592
York Sun45936372016-11-18 11:08:43 -0800593config ARCH_P2020
594 bool
Tom Rinia3041d92022-02-23 12:28:15 -0500595 select BTB
York Sun05cb79a2016-12-02 10:44:34 -0800596 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400597 select SYS_CACHE_SHIFT_5
York Sun63659ff2016-12-28 08:43:43 -0800598 select SYS_FSL_ERRATUM_A004477
599 select SYS_FSL_ERRATUM_A004508
600 select SYS_FSL_ERRATUM_A005125
York Sunc01e4a12016-12-28 08:43:42 -0800601 select SYS_FSL_ERRATUM_ESDHC111
602 select SYS_FSL_ERRATUM_ESDHC_A001
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800603 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800604 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800605 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800606 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800607 select SYS_FSL_SEC_COMPAT_2
York Sun53c95382016-12-28 08:43:29 -0800608 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530609 select FSL_ELBC
Simon Glassa1dc9802017-05-17 03:25:10 -0600610 imply CMD_EEPROM
Tom Rini8f1a80e2017-07-28 21:31:42 -0400611 imply CMD_NAND
Christophe Leroyfa379222017-08-04 16:34:40 -0600612 imply CMD_REGINFO
Simon Glassd6b318d2021-12-18 11:27:50 -0700613 imply TIMESTAMP
York Sun45936372016-11-18 11:08:43 -0800614
York Sunce040c82016-11-18 11:15:21 -0800615config ARCH_P2041
616 bool
Tom Rinib40d2b22022-03-18 08:38:32 -0400617 select BACKSIDE_L2_CACHE
York Sunf8dee362016-12-28 08:43:27 -0800618 select E500MC
York Sun05cb79a2016-12-02 10:44:34 -0800619 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400620 select SYS_CACHE_SHIFT_6
York Sun63659ff2016-12-28 08:43:43 -0800621 select SYS_FSL_ERRATUM_A004510
622 select SYS_FSL_ERRATUM_A004849
Chris Packham4eaf7f52018-10-04 20:03:53 +1300623 select SYS_FSL_ERRATUM_A005275
York Sun63659ff2016-12-28 08:43:43 -0800624 select SYS_FSL_ERRATUM_A006261
625 select SYS_FSL_ERRATUM_CPU_A003999
626 select SYS_FSL_ERRATUM_DDR_A003
627 select SYS_FSL_ERRATUM_DDR_A003474
York Sunc01e4a12016-12-28 08:43:42 -0800628 select SYS_FSL_ERRATUM_ESDHC111
York Sun63659ff2016-12-28 08:43:43 -0800629 select SYS_FSL_ERRATUM_I2C_A004447
630 select SYS_FSL_ERRATUM_NMG_CPU_A011
631 select SYS_FSL_ERRATUM_SRIO_A004034
632 select SYS_FSL_ERRATUM_USB14
York Sund26e34c2016-12-28 08:43:40 -0800633 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800634 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800635 select SYS_FSL_QORIQ_CHASSIS1
Tom Rini4143a232022-07-31 21:08:28 -0400636 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v22
York Sun90b80382016-12-28 08:43:31 -0800637 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800638 select SYS_FSL_SEC_COMPAT_4
Tom Riniff4e87c2022-07-31 21:08:29 -0400639 select SYS_FSL_USB1_PHY_ENABLE
640 select SYS_FSL_USB2_PHY_ENABLE
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530641 select FSL_ELBC
Tom Rini8f1a80e2017-07-28 21:31:42 -0400642 imply CMD_NAND
York Sunce040c82016-11-18 11:15:21 -0800643
York Sun5e5fdd22016-11-18 11:20:40 -0800644config ARCH_P3041
645 bool
Tom Rinib40d2b22022-03-18 08:38:32 -0400646 select BACKSIDE_L2_CACHE
York Sunf8dee362016-12-28 08:43:27 -0800647 select E500MC
Tom Rini6f6b9702022-07-23 13:05:08 -0400648 select FSL_CORENET
York Sun05cb79a2016-12-02 10:44:34 -0800649 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400650 select SYS_CACHE_SHIFT_6
York Sun22120f12016-12-28 08:43:46 -0800651 select SYS_FSL_DDR_VER_44
York Sun63659ff2016-12-28 08:43:43 -0800652 select SYS_FSL_ERRATUM_A004510
653 select SYS_FSL_ERRATUM_A004849
Chris Packham4eaf7f52018-10-04 20:03:53 +1300654 select SYS_FSL_ERRATUM_A005275
York Sun63659ff2016-12-28 08:43:43 -0800655 select SYS_FSL_ERRATUM_A005812
656 select SYS_FSL_ERRATUM_A006261
657 select SYS_FSL_ERRATUM_CPU_A003999
658 select SYS_FSL_ERRATUM_DDR_A003
659 select SYS_FSL_ERRATUM_DDR_A003474
York Sunc01e4a12016-12-28 08:43:42 -0800660 select SYS_FSL_ERRATUM_ESDHC111
York Sun63659ff2016-12-28 08:43:43 -0800661 select SYS_FSL_ERRATUM_I2C_A004447
662 select SYS_FSL_ERRATUM_NMG_CPU_A011
663 select SYS_FSL_ERRATUM_SRIO_A004034
664 select SYS_FSL_ERRATUM_USB14
York Sund26e34c2016-12-28 08:43:40 -0800665 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800666 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800667 select SYS_FSL_QORIQ_CHASSIS1
Tom Rini4143a232022-07-31 21:08:28 -0400668 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v22
York Sun90b80382016-12-28 08:43:31 -0800669 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800670 select SYS_FSL_SEC_COMPAT_4
Tom Riniff4e87c2022-07-31 21:08:29 -0400671 select SYS_FSL_USB1_PHY_ENABLE
672 select SYS_FSL_USB2_PHY_ENABLE
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530673 select FSL_ELBC
Tom Rini8f1a80e2017-07-28 21:31:42 -0400674 imply CMD_NAND
Simon Glass3bf926c2017-06-14 21:28:24 -0600675 imply CMD_SATA
Christophe Leroyfa379222017-08-04 16:34:40 -0600676 imply CMD_REGINFO
Tuomas Tynkkynen9920d152017-12-08 15:36:17 +0200677 imply FSL_SATA
York Sun5e5fdd22016-11-18 11:20:40 -0800678
York Sune71372c2016-11-18 11:24:40 -0800679config ARCH_P4080
680 bool
Tom Rinib40d2b22022-03-18 08:38:32 -0400681 select BACKSIDE_L2_CACHE
York Sunf8dee362016-12-28 08:43:27 -0800682 select E500MC
Tom Rini6f6b9702022-07-23 13:05:08 -0400683 select FSL_CORENET
York Sun05cb79a2016-12-02 10:44:34 -0800684 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400685 select SYS_CACHE_SHIFT_6
York Sun22120f12016-12-28 08:43:46 -0800686 select SYS_FSL_DDR_VER_44
York Sun63659ff2016-12-28 08:43:43 -0800687 select SYS_FSL_ERRATUM_A004510
688 select SYS_FSL_ERRATUM_A004580
689 select SYS_FSL_ERRATUM_A004849
690 select SYS_FSL_ERRATUM_A005812
691 select SYS_FSL_ERRATUM_A007075
692 select SYS_FSL_ERRATUM_CPC_A002
693 select SYS_FSL_ERRATUM_CPC_A003
694 select SYS_FSL_ERRATUM_CPU_A003999
695 select SYS_FSL_ERRATUM_DDR_A003
696 select SYS_FSL_ERRATUM_DDR_A003474
697 select SYS_FSL_ERRATUM_ELBC_A001
York Sunc01e4a12016-12-28 08:43:42 -0800698 select SYS_FSL_ERRATUM_ESDHC111
699 select SYS_FSL_ERRATUM_ESDHC13
700 select SYS_FSL_ERRATUM_ESDHC135
York Sun63659ff2016-12-28 08:43:43 -0800701 select SYS_FSL_ERRATUM_I2C_A004447
702 select SYS_FSL_ERRATUM_NMG_CPU_A011
703 select SYS_FSL_ERRATUM_SRIO_A004034
Tom Rini4143a232022-07-31 21:08:28 -0400704 select SYS_FSL_PCIE_COMPAT_P4080_PCIE
York Sun63659ff2016-12-28 08:43:43 -0800705 select SYS_P4080_ERRATUM_CPU22
706 select SYS_P4080_ERRATUM_PCIE_A003
707 select SYS_P4080_ERRATUM_SERDES8
708 select SYS_P4080_ERRATUM_SERDES9
709 select SYS_P4080_ERRATUM_SERDES_A001
710 select SYS_P4080_ERRATUM_SERDES_A005
York Sund26e34c2016-12-28 08:43:40 -0800711 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800712 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800713 select SYS_FSL_QORIQ_CHASSIS1
Tom Riniff4e87c2022-07-31 21:08:29 -0400714 select SYS_FSL_RMU
York Sun90b80382016-12-28 08:43:31 -0800715 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800716 select SYS_FSL_SEC_COMPAT_4
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530717 select FSL_ELBC
Simon Glass3bf926c2017-06-14 21:28:24 -0600718 imply CMD_SATA
Christophe Leroyfa379222017-08-04 16:34:40 -0600719 imply CMD_REGINFO
Tuomas Tynkkynenc88ecf42017-12-08 15:36:14 +0200720 imply SATA_SIL
York Sune71372c2016-11-18 11:24:40 -0800721
York Sun95390362016-11-18 11:39:36 -0800722config ARCH_P5040
723 bool
Tom Rinib40d2b22022-03-18 08:38:32 -0400724 select BACKSIDE_L2_CACHE
York Sunf8dee362016-12-28 08:43:27 -0800725 select E500MC
Tom Rini6f6b9702022-07-23 13:05:08 -0400726 select FSL_CORENET
York Sun05cb79a2016-12-02 10:44:34 -0800727 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400728 select SYS_CACHE_SHIFT_6
York Sun22120f12016-12-28 08:43:46 -0800729 select SYS_FSL_DDR_VER_44
York Sun63659ff2016-12-28 08:43:43 -0800730 select SYS_FSL_ERRATUM_A004510
731 select SYS_FSL_ERRATUM_A004699
Chris Packham4eaf7f52018-10-04 20:03:53 +1300732 select SYS_FSL_ERRATUM_A005275
York Sun63659ff2016-12-28 08:43:43 -0800733 select SYS_FSL_ERRATUM_A005812
734 select SYS_FSL_ERRATUM_A006261
735 select SYS_FSL_ERRATUM_DDR_A003
736 select SYS_FSL_ERRATUM_DDR_A003474
York Sunc01e4a12016-12-28 08:43:42 -0800737 select SYS_FSL_ERRATUM_ESDHC111
York Sun63659ff2016-12-28 08:43:43 -0800738 select SYS_FSL_ERRATUM_USB14
York Sund26e34c2016-12-28 08:43:40 -0800739 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800740 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800741 select SYS_FSL_QORIQ_CHASSIS1
Tom Rini4143a232022-07-31 21:08:28 -0400742 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v24
York Sun90b80382016-12-28 08:43:31 -0800743 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800744 select SYS_FSL_SEC_COMPAT_4
Tom Riniff4e87c2022-07-31 21:08:29 -0400745 select SYS_FSL_USB1_PHY_ENABLE
746 select SYS_FSL_USB2_PHY_ENABLE
York Sun48512782016-12-28 08:43:50 -0800747 select SYS_PPC64
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530748 select FSL_ELBC
Simon Glass3bf926c2017-06-14 21:28:24 -0600749 imply CMD_SATA
Christophe Leroyfa379222017-08-04 16:34:40 -0600750 imply CMD_REGINFO
Tuomas Tynkkynen9920d152017-12-08 15:36:17 +0200751 imply FSL_SATA
York Sun95390362016-11-18 11:39:36 -0800752
York Sun10343402016-11-18 12:29:51 -0800753config ARCH_QEMU_E500
754 bool
Tom Riniab92b382021-08-26 11:47:59 -0400755 select SYS_CACHE_SHIFT_5
York Sun10343402016-11-18 12:29:51 -0800756
York Sune5d5f5a2016-11-18 13:01:34 -0800757config ARCH_T1024
758 bool
Tom Rinib40d2b22022-03-18 08:38:32 -0400759 select BACKSIDE_L2_CACHE
York Sunf8dee362016-12-28 08:43:27 -0800760 select E500MC
Tom Rinif2428ac2022-03-24 17:18:01 -0400761 select E5500
Tom Rini6f6b9702022-07-23 13:05:08 -0400762 select FSL_CORENET
York Sun05cb79a2016-12-02 10:44:34 -0800763 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400764 select SYS_CACHE_SHIFT_6
York Sun22120f12016-12-28 08:43:46 -0800765 select SYS_FSL_DDR_VER_50
York Sun63659ff2016-12-28 08:43:43 -0800766 select SYS_FSL_ERRATUM_A008378
Jaiprakash Singh164a5af2020-06-02 12:44:02 +0530767 select SYS_FSL_ERRATUM_A008109
York Sun63659ff2016-12-28 08:43:43 -0800768 select SYS_FSL_ERRATUM_A009663
769 select SYS_FSL_ERRATUM_A009942
York Sunc01e4a12016-12-28 08:43:42 -0800770 select SYS_FSL_ERRATUM_ESDHC111
York Sund26e34c2016-12-28 08:43:40 -0800771 select SYS_FSL_HAS_DDR3
772 select SYS_FSL_HAS_DDR4
York Sun2c2e2c92016-12-28 08:43:30 -0800773 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800774 select SYS_FSL_QORIQ_CHASSIS2
Tom Rini4143a232022-07-31 21:08:28 -0400775 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v24
York Sun90b80382016-12-28 08:43:31 -0800776 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800777 select SYS_FSL_SEC_COMPAT_5
Tom Riniff4e87c2022-07-31 21:08:29 -0400778 select SYS_FSL_SINGLE_SOURCE_CLK
779 select SYS_FSL_QMAN_V3 if SYS_DPAA_QBMAN
780 select SYS_FSL_USB_DUAL_PHY_ENABLE
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530781 select FSL_IFC
Simon Glassa1dc9802017-05-17 03:25:10 -0600782 imply CMD_EEPROM
Tom Rini8f1a80e2017-07-28 21:31:42 -0400783 imply CMD_NAND
Tom Rinid56b4b12017-07-22 18:36:16 -0400784 imply CMD_MTDPARTS
Christophe Leroyfa379222017-08-04 16:34:40 -0600785 imply CMD_REGINFO
York Sune5d5f5a2016-11-18 13:01:34 -0800786
York Sun5d737012016-11-18 13:11:12 -0800787config ARCH_T1040
788 bool
Tom Rinib40d2b22022-03-18 08:38:32 -0400789 select BACKSIDE_L2_CACHE
York Sunf8dee362016-12-28 08:43:27 -0800790 select E500MC
Tom Rinif2428ac2022-03-24 17:18:01 -0400791 select E5500
Tom Rini6f6b9702022-07-23 13:05:08 -0400792 select FSL_CORENET
York Sun05cb79a2016-12-02 10:44:34 -0800793 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400794 select SYS_CACHE_SHIFT_6
York Sun22120f12016-12-28 08:43:46 -0800795 select SYS_FSL_DDR_VER_50
York Sun63659ff2016-12-28 08:43:43 -0800796 select SYS_FSL_ERRATUM_A008044
797 select SYS_FSL_ERRATUM_A008378
Joakim Tjernlund73af0942019-11-20 17:07:34 +0100798 select SYS_FSL_ERRATUM_A008109
York Sun63659ff2016-12-28 08:43:43 -0800799 select SYS_FSL_ERRATUM_A009663
800 select SYS_FSL_ERRATUM_A009942
York Sunc01e4a12016-12-28 08:43:42 -0800801 select SYS_FSL_ERRATUM_ESDHC111
York Sund26e34c2016-12-28 08:43:40 -0800802 select SYS_FSL_HAS_DDR3
803 select SYS_FSL_HAS_DDR4
York Sun2c2e2c92016-12-28 08:43:30 -0800804 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800805 select SYS_FSL_QORIQ_CHASSIS2
Tom Rini4143a232022-07-31 21:08:28 -0400806 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v24
York Sun90b80382016-12-28 08:43:31 -0800807 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800808 select SYS_FSL_SEC_COMPAT_5
Tom Riniff4e87c2022-07-31 21:08:29 -0400809 select SYS_FSL_SINGLE_SOURCE_CLK
810 select SYS_FSL_QMAN_V3 if SYS_DPAA_QBMAN
811 select SYS_FSL_USB_DUAL_PHY_ENABLE
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530812 select FSL_IFC
Tom Rinid56b4b12017-07-22 18:36:16 -0400813 imply CMD_MTDPARTS
Tom Rini8f1a80e2017-07-28 21:31:42 -0400814 imply CMD_NAND
Christophe Leroyfa379222017-08-04 16:34:40 -0600815 imply CMD_REGINFO
York Sun5d737012016-11-18 13:11:12 -0800816
York Sun5449c982016-11-18 13:36:39 -0800817config ARCH_T1042
818 bool
Tom Rinib40d2b22022-03-18 08:38:32 -0400819 select BACKSIDE_L2_CACHE
York Sunf8dee362016-12-28 08:43:27 -0800820 select E500MC
Tom Rinif2428ac2022-03-24 17:18:01 -0400821 select E5500
Tom Rini6f6b9702022-07-23 13:05:08 -0400822 select FSL_CORENET
York Sun05cb79a2016-12-02 10:44:34 -0800823 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400824 select SYS_CACHE_SHIFT_6
York Sun22120f12016-12-28 08:43:46 -0800825 select SYS_FSL_DDR_VER_50
York Sun63659ff2016-12-28 08:43:43 -0800826 select SYS_FSL_ERRATUM_A008044
827 select SYS_FSL_ERRATUM_A008378
Joakim Tjernlund73af0942019-11-20 17:07:34 +0100828 select SYS_FSL_ERRATUM_A008109
York Sun63659ff2016-12-28 08:43:43 -0800829 select SYS_FSL_ERRATUM_A009663
830 select SYS_FSL_ERRATUM_A009942
York Sunc01e4a12016-12-28 08:43:42 -0800831 select SYS_FSL_ERRATUM_ESDHC111
York Sund26e34c2016-12-28 08:43:40 -0800832 select SYS_FSL_HAS_DDR3
833 select SYS_FSL_HAS_DDR4
York Sun2c2e2c92016-12-28 08:43:30 -0800834 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800835 select SYS_FSL_QORIQ_CHASSIS2
Tom Rini4143a232022-07-31 21:08:28 -0400836 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v24
York Sun90b80382016-12-28 08:43:31 -0800837 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800838 select SYS_FSL_SEC_COMPAT_5
Tom Riniff4e87c2022-07-31 21:08:29 -0400839 select SYS_FSL_SINGLE_SOURCE_CLK
840 select SYS_FSL_QMAN_V3 if SYS_DPAA_QBMAN
841 select SYS_FSL_USB_DUAL_PHY_ENABLE
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530842 select FSL_IFC
Tom Rinid56b4b12017-07-22 18:36:16 -0400843 imply CMD_MTDPARTS
Tom Rini8f1a80e2017-07-28 21:31:42 -0400844 imply CMD_NAND
Christophe Leroyfa379222017-08-04 16:34:40 -0600845 imply CMD_REGINFO
York Sun5449c982016-11-18 13:36:39 -0800846
York Sun0f3d80e2016-11-21 12:54:19 -0800847config ARCH_T2080
848 bool
York Sunf8dee362016-12-28 08:43:27 -0800849 select E500MC
York Sun9ec10102016-12-28 08:43:48 -0800850 select E6500
Tom Rini6f6b9702022-07-23 13:05:08 -0400851 select FSL_CORENET
York Sun05cb79a2016-12-02 10:44:34 -0800852 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400853 select SYS_CACHE_SHIFT_6
York Sun22120f12016-12-28 08:43:46 -0800854 select SYS_FSL_DDR_VER_47
York Sun63659ff2016-12-28 08:43:43 -0800855 select SYS_FSL_ERRATUM_A006379
856 select SYS_FSL_ERRATUM_A006593
Tom Rini601483f2022-06-16 14:04:40 -0400857 select SYS_FSL_ERRATUM_A007186 if CHAIN_OF_TRUST
York Sun63659ff2016-12-28 08:43:43 -0800858 select SYS_FSL_ERRATUM_A007212
Tony O'Brien09bfd962016-12-02 09:22:34 +1300859 select SYS_FSL_ERRATUM_A007815
Darwin Dingel06ad9702016-10-25 09:48:01 +1300860 select SYS_FSL_ERRATUM_A007907
Jaiprakash Singh164a5af2020-06-02 12:44:02 +0530861 select SYS_FSL_ERRATUM_A008109
York Sun63659ff2016-12-28 08:43:43 -0800862 select SYS_FSL_ERRATUM_A009942
York Sunc01e4a12016-12-28 08:43:42 -0800863 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800864 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800865 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800866 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800867 select SYS_FSL_QORIQ_CHASSIS2
Tom Rini4143a232022-07-31 21:08:28 -0400868 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v30
York Sun90b80382016-12-28 08:43:31 -0800869 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800870 select SYS_FSL_SEC_COMPAT_4
Tom Riniff4e87c2022-07-31 21:08:29 -0400871 select SYS_FSL_SRIO_LIODN
872 select SYS_FSL_QMAN_V3 if SYS_DPAA_QBMAN
873 select SYS_FSL_USB_DUAL_PHY_ENABLE
York Sun48512782016-12-28 08:43:50 -0800874 select SYS_PPC64
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530875 select FSL_IFC
Peng Maa2d4cb22019-12-23 09:28:12 +0000876 imply CMD_SATA
Tom Rini8f1a80e2017-07-28 21:31:42 -0400877 imply CMD_NAND
Christophe Leroyfa379222017-08-04 16:34:40 -0600878 imply CMD_REGINFO
Peng Maa2d4cb22019-12-23 09:28:12 +0000879 imply FSL_SATA
Tom Rinid7d40f62021-08-17 17:59:41 -0400880 imply ID_EEPROM
York Sun0f3d80e2016-11-21 12:54:19 -0800881
York Sun26bc57d2016-11-21 13:35:41 -0800882config ARCH_T4240
883 bool
York Sunf8dee362016-12-28 08:43:27 -0800884 select E500MC
York Sun9ec10102016-12-28 08:43:48 -0800885 select E6500
Tom Rini6f6b9702022-07-23 13:05:08 -0400886 select FSL_CORENET
York Sun05cb79a2016-12-02 10:44:34 -0800887 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400888 select SYS_CACHE_SHIFT_6
York Sun22120f12016-12-28 08:43:46 -0800889 select SYS_FSL_DDR_VER_47
York Sun63659ff2016-12-28 08:43:43 -0800890 select SYS_FSL_ERRATUM_A004468
891 select SYS_FSL_ERRATUM_A005871
892 select SYS_FSL_ERRATUM_A006261
893 select SYS_FSL_ERRATUM_A006379
894 select SYS_FSL_ERRATUM_A006593
Tom Rini601483f2022-06-16 14:04:40 -0400895 select SYS_FSL_ERRATUM_A007186 if CHAIN_OF_TRUST
York Sun63659ff2016-12-28 08:43:43 -0800896 select SYS_FSL_ERRATUM_A007798
Tony O'Brien09bfd962016-12-02 09:22:34 +1300897 select SYS_FSL_ERRATUM_A007815
Darwin Dingel06ad9702016-10-25 09:48:01 +1300898 select SYS_FSL_ERRATUM_A007907
Jaiprakash Singh164a5af2020-06-02 12:44:02 +0530899 select SYS_FSL_ERRATUM_A008109
York Sun63659ff2016-12-28 08:43:43 -0800900 select SYS_FSL_ERRATUM_A009942
York Sund26e34c2016-12-28 08:43:40 -0800901 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800902 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800903 select SYS_FSL_QORIQ_CHASSIS2
Tom Rini4143a232022-07-31 21:08:28 -0400904 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v30
York Sun90b80382016-12-28 08:43:31 -0800905 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800906 select SYS_FSL_SEC_COMPAT_4
Tom Riniff4e87c2022-07-31 21:08:29 -0400907 select SYS_FSL_SRIO_LIODN
908 select SYS_FSL_QMAN_V3 if SYS_DPAA_QBMAN
909 select SYS_FSL_USB_DUAL_PHY_ENABLE
York Sun48512782016-12-28 08:43:50 -0800910 select SYS_PPC64
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530911 select FSL_IFC
Simon Glass3bf926c2017-06-14 21:28:24 -0600912 imply CMD_SATA
Tom Rini8f1a80e2017-07-28 21:31:42 -0400913 imply CMD_NAND
Christophe Leroyfa379222017-08-04 16:34:40 -0600914 imply CMD_REGINFO
Tuomas Tynkkynen9920d152017-12-08 15:36:17 +0200915 imply FSL_SATA
York Sun05cb79a2016-12-02 10:44:34 -0800916
Jagdish Gediya96699f02018-09-03 21:35:10 +0530917config MPC85XX_HAVE_RESET_VECTOR
918 bool "Indicate reset vector at CONFIG_RESET_VECTOR_ADDRESS - 0xffc"
919 depends on MPC85xx
920
Tom Rinia3041d92022-02-23 12:28:15 -0500921config BTB
922 bool "toggle branch predition"
923
York Sunf8dee362016-12-28 08:43:27 -0800924config BOOKE
925 bool
926 default y
927
928config E500
929 bool
930 default y
931 help
932 Enable PowerPC E500 cores, including e500v1, e500v2, e500mc
933
934config E500MC
935 bool
Tom Rinia3041d92022-02-23 12:28:15 -0500936 select BTB
Simon Glass6500ec72017-08-04 16:34:34 -0600937 imply CMD_PCI
York Sunf8dee362016-12-28 08:43:27 -0800938 help
939 Enble PowerPC E500MC core
940
Tom Rinif2428ac2022-03-24 17:18:01 -0400941config E5500
942 bool
943
York Sun9ec10102016-12-28 08:43:48 -0800944config E6500
945 bool
Tom Rinia3041d92022-02-23 12:28:15 -0500946 select BTB
York Sun9ec10102016-12-28 08:43:48 -0800947 help
948 Enable PowerPC E6500 core
949
York Sun05cb79a2016-12-02 10:44:34 -0800950config FSL_LAW
951 bool
952 help
953 Use Freescale common code for Local Access Window
York Sun26bc57d2016-11-21 13:35:41 -0800954
Tom Rini1e7750f2022-06-16 14:04:34 -0400955config HETROGENOUS_CLUSTERS
956 bool
957
York Sun3f82b562016-11-23 12:30:40 -0800958config MAX_CPUS
959 int "Maximum number of CPUs permitted for MPC85xx"
960 default 12 if ARCH_T4240
Tom Riniec6b37c2021-05-23 10:58:05 -0400961 default 8 if ARCH_P4080
York Sun3f82b562016-11-23 12:30:40 -0800962 default 4 if ARCH_B4860 || \
963 ARCH_P2041 || \
964 ARCH_P3041 || \
965 ARCH_P5040 || \
966 ARCH_T1040 || \
967 ARCH_T1042 || \
Tom Rini2322b952021-02-20 20:06:21 -0500968 ARCH_T2080
York Sun3f82b562016-11-23 12:30:40 -0800969 default 2 if ARCH_B4420 || \
970 ARCH_BSC9132 || \
York Sun3f82b562016-11-23 12:30:40 -0800971 ARCH_P1020 || \
972 ARCH_P1021 || \
York Sun3f82b562016-11-23 12:30:40 -0800973 ARCH_P1023 || \
974 ARCH_P1024 || \
975 ARCH_P1025 || \
976 ARCH_P2020 || \
York Sun3f82b562016-11-23 12:30:40 -0800977 ARCH_T1024
978 default 1
979 help
980 Set this number to the maximum number of possible CPUs in the SoC.
981 SoCs may have multiple clusters with each cluster may have multiple
982 ports. If some ports are reserved but higher ports are used for
983 cores, count the reserved ports. This will allocate enough memory
984 in spin table to properly handle all cores.
985
York Sun830fc1b2016-12-01 13:26:06 -0800986config SYS_CCSRBAR_DEFAULT
987 hex "Default CCSRBAR address"
988 default 0xff700000 if ARCH_BSC9131 || \
989 ARCH_BSC9132 || \
990 ARCH_C29X || \
991 ARCH_MPC8536 || \
992 ARCH_MPC8540 || \
York Sun830fc1b2016-12-01 13:26:06 -0800993 ARCH_MPC8544 || \
994 ARCH_MPC8548 || \
York Sun830fc1b2016-12-01 13:26:06 -0800995 ARCH_MPC8560 || \
York Sun830fc1b2016-12-01 13:26:06 -0800996 ARCH_P1010 || \
997 ARCH_P1011 || \
998 ARCH_P1020 || \
999 ARCH_P1021 || \
York Sun830fc1b2016-12-01 13:26:06 -08001000 ARCH_P1024 || \
1001 ARCH_P1025 || \
1002 ARCH_P2020
1003 default 0xff600000 if ARCH_P1023
1004 default 0xfe000000 if ARCH_B4420 || \
1005 ARCH_B4860 || \
1006 ARCH_P2041 || \
1007 ARCH_P3041 || \
1008 ARCH_P4080 || \
York Sun830fc1b2016-12-01 13:26:06 -08001009 ARCH_P5040 || \
York Sun830fc1b2016-12-01 13:26:06 -08001010 ARCH_T1024 || \
1011 ARCH_T1040 || \
1012 ARCH_T1042 || \
1013 ARCH_T2080 || \
York Sun830fc1b2016-12-01 13:26:06 -08001014 ARCH_T4240
1015 default 0xe0000000 if ARCH_QEMU_E500
1016 help
1017 Default value of CCSRBAR comes from power-on-reset. It
1018 is fixed on each SoC. Some SoCs can have different value
1019 if changed by pre-boot regime. The value here must match
1020 the current value in SoC. If not sure, do not change.
1021
Tom Rinifdd0da42022-03-11 09:11:59 -05001022config A003399_NOR_WORKAROUND
1023 bool
1024 help
1025 Enables a workaround for IFC erratum A003399. It is only required
1026 during NOR boot.
1027
Tom Rini5f7c8862022-03-11 09:12:00 -05001028config A008044_WORKAROUND
1029 bool
1030 help
1031 Enables a workaround for T1040/T1042 erratum A008044. It is only
1032 required during NAND boot and valid for Rev 1.0 SoC revision
1033
York Sun63659ff2016-12-28 08:43:43 -08001034config SYS_FSL_ERRATUM_A004468
1035 bool
1036
1037config SYS_FSL_ERRATUM_A004477
1038 bool
1039
1040config SYS_FSL_ERRATUM_A004508
1041 bool
1042
1043config SYS_FSL_ERRATUM_A004580
1044 bool
1045
1046config SYS_FSL_ERRATUM_A004699
1047 bool
1048
1049config SYS_FSL_ERRATUM_A004849
1050 bool
1051
1052config SYS_FSL_ERRATUM_A004510
1053 bool
1054
1055config SYS_FSL_ERRATUM_A004510_SVR_REV
1056 hex
1057 depends on SYS_FSL_ERRATUM_A004510
1058 default 0x20 if ARCH_P4080
1059 default 0x10
1060
1061config SYS_FSL_ERRATUM_A004510_SVR_REV2
1062 hex
1063 depends on (SYS_FSL_ERRATUM_A004510 && (ARCH_P2041 || ARCH_P3041))
1064 default 0x11
1065
1066config SYS_FSL_ERRATUM_A005125
1067 bool
1068
1069config SYS_FSL_ERRATUM_A005434
1070 bool
1071
1072config SYS_FSL_ERRATUM_A005812
1073 bool
1074
1075config SYS_FSL_ERRATUM_A005871
1076 bool
1077
Chris Packham4eaf7f52018-10-04 20:03:53 +13001078config SYS_FSL_ERRATUM_A005275
1079 bool
1080
York Sun63659ff2016-12-28 08:43:43 -08001081config SYS_FSL_ERRATUM_A006261
1082 bool
1083
1084config SYS_FSL_ERRATUM_A006379
1085 bool
1086
1087config SYS_FSL_ERRATUM_A006384
1088 bool
1089
1090config SYS_FSL_ERRATUM_A006475
1091 bool
1092
1093config SYS_FSL_ERRATUM_A006593
1094 bool
1095
1096config SYS_FSL_ERRATUM_A007075
1097 bool
1098
1099config SYS_FSL_ERRATUM_A007186
1100 bool
1101
1102config SYS_FSL_ERRATUM_A007212
1103 bool
1104
Tony O'Brien09bfd962016-12-02 09:22:34 +13001105config SYS_FSL_ERRATUM_A007815
1106 bool
1107
York Sun63659ff2016-12-28 08:43:43 -08001108config SYS_FSL_ERRATUM_A007798
1109 bool
1110
Darwin Dingel06ad9702016-10-25 09:48:01 +13001111config SYS_FSL_ERRATUM_A007907
1112 bool
1113
York Sun63659ff2016-12-28 08:43:43 -08001114config SYS_FSL_ERRATUM_A008044
1115 bool
Tom Rini5f7c8862022-03-11 09:12:00 -05001116 select A008044_WORKAROUND if MTD_RAW_NAND
York Sun63659ff2016-12-28 08:43:43 -08001117
1118config SYS_FSL_ERRATUM_CPC_A002
1119 bool
1120
1121config SYS_FSL_ERRATUM_CPC_A003
1122 bool
1123
1124config SYS_FSL_ERRATUM_CPU_A003999
1125 bool
1126
1127config SYS_FSL_ERRATUM_ELBC_A001
1128 bool
1129
1130config SYS_FSL_ERRATUM_I2C_A004447
1131 bool
1132
1133config SYS_FSL_A004447_SVR_REV
1134 hex
1135 depends on SYS_FSL_ERRATUM_I2C_A004447
1136 default 0x00 if ARCH_MPC8548
1137 default 0x10 if ARCH_P1010
1138 default 0x11 if ARCH_P1023 || ARCH_P2041 || ARCH_BSC9132
Tom Rinia99dab12021-02-20 20:06:30 -05001139 default 0x20 if ARCH_P3041 || ARCH_P4080
York Sun63659ff2016-12-28 08:43:43 -08001140
1141config SYS_FSL_ERRATUM_IFC_A002769
1142 bool
1143
1144config SYS_FSL_ERRATUM_IFC_A003399
1145 bool
1146
1147config SYS_FSL_ERRATUM_NMG_CPU_A011
1148 bool
1149
1150config SYS_FSL_ERRATUM_NMG_ETSEC129
1151 bool
1152
1153config SYS_FSL_ERRATUM_NMG_LBC103
1154 bool
1155
1156config SYS_FSL_ERRATUM_P1010_A003549
1157 bool
1158
1159config SYS_FSL_ERRATUM_SATA_A001
1160 bool
1161
1162config SYS_FSL_ERRATUM_SEC_A003571
1163 bool
1164
1165config SYS_FSL_ERRATUM_SRIO_A004034
1166 bool
1167
1168config SYS_FSL_ERRATUM_USB14
1169 bool
1170
Tom Rinif76750d2021-12-11 14:55:51 -05001171config SYS_HAS_SERDES
1172 bool
1173
York Sun63659ff2016-12-28 08:43:43 -08001174config SYS_P4080_ERRATUM_CPU22
1175 bool
1176
1177config SYS_P4080_ERRATUM_PCIE_A003
1178 bool
1179
1180config SYS_P4080_ERRATUM_SERDES8
1181 bool
1182
1183config SYS_P4080_ERRATUM_SERDES9
1184 bool
1185
1186config SYS_P4080_ERRATUM_SERDES_A001
1187 bool
1188
1189config SYS_P4080_ERRATUM_SERDES_A005
1190 bool
1191
Hou Zhiqiangc16dfd02019-05-22 22:46:03 +08001192config FSL_PCIE_DISABLE_ASPM
1193 bool
1194
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +08001195config FSL_PCIE_RESET
1196 bool
1197
Tom Riniff4e87c2022-07-31 21:08:29 -04001198config SYS_FSL_RAID_ENGINE
1199 bool
1200
1201config SYS_FSL_RMU
1202 bool
1203
York Sun73717742016-12-28 08:43:49 -08001204config SYS_FSL_QORIQ_CHASSIS1
1205 bool
1206
1207config SYS_FSL_QORIQ_CHASSIS2
1208 bool
1209
York Sun8303acb2016-12-01 14:05:02 -08001210config SYS_FSL_NUM_LAWS
1211 int "Number of local access windows"
1212 depends on FSL_LAW
1213 default 32 if ARCH_B4420 || \
1214 ARCH_B4860 || \
1215 ARCH_P2041 || \
1216 ARCH_P3041 || \
1217 ARCH_P4080 || \
York Sun8303acb2016-12-01 14:05:02 -08001218 ARCH_P5040 || \
1219 ARCH_T2080 || \
York Sun8303acb2016-12-01 14:05:02 -08001220 ARCH_T4240
Tom Rini6c3d9932021-05-14 21:34:22 -04001221 default 16 if ARCH_T1024 || \
York Sun8303acb2016-12-01 14:05:02 -08001222 ARCH_T1040 || \
1223 ARCH_T1042
1224 default 12 if ARCH_BSC9131 || \
1225 ARCH_BSC9132 || \
1226 ARCH_C29X || \
1227 ARCH_MPC8536 || \
York Sun8303acb2016-12-01 14:05:02 -08001228 ARCH_P1010 || \
1229 ARCH_P1011 || \
1230 ARCH_P1020 || \
1231 ARCH_P1021 || \
York Sun8303acb2016-12-01 14:05:02 -08001232 ARCH_P1023 || \
1233 ARCH_P1024 || \
1234 ARCH_P1025 || \
1235 ARCH_P2020
1236 default 10 if ARCH_MPC8544 || \
Tom Rini80696892021-05-14 21:34:23 -04001237 ARCH_MPC8548
York Sun8303acb2016-12-01 14:05:02 -08001238 default 8 if ARCH_MPC8540 || \
York Sun8303acb2016-12-01 14:05:02 -08001239 ARCH_MPC8560
1240 help
1241 Number of local access windows. This is fixed per SoC.
1242 If not sure, do not change.
1243
Tom Rini7da6a9e2022-07-23 13:05:11 -04001244config SYS_FSL_CORES_PER_CLUSTER
1245 int
1246 depends on SYS_FSL_QORIQ_CHASSIS2
1247 default 4 if ARCH_B4860 || ARCH_T2080 || ARCH_T4240
1248 default 2 if ARCH_B4420
1249 default 1 if ARCH_T1024 || ARCH_T1040 || ARCH_T1042
1250
York Sun9ec10102016-12-28 08:43:48 -08001251config SYS_FSL_THREADS_PER_CORE
1252 int
Tom Rini7da6a9e2022-07-23 13:05:11 -04001253 depends on SYS_FSL_QORIQ_CHASSIS2
York Sun9ec10102016-12-28 08:43:48 -08001254 default 2 if E6500
1255 default 1
1256
York Sun26e79b62016-12-28 08:43:28 -08001257config SYS_NUM_TLBCAMS
1258 int "Number of TLB CAM entries"
1259 default 64 if E500MC
1260 default 16
1261 help
1262 Number of TLB CAM entries for Book-E chips. 64 for E500MC,
1263 16 for other E500 SoCs.
1264
Tom Rini1e7750f2022-06-16 14:04:34 -04001265if HETROGENOUS_CLUSTERS
1266
1267config SYS_MAPLE
1268 def_bool y
1269
1270config SYS_CPRI
1271 def_bool y
1272
1273config PPC_CLUSTER_START
1274 int
1275 default 0
1276
1277config DSP_CLUSTER_START
1278 int
1279 default 1
1280
1281config SYS_CPRI_CLK
1282 int
1283 default 3
1284
1285config SYS_ULB_CLK
1286 int
1287 default 4
1288
1289config SYS_ETVPE_CLK
1290 int
1291 default 1
1292endif
1293
Tom Rini22a22832022-10-28 20:27:00 -04001294config SYS_L2_SIZE_256KB
1295 bool
1296
1297config SYS_L2_SIZE_512KB
1298 bool
1299
1300config SYS_L2_SIZE
1301 int
1302 default 262144 if SYS_L2_SIZE_256KB
1303 default 524288 if SYS_L2_SIZE_512KB
1304
Tom Rinib40d2b22022-03-18 08:38:32 -04001305config BACKSIDE_L2_CACHE
1306 bool
1307
Tom Rinib85d7592022-10-28 20:27:01 -04001308config SYS_L3_SIZE_256KB
1309 bool
1310
1311config SYS_L3_SIZE_512KB
1312 bool
1313
1314config SYS_L3_SIZE_1024KB
1315 bool
1316
1317config SYS_L3_SIZE
1318 int
1319 default 262144 if SYS_L3_SIZE_256KB
1320 default 524288 if SYS_L3_SIZE_512KB
1321 default 1048576 if SYS_L3_SIZE_512KB
1322
York Sun48512782016-12-28 08:43:50 -08001323config SYS_PPC64
1324 bool
1325
York Sun53c95382016-12-28 08:43:29 -08001326config SYS_PPC_E500_USE_DEBUG_TLB
1327 bool
1328
Prabhakar Kushwaha06878972017-02-02 15:01:48 +05301329config FSL_ELBC
1330 bool
1331
York Sun53c95382016-12-28 08:43:29 -08001332config SYS_PPC_E500_DEBUG_TLB
1333 int "Temporary TLB entry for external debugger"
1334 depends on SYS_PPC_E500_USE_DEBUG_TLB
1335 default 0 if ARCH_MPC8544 || ARCH_MPC8548
1336 default 1 if ARCH_MPC8536
Tom Rinied7fe2b2021-05-14 21:34:25 -04001337 default 2 if ARCH_P1011 || \
York Sun53c95382016-12-28 08:43:29 -08001338 ARCH_P1020 || \
1339 ARCH_P1021 || \
York Sun53c95382016-12-28 08:43:29 -08001340 ARCH_P1024 || \
1341 ARCH_P1025 || \
1342 ARCH_P2020
1343 default 3 if ARCH_P1010 || \
1344 ARCH_BSC9132 || \
1345 ARCH_C29X
1346 help
1347 Select a temporary TLB entry to be used during boot to work
1348 around limitations in e500v1 and e500v2 external debugger
1349 support. This reduces the portions of the boot code where
1350 breakpoints and single stepping do not work. The value of this
1351 symbol should be set to the TLB1 entry to be used for this
1352 purpose. If unsure, do not change.
1353
Prabhakar Kushwaha1c407072017-02-02 15:01:26 +05301354config SYS_FSL_IFC_CLK_DIV
1355 int "Divider of platform clock"
1356 depends on FSL_IFC
1357 default 2 if ARCH_B4420 || \
1358 ARCH_B4860 || \
1359 ARCH_T1024 || \
Prabhakar Kushwaha1c407072017-02-02 15:01:26 +05301360 ARCH_T1040 || \
1361 ARCH_T1042 || \
Prabhakar Kushwaha1c407072017-02-02 15:01:26 +05301362 ARCH_T4240
1363 default 1
1364 help
1365 Defines divider of platform clock(clock input to
1366 IFC controller).
1367
Prabhakar Kushwahaadd63f92017-02-02 15:02:00 +05301368config SYS_FSL_LBC_CLK_DIV
1369 int "Divider of platform clock"
1370 depends on FSL_ELBC || ARCH_MPC8540 || \
Tom Rinia8571332021-05-14 21:34:20 -04001371 ARCH_MPC8548 || \
Tom Rini80696892021-05-14 21:34:23 -04001372 ARCH_MPC8560
Prabhakar Kushwahaadd63f92017-02-02 15:02:00 +05301373
1374 default 2 if ARCH_P2041 || \
1375 ARCH_P3041 || \
1376 ARCH_P4080 || \
Prabhakar Kushwahaadd63f92017-02-02 15:02:00 +05301377 ARCH_P5040
1378 default 1
1379
1380 help
1381 Defines divider of platform clock(clock input to
1382 eLBC controller).
1383
Tom Rinifbc36212022-06-15 12:03:45 -04001384config ENABLE_36BIT_PHYS
1385 bool "Enable 36bit physical address space support"
1386
Tom Rini3dab4052022-06-25 11:02:43 -04001387config SYS_BOOK3E_HV
1388 bool "Category E.HV is supported"
1389 depends on BOOKE
1390
Tom Rini6f6b9702022-07-23 13:05:08 -04001391config FSL_CORENET
1392 bool
1393 select SYS_FSL_CPC
1394
Tom Riniff4e87c2022-07-31 21:08:29 -04001395config FSL_NGPIXIS
1396 bool
1397
Tom Rinif6c1f912022-06-25 11:02:45 -04001398config SYS_CPC_REINIT_F
1399 bool
1400 help
1401 The CPC is configured as SRAM at the time of U-Boot entry and is
1402 required to be re-initialized.
1403
1404config SYS_FSL_CPC
Tom Rini6f6b9702022-07-23 13:05:08 -04001405 bool
Tom Rinif6c1f912022-06-25 11:02:45 -04001406
Tom Rini38d091a2022-06-27 13:35:46 -04001407config SYS_CACHE_STASHING
1408 bool "Enable cache stashing"
1409
Tom Rini4143a232022-07-31 21:08:28 -04001410config SYS_FSL_PCIE_COMPAT_P4080_PCIE
1411 bool
1412
1413config SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v22
1414 bool
1415
1416config SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v24
1417 bool
1418
1419config SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v30
1420 bool
1421
1422config SYS_FSL_PCIE_COMPAT
1423 string
1424 depends on FSL_CORENET
1425 default "fsl,p4080-pcie" if SYS_FSL_PCIE_COMPAT_P4080_PCIE
1426 default "fsl,qoriq-pcie-v2.2" if SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v22
1427 default "fsl,qoriq-pcie-v2.4" if SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v24
1428 default "fsl,qoriq-pcie-v3.0" if SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v30
1429 help
1430 Defines the string to utilize when trying to match PCIe device tree
1431 nodes for the given platform.
1432
Tom Riniff4e87c2022-07-31 21:08:29 -04001433config SYS_FSL_SINGLE_SOURCE_CLK
1434 bool
1435
1436config SYS_FSL_SRIO_LIODN
1437 bool
1438
1439config SYS_FSL_TBCLK_DIV
1440 int
1441 default 32 if ARCH_P2041 || ARCH_P3041
1442 default 16 if ARCH_P4080 || ARCH_P5040 || ARCH_T4240 || ARCH_B4860 || \
1443 ARCH_B4420 || ARCH_T1040 || ARCH_T1042 || \
1444 ARCH_T1024 || ARCH_T2080
1445 default 8
1446 help
1447 Defines the core time base clock divider ratio compared to the system
1448 clock. On most PQ3 devices this is 8, on newer QorIQ devices it can
1449 be 16 or 32. The ratio varies from SoC to Soc.
1450
1451config SYS_FSL_USB1_PHY_ENABLE
1452 bool
1453
1454config SYS_FSL_USB2_PHY_ENABLE
1455 bool
1456
1457config SYS_FSL_USB_DUAL_PHY_ENABLE
1458 bool
1459
Tom Rinide47ff52022-06-10 22:59:37 -04001460config SYS_MPC85XX_NO_RESETVEC
1461 bool "Discard resetvec section and move bootpg section up"
1462 depends on MPC85xx
1463 help
1464 If this variable is specified, the section .resetvec is not kept and
1465 the section .bootpg is placed in the previous 4k of the .text section.
1466
1467config SPL_SYS_MPC85XX_NO_RESETVEC
1468 bool "Discard resetvec section and move bootpg section up, in SPL"
1469 depends on MPC85xx && SPL
1470 help
1471 If this variable is specified, the section .resetvec is not kept and
1472 the section .bootpg is placed in the previous 4k of the .text section,
1473 of the SPL portion of the binary.
1474
1475config TPL_SYS_MPC85XX_NO_RESETVEC
1476 bool "Discard resetvec section and move bootpg section up, in TPL"
1477 depends on MPC85xx && TPL
1478 help
1479 If this variable is specified, the section .resetvec is not kept and
1480 the section .bootpg is placed in the previous 4k of the .text section,
1481 of the SPL portion of the binary.
1482
Rajesh Bhagatc8c01702021-02-15 09:46:14 +01001483config FSL_VIA
1484 bool
1485
Bin Meng1d636a02021-02-25 17:22:58 +08001486source "board/emulation/qemu-ppce500/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001487source "board/freescale/mpc8548cds/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001488source "board/freescale/p1010rdb/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001489source "board/freescale/p1_p2_rdb_pc/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001490source "board/freescale/p2041rdb/Kconfig"
Shengzhou Liu48c6f322014-11-24 17:11:56 +08001491source "board/freescale/t102xrdb/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001492source "board/freescale/t104xrdb/Kconfig"
1493source "board/freescale/t208xqds/Kconfig"
1494source "board/freescale/t208xrdb/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001495source "board/freescale/t4rdb/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001496source "board/socrates/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001497
1498endmenu