blob: 687c51a8c690fc5c8f310a0cb7c9cc30944f46cb [file] [log] [blame]
Masahiro Yamadadd840582014-07-30 14:08:14 +09001menu "mpc85xx CPU"
2 depends on MPC85xx
3
4config SYS_CPU
Masahiro Yamadadd840582014-07-30 14:08:14 +09005 default "mpc85xx"
6
Simon Glass230ecd72017-05-17 03:25:15 -06007config CMD_ERRATA
8 bool "Enable the 'errata' command"
9 depends on MPC85xx
10 default y
11 help
12 This enables the 'errata' command which displays a list of errata
13 work-arounds which are enabled for the current board.
14
Pali Rohár786d9f12022-05-11 20:57:31 +020015config FSL_PREPBL_ESDHC_BOOT_SECTOR
16 bool "Generate QorIQ pre-PBL eSDHC boot sector"
17 depends on MPC85xx
Marek Behún1e1d12a2022-09-15 16:08:27 +020018 depends on SDCARD
Pali Rohár786d9f12022-05-11 20:57:31 +020019 help
20 With this option final image would have prepended QorIQ pre-PBL eSDHC
21 boot sector suitable for SD card images. This boot sector instruct
22 BootROM to configure L2 SRAM and eSDHC then load image from SD card
23 into L2 SRAM and finally jump to image entry point.
24
25 This is alternative to Freescale boot_format tool, but works only for
26 SD card images and only for L2 SRAM booting. U-Boot images generated
27 with this option should not passed to boot_format tool.
28
29 For other configuration like booting from eSPI or configuring SDRAM
30 please use Freescale boot_format tool without this option. See file
31 doc/README.mpc85xx-sd-spi-boot
32
33config FSL_PREPBL_ESDHC_BOOT_SECTOR_START
34 int "QorIQ pre-PBL eSDHC boot sector start offset"
35 depends on FSL_PREPBL_ESDHC_BOOT_SECTOR
36 range 0 23
37 default 0
38 help
39 QorIQ pre-PBL eSDHC boot sector may be located on one of the first
40 24 SD card sectors. Select SD card sector on which final U-Boot
41 image (with this boot sector) would be installed.
42
43 By default first SD card sector (0) is used. But this may be changed
44 to allow installing U-Boot image on some partition (with fixed start
45 sector).
46
47 Please note that any sector on SD card prior this boot sector must
48 not contain ASCII "BOOT" bytes at sector offset 0x40.
49
50config FSL_PREPBL_ESDHC_BOOT_SECTOR_DATA
51 int "Relative data sector for QorIQ pre-PBL eSDHC boot sector"
52 depends on FSL_PREPBL_ESDHC_BOOT_SECTOR
53 default 1
54 range 1 8388607
55 help
56 Select data sector from the beginning of QorIQ pre-PBL eSDHC boot
57 sector on which would be stored raw U-Boot image.
58
59 By default is it second sector (1) which is the first available free
60 sector (on the first sector is stored boot sector). It can be any
61 sector number which offset in bytes can be expressed by 32-bit number.
62
63 In case this final U-Boot image (with this boot sector) is put on
64 the FAT32 partition into reserved boot area, this data sector needs
65 to be at least 2 (third sector) because FAT32 use second sector for
66 its data.
67
Masahiro Yamadadd840582014-07-30 14:08:14 +090068choice
69 prompt "Target select"
Joe Hershbergera26cd042015-05-12 14:46:23 -050070 optional
Masahiro Yamadadd840582014-07-30 14:08:14 +090071
Masahiro Yamadadd840582014-07-30 14:08:14 +090072config TARGET_SOCRATES
73 bool "Support socrates"
York Sun25cb74b2016-11-15 13:57:15 -080074 select ARCH_MPC8544
Pali Rohár1b697402022-12-28 19:18:39 +010075 select BINMAN
Masahiro Yamadadd840582014-07-30 14:08:14 +090076
Masahiro Yamadadd840582014-07-30 14:08:14 +090077config TARGET_P3041DS
78 bool "Support P3041DS"
Masahiro Yamadabb6b1422016-07-25 19:56:03 +090079 select PHYS_64BIT
York Sun5e5fdd22016-11-18 11:20:40 -080080 select ARCH_P3041
Tom Rinie5ec4812017-01-22 19:43:11 -050081 select BOARD_LATE_INIT if CHAIN_OF_TRUST
Tom Riniff4e87c2022-07-31 21:08:29 -040082 select FSL_NGPIXIS
Simon Glass3bf926c2017-06-14 21:28:24 -060083 imply CMD_SATA
Masahiro Yamada7e3caa82017-12-04 12:37:00 +090084 imply PANIC_HANG
Masahiro Yamadadd840582014-07-30 14:08:14 +090085
86config TARGET_P4080DS
87 bool "Support P4080DS"
Masahiro Yamadabb6b1422016-07-25 19:56:03 +090088 select PHYS_64BIT
York Sune71372c2016-11-18 11:24:40 -080089 select ARCH_P4080
Tom Rinie5ec4812017-01-22 19:43:11 -050090 select BOARD_LATE_INIT if CHAIN_OF_TRUST
Tom Riniff4e87c2022-07-31 21:08:29 -040091 select FSL_NGPIXIS
Simon Glass3bf926c2017-06-14 21:28:24 -060092 imply CMD_SATA
Masahiro Yamada7e3caa82017-12-04 12:37:00 +090093 imply PANIC_HANG
Masahiro Yamadadd840582014-07-30 14:08:14 +090094
Masahiro Yamadadd840582014-07-30 14:08:14 +090095config TARGET_P5040DS
96 bool "Support P5040DS"
Masahiro Yamadabb6b1422016-07-25 19:56:03 +090097 select PHYS_64BIT
York Sun95390362016-11-18 11:39:36 -080098 select ARCH_P5040
Tom Rinie5ec4812017-01-22 19:43:11 -050099 select BOARD_LATE_INIT if CHAIN_OF_TRUST
Tom Riniff4e87c2022-07-31 21:08:29 -0400100 select FSL_NGPIXIS
101 select SYS_FSL_RAID_ENGINE
Simon Glass3bf926c2017-06-14 21:28:24 -0600102 imply CMD_SATA
Masahiro Yamada7e3caa82017-12-04 12:37:00 +0900103 imply PANIC_HANG
Masahiro Yamadadd840582014-07-30 14:08:14 +0900104
Masahiro Yamadadd840582014-07-30 14:08:14 +0900105config TARGET_MPC8548CDS
106 bool "Support MPC8548CDS"
York Sun281ed4c2016-11-15 13:52:34 -0800107 select ARCH_MPC8548
Rajesh Bhagatc8c01702021-02-15 09:46:14 +0100108 select FSL_VIA
Tom Riniab92b382021-08-26 11:47:59 -0400109 select SYS_CACHE_SHIFT_5
Masahiro Yamadadd840582014-07-30 14:08:14 +0900110
York Sun76016862016-11-16 13:30:06 -0800111config TARGET_P1010RDB_PA
112 bool "Support P1010RDB_PA"
113 select ARCH_P1010
Tom Rinie5ec4812017-01-22 19:43:11 -0500114 select BOARD_LATE_INIT if CHAIN_OF_TRUST
York Sun76016862016-11-16 13:30:06 -0800115 select SUPPORT_SPL
116 select SUPPORT_TPL
Tom Rini22a22832022-10-28 20:27:00 -0400117 select SYS_L2_SIZE_256KB
Simon Glassa1dc9802017-05-17 03:25:10 -0600118 imply CMD_EEPROM
Simon Glass3bf926c2017-06-14 21:28:24 -0600119 imply CMD_SATA
Masahiro Yamada7e3caa82017-12-04 12:37:00 +0900120 imply PANIC_HANG
York Sun76016862016-11-16 13:30:06 -0800121
122config TARGET_P1010RDB_PB
123 bool "Support P1010RDB_PB"
York Sun7d5f9f82016-11-16 13:08:52 -0800124 select ARCH_P1010
Tom Rinie5ec4812017-01-22 19:43:11 -0500125 select BOARD_LATE_INIT if CHAIN_OF_TRUST
Masahiro Yamada02627352014-10-20 17:45:56 +0900126 select SUPPORT_SPL
Masahiro Yamadacf6bbe42014-10-20 17:45:57 +0900127 select SUPPORT_TPL
Tom Rini22a22832022-10-28 20:27:00 -0400128 select SYS_L2_SIZE_256KB
Simon Glassa1dc9802017-05-17 03:25:10 -0600129 imply CMD_EEPROM
Simon Glass3bf926c2017-06-14 21:28:24 -0600130 imply CMD_SATA
Masahiro Yamada7e3caa82017-12-04 12:37:00 +0900131 imply PANIC_HANG
Masahiro Yamadadd840582014-07-30 14:08:14 +0900132
York Sunaa146202016-11-17 13:52:44 -0800133config TARGET_P1020RDB_PC
134 bool "Support P1020RDB-PC"
135 select SUPPORT_SPL
136 select SUPPORT_TPL
York Sun484fff62016-11-18 10:02:14 -0800137 select ARCH_P1020
Tom Rini22a22832022-10-28 20:27:00 -0400138 select SYS_L2_SIZE_256KB
Simon Glassa1dc9802017-05-17 03:25:10 -0600139 imply CMD_EEPROM
Simon Glass3bf926c2017-06-14 21:28:24 -0600140 imply CMD_SATA
Masahiro Yamada7e3caa82017-12-04 12:37:00 +0900141 imply PANIC_HANG
York Sunaa146202016-11-17 13:52:44 -0800142
York Sunf404b662016-11-17 13:53:33 -0800143config TARGET_P1020RDB_PD
144 bool "Support P1020RDB-PD"
145 select SUPPORT_SPL
146 select SUPPORT_TPL
York Sun484fff62016-11-18 10:02:14 -0800147 select ARCH_P1020
Tom Rini22a22832022-10-28 20:27:00 -0400148 select SYS_L2_SIZE_256KB
Simon Glassa1dc9802017-05-17 03:25:10 -0600149 imply CMD_EEPROM
Simon Glass3bf926c2017-06-14 21:28:24 -0600150 imply CMD_SATA
Masahiro Yamada7e3caa82017-12-04 12:37:00 +0900151 imply PANIC_HANG
York Sunf404b662016-11-17 13:53:33 -0800152
York Sun8435aa72016-11-17 14:19:18 -0800153config TARGET_P2020RDB
154 bool "Support P2020RDB-PC"
155 select SUPPORT_SPL
156 select SUPPORT_TPL
York Sun45936372016-11-18 11:08:43 -0800157 select ARCH_P2020
Tom Rini22a22832022-10-28 20:27:00 -0400158 select SYS_L2_SIZE_512KB
Simon Glassa1dc9802017-05-17 03:25:10 -0600159 imply CMD_EEPROM
Simon Glass3bf926c2017-06-14 21:28:24 -0600160 imply CMD_SATA
Tuomas Tynkkynenc88ecf42017-12-08 15:36:14 +0200161 imply SATA_SIL
York Sun8435aa72016-11-17 14:19:18 -0800162
Masahiro Yamadadd840582014-07-30 14:08:14 +0900163config TARGET_P2041RDB
164 bool "Support P2041RDB"
York Sunce040c82016-11-18 11:15:21 -0800165 select ARCH_P2041
Tom Rinie5ec4812017-01-22 19:43:11 -0500166 select BOARD_LATE_INIT if CHAIN_OF_TRUST
Tom Rini6f6b9702022-07-23 13:05:08 -0400167 select FSL_CORENET
Masahiro Yamadabb6b1422016-07-25 19:56:03 +0900168 select PHYS_64BIT
Tom Rinib85d7592022-10-28 20:27:01 -0400169 select SYS_L3_SIZE_1024KB
Simon Glass3bf926c2017-06-14 21:28:24 -0600170 imply CMD_SATA
Tuomas Tynkkynen9920d152017-12-08 15:36:17 +0200171 imply FSL_SATA
Masahiro Yamadadd840582014-07-30 14:08:14 +0900172
173config TARGET_QEMU_PPCE500
174 bool "Support qemu-ppce500"
York Sun10343402016-11-18 12:29:51 -0800175 select ARCH_QEMU_E500
Masahiro Yamadabb6b1422016-07-25 19:56:03 +0900176 select PHYS_64BIT
Tom Rini5a446182022-06-25 11:02:44 -0400177 select SYS_RAMBOOT
Simon Glass239d22c2021-12-16 20:59:36 -0700178 imply OF_HAS_PRIOR_STAGE
Masahiro Yamadadd840582014-07-30 14:08:14 +0900179
York Sun08c75292016-11-18 12:45:44 -0800180config TARGET_T1024RDB
181 bool "Support T1024RDB"
York Sune5d5f5a2016-11-18 13:01:34 -0800182 select ARCH_T1024
Tom Rinie5ec4812017-01-22 19:43:11 -0500183 select BOARD_LATE_INIT if CHAIN_OF_TRUST
Shengzhou Liu48c6f322014-11-24 17:11:56 +0800184 select SUPPORT_SPL
Masahiro Yamadabb6b1422016-07-25 19:56:03 +0900185 select PHYS_64BIT
Rajesh Bhagat32413122019-02-01 05:22:01 +0000186 select FSL_DDR_INTERACTIVE
Tom Rinib85d7592022-10-28 20:27:01 -0400187 select SYS_L3_SIZE_256KB
Simon Glassa1dc9802017-05-17 03:25:10 -0600188 imply CMD_EEPROM
Masahiro Yamada7e3caa82017-12-04 12:37:00 +0900189 imply PANIC_HANG
Shengzhou Liu48c6f322014-11-24 17:11:56 +0800190
York Sun95a809b2016-11-18 13:19:39 -0800191config TARGET_T1042RDB
192 bool "Support T1042RDB"
York Sun5449c982016-11-18 13:36:39 -0800193 select ARCH_T1042
Tom Rinie5ec4812017-01-22 19:43:11 -0500194 select BOARD_LATE_INIT if CHAIN_OF_TRUST
Masahiro Yamada02627352014-10-20 17:45:56 +0900195 select SUPPORT_SPL
Masahiro Yamadabb6b1422016-07-25 19:56:03 +0900196 select PHYS_64BIT
Tom Rinib85d7592022-10-28 20:27:01 -0400197 select SYS_L3_SIZE_256KB
Masahiro Yamadadd840582014-07-30 14:08:14 +0900198
York Sun319ed242016-11-21 11:04:34 -0800199config TARGET_T1042D4RDB
200 bool "Support T1042D4RDB"
201 select ARCH_T1042
Tom Rinie5ec4812017-01-22 19:43:11 -0500202 select BOARD_LATE_INIT if CHAIN_OF_TRUST
York Sun319ed242016-11-21 11:04:34 -0800203 select SUPPORT_SPL
204 select PHYS_64BIT
Tom Rinib85d7592022-10-28 20:27:01 -0400205 select SYS_L3_SIZE_256KB
Masahiro Yamada7e3caa82017-12-04 12:37:00 +0900206 imply PANIC_HANG
York Sun319ed242016-11-21 11:04:34 -0800207
York Sun55ed8ae2016-11-18 13:44:00 -0800208config TARGET_T1042RDB_PI
209 bool "Support T1042RDB_PI"
210 select ARCH_T1042
Tom Rinie5ec4812017-01-22 19:43:11 -0500211 select BOARD_LATE_INIT if CHAIN_OF_TRUST
York Sun55ed8ae2016-11-18 13:44:00 -0800212 select SUPPORT_SPL
213 select PHYS_64BIT
Tom Rinib85d7592022-10-28 20:27:01 -0400214 select SYS_L3_SIZE_256KB
Masahiro Yamada7e3caa82017-12-04 12:37:00 +0900215 imply PANIC_HANG
York Sun55ed8ae2016-11-18 13:44:00 -0800216
York Sun638d5be2016-11-21 12:46:58 -0800217config TARGET_T2080QDS
218 bool "Support T2080QDS"
York Sun0f3d80e2016-11-21 12:54:19 -0800219 select ARCH_T2080
Tom Rinie5ec4812017-01-22 19:43:11 -0500220 select BOARD_LATE_INIT if CHAIN_OF_TRUST
Masahiro Yamada02627352014-10-20 17:45:56 +0900221 select SUPPORT_SPL
Masahiro Yamadabb6b1422016-07-25 19:56:03 +0900222 select PHYS_64BIT
Rajesh Bhagat32413122019-02-01 05:22:01 +0000223 select FSL_DDR_FIRST_SLOT_QUAD_CAPABLE
224 select FSL_DDR_INTERACTIVE
Tom Rinib85d7592022-10-28 20:27:01 -0400225 select SYS_L3_SIZE_512KB
Peng Maa2d4cb22019-12-23 09:28:12 +0000226 imply CMD_SATA
Masahiro Yamadadd840582014-07-30 14:08:14 +0900227
York Sun01671e62016-11-21 12:57:22 -0800228config TARGET_T2080RDB
229 bool "Support T2080RDB"
York Sun0f3d80e2016-11-21 12:54:19 -0800230 select ARCH_T2080
Tom Rinie5ec4812017-01-22 19:43:11 -0500231 select BOARD_LATE_INIT if CHAIN_OF_TRUST
Masahiro Yamada02627352014-10-20 17:45:56 +0900232 select SUPPORT_SPL
Masahiro Yamadabb6b1422016-07-25 19:56:03 +0900233 select PHYS_64BIT
Tom Rinib85d7592022-10-28 20:27:01 -0400234 select SYS_L3_SIZE_512KB
Simon Glass3bf926c2017-06-14 21:28:24 -0600235 imply CMD_SATA
Masahiro Yamada7e3caa82017-12-04 12:37:00 +0900236 imply PANIC_HANG
Masahiro Yamadadd840582014-07-30 14:08:14 +0900237
Masahiro Yamadadd840582014-07-30 14:08:14 +0900238config TARGET_T4240RDB
239 bool "Support T4240RDB"
York Sun26bc57d2016-11-21 13:35:41 -0800240 select ARCH_T4240
Chunhe Lan373762c2015-03-20 17:08:54 +0800241 select SUPPORT_SPL
Masahiro Yamadabb6b1422016-07-25 19:56:03 +0900242 select PHYS_64BIT
Rajesh Bhagat32413122019-02-01 05:22:01 +0000243 select FSL_DDR_FIRST_SLOT_QUAD_CAPABLE
Tom Rinib85d7592022-10-28 20:27:01 -0400244 select SYS_L3_SIZE_512KB
Simon Glass3bf926c2017-06-14 21:28:24 -0600245 imply CMD_SATA
Masahiro Yamada7e3caa82017-12-04 12:37:00 +0900246 imply PANIC_HANG
Masahiro Yamadadd840582014-07-30 14:08:14 +0900247
Masahiro Yamadadd840582014-07-30 14:08:14 +0900248config TARGET_KMP204X
249 bool "Support kmp204x"
Pascal Linderc0fed3a2019-06-18 13:27:47 +0200250 select VENDOR_KM
Masahiro Yamadadd840582014-07-30 14:08:14 +0900251
Niel Fourie37bfd9c2021-01-21 13:19:20 +0100252config TARGET_KMCENT2
253 bool "Support kmcent2"
254 select VENDOR_KM
Tom Rini6f6b9702022-07-23 13:05:08 -0400255 select FSL_CORENET
Tom Rinib85d7592022-10-28 20:27:01 -0400256 select SYS_L3_SIZE_256KB
Niel Fourie37bfd9c2021-01-21 13:19:20 +0100257
Masahiro Yamadadd840582014-07-30 14:08:14 +0900258endchoice
259
York Sunb41f1922016-11-18 11:56:57 -0800260config ARCH_B4420
261 bool
York Sunf8dee362016-12-28 08:43:27 -0800262 select E500MC
York Sun9ec10102016-12-28 08:43:48 -0800263 select E6500
Tom Rini6f6b9702022-07-23 13:05:08 -0400264 select FSL_CORENET
York Sun05cb79a2016-12-02 10:44:34 -0800265 select FSL_LAW
Tom Rini1e7750f2022-06-16 14:04:34 -0400266 select HETROGENOUS_CLUSTERS
York Sun22120f12016-12-28 08:43:46 -0800267 select SYS_FSL_DDR_VER_47
York Sun63659ff2016-12-28 08:43:43 -0800268 select SYS_FSL_ERRATUM_A004477
269 select SYS_FSL_ERRATUM_A005871
270 select SYS_FSL_ERRATUM_A006379
271 select SYS_FSL_ERRATUM_A006384
272 select SYS_FSL_ERRATUM_A006475
273 select SYS_FSL_ERRATUM_A006593
274 select SYS_FSL_ERRATUM_A007075
Tom Rini601483f2022-06-16 14:04:40 -0400275 select SYS_FSL_ERRATUM_A007186 if CHAIN_OF_TRUST
York Sun63659ff2016-12-28 08:43:43 -0800276 select SYS_FSL_ERRATUM_A007212
277 select SYS_FSL_ERRATUM_A009942
York Sund26e34c2016-12-28 08:43:40 -0800278 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800279 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800280 select SYS_FSL_QORIQ_CHASSIS2
Tom Rini4143a232022-07-31 21:08:28 -0400281 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v24
York Sun90b80382016-12-28 08:43:31 -0800282 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800283 select SYS_FSL_SEC_COMPAT_4
Tom Riniff4e87c2022-07-31 21:08:29 -0400284 select SYS_FSL_QMAN_V3 if SYS_DPAA_QBMAN
285 select SYS_FSL_USB1_PHY_ENABLE
York Sun48512782016-12-28 08:43:50 -0800286 select SYS_PPC64
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530287 select FSL_IFC
Simon Glassa1dc9802017-05-17 03:25:10 -0600288 imply CMD_EEPROM
Tom Rini8f1a80e2017-07-28 21:31:42 -0400289 imply CMD_NAND
Christophe Leroyfa379222017-08-04 16:34:40 -0600290 imply CMD_REGINFO
York Sunb41f1922016-11-18 11:56:57 -0800291
York Sun3006ebc2016-11-18 11:44:43 -0800292config ARCH_B4860
293 bool
York Sunf8dee362016-12-28 08:43:27 -0800294 select E500MC
York Sun9ec10102016-12-28 08:43:48 -0800295 select E6500
Tom Rini6f6b9702022-07-23 13:05:08 -0400296 select FSL_CORENET
York Sun05cb79a2016-12-02 10:44:34 -0800297 select FSL_LAW
Tom Rini1e7750f2022-06-16 14:04:34 -0400298 select HETROGENOUS_CLUSTERS
York Sun22120f12016-12-28 08:43:46 -0800299 select SYS_FSL_DDR_VER_47
York Sun63659ff2016-12-28 08:43:43 -0800300 select SYS_FSL_ERRATUM_A004477
301 select SYS_FSL_ERRATUM_A005871
302 select SYS_FSL_ERRATUM_A006379
303 select SYS_FSL_ERRATUM_A006384
304 select SYS_FSL_ERRATUM_A006475
305 select SYS_FSL_ERRATUM_A006593
306 select SYS_FSL_ERRATUM_A007075
Tom Rini601483f2022-06-16 14:04:40 -0400307 select SYS_FSL_ERRATUM_A007186 if CHAIN_OF_TRUST
York Sun63659ff2016-12-28 08:43:43 -0800308 select SYS_FSL_ERRATUM_A007212
Darwin Dingel06ad9702016-10-25 09:48:01 +1300309 select SYS_FSL_ERRATUM_A007907
York Sun63659ff2016-12-28 08:43:43 -0800310 select SYS_FSL_ERRATUM_A009942
York Sund26e34c2016-12-28 08:43:40 -0800311 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800312 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800313 select SYS_FSL_QORIQ_CHASSIS2
Tom Rini4143a232022-07-31 21:08:28 -0400314 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v24
York Sun90b80382016-12-28 08:43:31 -0800315 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800316 select SYS_FSL_SEC_COMPAT_4
Tom Riniff4e87c2022-07-31 21:08:29 -0400317 select SYS_FSL_SRIO_LIODN
318 select SYS_FSL_QMAN_V3 if SYS_DPAA_QBMAN
319 select SYS_FSL_USB1_PHY_ENABLE
York Sun48512782016-12-28 08:43:50 -0800320 select SYS_PPC64
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530321 select FSL_IFC
Simon Glassa1dc9802017-05-17 03:25:10 -0600322 imply CMD_EEPROM
Tom Rini8f1a80e2017-07-28 21:31:42 -0400323 imply CMD_NAND
Christophe Leroyfa379222017-08-04 16:34:40 -0600324 imply CMD_REGINFO
York Sun3006ebc2016-11-18 11:44:43 -0800325
York Sun115d60c2016-11-15 14:09:50 -0800326config ARCH_BSC9131
327 bool
York Sun05cb79a2016-12-02 10:44:34 -0800328 select FSL_LAW
York Sun22120f12016-12-28 08:43:46 -0800329 select SYS_FSL_DDR_VER_44
York Sun63659ff2016-12-28 08:43:43 -0800330 select SYS_FSL_ERRATUM_A004477
331 select SYS_FSL_ERRATUM_A005125
York Sunc01e4a12016-12-28 08:43:42 -0800332 select SYS_FSL_ERRATUM_ESDHC111
York Sund26e34c2016-12-28 08:43:40 -0800333 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800334 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800335 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800336 select SYS_FSL_SEC_COMPAT_4
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530337 select FSL_IFC
Simon Glassa1dc9802017-05-17 03:25:10 -0600338 imply CMD_EEPROM
Tom Rini8f1a80e2017-07-28 21:31:42 -0400339 imply CMD_NAND
Christophe Leroyfa379222017-08-04 16:34:40 -0600340 imply CMD_REGINFO
York Sun115d60c2016-11-15 14:09:50 -0800341
342config ARCH_BSC9132
343 bool
York Sun05cb79a2016-12-02 10:44:34 -0800344 select FSL_LAW
York Sun22120f12016-12-28 08:43:46 -0800345 select SYS_FSL_DDR_VER_46
York Sun63659ff2016-12-28 08:43:43 -0800346 select SYS_FSL_ERRATUM_A004477
347 select SYS_FSL_ERRATUM_A005125
348 select SYS_FSL_ERRATUM_A005434
York Sunc01e4a12016-12-28 08:43:42 -0800349 select SYS_FSL_ERRATUM_ESDHC111
York Sun63659ff2016-12-28 08:43:43 -0800350 select SYS_FSL_ERRATUM_I2C_A004447
351 select SYS_FSL_ERRATUM_IFC_A002769
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800352 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800353 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800354 select SYS_FSL_HAS_SEC
Tom Rini4143a232022-07-31 21:08:28 -0400355 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v22
York Sun90b80382016-12-28 08:43:31 -0800356 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800357 select SYS_FSL_SEC_COMPAT_4
York Sun53c95382016-12-28 08:43:29 -0800358 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530359 select FSL_IFC
Simon Glassa1dc9802017-05-17 03:25:10 -0600360 imply CMD_EEPROM
Tom Rinid56b4b12017-07-22 18:36:16 -0400361 imply CMD_MTDPARTS
Tom Rini8f1a80e2017-07-28 21:31:42 -0400362 imply CMD_NAND
Simon Glass6500ec72017-08-04 16:34:34 -0600363 imply CMD_PCI
Christophe Leroyfa379222017-08-04 16:34:40 -0600364 imply CMD_REGINFO
York Sun115d60c2016-11-15 14:09:50 -0800365
York Sun4fd64742016-11-15 18:44:22 -0800366config ARCH_C29X
367 bool
York Sun05cb79a2016-12-02 10:44:34 -0800368 select FSL_LAW
York Sun22120f12016-12-28 08:43:46 -0800369 select SYS_FSL_DDR_VER_46
York Sun63659ff2016-12-28 08:43:43 -0800370 select SYS_FSL_ERRATUM_A005125
York Sunc01e4a12016-12-28 08:43:42 -0800371 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800372 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800373 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800374 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800375 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800376 select SYS_FSL_SEC_COMPAT_6
York Sun53c95382016-12-28 08:43:29 -0800377 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530378 select FSL_IFC
Tom Rini8f1a80e2017-07-28 21:31:42 -0400379 imply CMD_NAND
Simon Glass6500ec72017-08-04 16:34:34 -0600380 imply CMD_PCI
Christophe Leroyfa379222017-08-04 16:34:40 -0600381 imply CMD_REGINFO
York Sun4fd64742016-11-15 18:44:22 -0800382
York Sun24ad75a2016-11-16 11:06:47 -0800383config ARCH_MPC8536
384 bool
York Sun05cb79a2016-12-02 10:44:34 -0800385 select FSL_LAW
York Sun63659ff2016-12-28 08:43:43 -0800386 select SYS_FSL_ERRATUM_A004508
387 select SYS_FSL_ERRATUM_A005125
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800388 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800389 select SYS_FSL_HAS_DDR2
390 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800391 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800392 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800393 select SYS_FSL_SEC_COMPAT_2
York Sun53c95382016-12-28 08:43:29 -0800394 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530395 select FSL_ELBC
Tom Rini8f1a80e2017-07-28 21:31:42 -0400396 imply CMD_NAND
Simon Glass3bf926c2017-06-14 21:28:24 -0600397 imply CMD_SATA
Christophe Leroyfa379222017-08-04 16:34:40 -0600398 imply CMD_REGINFO
York Sun24ad75a2016-11-16 11:06:47 -0800399
York Sun7f825212016-11-16 11:13:06 -0800400config ARCH_MPC8540
401 bool
York Sun05cb79a2016-12-02 10:44:34 -0800402 select FSL_LAW
York Sund26e34c2016-12-28 08:43:40 -0800403 select SYS_FSL_HAS_DDR1
York Sun7f825212016-11-16 11:13:06 -0800404
York Sun25cb74b2016-11-15 13:57:15 -0800405config ARCH_MPC8544
406 bool
Tom Rinia3041d92022-02-23 12:28:15 -0500407 select BTB
York Sun05cb79a2016-12-02 10:44:34 -0800408 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400409 select SYS_CACHE_SHIFT_5
York Sun63659ff2016-12-28 08:43:43 -0800410 select SYS_FSL_ERRATUM_A005125
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800411 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800412 select SYS_FSL_HAS_DDR2
York Sun2c2e2c92016-12-28 08:43:30 -0800413 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800414 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800415 select SYS_FSL_SEC_COMPAT_2
York Sun53c95382016-12-28 08:43:29 -0800416 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530417 select FSL_ELBC
York Sun25cb74b2016-11-15 13:57:15 -0800418
York Sun281ed4c2016-11-15 13:52:34 -0800419config ARCH_MPC8548
420 bool
Tom Rinia3041d92022-02-23 12:28:15 -0500421 select BTB
York Sun05cb79a2016-12-02 10:44:34 -0800422 select FSL_LAW
York Sun63659ff2016-12-28 08:43:43 -0800423 select SYS_FSL_ERRATUM_A005125
424 select SYS_FSL_ERRATUM_NMG_DDR120
425 select SYS_FSL_ERRATUM_NMG_LBC103
426 select SYS_FSL_ERRATUM_NMG_ETSEC129
427 select SYS_FSL_ERRATUM_I2C_A004447
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800428 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800429 select SYS_FSL_HAS_DDR2
430 select SYS_FSL_HAS_DDR1
York Sun2c2e2c92016-12-28 08:43:30 -0800431 select SYS_FSL_HAS_SEC
Tom Riniff4e87c2022-07-31 21:08:29 -0400432 select SYS_FSL_RMU
York Sun90b80382016-12-28 08:43:31 -0800433 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800434 select SYS_FSL_SEC_COMPAT_2
York Sun53c95382016-12-28 08:43:29 -0800435 select SYS_PPC_E500_USE_DEBUG_TLB
Christophe Leroyfa379222017-08-04 16:34:40 -0600436 imply CMD_REGINFO
York Sun281ed4c2016-11-15 13:52:34 -0800437
York Sun99d0a312016-11-16 11:26:45 -0800438config ARCH_MPC8560
439 bool
York Sun05cb79a2016-12-02 10:44:34 -0800440 select FSL_LAW
York Sund26e34c2016-12-28 08:43:40 -0800441 select SYS_FSL_HAS_DDR1
York Sun99d0a312016-11-16 11:26:45 -0800442
York Sun7d5f9f82016-11-16 13:08:52 -0800443config ARCH_P1010
444 bool
Tom Rinifdd0da42022-03-11 09:11:59 -0500445 select A003399_NOR_WORKAROUND if SYS_FSL_ERRATUM_IFC_A003399 && !SPL
Tom Rinia3041d92022-02-23 12:28:15 -0500446 select BTB
York Sun05cb79a2016-12-02 10:44:34 -0800447 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400448 select SYS_CACHE_SHIFT_5
Tom Rinif76750d2021-12-11 14:55:51 -0500449 select SYS_HAS_SERDES
York Sun63659ff2016-12-28 08:43:43 -0800450 select SYS_FSL_ERRATUM_A004477
451 select SYS_FSL_ERRATUM_A004508
452 select SYS_FSL_ERRATUM_A005125
Chris Packham4eaf7f52018-10-04 20:03:53 +1300453 select SYS_FSL_ERRATUM_A005275
York Sun63659ff2016-12-28 08:43:43 -0800454 select SYS_FSL_ERRATUM_A006261
455 select SYS_FSL_ERRATUM_A007075
York Sunc01e4a12016-12-28 08:43:42 -0800456 select SYS_FSL_ERRATUM_ESDHC111
York Sun63659ff2016-12-28 08:43:43 -0800457 select SYS_FSL_ERRATUM_I2C_A004447
458 select SYS_FSL_ERRATUM_IFC_A002769
459 select SYS_FSL_ERRATUM_P1010_A003549
460 select SYS_FSL_ERRATUM_SEC_A003571
461 select SYS_FSL_ERRATUM_IFC_A003399
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800462 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800463 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800464 select SYS_FSL_HAS_SEC
Tom Rini4143a232022-07-31 21:08:28 -0400465 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v22
York Sun90b80382016-12-28 08:43:31 -0800466 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800467 select SYS_FSL_SEC_COMPAT_4
Tom Riniff4e87c2022-07-31 21:08:29 -0400468 select SYS_FSL_USB1_PHY_ENABLE
York Sun53c95382016-12-28 08:43:29 -0800469 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530470 select FSL_IFC
Simon Glassa1dc9802017-05-17 03:25:10 -0600471 imply CMD_EEPROM
Tom Rinid56b4b12017-07-22 18:36:16 -0400472 imply CMD_MTDPARTS
Tom Rini8f1a80e2017-07-28 21:31:42 -0400473 imply CMD_NAND
Simon Glass3bf926c2017-06-14 21:28:24 -0600474 imply CMD_SATA
Simon Glass6500ec72017-08-04 16:34:34 -0600475 imply CMD_PCI
Christophe Leroyfa379222017-08-04 16:34:40 -0600476 imply CMD_REGINFO
Tuomas Tynkkynen9920d152017-12-08 15:36:17 +0200477 imply FSL_SATA
Simon Glassd6b318d2021-12-18 11:27:50 -0700478 imply TIMESTAMP
York Sun7d5f9f82016-11-16 13:08:52 -0800479
York Sun1cdd96f2016-11-16 15:54:15 -0800480config ARCH_P1011
481 bool
York Sun05cb79a2016-12-02 10:44:34 -0800482 select FSL_LAW
York Sun63659ff2016-12-28 08:43:43 -0800483 select SYS_FSL_ERRATUM_A004508
484 select SYS_FSL_ERRATUM_A005125
485 select SYS_FSL_ERRATUM_ELBC_A001
York Sunc01e4a12016-12-28 08:43:42 -0800486 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiangc16dfd02019-05-22 22:46:03 +0800487 select FSL_PCIE_DISABLE_ASPM
York Sund26e34c2016-12-28 08:43:40 -0800488 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800489 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800490 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800491 select SYS_FSL_SEC_COMPAT_2
York Sun53c95382016-12-28 08:43:29 -0800492 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530493 select FSL_ELBC
York Sun1cdd96f2016-11-16 15:54:15 -0800494
York Sun484fff62016-11-18 10:02:14 -0800495config ARCH_P1020
496 bool
Tom Rinia3041d92022-02-23 12:28:15 -0500497 select BTB
York Sun05cb79a2016-12-02 10:44:34 -0800498 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400499 select SYS_CACHE_SHIFT_5
York Sun63659ff2016-12-28 08:43:43 -0800500 select SYS_FSL_ERRATUM_A004508
501 select SYS_FSL_ERRATUM_A005125
502 select SYS_FSL_ERRATUM_ELBC_A001
York Sunc01e4a12016-12-28 08:43:42 -0800503 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiangc16dfd02019-05-22 22:46:03 +0800504 select FSL_PCIE_DISABLE_ASPM
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800505 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800506 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800507 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800508 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800509 select SYS_FSL_SEC_COMPAT_2
York Sun53c95382016-12-28 08:43:29 -0800510 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530511 select FSL_ELBC
Tom Rini8f1a80e2017-07-28 21:31:42 -0400512 imply CMD_NAND
Simon Glass3bf926c2017-06-14 21:28:24 -0600513 imply CMD_SATA
Simon Glass6500ec72017-08-04 16:34:34 -0600514 imply CMD_PCI
Christophe Leroyfa379222017-08-04 16:34:40 -0600515 imply CMD_REGINFO
Tuomas Tynkkynenc88ecf42017-12-08 15:36:14 +0200516 imply SATA_SIL
York Sun484fff62016-11-18 10:02:14 -0800517
York Suna9907992016-11-18 10:59:02 -0800518config ARCH_P1021
519 bool
York Sun05cb79a2016-12-02 10:44:34 -0800520 select FSL_LAW
York Sun63659ff2016-12-28 08:43:43 -0800521 select SYS_FSL_ERRATUM_A004508
522 select SYS_FSL_ERRATUM_A005125
523 select SYS_FSL_ERRATUM_ELBC_A001
York Sunc01e4a12016-12-28 08:43:42 -0800524 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiangc16dfd02019-05-22 22:46:03 +0800525 select FSL_PCIE_DISABLE_ASPM
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800526 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800527 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800528 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800529 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800530 select SYS_FSL_SEC_COMPAT_2
York Sun53c95382016-12-28 08:43:29 -0800531 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530532 select FSL_ELBC
Christophe Leroyfa379222017-08-04 16:34:40 -0600533 imply CMD_REGINFO
Tom Rini8f1a80e2017-07-28 21:31:42 -0400534 imply CMD_NAND
Simon Glass3bf926c2017-06-14 21:28:24 -0600535 imply CMD_SATA
Christophe Leroyfa379222017-08-04 16:34:40 -0600536 imply CMD_REGINFO
Tuomas Tynkkynenc88ecf42017-12-08 15:36:14 +0200537 imply SATA_SIL
York Suna9907992016-11-18 10:59:02 -0800538
York Sun9bb1d6b2016-11-16 15:45:31 -0800539config ARCH_P1023
540 bool
York Sun05cb79a2016-12-02 10:44:34 -0800541 select FSL_LAW
York Sun63659ff2016-12-28 08:43:43 -0800542 select SYS_FSL_ERRATUM_A004508
543 select SYS_FSL_ERRATUM_A005125
544 select SYS_FSL_ERRATUM_I2C_A004447
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800545 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800546 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800547 select SYS_FSL_HAS_SEC
Tom Rini4143a232022-07-31 21:08:28 -0400548 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v22
York Sun90b80382016-12-28 08:43:31 -0800549 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800550 select SYS_FSL_SEC_COMPAT_4
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530551 select FSL_ELBC
York Sun9bb1d6b2016-11-16 15:45:31 -0800552
York Sun52b6f132016-11-18 11:00:57 -0800553config ARCH_P1024
554 bool
York Sun05cb79a2016-12-02 10:44:34 -0800555 select FSL_LAW
York Sun63659ff2016-12-28 08:43:43 -0800556 select SYS_FSL_ERRATUM_A004508
557 select SYS_FSL_ERRATUM_A005125
558 select SYS_FSL_ERRATUM_ELBC_A001
York Sunc01e4a12016-12-28 08:43:42 -0800559 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiangc16dfd02019-05-22 22:46:03 +0800560 select FSL_PCIE_DISABLE_ASPM
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800561 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800562 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800563 select SYS_FSL_HAS_SEC
Tom Riniff4e87c2022-07-31 21:08:29 -0400564 select SYS_FSL_RMU
York Sun90b80382016-12-28 08:43:31 -0800565 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800566 select SYS_FSL_SEC_COMPAT_2
York Sun53c95382016-12-28 08:43:29 -0800567 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530568 select FSL_ELBC
Simon Glassa1dc9802017-05-17 03:25:10 -0600569 imply CMD_EEPROM
Tom Rini8f1a80e2017-07-28 21:31:42 -0400570 imply CMD_NAND
Simon Glass3bf926c2017-06-14 21:28:24 -0600571 imply CMD_SATA
Simon Glass6500ec72017-08-04 16:34:34 -0600572 imply CMD_PCI
Christophe Leroyfa379222017-08-04 16:34:40 -0600573 imply CMD_REGINFO
Tuomas Tynkkynenc88ecf42017-12-08 15:36:14 +0200574 imply SATA_SIL
York Sun52b6f132016-11-18 11:00:57 -0800575
York Sun4167a672016-11-18 11:05:38 -0800576config ARCH_P1025
577 bool
York Sun05cb79a2016-12-02 10:44:34 -0800578 select FSL_LAW
York Sun63659ff2016-12-28 08:43:43 -0800579 select SYS_FSL_ERRATUM_A004508
580 select SYS_FSL_ERRATUM_A005125
581 select SYS_FSL_ERRATUM_ELBC_A001
York Sunc01e4a12016-12-28 08:43:42 -0800582 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiangc16dfd02019-05-22 22:46:03 +0800583 select FSL_PCIE_DISABLE_ASPM
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800584 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800585 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800586 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800587 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800588 select SYS_FSL_SEC_COMPAT_2
York Sun53c95382016-12-28 08:43:29 -0800589 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530590 select FSL_ELBC
Simon Glass3bf926c2017-06-14 21:28:24 -0600591 imply CMD_SATA
Christophe Leroyfa379222017-08-04 16:34:40 -0600592 imply CMD_REGINFO
York Sun4167a672016-11-18 11:05:38 -0800593
York Sun45936372016-11-18 11:08:43 -0800594config ARCH_P2020
595 bool
Tom Rinia3041d92022-02-23 12:28:15 -0500596 select BTB
York Sun05cb79a2016-12-02 10:44:34 -0800597 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400598 select SYS_CACHE_SHIFT_5
York Sun63659ff2016-12-28 08:43:43 -0800599 select SYS_FSL_ERRATUM_A004477
600 select SYS_FSL_ERRATUM_A004508
601 select SYS_FSL_ERRATUM_A005125
York Sunc01e4a12016-12-28 08:43:42 -0800602 select SYS_FSL_ERRATUM_ESDHC111
603 select SYS_FSL_ERRATUM_ESDHC_A001
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800604 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800605 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800606 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -0800607 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800608 select SYS_FSL_SEC_COMPAT_2
York Sun53c95382016-12-28 08:43:29 -0800609 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha06878972017-02-02 15:01:48 +0530610 select FSL_ELBC
Simon Glassa1dc9802017-05-17 03:25:10 -0600611 imply CMD_EEPROM
Tom Rini8f1a80e2017-07-28 21:31:42 -0400612 imply CMD_NAND
Christophe Leroyfa379222017-08-04 16:34:40 -0600613 imply CMD_REGINFO
Simon Glassd6b318d2021-12-18 11:27:50 -0700614 imply TIMESTAMP
York Sun45936372016-11-18 11:08:43 -0800615
York Sunce040c82016-11-18 11:15:21 -0800616config ARCH_P2041
617 bool
Tom Rinib40d2b22022-03-18 08:38:32 -0400618 select BACKSIDE_L2_CACHE
York Sunf8dee362016-12-28 08:43:27 -0800619 select E500MC
York Sun05cb79a2016-12-02 10:44:34 -0800620 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400621 select SYS_CACHE_SHIFT_6
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
York Sun22120f12016-12-28 08:43:46 -0800766 select SYS_FSL_DDR_VER_50
York Sun63659ff2016-12-28 08:43:43 -0800767 select SYS_FSL_ERRATUM_A008378
Jaiprakash Singh164a5af2020-06-02 12:44:02 +0530768 select SYS_FSL_ERRATUM_A008109
York Sun63659ff2016-12-28 08:43:43 -0800769 select SYS_FSL_ERRATUM_A009663
770 select SYS_FSL_ERRATUM_A009942
York Sunc01e4a12016-12-28 08:43:42 -0800771 select SYS_FSL_ERRATUM_ESDHC111
York Sund26e34c2016-12-28 08:43:40 -0800772 select SYS_FSL_HAS_DDR3
773 select SYS_FSL_HAS_DDR4
York Sun2c2e2c92016-12-28 08:43:30 -0800774 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800775 select SYS_FSL_QORIQ_CHASSIS2
Tom Rini4143a232022-07-31 21:08:28 -0400776 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v24
York Sun90b80382016-12-28 08:43:31 -0800777 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800778 select SYS_FSL_SEC_COMPAT_5
Tom Riniff4e87c2022-07-31 21:08:29 -0400779 select SYS_FSL_SINGLE_SOURCE_CLK
780 select SYS_FSL_QMAN_V3 if SYS_DPAA_QBMAN
781 select SYS_FSL_USB_DUAL_PHY_ENABLE
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530782 select FSL_IFC
Simon Glassa1dc9802017-05-17 03:25:10 -0600783 imply CMD_EEPROM
Tom Rini8f1a80e2017-07-28 21:31:42 -0400784 imply CMD_NAND
Tom Rinid56b4b12017-07-22 18:36:16 -0400785 imply CMD_MTDPARTS
Christophe Leroyfa379222017-08-04 16:34:40 -0600786 imply CMD_REGINFO
York Sune5d5f5a2016-11-18 13:01:34 -0800787
York Sun5d737012016-11-18 13:11:12 -0800788config ARCH_T1040
789 bool
Tom Rinib40d2b22022-03-18 08:38:32 -0400790 select BACKSIDE_L2_CACHE
York Sunf8dee362016-12-28 08:43:27 -0800791 select E500MC
Tom Rinif2428ac2022-03-24 17:18:01 -0400792 select E5500
Tom Rini6f6b9702022-07-23 13:05:08 -0400793 select FSL_CORENET
York Sun05cb79a2016-12-02 10:44:34 -0800794 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400795 select SYS_CACHE_SHIFT_6
York Sun22120f12016-12-28 08:43:46 -0800796 select SYS_FSL_DDR_VER_50
York Sun63659ff2016-12-28 08:43:43 -0800797 select SYS_FSL_ERRATUM_A008044
798 select SYS_FSL_ERRATUM_A008378
Joakim Tjernlund73af0942019-11-20 17:07:34 +0100799 select SYS_FSL_ERRATUM_A008109
York Sun63659ff2016-12-28 08:43:43 -0800800 select SYS_FSL_ERRATUM_A009663
801 select SYS_FSL_ERRATUM_A009942
York Sunc01e4a12016-12-28 08:43:42 -0800802 select SYS_FSL_ERRATUM_ESDHC111
York Sund26e34c2016-12-28 08:43:40 -0800803 select SYS_FSL_HAS_DDR3
804 select SYS_FSL_HAS_DDR4
York Sun2c2e2c92016-12-28 08:43:30 -0800805 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800806 select SYS_FSL_QORIQ_CHASSIS2
Tom Rini4143a232022-07-31 21:08:28 -0400807 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v24
York Sun90b80382016-12-28 08:43:31 -0800808 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800809 select SYS_FSL_SEC_COMPAT_5
Tom Riniff4e87c2022-07-31 21:08:29 -0400810 select SYS_FSL_SINGLE_SOURCE_CLK
811 select SYS_FSL_QMAN_V3 if SYS_DPAA_QBMAN
812 select SYS_FSL_USB_DUAL_PHY_ENABLE
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530813 select FSL_IFC
Tom Rinid56b4b12017-07-22 18:36:16 -0400814 imply CMD_MTDPARTS
Tom Rini8f1a80e2017-07-28 21:31:42 -0400815 imply CMD_NAND
Christophe Leroyfa379222017-08-04 16:34:40 -0600816 imply CMD_REGINFO
York Sun5d737012016-11-18 13:11:12 -0800817
York Sun5449c982016-11-18 13:36:39 -0800818config ARCH_T1042
819 bool
Tom Rinib40d2b22022-03-18 08:38:32 -0400820 select BACKSIDE_L2_CACHE
York Sunf8dee362016-12-28 08:43:27 -0800821 select E500MC
Tom Rinif2428ac2022-03-24 17:18:01 -0400822 select E5500
Tom Rini6f6b9702022-07-23 13:05:08 -0400823 select FSL_CORENET
York Sun05cb79a2016-12-02 10:44:34 -0800824 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400825 select SYS_CACHE_SHIFT_6
York Sun22120f12016-12-28 08:43:46 -0800826 select SYS_FSL_DDR_VER_50
York Sun63659ff2016-12-28 08:43:43 -0800827 select SYS_FSL_ERRATUM_A008044
828 select SYS_FSL_ERRATUM_A008378
Joakim Tjernlund73af0942019-11-20 17:07:34 +0100829 select SYS_FSL_ERRATUM_A008109
York Sun63659ff2016-12-28 08:43:43 -0800830 select SYS_FSL_ERRATUM_A009663
831 select SYS_FSL_ERRATUM_A009942
York Sunc01e4a12016-12-28 08:43:42 -0800832 select SYS_FSL_ERRATUM_ESDHC111
York Sund26e34c2016-12-28 08:43:40 -0800833 select SYS_FSL_HAS_DDR3
834 select SYS_FSL_HAS_DDR4
York Sun2c2e2c92016-12-28 08:43:30 -0800835 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800836 select SYS_FSL_QORIQ_CHASSIS2
Tom Rini4143a232022-07-31 21:08:28 -0400837 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v24
York Sun90b80382016-12-28 08:43:31 -0800838 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800839 select SYS_FSL_SEC_COMPAT_5
Tom Riniff4e87c2022-07-31 21:08:29 -0400840 select SYS_FSL_SINGLE_SOURCE_CLK
841 select SYS_FSL_QMAN_V3 if SYS_DPAA_QBMAN
842 select SYS_FSL_USB_DUAL_PHY_ENABLE
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530843 select FSL_IFC
Tom Rinid56b4b12017-07-22 18:36:16 -0400844 imply CMD_MTDPARTS
Tom Rini8f1a80e2017-07-28 21:31:42 -0400845 imply CMD_NAND
Christophe Leroyfa379222017-08-04 16:34:40 -0600846 imply CMD_REGINFO
York Sun5449c982016-11-18 13:36:39 -0800847
York Sun0f3d80e2016-11-21 12:54:19 -0800848config ARCH_T2080
849 bool
York Sunf8dee362016-12-28 08:43:27 -0800850 select E500MC
York Sun9ec10102016-12-28 08:43:48 -0800851 select E6500
Tom Rini6f6b9702022-07-23 13:05:08 -0400852 select FSL_CORENET
York Sun05cb79a2016-12-02 10:44:34 -0800853 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400854 select SYS_CACHE_SHIFT_6
York Sun22120f12016-12-28 08:43:46 -0800855 select SYS_FSL_DDR_VER_47
York Sun63659ff2016-12-28 08:43:43 -0800856 select SYS_FSL_ERRATUM_A006379
857 select SYS_FSL_ERRATUM_A006593
Tom Rini601483f2022-06-16 14:04:40 -0400858 select SYS_FSL_ERRATUM_A007186 if CHAIN_OF_TRUST
York Sun63659ff2016-12-28 08:43:43 -0800859 select SYS_FSL_ERRATUM_A007212
Tony O'Brien09bfd962016-12-02 09:22:34 +1300860 select SYS_FSL_ERRATUM_A007815
Darwin Dingel06ad9702016-10-25 09:48:01 +1300861 select SYS_FSL_ERRATUM_A007907
Jaiprakash Singh164a5af2020-06-02 12:44:02 +0530862 select SYS_FSL_ERRATUM_A008109
York Sun63659ff2016-12-28 08:43:43 -0800863 select SYS_FSL_ERRATUM_A009942
York Sunc01e4a12016-12-28 08:43:42 -0800864 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +0800865 select FSL_PCIE_RESET
York Sund26e34c2016-12-28 08:43:40 -0800866 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800867 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800868 select SYS_FSL_QORIQ_CHASSIS2
Tom Rini4143a232022-07-31 21:08:28 -0400869 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v30
York Sun90b80382016-12-28 08:43:31 -0800870 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800871 select SYS_FSL_SEC_COMPAT_4
Tom Riniff4e87c2022-07-31 21:08:29 -0400872 select SYS_FSL_SRIO_LIODN
873 select SYS_FSL_QMAN_V3 if SYS_DPAA_QBMAN
874 select SYS_FSL_USB_DUAL_PHY_ENABLE
York Sun48512782016-12-28 08:43:50 -0800875 select SYS_PPC64
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530876 select FSL_IFC
Peng Maa2d4cb22019-12-23 09:28:12 +0000877 imply CMD_SATA
Tom Rini8f1a80e2017-07-28 21:31:42 -0400878 imply CMD_NAND
Christophe Leroyfa379222017-08-04 16:34:40 -0600879 imply CMD_REGINFO
Peng Maa2d4cb22019-12-23 09:28:12 +0000880 imply FSL_SATA
Tom Rinid7d40f62021-08-17 17:59:41 -0400881 imply ID_EEPROM
York Sun0f3d80e2016-11-21 12:54:19 -0800882
York Sun26bc57d2016-11-21 13:35:41 -0800883config ARCH_T4240
884 bool
York Sunf8dee362016-12-28 08:43:27 -0800885 select E500MC
York Sun9ec10102016-12-28 08:43:48 -0800886 select E6500
Tom Rini6f6b9702022-07-23 13:05:08 -0400887 select FSL_CORENET
York Sun05cb79a2016-12-02 10:44:34 -0800888 select FSL_LAW
Tom Riniab92b382021-08-26 11:47:59 -0400889 select SYS_CACHE_SHIFT_6
York Sun22120f12016-12-28 08:43:46 -0800890 select SYS_FSL_DDR_VER_47
York Sun63659ff2016-12-28 08:43:43 -0800891 select SYS_FSL_ERRATUM_A004468
892 select SYS_FSL_ERRATUM_A005871
893 select SYS_FSL_ERRATUM_A006261
894 select SYS_FSL_ERRATUM_A006379
895 select SYS_FSL_ERRATUM_A006593
Tom Rini601483f2022-06-16 14:04:40 -0400896 select SYS_FSL_ERRATUM_A007186 if CHAIN_OF_TRUST
York Sun63659ff2016-12-28 08:43:43 -0800897 select SYS_FSL_ERRATUM_A007798
Tony O'Brien09bfd962016-12-02 09:22:34 +1300898 select SYS_FSL_ERRATUM_A007815
Darwin Dingel06ad9702016-10-25 09:48:01 +1300899 select SYS_FSL_ERRATUM_A007907
Jaiprakash Singh164a5af2020-06-02 12:44:02 +0530900 select SYS_FSL_ERRATUM_A008109
York Sun63659ff2016-12-28 08:43:43 -0800901 select SYS_FSL_ERRATUM_A009942
York Sund26e34c2016-12-28 08:43:40 -0800902 select SYS_FSL_HAS_DDR3
York Sun2c2e2c92016-12-28 08:43:30 -0800903 select SYS_FSL_HAS_SEC
York Sun73717742016-12-28 08:43:49 -0800904 select SYS_FSL_QORIQ_CHASSIS2
Tom Rini4143a232022-07-31 21:08:28 -0400905 select SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v30
York Sun90b80382016-12-28 08:43:31 -0800906 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -0800907 select SYS_FSL_SEC_COMPAT_4
Tom Riniff4e87c2022-07-31 21:08:29 -0400908 select SYS_FSL_SRIO_LIODN
909 select SYS_FSL_QMAN_V3 if SYS_DPAA_QBMAN
910 select SYS_FSL_USB_DUAL_PHY_ENABLE
York Sun48512782016-12-28 08:43:50 -0800911 select SYS_PPC64
Prabhakar Kushwahad98b98d2017-02-02 15:01:13 +0530912 select FSL_IFC
Simon Glass3bf926c2017-06-14 21:28:24 -0600913 imply CMD_SATA
Tom Rini8f1a80e2017-07-28 21:31:42 -0400914 imply CMD_NAND
Christophe Leroyfa379222017-08-04 16:34:40 -0600915 imply CMD_REGINFO
Tuomas Tynkkynen9920d152017-12-08 15:36:17 +0200916 imply FSL_SATA
York Sun05cb79a2016-12-02 10:44:34 -0800917
Jagdish Gediya96699f02018-09-03 21:35:10 +0530918config MPC85XX_HAVE_RESET_VECTOR
919 bool "Indicate reset vector at CONFIG_RESET_VECTOR_ADDRESS - 0xffc"
920 depends on MPC85xx
921
Tom Rinia3041d92022-02-23 12:28:15 -0500922config BTB
923 bool "toggle branch predition"
924
York Sunf8dee362016-12-28 08:43:27 -0800925config BOOKE
926 bool
927 default y
928
929config E500
930 bool
931 default y
932 help
933 Enable PowerPC E500 cores, including e500v1, e500v2, e500mc
934
935config E500MC
936 bool
Tom Rinia3041d92022-02-23 12:28:15 -0500937 select BTB
Simon Glass6500ec72017-08-04 16:34:34 -0600938 imply CMD_PCI
York Sunf8dee362016-12-28 08:43:27 -0800939 help
940 Enble PowerPC E500MC core
941
Tom Rinif2428ac2022-03-24 17:18:01 -0400942config E5500
943 bool
944
York Sun9ec10102016-12-28 08:43:48 -0800945config E6500
946 bool
Tom Rinia3041d92022-02-23 12:28:15 -0500947 select BTB
York Sun9ec10102016-12-28 08:43:48 -0800948 help
949 Enable PowerPC E6500 core
950
York Sun05cb79a2016-12-02 10:44:34 -0800951config FSL_LAW
952 bool
953 help
954 Use Freescale common code for Local Access Window
York Sun26bc57d2016-11-21 13:35:41 -0800955
Tom Rini1e7750f2022-06-16 14:04:34 -0400956config HETROGENOUS_CLUSTERS
957 bool
958
York Sun3f82b562016-11-23 12:30:40 -0800959config MAX_CPUS
960 int "Maximum number of CPUs permitted for MPC85xx"
961 default 12 if ARCH_T4240
Tom Riniec6b37c2021-05-23 10:58:05 -0400962 default 8 if ARCH_P4080
York Sun3f82b562016-11-23 12:30:40 -0800963 default 4 if ARCH_B4860 || \
964 ARCH_P2041 || \
965 ARCH_P3041 || \
966 ARCH_P5040 || \
967 ARCH_T1040 || \
968 ARCH_T1042 || \
Tom Rini2322b952021-02-20 20:06:21 -0500969 ARCH_T2080
York Sun3f82b562016-11-23 12:30:40 -0800970 default 2 if ARCH_B4420 || \
971 ARCH_BSC9132 || \
York Sun3f82b562016-11-23 12:30:40 -0800972 ARCH_P1020 || \
973 ARCH_P1021 || \
York Sun3f82b562016-11-23 12:30:40 -0800974 ARCH_P1023 || \
975 ARCH_P1024 || \
976 ARCH_P1025 || \
977 ARCH_P2020 || \
York Sun3f82b562016-11-23 12:30:40 -0800978 ARCH_T1024
979 default 1
980 help
981 Set this number to the maximum number of possible CPUs in the SoC.
982 SoCs may have multiple clusters with each cluster may have multiple
983 ports. If some ports are reserved but higher ports are used for
984 cores, count the reserved ports. This will allocate enough memory
985 in spin table to properly handle all cores.
986
York Sun830fc1b2016-12-01 13:26:06 -0800987config SYS_CCSRBAR_DEFAULT
988 hex "Default CCSRBAR address"
989 default 0xff700000 if ARCH_BSC9131 || \
990 ARCH_BSC9132 || \
991 ARCH_C29X || \
992 ARCH_MPC8536 || \
993 ARCH_MPC8540 || \
York Sun830fc1b2016-12-01 13:26:06 -0800994 ARCH_MPC8544 || \
995 ARCH_MPC8548 || \
York Sun830fc1b2016-12-01 13:26:06 -0800996 ARCH_MPC8560 || \
York Sun830fc1b2016-12-01 13:26:06 -0800997 ARCH_P1010 || \
998 ARCH_P1011 || \
999 ARCH_P1020 || \
1000 ARCH_P1021 || \
York Sun830fc1b2016-12-01 13:26:06 -08001001 ARCH_P1024 || \
1002 ARCH_P1025 || \
1003 ARCH_P2020
1004 default 0xff600000 if ARCH_P1023
1005 default 0xfe000000 if ARCH_B4420 || \
1006 ARCH_B4860 || \
1007 ARCH_P2041 || \
1008 ARCH_P3041 || \
1009 ARCH_P4080 || \
York Sun830fc1b2016-12-01 13:26:06 -08001010 ARCH_P5040 || \
York Sun830fc1b2016-12-01 13:26:06 -08001011 ARCH_T1024 || \
1012 ARCH_T1040 || \
1013 ARCH_T1042 || \
1014 ARCH_T2080 || \
York Sun830fc1b2016-12-01 13:26:06 -08001015 ARCH_T4240
1016 default 0xe0000000 if ARCH_QEMU_E500
1017 help
1018 Default value of CCSRBAR comes from power-on-reset. It
1019 is fixed on each SoC. Some SoCs can have different value
1020 if changed by pre-boot regime. The value here must match
1021 the current value in SoC. If not sure, do not change.
1022
Tom Rinifdd0da42022-03-11 09:11:59 -05001023config A003399_NOR_WORKAROUND
1024 bool
1025 help
1026 Enables a workaround for IFC erratum A003399. It is only required
1027 during NOR boot.
1028
Tom Rini5f7c8862022-03-11 09:12:00 -05001029config A008044_WORKAROUND
1030 bool
1031 help
1032 Enables a workaround for T1040/T1042 erratum A008044. It is only
1033 required during NAND boot and valid for Rev 1.0 SoC revision
1034
York Sun63659ff2016-12-28 08:43:43 -08001035config SYS_FSL_ERRATUM_A004468
1036 bool
1037
1038config SYS_FSL_ERRATUM_A004477
1039 bool
1040
1041config SYS_FSL_ERRATUM_A004508
1042 bool
1043
1044config SYS_FSL_ERRATUM_A004580
1045 bool
1046
1047config SYS_FSL_ERRATUM_A004699
1048 bool
1049
1050config SYS_FSL_ERRATUM_A004849
1051 bool
1052
1053config SYS_FSL_ERRATUM_A004510
1054 bool
1055
1056config SYS_FSL_ERRATUM_A004510_SVR_REV
1057 hex
1058 depends on SYS_FSL_ERRATUM_A004510
1059 default 0x20 if ARCH_P4080
1060 default 0x10
1061
1062config SYS_FSL_ERRATUM_A004510_SVR_REV2
1063 hex
1064 depends on (SYS_FSL_ERRATUM_A004510 && (ARCH_P2041 || ARCH_P3041))
1065 default 0x11
1066
1067config SYS_FSL_ERRATUM_A005125
1068 bool
1069
1070config SYS_FSL_ERRATUM_A005434
1071 bool
1072
1073config SYS_FSL_ERRATUM_A005812
1074 bool
1075
1076config SYS_FSL_ERRATUM_A005871
1077 bool
1078
Chris Packham4eaf7f52018-10-04 20:03:53 +13001079config SYS_FSL_ERRATUM_A005275
1080 bool
1081
York Sun63659ff2016-12-28 08:43:43 -08001082config SYS_FSL_ERRATUM_A006261
1083 bool
1084
1085config SYS_FSL_ERRATUM_A006379
1086 bool
1087
1088config SYS_FSL_ERRATUM_A006384
1089 bool
1090
1091config SYS_FSL_ERRATUM_A006475
1092 bool
1093
1094config SYS_FSL_ERRATUM_A006593
1095 bool
1096
1097config SYS_FSL_ERRATUM_A007075
1098 bool
1099
1100config SYS_FSL_ERRATUM_A007186
1101 bool
1102
1103config SYS_FSL_ERRATUM_A007212
1104 bool
1105
Tony O'Brien09bfd962016-12-02 09:22:34 +13001106config SYS_FSL_ERRATUM_A007815
1107 bool
1108
York Sun63659ff2016-12-28 08:43:43 -08001109config SYS_FSL_ERRATUM_A007798
1110 bool
1111
Darwin Dingel06ad9702016-10-25 09:48:01 +13001112config SYS_FSL_ERRATUM_A007907
1113 bool
1114
York Sun63659ff2016-12-28 08:43:43 -08001115config SYS_FSL_ERRATUM_A008044
1116 bool
Tom Rini5f7c8862022-03-11 09:12:00 -05001117 select A008044_WORKAROUND if MTD_RAW_NAND
York Sun63659ff2016-12-28 08:43:43 -08001118
1119config SYS_FSL_ERRATUM_CPC_A002
1120 bool
1121
1122config SYS_FSL_ERRATUM_CPC_A003
1123 bool
1124
1125config SYS_FSL_ERRATUM_CPU_A003999
1126 bool
1127
1128config SYS_FSL_ERRATUM_ELBC_A001
1129 bool
1130
1131config SYS_FSL_ERRATUM_I2C_A004447
1132 bool
1133
1134config SYS_FSL_A004447_SVR_REV
1135 hex
1136 depends on SYS_FSL_ERRATUM_I2C_A004447
1137 default 0x00 if ARCH_MPC8548
1138 default 0x10 if ARCH_P1010
1139 default 0x11 if ARCH_P1023 || ARCH_P2041 || ARCH_BSC9132
Tom Rinia99dab12021-02-20 20:06:30 -05001140 default 0x20 if ARCH_P3041 || ARCH_P4080
York Sun63659ff2016-12-28 08:43:43 -08001141
1142config SYS_FSL_ERRATUM_IFC_A002769
1143 bool
1144
1145config SYS_FSL_ERRATUM_IFC_A003399
1146 bool
1147
1148config SYS_FSL_ERRATUM_NMG_CPU_A011
1149 bool
1150
1151config SYS_FSL_ERRATUM_NMG_ETSEC129
1152 bool
1153
1154config SYS_FSL_ERRATUM_NMG_LBC103
1155 bool
1156
1157config SYS_FSL_ERRATUM_P1010_A003549
1158 bool
1159
1160config SYS_FSL_ERRATUM_SATA_A001
1161 bool
1162
1163config SYS_FSL_ERRATUM_SEC_A003571
1164 bool
1165
1166config SYS_FSL_ERRATUM_SRIO_A004034
1167 bool
1168
1169config SYS_FSL_ERRATUM_USB14
1170 bool
1171
Tom Rinif76750d2021-12-11 14:55:51 -05001172config SYS_HAS_SERDES
1173 bool
1174
York Sun63659ff2016-12-28 08:43:43 -08001175config SYS_P4080_ERRATUM_CPU22
1176 bool
1177
1178config SYS_P4080_ERRATUM_PCIE_A003
1179 bool
1180
1181config SYS_P4080_ERRATUM_SERDES8
1182 bool
1183
1184config SYS_P4080_ERRATUM_SERDES9
1185 bool
1186
1187config SYS_P4080_ERRATUM_SERDES_A001
1188 bool
1189
1190config SYS_P4080_ERRATUM_SERDES_A005
1191 bool
1192
Hou Zhiqiangc16dfd02019-05-22 22:46:03 +08001193config FSL_PCIE_DISABLE_ASPM
1194 bool
1195
Hou Zhiqiang2b12f6c2019-05-23 11:52:44 +08001196config FSL_PCIE_RESET
1197 bool
1198
Tom Riniff4e87c2022-07-31 21:08:29 -04001199config SYS_FSL_RAID_ENGINE
1200 bool
1201
1202config SYS_FSL_RMU
1203 bool
1204
York Sun73717742016-12-28 08:43:49 -08001205config SYS_FSL_QORIQ_CHASSIS1
1206 bool
1207
1208config SYS_FSL_QORIQ_CHASSIS2
1209 bool
1210
York Sun8303acb2016-12-01 14:05:02 -08001211config SYS_FSL_NUM_LAWS
1212 int "Number of local access windows"
1213 depends on FSL_LAW
1214 default 32 if ARCH_B4420 || \
1215 ARCH_B4860 || \
1216 ARCH_P2041 || \
1217 ARCH_P3041 || \
1218 ARCH_P4080 || \
York Sun8303acb2016-12-01 14:05:02 -08001219 ARCH_P5040 || \
1220 ARCH_T2080 || \
York Sun8303acb2016-12-01 14:05:02 -08001221 ARCH_T4240
Tom Rini6c3d9932021-05-14 21:34:22 -04001222 default 16 if ARCH_T1024 || \
York Sun8303acb2016-12-01 14:05:02 -08001223 ARCH_T1040 || \
1224 ARCH_T1042
1225 default 12 if ARCH_BSC9131 || \
1226 ARCH_BSC9132 || \
1227 ARCH_C29X || \
1228 ARCH_MPC8536 || \
York Sun8303acb2016-12-01 14:05:02 -08001229 ARCH_P1010 || \
1230 ARCH_P1011 || \
1231 ARCH_P1020 || \
1232 ARCH_P1021 || \
York Sun8303acb2016-12-01 14:05:02 -08001233 ARCH_P1023 || \
1234 ARCH_P1024 || \
1235 ARCH_P1025 || \
1236 ARCH_P2020
1237 default 10 if ARCH_MPC8544 || \
Tom Rini80696892021-05-14 21:34:23 -04001238 ARCH_MPC8548
York Sun8303acb2016-12-01 14:05:02 -08001239 default 8 if ARCH_MPC8540 || \
York Sun8303acb2016-12-01 14:05:02 -08001240 ARCH_MPC8560
1241 help
1242 Number of local access windows. This is fixed per SoC.
1243 If not sure, do not change.
1244
Tom Rini7da6a9e2022-07-23 13:05:11 -04001245config SYS_FSL_CORES_PER_CLUSTER
1246 int
1247 depends on SYS_FSL_QORIQ_CHASSIS2
1248 default 4 if ARCH_B4860 || ARCH_T2080 || ARCH_T4240
1249 default 2 if ARCH_B4420
1250 default 1 if ARCH_T1024 || ARCH_T1040 || ARCH_T1042
1251
York Sun9ec10102016-12-28 08:43:48 -08001252config SYS_FSL_THREADS_PER_CORE
1253 int
Tom Rini7da6a9e2022-07-23 13:05:11 -04001254 depends on SYS_FSL_QORIQ_CHASSIS2
York Sun9ec10102016-12-28 08:43:48 -08001255 default 2 if E6500
1256 default 1
1257
York Sun26e79b62016-12-28 08:43:28 -08001258config SYS_NUM_TLBCAMS
1259 int "Number of TLB CAM entries"
1260 default 64 if E500MC
1261 default 16
1262 help
1263 Number of TLB CAM entries for Book-E chips. 64 for E500MC,
1264 16 for other E500 SoCs.
1265
Tom Rini1e7750f2022-06-16 14:04:34 -04001266if HETROGENOUS_CLUSTERS
1267
1268config SYS_MAPLE
1269 def_bool y
1270
1271config SYS_CPRI
1272 def_bool y
1273
1274config PPC_CLUSTER_START
1275 int
1276 default 0
1277
1278config DSP_CLUSTER_START
1279 int
1280 default 1
1281
1282config SYS_CPRI_CLK
1283 int
1284 default 3
1285
1286config SYS_ULB_CLK
1287 int
1288 default 4
1289
1290config SYS_ETVPE_CLK
1291 int
1292 default 1
1293endif
1294
Tom Rini22a22832022-10-28 20:27:00 -04001295config SYS_L2_SIZE_256KB
1296 bool
1297
1298config SYS_L2_SIZE_512KB
1299 bool
1300
1301config SYS_L2_SIZE
1302 int
1303 default 262144 if SYS_L2_SIZE_256KB
1304 default 524288 if SYS_L2_SIZE_512KB
1305
Tom Rinib40d2b22022-03-18 08:38:32 -04001306config BACKSIDE_L2_CACHE
1307 bool
1308
Tom Rinib85d7592022-10-28 20:27:01 -04001309config SYS_L3_SIZE_256KB
1310 bool
1311
1312config SYS_L3_SIZE_512KB
1313 bool
1314
1315config SYS_L3_SIZE_1024KB
1316 bool
1317
1318config SYS_L3_SIZE
1319 int
1320 default 262144 if SYS_L3_SIZE_256KB
1321 default 524288 if SYS_L3_SIZE_512KB
1322 default 1048576 if SYS_L3_SIZE_512KB
1323
York Sun48512782016-12-28 08:43:50 -08001324config SYS_PPC64
1325 bool
1326
York Sun53c95382016-12-28 08:43:29 -08001327config SYS_PPC_E500_USE_DEBUG_TLB
1328 bool
1329
Prabhakar Kushwaha06878972017-02-02 15:01:48 +05301330config FSL_ELBC
1331 bool
1332
York Sun53c95382016-12-28 08:43:29 -08001333config SYS_PPC_E500_DEBUG_TLB
1334 int "Temporary TLB entry for external debugger"
1335 depends on SYS_PPC_E500_USE_DEBUG_TLB
1336 default 0 if ARCH_MPC8544 || ARCH_MPC8548
1337 default 1 if ARCH_MPC8536
Tom Rinied7fe2b2021-05-14 21:34:25 -04001338 default 2 if ARCH_P1011 || \
York Sun53c95382016-12-28 08:43:29 -08001339 ARCH_P1020 || \
1340 ARCH_P1021 || \
York Sun53c95382016-12-28 08:43:29 -08001341 ARCH_P1024 || \
1342 ARCH_P1025 || \
1343 ARCH_P2020
1344 default 3 if ARCH_P1010 || \
1345 ARCH_BSC9132 || \
1346 ARCH_C29X
1347 help
1348 Select a temporary TLB entry to be used during boot to work
1349 around limitations in e500v1 and e500v2 external debugger
1350 support. This reduces the portions of the boot code where
1351 breakpoints and single stepping do not work. The value of this
1352 symbol should be set to the TLB1 entry to be used for this
1353 purpose. If unsure, do not change.
1354
Prabhakar Kushwaha1c407072017-02-02 15:01:26 +05301355config SYS_FSL_IFC_CLK_DIV
1356 int "Divider of platform clock"
1357 depends on FSL_IFC
1358 default 2 if ARCH_B4420 || \
1359 ARCH_B4860 || \
1360 ARCH_T1024 || \
Prabhakar Kushwaha1c407072017-02-02 15:01:26 +05301361 ARCH_T1040 || \
1362 ARCH_T1042 || \
Prabhakar Kushwaha1c407072017-02-02 15:01:26 +05301363 ARCH_T4240
1364 default 1
1365 help
1366 Defines divider of platform clock(clock input to
1367 IFC controller).
1368
Prabhakar Kushwahaadd63f92017-02-02 15:02:00 +05301369config SYS_FSL_LBC_CLK_DIV
1370 int "Divider of platform clock"
1371 depends on FSL_ELBC || ARCH_MPC8540 || \
Tom Rinia8571332021-05-14 21:34:20 -04001372 ARCH_MPC8548 || \
Tom Rini80696892021-05-14 21:34:23 -04001373 ARCH_MPC8560
Prabhakar Kushwahaadd63f92017-02-02 15:02:00 +05301374
1375 default 2 if ARCH_P2041 || \
1376 ARCH_P3041 || \
1377 ARCH_P4080 || \
Prabhakar Kushwahaadd63f92017-02-02 15:02:00 +05301378 ARCH_P5040
1379 default 1
1380
1381 help
1382 Defines divider of platform clock(clock input to
1383 eLBC controller).
1384
Tom Rinifbc36212022-06-15 12:03:45 -04001385config ENABLE_36BIT_PHYS
1386 bool "Enable 36bit physical address space support"
1387
Tom Rini3dab4052022-06-25 11:02:43 -04001388config SYS_BOOK3E_HV
1389 bool "Category E.HV is supported"
1390 depends on BOOKE
1391
Tom Rini6f6b9702022-07-23 13:05:08 -04001392config FSL_CORENET
1393 bool
1394 select SYS_FSL_CPC
1395
Tom Riniff4e87c2022-07-31 21:08:29 -04001396config FSL_NGPIXIS
1397 bool
1398
Tom Rinif6c1f912022-06-25 11:02:45 -04001399config SYS_CPC_REINIT_F
1400 bool
1401 help
1402 The CPC is configured as SRAM at the time of U-Boot entry and is
1403 required to be re-initialized.
1404
1405config SYS_FSL_CPC
Tom Rini6f6b9702022-07-23 13:05:08 -04001406 bool
Tom Rinif6c1f912022-06-25 11:02:45 -04001407
Tom Rini38d091a2022-06-27 13:35:46 -04001408config SYS_CACHE_STASHING
1409 bool "Enable cache stashing"
1410
Tom Rini4143a232022-07-31 21:08:28 -04001411config SYS_FSL_PCIE_COMPAT_P4080_PCIE
1412 bool
1413
1414config SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v22
1415 bool
1416
1417config SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v24
1418 bool
1419
1420config SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v30
1421 bool
1422
1423config SYS_FSL_PCIE_COMPAT
1424 string
1425 depends on FSL_CORENET
1426 default "fsl,p4080-pcie" if SYS_FSL_PCIE_COMPAT_P4080_PCIE
1427 default "fsl,qoriq-pcie-v2.2" if SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v22
1428 default "fsl,qoriq-pcie-v2.4" if SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v24
1429 default "fsl,qoriq-pcie-v3.0" if SYS_FSL_PCIE_COMPAT_QORIQ_PCIE_v30
1430 help
1431 Defines the string to utilize when trying to match PCIe device tree
1432 nodes for the given platform.
1433
Tom Riniff4e87c2022-07-31 21:08:29 -04001434config SYS_FSL_SINGLE_SOURCE_CLK
1435 bool
1436
1437config SYS_FSL_SRIO_LIODN
1438 bool
1439
1440config SYS_FSL_TBCLK_DIV
1441 int
1442 default 32 if ARCH_P2041 || ARCH_P3041
1443 default 16 if ARCH_P4080 || ARCH_P5040 || ARCH_T4240 || ARCH_B4860 || \
1444 ARCH_B4420 || ARCH_T1040 || ARCH_T1042 || \
1445 ARCH_T1024 || ARCH_T2080
1446 default 8
1447 help
1448 Defines the core time base clock divider ratio compared to the system
1449 clock. On most PQ3 devices this is 8, on newer QorIQ devices it can
1450 be 16 or 32. The ratio varies from SoC to Soc.
1451
1452config SYS_FSL_USB1_PHY_ENABLE
1453 bool
1454
1455config SYS_FSL_USB2_PHY_ENABLE
1456 bool
1457
1458config SYS_FSL_USB_DUAL_PHY_ENABLE
1459 bool
1460
Tom Rinide47ff52022-06-10 22:59:37 -04001461config SYS_MPC85XX_NO_RESETVEC
1462 bool "Discard resetvec section and move bootpg section up"
Tom Rini88c2e912022-12-29 09:50:03 -05001463 depends on MPC85xx && !MPC85XX_HAVE_RESET_VECTOR
Tom Rinide47ff52022-06-10 22:59:37 -04001464 help
1465 If this variable is specified, the section .resetvec is not kept and
1466 the section .bootpg is placed in the previous 4k of the .text section.
1467
1468config SPL_SYS_MPC85XX_NO_RESETVEC
1469 bool "Discard resetvec section and move bootpg section up, in SPL"
Tom Rini88c2e912022-12-29 09:50:03 -05001470 depends on MPC85xx && SPL && !MPC85XX_HAVE_RESET_VECTOR
Tom Rinide47ff52022-06-10 22:59:37 -04001471 help
1472 If this variable is specified, the section .resetvec is not kept and
1473 the section .bootpg is placed in the previous 4k of the .text section,
1474 of the SPL portion of the binary.
1475
1476config TPL_SYS_MPC85XX_NO_RESETVEC
1477 bool "Discard resetvec section and move bootpg section up, in TPL"
Tom Rini88c2e912022-12-29 09:50:03 -05001478 depends on MPC85xx && TPL && !MPC85XX_HAVE_RESET_VECTOR
Tom Rinide47ff52022-06-10 22:59:37 -04001479 help
1480 If this variable is specified, the section .resetvec is not kept and
1481 the section .bootpg is placed in the previous 4k of the .text section,
1482 of the SPL portion of the binary.
1483
Rajesh Bhagatc8c01702021-02-15 09:46:14 +01001484config FSL_VIA
1485 bool
1486
Bin Meng1d636a02021-02-25 17:22:58 +08001487source "board/emulation/qemu-ppce500/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001488source "board/freescale/mpc8548cds/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001489source "board/freescale/p1010rdb/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001490source "board/freescale/p1_p2_rdb_pc/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001491source "board/freescale/p2041rdb/Kconfig"
Shengzhou Liu48c6f322014-11-24 17:11:56 +08001492source "board/freescale/t102xrdb/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001493source "board/freescale/t104xrdb/Kconfig"
1494source "board/freescale/t208xqds/Kconfig"
1495source "board/freescale/t208xrdb/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001496source "board/freescale/t4rdb/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001497source "board/socrates/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001498
1499endmenu