blob: 03373bf86926a09fe4e603db77c6a3029a71938e [file] [log] [blame]
Masahiro Yamadadd840582014-07-30 14:08:14 +09001menu "mpc85xx CPU"
2 depends on MPC85xx
3
Tom Riniabbb4042022-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 Yamadadd840582014-07-30 14:08:14 +090017config SYS_CPU
Masahiro Yamadadd840582014-07-30 14:08:14 +090018 default "mpc85xx"
19
Simon Glass230ecd72017-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ár786d9f12022-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ún1e1d12a2022-09-15 16:08:27 +020031 depends on SDCARD
Pali Rohár786d9f12022-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 Yamadadd840582014-07-30 14:08:14 +090081choice
82 prompt "Target select"
Joe Hershbergera26cd042015-05-12 14:46:23 -050083 optional
Masahiro Yamadadd840582014-07-30 14:08:14 +090084
Masahiro Yamadadd840582014-07-30 14:08:14 +090085config TARGET_SOCRATES
86 bool "Support socrates"
York Sun25cb74b2016-11-15 13:57:15 -080087 select ARCH_MPC8544
Masahiro Yamadadd840582014-07-30 14:08:14 +090088
Masahiro Yamadadd840582014-07-30 14:08:14 +090089config TARGET_P3041DS
90 bool "Support P3041DS"
Masahiro Yamadabb6b1422016-07-25 19:56:03 +090091 select PHYS_64BIT
York Sun5e5fdd22016-11-18 11:20:40 -080092 select ARCH_P3041
Tom Rinie5ec4812017-01-22 19:43:11 -050093 select BOARD_LATE_INIT if CHAIN_OF_TRUST
Tom Riniff4e87c2022-07-31 21:08:29 -040094 select FSL_NGPIXIS
Simon Glass3bf926c2017-06-14 21:28:24 -060095 imply CMD_SATA
Masahiro Yamada7e3caa82017-12-04 12:37:00 +090096 imply PANIC_HANG
Masahiro Yamadadd840582014-07-30 14:08:14 +090097
98config TARGET_P4080DS
99 bool "Support P4080DS"
Masahiro Yamadabb6b1422016-07-25 19:56:03 +0900100 select PHYS_64BIT
York Sune71372c2016-11-18 11:24:40 -0800101 select ARCH_P4080
Tom Rinie5ec4812017-01-22 19:43:11 -0500102 select BOARD_LATE_INIT if CHAIN_OF_TRUST
Tom Riniff4e87c2022-07-31 21:08:29 -0400103 select FSL_NGPIXIS
Simon Glass3bf926c2017-06-14 21:28:24 -0600104 imply CMD_SATA
Masahiro Yamada7e3caa82017-12-04 12:37:00 +0900105 imply PANIC_HANG
Masahiro Yamadadd840582014-07-30 14:08:14 +0900106
Masahiro Yamadadd840582014-07-30 14:08:14 +0900107config TARGET_P5040DS
108 bool "Support P5040DS"
Masahiro Yamadabb6b1422016-07-25 19:56:03 +0900109 select PHYS_64BIT
York Sun95390362016-11-18 11:39:36 -0800110 select ARCH_P5040
Tom Rinie5ec4812017-01-22 19:43:11 -0500111 select BOARD_LATE_INIT if CHAIN_OF_TRUST
Tom Riniff4e87c2022-07-31 21:08:29 -0400112 select FSL_NGPIXIS
113 select SYS_FSL_RAID_ENGINE
Simon Glass3bf926c2017-06-14 21:28:24 -0600114 imply CMD_SATA
Masahiro Yamada7e3caa82017-12-04 12:37:00 +0900115 imply PANIC_HANG
Masahiro Yamadadd840582014-07-30 14:08:14 +0900116
Masahiro Yamadadd840582014-07-30 14:08:14 +0900117config TARGET_MPC8548CDS
118 bool "Support MPC8548CDS"
York Sun281ed4c2016-11-15 13:52:34 -0800119 select ARCH_MPC8548
Rajesh Bhagatc8c01702021-02-15 09:46:14 +0100120 select FSL_VIA
Tom Riniab92b382021-08-26 11:47:59 -0400121 select SYS_CACHE_SHIFT_5
Masahiro Yamadadd840582014-07-30 14:08:14 +0900122
York Sun76016862016-11-16 13:30:06 -0800123config TARGET_P1010RDB_PA
124 bool "Support P1010RDB_PA"
125 select ARCH_P1010
Tom Rinie5ec4812017-01-22 19:43:11 -0500126 select BOARD_LATE_INIT if CHAIN_OF_TRUST
York Sun76016862016-11-16 13:30:06 -0800127 select SUPPORT_SPL
128 select SUPPORT_TPL
Tom Rini22a22832022-10-28 20:27:00 -0400129 select SYS_L2_SIZE_256KB
Simon Glassa1dc9802017-05-17 03:25:10 -0600130 imply CMD_EEPROM
Simon Glass3bf926c2017-06-14 21:28:24 -0600131 imply CMD_SATA
Masahiro Yamada7e3caa82017-12-04 12:37:00 +0900132 imply PANIC_HANG
York Sun76016862016-11-16 13:30:06 -0800133
134config TARGET_P1010RDB_PB
135 bool "Support P1010RDB_PB"
York Sun7d5f9f82016-11-16 13:08:52 -0800136 select ARCH_P1010
Tom Rinie5ec4812017-01-22 19:43:11 -0500137 select BOARD_LATE_INIT if CHAIN_OF_TRUST
Masahiro Yamada02627352014-10-20 17:45:56 +0900138 select SUPPORT_SPL
Masahiro Yamadacf6bbe42014-10-20 17:45:57 +0900139 select SUPPORT_TPL
Tom Rini22a22832022-10-28 20:27:00 -0400140 select SYS_L2_SIZE_256KB
Simon Glassa1dc9802017-05-17 03:25:10 -0600141 imply CMD_EEPROM
Simon Glass3bf926c2017-06-14 21:28:24 -0600142 imply CMD_SATA
Masahiro Yamada7e3caa82017-12-04 12:37:00 +0900143 imply PANIC_HANG
Masahiro Yamadadd840582014-07-30 14:08:14 +0900144
York Sunaa146202016-11-17 13:52:44 -0800145config TARGET_P1020RDB_PC
146 bool "Support P1020RDB-PC"
147 select SUPPORT_SPL
148 select SUPPORT_TPL
York Sun484fff62016-11-18 10:02:14 -0800149 select ARCH_P1020
Tom Rini22a22832022-10-28 20:27:00 -0400150 select SYS_L2_SIZE_256KB
Simon Glassa1dc9802017-05-17 03:25:10 -0600151 imply CMD_EEPROM
Simon Glass3bf926c2017-06-14 21:28:24 -0600152 imply CMD_SATA
Masahiro Yamada7e3caa82017-12-04 12:37:00 +0900153 imply PANIC_HANG
York Sunaa146202016-11-17 13:52:44 -0800154
York Sunf404b662016-11-17 13:53:33 -0800155config TARGET_P1020RDB_PD
156 bool "Support P1020RDB-PD"
157 select SUPPORT_SPL
158 select SUPPORT_TPL
York Sun484fff62016-11-18 10:02:14 -0800159 select ARCH_P1020
Tom Rini22a22832022-10-28 20:27:00 -0400160 select SYS_L2_SIZE_256KB
Simon Glassa1dc9802017-05-17 03:25:10 -0600161 imply CMD_EEPROM
Simon Glass3bf926c2017-06-14 21:28:24 -0600162 imply CMD_SATA
Masahiro Yamada7e3caa82017-12-04 12:37:00 +0900163 imply PANIC_HANG
York Sunf404b662016-11-17 13:53:33 -0800164
York Sun8435aa72016-11-17 14:19:18 -0800165config TARGET_P2020RDB
166 bool "Support P2020RDB-PC"
167 select SUPPORT_SPL
168 select SUPPORT_TPL
York Sun45936372016-11-18 11:08:43 -0800169 select ARCH_P2020
Tom Rini22a22832022-10-28 20:27:00 -0400170 select SYS_L2_SIZE_512KB
Simon Glassa1dc9802017-05-17 03:25:10 -0600171 imply CMD_EEPROM
Simon Glass3bf926c2017-06-14 21:28:24 -0600172 imply CMD_SATA
Tuomas Tynkkynenc88ecf42017-12-08 15:36:14 +0200173 imply SATA_SIL
York Sun8435aa72016-11-17 14:19:18 -0800174
Masahiro Yamadadd840582014-07-30 14:08:14 +0900175config TARGET_P2041RDB
176 bool "Support P2041RDB"
York Sunce040c82016-11-18 11:15:21 -0800177 select ARCH_P2041
Tom Rinie5ec4812017-01-22 19:43:11 -0500178 select BOARD_LATE_INIT if CHAIN_OF_TRUST
Tom Rini6f6b9702022-07-23 13:05:08 -0400179 select FSL_CORENET
Masahiro Yamadabb6b1422016-07-25 19:56:03 +0900180 select PHYS_64BIT
Tom Rinib85d7592022-10-28 20:27:01 -0400181 select SYS_L3_SIZE_1024KB
Simon Glass3bf926c2017-06-14 21:28:24 -0600182 imply CMD_SATA
Tuomas Tynkkynen9920d152017-12-08 15:36:17 +0200183 imply FSL_SATA
Masahiro Yamadadd840582014-07-30 14:08:14 +0900184
185config TARGET_QEMU_PPCE500
186 bool "Support qemu-ppce500"
York Sun10343402016-11-18 12:29:51 -0800187 select ARCH_QEMU_E500
Masahiro Yamadabb6b1422016-07-25 19:56:03 +0900188 select PHYS_64BIT
Tom Rini5a446182022-06-25 11:02:44 -0400189 select SYS_RAMBOOT
Simon Glass239d22c2021-12-16 20:59:36 -0700190 imply OF_HAS_PRIOR_STAGE
Masahiro Yamadadd840582014-07-30 14:08:14 +0900191
York Sun08c75292016-11-18 12:45:44 -0800192config TARGET_T1024RDB
193 bool "Support T1024RDB"
York Sune5d5f5a2016-11-18 13:01:34 -0800194 select ARCH_T1024
Tom Rinie5ec4812017-01-22 19:43:11 -0500195 select BOARD_LATE_INIT if CHAIN_OF_TRUST
Shengzhou Liu48c6f322014-11-24 17:11:56 +0800196 select SUPPORT_SPL
Masahiro Yamadabb6b1422016-07-25 19:56:03 +0900197 select PHYS_64BIT
Rajesh Bhagat32413122019-02-01 05:22:01 +0000198 select FSL_DDR_INTERACTIVE
Tom Rinib85d7592022-10-28 20:27:01 -0400199 select SYS_L3_SIZE_256KB
Simon Glassa1dc9802017-05-17 03:25:10 -0600200 imply CMD_EEPROM
Masahiro Yamada7e3caa82017-12-04 12:37:00 +0900201 imply PANIC_HANG
Shengzhou Liu48c6f322014-11-24 17:11:56 +0800202
York Sun95a809b2016-11-18 13:19:39 -0800203config TARGET_T1042RDB
204 bool "Support T1042RDB"
York Sun5449c982016-11-18 13:36:39 -0800205 select ARCH_T1042
Tom Rinie5ec4812017-01-22 19:43:11 -0500206 select BOARD_LATE_INIT if CHAIN_OF_TRUST
Masahiro Yamada02627352014-10-20 17:45:56 +0900207 select SUPPORT_SPL
Masahiro Yamadabb6b1422016-07-25 19:56:03 +0900208 select PHYS_64BIT
Tom Rinib85d7592022-10-28 20:27:01 -0400209 select SYS_L3_SIZE_256KB
Masahiro Yamadadd840582014-07-30 14:08:14 +0900210
York Sun319ed242016-11-21 11:04:34 -0800211config TARGET_T1042D4RDB
212 bool "Support T1042D4RDB"
213 select ARCH_T1042
Tom Rinie5ec4812017-01-22 19:43:11 -0500214 select BOARD_LATE_INIT if CHAIN_OF_TRUST
York Sun319ed242016-11-21 11:04:34 -0800215 select SUPPORT_SPL
216 select PHYS_64BIT
Tom Rinib85d7592022-10-28 20:27:01 -0400217 select SYS_L3_SIZE_256KB
Masahiro Yamada7e3caa82017-12-04 12:37:00 +0900218 imply PANIC_HANG
York Sun319ed242016-11-21 11:04:34 -0800219
York Sun55ed8ae2016-11-18 13:44:00 -0800220config TARGET_T1042RDB_PI
221 bool "Support T1042RDB_PI"
222 select ARCH_T1042
Tom Rinie5ec4812017-01-22 19:43:11 -0500223 select BOARD_LATE_INIT if CHAIN_OF_TRUST
York Sun55ed8ae2016-11-18 13:44:00 -0800224 select SUPPORT_SPL
225 select PHYS_64BIT
Tom Rinib85d7592022-10-28 20:27:01 -0400226 select SYS_L3_SIZE_256KB
Masahiro Yamada7e3caa82017-12-04 12:37:00 +0900227 imply PANIC_HANG
York Sun55ed8ae2016-11-18 13:44:00 -0800228
York Sun638d5be2016-11-21 12:46:58 -0800229config TARGET_T2080QDS
230 bool "Support T2080QDS"
York Sun0f3d80e2016-11-21 12:54:19 -0800231 select ARCH_T2080
Tom Rinie5ec4812017-01-22 19:43:11 -0500232 select BOARD_LATE_INIT if CHAIN_OF_TRUST
Masahiro Yamada02627352014-10-20 17:45:56 +0900233 select SUPPORT_SPL
Masahiro Yamadabb6b1422016-07-25 19:56:03 +0900234 select PHYS_64BIT
Rajesh Bhagat32413122019-02-01 05:22:01 +0000235 select FSL_DDR_FIRST_SLOT_QUAD_CAPABLE
236 select FSL_DDR_INTERACTIVE
Tom Rinib85d7592022-10-28 20:27:01 -0400237 select SYS_L3_SIZE_512KB
Peng Maa2d4cb22019-12-23 09:28:12 +0000238 imply CMD_SATA
Masahiro Yamadadd840582014-07-30 14:08:14 +0900239
York Sun01671e62016-11-21 12:57:22 -0800240config TARGET_T2080RDB
241 bool "Support T2080RDB"
York Sun0f3d80e2016-11-21 12:54:19 -0800242 select ARCH_T2080
Tom Rinie5ec4812017-01-22 19:43:11 -0500243 select BOARD_LATE_INIT if CHAIN_OF_TRUST
Masahiro Yamada02627352014-10-20 17:45:56 +0900244 select SUPPORT_SPL
Masahiro Yamadabb6b1422016-07-25 19:56:03 +0900245 select PHYS_64BIT
Tom Rinib85d7592022-10-28 20:27:01 -0400246 select SYS_L3_SIZE_512KB
Simon Glass3bf926c2017-06-14 21:28:24 -0600247 imply CMD_SATA
Masahiro Yamada7e3caa82017-12-04 12:37:00 +0900248 imply PANIC_HANG
Masahiro Yamadadd840582014-07-30 14:08:14 +0900249
Masahiro Yamadadd840582014-07-30 14:08:14 +0900250config TARGET_T4240RDB
251 bool "Support T4240RDB"
York Sun26bc57d2016-11-21 13:35:41 -0800252 select ARCH_T4240
Chunhe Lan373762c2015-03-20 17:08:54 +0800253 select SUPPORT_SPL
Masahiro Yamadabb6b1422016-07-25 19:56:03 +0900254 select PHYS_64BIT
Rajesh Bhagat32413122019-02-01 05:22:01 +0000255 select FSL_DDR_FIRST_SLOT_QUAD_CAPABLE
Tom Rinib85d7592022-10-28 20:27:01 -0400256 select SYS_L3_SIZE_512KB
Simon Glass3bf926c2017-06-14 21:28:24 -0600257 imply CMD_SATA
Masahiro Yamada7e3caa82017-12-04 12:37:00 +0900258 imply PANIC_HANG
Masahiro Yamadadd840582014-07-30 14:08:14 +0900259
Masahiro Yamadadd840582014-07-30 14:08:14 +0900260config TARGET_KMP204X
261 bool "Support kmp204x"
Pascal Linderc0fed3a2019-06-18 13:27:47 +0200262 select VENDOR_KM
Masahiro Yamadadd840582014-07-30 14:08:14 +0900263
Niel Fourie37bfd9c2021-01-21 13:19:20 +0100264config TARGET_KMCENT2
265 bool "Support kmcent2"
266 select VENDOR_KM
Tom Rini6f6b9702022-07-23 13:05:08 -0400267 select FSL_CORENET
Tom Rini2db82bf2022-11-16 13:10:34 -0500268 select SYS_DPAA_FMAN
269 select SYS_DPAA_PME
Tom Rinib85d7592022-10-28 20:27:01 -0400270 select SYS_L3_SIZE_256KB
Niel Fourie37bfd9c2021-01-21 13:19:20 +0100271
Masahiro Yamadadd840582014-07-30 14:08:14 +0900272endchoice
273
York Sunb41f1922016-11-18 11:56:57 -0800274config ARCH_B4420
275 bool
York Sunf8dee362016-12-28 08:43:27 -0800276 select E500MC
York Sun9ec10102016-12-28 08:43:48 -0800277 select E6500
Tom Rini6f6b9702022-07-23 13:05:08 -0400278 select FSL_CORENET
York Sun05cb79a2016-12-02 10:44:34 -0800279 select FSL_LAW
Tom Rini1e7750f2022-06-16 14:04:34 -0400280 select HETROGENOUS_CLUSTERS
York Sun22120f12016-12-28 08:43:46 -0800281 select SYS_FSL_DDR_VER_47
York Sun63659ff2016-12-28 08:43:43 -0800282 select SYS_FSL_ERRATUM_A004477
283 select SYS_FSL_ERRATUM_A005871
284 select SYS_FSL_ERRATUM_A006379
285 select SYS_FSL_ERRATUM_A006384
286 select SYS_FSL_ERRATUM_A006475
287 select SYS_FSL_ERRATUM_A006593
288 select SYS_FSL_ERRATUM_A007075
Tom Rini601483f2022-06-16 14:04:40 -0400289 select SYS_FSL_ERRATUM_A007186 if CHAIN_OF_TRUST
York Sun63659ff2016-12-28 08:43:43 -0800290 select SYS_FSL_ERRATUM_A007212
291 select SYS_FSL_ERRATUM_A009942
York Sund26e34c2016-12-28 08:43:40 -0800292 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800293 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800294 select SYS_FSL_QORIQ_CHASSIS2
Tom Rini4143a232022-07-31 21:08:28 -0400295 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v24
York Sun90b80382016-12-28 08:43:31 -0800296 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800297 select SYS_FSL_SEC_COMPAT_4
Tom Riniff4e87c2022-07-31 21:08:29 -0400298 select SYS_FSL_QMAN_V3 if SYS_DPAA_QBMAN
299 select SYS_FSL_USB1_PHY_ENABLE
York Sun48512782016-12-28 08:43:50 -0800300 select SYS_PPC64
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530301 select FSL_IFC
Simon Glassa1dc9802017-05-17 03:25:10 -0600302 imply CMD_EEPROM
Tom Rini8f1a80e2017-07-28 21:31:42 -0400303 imply CMD_NAND
Christophe Leroyfa379222017-08-04 16:34:40 -0600304 imply CMD_REGINFO
York Sunb41f1922016-11-18 11:56:57 -0800305
York Sun3006ebc2016-11-18 11:44:43 -0800306config ARCH_B4860
307 bool
York Sunf8dee362016-12-28 08:43:27 -0800308 select E500MC
York Sun9ec10102016-12-28 08:43:48 -0800309 select E6500
Tom Rini6f6b9702022-07-23 13:05:08 -0400310 select FSL_CORENET
York Sun05cb79a2016-12-02 10:44:34 -0800311 select FSL_LAW
Tom Rini1e7750f2022-06-16 14:04:34 -0400312 select HETROGENOUS_CLUSTERS
York Sun22120f12016-12-28 08:43:46 -0800313 select SYS_FSL_DDR_VER_47
York Sun63659ff2016-12-28 08:43:43 -0800314 select SYS_FSL_ERRATUM_A004477
315 select SYS_FSL_ERRATUM_A005871
316 select SYS_FSL_ERRATUM_A006379
317 select SYS_FSL_ERRATUM_A006384
318 select SYS_FSL_ERRATUM_A006475
319 select SYS_FSL_ERRATUM_A006593
320 select SYS_FSL_ERRATUM_A007075
Tom Rini601483f2022-06-16 14:04:40 -0400321 select SYS_FSL_ERRATUM_A007186 if CHAIN_OF_TRUST
York Sun63659ff2016-12-28 08:43:43 -0800322 select SYS_FSL_ERRATUM_A007212
Darwin Dingel06ad9702016-10-25 09:48:01 +1300323 select SYS_FSL_ERRATUM_A007907
York Sun63659ff2016-12-28 08:43:43 -0800324 select SYS_FSL_ERRATUM_A009942
York Sund26e34c2016-12-28 08:43:40 -0800325 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800326 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800327 select SYS_FSL_QORIQ_CHASSIS2
Tom Rini4143a232022-07-31 21:08:28 -0400328 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v24
York Sun90b80382016-12-28 08:43:31 -0800329 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800330 select SYS_FSL_SEC_COMPAT_4
Tom Riniff4e87c2022-07-31 21:08:29 -0400331 select SYS_FSL_SRIO_LIODN
332 select SYS_FSL_QMAN_V3 if SYS_DPAA_QBMAN
333 select SYS_FSL_USB1_PHY_ENABLE
York Sun48512782016-12-28 08:43:50 -0800334 select SYS_PPC64
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530335 select FSL_IFC
Simon Glassa1dc9802017-05-17 03:25:10 -0600336 imply CMD_EEPROM
Tom Rini8f1a80e2017-07-28 21:31:42 -0400337 imply CMD_NAND
Christophe Leroyfa379222017-08-04 16:34:40 -0600338 imply CMD_REGINFO
York Sun3006ebc2016-11-18 11:44:43 -0800339
York Sun115d60c2016-11-15 14:09:50 -0800340config ARCH_BSC9131
341 bool
York Sun05cb79a2016-12-02 10:44:34 -0800342 select FSL_LAW
York Sun22120f12016-12-28 08:43:46 -0800343 select SYS_FSL_DDR_VER_44
York Sun63659ff2016-12-28 08:43:43 -0800344 select SYS_FSL_ERRATUM_A004477
345 select SYS_FSL_ERRATUM_A005125
York Sunc01e4a12016-12-28 08:43:42 -0800346 select SYS_FSL_ERRATUM_ESDHC111
York Sund26e34c2016-12-28 08:43:40 -0800347 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800348 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800349 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800350 select SYS_FSL_SEC_COMPAT_4
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530351 select FSL_IFC
Simon Glassa1dc9802017-05-17 03:25:10 -0600352 imply CMD_EEPROM
Tom Rini8f1a80e2017-07-28 21:31:42 -0400353 imply CMD_NAND
Christophe Leroyfa379222017-08-04 16:34:40 -0600354 imply CMD_REGINFO
York Sun115d60c2016-11-15 14:09:50 -0800355
356config ARCH_BSC9132
357 bool
York Sun05cb79a2016-12-02 10:44:34 -0800358 select FSL_LAW
York Sun22120f12016-12-28 08:43:46 -0800359 select SYS_FSL_DDR_VER_46
York Sun63659ff2016-12-28 08:43:43 -0800360 select SYS_FSL_ERRATUM_A004477
361 select SYS_FSL_ERRATUM_A005125
362 select SYS_FSL_ERRATUM_A005434
York Sunc01e4a12016-12-28 08:43:42 -0800363 select SYS_FSL_ERRATUM_ESDHC111
York Sun63659ff2016-12-28 08:43:43 -0800364 select SYS_FSL_ERRATUM_I2C_A004447
365 select SYS_FSL_ERRATUM_IFC_A002769
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800366 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800367 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800368 select SYS_FSL_HAS_SEC
Tom Rini4143a232022-07-31 21:08:28 -0400369 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v22
York Sun90b80382016-12-28 08:43:31 -0800370 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800371 select SYS_FSL_SEC_COMPAT_4
York Sun53c95382016-12-28 08:43:29 -0800372 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530373 select FSL_IFC
Simon Glassa1dc9802017-05-17 03:25:10 -0600374 imply CMD_EEPROM
Tom Rinid56b4b12017-07-22 18:36:16 -0400375 imply CMD_MTDPARTS
Tom Rini8f1a80e2017-07-28 21:31:42 -0400376 imply CMD_NAND
Simon Glass6500ec72017-08-04 16:34:34 -0600377 imply CMD_PCI
Christophe Leroyfa379222017-08-04 16:34:40 -0600378 imply CMD_REGINFO
York Sun115d60c2016-11-15 14:09:50 -0800379
York Sun4fd64742016-11-15 18:44:22 -0800380config ARCH_C29X
381 bool
York Sun05cb79a2016-12-02 10:44:34 -0800382 select FSL_LAW
York Sun22120f12016-12-28 08:43:46 -0800383 select SYS_FSL_DDR_VER_46
York Sun63659ff2016-12-28 08:43:43 -0800384 select SYS_FSL_ERRATUM_A005125
York Sunc01e4a12016-12-28 08:43:42 -0800385 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800386 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800387 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800388 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800389 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800390 select SYS_FSL_SEC_COMPAT_6
York Sun53c95382016-12-28 08:43:29 -0800391 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530392 select FSL_IFC
Tom Rini8f1a80e2017-07-28 21:31:42 -0400393 imply CMD_NAND
Simon Glass6500ec72017-08-04 16:34:34 -0600394 imply CMD_PCI
Christophe Leroyfa379222017-08-04 16:34:40 -0600395 imply CMD_REGINFO
York Sun4fd64742016-11-15 18:44:22 -0800396
York Sun24ad75a2016-11-16 11:06:47 -0800397config ARCH_MPC8536
398 bool
York Sun05cb79a2016-12-02 10:44:34 -0800399 select FSL_LAW
York Sun63659ff2016-12-28 08:43:43 -0800400 select SYS_FSL_ERRATUM_A004508
401 select SYS_FSL_ERRATUM_A005125
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800402 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800403 select SYS_FSL_HAS_DDR2
404 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800405 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800406 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800407 select SYS_FSL_SEC_COMPAT_2
York Sun53c95382016-12-28 08:43:29 -0800408 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530409 select FSL_ELBC
Tom Rini8f1a80e2017-07-28 21:31:42 -0400410 imply CMD_NAND
Simon Glass3bf926c2017-06-14 21:28:24 -0600411 imply CMD_SATA
Christophe Leroyfa379222017-08-04 16:34:40 -0600412 imply CMD_REGINFO
York Sun24ad75a2016-11-16 11:06:47 -0800413
York Sun7f825212016-11-16 11:13:06 -0800414config ARCH_MPC8540
415 bool
York Sun05cb79a2016-12-02 10:44:34 -0800416 select FSL_LAW
York Sund26e34c2016-12-28 08:43:40 -0800417 select SYS_FSL_HAS_DDR1
York Sun7f825212016-11-16 11:13:06 -0800418
York Sun25cb74b2016-11-15 13:57:15 -0800419config ARCH_MPC8544
420 bool
Tom Rinia3041d92022-02-23 12:28:15 -0500421 select BTB
York Sun05cb79a2016-12-02 10:44:34 -0800422 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400423 select SYS_CACHE_SHIFT_5
York Sun63659ff2016-12-28 08:43:43 -0800424 select SYS_FSL_ERRATUM_A005125
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800425 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800426 select SYS_FSL_HAS_DDR2
York Sun2c2e2c92016-12-28 08:43:30 -0800427 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800428 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800429 select SYS_FSL_SEC_COMPAT_2
York Sun53c95382016-12-28 08:43:29 -0800430 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530431 select FSL_ELBC
York Sun25cb74b2016-11-15 13:57:15 -0800432
York Sun281ed4c2016-11-15 13:52:34 -0800433config ARCH_MPC8548
434 bool
Tom Rinia3041d92022-02-23 12:28:15 -0500435 select BTB
York Sun05cb79a2016-12-02 10:44:34 -0800436 select FSL_LAW
York Sun63659ff2016-12-28 08:43:43 -0800437 select SYS_FSL_ERRATUM_A005125
438 select SYS_FSL_ERRATUM_NMG_DDR120
439 select SYS_FSL_ERRATUM_NMG_LBC103
440 select SYS_FSL_ERRATUM_NMG_ETSEC129
441 select SYS_FSL_ERRATUM_I2C_A004447
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800442 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800443 select SYS_FSL_HAS_DDR2
444 select SYS_FSL_HAS_DDR1
York Sun2c2e2c92016-12-28 08:43:30 -0800445 select SYS_FSL_HAS_SEC
Tom Riniff4e87c2022-07-31 21:08:29 -0400446 select SYS_FSL_RMU
York Sun90b80382016-12-28 08:43:31 -0800447 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800448 select SYS_FSL_SEC_COMPAT_2
York Sun53c95382016-12-28 08:43:29 -0800449 select SYS_PPC_E500_USE_DEBUG_TLB
Christophe Leroyfa379222017-08-04 16:34:40 -0600450 imply CMD_REGINFO
York Sun281ed4c2016-11-15 13:52:34 -0800451
York Sun99d0a312016-11-16 11:26:45 -0800452config ARCH_MPC8560
453 bool
York Sun05cb79a2016-12-02 10:44:34 -0800454 select FSL_LAW
York Sund26e34c2016-12-28 08:43:40 -0800455 select SYS_FSL_HAS_DDR1
York Sun99d0a312016-11-16 11:26:45 -0800456
York Sun7d5f9f82016-11-16 13:08:52 -0800457config ARCH_P1010
458 bool
Tom Rinifdd0da42022-03-11 09:11:59 -0500459 select A003399_NOR_WORKAROUND if SYS_FSL_ERRATUM_IFC_A003399 && !SPL
Tom Rinia3041d92022-02-23 12:28:15 -0500460 select BTB
York Sun05cb79a2016-12-02 10:44:34 -0800461 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400462 select SYS_CACHE_SHIFT_5
Tom Rinif76750d2021-12-11 14:55:51 -0500463 select SYS_HAS_SERDES
York Sun63659ff2016-12-28 08:43:43 -0800464 select SYS_FSL_ERRATUM_A004477
465 select SYS_FSL_ERRATUM_A004508
466 select SYS_FSL_ERRATUM_A005125
Chris Packham4eaf7f52018-10-04 20:03:53 +1300467 select SYS_FSL_ERRATUM_A005275
York Sun63659ff2016-12-28 08:43:43 -0800468 select SYS_FSL_ERRATUM_A006261
469 select SYS_FSL_ERRATUM_A007075
York Sunc01e4a12016-12-28 08:43:42 -0800470 select SYS_FSL_ERRATUM_ESDHC111
York Sun63659ff2016-12-28 08:43:43 -0800471 select SYS_FSL_ERRATUM_I2C_A004447
472 select SYS_FSL_ERRATUM_IFC_A002769
473 select SYS_FSL_ERRATUM_P1010_A003549
474 select SYS_FSL_ERRATUM_SEC_A003571
475 select SYS_FSL_ERRATUM_IFC_A003399
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800476 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800477 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800478 select SYS_FSL_HAS_SEC
Tom Rini4143a232022-07-31 21:08:28 -0400479 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v22
York Sun90b80382016-12-28 08:43:31 -0800480 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800481 select SYS_FSL_SEC_COMPAT_4
Tom Riniff4e87c2022-07-31 21:08:29 -0400482 select SYS_FSL_USB1_PHY_ENABLE
York Sun53c95382016-12-28 08:43:29 -0800483 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530484 select FSL_IFC
Simon Glassa1dc9802017-05-17 03:25:10 -0600485 imply CMD_EEPROM
Tom Rinid56b4b12017-07-22 18:36:16 -0400486 imply CMD_MTDPARTS
Tom Rini8f1a80e2017-07-28 21:31:42 -0400487 imply CMD_NAND
Simon Glass3bf926c2017-06-14 21:28:24 -0600488 imply CMD_SATA
Simon Glass6500ec72017-08-04 16:34:34 -0600489 imply CMD_PCI
Christophe Leroyfa379222017-08-04 16:34:40 -0600490 imply CMD_REGINFO
Tuomas Tynkkynen9920d152017-12-08 15:36:17 +0200491 imply FSL_SATA
Simon Glassd6b318d2021-12-18 11:27:50 -0700492 imply TIMESTAMP
York Sun7d5f9f82016-11-16 13:08:52 -0800493
York Sun1cdd96f2016-11-16 15:54:15 -0800494config ARCH_P1011
495 bool
York Sun05cb79a2016-12-02 10:44:34 -0800496 select FSL_LAW
York Sun63659ff2016-12-28 08:43:43 -0800497 select SYS_FSL_ERRATUM_A004508
498 select SYS_FSL_ERRATUM_A005125
499 select SYS_FSL_ERRATUM_ELBC_A001
York Sunc01e4a12016-12-28 08:43:42 -0800500 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiangc16dfd02019-05-22 22:46:03 +0800501 select FSL_PCIE_DISABLE_ASPM
York Sund26e34c2016-12-28 08:43:40 -0800502 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800503 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800504 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800505 select SYS_FSL_SEC_COMPAT_2
York Sun53c95382016-12-28 08:43:29 -0800506 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530507 select FSL_ELBC
York Sun1cdd96f2016-11-16 15:54:15 -0800508
York Sun484fff62016-11-18 10:02:14 -0800509config ARCH_P1020
510 bool
Tom Rinia3041d92022-02-23 12:28:15 -0500511 select BTB
York Sun05cb79a2016-12-02 10:44:34 -0800512 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400513 select SYS_CACHE_SHIFT_5
York Sun63659ff2016-12-28 08:43:43 -0800514 select SYS_FSL_ERRATUM_A004508
515 select SYS_FSL_ERRATUM_A005125
516 select SYS_FSL_ERRATUM_ELBC_A001
York Sunc01e4a12016-12-28 08:43:42 -0800517 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiangc16dfd02019-05-22 22:46:03 +0800518 select FSL_PCIE_DISABLE_ASPM
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800519 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800520 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800521 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800522 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800523 select SYS_FSL_SEC_COMPAT_2
York Sun53c95382016-12-28 08:43:29 -0800524 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530525 select FSL_ELBC
Tom Rini8f1a80e2017-07-28 21:31:42 -0400526 imply CMD_NAND
Simon Glass3bf926c2017-06-14 21:28:24 -0600527 imply CMD_SATA
Simon Glass6500ec72017-08-04 16:34:34 -0600528 imply CMD_PCI
Christophe Leroyfa379222017-08-04 16:34:40 -0600529 imply CMD_REGINFO
Tuomas Tynkkynenc88ecf42017-12-08 15:36:14 +0200530 imply SATA_SIL
York Sun484fff62016-11-18 10:02:14 -0800531
York Suna9907992016-11-18 10:59:02 -0800532config ARCH_P1021
533 bool
York Sun05cb79a2016-12-02 10:44:34 -0800534 select FSL_LAW
York Sun63659ff2016-12-28 08:43:43 -0800535 select SYS_FSL_ERRATUM_A004508
536 select SYS_FSL_ERRATUM_A005125
537 select SYS_FSL_ERRATUM_ELBC_A001
York Sunc01e4a12016-12-28 08:43:42 -0800538 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiangc16dfd02019-05-22 22:46:03 +0800539 select FSL_PCIE_DISABLE_ASPM
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800540 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800541 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800542 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800543 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800544 select SYS_FSL_SEC_COMPAT_2
York Sun53c95382016-12-28 08:43:29 -0800545 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530546 select FSL_ELBC
Christophe Leroyfa379222017-08-04 16:34:40 -0600547 imply CMD_REGINFO
Tom Rini8f1a80e2017-07-28 21:31:42 -0400548 imply CMD_NAND
Simon Glass3bf926c2017-06-14 21:28:24 -0600549 imply CMD_SATA
Christophe Leroyfa379222017-08-04 16:34:40 -0600550 imply CMD_REGINFO
Tuomas Tynkkynenc88ecf42017-12-08 15:36:14 +0200551 imply SATA_SIL
York Suna9907992016-11-18 10:59:02 -0800552
York Sun9bb1d6b2016-11-16 15:45:31 -0800553config ARCH_P1023
554 bool
York Sun05cb79a2016-12-02 10:44:34 -0800555 select FSL_LAW
York Sun63659ff2016-12-28 08:43:43 -0800556 select SYS_FSL_ERRATUM_A004508
557 select SYS_FSL_ERRATUM_A005125
558 select SYS_FSL_ERRATUM_I2C_A004447
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800559 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800560 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800561 select SYS_FSL_HAS_SEC
Tom Rini4143a232022-07-31 21:08:28 -0400562 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v22
York Sun90b80382016-12-28 08:43:31 -0800563 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800564 select SYS_FSL_SEC_COMPAT_4
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530565 select FSL_ELBC
York Sun9bb1d6b2016-11-16 15:45:31 -0800566
York Sun52b6f132016-11-18 11:00:57 -0800567config ARCH_P1024
568 bool
York Sun05cb79a2016-12-02 10:44:34 -0800569 select FSL_LAW
York Sun63659ff2016-12-28 08:43:43 -0800570 select SYS_FSL_ERRATUM_A004508
571 select SYS_FSL_ERRATUM_A005125
572 select SYS_FSL_ERRATUM_ELBC_A001
York Sunc01e4a12016-12-28 08:43:42 -0800573 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiangc16dfd02019-05-22 22:46:03 +0800574 select FSL_PCIE_DISABLE_ASPM
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800575 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800576 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800577 select SYS_FSL_HAS_SEC
Tom Riniff4e87c2022-07-31 21:08:29 -0400578 select SYS_FSL_RMU
York Sun90b80382016-12-28 08:43:31 -0800579 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800580 select SYS_FSL_SEC_COMPAT_2
York Sun53c95382016-12-28 08:43:29 -0800581 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530582 select FSL_ELBC
Simon Glassa1dc9802017-05-17 03:25:10 -0600583 imply CMD_EEPROM
Tom Rini8f1a80e2017-07-28 21:31:42 -0400584 imply CMD_NAND
Simon Glass3bf926c2017-06-14 21:28:24 -0600585 imply CMD_SATA
Simon Glass6500ec72017-08-04 16:34:34 -0600586 imply CMD_PCI
Christophe Leroyfa379222017-08-04 16:34:40 -0600587 imply CMD_REGINFO
Tuomas Tynkkynenc88ecf42017-12-08 15:36:14 +0200588 imply SATA_SIL
York Sun52b6f132016-11-18 11:00:57 -0800589
York Sun4167a672016-11-18 11:05:38 -0800590config ARCH_P1025
591 bool
York Sun05cb79a2016-12-02 10:44:34 -0800592 select FSL_LAW
York Sun63659ff2016-12-28 08:43:43 -0800593 select SYS_FSL_ERRATUM_A004508
594 select SYS_FSL_ERRATUM_A005125
595 select SYS_FSL_ERRATUM_ELBC_A001
York Sunc01e4a12016-12-28 08:43:42 -0800596 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiangc16dfd02019-05-22 22:46:03 +0800597 select FSL_PCIE_DISABLE_ASPM
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800598 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800599 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800600 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800601 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800602 select SYS_FSL_SEC_COMPAT_2
York Sun53c95382016-12-28 08:43:29 -0800603 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530604 select FSL_ELBC
Simon Glass3bf926c2017-06-14 21:28:24 -0600605 imply CMD_SATA
Christophe Leroyfa379222017-08-04 16:34:40 -0600606 imply CMD_REGINFO
York Sun4167a672016-11-18 11:05:38 -0800607
York Sun45936372016-11-18 11:08:43 -0800608config ARCH_P2020
609 bool
Tom Rinia3041d92022-02-23 12:28:15 -0500610 select BTB
York Sun05cb79a2016-12-02 10:44:34 -0800611 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400612 select SYS_CACHE_SHIFT_5
York Sun63659ff2016-12-28 08:43:43 -0800613 select SYS_FSL_ERRATUM_A004477
614 select SYS_FSL_ERRATUM_A004508
615 select SYS_FSL_ERRATUM_A005125
York Sunc01e4a12016-12-28 08:43:42 -0800616 select SYS_FSL_ERRATUM_ESDHC111
617 select SYS_FSL_ERRATUM_ESDHC_A001
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800618 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800619 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800620 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800621 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800622 select SYS_FSL_SEC_COMPAT_2
York Sun53c95382016-12-28 08:43:29 -0800623 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530624 select FSL_ELBC
Simon Glassa1dc9802017-05-17 03:25:10 -0600625 imply CMD_EEPROM
Tom Rini8f1a80e2017-07-28 21:31:42 -0400626 imply CMD_NAND
Christophe Leroyfa379222017-08-04 16:34:40 -0600627 imply CMD_REGINFO
Simon Glassd6b318d2021-12-18 11:27:50 -0700628 imply TIMESTAMP
York Sun45936372016-11-18 11:08:43 -0800629
York Sunce040c82016-11-18 11:15:21 -0800630config ARCH_P2041
631 bool
Tom Rinib40d2b22022-03-18 08:38:32 -0400632 select BACKSIDE_L2_CACHE
York Sunf8dee362016-12-28 08:43:27 -0800633 select E500MC
York Sun05cb79a2016-12-02 10:44:34 -0800634 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400635 select SYS_CACHE_SHIFT_6
Tom Rini2db82bf2022-11-16 13:10:34 -0500636 select SYS_DPAA_FMAN
637 select SYS_DPAA_PME
638 select SYS_DPAA_RMAN
York Sun63659ff2016-12-28 08:43:43 -0800639 select SYS_FSL_ERRATUM_A004510
640 select SYS_FSL_ERRATUM_A004849
Chris Packham4eaf7f52018-10-04 20:03:53 +1300641 select SYS_FSL_ERRATUM_A005275
York Sun63659ff2016-12-28 08:43:43 -0800642 select SYS_FSL_ERRATUM_A006261
643 select SYS_FSL_ERRATUM_CPU_A003999
644 select SYS_FSL_ERRATUM_DDR_A003
645 select SYS_FSL_ERRATUM_DDR_A003474
York Sunc01e4a12016-12-28 08:43:42 -0800646 select SYS_FSL_ERRATUM_ESDHC111
York Sun63659ff2016-12-28 08:43:43 -0800647 select SYS_FSL_ERRATUM_I2C_A004447
648 select SYS_FSL_ERRATUM_NMG_CPU_A011
649 select SYS_FSL_ERRATUM_SRIO_A004034
650 select SYS_FSL_ERRATUM_USB14
York Sund26e34c2016-12-28 08:43:40 -0800651 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800652 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800653 select SYS_FSL_QORIQ_CHASSIS1
Tom Rini4143a232022-07-31 21:08:28 -0400654 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v22
York Sun90b80382016-12-28 08:43:31 -0800655 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800656 select SYS_FSL_SEC_COMPAT_4
Tom Riniff4e87c2022-07-31 21:08:29 -0400657 select SYS_FSL_USB1_PHY_ENABLE
658 select SYS_FSL_USB2_PHY_ENABLE
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530659 select FSL_ELBC
Tom Rini8f1a80e2017-07-28 21:31:42 -0400660 imply CMD_NAND
York Sunce040c82016-11-18 11:15:21 -0800661
York Sun5e5fdd22016-11-18 11:20:40 -0800662config ARCH_P3041
663 bool
Tom Rinib40d2b22022-03-18 08:38:32 -0400664 select BACKSIDE_L2_CACHE
York Sunf8dee362016-12-28 08:43:27 -0800665 select E500MC
Tom Rini6f6b9702022-07-23 13:05:08 -0400666 select FSL_CORENET
York Sun05cb79a2016-12-02 10:44:34 -0800667 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400668 select SYS_CACHE_SHIFT_6
York Sun22120f12016-12-28 08:43:46 -0800669 select SYS_FSL_DDR_VER_44
York Sun63659ff2016-12-28 08:43:43 -0800670 select SYS_FSL_ERRATUM_A004510
671 select SYS_FSL_ERRATUM_A004849
Chris Packham4eaf7f52018-10-04 20:03:53 +1300672 select SYS_FSL_ERRATUM_A005275
York Sun63659ff2016-12-28 08:43:43 -0800673 select SYS_FSL_ERRATUM_A005812
674 select SYS_FSL_ERRATUM_A006261
675 select SYS_FSL_ERRATUM_CPU_A003999
676 select SYS_FSL_ERRATUM_DDR_A003
677 select SYS_FSL_ERRATUM_DDR_A003474
York Sunc01e4a12016-12-28 08:43:42 -0800678 select SYS_FSL_ERRATUM_ESDHC111
York Sun63659ff2016-12-28 08:43:43 -0800679 select SYS_FSL_ERRATUM_I2C_A004447
680 select SYS_FSL_ERRATUM_NMG_CPU_A011
681 select SYS_FSL_ERRATUM_SRIO_A004034
682 select SYS_FSL_ERRATUM_USB14
York Sund26e34c2016-12-28 08:43:40 -0800683 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800684 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800685 select SYS_FSL_QORIQ_CHASSIS1
Tom Rini4143a232022-07-31 21:08:28 -0400686 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v22
York Sun90b80382016-12-28 08:43:31 -0800687 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800688 select SYS_FSL_SEC_COMPAT_4
Tom Riniff4e87c2022-07-31 21:08:29 -0400689 select SYS_FSL_USB1_PHY_ENABLE
690 select SYS_FSL_USB2_PHY_ENABLE
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530691 select FSL_ELBC
Tom Rini8f1a80e2017-07-28 21:31:42 -0400692 imply CMD_NAND
Simon Glass3bf926c2017-06-14 21:28:24 -0600693 imply CMD_SATA
Christophe Leroyfa379222017-08-04 16:34:40 -0600694 imply CMD_REGINFO
Tuomas Tynkkynen9920d152017-12-08 15:36:17 +0200695 imply FSL_SATA
York Sun5e5fdd22016-11-18 11:20:40 -0800696
York Sune71372c2016-11-18 11:24:40 -0800697config ARCH_P4080
698 bool
Tom Rinib40d2b22022-03-18 08:38:32 -0400699 select BACKSIDE_L2_CACHE
York Sunf8dee362016-12-28 08:43:27 -0800700 select E500MC
Tom Rini6f6b9702022-07-23 13:05:08 -0400701 select FSL_CORENET
York Sun05cb79a2016-12-02 10:44:34 -0800702 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400703 select SYS_CACHE_SHIFT_6
York Sun22120f12016-12-28 08:43:46 -0800704 select SYS_FSL_DDR_VER_44
York Sun63659ff2016-12-28 08:43:43 -0800705 select SYS_FSL_ERRATUM_A004510
706 select SYS_FSL_ERRATUM_A004580
707 select SYS_FSL_ERRATUM_A004849
708 select SYS_FSL_ERRATUM_A005812
709 select SYS_FSL_ERRATUM_A007075
710 select SYS_FSL_ERRATUM_CPC_A002
711 select SYS_FSL_ERRATUM_CPC_A003
712 select SYS_FSL_ERRATUM_CPU_A003999
713 select SYS_FSL_ERRATUM_DDR_A003
714 select SYS_FSL_ERRATUM_DDR_A003474
715 select SYS_FSL_ERRATUM_ELBC_A001
York Sunc01e4a12016-12-28 08:43:42 -0800716 select SYS_FSL_ERRATUM_ESDHC111
717 select SYS_FSL_ERRATUM_ESDHC13
718 select SYS_FSL_ERRATUM_ESDHC135
York Sun63659ff2016-12-28 08:43:43 -0800719 select SYS_FSL_ERRATUM_I2C_A004447
720 select SYS_FSL_ERRATUM_NMG_CPU_A011
721 select SYS_FSL_ERRATUM_SRIO_A004034
Tom Rini4143a232022-07-31 21:08:28 -0400722 select SYS_FSL_PCIE_COMPAT_P4080_PCIE
York Sun63659ff2016-12-28 08:43:43 -0800723 select SYS_P4080_ERRATUM_CPU22
724 select SYS_P4080_ERRATUM_PCIE_A003
725 select SYS_P4080_ERRATUM_SERDES8
726 select SYS_P4080_ERRATUM_SERDES9
727 select SYS_P4080_ERRATUM_SERDES_A001
728 select SYS_P4080_ERRATUM_SERDES_A005
York Sund26e34c2016-12-28 08:43:40 -0800729 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800730 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800731 select SYS_FSL_QORIQ_CHASSIS1
Tom Riniff4e87c2022-07-31 21:08:29 -0400732 select SYS_FSL_RMU
York Sun90b80382016-12-28 08:43:31 -0800733 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800734 select SYS_FSL_SEC_COMPAT_4
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530735 select FSL_ELBC
Simon Glass3bf926c2017-06-14 21:28:24 -0600736 imply CMD_SATA
Christophe Leroyfa379222017-08-04 16:34:40 -0600737 imply CMD_REGINFO
Tuomas Tynkkynenc88ecf42017-12-08 15:36:14 +0200738 imply SATA_SIL
York Sune71372c2016-11-18 11:24:40 -0800739
York Sun95390362016-11-18 11:39:36 -0800740config ARCH_P5040
741 bool
Tom Rinib40d2b22022-03-18 08:38:32 -0400742 select BACKSIDE_L2_CACHE
York Sunf8dee362016-12-28 08:43:27 -0800743 select E500MC
Tom Rini6f6b9702022-07-23 13:05:08 -0400744 select FSL_CORENET
York Sun05cb79a2016-12-02 10:44:34 -0800745 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400746 select SYS_CACHE_SHIFT_6
York Sun22120f12016-12-28 08:43:46 -0800747 select SYS_FSL_DDR_VER_44
York Sun63659ff2016-12-28 08:43:43 -0800748 select SYS_FSL_ERRATUM_A004510
749 select SYS_FSL_ERRATUM_A004699
Chris Packham4eaf7f52018-10-04 20:03:53 +1300750 select SYS_FSL_ERRATUM_A005275
York Sun63659ff2016-12-28 08:43:43 -0800751 select SYS_FSL_ERRATUM_A005812
752 select SYS_FSL_ERRATUM_A006261
753 select SYS_FSL_ERRATUM_DDR_A003
754 select SYS_FSL_ERRATUM_DDR_A003474
York Sunc01e4a12016-12-28 08:43:42 -0800755 select SYS_FSL_ERRATUM_ESDHC111
York Sun63659ff2016-12-28 08:43:43 -0800756 select SYS_FSL_ERRATUM_USB14
York Sund26e34c2016-12-28 08:43:40 -0800757 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800758 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800759 select SYS_FSL_QORIQ_CHASSIS1
Tom Rini4143a232022-07-31 21:08:28 -0400760 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v24
York Sun90b80382016-12-28 08:43:31 -0800761 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800762 select SYS_FSL_SEC_COMPAT_4
Tom Riniff4e87c2022-07-31 21:08:29 -0400763 select SYS_FSL_USB1_PHY_ENABLE
764 select SYS_FSL_USB2_PHY_ENABLE
York Sun48512782016-12-28 08:43:50 -0800765 select SYS_PPC64
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530766 select FSL_ELBC
Simon Glass3bf926c2017-06-14 21:28:24 -0600767 imply CMD_SATA
Christophe Leroyfa379222017-08-04 16:34:40 -0600768 imply CMD_REGINFO
Tuomas Tynkkynen9920d152017-12-08 15:36:17 +0200769 imply FSL_SATA
York Sun95390362016-11-18 11:39:36 -0800770
York Sun10343402016-11-18 12:29:51 -0800771config ARCH_QEMU_E500
772 bool
Tom Riniab92b382021-08-26 11:47:59 -0400773 select SYS_CACHE_SHIFT_5
York Sun10343402016-11-18 12:29:51 -0800774
York Sune5d5f5a2016-11-18 13:01:34 -0800775config ARCH_T1024
776 bool
Tom Rinib40d2b22022-03-18 08:38:32 -0400777 select BACKSIDE_L2_CACHE
York Sunf8dee362016-12-28 08:43:27 -0800778 select E500MC
Tom Rinif2428ac2022-03-24 17:18:01 -0400779 select E5500
Tom Rini6f6b9702022-07-23 13:05:08 -0400780 select FSL_CORENET
York Sun05cb79a2016-12-02 10:44:34 -0800781 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400782 select SYS_CACHE_SHIFT_6
Tom Rini2db82bf2022-11-16 13:10:34 -0500783 select SYS_DPAA_FMAN
York Sun22120f12016-12-28 08:43:46 -0800784 select SYS_FSL_DDR_VER_50
York Sun63659ff2016-12-28 08:43:43 -0800785 select SYS_FSL_ERRATUM_A008378
Jaiprakash Singh164a5af2020-06-02 12:44:02 +0530786 select SYS_FSL_ERRATUM_A008109
York Sun63659ff2016-12-28 08:43:43 -0800787 select SYS_FSL_ERRATUM_A009663
788 select SYS_FSL_ERRATUM_A009942
York Sunc01e4a12016-12-28 08:43:42 -0800789 select SYS_FSL_ERRATUM_ESDHC111
York Sund26e34c2016-12-28 08:43:40 -0800790 select SYS_FSL_HAS_DDR3
791 select SYS_FSL_HAS_DDR4
York Sun2c2e2c92016-12-28 08:43:30 -0800792 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800793 select SYS_FSL_QORIQ_CHASSIS2
Tom Rini4143a232022-07-31 21:08:28 -0400794 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v24
York Sun90b80382016-12-28 08:43:31 -0800795 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800796 select SYS_FSL_SEC_COMPAT_5
Tom Riniff4e87c2022-07-31 21:08:29 -0400797 select SYS_FSL_SINGLE_SOURCE_CLK
798 select SYS_FSL_QMAN_V3 if SYS_DPAA_QBMAN
799 select SYS_FSL_USB_DUAL_PHY_ENABLE
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530800 select FSL_IFC
Simon Glassa1dc9802017-05-17 03:25:10 -0600801 imply CMD_EEPROM
Tom Rini8f1a80e2017-07-28 21:31:42 -0400802 imply CMD_NAND
Tom Rinid56b4b12017-07-22 18:36:16 -0400803 imply CMD_MTDPARTS
Christophe Leroyfa379222017-08-04 16:34:40 -0600804 imply CMD_REGINFO
York Sune5d5f5a2016-11-18 13:01:34 -0800805
York Sun5d737012016-11-18 13:11:12 -0800806config ARCH_T1040
807 bool
Tom Rinib40d2b22022-03-18 08:38:32 -0400808 select BACKSIDE_L2_CACHE
York Sunf8dee362016-12-28 08:43:27 -0800809 select E500MC
Tom Rinif2428ac2022-03-24 17:18:01 -0400810 select E5500
Tom Rini6f6b9702022-07-23 13:05:08 -0400811 select FSL_CORENET
York Sun05cb79a2016-12-02 10:44:34 -0800812 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400813 select SYS_CACHE_SHIFT_6
Tom Rini2db82bf2022-11-16 13:10:34 -0500814 select SYS_DPAA_FMAN
815 select SYS_DPAA_PME
York Sun22120f12016-12-28 08:43:46 -0800816 select SYS_FSL_DDR_VER_50
York Sun63659ff2016-12-28 08:43:43 -0800817 select SYS_FSL_ERRATUM_A008044
818 select SYS_FSL_ERRATUM_A008378
Joakim Tjernlund73af0942019-11-20 17:07:34 +0100819 select SYS_FSL_ERRATUM_A008109
York Sun63659ff2016-12-28 08:43:43 -0800820 select SYS_FSL_ERRATUM_A009663
821 select SYS_FSL_ERRATUM_A009942
York Sunc01e4a12016-12-28 08:43:42 -0800822 select SYS_FSL_ERRATUM_ESDHC111
York Sund26e34c2016-12-28 08:43:40 -0800823 select SYS_FSL_HAS_DDR3
824 select SYS_FSL_HAS_DDR4
York Sun2c2e2c92016-12-28 08:43:30 -0800825 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800826 select SYS_FSL_QORIQ_CHASSIS2
Tom Rini4143a232022-07-31 21:08:28 -0400827 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v24
York Sun90b80382016-12-28 08:43:31 -0800828 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800829 select SYS_FSL_SEC_COMPAT_5
Tom Riniff4e87c2022-07-31 21:08:29 -0400830 select SYS_FSL_SINGLE_SOURCE_CLK
831 select SYS_FSL_QMAN_V3 if SYS_DPAA_QBMAN
832 select SYS_FSL_USB_DUAL_PHY_ENABLE
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530833 select FSL_IFC
Tom Rinid56b4b12017-07-22 18:36:16 -0400834 imply CMD_MTDPARTS
Tom Rini8f1a80e2017-07-28 21:31:42 -0400835 imply CMD_NAND
Christophe Leroyfa379222017-08-04 16:34:40 -0600836 imply CMD_REGINFO
York Sun5d737012016-11-18 13:11:12 -0800837
York Sun5449c982016-11-18 13:36:39 -0800838config ARCH_T1042
839 bool
Tom Rinib40d2b22022-03-18 08:38:32 -0400840 select BACKSIDE_L2_CACHE
York Sunf8dee362016-12-28 08:43:27 -0800841 select E500MC
Tom Rinif2428ac2022-03-24 17:18:01 -0400842 select E5500
Tom Rini6f6b9702022-07-23 13:05:08 -0400843 select FSL_CORENET
York Sun05cb79a2016-12-02 10:44:34 -0800844 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400845 select SYS_CACHE_SHIFT_6
Tom Rini2db82bf2022-11-16 13:10:34 -0500846 select SYS_DPAA_FMAN
847 select SYS_DPAA_PME
York Sun22120f12016-12-28 08:43:46 -0800848 select SYS_FSL_DDR_VER_50
York Sun63659ff2016-12-28 08:43:43 -0800849 select SYS_FSL_ERRATUM_A008044
850 select SYS_FSL_ERRATUM_A008378
Joakim Tjernlund73af0942019-11-20 17:07:34 +0100851 select SYS_FSL_ERRATUM_A008109
York Sun63659ff2016-12-28 08:43:43 -0800852 select SYS_FSL_ERRATUM_A009663
853 select SYS_FSL_ERRATUM_A009942
York Sunc01e4a12016-12-28 08:43:42 -0800854 select SYS_FSL_ERRATUM_ESDHC111
York Sund26e34c2016-12-28 08:43:40 -0800855 select SYS_FSL_HAS_DDR3
856 select SYS_FSL_HAS_DDR4
York Sun2c2e2c92016-12-28 08:43:30 -0800857 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800858 select SYS_FSL_QORIQ_CHASSIS2
Tom Rini4143a232022-07-31 21:08:28 -0400859 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v24
York Sun90b80382016-12-28 08:43:31 -0800860 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800861 select SYS_FSL_SEC_COMPAT_5
Tom Riniff4e87c2022-07-31 21:08:29 -0400862 select SYS_FSL_SINGLE_SOURCE_CLK
863 select SYS_FSL_QMAN_V3 if SYS_DPAA_QBMAN
864 select SYS_FSL_USB_DUAL_PHY_ENABLE
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530865 select FSL_IFC
Tom Rinid56b4b12017-07-22 18:36:16 -0400866 imply CMD_MTDPARTS
Tom Rini8f1a80e2017-07-28 21:31:42 -0400867 imply CMD_NAND
Christophe Leroyfa379222017-08-04 16:34:40 -0600868 imply CMD_REGINFO
York Sun5449c982016-11-18 13:36:39 -0800869
York Sun0f3d80e2016-11-21 12:54:19 -0800870config ARCH_T2080
871 bool
York Sunf8dee362016-12-28 08:43:27 -0800872 select E500MC
York Sun9ec10102016-12-28 08:43:48 -0800873 select E6500
Tom Rini6f6b9702022-07-23 13:05:08 -0400874 select FSL_CORENET
York Sun05cb79a2016-12-02 10:44:34 -0800875 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400876 select SYS_CACHE_SHIFT_6
Tom Rini2db82bf2022-11-16 13:10:34 -0500877 select SYS_DPAA_DCE if !NOBQFMAN
878 select SYS_DPAA_FMAN if !NOBQFMAN
879 select SYS_DPAA_PME if !NOBQFMAN
880 select SYS_DPAA_RMAN if !NOBQFMAN
York Sun22120f12016-12-28 08:43:46 -0800881 select SYS_FSL_DDR_VER_47
York Sun63659ff2016-12-28 08:43:43 -0800882 select SYS_FSL_ERRATUM_A006379
883 select SYS_FSL_ERRATUM_A006593
Tom Rini601483f2022-06-16 14:04:40 -0400884 select SYS_FSL_ERRATUM_A007186 if CHAIN_OF_TRUST
York Sun63659ff2016-12-28 08:43:43 -0800885 select SYS_FSL_ERRATUM_A007212
Tony O'Brien09bfd962016-12-02 09:22:34 +1300886 select SYS_FSL_ERRATUM_A007815
Darwin Dingel06ad9702016-10-25 09:48:01 +1300887 select SYS_FSL_ERRATUM_A007907
Jaiprakash Singh164a5af2020-06-02 12:44:02 +0530888 select SYS_FSL_ERRATUM_A008109
York Sun63659ff2016-12-28 08:43:43 -0800889 select SYS_FSL_ERRATUM_A009942
York Sunc01e4a12016-12-28 08:43:42 -0800890 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800891 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800892 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800893 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800894 select SYS_FSL_QORIQ_CHASSIS2
Tom Rini4143a232022-07-31 21:08:28 -0400895 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v30
York Sun90b80382016-12-28 08:43:31 -0800896 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800897 select SYS_FSL_SEC_COMPAT_4
Tom Riniff4e87c2022-07-31 21:08:29 -0400898 select SYS_FSL_SRIO_LIODN
899 select SYS_FSL_QMAN_V3 if SYS_DPAA_QBMAN
900 select SYS_FSL_USB_DUAL_PHY_ENABLE
Tom Rini2db82bf2022-11-16 13:10:34 -0500901 select SYS_PMAN if !NOBQFMAN
York Sun48512782016-12-28 08:43:50 -0800902 select SYS_PPC64
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530903 select FSL_IFC
Peng Maa2d4cb22019-12-23 09:28:12 +0000904 imply CMD_SATA
Tom Rini8f1a80e2017-07-28 21:31:42 -0400905 imply CMD_NAND
Christophe Leroyfa379222017-08-04 16:34:40 -0600906 imply CMD_REGINFO
Peng Maa2d4cb22019-12-23 09:28:12 +0000907 imply FSL_SATA
Tom Rinid7d40f62021-08-17 17:59:41 -0400908 imply ID_EEPROM
York Sun0f3d80e2016-11-21 12:54:19 -0800909
York Sun26bc57d2016-11-21 13:35:41 -0800910config ARCH_T4240
911 bool
York Sunf8dee362016-12-28 08:43:27 -0800912 select E500MC
York Sun9ec10102016-12-28 08:43:48 -0800913 select E6500
Tom Rini6f6b9702022-07-23 13:05:08 -0400914 select FSL_CORENET
York Sun05cb79a2016-12-02 10:44:34 -0800915 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400916 select SYS_CACHE_SHIFT_6
Tom Rini2db82bf2022-11-16 13:10:34 -0500917 select SYS_DPAA_DCE if !NOBQFMAN
918 select SYS_DPAA_FMAN if !NOBQFMAN
919 select SYS_DPAA_PME if !NOBQFMAN
920 select SYS_DPAA_RMAN if !NOBQFMAN
York Sun22120f12016-12-28 08:43:46 -0800921 select SYS_FSL_DDR_VER_47
York Sun63659ff2016-12-28 08:43:43 -0800922 select SYS_FSL_ERRATUM_A004468
923 select SYS_FSL_ERRATUM_A005871
924 select SYS_FSL_ERRATUM_A006261
925 select SYS_FSL_ERRATUM_A006379
926 select SYS_FSL_ERRATUM_A006593
Tom Rini601483f2022-06-16 14:04:40 -0400927 select SYS_FSL_ERRATUM_A007186 if CHAIN_OF_TRUST
York Sun63659ff2016-12-28 08:43:43 -0800928 select SYS_FSL_ERRATUM_A007798
Tony O'Brien09bfd962016-12-02 09:22:34 +1300929 select SYS_FSL_ERRATUM_A007815
Darwin Dingel06ad9702016-10-25 09:48:01 +1300930 select SYS_FSL_ERRATUM_A007907
Jaiprakash Singh164a5af2020-06-02 12:44:02 +0530931 select SYS_FSL_ERRATUM_A008109
York Sun63659ff2016-12-28 08:43:43 -0800932 select SYS_FSL_ERRATUM_A009942
York Sund26e34c2016-12-28 08:43:40 -0800933 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800934 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800935 select SYS_FSL_QORIQ_CHASSIS2
Tom Rini4143a232022-07-31 21:08:28 -0400936 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v30
York Sun90b80382016-12-28 08:43:31 -0800937 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800938 select SYS_FSL_SEC_COMPAT_4
Tom Riniff4e87c2022-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 Rini2db82bf2022-11-16 13:10:34 -0500942 select SYS_PMAN if !NOBQFMAN
York Sun48512782016-12-28 08:43:50 -0800943 select SYS_PPC64
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530944 select FSL_IFC
Simon Glass3bf926c2017-06-14 21:28:24 -0600945 imply CMD_SATA
Tom Rini8f1a80e2017-07-28 21:31:42 -0400946 imply CMD_NAND
Christophe Leroyfa379222017-08-04 16:34:40 -0600947 imply CMD_REGINFO
Tuomas Tynkkynen9920d152017-12-08 15:36:17 +0200948 imply FSL_SATA
York Sun05cb79a2016-12-02 10:44:34 -0800949
Jagdish Gediya96699f02018-09-03 21:35:10 +0530950config MPC85XX_HAVE_RESET_VECTOR
951 bool "Indicate reset vector at CONFIG_RESET_VECTOR_ADDRESS - 0xffc"
952 depends on MPC85xx
953
Tom Rinia3041d92022-02-23 12:28:15 -0500954config BTB
955 bool "toggle branch predition"
956
York Sunf8dee362016-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 Rinia3041d92022-02-23 12:28:15 -0500969 select BTB
Simon Glass6500ec72017-08-04 16:34:34 -0600970 imply CMD_PCI
York Sunf8dee362016-12-28 08:43:27 -0800971 help
972 Enble PowerPC E500MC core
973
Tom Rinif2428ac2022-03-24 17:18:01 -0400974config E5500
975 bool
976
York Sun9ec10102016-12-28 08:43:48 -0800977config E6500
978 bool
Tom Rinia3041d92022-02-23 12:28:15 -0500979 select BTB
York Sun9ec10102016-12-28 08:43:48 -0800980 help
981 Enable PowerPC E6500 core
982
Tom Rini2db82bf2022-11-16 13:10:34 -0500983config NOBQFMAN
984 bool
985
York Sun05cb79a2016-12-02 10:44:34 -0800986config FSL_LAW
987 bool
988 help
989 Use Freescale common code for Local Access Window
York Sun26bc57d2016-11-21 13:35:41 -0800990
Tom Rini1e7750f2022-06-16 14:04:34 -0400991config HETROGENOUS_CLUSTERS
992 bool
993
York Sun3f82b562016-11-23 12:30:40 -0800994config MAX_CPUS
995 int "Maximum number of CPUs permitted for MPC85xx"
996 default 12 if ARCH_T4240
Tom Riniec6b37c2021-05-23 10:58:05 -0400997 default 8 if ARCH_P4080
York Sun3f82b562016-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 Rini2322b952021-02-20 20:06:21 -05001004 ARCH_T2080
York Sun3f82b562016-11-23 12:30:40 -08001005 default 2 if ARCH_B4420 || \
1006 ARCH_BSC9132 || \
York Sun3f82b562016-11-23 12:30:40 -08001007 ARCH_P1020 || \
1008 ARCH_P1021 || \
York Sun3f82b562016-11-23 12:30:40 -08001009 ARCH_P1023 || \
1010 ARCH_P1024 || \
1011 ARCH_P1025 || \
1012 ARCH_P2020 || \
York Sun3f82b562016-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 Sun830fc1b2016-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 Sun830fc1b2016-12-01 13:26:06 -08001029 ARCH_MPC8544 || \
1030 ARCH_MPC8548 || \
York Sun830fc1b2016-12-01 13:26:06 -08001031 ARCH_MPC8560 || \
York Sun830fc1b2016-12-01 13:26:06 -08001032 ARCH_P1010 || \
1033 ARCH_P1011 || \
1034 ARCH_P1020 || \
1035 ARCH_P1021 || \
York Sun830fc1b2016-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 Sun830fc1b2016-12-01 13:26:06 -08001045 ARCH_P5040 || \
York Sun830fc1b2016-12-01 13:26:06 -08001046 ARCH_T1024 || \
1047 ARCH_T1040 || \
1048 ARCH_T1042 || \
1049 ARCH_T2080 || \
York Sun830fc1b2016-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 Rini2db82bf2022-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 Rinifdd0da42022-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 Rini5f7c8862022-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 Sun63659ff2016-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 Packham4eaf7f52018-10-04 20:03:53 +13001123config SYS_FSL_ERRATUM_A005275
1124 bool
1125
York Sun63659ff2016-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'Brien09bfd962016-12-02 09:22:34 +13001150config SYS_FSL_ERRATUM_A007815
1151 bool
1152
York Sun63659ff2016-12-28 08:43:43 -08001153config SYS_FSL_ERRATUM_A007798
1154 bool
1155
Darwin Dingel06ad9702016-10-25 09:48:01 +13001156config SYS_FSL_ERRATUM_A007907
1157 bool
1158
York Sun63659ff2016-12-28 08:43:43 -08001159config SYS_FSL_ERRATUM_A008044
1160 bool
Tom Rini5f7c8862022-03-11 09:12:00 -05001161 select A008044_WORKAROUND if MTD_RAW_NAND
York Sun63659ff2016-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 Rinia99dab12021-02-20 20:06:30 -05001184 default 0x20 if ARCH_P3041 || ARCH_P4080
York Sun63659ff2016-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
Tom Rinif76750d2021-12-11 14:55:51 -05001216config SYS_HAS_SERDES
1217 bool
1218
York Sun63659ff2016-12-28 08:43:43 -08001219config SYS_P4080_ERRATUM_CPU22
1220 bool
1221
1222config SYS_P4080_ERRATUM_PCIE_A003
1223 bool
1224
1225config SYS_P4080_ERRATUM_SERDES8
1226 bool
1227
1228config SYS_P4080_ERRATUM_SERDES9
1229 bool
1230
1231config SYS_P4080_ERRATUM_SERDES_A001
1232 bool
1233
1234config SYS_P4080_ERRATUM_SERDES_A005
1235 bool
1236
Hou Zhiqiangc16dfd02019-05-22 22:46:03 +08001237config FSL_PCIE_DISABLE_ASPM
1238 bool
1239
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +08001240config FSL_PCIE_RESET
1241 bool
1242
Tom Rini2db82bf2022-11-16 13:10:34 -05001243config SYS_PMAN
1244 bool
1245
Tom Riniff4e87c2022-07-31 21:08:29 -04001246config SYS_FSL_RAID_ENGINE
1247 bool
1248
1249config SYS_FSL_RMU
1250 bool
1251
York Sun73717742016-12-28 08:43:49 -08001252config SYS_FSL_QORIQ_CHASSIS1
1253 bool
1254
1255config SYS_FSL_QORIQ_CHASSIS2
1256 bool
1257
York Sun8303acb2016-12-01 14:05:02 -08001258config SYS_FSL_NUM_LAWS
1259 int "Number of local access windows"
1260 depends on FSL_LAW
1261 default 32 if ARCH_B4420 || \
1262 ARCH_B4860 || \
1263 ARCH_P2041 || \
1264 ARCH_P3041 || \
1265 ARCH_P4080 || \
York Sun8303acb2016-12-01 14:05:02 -08001266 ARCH_P5040 || \
1267 ARCH_T2080 || \
York Sun8303acb2016-12-01 14:05:02 -08001268 ARCH_T4240
Tom Rini6c3d9932021-05-14 21:34:22 -04001269 default 16 if ARCH_T1024 || \
York Sun8303acb2016-12-01 14:05:02 -08001270 ARCH_T1040 || \
1271 ARCH_T1042
1272 default 12 if ARCH_BSC9131 || \
1273 ARCH_BSC9132 || \
1274 ARCH_C29X || \
1275 ARCH_MPC8536 || \
York Sun8303acb2016-12-01 14:05:02 -08001276 ARCH_P1010 || \
1277 ARCH_P1011 || \
1278 ARCH_P1020 || \
1279 ARCH_P1021 || \
York Sun8303acb2016-12-01 14:05:02 -08001280 ARCH_P1023 || \
1281 ARCH_P1024 || \
1282 ARCH_P1025 || \
1283 ARCH_P2020
1284 default 10 if ARCH_MPC8544 || \
Tom Rini80696892021-05-14 21:34:23 -04001285 ARCH_MPC8548
York Sun8303acb2016-12-01 14:05:02 -08001286 default 8 if ARCH_MPC8540 || \
York Sun8303acb2016-12-01 14:05:02 -08001287 ARCH_MPC8560
1288 help
1289 Number of local access windows. This is fixed per SoC.
1290 If not sure, do not change.
1291
Tom Rini7da6a9e2022-07-23 13:05:11 -04001292config SYS_FSL_CORES_PER_CLUSTER
1293 int
1294 depends on SYS_FSL_QORIQ_CHASSIS2
1295 default 4 if ARCH_B4860 || ARCH_T2080 || ARCH_T4240
1296 default 2 if ARCH_B4420
1297 default 1 if ARCH_T1024 || ARCH_T1040 || ARCH_T1042
1298
York Sun9ec10102016-12-28 08:43:48 -08001299config SYS_FSL_THREADS_PER_CORE
1300 int
Tom Rini7da6a9e2022-07-23 13:05:11 -04001301 depends on SYS_FSL_QORIQ_CHASSIS2
York Sun9ec10102016-12-28 08:43:48 -08001302 default 2 if E6500
1303 default 1
1304
York Sun26e79b62016-12-28 08:43:28 -08001305config SYS_NUM_TLBCAMS
1306 int "Number of TLB CAM entries"
1307 default 64 if E500MC
1308 default 16
1309 help
1310 Number of TLB CAM entries for Book-E chips. 64 for E500MC,
1311 16 for other E500 SoCs.
1312
Tom Rini960379d2022-12-02 16:42:33 -05001313config L2_CACHE
1314 bool "Enable L2 cache support"
1315
Tom Rini1e7750f2022-06-16 14:04:34 -04001316if HETROGENOUS_CLUSTERS
1317
1318config SYS_MAPLE
1319 def_bool y
1320
1321config SYS_CPRI
1322 def_bool y
1323
1324config PPC_CLUSTER_START
1325 int
1326 default 0
1327
1328config DSP_CLUSTER_START
1329 int
1330 default 1
1331
1332config SYS_CPRI_CLK
1333 int
1334 default 3
1335
1336config SYS_ULB_CLK
1337 int
1338 default 4
1339
1340config SYS_ETVPE_CLK
1341 int
1342 default 1
Tom Rini3a581af2022-12-02 16:42:21 -05001343
1344config MAX_DSP_CPUS
1345 int
1346 default 12 if ARCH_B4860
1347 default 2 if ARCH_B4420
Tom Rini1e7750f2022-06-16 14:04:34 -04001348endif
1349
Tom Rini22a22832022-10-28 20:27:00 -04001350config SYS_L2_SIZE_256KB
1351 bool
1352
1353config SYS_L2_SIZE_512KB
1354 bool
1355
1356config SYS_L2_SIZE
1357 int
1358 default 262144 if SYS_L2_SIZE_256KB
1359 default 524288 if SYS_L2_SIZE_512KB
1360
Tom Rinib40d2b22022-03-18 08:38:32 -04001361config BACKSIDE_L2_CACHE
1362 bool
1363
Tom Rinib85d7592022-10-28 20:27:01 -04001364config SYS_L3_SIZE_256KB
1365 bool
1366
1367config SYS_L3_SIZE_512KB
1368 bool
1369
1370config SYS_L3_SIZE_1024KB
1371 bool
1372
1373config SYS_L3_SIZE
1374 int
1375 default 262144 if SYS_L3_SIZE_256KB
1376 default 524288 if SYS_L3_SIZE_512KB
1377 default 1048576 if SYS_L3_SIZE_512KB
1378
York Sun48512782016-12-28 08:43:50 -08001379config SYS_PPC64
1380 bool
1381
York Sun53c95382016-12-28 08:43:29 -08001382config SYS_PPC_E500_USE_DEBUG_TLB
1383 bool
1384
Prabhakar Kushwaha06878972017-02-02 15:01:48 +05301385config FSL_ELBC
1386 bool
1387
York Sun53c95382016-12-28 08:43:29 -08001388config SYS_PPC_E500_DEBUG_TLB
1389 int "Temporary TLB entry for external debugger"
1390 depends on SYS_PPC_E500_USE_DEBUG_TLB
1391 default 0 if ARCH_MPC8544 || ARCH_MPC8548
1392 default 1 if ARCH_MPC8536
Tom Rinied7fe2b2021-05-14 21:34:25 -04001393 default 2 if ARCH_P1011 || \
York Sun53c95382016-12-28 08:43:29 -08001394 ARCH_P1020 || \
1395 ARCH_P1021 || \
York Sun53c95382016-12-28 08:43:29 -08001396 ARCH_P1024 || \
1397 ARCH_P1025 || \
1398 ARCH_P2020
1399 default 3 if ARCH_P1010 || \
1400 ARCH_BSC9132 || \
1401 ARCH_C29X
1402 help
1403 Select a temporary TLB entry to be used during boot to work
1404 around limitations in e500v1 and e500v2 external debugger
1405 support. This reduces the portions of the boot code where
1406 breakpoints and single stepping do not work. The value of this
1407 symbol should be set to the TLB1 entry to be used for this
1408 purpose. If unsure, do not change.
1409
Prabhakar Kushwaha1c407072017-02-02 15:01:26 +05301410config SYS_FSL_IFC_CLK_DIV
1411 int "Divider of platform clock"
1412 depends on FSL_IFC
1413 default 2 if ARCH_B4420 || \
1414 ARCH_B4860 || \
1415 ARCH_T1024 || \
Prabhakar Kushwaha1c407072017-02-02 15:01:26 +05301416 ARCH_T1040 || \
1417 ARCH_T1042 || \
Prabhakar Kushwaha1c407072017-02-02 15:01:26 +05301418 ARCH_T4240
1419 default 1
1420 help
1421 Defines divider of platform clock(clock input to
1422 IFC controller).
1423
Prabhakar Kushwahaadd63f92017-02-02 15:02:00 +05301424config SYS_FSL_LBC_CLK_DIV
1425 int "Divider of platform clock"
1426 depends on FSL_ELBC || ARCH_MPC8540 || \
Tom Rinia8571332021-05-14 21:34:20 -04001427 ARCH_MPC8548 || \
Tom Rini80696892021-05-14 21:34:23 -04001428 ARCH_MPC8560
Prabhakar Kushwahaadd63f92017-02-02 15:02:00 +05301429
1430 default 2 if ARCH_P2041 || \
1431 ARCH_P3041 || \
1432 ARCH_P4080 || \
Prabhakar Kushwahaadd63f92017-02-02 15:02:00 +05301433 ARCH_P5040
1434 default 1
1435
1436 help
1437 Defines divider of platform clock(clock input to
1438 eLBC controller).
1439
Tom Rinifbc36212022-06-15 12:03:45 -04001440config ENABLE_36BIT_PHYS
1441 bool "Enable 36bit physical address space support"
1442
Tom Rini3dab4052022-06-25 11:02:43 -04001443config SYS_BOOK3E_HV
1444 bool "Category E.HV is supported"
1445 depends on BOOKE
1446
Tom Rini6f6b9702022-07-23 13:05:08 -04001447config FSL_CORENET
1448 bool
1449 select SYS_FSL_CPC
1450
Tom Riniff4e87c2022-07-31 21:08:29 -04001451config FSL_NGPIXIS
1452 bool
1453
Tom Rinif6c1f912022-06-25 11:02:45 -04001454config SYS_CPC_REINIT_F
1455 bool
1456 help
1457 The CPC is configured as SRAM at the time of U-Boot entry and is
1458 required to be re-initialized.
1459
1460config SYS_FSL_CPC
Tom Rini6f6b9702022-07-23 13:05:08 -04001461 bool
Tom Rinif6c1f912022-06-25 11:02:45 -04001462
Tom Rini38d091a2022-06-27 13:35:46 -04001463config SYS_CACHE_STASHING
1464 bool "Enable cache stashing"
1465
Tom Rini4143a232022-07-31 21:08:28 -04001466config SYS_FSL_PCIE_COMPAT_P4080_PCIE
1467 bool
1468
1469config SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v22
1470 bool
1471
1472config SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v24
1473 bool
1474
1475config SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v30
1476 bool
1477
1478config SYS_FSL_PCIE_COMPAT
1479 string
1480 depends on FSL_CORENET
1481 default "fsl,p4080-pcie" if SYS_FSL_PCIE_COMPAT_P4080_PCIE
1482 default "fsl,qoriq-pcie-v2.2" if SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v22
1483 default "fsl,qoriq-pcie-v2.4" if SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v24
1484 default "fsl,qoriq-pcie-v3.0" if SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v30
1485 help
1486 Defines the string to utilize when trying to match PCIe device tree
1487 nodes for the given platform.
1488
Tom Riniff4e87c2022-07-31 21:08:29 -04001489config SYS_FSL_SINGLE_SOURCE_CLK
1490 bool
1491
1492config SYS_FSL_SRIO_LIODN
1493 bool
1494
1495config SYS_FSL_TBCLK_DIV
1496 int
1497 default 32 if ARCH_P2041 || ARCH_P3041
1498 default 16 if ARCH_P4080 || ARCH_P5040 || ARCH_T4240 || ARCH_B4860 || \
1499 ARCH_B4420 || ARCH_T1040 || ARCH_T1042 || \
1500 ARCH_T1024 || ARCH_T2080
1501 default 8
1502 help
1503 Defines the core time base clock divider ratio compared to the system
1504 clock. On most PQ3 devices this is 8, on newer QorIQ devices it can
1505 be 16 or 32. The ratio varies from SoC to Soc.
1506
1507config SYS_FSL_USB1_PHY_ENABLE
1508 bool
1509
1510config SYS_FSL_USB2_PHY_ENABLE
1511 bool
1512
1513config SYS_FSL_USB_DUAL_PHY_ENABLE
1514 bool
1515
Tom Rinide47ff52022-06-10 22:59:37 -04001516config SYS_MPC85XX_NO_RESETVEC
1517 bool "Discard resetvec section and move bootpg section up"
1518 depends on MPC85xx
1519 help
1520 If this variable is specified, the section .resetvec is not kept and
1521 the section .bootpg is placed in the previous 4k of the .text section.
1522
1523config SPL_SYS_MPC85XX_NO_RESETVEC
1524 bool "Discard resetvec section and move bootpg section up, in SPL"
1525 depends on MPC85xx && SPL
1526 help
1527 If this variable is specified, the section .resetvec is not kept and
1528 the section .bootpg is placed in the previous 4k of the .text section,
1529 of the SPL portion of the binary.
1530
1531config TPL_SYS_MPC85XX_NO_RESETVEC
1532 bool "Discard resetvec section and move bootpg section up, in TPL"
1533 depends on MPC85xx && TPL
1534 help
1535 If this variable is specified, the section .resetvec is not kept and
1536 the section .bootpg is placed in the previous 4k of the .text section,
1537 of the SPL portion of the binary.
1538
Rajesh Bhagatc8c01702021-02-15 09:46:14 +01001539config FSL_VIA
1540 bool
1541
Bin Meng1d636a02021-02-25 17:22:58 +08001542source "board/emulation/qemu-ppce500/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001543source "board/freescale/mpc8548cds/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001544source "board/freescale/p1010rdb/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001545source "board/freescale/p1_p2_rdb_pc/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001546source "board/freescale/p2041rdb/Kconfig"
Shengzhou Liu48c6f322014-11-24 17:11:56 +08001547source "board/freescale/t102xrdb/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001548source "board/freescale/t104xrdb/Kconfig"
1549source "board/freescale/t208xqds/Kconfig"
1550source "board/freescale/t208xrdb/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001551source "board/freescale/t4rdb/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001552source "board/socrates/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001553
1554endmenu