blob: 1b180481a483f19da42410c60d90b8611bdf9587 [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
Pali Rohár1b697402022-12-28 19:18:39 +010088 select BINMAN
Masahiro Yamadadd840582014-07-30 14:08:14 +090089
Masahiro Yamadadd840582014-07-30 14:08:14 +090090config TARGET_P3041DS
91 bool "Support P3041DS"
Masahiro Yamadabb6b1422016-07-25 19:56:03 +090092 select PHYS_64BIT
York Sun5e5fdd22016-11-18 11:20:40 -080093 select ARCH_P3041
Tom Rinie5ec4812017-01-22 19:43:11 -050094 select BOARD_LATE_INIT if CHAIN_OF_TRUST
Tom Riniff4e87c2022-07-31 21:08:29 -040095 select FSL_NGPIXIS
Simon Glass3bf926c2017-06-14 21:28:24 -060096 imply CMD_SATA
Masahiro Yamada7e3caa82017-12-04 12:37:00 +090097 imply PANIC_HANG
Masahiro Yamadadd840582014-07-30 14:08:14 +090098
99config TARGET_P4080DS
100 bool "Support P4080DS"
Masahiro Yamadabb6b1422016-07-25 19:56:03 +0900101 select PHYS_64BIT
York Sune71372c2016-11-18 11:24:40 -0800102 select ARCH_P4080
Tom Rinie5ec4812017-01-22 19:43:11 -0500103 select BOARD_LATE_INIT if CHAIN_OF_TRUST
Tom Riniff4e87c2022-07-31 21:08:29 -0400104 select FSL_NGPIXIS
Simon Glass3bf926c2017-06-14 21:28:24 -0600105 imply CMD_SATA
Masahiro Yamada7e3caa82017-12-04 12:37:00 +0900106 imply PANIC_HANG
Masahiro Yamadadd840582014-07-30 14:08:14 +0900107
Masahiro Yamadadd840582014-07-30 14:08:14 +0900108config TARGET_P5040DS
109 bool "Support P5040DS"
Masahiro Yamadabb6b1422016-07-25 19:56:03 +0900110 select PHYS_64BIT
York Sun95390362016-11-18 11:39:36 -0800111 select ARCH_P5040
Tom Rinie5ec4812017-01-22 19:43:11 -0500112 select BOARD_LATE_INIT if CHAIN_OF_TRUST
Tom Riniff4e87c2022-07-31 21:08:29 -0400113 select FSL_NGPIXIS
114 select SYS_FSL_RAID_ENGINE
Simon Glass3bf926c2017-06-14 21:28:24 -0600115 imply CMD_SATA
Masahiro Yamada7e3caa82017-12-04 12:37:00 +0900116 imply PANIC_HANG
Masahiro Yamadadd840582014-07-30 14:08:14 +0900117
Masahiro Yamadadd840582014-07-30 14:08:14 +0900118config TARGET_MPC8548CDS
119 bool "Support MPC8548CDS"
York Sun281ed4c2016-11-15 13:52:34 -0800120 select ARCH_MPC8548
Rajesh Bhagatc8c01702021-02-15 09:46:14 +0100121 select FSL_VIA
Tom Riniab92b382021-08-26 11:47:59 -0400122 select SYS_CACHE_SHIFT_5
Masahiro Yamadadd840582014-07-30 14:08:14 +0900123
York Sun76016862016-11-16 13:30:06 -0800124config TARGET_P1010RDB_PA
125 bool "Support P1010RDB_PA"
126 select ARCH_P1010
Tom Rinie5ec4812017-01-22 19:43:11 -0500127 select BOARD_LATE_INIT if CHAIN_OF_TRUST
York Sun76016862016-11-16 13:30:06 -0800128 select SUPPORT_SPL
129 select SUPPORT_TPL
Tom Rini22a22832022-10-28 20:27:00 -0400130 select SYS_L2_SIZE_256KB
Simon Glassa1dc9802017-05-17 03:25:10 -0600131 imply CMD_EEPROM
Simon Glass3bf926c2017-06-14 21:28:24 -0600132 imply CMD_SATA
Masahiro Yamada7e3caa82017-12-04 12:37:00 +0900133 imply PANIC_HANG
York Sun76016862016-11-16 13:30:06 -0800134
135config TARGET_P1010RDB_PB
136 bool "Support P1010RDB_PB"
York Sun7d5f9f82016-11-16 13:08:52 -0800137 select ARCH_P1010
Tom Rinie5ec4812017-01-22 19:43:11 -0500138 select BOARD_LATE_INIT if CHAIN_OF_TRUST
Masahiro Yamada02627352014-10-20 17:45:56 +0900139 select SUPPORT_SPL
Masahiro Yamadacf6bbe42014-10-20 17:45:57 +0900140 select SUPPORT_TPL
Tom Rini22a22832022-10-28 20:27:00 -0400141 select SYS_L2_SIZE_256KB
Simon Glassa1dc9802017-05-17 03:25:10 -0600142 imply CMD_EEPROM
Simon Glass3bf926c2017-06-14 21:28:24 -0600143 imply CMD_SATA
Masahiro Yamada7e3caa82017-12-04 12:37:00 +0900144 imply PANIC_HANG
Masahiro Yamadadd840582014-07-30 14:08:14 +0900145
York Sunaa146202016-11-17 13:52:44 -0800146config TARGET_P1020RDB_PC
147 bool "Support P1020RDB-PC"
148 select SUPPORT_SPL
149 select SUPPORT_TPL
York Sun484fff62016-11-18 10:02:14 -0800150 select ARCH_P1020
Tom Rini22a22832022-10-28 20:27:00 -0400151 select SYS_L2_SIZE_256KB
Simon Glassa1dc9802017-05-17 03:25:10 -0600152 imply CMD_EEPROM
Simon Glass3bf926c2017-06-14 21:28:24 -0600153 imply CMD_SATA
Masahiro Yamada7e3caa82017-12-04 12:37:00 +0900154 imply PANIC_HANG
York Sunaa146202016-11-17 13:52:44 -0800155
York Sunf404b662016-11-17 13:53:33 -0800156config TARGET_P1020RDB_PD
157 bool "Support P1020RDB-PD"
158 select SUPPORT_SPL
159 select SUPPORT_TPL
York Sun484fff62016-11-18 10:02:14 -0800160 select ARCH_P1020
Tom Rini22a22832022-10-28 20:27:00 -0400161 select SYS_L2_SIZE_256KB
Simon Glassa1dc9802017-05-17 03:25:10 -0600162 imply CMD_EEPROM
Simon Glass3bf926c2017-06-14 21:28:24 -0600163 imply CMD_SATA
Masahiro Yamada7e3caa82017-12-04 12:37:00 +0900164 imply PANIC_HANG
York Sunf404b662016-11-17 13:53:33 -0800165
York Sun8435aa72016-11-17 14:19:18 -0800166config TARGET_P2020RDB
167 bool "Support P2020RDB-PC"
168 select SUPPORT_SPL
169 select SUPPORT_TPL
York Sun45936372016-11-18 11:08:43 -0800170 select ARCH_P2020
Tom Rini22a22832022-10-28 20:27:00 -0400171 select SYS_L2_SIZE_512KB
Simon Glassa1dc9802017-05-17 03:25:10 -0600172 imply CMD_EEPROM
Simon Glass3bf926c2017-06-14 21:28:24 -0600173 imply CMD_SATA
Tuomas Tynkkynenc88ecf42017-12-08 15:36:14 +0200174 imply SATA_SIL
York Sun8435aa72016-11-17 14:19:18 -0800175
Masahiro Yamadadd840582014-07-30 14:08:14 +0900176config TARGET_P2041RDB
177 bool "Support P2041RDB"
York Sunce040c82016-11-18 11:15:21 -0800178 select ARCH_P2041
Tom Rinie5ec4812017-01-22 19:43:11 -0500179 select BOARD_LATE_INIT if CHAIN_OF_TRUST
Tom Rini6f6b9702022-07-23 13:05:08 -0400180 select FSL_CORENET
Masahiro Yamadabb6b1422016-07-25 19:56:03 +0900181 select PHYS_64BIT
Tom Rinib85d7592022-10-28 20:27:01 -0400182 select SYS_L3_SIZE_1024KB
Simon Glass3bf926c2017-06-14 21:28:24 -0600183 imply CMD_SATA
Tuomas Tynkkynen9920d152017-12-08 15:36:17 +0200184 imply FSL_SATA
Masahiro Yamadadd840582014-07-30 14:08:14 +0900185
186config TARGET_QEMU_PPCE500
187 bool "Support qemu-ppce500"
York Sun10343402016-11-18 12:29:51 -0800188 select ARCH_QEMU_E500
Masahiro Yamadabb6b1422016-07-25 19:56:03 +0900189 select PHYS_64BIT
Tom Rini5a446182022-06-25 11:02:44 -0400190 select SYS_RAMBOOT
Simon Glass239d22c2021-12-16 20:59:36 -0700191 imply OF_HAS_PRIOR_STAGE
Masahiro Yamadadd840582014-07-30 14:08:14 +0900192
York Sun08c75292016-11-18 12:45:44 -0800193config TARGET_T1024RDB
194 bool "Support T1024RDB"
York Sune5d5f5a2016-11-18 13:01:34 -0800195 select ARCH_T1024
Tom Rinie5ec4812017-01-22 19:43:11 -0500196 select BOARD_LATE_INIT if CHAIN_OF_TRUST
Shengzhou Liu48c6f322014-11-24 17:11:56 +0800197 select SUPPORT_SPL
Masahiro Yamadabb6b1422016-07-25 19:56:03 +0900198 select PHYS_64BIT
Rajesh Bhagat32413122019-02-01 05:22:01 +0000199 select FSL_DDR_INTERACTIVE
Tom Rinib85d7592022-10-28 20:27:01 -0400200 select SYS_L3_SIZE_256KB
Simon Glassa1dc9802017-05-17 03:25:10 -0600201 imply CMD_EEPROM
Masahiro Yamada7e3caa82017-12-04 12:37:00 +0900202 imply PANIC_HANG
Shengzhou Liu48c6f322014-11-24 17:11:56 +0800203
York Sun319ed242016-11-21 11:04:34 -0800204config TARGET_T1042D4RDB
205 bool "Support T1042D4RDB"
206 select ARCH_T1042
Tom Rinie5ec4812017-01-22 19:43:11 -0500207 select BOARD_LATE_INIT if CHAIN_OF_TRUST
York Sun319ed242016-11-21 11:04:34 -0800208 select SUPPORT_SPL
209 select PHYS_64BIT
Tom Rinib85d7592022-10-28 20:27:01 -0400210 select SYS_L3_SIZE_256KB
Masahiro Yamada7e3caa82017-12-04 12:37:00 +0900211 imply PANIC_HANG
York Sun319ed242016-11-21 11:04:34 -0800212
York Sun638d5be2016-11-21 12:46:58 -0800213config TARGET_T2080QDS
214 bool "Support T2080QDS"
York Sun0f3d80e2016-11-21 12:54:19 -0800215 select ARCH_T2080
Tom Rinie5ec4812017-01-22 19:43:11 -0500216 select BOARD_LATE_INIT if CHAIN_OF_TRUST
Masahiro Yamada02627352014-10-20 17:45:56 +0900217 select SUPPORT_SPL
Masahiro Yamadabb6b1422016-07-25 19:56:03 +0900218 select PHYS_64BIT
Rajesh Bhagat32413122019-02-01 05:22:01 +0000219 select FSL_DDR_FIRST_SLOT_QUAD_CAPABLE
220 select FSL_DDR_INTERACTIVE
Tom Rinib85d7592022-10-28 20:27:01 -0400221 select SYS_L3_SIZE_512KB
Peng Maa2d4cb22019-12-23 09:28:12 +0000222 imply CMD_SATA
Masahiro Yamadadd840582014-07-30 14:08:14 +0900223
York Sun01671e62016-11-21 12:57:22 -0800224config TARGET_T2080RDB
225 bool "Support T2080RDB"
York Sun0f3d80e2016-11-21 12:54:19 -0800226 select ARCH_T2080
Tom Rinie5ec4812017-01-22 19:43:11 -0500227 select BOARD_LATE_INIT if CHAIN_OF_TRUST
Masahiro Yamada02627352014-10-20 17:45:56 +0900228 select SUPPORT_SPL
Masahiro Yamadabb6b1422016-07-25 19:56:03 +0900229 select PHYS_64BIT
Tom Rinib85d7592022-10-28 20:27:01 -0400230 select SYS_L3_SIZE_512KB
Simon Glass3bf926c2017-06-14 21:28:24 -0600231 imply CMD_SATA
Masahiro Yamada7e3caa82017-12-04 12:37:00 +0900232 imply PANIC_HANG
Masahiro Yamadadd840582014-07-30 14:08:14 +0900233
Masahiro Yamadadd840582014-07-30 14:08:14 +0900234config TARGET_T4240RDB
235 bool "Support T4240RDB"
York Sun26bc57d2016-11-21 13:35:41 -0800236 select ARCH_T4240
Chunhe Lan373762c2015-03-20 17:08:54 +0800237 select SUPPORT_SPL
Masahiro Yamadabb6b1422016-07-25 19:56:03 +0900238 select PHYS_64BIT
Rajesh Bhagat32413122019-02-01 05:22:01 +0000239 select FSL_DDR_FIRST_SLOT_QUAD_CAPABLE
Tom Rinib85d7592022-10-28 20:27:01 -0400240 select SYS_L3_SIZE_512KB
Simon Glass3bf926c2017-06-14 21:28:24 -0600241 imply CMD_SATA
Masahiro Yamada7e3caa82017-12-04 12:37:00 +0900242 imply PANIC_HANG
Masahiro Yamadadd840582014-07-30 14:08:14 +0900243
Masahiro Yamadadd840582014-07-30 14:08:14 +0900244config TARGET_KMP204X
245 bool "Support kmp204x"
Pascal Linderc0fed3a2019-06-18 13:27:47 +0200246 select VENDOR_KM
Masahiro Yamadadd840582014-07-30 14:08:14 +0900247
Niel Fourie37bfd9c2021-01-21 13:19:20 +0100248config TARGET_KMCENT2
249 bool "Support kmcent2"
250 select VENDOR_KM
Tom Rini6f6b9702022-07-23 13:05:08 -0400251 select FSL_CORENET
Tom Rini2db82bf2022-11-16 13:10:34 -0500252 select SYS_DPAA_FMAN
253 select SYS_DPAA_PME
Tom Rinib85d7592022-10-28 20:27:01 -0400254 select SYS_L3_SIZE_256KB
Niel Fourie37bfd9c2021-01-21 13:19:20 +0100255
Masahiro Yamadadd840582014-07-30 14:08:14 +0900256endchoice
257
York Sunb41f1922016-11-18 11:56:57 -0800258config ARCH_B4420
259 bool
York Sunf8dee362016-12-28 08:43:27 -0800260 select E500MC
York Sun9ec10102016-12-28 08:43:48 -0800261 select E6500
Tom Rini6f6b9702022-07-23 13:05:08 -0400262 select FSL_CORENET
York Sun05cb79a2016-12-02 10:44:34 -0800263 select FSL_LAW
Tom Rini1e7750f2022-06-16 14:04:34 -0400264 select HETROGENOUS_CLUSTERS
York Sun22120f12016-12-28 08:43:46 -0800265 select SYS_FSL_DDR_VER_47
York Sun63659ff2016-12-28 08:43:43 -0800266 select SYS_FSL_ERRATUM_A004477
267 select SYS_FSL_ERRATUM_A005871
268 select SYS_FSL_ERRATUM_A006379
269 select SYS_FSL_ERRATUM_A006384
270 select SYS_FSL_ERRATUM_A006475
271 select SYS_FSL_ERRATUM_A006593
272 select SYS_FSL_ERRATUM_A007075
Tom Rini601483f2022-06-16 14:04:40 -0400273 select SYS_FSL_ERRATUM_A007186 if CHAIN_OF_TRUST
York Sun63659ff2016-12-28 08:43:43 -0800274 select SYS_FSL_ERRATUM_A007212
275 select SYS_FSL_ERRATUM_A009942
York Sund26e34c2016-12-28 08:43:40 -0800276 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800277 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800278 select SYS_FSL_QORIQ_CHASSIS2
Tom Rini4143a232022-07-31 21:08:28 -0400279 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v24
York Sun90b80382016-12-28 08:43:31 -0800280 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800281 select SYS_FSL_SEC_COMPAT_4
Tom Riniff4e87c2022-07-31 21:08:29 -0400282 select SYS_FSL_QMAN_V3 if SYS_DPAA_QBMAN
283 select SYS_FSL_USB1_PHY_ENABLE
York Sun48512782016-12-28 08:43:50 -0800284 select SYS_PPC64
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530285 select FSL_IFC
Simon Glassa1dc9802017-05-17 03:25:10 -0600286 imply CMD_EEPROM
Tom Rini8f1a80e2017-07-28 21:31:42 -0400287 imply CMD_NAND
Christophe Leroyfa379222017-08-04 16:34:40 -0600288 imply CMD_REGINFO
York Sunb41f1922016-11-18 11:56:57 -0800289
York Sun3006ebc2016-11-18 11:44:43 -0800290config ARCH_B4860
291 bool
York Sunf8dee362016-12-28 08:43:27 -0800292 select E500MC
York Sun9ec10102016-12-28 08:43:48 -0800293 select E6500
Tom Rini6f6b9702022-07-23 13:05:08 -0400294 select FSL_CORENET
York Sun05cb79a2016-12-02 10:44:34 -0800295 select FSL_LAW
Tom Rini1e7750f2022-06-16 14:04:34 -0400296 select HETROGENOUS_CLUSTERS
York Sun22120f12016-12-28 08:43:46 -0800297 select SYS_FSL_DDR_VER_47
York Sun63659ff2016-12-28 08:43:43 -0800298 select SYS_FSL_ERRATUM_A004477
299 select SYS_FSL_ERRATUM_A005871
300 select SYS_FSL_ERRATUM_A006379
301 select SYS_FSL_ERRATUM_A006384
302 select SYS_FSL_ERRATUM_A006475
303 select SYS_FSL_ERRATUM_A006593
304 select SYS_FSL_ERRATUM_A007075
Tom Rini601483f2022-06-16 14:04:40 -0400305 select SYS_FSL_ERRATUM_A007186 if CHAIN_OF_TRUST
York Sun63659ff2016-12-28 08:43:43 -0800306 select SYS_FSL_ERRATUM_A007212
Darwin Dingel06ad9702016-10-25 09:48:01 +1300307 select SYS_FSL_ERRATUM_A007907
York Sun63659ff2016-12-28 08:43:43 -0800308 select SYS_FSL_ERRATUM_A009942
York Sund26e34c2016-12-28 08:43:40 -0800309 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800310 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800311 select SYS_FSL_QORIQ_CHASSIS2
Tom Rini4143a232022-07-31 21:08:28 -0400312 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v24
York Sun90b80382016-12-28 08:43:31 -0800313 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800314 select SYS_FSL_SEC_COMPAT_4
Tom Riniff4e87c2022-07-31 21:08:29 -0400315 select SYS_FSL_SRIO_LIODN
316 select SYS_FSL_QMAN_V3 if SYS_DPAA_QBMAN
317 select SYS_FSL_USB1_PHY_ENABLE
York Sun48512782016-12-28 08:43:50 -0800318 select SYS_PPC64
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530319 select FSL_IFC
Simon Glassa1dc9802017-05-17 03:25:10 -0600320 imply CMD_EEPROM
Tom Rini8f1a80e2017-07-28 21:31:42 -0400321 imply CMD_NAND
Christophe Leroyfa379222017-08-04 16:34:40 -0600322 imply CMD_REGINFO
York Sun3006ebc2016-11-18 11:44:43 -0800323
York Sun115d60c2016-11-15 14:09:50 -0800324config ARCH_BSC9131
325 bool
York Sun05cb79a2016-12-02 10:44:34 -0800326 select FSL_LAW
York Sun22120f12016-12-28 08:43:46 -0800327 select SYS_FSL_DDR_VER_44
York Sun63659ff2016-12-28 08:43:43 -0800328 select SYS_FSL_ERRATUM_A004477
329 select SYS_FSL_ERRATUM_A005125
York Sunc01e4a12016-12-28 08:43:42 -0800330 select SYS_FSL_ERRATUM_ESDHC111
York Sund26e34c2016-12-28 08:43:40 -0800331 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800332 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800333 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800334 select SYS_FSL_SEC_COMPAT_4
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 Sun115d60c2016-11-15 14:09:50 -0800339
340config ARCH_BSC9132
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_46
York Sun63659ff2016-12-28 08:43:43 -0800344 select SYS_FSL_ERRATUM_A004477
345 select SYS_FSL_ERRATUM_A005125
346 select SYS_FSL_ERRATUM_A005434
York Sunc01e4a12016-12-28 08:43:42 -0800347 select SYS_FSL_ERRATUM_ESDHC111
York Sun63659ff2016-12-28 08:43:43 -0800348 select SYS_FSL_ERRATUM_I2C_A004447
349 select SYS_FSL_ERRATUM_IFC_A002769
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800350 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800351 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800352 select SYS_FSL_HAS_SEC
Tom Rini4143a232022-07-31 21:08:28 -0400353 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v22
York Sun90b80382016-12-28 08:43:31 -0800354 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800355 select SYS_FSL_SEC_COMPAT_4
York Sun53c95382016-12-28 08:43:29 -0800356 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530357 select FSL_IFC
Simon Glassa1dc9802017-05-17 03:25:10 -0600358 imply CMD_EEPROM
Tom Rinid56b4b12017-07-22 18:36:16 -0400359 imply CMD_MTDPARTS
Tom Rini8f1a80e2017-07-28 21:31:42 -0400360 imply CMD_NAND
Simon Glass6500ec72017-08-04 16:34:34 -0600361 imply CMD_PCI
Christophe Leroyfa379222017-08-04 16:34:40 -0600362 imply CMD_REGINFO
York Sun115d60c2016-11-15 14:09:50 -0800363
York Sun4fd64742016-11-15 18:44:22 -0800364config ARCH_C29X
365 bool
York Sun05cb79a2016-12-02 10:44:34 -0800366 select FSL_LAW
York Sun22120f12016-12-28 08:43:46 -0800367 select SYS_FSL_DDR_VER_46
York Sun63659ff2016-12-28 08:43:43 -0800368 select SYS_FSL_ERRATUM_A005125
York Sunc01e4a12016-12-28 08:43:42 -0800369 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800370 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800371 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800372 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800373 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800374 select SYS_FSL_SEC_COMPAT_6
York Sun53c95382016-12-28 08:43:29 -0800375 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530376 select FSL_IFC
Tom Rini8f1a80e2017-07-28 21:31:42 -0400377 imply CMD_NAND
Simon Glass6500ec72017-08-04 16:34:34 -0600378 imply CMD_PCI
Christophe Leroyfa379222017-08-04 16:34:40 -0600379 imply CMD_REGINFO
York Sun4fd64742016-11-15 18:44:22 -0800380
York Sun24ad75a2016-11-16 11:06:47 -0800381config ARCH_MPC8536
382 bool
York Sun05cb79a2016-12-02 10:44:34 -0800383 select FSL_LAW
York Sun63659ff2016-12-28 08:43:43 -0800384 select SYS_FSL_ERRATUM_A004508
385 select SYS_FSL_ERRATUM_A005125
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800386 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800387 select SYS_FSL_HAS_DDR2
388 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800389 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800390 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800391 select SYS_FSL_SEC_COMPAT_2
York Sun53c95382016-12-28 08:43:29 -0800392 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530393 select FSL_ELBC
Tom Rini8f1a80e2017-07-28 21:31:42 -0400394 imply CMD_NAND
Simon Glass3bf926c2017-06-14 21:28:24 -0600395 imply CMD_SATA
Christophe Leroyfa379222017-08-04 16:34:40 -0600396 imply CMD_REGINFO
York Sun24ad75a2016-11-16 11:06:47 -0800397
York Sun7f825212016-11-16 11:13:06 -0800398config ARCH_MPC8540
399 bool
York Sun05cb79a2016-12-02 10:44:34 -0800400 select FSL_LAW
York Sund26e34c2016-12-28 08:43:40 -0800401 select SYS_FSL_HAS_DDR1
York Sun7f825212016-11-16 11:13:06 -0800402
York Sun25cb74b2016-11-15 13:57:15 -0800403config ARCH_MPC8544
404 bool
Tom Rinia3041d92022-02-23 12:28:15 -0500405 select BTB
York Sun05cb79a2016-12-02 10:44:34 -0800406 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400407 select SYS_CACHE_SHIFT_5
York Sun63659ff2016-12-28 08:43:43 -0800408 select SYS_FSL_ERRATUM_A005125
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800409 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800410 select SYS_FSL_HAS_DDR2
York Sun2c2e2c92016-12-28 08:43:30 -0800411 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800412 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800413 select SYS_FSL_SEC_COMPAT_2
York Sun53c95382016-12-28 08:43:29 -0800414 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530415 select FSL_ELBC
York Sun25cb74b2016-11-15 13:57:15 -0800416
York Sun281ed4c2016-11-15 13:52:34 -0800417config ARCH_MPC8548
418 bool
Tom Rinia3041d92022-02-23 12:28:15 -0500419 select BTB
York Sun05cb79a2016-12-02 10:44:34 -0800420 select FSL_LAW
York Sun63659ff2016-12-28 08:43:43 -0800421 select SYS_FSL_ERRATUM_A005125
422 select SYS_FSL_ERRATUM_NMG_DDR120
423 select SYS_FSL_ERRATUM_NMG_LBC103
424 select SYS_FSL_ERRATUM_NMG_ETSEC129
425 select SYS_FSL_ERRATUM_I2C_A004447
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800426 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800427 select SYS_FSL_HAS_DDR2
428 select SYS_FSL_HAS_DDR1
York Sun2c2e2c92016-12-28 08:43:30 -0800429 select SYS_FSL_HAS_SEC
Tom Riniff4e87c2022-07-31 21:08:29 -0400430 select SYS_FSL_RMU
York Sun90b80382016-12-28 08:43:31 -0800431 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800432 select SYS_FSL_SEC_COMPAT_2
York Sun53c95382016-12-28 08:43:29 -0800433 select SYS_PPC_E500_USE_DEBUG_TLB
Christophe Leroyfa379222017-08-04 16:34:40 -0600434 imply CMD_REGINFO
York Sun281ed4c2016-11-15 13:52:34 -0800435
York Sun99d0a312016-11-16 11:26:45 -0800436config ARCH_MPC8560
437 bool
York Sun05cb79a2016-12-02 10:44:34 -0800438 select FSL_LAW
York Sund26e34c2016-12-28 08:43:40 -0800439 select SYS_FSL_HAS_DDR1
York Sun99d0a312016-11-16 11:26:45 -0800440
York Sun7d5f9f82016-11-16 13:08:52 -0800441config ARCH_P1010
442 bool
Tom Rinifdd0da42022-03-11 09:11:59 -0500443 select A003399_NOR_WORKAROUND if SYS_FSL_ERRATUM_IFC_A003399 && !SPL
Tom Rinia3041d92022-02-23 12:28:15 -0500444 select BTB
York Sun05cb79a2016-12-02 10:44:34 -0800445 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400446 select SYS_CACHE_SHIFT_5
Tom Rinif76750d2021-12-11 14:55:51 -0500447 select SYS_HAS_SERDES
York Sun63659ff2016-12-28 08:43:43 -0800448 select SYS_FSL_ERRATUM_A004477
449 select SYS_FSL_ERRATUM_A004508
450 select SYS_FSL_ERRATUM_A005125
Chris Packham4eaf7f52018-10-04 20:03:53 +1300451 select SYS_FSL_ERRATUM_A005275
York Sun63659ff2016-12-28 08:43:43 -0800452 select SYS_FSL_ERRATUM_A006261
453 select SYS_FSL_ERRATUM_A007075
York Sunc01e4a12016-12-28 08:43:42 -0800454 select SYS_FSL_ERRATUM_ESDHC111
York Sun63659ff2016-12-28 08:43:43 -0800455 select SYS_FSL_ERRATUM_I2C_A004447
456 select SYS_FSL_ERRATUM_IFC_A002769
457 select SYS_FSL_ERRATUM_P1010_A003549
458 select SYS_FSL_ERRATUM_SEC_A003571
459 select SYS_FSL_ERRATUM_IFC_A003399
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800460 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800461 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800462 select SYS_FSL_HAS_SEC
Tom Rini4143a232022-07-31 21:08:28 -0400463 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v22
York Sun90b80382016-12-28 08:43:31 -0800464 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800465 select SYS_FSL_SEC_COMPAT_4
Tom Riniff4e87c2022-07-31 21:08:29 -0400466 select SYS_FSL_USB1_PHY_ENABLE
York Sun53c95382016-12-28 08:43:29 -0800467 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530468 select FSL_IFC
Simon Glassa1dc9802017-05-17 03:25:10 -0600469 imply CMD_EEPROM
Tom Rinid56b4b12017-07-22 18:36:16 -0400470 imply CMD_MTDPARTS
Tom Rini8f1a80e2017-07-28 21:31:42 -0400471 imply CMD_NAND
Simon Glass3bf926c2017-06-14 21:28:24 -0600472 imply CMD_SATA
Simon Glass6500ec72017-08-04 16:34:34 -0600473 imply CMD_PCI
Christophe Leroyfa379222017-08-04 16:34:40 -0600474 imply CMD_REGINFO
Tuomas Tynkkynen9920d152017-12-08 15:36:17 +0200475 imply FSL_SATA
Simon Glassd6b318d2021-12-18 11:27:50 -0700476 imply TIMESTAMP
York Sun7d5f9f82016-11-16 13:08:52 -0800477
York Sun1cdd96f2016-11-16 15:54:15 -0800478config ARCH_P1011
479 bool
York Sun05cb79a2016-12-02 10:44:34 -0800480 select FSL_LAW
York Sun63659ff2016-12-28 08:43:43 -0800481 select SYS_FSL_ERRATUM_A004508
482 select SYS_FSL_ERRATUM_A005125
483 select SYS_FSL_ERRATUM_ELBC_A001
York Sunc01e4a12016-12-28 08:43:42 -0800484 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiangc16dfd02019-05-22 22:46:03 +0800485 select FSL_PCIE_DISABLE_ASPM
York Sund26e34c2016-12-28 08:43:40 -0800486 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800487 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800488 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800489 select SYS_FSL_SEC_COMPAT_2
York Sun53c95382016-12-28 08:43:29 -0800490 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530491 select FSL_ELBC
York Sun1cdd96f2016-11-16 15:54:15 -0800492
York Sun484fff62016-11-18 10:02:14 -0800493config ARCH_P1020
494 bool
Tom Rinia3041d92022-02-23 12:28:15 -0500495 select BTB
York Sun05cb79a2016-12-02 10:44:34 -0800496 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400497 select SYS_CACHE_SHIFT_5
York Sun63659ff2016-12-28 08:43:43 -0800498 select SYS_FSL_ERRATUM_A004508
499 select SYS_FSL_ERRATUM_A005125
500 select SYS_FSL_ERRATUM_ELBC_A001
York Sunc01e4a12016-12-28 08:43:42 -0800501 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiangc16dfd02019-05-22 22:46:03 +0800502 select FSL_PCIE_DISABLE_ASPM
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800503 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800504 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800505 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800506 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800507 select SYS_FSL_SEC_COMPAT_2
York Sun53c95382016-12-28 08:43:29 -0800508 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530509 select FSL_ELBC
Tom Rini8f1a80e2017-07-28 21:31:42 -0400510 imply CMD_NAND
Simon Glass3bf926c2017-06-14 21:28:24 -0600511 imply CMD_SATA
Simon Glass6500ec72017-08-04 16:34:34 -0600512 imply CMD_PCI
Christophe Leroyfa379222017-08-04 16:34:40 -0600513 imply CMD_REGINFO
Tuomas Tynkkynenc88ecf42017-12-08 15:36:14 +0200514 imply SATA_SIL
York Sun484fff62016-11-18 10:02:14 -0800515
York Suna9907992016-11-18 10:59:02 -0800516config ARCH_P1021
517 bool
York Sun05cb79a2016-12-02 10:44:34 -0800518 select FSL_LAW
York Sun63659ff2016-12-28 08:43:43 -0800519 select SYS_FSL_ERRATUM_A004508
520 select SYS_FSL_ERRATUM_A005125
521 select SYS_FSL_ERRATUM_ELBC_A001
York Sunc01e4a12016-12-28 08:43:42 -0800522 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiangc16dfd02019-05-22 22:46:03 +0800523 select FSL_PCIE_DISABLE_ASPM
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800524 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800525 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800526 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800527 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800528 select SYS_FSL_SEC_COMPAT_2
York Sun53c95382016-12-28 08:43:29 -0800529 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530530 select FSL_ELBC
Christophe Leroyfa379222017-08-04 16:34:40 -0600531 imply CMD_REGINFO
Tom Rini8f1a80e2017-07-28 21:31:42 -0400532 imply CMD_NAND
Simon Glass3bf926c2017-06-14 21:28:24 -0600533 imply CMD_SATA
Christophe Leroyfa379222017-08-04 16:34:40 -0600534 imply CMD_REGINFO
Tuomas Tynkkynenc88ecf42017-12-08 15:36:14 +0200535 imply SATA_SIL
York Suna9907992016-11-18 10:59:02 -0800536
York Sun9bb1d6b2016-11-16 15:45:31 -0800537config ARCH_P1023
538 bool
York Sun05cb79a2016-12-02 10:44:34 -0800539 select FSL_LAW
York Sun63659ff2016-12-28 08:43:43 -0800540 select SYS_FSL_ERRATUM_A004508
541 select SYS_FSL_ERRATUM_A005125
542 select SYS_FSL_ERRATUM_I2C_A004447
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800543 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800544 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800545 select SYS_FSL_HAS_SEC
Tom Rini4143a232022-07-31 21:08:28 -0400546 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v22
York Sun90b80382016-12-28 08:43:31 -0800547 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800548 select SYS_FSL_SEC_COMPAT_4
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530549 select FSL_ELBC
York Sun9bb1d6b2016-11-16 15:45:31 -0800550
York Sun52b6f132016-11-18 11:00:57 -0800551config ARCH_P1024
552 bool
York Sun05cb79a2016-12-02 10:44:34 -0800553 select FSL_LAW
York Sun63659ff2016-12-28 08:43:43 -0800554 select SYS_FSL_ERRATUM_A004508
555 select SYS_FSL_ERRATUM_A005125
556 select SYS_FSL_ERRATUM_ELBC_A001
York Sunc01e4a12016-12-28 08:43:42 -0800557 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiangc16dfd02019-05-22 22:46:03 +0800558 select FSL_PCIE_DISABLE_ASPM
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 Riniff4e87c2022-07-31 21:08:29 -0400562 select SYS_FSL_RMU
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_2
York Sun53c95382016-12-28 08:43:29 -0800565 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530566 select FSL_ELBC
Simon Glassa1dc9802017-05-17 03:25:10 -0600567 imply CMD_EEPROM
Tom Rini8f1a80e2017-07-28 21:31:42 -0400568 imply CMD_NAND
Simon Glass3bf926c2017-06-14 21:28:24 -0600569 imply CMD_SATA
Simon Glass6500ec72017-08-04 16:34:34 -0600570 imply CMD_PCI
Christophe Leroyfa379222017-08-04 16:34:40 -0600571 imply CMD_REGINFO
Tuomas Tynkkynenc88ecf42017-12-08 15:36:14 +0200572 imply SATA_SIL
York Sun52b6f132016-11-18 11:00:57 -0800573
York Sun4167a672016-11-18 11:05:38 -0800574config ARCH_P1025
575 bool
York Sun05cb79a2016-12-02 10:44:34 -0800576 select FSL_LAW
York Sun63659ff2016-12-28 08:43:43 -0800577 select SYS_FSL_ERRATUM_A004508
578 select SYS_FSL_ERRATUM_A005125
579 select SYS_FSL_ERRATUM_ELBC_A001
York Sunc01e4a12016-12-28 08:43:42 -0800580 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiangc16dfd02019-05-22 22:46:03 +0800581 select FSL_PCIE_DISABLE_ASPM
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800582 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800583 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800584 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800585 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800586 select SYS_FSL_SEC_COMPAT_2
York Sun53c95382016-12-28 08:43:29 -0800587 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530588 select FSL_ELBC
Simon Glass3bf926c2017-06-14 21:28:24 -0600589 imply CMD_SATA
Christophe Leroyfa379222017-08-04 16:34:40 -0600590 imply CMD_REGINFO
York Sun4167a672016-11-18 11:05:38 -0800591
York Sun45936372016-11-18 11:08:43 -0800592config ARCH_P2020
593 bool
Tom Rinia3041d92022-02-23 12:28:15 -0500594 select BTB
York Sun05cb79a2016-12-02 10:44:34 -0800595 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400596 select SYS_CACHE_SHIFT_5
York Sun63659ff2016-12-28 08:43:43 -0800597 select SYS_FSL_ERRATUM_A004477
598 select SYS_FSL_ERRATUM_A004508
599 select SYS_FSL_ERRATUM_A005125
York Sunc01e4a12016-12-28 08:43:42 -0800600 select SYS_FSL_ERRATUM_ESDHC111
601 select SYS_FSL_ERRATUM_ESDHC_A001
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800602 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800603 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800604 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800605 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800606 select SYS_FSL_SEC_COMPAT_2
York Sun53c95382016-12-28 08:43:29 -0800607 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530608 select FSL_ELBC
Simon Glassa1dc9802017-05-17 03:25:10 -0600609 imply CMD_EEPROM
Tom Rini8f1a80e2017-07-28 21:31:42 -0400610 imply CMD_NAND
Christophe Leroyfa379222017-08-04 16:34:40 -0600611 imply CMD_REGINFO
Simon Glassd6b318d2021-12-18 11:27:50 -0700612 imply TIMESTAMP
York Sun45936372016-11-18 11:08:43 -0800613
York Sunce040c82016-11-18 11:15:21 -0800614config ARCH_P2041
615 bool
Tom Rinib40d2b22022-03-18 08:38:32 -0400616 select BACKSIDE_L2_CACHE
York Sunf8dee362016-12-28 08:43:27 -0800617 select E500MC
York Sun05cb79a2016-12-02 10:44:34 -0800618 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400619 select SYS_CACHE_SHIFT_6
Tom Rini2db82bf2022-11-16 13:10:34 -0500620 select SYS_DPAA_FMAN
621 select SYS_DPAA_PME
622 select SYS_DPAA_RMAN
York Sun63659ff2016-12-28 08:43:43 -0800623 select SYS_FSL_ERRATUM_A004510
624 select SYS_FSL_ERRATUM_A004849
Chris Packham4eaf7f52018-10-04 20:03:53 +1300625 select SYS_FSL_ERRATUM_A005275
York Sun63659ff2016-12-28 08:43:43 -0800626 select SYS_FSL_ERRATUM_A006261
627 select SYS_FSL_ERRATUM_CPU_A003999
628 select SYS_FSL_ERRATUM_DDR_A003
629 select SYS_FSL_ERRATUM_DDR_A003474
York Sunc01e4a12016-12-28 08:43:42 -0800630 select SYS_FSL_ERRATUM_ESDHC111
York Sun63659ff2016-12-28 08:43:43 -0800631 select SYS_FSL_ERRATUM_I2C_A004447
632 select SYS_FSL_ERRATUM_NMG_CPU_A011
633 select SYS_FSL_ERRATUM_SRIO_A004034
634 select SYS_FSL_ERRATUM_USB14
York Sund26e34c2016-12-28 08:43:40 -0800635 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800636 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800637 select SYS_FSL_QORIQ_CHASSIS1
Tom Rini4143a232022-07-31 21:08:28 -0400638 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v22
York Sun90b80382016-12-28 08:43:31 -0800639 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800640 select SYS_FSL_SEC_COMPAT_4
Tom Riniff4e87c2022-07-31 21:08:29 -0400641 select SYS_FSL_USB1_PHY_ENABLE
642 select SYS_FSL_USB2_PHY_ENABLE
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530643 select FSL_ELBC
Tom Rini8f1a80e2017-07-28 21:31:42 -0400644 imply CMD_NAND
York Sunce040c82016-11-18 11:15:21 -0800645
York Sun5e5fdd22016-11-18 11:20:40 -0800646config ARCH_P3041
647 bool
Tom Rinib40d2b22022-03-18 08:38:32 -0400648 select BACKSIDE_L2_CACHE
York Sunf8dee362016-12-28 08:43:27 -0800649 select E500MC
Tom Rini6f6b9702022-07-23 13:05:08 -0400650 select FSL_CORENET
York Sun05cb79a2016-12-02 10:44:34 -0800651 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400652 select SYS_CACHE_SHIFT_6
York Sun22120f12016-12-28 08:43:46 -0800653 select SYS_FSL_DDR_VER_44
York Sun63659ff2016-12-28 08:43:43 -0800654 select SYS_FSL_ERRATUM_A004510
655 select SYS_FSL_ERRATUM_A004849
Chris Packham4eaf7f52018-10-04 20:03:53 +1300656 select SYS_FSL_ERRATUM_A005275
York Sun63659ff2016-12-28 08:43:43 -0800657 select SYS_FSL_ERRATUM_A005812
658 select SYS_FSL_ERRATUM_A006261
659 select SYS_FSL_ERRATUM_CPU_A003999
660 select SYS_FSL_ERRATUM_DDR_A003
661 select SYS_FSL_ERRATUM_DDR_A003474
York Sunc01e4a12016-12-28 08:43:42 -0800662 select SYS_FSL_ERRATUM_ESDHC111
York Sun63659ff2016-12-28 08:43:43 -0800663 select SYS_FSL_ERRATUM_I2C_A004447
664 select SYS_FSL_ERRATUM_NMG_CPU_A011
665 select SYS_FSL_ERRATUM_SRIO_A004034
666 select SYS_FSL_ERRATUM_USB14
York Sund26e34c2016-12-28 08:43:40 -0800667 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800668 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800669 select SYS_FSL_QORIQ_CHASSIS1
Tom Rini4143a232022-07-31 21:08:28 -0400670 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v22
York Sun90b80382016-12-28 08:43:31 -0800671 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800672 select SYS_FSL_SEC_COMPAT_4
Tom Riniff4e87c2022-07-31 21:08:29 -0400673 select SYS_FSL_USB1_PHY_ENABLE
674 select SYS_FSL_USB2_PHY_ENABLE
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530675 select FSL_ELBC
Tom Rini8f1a80e2017-07-28 21:31:42 -0400676 imply CMD_NAND
Simon Glass3bf926c2017-06-14 21:28:24 -0600677 imply CMD_SATA
Christophe Leroyfa379222017-08-04 16:34:40 -0600678 imply CMD_REGINFO
Tuomas Tynkkynen9920d152017-12-08 15:36:17 +0200679 imply FSL_SATA
York Sun5e5fdd22016-11-18 11:20:40 -0800680
York Sune71372c2016-11-18 11:24:40 -0800681config ARCH_P4080
682 bool
Tom Rinib40d2b22022-03-18 08:38:32 -0400683 select BACKSIDE_L2_CACHE
York Sunf8dee362016-12-28 08:43:27 -0800684 select E500MC
Tom Rini6f6b9702022-07-23 13:05:08 -0400685 select FSL_CORENET
York Sun05cb79a2016-12-02 10:44:34 -0800686 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400687 select SYS_CACHE_SHIFT_6
York Sun22120f12016-12-28 08:43:46 -0800688 select SYS_FSL_DDR_VER_44
York Sun63659ff2016-12-28 08:43:43 -0800689 select SYS_FSL_ERRATUM_A004510
690 select SYS_FSL_ERRATUM_A004580
691 select SYS_FSL_ERRATUM_A004849
692 select SYS_FSL_ERRATUM_A005812
693 select SYS_FSL_ERRATUM_A007075
694 select SYS_FSL_ERRATUM_CPC_A002
695 select SYS_FSL_ERRATUM_CPC_A003
696 select SYS_FSL_ERRATUM_CPU_A003999
697 select SYS_FSL_ERRATUM_DDR_A003
698 select SYS_FSL_ERRATUM_DDR_A003474
699 select SYS_FSL_ERRATUM_ELBC_A001
York Sunc01e4a12016-12-28 08:43:42 -0800700 select SYS_FSL_ERRATUM_ESDHC111
701 select SYS_FSL_ERRATUM_ESDHC13
702 select SYS_FSL_ERRATUM_ESDHC135
York Sun63659ff2016-12-28 08:43:43 -0800703 select SYS_FSL_ERRATUM_I2C_A004447
704 select SYS_FSL_ERRATUM_NMG_CPU_A011
705 select SYS_FSL_ERRATUM_SRIO_A004034
Tom Rini4143a232022-07-31 21:08:28 -0400706 select SYS_FSL_PCIE_COMPAT_P4080_PCIE
York Sun63659ff2016-12-28 08:43:43 -0800707 select SYS_P4080_ERRATUM_CPU22
708 select SYS_P4080_ERRATUM_PCIE_A003
709 select SYS_P4080_ERRATUM_SERDES8
710 select SYS_P4080_ERRATUM_SERDES9
711 select SYS_P4080_ERRATUM_SERDES_A001
712 select SYS_P4080_ERRATUM_SERDES_A005
York Sund26e34c2016-12-28 08:43:40 -0800713 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800714 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800715 select SYS_FSL_QORIQ_CHASSIS1
Tom Riniff4e87c2022-07-31 21:08:29 -0400716 select SYS_FSL_RMU
York Sun90b80382016-12-28 08:43:31 -0800717 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800718 select SYS_FSL_SEC_COMPAT_4
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530719 select FSL_ELBC
Simon Glass3bf926c2017-06-14 21:28:24 -0600720 imply CMD_SATA
Christophe Leroyfa379222017-08-04 16:34:40 -0600721 imply CMD_REGINFO
Tuomas Tynkkynenc88ecf42017-12-08 15:36:14 +0200722 imply SATA_SIL
York Sune71372c2016-11-18 11:24:40 -0800723
York Sun95390362016-11-18 11:39:36 -0800724config ARCH_P5040
725 bool
Tom Rinib40d2b22022-03-18 08:38:32 -0400726 select BACKSIDE_L2_CACHE
York Sunf8dee362016-12-28 08:43:27 -0800727 select E500MC
Tom Rini6f6b9702022-07-23 13:05:08 -0400728 select FSL_CORENET
York Sun05cb79a2016-12-02 10:44:34 -0800729 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400730 select SYS_CACHE_SHIFT_6
York Sun22120f12016-12-28 08:43:46 -0800731 select SYS_FSL_DDR_VER_44
York Sun63659ff2016-12-28 08:43:43 -0800732 select SYS_FSL_ERRATUM_A004510
733 select SYS_FSL_ERRATUM_A004699
Chris Packham4eaf7f52018-10-04 20:03:53 +1300734 select SYS_FSL_ERRATUM_A005275
York Sun63659ff2016-12-28 08:43:43 -0800735 select SYS_FSL_ERRATUM_A005812
736 select SYS_FSL_ERRATUM_A006261
737 select SYS_FSL_ERRATUM_DDR_A003
738 select SYS_FSL_ERRATUM_DDR_A003474
York Sunc01e4a12016-12-28 08:43:42 -0800739 select SYS_FSL_ERRATUM_ESDHC111
York Sun63659ff2016-12-28 08:43:43 -0800740 select SYS_FSL_ERRATUM_USB14
York Sund26e34c2016-12-28 08:43:40 -0800741 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800742 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800743 select SYS_FSL_QORIQ_CHASSIS1
Tom Rini4143a232022-07-31 21:08:28 -0400744 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v24
York Sun90b80382016-12-28 08:43:31 -0800745 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800746 select SYS_FSL_SEC_COMPAT_4
Tom Riniff4e87c2022-07-31 21:08:29 -0400747 select SYS_FSL_USB1_PHY_ENABLE
748 select SYS_FSL_USB2_PHY_ENABLE
York Sun48512782016-12-28 08:43:50 -0800749 select SYS_PPC64
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530750 select FSL_ELBC
Simon Glass3bf926c2017-06-14 21:28:24 -0600751 imply CMD_SATA
Christophe Leroyfa379222017-08-04 16:34:40 -0600752 imply CMD_REGINFO
Tuomas Tynkkynen9920d152017-12-08 15:36:17 +0200753 imply FSL_SATA
York Sun95390362016-11-18 11:39:36 -0800754
York Sun10343402016-11-18 12:29:51 -0800755config ARCH_QEMU_E500
756 bool
Tom Riniab92b382021-08-26 11:47:59 -0400757 select SYS_CACHE_SHIFT_5
York Sun10343402016-11-18 12:29:51 -0800758
York Sune5d5f5a2016-11-18 13:01:34 -0800759config ARCH_T1024
760 bool
Tom Rinib40d2b22022-03-18 08:38:32 -0400761 select BACKSIDE_L2_CACHE
York Sunf8dee362016-12-28 08:43:27 -0800762 select E500MC
Tom Rinif2428ac2022-03-24 17:18:01 -0400763 select E5500
Tom Rini6f6b9702022-07-23 13:05:08 -0400764 select FSL_CORENET
York Sun05cb79a2016-12-02 10:44:34 -0800765 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400766 select SYS_CACHE_SHIFT_6
Tom Rini2db82bf2022-11-16 13:10:34 -0500767 select SYS_DPAA_FMAN
York Sun22120f12016-12-28 08:43:46 -0800768 select SYS_FSL_DDR_VER_50
York Sun63659ff2016-12-28 08:43:43 -0800769 select SYS_FSL_ERRATUM_A008378
Jaiprakash Singh164a5af2020-06-02 12:44:02 +0530770 select SYS_FSL_ERRATUM_A008109
York Sun63659ff2016-12-28 08:43:43 -0800771 select SYS_FSL_ERRATUM_A009663
772 select SYS_FSL_ERRATUM_A009942
York Sunc01e4a12016-12-28 08:43:42 -0800773 select SYS_FSL_ERRATUM_ESDHC111
York Sund26e34c2016-12-28 08:43:40 -0800774 select SYS_FSL_HAS_DDR3
775 select SYS_FSL_HAS_DDR4
York Sun2c2e2c92016-12-28 08:43:30 -0800776 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800777 select SYS_FSL_QORIQ_CHASSIS2
Tom Rini4143a232022-07-31 21:08:28 -0400778 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v24
York Sun90b80382016-12-28 08:43:31 -0800779 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800780 select SYS_FSL_SEC_COMPAT_5
Tom Riniff4e87c2022-07-31 21:08:29 -0400781 select SYS_FSL_SINGLE_SOURCE_CLK
782 select SYS_FSL_QMAN_V3 if SYS_DPAA_QBMAN
783 select SYS_FSL_USB_DUAL_PHY_ENABLE
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530784 select FSL_IFC
Simon Glassa1dc9802017-05-17 03:25:10 -0600785 imply CMD_EEPROM
Tom Rini8f1a80e2017-07-28 21:31:42 -0400786 imply CMD_NAND
Tom Rinid56b4b12017-07-22 18:36:16 -0400787 imply CMD_MTDPARTS
Christophe Leroyfa379222017-08-04 16:34:40 -0600788 imply CMD_REGINFO
York Sune5d5f5a2016-11-18 13:01:34 -0800789
York Sun5d737012016-11-18 13:11:12 -0800790config ARCH_T1040
791 bool
Tom Rinib40d2b22022-03-18 08:38:32 -0400792 select BACKSIDE_L2_CACHE
York Sunf8dee362016-12-28 08:43:27 -0800793 select E500MC
Tom Rinif2428ac2022-03-24 17:18:01 -0400794 select E5500
Tom Rini6f6b9702022-07-23 13:05:08 -0400795 select FSL_CORENET
York Sun05cb79a2016-12-02 10:44:34 -0800796 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400797 select SYS_CACHE_SHIFT_6
Tom Rini2db82bf2022-11-16 13:10:34 -0500798 select SYS_DPAA_FMAN
799 select SYS_DPAA_PME
York Sun22120f12016-12-28 08:43:46 -0800800 select SYS_FSL_DDR_VER_50
York Sun63659ff2016-12-28 08:43:43 -0800801 select SYS_FSL_ERRATUM_A008044
802 select SYS_FSL_ERRATUM_A008378
Joakim Tjernlund73af0942019-11-20 17:07:34 +0100803 select SYS_FSL_ERRATUM_A008109
York Sun63659ff2016-12-28 08:43:43 -0800804 select SYS_FSL_ERRATUM_A009663
805 select SYS_FSL_ERRATUM_A009942
York Sunc01e4a12016-12-28 08:43:42 -0800806 select SYS_FSL_ERRATUM_ESDHC111
York Sund26e34c2016-12-28 08:43:40 -0800807 select SYS_FSL_HAS_DDR3
808 select SYS_FSL_HAS_DDR4
York Sun2c2e2c92016-12-28 08:43:30 -0800809 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800810 select SYS_FSL_QORIQ_CHASSIS2
Tom Rini4143a232022-07-31 21:08:28 -0400811 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v24
York Sun90b80382016-12-28 08:43:31 -0800812 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800813 select SYS_FSL_SEC_COMPAT_5
Tom Riniff4e87c2022-07-31 21:08:29 -0400814 select SYS_FSL_SINGLE_SOURCE_CLK
815 select SYS_FSL_QMAN_V3 if SYS_DPAA_QBMAN
816 select SYS_FSL_USB_DUAL_PHY_ENABLE
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530817 select FSL_IFC
Tom Rinid56b4b12017-07-22 18:36:16 -0400818 imply CMD_MTDPARTS
Tom Rini8f1a80e2017-07-28 21:31:42 -0400819 imply CMD_NAND
Christophe Leroyfa379222017-08-04 16:34:40 -0600820 imply CMD_REGINFO
York Sun5d737012016-11-18 13:11:12 -0800821
York Sun5449c982016-11-18 13:36:39 -0800822config ARCH_T1042
823 bool
Tom Rinib40d2b22022-03-18 08:38:32 -0400824 select BACKSIDE_L2_CACHE
York Sunf8dee362016-12-28 08:43:27 -0800825 select E500MC
Tom Rinif2428ac2022-03-24 17:18:01 -0400826 select E5500
Tom Rini6f6b9702022-07-23 13:05:08 -0400827 select FSL_CORENET
York Sun05cb79a2016-12-02 10:44:34 -0800828 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400829 select SYS_CACHE_SHIFT_6
Tom Rini2db82bf2022-11-16 13:10:34 -0500830 select SYS_DPAA_FMAN
831 select SYS_DPAA_PME
York Sun22120f12016-12-28 08:43:46 -0800832 select SYS_FSL_DDR_VER_50
York Sun63659ff2016-12-28 08:43:43 -0800833 select SYS_FSL_ERRATUM_A008044
834 select SYS_FSL_ERRATUM_A008378
Joakim Tjernlund73af0942019-11-20 17:07:34 +0100835 select SYS_FSL_ERRATUM_A008109
York Sun63659ff2016-12-28 08:43:43 -0800836 select SYS_FSL_ERRATUM_A009663
837 select SYS_FSL_ERRATUM_A009942
York Sunc01e4a12016-12-28 08:43:42 -0800838 select SYS_FSL_ERRATUM_ESDHC111
York Sund26e34c2016-12-28 08:43:40 -0800839 select SYS_FSL_HAS_DDR3
840 select SYS_FSL_HAS_DDR4
York Sun2c2e2c92016-12-28 08:43:30 -0800841 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800842 select SYS_FSL_QORIQ_CHASSIS2
Tom Rini4143a232022-07-31 21:08:28 -0400843 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v24
York Sun90b80382016-12-28 08:43:31 -0800844 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800845 select SYS_FSL_SEC_COMPAT_5
Tom Riniff4e87c2022-07-31 21:08:29 -0400846 select SYS_FSL_SINGLE_SOURCE_CLK
847 select SYS_FSL_QMAN_V3 if SYS_DPAA_QBMAN
848 select SYS_FSL_USB_DUAL_PHY_ENABLE
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530849 select FSL_IFC
Tom Rinid56b4b12017-07-22 18:36:16 -0400850 imply CMD_MTDPARTS
Tom Rini8f1a80e2017-07-28 21:31:42 -0400851 imply CMD_NAND
Christophe Leroyfa379222017-08-04 16:34:40 -0600852 imply CMD_REGINFO
York Sun5449c982016-11-18 13:36:39 -0800853
York Sun0f3d80e2016-11-21 12:54:19 -0800854config ARCH_T2080
855 bool
York Sunf8dee362016-12-28 08:43:27 -0800856 select E500MC
York Sun9ec10102016-12-28 08:43:48 -0800857 select E6500
Tom Rini6f6b9702022-07-23 13:05:08 -0400858 select FSL_CORENET
York Sun05cb79a2016-12-02 10:44:34 -0800859 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400860 select SYS_CACHE_SHIFT_6
Tom Rini2db82bf2022-11-16 13:10:34 -0500861 select SYS_DPAA_DCE if !NOBQFMAN
862 select SYS_DPAA_FMAN if !NOBQFMAN
863 select SYS_DPAA_PME if !NOBQFMAN
864 select SYS_DPAA_RMAN if !NOBQFMAN
York Sun22120f12016-12-28 08:43:46 -0800865 select SYS_FSL_DDR_VER_47
York Sun63659ff2016-12-28 08:43:43 -0800866 select SYS_FSL_ERRATUM_A006379
867 select SYS_FSL_ERRATUM_A006593
Tom Rini601483f2022-06-16 14:04:40 -0400868 select SYS_FSL_ERRATUM_A007186 if CHAIN_OF_TRUST
York Sun63659ff2016-12-28 08:43:43 -0800869 select SYS_FSL_ERRATUM_A007212
Tony O'Brien09bfd962016-12-02 09:22:34 +1300870 select SYS_FSL_ERRATUM_A007815
Darwin Dingel06ad9702016-10-25 09:48:01 +1300871 select SYS_FSL_ERRATUM_A007907
Jaiprakash Singh164a5af2020-06-02 12:44:02 +0530872 select SYS_FSL_ERRATUM_A008109
York Sun63659ff2016-12-28 08:43:43 -0800873 select SYS_FSL_ERRATUM_A009942
York Sunc01e4a12016-12-28 08:43:42 -0800874 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800875 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800876 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800877 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800878 select SYS_FSL_QORIQ_CHASSIS2
Tom Rini4143a232022-07-31 21:08:28 -0400879 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v30
York Sun90b80382016-12-28 08:43:31 -0800880 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800881 select SYS_FSL_SEC_COMPAT_4
Tom Riniff4e87c2022-07-31 21:08:29 -0400882 select SYS_FSL_SRIO_LIODN
883 select SYS_FSL_QMAN_V3 if SYS_DPAA_QBMAN
884 select SYS_FSL_USB_DUAL_PHY_ENABLE
Tom Rini2db82bf2022-11-16 13:10:34 -0500885 select SYS_PMAN if !NOBQFMAN
York Sun48512782016-12-28 08:43:50 -0800886 select SYS_PPC64
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530887 select FSL_IFC
Peng Maa2d4cb22019-12-23 09:28:12 +0000888 imply CMD_SATA
Tom Rini8f1a80e2017-07-28 21:31:42 -0400889 imply CMD_NAND
Christophe Leroyfa379222017-08-04 16:34:40 -0600890 imply CMD_REGINFO
Peng Maa2d4cb22019-12-23 09:28:12 +0000891 imply FSL_SATA
Tom Rinid7d40f62021-08-17 17:59:41 -0400892 imply ID_EEPROM
York Sun0f3d80e2016-11-21 12:54:19 -0800893
York Sun26bc57d2016-11-21 13:35:41 -0800894config ARCH_T4240
895 bool
York Sunf8dee362016-12-28 08:43:27 -0800896 select E500MC
York Sun9ec10102016-12-28 08:43:48 -0800897 select E6500
Tom Rini6f6b9702022-07-23 13:05:08 -0400898 select FSL_CORENET
York Sun05cb79a2016-12-02 10:44:34 -0800899 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400900 select SYS_CACHE_SHIFT_6
Tom Rini2db82bf2022-11-16 13:10:34 -0500901 select SYS_DPAA_DCE if !NOBQFMAN
902 select SYS_DPAA_FMAN if !NOBQFMAN
903 select SYS_DPAA_PME if !NOBQFMAN
904 select SYS_DPAA_RMAN if !NOBQFMAN
York Sun22120f12016-12-28 08:43:46 -0800905 select SYS_FSL_DDR_VER_47
York Sun63659ff2016-12-28 08:43:43 -0800906 select SYS_FSL_ERRATUM_A004468
907 select SYS_FSL_ERRATUM_A005871
908 select SYS_FSL_ERRATUM_A006261
909 select SYS_FSL_ERRATUM_A006379
910 select SYS_FSL_ERRATUM_A006593
Tom Rini601483f2022-06-16 14:04:40 -0400911 select SYS_FSL_ERRATUM_A007186 if CHAIN_OF_TRUST
York Sun63659ff2016-12-28 08:43:43 -0800912 select SYS_FSL_ERRATUM_A007798
Tony O'Brien09bfd962016-12-02 09:22:34 +1300913 select SYS_FSL_ERRATUM_A007815
Darwin Dingel06ad9702016-10-25 09:48:01 +1300914 select SYS_FSL_ERRATUM_A007907
Jaiprakash Singh164a5af2020-06-02 12:44:02 +0530915 select SYS_FSL_ERRATUM_A008109
York Sun63659ff2016-12-28 08:43:43 -0800916 select SYS_FSL_ERRATUM_A009942
York Sund26e34c2016-12-28 08:43:40 -0800917 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800918 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800919 select SYS_FSL_QORIQ_CHASSIS2
Tom Rini4143a232022-07-31 21:08:28 -0400920 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v30
York Sun90b80382016-12-28 08:43:31 -0800921 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800922 select SYS_FSL_SEC_COMPAT_4
Tom Riniff4e87c2022-07-31 21:08:29 -0400923 select SYS_FSL_SRIO_LIODN
924 select SYS_FSL_QMAN_V3 if SYS_DPAA_QBMAN
925 select SYS_FSL_USB_DUAL_PHY_ENABLE
Tom Rini2db82bf2022-11-16 13:10:34 -0500926 select SYS_PMAN if !NOBQFMAN
York Sun48512782016-12-28 08:43:50 -0800927 select SYS_PPC64
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530928 select FSL_IFC
Simon Glass3bf926c2017-06-14 21:28:24 -0600929 imply CMD_SATA
Tom Rini8f1a80e2017-07-28 21:31:42 -0400930 imply CMD_NAND
Christophe Leroyfa379222017-08-04 16:34:40 -0600931 imply CMD_REGINFO
Tuomas Tynkkynen9920d152017-12-08 15:36:17 +0200932 imply FSL_SATA
York Sun05cb79a2016-12-02 10:44:34 -0800933
Jagdish Gediya96699f02018-09-03 21:35:10 +0530934config MPC85XX_HAVE_RESET_VECTOR
Tom Rini3db78c82022-12-04 10:13:40 -0500935 bool "Indicate reset vector at CFG_RESET_VECTOR_ADDRESS - 0xffc"
Jagdish Gediya96699f02018-09-03 21:35:10 +0530936 depends on MPC85xx
937
Tom Rinia3041d92022-02-23 12:28:15 -0500938config BTB
939 bool "toggle branch predition"
940
York Sunf8dee362016-12-28 08:43:27 -0800941config BOOKE
942 bool
943 default y
944
945config E500
946 bool
947 default y
948 help
949 Enable PowerPC E500 cores, including e500v1, e500v2, e500mc
950
951config E500MC
952 bool
Tom Rinia3041d92022-02-23 12:28:15 -0500953 select BTB
Simon Glass6500ec72017-08-04 16:34:34 -0600954 imply CMD_PCI
York Sunf8dee362016-12-28 08:43:27 -0800955 help
956 Enble PowerPC E500MC core
957
Tom Rinif2428ac2022-03-24 17:18:01 -0400958config E5500
959 bool
960
York Sun9ec10102016-12-28 08:43:48 -0800961config E6500
962 bool
Tom Rinia3041d92022-02-23 12:28:15 -0500963 select BTB
York Sun9ec10102016-12-28 08:43:48 -0800964 help
965 Enable PowerPC E6500 core
966
Tom Rini2db82bf2022-11-16 13:10:34 -0500967config NOBQFMAN
968 bool
969
York Sun05cb79a2016-12-02 10:44:34 -0800970config FSL_LAW
971 bool
972 help
973 Use Freescale common code for Local Access Window
York Sun26bc57d2016-11-21 13:35:41 -0800974
Tom Rini1e7750f2022-06-16 14:04:34 -0400975config HETROGENOUS_CLUSTERS
976 bool
977
York Sun3f82b562016-11-23 12:30:40 -0800978config MAX_CPUS
979 int "Maximum number of CPUs permitted for MPC85xx"
980 default 12 if ARCH_T4240
Tom Riniec6b37c2021-05-23 10:58:05 -0400981 default 8 if ARCH_P4080
York Sun3f82b562016-11-23 12:30:40 -0800982 default 4 if ARCH_B4860 || \
983 ARCH_P2041 || \
984 ARCH_P3041 || \
985 ARCH_P5040 || \
986 ARCH_T1040 || \
987 ARCH_T1042 || \
Tom Rini2322b952021-02-20 20:06:21 -0500988 ARCH_T2080
York Sun3f82b562016-11-23 12:30:40 -0800989 default 2 if ARCH_B4420 || \
990 ARCH_BSC9132 || \
York Sun3f82b562016-11-23 12:30:40 -0800991 ARCH_P1020 || \
992 ARCH_P1021 || \
York Sun3f82b562016-11-23 12:30:40 -0800993 ARCH_P1023 || \
994 ARCH_P1024 || \
995 ARCH_P1025 || \
996 ARCH_P2020 || \
York Sun3f82b562016-11-23 12:30:40 -0800997 ARCH_T1024
998 default 1
999 help
1000 Set this number to the maximum number of possible CPUs in the SoC.
1001 SoCs may have multiple clusters with each cluster may have multiple
1002 ports. If some ports are reserved but higher ports are used for
1003 cores, count the reserved ports. This will allocate enough memory
1004 in spin table to properly handle all cores.
1005
York Sun830fc1b2016-12-01 13:26:06 -08001006config SYS_CCSRBAR_DEFAULT
1007 hex "Default CCSRBAR address"
1008 default 0xff700000 if ARCH_BSC9131 || \
1009 ARCH_BSC9132 || \
1010 ARCH_C29X || \
1011 ARCH_MPC8536 || \
1012 ARCH_MPC8540 || \
York Sun830fc1b2016-12-01 13:26:06 -08001013 ARCH_MPC8544 || \
1014 ARCH_MPC8548 || \
York Sun830fc1b2016-12-01 13:26:06 -08001015 ARCH_MPC8560 || \
York Sun830fc1b2016-12-01 13:26:06 -08001016 ARCH_P1010 || \
1017 ARCH_P1011 || \
1018 ARCH_P1020 || \
1019 ARCH_P1021 || \
York Sun830fc1b2016-12-01 13:26:06 -08001020 ARCH_P1024 || \
1021 ARCH_P1025 || \
1022 ARCH_P2020
1023 default 0xff600000 if ARCH_P1023
1024 default 0xfe000000 if ARCH_B4420 || \
1025 ARCH_B4860 || \
1026 ARCH_P2041 || \
1027 ARCH_P3041 || \
1028 ARCH_P4080 || \
York Sun830fc1b2016-12-01 13:26:06 -08001029 ARCH_P5040 || \
York Sun830fc1b2016-12-01 13:26:06 -08001030 ARCH_T1024 || \
1031 ARCH_T1040 || \
1032 ARCH_T1042 || \
1033 ARCH_T2080 || \
York Sun830fc1b2016-12-01 13:26:06 -08001034 ARCH_T4240
1035 default 0xe0000000 if ARCH_QEMU_E500
1036 help
1037 Default value of CCSRBAR comes from power-on-reset. It
1038 is fixed on each SoC. Some SoCs can have different value
1039 if changed by pre-boot regime. The value here must match
1040 the current value in SoC. If not sure, do not change.
1041
Tom Rini2db82bf2022-11-16 13:10:34 -05001042config SYS_DPAA_PME
1043 bool
1044
1045config SYS_DPAA_DCE
1046 bool
1047
1048config SYS_DPAA_RMAN
1049 bool
1050
Tom Rinifdd0da42022-03-11 09:11:59 -05001051config A003399_NOR_WORKAROUND
1052 bool
1053 help
1054 Enables a workaround for IFC erratum A003399. It is only required
1055 during NOR boot.
1056
Tom Rini5f7c8862022-03-11 09:12:00 -05001057config A008044_WORKAROUND
1058 bool
1059 help
1060 Enables a workaround for T1040/T1042 erratum A008044. It is only
1061 required during NAND boot and valid for Rev 1.0 SoC revision
1062
York Sun63659ff2016-12-28 08:43:43 -08001063config SYS_FSL_ERRATUM_A004468
1064 bool
1065
1066config SYS_FSL_ERRATUM_A004477
1067 bool
1068
1069config SYS_FSL_ERRATUM_A004508
1070 bool
1071
1072config SYS_FSL_ERRATUM_A004580
1073 bool
1074
1075config SYS_FSL_ERRATUM_A004699
1076 bool
1077
1078config SYS_FSL_ERRATUM_A004849
1079 bool
1080
1081config SYS_FSL_ERRATUM_A004510
1082 bool
1083
1084config SYS_FSL_ERRATUM_A004510_SVR_REV
1085 hex
1086 depends on SYS_FSL_ERRATUM_A004510
1087 default 0x20 if ARCH_P4080
1088 default 0x10
1089
1090config SYS_FSL_ERRATUM_A004510_SVR_REV2
1091 hex
1092 depends on (SYS_FSL_ERRATUM_A004510 && (ARCH_P2041 || ARCH_P3041))
1093 default 0x11
1094
1095config SYS_FSL_ERRATUM_A005125
1096 bool
1097
1098config SYS_FSL_ERRATUM_A005434
1099 bool
1100
1101config SYS_FSL_ERRATUM_A005812
1102 bool
1103
1104config SYS_FSL_ERRATUM_A005871
1105 bool
1106
Chris Packham4eaf7f52018-10-04 20:03:53 +13001107config SYS_FSL_ERRATUM_A005275
1108 bool
1109
York Sun63659ff2016-12-28 08:43:43 -08001110config SYS_FSL_ERRATUM_A006261
1111 bool
1112
1113config SYS_FSL_ERRATUM_A006379
1114 bool
1115
1116config SYS_FSL_ERRATUM_A006384
1117 bool
1118
1119config SYS_FSL_ERRATUM_A006475
1120 bool
1121
1122config SYS_FSL_ERRATUM_A006593
1123 bool
1124
1125config SYS_FSL_ERRATUM_A007075
1126 bool
1127
1128config SYS_FSL_ERRATUM_A007186
1129 bool
1130
1131config SYS_FSL_ERRATUM_A007212
1132 bool
1133
Tony O'Brien09bfd962016-12-02 09:22:34 +13001134config SYS_FSL_ERRATUM_A007815
1135 bool
1136
York Sun63659ff2016-12-28 08:43:43 -08001137config SYS_FSL_ERRATUM_A007798
1138 bool
1139
Darwin Dingel06ad9702016-10-25 09:48:01 +13001140config SYS_FSL_ERRATUM_A007907
1141 bool
1142
York Sun63659ff2016-12-28 08:43:43 -08001143config SYS_FSL_ERRATUM_A008044
1144 bool
Tom Rini5f7c8862022-03-11 09:12:00 -05001145 select A008044_WORKAROUND if MTD_RAW_NAND
York Sun63659ff2016-12-28 08:43:43 -08001146
1147config SYS_FSL_ERRATUM_CPC_A002
1148 bool
1149
1150config SYS_FSL_ERRATUM_CPC_A003
1151 bool
1152
1153config SYS_FSL_ERRATUM_CPU_A003999
1154 bool
1155
1156config SYS_FSL_ERRATUM_ELBC_A001
1157 bool
1158
1159config SYS_FSL_ERRATUM_I2C_A004447
1160 bool
1161
1162config SYS_FSL_A004447_SVR_REV
1163 hex
1164 depends on SYS_FSL_ERRATUM_I2C_A004447
1165 default 0x00 if ARCH_MPC8548
1166 default 0x10 if ARCH_P1010
1167 default 0x11 if ARCH_P1023 || ARCH_P2041 || ARCH_BSC9132
Tom Rinia99dab12021-02-20 20:06:30 -05001168 default 0x20 if ARCH_P3041 || ARCH_P4080
York Sun63659ff2016-12-28 08:43:43 -08001169
1170config SYS_FSL_ERRATUM_IFC_A002769
1171 bool
1172
1173config SYS_FSL_ERRATUM_IFC_A003399
1174 bool
1175
1176config SYS_FSL_ERRATUM_NMG_CPU_A011
1177 bool
1178
1179config SYS_FSL_ERRATUM_NMG_ETSEC129
1180 bool
1181
1182config SYS_FSL_ERRATUM_NMG_LBC103
1183 bool
1184
1185config SYS_FSL_ERRATUM_P1010_A003549
1186 bool
1187
1188config SYS_FSL_ERRATUM_SATA_A001
1189 bool
1190
1191config SYS_FSL_ERRATUM_SEC_A003571
1192 bool
1193
1194config SYS_FSL_ERRATUM_SRIO_A004034
1195 bool
1196
1197config SYS_FSL_ERRATUM_USB14
1198 bool
1199
Tom Rinif76750d2021-12-11 14:55:51 -05001200config SYS_HAS_SERDES
1201 bool
1202
York Sun63659ff2016-12-28 08:43:43 -08001203config SYS_P4080_ERRATUM_CPU22
1204 bool
1205
1206config SYS_P4080_ERRATUM_PCIE_A003
1207 bool
1208
1209config SYS_P4080_ERRATUM_SERDES8
1210 bool
1211
1212config SYS_P4080_ERRATUM_SERDES9
1213 bool
1214
1215config SYS_P4080_ERRATUM_SERDES_A001
1216 bool
1217
1218config SYS_P4080_ERRATUM_SERDES_A005
1219 bool
1220
Hou Zhiqiangc16dfd02019-05-22 22:46:03 +08001221config FSL_PCIE_DISABLE_ASPM
1222 bool
1223
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +08001224config FSL_PCIE_RESET
1225 bool
1226
Tom Rini2db82bf2022-11-16 13:10:34 -05001227config SYS_PMAN
1228 bool
1229
Tom Riniff4e87c2022-07-31 21:08:29 -04001230config SYS_FSL_RAID_ENGINE
1231 bool
1232
1233config SYS_FSL_RMU
1234 bool
1235
York Sun73717742016-12-28 08:43:49 -08001236config SYS_FSL_QORIQ_CHASSIS1
1237 bool
1238
1239config SYS_FSL_QORIQ_CHASSIS2
1240 bool
1241
York Sun8303acb2016-12-01 14:05:02 -08001242config SYS_FSL_NUM_LAWS
1243 int "Number of local access windows"
1244 depends on FSL_LAW
1245 default 32 if ARCH_B4420 || \
1246 ARCH_B4860 || \
1247 ARCH_P2041 || \
1248 ARCH_P3041 || \
1249 ARCH_P4080 || \
York Sun8303acb2016-12-01 14:05:02 -08001250 ARCH_P5040 || \
1251 ARCH_T2080 || \
York Sun8303acb2016-12-01 14:05:02 -08001252 ARCH_T4240
Tom Rini6c3d9932021-05-14 21:34:22 -04001253 default 16 if ARCH_T1024 || \
York Sun8303acb2016-12-01 14:05:02 -08001254 ARCH_T1040 || \
1255 ARCH_T1042
1256 default 12 if ARCH_BSC9131 || \
1257 ARCH_BSC9132 || \
1258 ARCH_C29X || \
1259 ARCH_MPC8536 || \
York Sun8303acb2016-12-01 14:05:02 -08001260 ARCH_P1010 || \
1261 ARCH_P1011 || \
1262 ARCH_P1020 || \
1263 ARCH_P1021 || \
York Sun8303acb2016-12-01 14:05:02 -08001264 ARCH_P1023 || \
1265 ARCH_P1024 || \
1266 ARCH_P1025 || \
1267 ARCH_P2020
1268 default 10 if ARCH_MPC8544 || \
Tom Rini80696892021-05-14 21:34:23 -04001269 ARCH_MPC8548
York Sun8303acb2016-12-01 14:05:02 -08001270 default 8 if ARCH_MPC8540 || \
York Sun8303acb2016-12-01 14:05:02 -08001271 ARCH_MPC8560
1272 help
1273 Number of local access windows. This is fixed per SoC.
1274 If not sure, do not change.
1275
Tom Rini7da6a9e2022-07-23 13:05:11 -04001276config SYS_FSL_CORES_PER_CLUSTER
1277 int
1278 depends on SYS_FSL_QORIQ_CHASSIS2
1279 default 4 if ARCH_B4860 || ARCH_T2080 || ARCH_T4240
1280 default 2 if ARCH_B4420
1281 default 1 if ARCH_T1024 || ARCH_T1040 || ARCH_T1042
1282
York Sun9ec10102016-12-28 08:43:48 -08001283config SYS_FSL_THREADS_PER_CORE
1284 int
Tom Rini7da6a9e2022-07-23 13:05:11 -04001285 depends on SYS_FSL_QORIQ_CHASSIS2
York Sun9ec10102016-12-28 08:43:48 -08001286 default 2 if E6500
1287 default 1
1288
York Sun26e79b62016-12-28 08:43:28 -08001289config SYS_NUM_TLBCAMS
1290 int "Number of TLB CAM entries"
1291 default 64 if E500MC
1292 default 16
1293 help
1294 Number of TLB CAM entries for Book-E chips. 64 for E500MC,
1295 16 for other E500 SoCs.
1296
Tom Rini960379d2022-12-02 16:42:33 -05001297config L2_CACHE
1298 bool "Enable L2 cache support"
1299
Tom Rini1e7750f2022-06-16 14:04:34 -04001300if HETROGENOUS_CLUSTERS
1301
1302config SYS_MAPLE
1303 def_bool y
1304
1305config SYS_CPRI
1306 def_bool y
1307
1308config PPC_CLUSTER_START
1309 int
1310 default 0
1311
1312config DSP_CLUSTER_START
1313 int
1314 default 1
1315
1316config SYS_CPRI_CLK
1317 int
1318 default 3
1319
1320config SYS_ULB_CLK
1321 int
1322 default 4
1323
1324config SYS_ETVPE_CLK
1325 int
1326 default 1
Tom Rini3a581af2022-12-02 16:42:21 -05001327
1328config MAX_DSP_CPUS
1329 int
1330 default 12 if ARCH_B4860
1331 default 2 if ARCH_B4420
Tom Rini1e7750f2022-06-16 14:04:34 -04001332endif
1333
Tom Rini22a22832022-10-28 20:27:00 -04001334config SYS_L2_SIZE_256KB
1335 bool
1336
1337config SYS_L2_SIZE_512KB
1338 bool
1339
1340config SYS_L2_SIZE
1341 int
1342 default 262144 if SYS_L2_SIZE_256KB
1343 default 524288 if SYS_L2_SIZE_512KB
1344
Tom Rinib40d2b22022-03-18 08:38:32 -04001345config BACKSIDE_L2_CACHE
1346 bool
1347
Tom Rinib85d7592022-10-28 20:27:01 -04001348config SYS_L3_SIZE_256KB
1349 bool
1350
1351config SYS_L3_SIZE_512KB
1352 bool
1353
1354config SYS_L3_SIZE_1024KB
1355 bool
1356
1357config SYS_L3_SIZE
1358 int
1359 default 262144 if SYS_L3_SIZE_256KB
1360 default 524288 if SYS_L3_SIZE_512KB
1361 default 1048576 if SYS_L3_SIZE_512KB
1362
York Sun48512782016-12-28 08:43:50 -08001363config SYS_PPC64
1364 bool
1365
York Sun53c95382016-12-28 08:43:29 -08001366config SYS_PPC_E500_USE_DEBUG_TLB
1367 bool
1368
Prabhakar Kushwaha06878972017-02-02 15:01:48 +05301369config FSL_ELBC
1370 bool
1371
York Sun53c95382016-12-28 08:43:29 -08001372config SYS_PPC_E500_DEBUG_TLB
1373 int "Temporary TLB entry for external debugger"
1374 depends on SYS_PPC_E500_USE_DEBUG_TLB
1375 default 0 if ARCH_MPC8544 || ARCH_MPC8548
1376 default 1 if ARCH_MPC8536
Tom Rinied7fe2b2021-05-14 21:34:25 -04001377 default 2 if ARCH_P1011 || \
York Sun53c95382016-12-28 08:43:29 -08001378 ARCH_P1020 || \
1379 ARCH_P1021 || \
York Sun53c95382016-12-28 08:43:29 -08001380 ARCH_P1024 || \
1381 ARCH_P1025 || \
1382 ARCH_P2020
1383 default 3 if ARCH_P1010 || \
1384 ARCH_BSC9132 || \
1385 ARCH_C29X
1386 help
1387 Select a temporary TLB entry to be used during boot to work
1388 around limitations in e500v1 and e500v2 external debugger
1389 support. This reduces the portions of the boot code where
1390 breakpoints and single stepping do not work. The value of this
1391 symbol should be set to the TLB1 entry to be used for this
1392 purpose. If unsure, do not change.
1393
Prabhakar Kushwaha1c407072017-02-02 15:01:26 +05301394config SYS_FSL_IFC_CLK_DIV
1395 int "Divider of platform clock"
1396 depends on FSL_IFC
1397 default 2 if ARCH_B4420 || \
1398 ARCH_B4860 || \
1399 ARCH_T1024 || \
Prabhakar Kushwaha1c407072017-02-02 15:01:26 +05301400 ARCH_T1040 || \
1401 ARCH_T1042 || \
Prabhakar Kushwaha1c407072017-02-02 15:01:26 +05301402 ARCH_T4240
1403 default 1
1404 help
1405 Defines divider of platform clock(clock input to
1406 IFC controller).
1407
Prabhakar Kushwahaadd63f92017-02-02 15:02:00 +05301408config SYS_FSL_LBC_CLK_DIV
1409 int "Divider of platform clock"
1410 depends on FSL_ELBC || ARCH_MPC8540 || \
Tom Rinia8571332021-05-14 21:34:20 -04001411 ARCH_MPC8548 || \
Tom Rini80696892021-05-14 21:34:23 -04001412 ARCH_MPC8560
Prabhakar Kushwahaadd63f92017-02-02 15:02:00 +05301413
1414 default 2 if ARCH_P2041 || \
1415 ARCH_P3041 || \
1416 ARCH_P4080 || \
Prabhakar Kushwahaadd63f92017-02-02 15:02:00 +05301417 ARCH_P5040
1418 default 1
1419
1420 help
1421 Defines divider of platform clock(clock input to
1422 eLBC controller).
1423
Tom Rinifbc36212022-06-15 12:03:45 -04001424config ENABLE_36BIT_PHYS
1425 bool "Enable 36bit physical address space support"
1426
Tom Rini3dab4052022-06-25 11:02:43 -04001427config SYS_BOOK3E_HV
1428 bool "Category E.HV is supported"
1429 depends on BOOKE
1430
Tom Rini6f6b9702022-07-23 13:05:08 -04001431config FSL_CORENET
1432 bool
1433 select SYS_FSL_CPC
1434
Tom Riniff4e87c2022-07-31 21:08:29 -04001435config FSL_NGPIXIS
1436 bool
1437
Tom Rinif6c1f912022-06-25 11:02:45 -04001438config SYS_CPC_REINIT_F
1439 bool
1440 help
1441 The CPC is configured as SRAM at the time of U-Boot entry and is
1442 required to be re-initialized.
1443
1444config SYS_FSL_CPC
Tom Rini6f6b9702022-07-23 13:05:08 -04001445 bool
Tom Rinif6c1f912022-06-25 11:02:45 -04001446
Tom Rini38d091a2022-06-27 13:35:46 -04001447config SYS_CACHE_STASHING
1448 bool "Enable cache stashing"
1449
Tom Rini4143a232022-07-31 21:08:28 -04001450config SYS_FSL_PCIE_COMPAT_P4080_PCIE
1451 bool
1452
1453config SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v22
1454 bool
1455
1456config SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v24
1457 bool
1458
1459config SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v30
1460 bool
1461
1462config SYS_FSL_PCIE_COMPAT
1463 string
1464 depends on FSL_CORENET
1465 default "fsl,p4080-pcie" if SYS_FSL_PCIE_COMPAT_P4080_PCIE
1466 default "fsl,qoriq-pcie-v2.2" if SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v22
1467 default "fsl,qoriq-pcie-v2.4" if SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v24
1468 default "fsl,qoriq-pcie-v3.0" if SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v30
1469 help
1470 Defines the string to utilize when trying to match PCIe device tree
1471 nodes for the given platform.
1472
Tom Riniff4e87c2022-07-31 21:08:29 -04001473config SYS_FSL_SINGLE_SOURCE_CLK
1474 bool
1475
1476config SYS_FSL_SRIO_LIODN
1477 bool
1478
1479config SYS_FSL_TBCLK_DIV
1480 int
1481 default 32 if ARCH_P2041 || ARCH_P3041
1482 default 16 if ARCH_P4080 || ARCH_P5040 || ARCH_T4240 || ARCH_B4860 || \
1483 ARCH_B4420 || ARCH_T1040 || ARCH_T1042 || \
1484 ARCH_T1024 || ARCH_T2080
1485 default 8
1486 help
1487 Defines the core time base clock divider ratio compared to the system
1488 clock. On most PQ3 devices this is 8, on newer QorIQ devices it can
1489 be 16 or 32. The ratio varies from SoC to Soc.
1490
1491config SYS_FSL_USB1_PHY_ENABLE
1492 bool
1493
1494config SYS_FSL_USB2_PHY_ENABLE
1495 bool
1496
1497config SYS_FSL_USB_DUAL_PHY_ENABLE
1498 bool
1499
Tom Rinide47ff52022-06-10 22:59:37 -04001500config SYS_MPC85XX_NO_RESETVEC
1501 bool "Discard resetvec section and move bootpg section up"
Tom Rini88c2e912022-12-29 09:50:03 -05001502 depends on MPC85xx && !MPC85XX_HAVE_RESET_VECTOR
Tom Rinide47ff52022-06-10 22:59:37 -04001503 help
1504 If this variable is specified, the section .resetvec is not kept and
1505 the section .bootpg is placed in the previous 4k of the .text section.
1506
1507config SPL_SYS_MPC85XX_NO_RESETVEC
1508 bool "Discard resetvec section and move bootpg section up, in SPL"
Tom Rini88c2e912022-12-29 09:50:03 -05001509 depends on MPC85xx && SPL && !MPC85XX_HAVE_RESET_VECTOR
Tom Rinide47ff52022-06-10 22:59:37 -04001510 help
1511 If this variable is specified, the section .resetvec is not kept and
1512 the section .bootpg is placed in the previous 4k of the .text section,
1513 of the SPL portion of the binary.
1514
1515config TPL_SYS_MPC85XX_NO_RESETVEC
1516 bool "Discard resetvec section and move bootpg section up, in TPL"
Tom Rini88c2e912022-12-29 09:50:03 -05001517 depends on MPC85xx && TPL && !MPC85XX_HAVE_RESET_VECTOR
Tom Rinide47ff52022-06-10 22:59:37 -04001518 help
1519 If this variable is specified, the section .resetvec is not kept and
1520 the section .bootpg is placed in the previous 4k of the .text section,
1521 of the SPL portion of the binary.
1522
Rajesh Bhagatc8c01702021-02-15 09:46:14 +01001523config FSL_VIA
1524 bool
1525
Bin Meng1d636a02021-02-25 17:22:58 +08001526source "board/emulation/qemu-ppce500/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001527source "board/freescale/mpc8548cds/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001528source "board/freescale/p1010rdb/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001529source "board/freescale/p1_p2_rdb_pc/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001530source "board/freescale/p2041rdb/Kconfig"
Shengzhou Liu48c6f322014-11-24 17:11:56 +08001531source "board/freescale/t102xrdb/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001532source "board/freescale/t104xrdb/Kconfig"
1533source "board/freescale/t208xqds/Kconfig"
1534source "board/freescale/t208xrdb/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001535source "board/freescale/t4rdb/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001536source "board/socrates/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001537
1538endmenu