blob: 6ab8a5249a42dd6df1d31f9cb0f7431ab8981d6e [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 Sun319ed242016-11-21 11:04:34 -0800203config TARGET_T1042D4RDB
204 bool "Support T1042D4RDB"
205 select ARCH_T1042
Tom Rinie5ec4812017-01-22 19:43:11 -0500206 select BOARD_LATE_INIT if CHAIN_OF_TRUST
York Sun319ed242016-11-21 11:04:34 -0800207 select SUPPORT_SPL
208 select PHYS_64BIT
Tom Rinib85d7592022-10-28 20:27:01 -0400209 select SYS_L3_SIZE_256KB
Masahiro Yamada7e3caa82017-12-04 12:37:00 +0900210 imply PANIC_HANG
York Sun319ed242016-11-21 11:04:34 -0800211
York Sun638d5be2016-11-21 12:46:58 -0800212config TARGET_T2080QDS
213 bool "Support T2080QDS"
York Sun0f3d80e2016-11-21 12:54:19 -0800214 select ARCH_T2080
Tom Rinie5ec4812017-01-22 19:43:11 -0500215 select BOARD_LATE_INIT if CHAIN_OF_TRUST
Masahiro Yamada02627352014-10-20 17:45:56 +0900216 select SUPPORT_SPL
Masahiro Yamadabb6b1422016-07-25 19:56:03 +0900217 select PHYS_64BIT
Rajesh Bhagat32413122019-02-01 05:22:01 +0000218 select FSL_DDR_FIRST_SLOT_QUAD_CAPABLE
219 select FSL_DDR_INTERACTIVE
Tom Rinib85d7592022-10-28 20:27:01 -0400220 select SYS_L3_SIZE_512KB
Peng Maa2d4cb22019-12-23 09:28:12 +0000221 imply CMD_SATA
Masahiro Yamadadd840582014-07-30 14:08:14 +0900222
York Sun01671e62016-11-21 12:57:22 -0800223config TARGET_T2080RDB
224 bool "Support T2080RDB"
York Sun0f3d80e2016-11-21 12:54:19 -0800225 select ARCH_T2080
Tom Rinie5ec4812017-01-22 19:43:11 -0500226 select BOARD_LATE_INIT if CHAIN_OF_TRUST
Masahiro Yamada02627352014-10-20 17:45:56 +0900227 select SUPPORT_SPL
Masahiro Yamadabb6b1422016-07-25 19:56:03 +0900228 select PHYS_64BIT
Tom Rinib85d7592022-10-28 20:27:01 -0400229 select SYS_L3_SIZE_512KB
Simon Glass3bf926c2017-06-14 21:28:24 -0600230 imply CMD_SATA
Masahiro Yamada7e3caa82017-12-04 12:37:00 +0900231 imply PANIC_HANG
Masahiro Yamadadd840582014-07-30 14:08:14 +0900232
Masahiro Yamadadd840582014-07-30 14:08:14 +0900233config TARGET_T4240RDB
234 bool "Support T4240RDB"
York Sun26bc57d2016-11-21 13:35:41 -0800235 select ARCH_T4240
Chunhe Lan373762c2015-03-20 17:08:54 +0800236 select SUPPORT_SPL
Masahiro Yamadabb6b1422016-07-25 19:56:03 +0900237 select PHYS_64BIT
Rajesh Bhagat32413122019-02-01 05:22:01 +0000238 select FSL_DDR_FIRST_SLOT_QUAD_CAPABLE
Tom Rinib85d7592022-10-28 20:27:01 -0400239 select SYS_L3_SIZE_512KB
Simon Glass3bf926c2017-06-14 21:28:24 -0600240 imply CMD_SATA
Masahiro Yamada7e3caa82017-12-04 12:37:00 +0900241 imply PANIC_HANG
Masahiro Yamadadd840582014-07-30 14:08:14 +0900242
Masahiro Yamadadd840582014-07-30 14:08:14 +0900243config TARGET_KMP204X
244 bool "Support kmp204x"
Pascal Linderc0fed3a2019-06-18 13:27:47 +0200245 select VENDOR_KM
Masahiro Yamadadd840582014-07-30 14:08:14 +0900246
Niel Fourie37bfd9c2021-01-21 13:19:20 +0100247config TARGET_KMCENT2
248 bool "Support kmcent2"
249 select VENDOR_KM
Tom Rini6f6b9702022-07-23 13:05:08 -0400250 select FSL_CORENET
Tom Rini2db82bf2022-11-16 13:10:34 -0500251 select SYS_DPAA_FMAN
252 select SYS_DPAA_PME
Tom Rinib85d7592022-10-28 20:27:01 -0400253 select SYS_L3_SIZE_256KB
Niel Fourie37bfd9c2021-01-21 13:19:20 +0100254
Masahiro Yamadadd840582014-07-30 14:08:14 +0900255endchoice
256
York Sunb41f1922016-11-18 11:56:57 -0800257config ARCH_B4420
258 bool
York Sunf8dee362016-12-28 08:43:27 -0800259 select E500MC
York Sun9ec10102016-12-28 08:43:48 -0800260 select E6500
Tom Rini6f6b9702022-07-23 13:05:08 -0400261 select FSL_CORENET
York Sun05cb79a2016-12-02 10:44:34 -0800262 select FSL_LAW
Tom Rini1e7750f2022-06-16 14:04:34 -0400263 select HETROGENOUS_CLUSTERS
York Sun22120f12016-12-28 08:43:46 -0800264 select SYS_FSL_DDR_VER_47
York Sun63659ff2016-12-28 08:43:43 -0800265 select SYS_FSL_ERRATUM_A004477
266 select SYS_FSL_ERRATUM_A005871
267 select SYS_FSL_ERRATUM_A006379
268 select SYS_FSL_ERRATUM_A006384
269 select SYS_FSL_ERRATUM_A006475
270 select SYS_FSL_ERRATUM_A006593
271 select SYS_FSL_ERRATUM_A007075
Tom Rini601483f2022-06-16 14:04:40 -0400272 select SYS_FSL_ERRATUM_A007186 if CHAIN_OF_TRUST
York Sun63659ff2016-12-28 08:43:43 -0800273 select SYS_FSL_ERRATUM_A007212
274 select SYS_FSL_ERRATUM_A009942
York Sund26e34c2016-12-28 08:43:40 -0800275 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800276 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800277 select SYS_FSL_QORIQ_CHASSIS2
Tom Rini4143a232022-07-31 21:08:28 -0400278 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v24
York Sun90b80382016-12-28 08:43:31 -0800279 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800280 select SYS_FSL_SEC_COMPAT_4
Tom Riniff4e87c2022-07-31 21:08:29 -0400281 select SYS_FSL_QMAN_V3 if SYS_DPAA_QBMAN
282 select SYS_FSL_USB1_PHY_ENABLE
York Sun48512782016-12-28 08:43:50 -0800283 select SYS_PPC64
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530284 select FSL_IFC
Simon Glassa1dc9802017-05-17 03:25:10 -0600285 imply CMD_EEPROM
Tom Rini8f1a80e2017-07-28 21:31:42 -0400286 imply CMD_NAND
Christophe Leroyfa379222017-08-04 16:34:40 -0600287 imply CMD_REGINFO
York Sunb41f1922016-11-18 11:56:57 -0800288
York Sun3006ebc2016-11-18 11:44:43 -0800289config ARCH_B4860
290 bool
York Sunf8dee362016-12-28 08:43:27 -0800291 select E500MC
York Sun9ec10102016-12-28 08:43:48 -0800292 select E6500
Tom Rini6f6b9702022-07-23 13:05:08 -0400293 select FSL_CORENET
York Sun05cb79a2016-12-02 10:44:34 -0800294 select FSL_LAW
Tom Rini1e7750f2022-06-16 14:04:34 -0400295 select HETROGENOUS_CLUSTERS
York Sun22120f12016-12-28 08:43:46 -0800296 select SYS_FSL_DDR_VER_47
York Sun63659ff2016-12-28 08:43:43 -0800297 select SYS_FSL_ERRATUM_A004477
298 select SYS_FSL_ERRATUM_A005871
299 select SYS_FSL_ERRATUM_A006379
300 select SYS_FSL_ERRATUM_A006384
301 select SYS_FSL_ERRATUM_A006475
302 select SYS_FSL_ERRATUM_A006593
303 select SYS_FSL_ERRATUM_A007075
Tom Rini601483f2022-06-16 14:04:40 -0400304 select SYS_FSL_ERRATUM_A007186 if CHAIN_OF_TRUST
York Sun63659ff2016-12-28 08:43:43 -0800305 select SYS_FSL_ERRATUM_A007212
Darwin Dingel06ad9702016-10-25 09:48:01 +1300306 select SYS_FSL_ERRATUM_A007907
York Sun63659ff2016-12-28 08:43:43 -0800307 select SYS_FSL_ERRATUM_A009942
York Sund26e34c2016-12-28 08:43:40 -0800308 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800309 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800310 select SYS_FSL_QORIQ_CHASSIS2
Tom Rini4143a232022-07-31 21:08:28 -0400311 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v24
York Sun90b80382016-12-28 08:43:31 -0800312 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800313 select SYS_FSL_SEC_COMPAT_4
Tom Riniff4e87c2022-07-31 21:08:29 -0400314 select SYS_FSL_SRIO_LIODN
315 select SYS_FSL_QMAN_V3 if SYS_DPAA_QBMAN
316 select SYS_FSL_USB1_PHY_ENABLE
York Sun48512782016-12-28 08:43:50 -0800317 select SYS_PPC64
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530318 select FSL_IFC
Simon Glassa1dc9802017-05-17 03:25:10 -0600319 imply CMD_EEPROM
Tom Rini8f1a80e2017-07-28 21:31:42 -0400320 imply CMD_NAND
Christophe Leroyfa379222017-08-04 16:34:40 -0600321 imply CMD_REGINFO
York Sun3006ebc2016-11-18 11:44:43 -0800322
York Sun115d60c2016-11-15 14:09:50 -0800323config ARCH_BSC9131
324 bool
York Sun05cb79a2016-12-02 10:44:34 -0800325 select FSL_LAW
York Sun22120f12016-12-28 08:43:46 -0800326 select SYS_FSL_DDR_VER_44
York Sun63659ff2016-12-28 08:43:43 -0800327 select SYS_FSL_ERRATUM_A004477
328 select SYS_FSL_ERRATUM_A005125
York Sunc01e4a12016-12-28 08:43:42 -0800329 select SYS_FSL_ERRATUM_ESDHC111
York Sund26e34c2016-12-28 08:43:40 -0800330 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800331 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800332 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800333 select SYS_FSL_SEC_COMPAT_4
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530334 select FSL_IFC
Simon Glassa1dc9802017-05-17 03:25:10 -0600335 imply CMD_EEPROM
Tom Rini8f1a80e2017-07-28 21:31:42 -0400336 imply CMD_NAND
Christophe Leroyfa379222017-08-04 16:34:40 -0600337 imply CMD_REGINFO
York Sun115d60c2016-11-15 14:09:50 -0800338
339config ARCH_BSC9132
340 bool
York Sun05cb79a2016-12-02 10:44:34 -0800341 select FSL_LAW
York Sun22120f12016-12-28 08:43:46 -0800342 select SYS_FSL_DDR_VER_46
York Sun63659ff2016-12-28 08:43:43 -0800343 select SYS_FSL_ERRATUM_A004477
344 select SYS_FSL_ERRATUM_A005125
345 select SYS_FSL_ERRATUM_A005434
York Sunc01e4a12016-12-28 08:43:42 -0800346 select SYS_FSL_ERRATUM_ESDHC111
York Sun63659ff2016-12-28 08:43:43 -0800347 select SYS_FSL_ERRATUM_I2C_A004447
348 select SYS_FSL_ERRATUM_IFC_A002769
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800349 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800350 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800351 select SYS_FSL_HAS_SEC
Tom Rini4143a232022-07-31 21:08:28 -0400352 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v22
York Sun90b80382016-12-28 08:43:31 -0800353 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800354 select SYS_FSL_SEC_COMPAT_4
York Sun53c95382016-12-28 08:43:29 -0800355 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530356 select FSL_IFC
Simon Glassa1dc9802017-05-17 03:25:10 -0600357 imply CMD_EEPROM
Tom Rinid56b4b12017-07-22 18:36:16 -0400358 imply CMD_MTDPARTS
Tom Rini8f1a80e2017-07-28 21:31:42 -0400359 imply CMD_NAND
Simon Glass6500ec72017-08-04 16:34:34 -0600360 imply CMD_PCI
Christophe Leroyfa379222017-08-04 16:34:40 -0600361 imply CMD_REGINFO
York Sun115d60c2016-11-15 14:09:50 -0800362
York Sun4fd64742016-11-15 18:44:22 -0800363config ARCH_C29X
364 bool
York Sun05cb79a2016-12-02 10:44:34 -0800365 select FSL_LAW
York Sun22120f12016-12-28 08:43:46 -0800366 select SYS_FSL_DDR_VER_46
York Sun63659ff2016-12-28 08:43:43 -0800367 select SYS_FSL_ERRATUM_A005125
York Sunc01e4a12016-12-28 08:43:42 -0800368 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800369 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800370 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800371 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800372 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800373 select SYS_FSL_SEC_COMPAT_6
York Sun53c95382016-12-28 08:43:29 -0800374 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530375 select FSL_IFC
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 Sun4fd64742016-11-15 18:44:22 -0800379
York Sun24ad75a2016-11-16 11:06:47 -0800380config ARCH_MPC8536
381 bool
York Sun05cb79a2016-12-02 10:44:34 -0800382 select FSL_LAW
York Sun63659ff2016-12-28 08:43:43 -0800383 select SYS_FSL_ERRATUM_A004508
384 select SYS_FSL_ERRATUM_A005125
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800385 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800386 select SYS_FSL_HAS_DDR2
387 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_2
York Sun53c95382016-12-28 08:43:29 -0800391 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530392 select FSL_ELBC
Tom Rini8f1a80e2017-07-28 21:31:42 -0400393 imply CMD_NAND
Simon Glass3bf926c2017-06-14 21:28:24 -0600394 imply CMD_SATA
Christophe Leroyfa379222017-08-04 16:34:40 -0600395 imply CMD_REGINFO
York Sun24ad75a2016-11-16 11:06:47 -0800396
York Sun7f825212016-11-16 11:13:06 -0800397config ARCH_MPC8540
398 bool
York Sun05cb79a2016-12-02 10:44:34 -0800399 select FSL_LAW
York Sund26e34c2016-12-28 08:43:40 -0800400 select SYS_FSL_HAS_DDR1
York Sun7f825212016-11-16 11:13:06 -0800401
York Sun25cb74b2016-11-15 13:57:15 -0800402config ARCH_MPC8544
403 bool
Tom Rinia3041d92022-02-23 12:28:15 -0500404 select BTB
York Sun05cb79a2016-12-02 10:44:34 -0800405 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400406 select SYS_CACHE_SHIFT_5
York Sun63659ff2016-12-28 08:43:43 -0800407 select SYS_FSL_ERRATUM_A005125
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800408 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800409 select SYS_FSL_HAS_DDR2
York Sun2c2e2c92016-12-28 08:43:30 -0800410 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800411 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800412 select SYS_FSL_SEC_COMPAT_2
York Sun53c95382016-12-28 08:43:29 -0800413 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530414 select FSL_ELBC
York Sun25cb74b2016-11-15 13:57:15 -0800415
York Sun281ed4c2016-11-15 13:52:34 -0800416config ARCH_MPC8548
417 bool
Tom Rinia3041d92022-02-23 12:28:15 -0500418 select BTB
York Sun05cb79a2016-12-02 10:44:34 -0800419 select FSL_LAW
York Sun63659ff2016-12-28 08:43:43 -0800420 select SYS_FSL_ERRATUM_A005125
421 select SYS_FSL_ERRATUM_NMG_DDR120
422 select SYS_FSL_ERRATUM_NMG_LBC103
423 select SYS_FSL_ERRATUM_NMG_ETSEC129
424 select SYS_FSL_ERRATUM_I2C_A004447
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
427 select SYS_FSL_HAS_DDR1
York Sun2c2e2c92016-12-28 08:43:30 -0800428 select SYS_FSL_HAS_SEC
Tom Riniff4e87c2022-07-31 21:08:29 -0400429 select SYS_FSL_RMU
York Sun90b80382016-12-28 08:43:31 -0800430 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800431 select SYS_FSL_SEC_COMPAT_2
York Sun53c95382016-12-28 08:43:29 -0800432 select SYS_PPC_E500_USE_DEBUG_TLB
Christophe Leroyfa379222017-08-04 16:34:40 -0600433 imply CMD_REGINFO
York Sun281ed4c2016-11-15 13:52:34 -0800434
York Sun99d0a312016-11-16 11:26:45 -0800435config ARCH_MPC8560
436 bool
York Sun05cb79a2016-12-02 10:44:34 -0800437 select FSL_LAW
York Sund26e34c2016-12-28 08:43:40 -0800438 select SYS_FSL_HAS_DDR1
York Sun99d0a312016-11-16 11:26:45 -0800439
York Sun7d5f9f82016-11-16 13:08:52 -0800440config ARCH_P1010
441 bool
Tom Rinifdd0da42022-03-11 09:11:59 -0500442 select A003399_NOR_WORKAROUND if SYS_FSL_ERRATUM_IFC_A003399 && !SPL
Tom Rinia3041d92022-02-23 12:28:15 -0500443 select BTB
York Sun05cb79a2016-12-02 10:44:34 -0800444 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400445 select SYS_CACHE_SHIFT_5
Tom Rinif76750d2021-12-11 14:55:51 -0500446 select SYS_HAS_SERDES
York Sun63659ff2016-12-28 08:43:43 -0800447 select SYS_FSL_ERRATUM_A004477
448 select SYS_FSL_ERRATUM_A004508
449 select SYS_FSL_ERRATUM_A005125
Chris Packham4eaf7f52018-10-04 20:03:53 +1300450 select SYS_FSL_ERRATUM_A005275
York Sun63659ff2016-12-28 08:43:43 -0800451 select SYS_FSL_ERRATUM_A006261
452 select SYS_FSL_ERRATUM_A007075
York Sunc01e4a12016-12-28 08:43:42 -0800453 select SYS_FSL_ERRATUM_ESDHC111
York Sun63659ff2016-12-28 08:43:43 -0800454 select SYS_FSL_ERRATUM_I2C_A004447
455 select SYS_FSL_ERRATUM_IFC_A002769
456 select SYS_FSL_ERRATUM_P1010_A003549
457 select SYS_FSL_ERRATUM_SEC_A003571
458 select SYS_FSL_ERRATUM_IFC_A003399
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800459 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800460 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800461 select SYS_FSL_HAS_SEC
Tom Rini4143a232022-07-31 21:08:28 -0400462 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v22
York Sun90b80382016-12-28 08:43:31 -0800463 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800464 select SYS_FSL_SEC_COMPAT_4
Tom Riniff4e87c2022-07-31 21:08:29 -0400465 select SYS_FSL_USB1_PHY_ENABLE
York Sun53c95382016-12-28 08:43:29 -0800466 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530467 select FSL_IFC
Simon Glassa1dc9802017-05-17 03:25:10 -0600468 imply CMD_EEPROM
Tom Rinid56b4b12017-07-22 18:36:16 -0400469 imply CMD_MTDPARTS
Tom Rini8f1a80e2017-07-28 21:31:42 -0400470 imply CMD_NAND
Simon Glass3bf926c2017-06-14 21:28:24 -0600471 imply CMD_SATA
Simon Glass6500ec72017-08-04 16:34:34 -0600472 imply CMD_PCI
Christophe Leroyfa379222017-08-04 16:34:40 -0600473 imply CMD_REGINFO
Tuomas Tynkkynen9920d152017-12-08 15:36:17 +0200474 imply FSL_SATA
Simon Glassd6b318d2021-12-18 11:27:50 -0700475 imply TIMESTAMP
York Sun7d5f9f82016-11-16 13:08:52 -0800476
York Sun1cdd96f2016-11-16 15:54:15 -0800477config ARCH_P1011
478 bool
York Sun05cb79a2016-12-02 10:44:34 -0800479 select FSL_LAW
York Sun63659ff2016-12-28 08:43:43 -0800480 select SYS_FSL_ERRATUM_A004508
481 select SYS_FSL_ERRATUM_A005125
482 select SYS_FSL_ERRATUM_ELBC_A001
York Sunc01e4a12016-12-28 08:43:42 -0800483 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiangc16dfd02019-05-22 22:46:03 +0800484 select FSL_PCIE_DISABLE_ASPM
York Sund26e34c2016-12-28 08:43:40 -0800485 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800486 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800487 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800488 select SYS_FSL_SEC_COMPAT_2
York Sun53c95382016-12-28 08:43:29 -0800489 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530490 select FSL_ELBC
York Sun1cdd96f2016-11-16 15:54:15 -0800491
York Sun484fff62016-11-18 10:02:14 -0800492config ARCH_P1020
493 bool
Tom Rinia3041d92022-02-23 12:28:15 -0500494 select BTB
York Sun05cb79a2016-12-02 10:44:34 -0800495 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400496 select SYS_CACHE_SHIFT_5
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
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800502 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800503 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800504 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800505 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800506 select SYS_FSL_SEC_COMPAT_2
York Sun53c95382016-12-28 08:43:29 -0800507 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530508 select FSL_ELBC
Tom Rini8f1a80e2017-07-28 21:31:42 -0400509 imply CMD_NAND
Simon Glass3bf926c2017-06-14 21:28:24 -0600510 imply CMD_SATA
Simon Glass6500ec72017-08-04 16:34:34 -0600511 imply CMD_PCI
Christophe Leroyfa379222017-08-04 16:34:40 -0600512 imply CMD_REGINFO
Tuomas Tynkkynenc88ecf42017-12-08 15:36:14 +0200513 imply SATA_SIL
York Sun484fff62016-11-18 10:02:14 -0800514
York Suna9907992016-11-18 10:59:02 -0800515config ARCH_P1021
516 bool
York Sun05cb79a2016-12-02 10:44:34 -0800517 select FSL_LAW
York Sun63659ff2016-12-28 08:43:43 -0800518 select SYS_FSL_ERRATUM_A004508
519 select SYS_FSL_ERRATUM_A005125
520 select SYS_FSL_ERRATUM_ELBC_A001
York Sunc01e4a12016-12-28 08:43:42 -0800521 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiangc16dfd02019-05-22 22:46:03 +0800522 select FSL_PCIE_DISABLE_ASPM
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800523 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800524 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800525 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800526 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800527 select SYS_FSL_SEC_COMPAT_2
York Sun53c95382016-12-28 08:43:29 -0800528 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530529 select FSL_ELBC
Christophe Leroyfa379222017-08-04 16:34:40 -0600530 imply CMD_REGINFO
Tom Rini8f1a80e2017-07-28 21:31:42 -0400531 imply CMD_NAND
Simon Glass3bf926c2017-06-14 21:28:24 -0600532 imply CMD_SATA
Christophe Leroyfa379222017-08-04 16:34:40 -0600533 imply CMD_REGINFO
Tuomas Tynkkynenc88ecf42017-12-08 15:36:14 +0200534 imply SATA_SIL
York Suna9907992016-11-18 10:59:02 -0800535
York Sun9bb1d6b2016-11-16 15:45:31 -0800536config ARCH_P1023
537 bool
York Sun05cb79a2016-12-02 10:44:34 -0800538 select FSL_LAW
York Sun63659ff2016-12-28 08:43:43 -0800539 select SYS_FSL_ERRATUM_A004508
540 select SYS_FSL_ERRATUM_A005125
541 select SYS_FSL_ERRATUM_I2C_A004447
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800542 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800543 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800544 select SYS_FSL_HAS_SEC
Tom Rini4143a232022-07-31 21:08:28 -0400545 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v22
York Sun90b80382016-12-28 08:43:31 -0800546 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800547 select SYS_FSL_SEC_COMPAT_4
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530548 select FSL_ELBC
York Sun9bb1d6b2016-11-16 15:45:31 -0800549
York Sun52b6f132016-11-18 11:00:57 -0800550config ARCH_P1024
551 bool
York Sun05cb79a2016-12-02 10:44:34 -0800552 select FSL_LAW
York Sun63659ff2016-12-28 08:43:43 -0800553 select SYS_FSL_ERRATUM_A004508
554 select SYS_FSL_ERRATUM_A005125
555 select SYS_FSL_ERRATUM_ELBC_A001
York Sunc01e4a12016-12-28 08:43:42 -0800556 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiangc16dfd02019-05-22 22:46:03 +0800557 select FSL_PCIE_DISABLE_ASPM
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800558 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800559 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800560 select SYS_FSL_HAS_SEC
Tom Riniff4e87c2022-07-31 21:08:29 -0400561 select SYS_FSL_RMU
York Sun90b80382016-12-28 08:43:31 -0800562 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800563 select SYS_FSL_SEC_COMPAT_2
York Sun53c95382016-12-28 08:43:29 -0800564 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530565 select FSL_ELBC
Simon Glassa1dc9802017-05-17 03:25:10 -0600566 imply CMD_EEPROM
Tom Rini8f1a80e2017-07-28 21:31:42 -0400567 imply CMD_NAND
Simon Glass3bf926c2017-06-14 21:28:24 -0600568 imply CMD_SATA
Simon Glass6500ec72017-08-04 16:34:34 -0600569 imply CMD_PCI
Christophe Leroyfa379222017-08-04 16:34:40 -0600570 imply CMD_REGINFO
Tuomas Tynkkynenc88ecf42017-12-08 15:36:14 +0200571 imply SATA_SIL
York Sun52b6f132016-11-18 11:00:57 -0800572
York Sun4167a672016-11-18 11:05:38 -0800573config ARCH_P1025
574 bool
York Sun05cb79a2016-12-02 10:44:34 -0800575 select FSL_LAW
York Sun63659ff2016-12-28 08:43:43 -0800576 select SYS_FSL_ERRATUM_A004508
577 select SYS_FSL_ERRATUM_A005125
578 select SYS_FSL_ERRATUM_ELBC_A001
York Sunc01e4a12016-12-28 08:43:42 -0800579 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiangc16dfd02019-05-22 22:46:03 +0800580 select FSL_PCIE_DISABLE_ASPM
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800581 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800582 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800583 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800584 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800585 select SYS_FSL_SEC_COMPAT_2
York Sun53c95382016-12-28 08:43:29 -0800586 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530587 select FSL_ELBC
Simon Glass3bf926c2017-06-14 21:28:24 -0600588 imply CMD_SATA
Christophe Leroyfa379222017-08-04 16:34:40 -0600589 imply CMD_REGINFO
York Sun4167a672016-11-18 11:05:38 -0800590
York Sun45936372016-11-18 11:08:43 -0800591config ARCH_P2020
592 bool
Tom Rinia3041d92022-02-23 12:28:15 -0500593 select BTB
York Sun05cb79a2016-12-02 10:44:34 -0800594 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400595 select SYS_CACHE_SHIFT_5
York Sun63659ff2016-12-28 08:43:43 -0800596 select SYS_FSL_ERRATUM_A004477
597 select SYS_FSL_ERRATUM_A004508
598 select SYS_FSL_ERRATUM_A005125
York Sunc01e4a12016-12-28 08:43:42 -0800599 select SYS_FSL_ERRATUM_ESDHC111
600 select SYS_FSL_ERRATUM_ESDHC_A001
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800601 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800602 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800603 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800604 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800605 select SYS_FSL_SEC_COMPAT_2
York Sun53c95382016-12-28 08:43:29 -0800606 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530607 select FSL_ELBC
Simon Glassa1dc9802017-05-17 03:25:10 -0600608 imply CMD_EEPROM
Tom Rini8f1a80e2017-07-28 21:31:42 -0400609 imply CMD_NAND
Christophe Leroyfa379222017-08-04 16:34:40 -0600610 imply CMD_REGINFO
Simon Glassd6b318d2021-12-18 11:27:50 -0700611 imply TIMESTAMP
York Sun45936372016-11-18 11:08:43 -0800612
York Sunce040c82016-11-18 11:15:21 -0800613config ARCH_P2041
614 bool
Tom Rinib40d2b22022-03-18 08:38:32 -0400615 select BACKSIDE_L2_CACHE
York Sunf8dee362016-12-28 08:43:27 -0800616 select E500MC
York Sun05cb79a2016-12-02 10:44:34 -0800617 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400618 select SYS_CACHE_SHIFT_6
Tom Rini2db82bf2022-11-16 13:10:34 -0500619 select SYS_DPAA_FMAN
620 select SYS_DPAA_PME
621 select SYS_DPAA_RMAN
York Sun63659ff2016-12-28 08:43:43 -0800622 select SYS_FSL_ERRATUM_A004510
623 select SYS_FSL_ERRATUM_A004849
Chris Packham4eaf7f52018-10-04 20:03:53 +1300624 select SYS_FSL_ERRATUM_A005275
York Sun63659ff2016-12-28 08:43:43 -0800625 select SYS_FSL_ERRATUM_A006261
626 select SYS_FSL_ERRATUM_CPU_A003999
627 select SYS_FSL_ERRATUM_DDR_A003
628 select SYS_FSL_ERRATUM_DDR_A003474
York Sunc01e4a12016-12-28 08:43:42 -0800629 select SYS_FSL_ERRATUM_ESDHC111
York Sun63659ff2016-12-28 08:43:43 -0800630 select SYS_FSL_ERRATUM_I2C_A004447
631 select SYS_FSL_ERRATUM_NMG_CPU_A011
632 select SYS_FSL_ERRATUM_SRIO_A004034
633 select SYS_FSL_ERRATUM_USB14
York Sund26e34c2016-12-28 08:43:40 -0800634 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800635 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800636 select SYS_FSL_QORIQ_CHASSIS1
Tom Rini4143a232022-07-31 21:08:28 -0400637 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v22
York Sun90b80382016-12-28 08:43:31 -0800638 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800639 select SYS_FSL_SEC_COMPAT_4
Tom Riniff4e87c2022-07-31 21:08:29 -0400640 select SYS_FSL_USB1_PHY_ENABLE
641 select SYS_FSL_USB2_PHY_ENABLE
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530642 select FSL_ELBC
Tom Rini8f1a80e2017-07-28 21:31:42 -0400643 imply CMD_NAND
York Sunce040c82016-11-18 11:15:21 -0800644
York Sun5e5fdd22016-11-18 11:20:40 -0800645config ARCH_P3041
646 bool
Tom Rinib40d2b22022-03-18 08:38:32 -0400647 select BACKSIDE_L2_CACHE
York Sunf8dee362016-12-28 08:43:27 -0800648 select E500MC
Tom Rini6f6b9702022-07-23 13:05:08 -0400649 select FSL_CORENET
York Sun05cb79a2016-12-02 10:44:34 -0800650 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400651 select SYS_CACHE_SHIFT_6
York Sun22120f12016-12-28 08:43:46 -0800652 select SYS_FSL_DDR_VER_44
York Sun63659ff2016-12-28 08:43:43 -0800653 select SYS_FSL_ERRATUM_A004510
654 select SYS_FSL_ERRATUM_A004849
Chris Packham4eaf7f52018-10-04 20:03:53 +1300655 select SYS_FSL_ERRATUM_A005275
York Sun63659ff2016-12-28 08:43:43 -0800656 select SYS_FSL_ERRATUM_A005812
657 select SYS_FSL_ERRATUM_A006261
658 select SYS_FSL_ERRATUM_CPU_A003999
659 select SYS_FSL_ERRATUM_DDR_A003
660 select SYS_FSL_ERRATUM_DDR_A003474
York Sunc01e4a12016-12-28 08:43:42 -0800661 select SYS_FSL_ERRATUM_ESDHC111
York Sun63659ff2016-12-28 08:43:43 -0800662 select SYS_FSL_ERRATUM_I2C_A004447
663 select SYS_FSL_ERRATUM_NMG_CPU_A011
664 select SYS_FSL_ERRATUM_SRIO_A004034
665 select SYS_FSL_ERRATUM_USB14
York Sund26e34c2016-12-28 08:43:40 -0800666 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800667 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800668 select SYS_FSL_QORIQ_CHASSIS1
Tom Rini4143a232022-07-31 21:08:28 -0400669 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v22
York Sun90b80382016-12-28 08:43:31 -0800670 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800671 select SYS_FSL_SEC_COMPAT_4
Tom Riniff4e87c2022-07-31 21:08:29 -0400672 select SYS_FSL_USB1_PHY_ENABLE
673 select SYS_FSL_USB2_PHY_ENABLE
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530674 select FSL_ELBC
Tom Rini8f1a80e2017-07-28 21:31:42 -0400675 imply CMD_NAND
Simon Glass3bf926c2017-06-14 21:28:24 -0600676 imply CMD_SATA
Christophe Leroyfa379222017-08-04 16:34:40 -0600677 imply CMD_REGINFO
Tuomas Tynkkynen9920d152017-12-08 15:36:17 +0200678 imply FSL_SATA
York Sun5e5fdd22016-11-18 11:20:40 -0800679
York Sune71372c2016-11-18 11:24:40 -0800680config ARCH_P4080
681 bool
Tom Rinib40d2b22022-03-18 08:38:32 -0400682 select BACKSIDE_L2_CACHE
York Sunf8dee362016-12-28 08:43:27 -0800683 select E500MC
Tom Rini6f6b9702022-07-23 13:05:08 -0400684 select FSL_CORENET
York Sun05cb79a2016-12-02 10:44:34 -0800685 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400686 select SYS_CACHE_SHIFT_6
York Sun22120f12016-12-28 08:43:46 -0800687 select SYS_FSL_DDR_VER_44
York Sun63659ff2016-12-28 08:43:43 -0800688 select SYS_FSL_ERRATUM_A004510
689 select SYS_FSL_ERRATUM_A004580
690 select SYS_FSL_ERRATUM_A004849
691 select SYS_FSL_ERRATUM_A005812
692 select SYS_FSL_ERRATUM_A007075
693 select SYS_FSL_ERRATUM_CPC_A002
694 select SYS_FSL_ERRATUM_CPC_A003
695 select SYS_FSL_ERRATUM_CPU_A003999
696 select SYS_FSL_ERRATUM_DDR_A003
697 select SYS_FSL_ERRATUM_DDR_A003474
698 select SYS_FSL_ERRATUM_ELBC_A001
York Sunc01e4a12016-12-28 08:43:42 -0800699 select SYS_FSL_ERRATUM_ESDHC111
700 select SYS_FSL_ERRATUM_ESDHC13
701 select SYS_FSL_ERRATUM_ESDHC135
York Sun63659ff2016-12-28 08:43:43 -0800702 select SYS_FSL_ERRATUM_I2C_A004447
703 select SYS_FSL_ERRATUM_NMG_CPU_A011
704 select SYS_FSL_ERRATUM_SRIO_A004034
Tom Rini4143a232022-07-31 21:08:28 -0400705 select SYS_FSL_PCIE_COMPAT_P4080_PCIE
York Sun63659ff2016-12-28 08:43:43 -0800706 select SYS_P4080_ERRATUM_CPU22
707 select SYS_P4080_ERRATUM_PCIE_A003
708 select SYS_P4080_ERRATUM_SERDES8
709 select SYS_P4080_ERRATUM_SERDES9
710 select SYS_P4080_ERRATUM_SERDES_A001
711 select SYS_P4080_ERRATUM_SERDES_A005
York Sund26e34c2016-12-28 08:43:40 -0800712 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800713 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800714 select SYS_FSL_QORIQ_CHASSIS1
Tom Riniff4e87c2022-07-31 21:08:29 -0400715 select SYS_FSL_RMU
York Sun90b80382016-12-28 08:43:31 -0800716 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800717 select SYS_FSL_SEC_COMPAT_4
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530718 select FSL_ELBC
Simon Glass3bf926c2017-06-14 21:28:24 -0600719 imply CMD_SATA
Christophe Leroyfa379222017-08-04 16:34:40 -0600720 imply CMD_REGINFO
Tuomas Tynkkynenc88ecf42017-12-08 15:36:14 +0200721 imply SATA_SIL
York Sune71372c2016-11-18 11:24:40 -0800722
York Sun95390362016-11-18 11:39:36 -0800723config ARCH_P5040
724 bool
Tom Rinib40d2b22022-03-18 08:38:32 -0400725 select BACKSIDE_L2_CACHE
York Sunf8dee362016-12-28 08:43:27 -0800726 select E500MC
Tom Rini6f6b9702022-07-23 13:05:08 -0400727 select FSL_CORENET
York Sun05cb79a2016-12-02 10:44:34 -0800728 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400729 select SYS_CACHE_SHIFT_6
York Sun22120f12016-12-28 08:43:46 -0800730 select SYS_FSL_DDR_VER_44
York Sun63659ff2016-12-28 08:43:43 -0800731 select SYS_FSL_ERRATUM_A004510
732 select SYS_FSL_ERRATUM_A004699
Chris Packham4eaf7f52018-10-04 20:03:53 +1300733 select SYS_FSL_ERRATUM_A005275
York Sun63659ff2016-12-28 08:43:43 -0800734 select SYS_FSL_ERRATUM_A005812
735 select SYS_FSL_ERRATUM_A006261
736 select SYS_FSL_ERRATUM_DDR_A003
737 select SYS_FSL_ERRATUM_DDR_A003474
York Sunc01e4a12016-12-28 08:43:42 -0800738 select SYS_FSL_ERRATUM_ESDHC111
York Sun63659ff2016-12-28 08:43:43 -0800739 select SYS_FSL_ERRATUM_USB14
York Sund26e34c2016-12-28 08:43:40 -0800740 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800741 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800742 select SYS_FSL_QORIQ_CHASSIS1
Tom Rini4143a232022-07-31 21:08:28 -0400743 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v24
York Sun90b80382016-12-28 08:43:31 -0800744 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800745 select SYS_FSL_SEC_COMPAT_4
Tom Riniff4e87c2022-07-31 21:08:29 -0400746 select SYS_FSL_USB1_PHY_ENABLE
747 select SYS_FSL_USB2_PHY_ENABLE
York Sun48512782016-12-28 08:43:50 -0800748 select SYS_PPC64
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530749 select FSL_ELBC
Simon Glass3bf926c2017-06-14 21:28:24 -0600750 imply CMD_SATA
Christophe Leroyfa379222017-08-04 16:34:40 -0600751 imply CMD_REGINFO
Tuomas Tynkkynen9920d152017-12-08 15:36:17 +0200752 imply FSL_SATA
York Sun95390362016-11-18 11:39:36 -0800753
York Sun10343402016-11-18 12:29:51 -0800754config ARCH_QEMU_E500
755 bool
Tom Riniab92b382021-08-26 11:47:59 -0400756 select SYS_CACHE_SHIFT_5
York Sun10343402016-11-18 12:29:51 -0800757
York Sune5d5f5a2016-11-18 13:01:34 -0800758config ARCH_T1024
759 bool
Tom Rinib40d2b22022-03-18 08:38:32 -0400760 select BACKSIDE_L2_CACHE
York Sunf8dee362016-12-28 08:43:27 -0800761 select E500MC
Tom Rinif2428ac2022-03-24 17:18:01 -0400762 select E5500
Tom Rini6f6b9702022-07-23 13:05:08 -0400763 select FSL_CORENET
York Sun05cb79a2016-12-02 10:44:34 -0800764 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400765 select SYS_CACHE_SHIFT_6
Tom Rini2db82bf2022-11-16 13:10:34 -0500766 select SYS_DPAA_FMAN
York Sun22120f12016-12-28 08:43:46 -0800767 select SYS_FSL_DDR_VER_50
York Sun63659ff2016-12-28 08:43:43 -0800768 select SYS_FSL_ERRATUM_A008378
Jaiprakash Singh164a5af2020-06-02 12:44:02 +0530769 select SYS_FSL_ERRATUM_A008109
York Sun63659ff2016-12-28 08:43:43 -0800770 select SYS_FSL_ERRATUM_A009663
771 select SYS_FSL_ERRATUM_A009942
York Sunc01e4a12016-12-28 08:43:42 -0800772 select SYS_FSL_ERRATUM_ESDHC111
York Sund26e34c2016-12-28 08:43:40 -0800773 select SYS_FSL_HAS_DDR3
774 select SYS_FSL_HAS_DDR4
York Sun2c2e2c92016-12-28 08:43:30 -0800775 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800776 select SYS_FSL_QORIQ_CHASSIS2
Tom Rini4143a232022-07-31 21:08:28 -0400777 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v24
York Sun90b80382016-12-28 08:43:31 -0800778 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800779 select SYS_FSL_SEC_COMPAT_5
Tom Riniff4e87c2022-07-31 21:08:29 -0400780 select SYS_FSL_SINGLE_SOURCE_CLK
781 select SYS_FSL_QMAN_V3 if SYS_DPAA_QBMAN
782 select SYS_FSL_USB_DUAL_PHY_ENABLE
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530783 select FSL_IFC
Simon Glassa1dc9802017-05-17 03:25:10 -0600784 imply CMD_EEPROM
Tom Rini8f1a80e2017-07-28 21:31:42 -0400785 imply CMD_NAND
Tom Rinid56b4b12017-07-22 18:36:16 -0400786 imply CMD_MTDPARTS
Christophe Leroyfa379222017-08-04 16:34:40 -0600787 imply CMD_REGINFO
York Sune5d5f5a2016-11-18 13:01:34 -0800788
York Sun5d737012016-11-18 13:11:12 -0800789config ARCH_T1040
790 bool
Tom Rinib40d2b22022-03-18 08:38:32 -0400791 select BACKSIDE_L2_CACHE
York Sunf8dee362016-12-28 08:43:27 -0800792 select E500MC
Tom Rinif2428ac2022-03-24 17:18:01 -0400793 select E5500
Tom Rini6f6b9702022-07-23 13:05:08 -0400794 select FSL_CORENET
York Sun05cb79a2016-12-02 10:44:34 -0800795 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400796 select SYS_CACHE_SHIFT_6
Tom Rini2db82bf2022-11-16 13:10:34 -0500797 select SYS_DPAA_FMAN
798 select SYS_DPAA_PME
York Sun22120f12016-12-28 08:43:46 -0800799 select SYS_FSL_DDR_VER_50
York Sun63659ff2016-12-28 08:43:43 -0800800 select SYS_FSL_ERRATUM_A008044
801 select SYS_FSL_ERRATUM_A008378
Joakim Tjernlund73af0942019-11-20 17:07:34 +0100802 select SYS_FSL_ERRATUM_A008109
York Sun63659ff2016-12-28 08:43:43 -0800803 select SYS_FSL_ERRATUM_A009663
804 select SYS_FSL_ERRATUM_A009942
York Sunc01e4a12016-12-28 08:43:42 -0800805 select SYS_FSL_ERRATUM_ESDHC111
York Sund26e34c2016-12-28 08:43:40 -0800806 select SYS_FSL_HAS_DDR3
807 select SYS_FSL_HAS_DDR4
York Sun2c2e2c92016-12-28 08:43:30 -0800808 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800809 select SYS_FSL_QORIQ_CHASSIS2
Tom Rini4143a232022-07-31 21:08:28 -0400810 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v24
York Sun90b80382016-12-28 08:43:31 -0800811 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800812 select SYS_FSL_SEC_COMPAT_5
Tom Riniff4e87c2022-07-31 21:08:29 -0400813 select SYS_FSL_SINGLE_SOURCE_CLK
814 select SYS_FSL_QMAN_V3 if SYS_DPAA_QBMAN
815 select SYS_FSL_USB_DUAL_PHY_ENABLE
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530816 select FSL_IFC
Tom Rinid56b4b12017-07-22 18:36:16 -0400817 imply CMD_MTDPARTS
Tom Rini8f1a80e2017-07-28 21:31:42 -0400818 imply CMD_NAND
Christophe Leroyfa379222017-08-04 16:34:40 -0600819 imply CMD_REGINFO
York Sun5d737012016-11-18 13:11:12 -0800820
York Sun5449c982016-11-18 13:36:39 -0800821config ARCH_T1042
822 bool
Tom Rinib40d2b22022-03-18 08:38:32 -0400823 select BACKSIDE_L2_CACHE
York Sunf8dee362016-12-28 08:43:27 -0800824 select E500MC
Tom Rinif2428ac2022-03-24 17:18:01 -0400825 select E5500
Tom Rini6f6b9702022-07-23 13:05:08 -0400826 select FSL_CORENET
York Sun05cb79a2016-12-02 10:44:34 -0800827 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400828 select SYS_CACHE_SHIFT_6
Tom Rini2db82bf2022-11-16 13:10:34 -0500829 select SYS_DPAA_FMAN
830 select SYS_DPAA_PME
York Sun22120f12016-12-28 08:43:46 -0800831 select SYS_FSL_DDR_VER_50
York Sun63659ff2016-12-28 08:43:43 -0800832 select SYS_FSL_ERRATUM_A008044
833 select SYS_FSL_ERRATUM_A008378
Joakim Tjernlund73af0942019-11-20 17:07:34 +0100834 select SYS_FSL_ERRATUM_A008109
York Sun63659ff2016-12-28 08:43:43 -0800835 select SYS_FSL_ERRATUM_A009663
836 select SYS_FSL_ERRATUM_A009942
York Sunc01e4a12016-12-28 08:43:42 -0800837 select SYS_FSL_ERRATUM_ESDHC111
York Sund26e34c2016-12-28 08:43:40 -0800838 select SYS_FSL_HAS_DDR3
839 select SYS_FSL_HAS_DDR4
York Sun2c2e2c92016-12-28 08:43:30 -0800840 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800841 select SYS_FSL_QORIQ_CHASSIS2
Tom Rini4143a232022-07-31 21:08:28 -0400842 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v24
York Sun90b80382016-12-28 08:43:31 -0800843 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800844 select SYS_FSL_SEC_COMPAT_5
Tom Riniff4e87c2022-07-31 21:08:29 -0400845 select SYS_FSL_SINGLE_SOURCE_CLK
846 select SYS_FSL_QMAN_V3 if SYS_DPAA_QBMAN
847 select SYS_FSL_USB_DUAL_PHY_ENABLE
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530848 select FSL_IFC
Tom Rinid56b4b12017-07-22 18:36:16 -0400849 imply CMD_MTDPARTS
Tom Rini8f1a80e2017-07-28 21:31:42 -0400850 imply CMD_NAND
Christophe Leroyfa379222017-08-04 16:34:40 -0600851 imply CMD_REGINFO
York Sun5449c982016-11-18 13:36:39 -0800852
York Sun0f3d80e2016-11-21 12:54:19 -0800853config ARCH_T2080
854 bool
York Sunf8dee362016-12-28 08:43:27 -0800855 select E500MC
York Sun9ec10102016-12-28 08:43:48 -0800856 select E6500
Tom Rini6f6b9702022-07-23 13:05:08 -0400857 select FSL_CORENET
York Sun05cb79a2016-12-02 10:44:34 -0800858 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400859 select SYS_CACHE_SHIFT_6
Tom Rini2db82bf2022-11-16 13:10:34 -0500860 select SYS_DPAA_DCE if !NOBQFMAN
861 select SYS_DPAA_FMAN if !NOBQFMAN
862 select SYS_DPAA_PME if !NOBQFMAN
863 select SYS_DPAA_RMAN if !NOBQFMAN
York Sun22120f12016-12-28 08:43:46 -0800864 select SYS_FSL_DDR_VER_47
York Sun63659ff2016-12-28 08:43:43 -0800865 select SYS_FSL_ERRATUM_A006379
866 select SYS_FSL_ERRATUM_A006593
Tom Rini601483f2022-06-16 14:04:40 -0400867 select SYS_FSL_ERRATUM_A007186 if CHAIN_OF_TRUST
York Sun63659ff2016-12-28 08:43:43 -0800868 select SYS_FSL_ERRATUM_A007212
Tony O'Brien09bfd962016-12-02 09:22:34 +1300869 select SYS_FSL_ERRATUM_A007815
Darwin Dingel06ad9702016-10-25 09:48:01 +1300870 select SYS_FSL_ERRATUM_A007907
Jaiprakash Singh164a5af2020-06-02 12:44:02 +0530871 select SYS_FSL_ERRATUM_A008109
York Sun63659ff2016-12-28 08:43:43 -0800872 select SYS_FSL_ERRATUM_A009942
York Sunc01e4a12016-12-28 08:43:42 -0800873 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800874 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800875 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800876 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800877 select SYS_FSL_QORIQ_CHASSIS2
Tom Rini4143a232022-07-31 21:08:28 -0400878 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v30
York Sun90b80382016-12-28 08:43:31 -0800879 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800880 select SYS_FSL_SEC_COMPAT_4
Tom Riniff4e87c2022-07-31 21:08:29 -0400881 select SYS_FSL_SRIO_LIODN
882 select SYS_FSL_QMAN_V3 if SYS_DPAA_QBMAN
883 select SYS_FSL_USB_DUAL_PHY_ENABLE
Tom Rini2db82bf2022-11-16 13:10:34 -0500884 select SYS_PMAN if !NOBQFMAN
York Sun48512782016-12-28 08:43:50 -0800885 select SYS_PPC64
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530886 select FSL_IFC
Peng Maa2d4cb22019-12-23 09:28:12 +0000887 imply CMD_SATA
Tom Rini8f1a80e2017-07-28 21:31:42 -0400888 imply CMD_NAND
Christophe Leroyfa379222017-08-04 16:34:40 -0600889 imply CMD_REGINFO
Peng Maa2d4cb22019-12-23 09:28:12 +0000890 imply FSL_SATA
Tom Rinid7d40f62021-08-17 17:59:41 -0400891 imply ID_EEPROM
York Sun0f3d80e2016-11-21 12:54:19 -0800892
York Sun26bc57d2016-11-21 13:35:41 -0800893config ARCH_T4240
894 bool
York Sunf8dee362016-12-28 08:43:27 -0800895 select E500MC
York Sun9ec10102016-12-28 08:43:48 -0800896 select E6500
Tom Rini6f6b9702022-07-23 13:05:08 -0400897 select FSL_CORENET
York Sun05cb79a2016-12-02 10:44:34 -0800898 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400899 select SYS_CACHE_SHIFT_6
Tom Rini2db82bf2022-11-16 13:10:34 -0500900 select SYS_DPAA_DCE if !NOBQFMAN
901 select SYS_DPAA_FMAN if !NOBQFMAN
902 select SYS_DPAA_PME if !NOBQFMAN
903 select SYS_DPAA_RMAN if !NOBQFMAN
York Sun22120f12016-12-28 08:43:46 -0800904 select SYS_FSL_DDR_VER_47
York Sun63659ff2016-12-28 08:43:43 -0800905 select SYS_FSL_ERRATUM_A004468
906 select SYS_FSL_ERRATUM_A005871
907 select SYS_FSL_ERRATUM_A006261
908 select SYS_FSL_ERRATUM_A006379
909 select SYS_FSL_ERRATUM_A006593
Tom Rini601483f2022-06-16 14:04:40 -0400910 select SYS_FSL_ERRATUM_A007186 if CHAIN_OF_TRUST
York Sun63659ff2016-12-28 08:43:43 -0800911 select SYS_FSL_ERRATUM_A007798
Tony O'Brien09bfd962016-12-02 09:22:34 +1300912 select SYS_FSL_ERRATUM_A007815
Darwin Dingel06ad9702016-10-25 09:48:01 +1300913 select SYS_FSL_ERRATUM_A007907
Jaiprakash Singh164a5af2020-06-02 12:44:02 +0530914 select SYS_FSL_ERRATUM_A008109
York Sun63659ff2016-12-28 08:43:43 -0800915 select SYS_FSL_ERRATUM_A009942
York Sund26e34c2016-12-28 08:43:40 -0800916 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800917 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800918 select SYS_FSL_QORIQ_CHASSIS2
Tom Rini4143a232022-07-31 21:08:28 -0400919 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v30
York Sun90b80382016-12-28 08:43:31 -0800920 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800921 select SYS_FSL_SEC_COMPAT_4
Tom Riniff4e87c2022-07-31 21:08:29 -0400922 select SYS_FSL_SRIO_LIODN
923 select SYS_FSL_QMAN_V3 if SYS_DPAA_QBMAN
924 select SYS_FSL_USB_DUAL_PHY_ENABLE
Tom Rini2db82bf2022-11-16 13:10:34 -0500925 select SYS_PMAN if !NOBQFMAN
York Sun48512782016-12-28 08:43:50 -0800926 select SYS_PPC64
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530927 select FSL_IFC
Simon Glass3bf926c2017-06-14 21:28:24 -0600928 imply CMD_SATA
Tom Rini8f1a80e2017-07-28 21:31:42 -0400929 imply CMD_NAND
Christophe Leroyfa379222017-08-04 16:34:40 -0600930 imply CMD_REGINFO
Tuomas Tynkkynen9920d152017-12-08 15:36:17 +0200931 imply FSL_SATA
York Sun05cb79a2016-12-02 10:44:34 -0800932
Jagdish Gediya96699f02018-09-03 21:35:10 +0530933config MPC85XX_HAVE_RESET_VECTOR
Tom Rini3db78c82022-12-04 10:13:40 -0500934 bool "Indicate reset vector at CFG_RESET_VECTOR_ADDRESS - 0xffc"
Jagdish Gediya96699f02018-09-03 21:35:10 +0530935 depends on MPC85xx
936
Tom Rinia3041d92022-02-23 12:28:15 -0500937config BTB
938 bool "toggle branch predition"
939
York Sunf8dee362016-12-28 08:43:27 -0800940config BOOKE
941 bool
942 default y
943
944config E500
945 bool
946 default y
947 help
948 Enable PowerPC E500 cores, including e500v1, e500v2, e500mc
949
950config E500MC
951 bool
Tom Rinia3041d92022-02-23 12:28:15 -0500952 select BTB
Simon Glass6500ec72017-08-04 16:34:34 -0600953 imply CMD_PCI
York Sunf8dee362016-12-28 08:43:27 -0800954 help
955 Enble PowerPC E500MC core
956
Tom Rinif2428ac2022-03-24 17:18:01 -0400957config E5500
958 bool
959
York Sun9ec10102016-12-28 08:43:48 -0800960config E6500
961 bool
Tom Rinia3041d92022-02-23 12:28:15 -0500962 select BTB
York Sun9ec10102016-12-28 08:43:48 -0800963 help
964 Enable PowerPC E6500 core
965
Tom Rini2db82bf2022-11-16 13:10:34 -0500966config NOBQFMAN
967 bool
968
York Sun05cb79a2016-12-02 10:44:34 -0800969config FSL_LAW
970 bool
971 help
972 Use Freescale common code for Local Access Window
York Sun26bc57d2016-11-21 13:35:41 -0800973
Tom Rini1e7750f2022-06-16 14:04:34 -0400974config HETROGENOUS_CLUSTERS
975 bool
976
York Sun3f82b562016-11-23 12:30:40 -0800977config MAX_CPUS
978 int "Maximum number of CPUs permitted for MPC85xx"
979 default 12 if ARCH_T4240
Tom Riniec6b37c2021-05-23 10:58:05 -0400980 default 8 if ARCH_P4080
York Sun3f82b562016-11-23 12:30:40 -0800981 default 4 if ARCH_B4860 || \
982 ARCH_P2041 || \
983 ARCH_P3041 || \
984 ARCH_P5040 || \
985 ARCH_T1040 || \
986 ARCH_T1042 || \
Tom Rini2322b952021-02-20 20:06:21 -0500987 ARCH_T2080
York Sun3f82b562016-11-23 12:30:40 -0800988 default 2 if ARCH_B4420 || \
989 ARCH_BSC9132 || \
York Sun3f82b562016-11-23 12:30:40 -0800990 ARCH_P1020 || \
991 ARCH_P1021 || \
York Sun3f82b562016-11-23 12:30:40 -0800992 ARCH_P1023 || \
993 ARCH_P1024 || \
994 ARCH_P1025 || \
995 ARCH_P2020 || \
York Sun3f82b562016-11-23 12:30:40 -0800996 ARCH_T1024
997 default 1
998 help
999 Set this number to the maximum number of possible CPUs in the SoC.
1000 SoCs may have multiple clusters with each cluster may have multiple
1001 ports. If some ports are reserved but higher ports are used for
1002 cores, count the reserved ports. This will allocate enough memory
1003 in spin table to properly handle all cores.
1004
York Sun830fc1b2016-12-01 13:26:06 -08001005config SYS_CCSRBAR_DEFAULT
1006 hex "Default CCSRBAR address"
1007 default 0xff700000 if ARCH_BSC9131 || \
1008 ARCH_BSC9132 || \
1009 ARCH_C29X || \
1010 ARCH_MPC8536 || \
1011 ARCH_MPC8540 || \
York Sun830fc1b2016-12-01 13:26:06 -08001012 ARCH_MPC8544 || \
1013 ARCH_MPC8548 || \
York Sun830fc1b2016-12-01 13:26:06 -08001014 ARCH_MPC8560 || \
York Sun830fc1b2016-12-01 13:26:06 -08001015 ARCH_P1010 || \
1016 ARCH_P1011 || \
1017 ARCH_P1020 || \
1018 ARCH_P1021 || \
York Sun830fc1b2016-12-01 13:26:06 -08001019 ARCH_P1024 || \
1020 ARCH_P1025 || \
1021 ARCH_P2020
1022 default 0xff600000 if ARCH_P1023
1023 default 0xfe000000 if ARCH_B4420 || \
1024 ARCH_B4860 || \
1025 ARCH_P2041 || \
1026 ARCH_P3041 || \
1027 ARCH_P4080 || \
York Sun830fc1b2016-12-01 13:26:06 -08001028 ARCH_P5040 || \
York Sun830fc1b2016-12-01 13:26:06 -08001029 ARCH_T1024 || \
1030 ARCH_T1040 || \
1031 ARCH_T1042 || \
1032 ARCH_T2080 || \
York Sun830fc1b2016-12-01 13:26:06 -08001033 ARCH_T4240
1034 default 0xe0000000 if ARCH_QEMU_E500
1035 help
1036 Default value of CCSRBAR comes from power-on-reset. It
1037 is fixed on each SoC. Some SoCs can have different value
1038 if changed by pre-boot regime. The value here must match
1039 the current value in SoC. If not sure, do not change.
1040
Tom Rini2db82bf2022-11-16 13:10:34 -05001041config SYS_DPAA_PME
1042 bool
1043
1044config SYS_DPAA_DCE
1045 bool
1046
1047config SYS_DPAA_RMAN
1048 bool
1049
Tom Rinifdd0da42022-03-11 09:11:59 -05001050config A003399_NOR_WORKAROUND
1051 bool
1052 help
1053 Enables a workaround for IFC erratum A003399. It is only required
1054 during NOR boot.
1055
Tom Rini5f7c8862022-03-11 09:12:00 -05001056config A008044_WORKAROUND
1057 bool
1058 help
1059 Enables a workaround for T1040/T1042 erratum A008044. It is only
1060 required during NAND boot and valid for Rev 1.0 SoC revision
1061
York Sun63659ff2016-12-28 08:43:43 -08001062config SYS_FSL_ERRATUM_A004468
1063 bool
1064
1065config SYS_FSL_ERRATUM_A004477
1066 bool
1067
1068config SYS_FSL_ERRATUM_A004508
1069 bool
1070
1071config SYS_FSL_ERRATUM_A004580
1072 bool
1073
1074config SYS_FSL_ERRATUM_A004699
1075 bool
1076
1077config SYS_FSL_ERRATUM_A004849
1078 bool
1079
1080config SYS_FSL_ERRATUM_A004510
1081 bool
1082
1083config SYS_FSL_ERRATUM_A004510_SVR_REV
1084 hex
1085 depends on SYS_FSL_ERRATUM_A004510
1086 default 0x20 if ARCH_P4080
1087 default 0x10
1088
1089config SYS_FSL_ERRATUM_A004510_SVR_REV2
1090 hex
1091 depends on (SYS_FSL_ERRATUM_A004510 && (ARCH_P2041 || ARCH_P3041))
1092 default 0x11
1093
1094config SYS_FSL_ERRATUM_A005125
1095 bool
1096
1097config SYS_FSL_ERRATUM_A005434
1098 bool
1099
1100config SYS_FSL_ERRATUM_A005812
1101 bool
1102
1103config SYS_FSL_ERRATUM_A005871
1104 bool
1105
Chris Packham4eaf7f52018-10-04 20:03:53 +13001106config SYS_FSL_ERRATUM_A005275
1107 bool
1108
York Sun63659ff2016-12-28 08:43:43 -08001109config SYS_FSL_ERRATUM_A006261
1110 bool
1111
1112config SYS_FSL_ERRATUM_A006379
1113 bool
1114
1115config SYS_FSL_ERRATUM_A006384
1116 bool
1117
1118config SYS_FSL_ERRATUM_A006475
1119 bool
1120
1121config SYS_FSL_ERRATUM_A006593
1122 bool
1123
1124config SYS_FSL_ERRATUM_A007075
1125 bool
1126
1127config SYS_FSL_ERRATUM_A007186
1128 bool
1129
1130config SYS_FSL_ERRATUM_A007212
1131 bool
1132
Tony O'Brien09bfd962016-12-02 09:22:34 +13001133config SYS_FSL_ERRATUM_A007815
1134 bool
1135
York Sun63659ff2016-12-28 08:43:43 -08001136config SYS_FSL_ERRATUM_A007798
1137 bool
1138
Darwin Dingel06ad9702016-10-25 09:48:01 +13001139config SYS_FSL_ERRATUM_A007907
1140 bool
1141
York Sun63659ff2016-12-28 08:43:43 -08001142config SYS_FSL_ERRATUM_A008044
1143 bool
Tom Rini5f7c8862022-03-11 09:12:00 -05001144 select A008044_WORKAROUND if MTD_RAW_NAND
York Sun63659ff2016-12-28 08:43:43 -08001145
1146config SYS_FSL_ERRATUM_CPC_A002
1147 bool
1148
1149config SYS_FSL_ERRATUM_CPC_A003
1150 bool
1151
1152config SYS_FSL_ERRATUM_CPU_A003999
1153 bool
1154
1155config SYS_FSL_ERRATUM_ELBC_A001
1156 bool
1157
1158config SYS_FSL_ERRATUM_I2C_A004447
1159 bool
1160
1161config SYS_FSL_A004447_SVR_REV
1162 hex
1163 depends on SYS_FSL_ERRATUM_I2C_A004447
1164 default 0x00 if ARCH_MPC8548
1165 default 0x10 if ARCH_P1010
1166 default 0x11 if ARCH_P1023 || ARCH_P2041 || ARCH_BSC9132
Tom Rinia99dab12021-02-20 20:06:30 -05001167 default 0x20 if ARCH_P3041 || ARCH_P4080
York Sun63659ff2016-12-28 08:43:43 -08001168
1169config SYS_FSL_ERRATUM_IFC_A002769
1170 bool
1171
1172config SYS_FSL_ERRATUM_IFC_A003399
1173 bool
1174
1175config SYS_FSL_ERRATUM_NMG_CPU_A011
1176 bool
1177
1178config SYS_FSL_ERRATUM_NMG_ETSEC129
1179 bool
1180
1181config SYS_FSL_ERRATUM_NMG_LBC103
1182 bool
1183
1184config SYS_FSL_ERRATUM_P1010_A003549
1185 bool
1186
1187config SYS_FSL_ERRATUM_SATA_A001
1188 bool
1189
1190config SYS_FSL_ERRATUM_SEC_A003571
1191 bool
1192
1193config SYS_FSL_ERRATUM_SRIO_A004034
1194 bool
1195
1196config SYS_FSL_ERRATUM_USB14
1197 bool
1198
Tom Rinif76750d2021-12-11 14:55:51 -05001199config SYS_HAS_SERDES
1200 bool
1201
York Sun63659ff2016-12-28 08:43:43 -08001202config SYS_P4080_ERRATUM_CPU22
1203 bool
1204
1205config SYS_P4080_ERRATUM_PCIE_A003
1206 bool
1207
1208config SYS_P4080_ERRATUM_SERDES8
1209 bool
1210
1211config SYS_P4080_ERRATUM_SERDES9
1212 bool
1213
1214config SYS_P4080_ERRATUM_SERDES_A001
1215 bool
1216
1217config SYS_P4080_ERRATUM_SERDES_A005
1218 bool
1219
Hou Zhiqiangc16dfd02019-05-22 22:46:03 +08001220config FSL_PCIE_DISABLE_ASPM
1221 bool
1222
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +08001223config FSL_PCIE_RESET
1224 bool
1225
Tom Rini2db82bf2022-11-16 13:10:34 -05001226config SYS_PMAN
1227 bool
1228
Tom Riniff4e87c2022-07-31 21:08:29 -04001229config SYS_FSL_RAID_ENGINE
1230 bool
1231
1232config SYS_FSL_RMU
1233 bool
1234
York Sun73717742016-12-28 08:43:49 -08001235config SYS_FSL_QORIQ_CHASSIS1
1236 bool
1237
1238config SYS_FSL_QORIQ_CHASSIS2
1239 bool
1240
York Sun8303acb2016-12-01 14:05:02 -08001241config SYS_FSL_NUM_LAWS
1242 int "Number of local access windows"
1243 depends on FSL_LAW
1244 default 32 if ARCH_B4420 || \
1245 ARCH_B4860 || \
1246 ARCH_P2041 || \
1247 ARCH_P3041 || \
1248 ARCH_P4080 || \
York Sun8303acb2016-12-01 14:05:02 -08001249 ARCH_P5040 || \
1250 ARCH_T2080 || \
York Sun8303acb2016-12-01 14:05:02 -08001251 ARCH_T4240
Tom Rini6c3d9932021-05-14 21:34:22 -04001252 default 16 if ARCH_T1024 || \
York Sun8303acb2016-12-01 14:05:02 -08001253 ARCH_T1040 || \
1254 ARCH_T1042
1255 default 12 if ARCH_BSC9131 || \
1256 ARCH_BSC9132 || \
1257 ARCH_C29X || \
1258 ARCH_MPC8536 || \
York Sun8303acb2016-12-01 14:05:02 -08001259 ARCH_P1010 || \
1260 ARCH_P1011 || \
1261 ARCH_P1020 || \
1262 ARCH_P1021 || \
York Sun8303acb2016-12-01 14:05:02 -08001263 ARCH_P1023 || \
1264 ARCH_P1024 || \
1265 ARCH_P1025 || \
1266 ARCH_P2020
1267 default 10 if ARCH_MPC8544 || \
Tom Rini80696892021-05-14 21:34:23 -04001268 ARCH_MPC8548
York Sun8303acb2016-12-01 14:05:02 -08001269 default 8 if ARCH_MPC8540 || \
York Sun8303acb2016-12-01 14:05:02 -08001270 ARCH_MPC8560
1271 help
1272 Number of local access windows. This is fixed per SoC.
1273 If not sure, do not change.
1274
Tom Rini7da6a9e2022-07-23 13:05:11 -04001275config SYS_FSL_CORES_PER_CLUSTER
1276 int
1277 depends on SYS_FSL_QORIQ_CHASSIS2
1278 default 4 if ARCH_B4860 || ARCH_T2080 || ARCH_T4240
1279 default 2 if ARCH_B4420
1280 default 1 if ARCH_T1024 || ARCH_T1040 || ARCH_T1042
1281
York Sun9ec10102016-12-28 08:43:48 -08001282config SYS_FSL_THREADS_PER_CORE
1283 int
Tom Rini7da6a9e2022-07-23 13:05:11 -04001284 depends on SYS_FSL_QORIQ_CHASSIS2
York Sun9ec10102016-12-28 08:43:48 -08001285 default 2 if E6500
1286 default 1
1287
York Sun26e79b62016-12-28 08:43:28 -08001288config SYS_NUM_TLBCAMS
1289 int "Number of TLB CAM entries"
1290 default 64 if E500MC
1291 default 16
1292 help
1293 Number of TLB CAM entries for Book-E chips. 64 for E500MC,
1294 16 for other E500 SoCs.
1295
Tom Rini960379d2022-12-02 16:42:33 -05001296config L2_CACHE
1297 bool "Enable L2 cache support"
1298
Tom Rini1e7750f2022-06-16 14:04:34 -04001299if HETROGENOUS_CLUSTERS
1300
1301config SYS_MAPLE
1302 def_bool y
1303
1304config SYS_CPRI
1305 def_bool y
1306
1307config PPC_CLUSTER_START
1308 int
1309 default 0
1310
1311config DSP_CLUSTER_START
1312 int
1313 default 1
1314
1315config SYS_CPRI_CLK
1316 int
1317 default 3
1318
1319config SYS_ULB_CLK
1320 int
1321 default 4
1322
1323config SYS_ETVPE_CLK
1324 int
1325 default 1
Tom Rini3a581af2022-12-02 16:42:21 -05001326
1327config MAX_DSP_CPUS
1328 int
1329 default 12 if ARCH_B4860
1330 default 2 if ARCH_B4420
Tom Rini1e7750f2022-06-16 14:04:34 -04001331endif
1332
Tom Rini22a22832022-10-28 20:27:00 -04001333config SYS_L2_SIZE_256KB
1334 bool
1335
1336config SYS_L2_SIZE_512KB
1337 bool
1338
1339config SYS_L2_SIZE
1340 int
1341 default 262144 if SYS_L2_SIZE_256KB
1342 default 524288 if SYS_L2_SIZE_512KB
1343
Tom Rinib40d2b22022-03-18 08:38:32 -04001344config BACKSIDE_L2_CACHE
1345 bool
1346
Tom Rinib85d7592022-10-28 20:27:01 -04001347config SYS_L3_SIZE_256KB
1348 bool
1349
1350config SYS_L3_SIZE_512KB
1351 bool
1352
1353config SYS_L3_SIZE_1024KB
1354 bool
1355
1356config SYS_L3_SIZE
1357 int
1358 default 262144 if SYS_L3_SIZE_256KB
1359 default 524288 if SYS_L3_SIZE_512KB
1360 default 1048576 if SYS_L3_SIZE_512KB
1361
York Sun48512782016-12-28 08:43:50 -08001362config SYS_PPC64
1363 bool
1364
York Sun53c95382016-12-28 08:43:29 -08001365config SYS_PPC_E500_USE_DEBUG_TLB
1366 bool
1367
Prabhakar Kushwaha06878972017-02-02 15:01:48 +05301368config FSL_ELBC
1369 bool
1370
York Sun53c95382016-12-28 08:43:29 -08001371config SYS_PPC_E500_DEBUG_TLB
1372 int "Temporary TLB entry for external debugger"
1373 depends on SYS_PPC_E500_USE_DEBUG_TLB
1374 default 0 if ARCH_MPC8544 || ARCH_MPC8548
1375 default 1 if ARCH_MPC8536
Tom Rinied7fe2b2021-05-14 21:34:25 -04001376 default 2 if ARCH_P1011 || \
York Sun53c95382016-12-28 08:43:29 -08001377 ARCH_P1020 || \
1378 ARCH_P1021 || \
York Sun53c95382016-12-28 08:43:29 -08001379 ARCH_P1024 || \
1380 ARCH_P1025 || \
1381 ARCH_P2020
1382 default 3 if ARCH_P1010 || \
1383 ARCH_BSC9132 || \
1384 ARCH_C29X
1385 help
1386 Select a temporary TLB entry to be used during boot to work
1387 around limitations in e500v1 and e500v2 external debugger
1388 support. This reduces the portions of the boot code where
1389 breakpoints and single stepping do not work. The value of this
1390 symbol should be set to the TLB1 entry to be used for this
1391 purpose. If unsure, do not change.
1392
Prabhakar Kushwaha1c407072017-02-02 15:01:26 +05301393config SYS_FSL_IFC_CLK_DIV
1394 int "Divider of platform clock"
1395 depends on FSL_IFC
1396 default 2 if ARCH_B4420 || \
1397 ARCH_B4860 || \
1398 ARCH_T1024 || \
Prabhakar Kushwaha1c407072017-02-02 15:01:26 +05301399 ARCH_T1040 || \
1400 ARCH_T1042 || \
Prabhakar Kushwaha1c407072017-02-02 15:01:26 +05301401 ARCH_T4240
1402 default 1
1403 help
1404 Defines divider of platform clock(clock input to
1405 IFC controller).
1406
Prabhakar Kushwahaadd63f92017-02-02 15:02:00 +05301407config SYS_FSL_LBC_CLK_DIV
1408 int "Divider of platform clock"
1409 depends on FSL_ELBC || ARCH_MPC8540 || \
Tom Rinia8571332021-05-14 21:34:20 -04001410 ARCH_MPC8548 || \
Tom Rini80696892021-05-14 21:34:23 -04001411 ARCH_MPC8560
Prabhakar Kushwahaadd63f92017-02-02 15:02:00 +05301412
1413 default 2 if ARCH_P2041 || \
1414 ARCH_P3041 || \
1415 ARCH_P4080 || \
Prabhakar Kushwahaadd63f92017-02-02 15:02:00 +05301416 ARCH_P5040
1417 default 1
1418
1419 help
1420 Defines divider of platform clock(clock input to
1421 eLBC controller).
1422
Tom Rinifbc36212022-06-15 12:03:45 -04001423config ENABLE_36BIT_PHYS
1424 bool "Enable 36bit physical address space support"
1425
Tom Rini3dab4052022-06-25 11:02:43 -04001426config SYS_BOOK3E_HV
1427 bool "Category E.HV is supported"
1428 depends on BOOKE
1429
Tom Rini6f6b9702022-07-23 13:05:08 -04001430config FSL_CORENET
1431 bool
1432 select SYS_FSL_CPC
1433
Tom Riniff4e87c2022-07-31 21:08:29 -04001434config FSL_NGPIXIS
1435 bool
1436
Tom Rinif6c1f912022-06-25 11:02:45 -04001437config SYS_CPC_REINIT_F
1438 bool
1439 help
1440 The CPC is configured as SRAM at the time of U-Boot entry and is
1441 required to be re-initialized.
1442
1443config SYS_FSL_CPC
Tom Rini6f6b9702022-07-23 13:05:08 -04001444 bool
Tom Rinif6c1f912022-06-25 11:02:45 -04001445
Tom Rini38d091a2022-06-27 13:35:46 -04001446config SYS_CACHE_STASHING
1447 bool "Enable cache stashing"
1448
Tom Rini4143a232022-07-31 21:08:28 -04001449config SYS_FSL_PCIE_COMPAT_P4080_PCIE
1450 bool
1451
1452config SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v22
1453 bool
1454
1455config SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v24
1456 bool
1457
1458config SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v30
1459 bool
1460
1461config SYS_FSL_PCIE_COMPAT
1462 string
1463 depends on FSL_CORENET
1464 default "fsl,p4080-pcie" if SYS_FSL_PCIE_COMPAT_P4080_PCIE
1465 default "fsl,qoriq-pcie-v2.2" if SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v22
1466 default "fsl,qoriq-pcie-v2.4" if SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v24
1467 default "fsl,qoriq-pcie-v3.0" if SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v30
1468 help
1469 Defines the string to utilize when trying to match PCIe device tree
1470 nodes for the given platform.
1471
Tom Riniff4e87c2022-07-31 21:08:29 -04001472config SYS_FSL_SINGLE_SOURCE_CLK
1473 bool
1474
1475config SYS_FSL_SRIO_LIODN
1476 bool
1477
1478config SYS_FSL_TBCLK_DIV
1479 int
1480 default 32 if ARCH_P2041 || ARCH_P3041
1481 default 16 if ARCH_P4080 || ARCH_P5040 || ARCH_T4240 || ARCH_B4860 || \
1482 ARCH_B4420 || ARCH_T1040 || ARCH_T1042 || \
1483 ARCH_T1024 || ARCH_T2080
1484 default 8
1485 help
1486 Defines the core time base clock divider ratio compared to the system
1487 clock. On most PQ3 devices this is 8, on newer QorIQ devices it can
1488 be 16 or 32. The ratio varies from SoC to Soc.
1489
1490config SYS_FSL_USB1_PHY_ENABLE
1491 bool
1492
1493config SYS_FSL_USB2_PHY_ENABLE
1494 bool
1495
1496config SYS_FSL_USB_DUAL_PHY_ENABLE
1497 bool
1498
Tom Rinide47ff52022-06-10 22:59:37 -04001499config SYS_MPC85XX_NO_RESETVEC
1500 bool "Discard resetvec section and move bootpg section up"
1501 depends on MPC85xx
1502 help
1503 If this variable is specified, the section .resetvec is not kept and
1504 the section .bootpg is placed in the previous 4k of the .text section.
1505
1506config SPL_SYS_MPC85XX_NO_RESETVEC
1507 bool "Discard resetvec section and move bootpg section up, in SPL"
1508 depends on MPC85xx && SPL
1509 help
1510 If this variable is specified, the section .resetvec is not kept and
1511 the section .bootpg is placed in the previous 4k of the .text section,
1512 of the SPL portion of the binary.
1513
1514config TPL_SYS_MPC85XX_NO_RESETVEC
1515 bool "Discard resetvec section and move bootpg section up, in TPL"
1516 depends on MPC85xx && TPL
1517 help
1518 If this variable is specified, the section .resetvec is not kept and
1519 the section .bootpg is placed in the previous 4k of the .text section,
1520 of the SPL portion of the binary.
1521
Rajesh Bhagatc8c01702021-02-15 09:46:14 +01001522config FSL_VIA
1523 bool
1524
Bin Meng1d636a02021-02-25 17:22:58 +08001525source "board/emulation/qemu-ppce500/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001526source "board/freescale/mpc8548cds/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001527source "board/freescale/p1010rdb/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001528source "board/freescale/p1_p2_rdb_pc/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001529source "board/freescale/p2041rdb/Kconfig"
Shengzhou Liu48c6f322014-11-24 17:11:56 +08001530source "board/freescale/t102xrdb/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001531source "board/freescale/t104xrdb/Kconfig"
1532source "board/freescale/t208xqds/Kconfig"
1533source "board/freescale/t208xrdb/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001534source "board/freescale/t4rdb/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001535source "board/socrates/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001536
1537endmenu