blob: 0a2921ddb323eadf46f43ceb4b9187e1336dd9d5 [file] [log] [blame]
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001menu "mpc85xx CPU"
2 depends on MPC85xx
3
4config SYS_CPU
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09005 default "mpc85xx"
6
Simon Glass9fdc0de2017-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
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090015choice
16 prompt "Target select"
Joe Hershbergerf0699602015-05-12 14:46:23 -050017 optional
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090018
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090019config TARGET_SOCRATES
20 bool "Support socrates"
York Sun5ac012a2016-11-15 13:57:15 -080021 select ARCH_MPC8544
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090022
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090023config TARGET_P3041DS
24 bool "Support P3041DS"
Masahiro Yamada653e9fe2016-07-25 19:56:03 +090025 select PHYS_64BIT
York Sundf70d062016-11-18 11:20:40 -080026 select ARCH_P3041
Tom Rini22d567e2017-01-22 19:43:11 -050027 select BOARD_LATE_INIT if CHAIN_OF_TRUST
Simon Glass203b3ab2017-06-14 21:28:24 -060028 imply CMD_SATA
Masahiro Yamadaacede7a2017-12-04 12:37:00 +090029 imply PANIC_HANG
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090030
31config TARGET_P4080DS
32 bool "Support P4080DS"
Masahiro Yamada653e9fe2016-07-25 19:56:03 +090033 select PHYS_64BIT
York Sun84be8a92016-11-18 11:24:40 -080034 select ARCH_P4080
Tom Rini22d567e2017-01-22 19:43:11 -050035 select BOARD_LATE_INIT if CHAIN_OF_TRUST
Simon Glass203b3ab2017-06-14 21:28:24 -060036 imply CMD_SATA
Masahiro Yamadaacede7a2017-12-04 12:37:00 +090037 imply PANIC_HANG
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090038
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090039config TARGET_P5040DS
40 bool "Support P5040DS"
Masahiro Yamada653e9fe2016-07-25 19:56:03 +090041 select PHYS_64BIT
York Suna3c5b662016-11-18 11:39:36 -080042 select ARCH_P5040
Tom Rini22d567e2017-01-22 19:43:11 -050043 select BOARD_LATE_INIT if CHAIN_OF_TRUST
Simon Glass203b3ab2017-06-14 21:28:24 -060044 imply CMD_SATA
Masahiro Yamadaacede7a2017-12-04 12:37:00 +090045 imply PANIC_HANG
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090046
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090047config TARGET_MPC8548CDS
48 bool "Support MPC8548CDS"
York Sunefc49e02016-11-15 13:52:34 -080049 select ARCH_MPC8548
Rajesh Bhagat6d072982021-02-15 09:46:14 +010050 select FSL_VIA
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090051
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090052config TARGET_MPC8568MDS
53 bool "Support MPC8568MDS"
York Suna0d4b582016-11-16 11:32:17 -080054 select ARCH_MPC8568
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090055
York Sun7f945ca2016-11-16 13:30:06 -080056config TARGET_P1010RDB_PA
57 bool "Support P1010RDB_PA"
58 select ARCH_P1010
Tom Rini22d567e2017-01-22 19:43:11 -050059 select BOARD_LATE_INIT if CHAIN_OF_TRUST
York Sun7f945ca2016-11-16 13:30:06 -080060 select SUPPORT_SPL
61 select SUPPORT_TPL
Simon Glass4590d4e2017-05-17 03:25:10 -060062 imply CMD_EEPROM
Simon Glass203b3ab2017-06-14 21:28:24 -060063 imply CMD_SATA
Masahiro Yamadaacede7a2017-12-04 12:37:00 +090064 imply PANIC_HANG
York Sun7f945ca2016-11-16 13:30:06 -080065
66config TARGET_P1010RDB_PB
67 bool "Support P1010RDB_PB"
York Sun24f88b32016-11-16 13:08:52 -080068 select ARCH_P1010
Tom Rini22d567e2017-01-22 19:43:11 -050069 select BOARD_LATE_INIT if CHAIN_OF_TRUST
Masahiro Yamada6e0971b2014-10-20 17:45:56 +090070 select SUPPORT_SPL
Masahiro Yamadaf5ebc992014-10-20 17:45:57 +090071 select SUPPORT_TPL
Simon Glass4590d4e2017-05-17 03:25:10 -060072 imply CMD_EEPROM
Simon Glass203b3ab2017-06-14 21:28:24 -060073 imply CMD_SATA
Masahiro Yamadaacede7a2017-12-04 12:37:00 +090074 imply PANIC_HANG
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090075
York Sun443108bf2016-11-17 13:52:44 -080076config TARGET_P1020RDB_PC
77 bool "Support P1020RDB-PC"
78 select SUPPORT_SPL
79 select SUPPORT_TPL
York Sunaf2dc812016-11-18 10:02:14 -080080 select ARCH_P1020
Simon Glass4590d4e2017-05-17 03:25:10 -060081 imply CMD_EEPROM
Simon Glass203b3ab2017-06-14 21:28:24 -060082 imply CMD_SATA
Masahiro Yamadaacede7a2017-12-04 12:37:00 +090083 imply PANIC_HANG
York Sun443108bf2016-11-17 13:52:44 -080084
York Sun06732382016-11-17 13:53:33 -080085config TARGET_P1020RDB_PD
86 bool "Support P1020RDB-PD"
87 select SUPPORT_SPL
88 select SUPPORT_TPL
York Sunaf2dc812016-11-18 10:02:14 -080089 select ARCH_P1020
Simon Glass4590d4e2017-05-17 03:25:10 -060090 imply CMD_EEPROM
Simon Glass203b3ab2017-06-14 21:28:24 -060091 imply CMD_SATA
Masahiro Yamadaacede7a2017-12-04 12:37:00 +090092 imply PANIC_HANG
York Sun06732382016-11-17 13:53:33 -080093
York Sun9c01ff22016-11-17 14:19:18 -080094config TARGET_P2020RDB
95 bool "Support P2020RDB-PC"
96 select SUPPORT_SPL
97 select SUPPORT_TPL
York Sun4b08dd72016-11-18 11:08:43 -080098 select ARCH_P2020
Simon Glass4590d4e2017-05-17 03:25:10 -060099 imply CMD_EEPROM
Simon Glass203b3ab2017-06-14 21:28:24 -0600100 imply CMD_SATA
Tuomas Tynkkynen104a5372017-12-08 15:36:14 +0200101 imply SATA_SIL
York Sun9c01ff22016-11-17 14:19:18 -0800102
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900103config TARGET_P2041RDB
104 bool "Support P2041RDB"
York Sun5786fca2016-11-18 11:15:21 -0800105 select ARCH_P2041
Tom Rini22d567e2017-01-22 19:43:11 -0500106 select BOARD_LATE_INIT if CHAIN_OF_TRUST
Masahiro Yamada653e9fe2016-07-25 19:56:03 +0900107 select PHYS_64BIT
Simon Glass203b3ab2017-06-14 21:28:24 -0600108 imply CMD_SATA
Tuomas Tynkkynen8df5dd32017-12-08 15:36:17 +0200109 imply FSL_SATA
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900110
111config TARGET_QEMU_PPCE500
112 bool "Support qemu-ppce500"
York Sun51e91e82016-11-18 12:29:51 -0800113 select ARCH_QEMU_E500
Masahiro Yamada653e9fe2016-07-25 19:56:03 +0900114 select PHYS_64BIT
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900115
York Suna5ca1422016-11-18 12:45:44 -0800116config TARGET_T1024RDB
117 bool "Support T1024RDB"
York Sun7d29dd62016-11-18 13:01:34 -0800118 select ARCH_T1024
Tom Rini22d567e2017-01-22 19:43:11 -0500119 select BOARD_LATE_INIT if CHAIN_OF_TRUST
Shengzhou Liu49912402014-11-24 17:11:56 +0800120 select SUPPORT_SPL
Masahiro Yamada653e9fe2016-07-25 19:56:03 +0900121 select PHYS_64BIT
Rajesh Bhagatba2414f2019-02-01 05:22:01 +0000122 select FSL_DDR_INTERACTIVE
Simon Glass4590d4e2017-05-17 03:25:10 -0600123 imply CMD_EEPROM
Masahiro Yamadaacede7a2017-12-04 12:37:00 +0900124 imply PANIC_HANG
Shengzhou Liu49912402014-11-24 17:11:56 +0800125
York Sun1d564e752016-11-18 13:19:39 -0800126config TARGET_T1042RDB
127 bool "Support T1042RDB"
York Sun2d7b2d42016-11-18 13:36:39 -0800128 select ARCH_T1042
Tom Rini22d567e2017-01-22 19:43:11 -0500129 select BOARD_LATE_INIT if CHAIN_OF_TRUST
Masahiro Yamada6e0971b2014-10-20 17:45:56 +0900130 select SUPPORT_SPL
Masahiro Yamada653e9fe2016-07-25 19:56:03 +0900131 select PHYS_64BIT
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900132
York Sund08610d2016-11-21 11:04:34 -0800133config TARGET_T1042D4RDB
134 bool "Support T1042D4RDB"
135 select ARCH_T1042
Tom Rini22d567e2017-01-22 19:43:11 -0500136 select BOARD_LATE_INIT if CHAIN_OF_TRUST
York Sund08610d2016-11-21 11:04:34 -0800137 select SUPPORT_SPL
138 select PHYS_64BIT
Masahiro Yamadaacede7a2017-12-04 12:37:00 +0900139 imply PANIC_HANG
York Sund08610d2016-11-21 11:04:34 -0800140
York Sune9c8dcf2016-11-18 13:44:00 -0800141config TARGET_T1042RDB_PI
142 bool "Support T1042RDB_PI"
143 select ARCH_T1042
Tom Rini22d567e2017-01-22 19:43:11 -0500144 select BOARD_LATE_INIT if CHAIN_OF_TRUST
York Sune9c8dcf2016-11-18 13:44:00 -0800145 select SUPPORT_SPL
146 select PHYS_64BIT
Masahiro Yamadaacede7a2017-12-04 12:37:00 +0900147 imply PANIC_HANG
York Sune9c8dcf2016-11-18 13:44:00 -0800148
York Sund1a6c0f2016-11-21 12:46:58 -0800149config TARGET_T2080QDS
150 bool "Support T2080QDS"
York Sune20c6852016-11-21 12:54:19 -0800151 select ARCH_T2080
Tom Rini22d567e2017-01-22 19:43:11 -0500152 select BOARD_LATE_INIT if CHAIN_OF_TRUST
Masahiro Yamada6e0971b2014-10-20 17:45:56 +0900153 select SUPPORT_SPL
Masahiro Yamada653e9fe2016-07-25 19:56:03 +0900154 select PHYS_64BIT
Rajesh Bhagatba2414f2019-02-01 05:22:01 +0000155 select FSL_DDR_FIRST_SLOT_QUAD_CAPABLE
156 select FSL_DDR_INTERACTIVE
Peng Ma34bed5d2019-12-23 09:28:12 +0000157 imply CMD_SATA
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900158
York Sun58459252016-11-21 12:57:22 -0800159config TARGET_T2080RDB
160 bool "Support T2080RDB"
York Sune20c6852016-11-21 12:54:19 -0800161 select ARCH_T2080
Tom Rini22d567e2017-01-22 19:43:11 -0500162 select BOARD_LATE_INIT if CHAIN_OF_TRUST
Masahiro Yamada6e0971b2014-10-20 17:45:56 +0900163 select SUPPORT_SPL
Masahiro Yamada653e9fe2016-07-25 19:56:03 +0900164 select PHYS_64BIT
Simon Glass203b3ab2017-06-14 21:28:24 -0600165 imply CMD_SATA
Masahiro Yamadaacede7a2017-12-04 12:37:00 +0900166 imply PANIC_HANG
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900167
York Sun50417a92016-11-21 13:26:52 -0800168config TARGET_T4160RDB
169 bool "Support T4160RDB"
York Sunc7ea9242016-11-21 13:31:34 -0800170 select ARCH_T4160
York Sun50417a92016-11-21 13:26:52 -0800171 select SUPPORT_SPL
172 select PHYS_64BIT
Masahiro Yamadaacede7a2017-12-04 12:37:00 +0900173 imply PANIC_HANG
York Sun50417a92016-11-21 13:26:52 -0800174
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900175config TARGET_T4240RDB
176 bool "Support T4240RDB"
York Sun0fad3262016-11-21 13:35:41 -0800177 select ARCH_T4240
Chunhe Lan66cba6b2015-03-20 17:08:54 +0800178 select SUPPORT_SPL
Masahiro Yamada653e9fe2016-07-25 19:56:03 +0900179 select PHYS_64BIT
Rajesh Bhagatba2414f2019-02-01 05:22:01 +0000180 select FSL_DDR_FIRST_SLOT_QUAD_CAPABLE
Simon Glass203b3ab2017-06-14 21:28:24 -0600181 imply CMD_SATA
Masahiro Yamadaacede7a2017-12-04 12:37:00 +0900182 imply PANIC_HANG
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900183
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900184config TARGET_KMP204X
185 bool "Support kmp204x"
Pascal Linder305329f2019-06-18 13:27:47 +0200186 select VENDOR_KM
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900187
Niel Fouriedb7241d2021-01-21 13:19:20 +0100188config TARGET_KMCENT2
189 bool "Support kmcent2"
190 select VENDOR_KM
191
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900192config TARGET_XPEDITE520X
193 bool "Support xpedite520x"
York Sunefc49e02016-11-15 13:52:34 -0800194 select ARCH_MPC8548
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900195
196config TARGET_XPEDITE537X
197 bool "Support xpedite537x"
York Sun018874e2016-11-16 11:39:20 -0800198 select ARCH_MPC8572
York Sund297d392016-12-28 08:43:40 -0800199# Use DDR3 controller with DDR2 DIMMs on this board
200 select SYS_FSL_DDRC_GEN3
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900201
202config TARGET_XPEDITE550X
203 bool "Support xpedite550x"
York Sun4b08dd72016-11-18 11:08:43 -0800204 select ARCH_P2020
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900205
Oleksandr G Zhadan19ac6882015-04-29 16:57:39 -0400206config TARGET_UCP1020
207 bool "Support uCP1020"
York Sunaf2dc812016-11-18 10:02:14 -0800208 select ARCH_P1020
Simon Glass203b3ab2017-06-14 21:28:24 -0600209 imply CMD_SATA
Masahiro Yamadaacede7a2017-12-04 12:37:00 +0900210 imply PANIC_HANG
Oleksandr G Zhadan19ac6882015-04-29 16:57:39 -0400211
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900212endchoice
213
York Sunfda566d2016-11-18 11:56:57 -0800214config ARCH_B4420
215 bool
York Sunaf5495a2016-12-28 08:43:27 -0800216 select E500MC
York Sunf4e8a752016-12-28 08:43:48 -0800217 select E6500
York Sune7a6eaf2016-12-02 10:44:34 -0800218 select FSL_LAW
York Sun4e577972016-12-28 08:43:46 -0800219 select SYS_FSL_DDR_VER_47
York Sunbe735532016-12-28 08:43:43 -0800220 select SYS_FSL_ERRATUM_A004477
221 select SYS_FSL_ERRATUM_A005871
222 select SYS_FSL_ERRATUM_A006379
223 select SYS_FSL_ERRATUM_A006384
224 select SYS_FSL_ERRATUM_A006475
225 select SYS_FSL_ERRATUM_A006593
226 select SYS_FSL_ERRATUM_A007075
227 select SYS_FSL_ERRATUM_A007186
228 select SYS_FSL_ERRATUM_A007212
229 select SYS_FSL_ERRATUM_A009942
York Sund297d392016-12-28 08:43:40 -0800230 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800231 select SYS_FSL_HAS_SEC
York Sun0d3b8592016-12-28 08:43:49 -0800232 select SYS_FSL_QORIQ_CHASSIS2
York Sunfa4199422016-12-28 08:43:31 -0800233 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800234 select SYS_FSL_SEC_COMPAT_4
York Sun7eafac12016-12-28 08:43:50 -0800235 select SYS_PPC64
Prabhakar Kushwahab0f8bae2017-02-02 15:01:13 +0530236 select FSL_IFC
Simon Glass4590d4e2017-05-17 03:25:10 -0600237 imply CMD_EEPROM
Tom Rini00448d22017-07-28 21:31:42 -0400238 imply CMD_NAND
Christophe Leroye538bbc2017-08-04 16:34:40 -0600239 imply CMD_REGINFO
York Sunfda566d2016-11-18 11:56:57 -0800240
York Sun68eaa9a2016-11-18 11:44:43 -0800241config ARCH_B4860
242 bool
York Sunaf5495a2016-12-28 08:43:27 -0800243 select E500MC
York Sunf4e8a752016-12-28 08:43:48 -0800244 select E6500
York Sune7a6eaf2016-12-02 10:44:34 -0800245 select FSL_LAW
York Sun4e577972016-12-28 08:43:46 -0800246 select SYS_FSL_DDR_VER_47
York Sunbe735532016-12-28 08:43:43 -0800247 select SYS_FSL_ERRATUM_A004477
248 select SYS_FSL_ERRATUM_A005871
249 select SYS_FSL_ERRATUM_A006379
250 select SYS_FSL_ERRATUM_A006384
251 select SYS_FSL_ERRATUM_A006475
252 select SYS_FSL_ERRATUM_A006593
253 select SYS_FSL_ERRATUM_A007075
254 select SYS_FSL_ERRATUM_A007186
255 select SYS_FSL_ERRATUM_A007212
Darwin Dingela56d6c02016-10-25 09:48:01 +1300256 select SYS_FSL_ERRATUM_A007907
York Sunbe735532016-12-28 08:43:43 -0800257 select SYS_FSL_ERRATUM_A009942
York Sund297d392016-12-28 08:43:40 -0800258 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800259 select SYS_FSL_HAS_SEC
York Sun0d3b8592016-12-28 08:43:49 -0800260 select SYS_FSL_QORIQ_CHASSIS2
York Sunfa4199422016-12-28 08:43:31 -0800261 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800262 select SYS_FSL_SEC_COMPAT_4
York Sun7eafac12016-12-28 08:43:50 -0800263 select SYS_PPC64
Prabhakar Kushwahab0f8bae2017-02-02 15:01:13 +0530264 select FSL_IFC
Simon Glass4590d4e2017-05-17 03:25:10 -0600265 imply CMD_EEPROM
Tom Rini00448d22017-07-28 21:31:42 -0400266 imply CMD_NAND
Christophe Leroye538bbc2017-08-04 16:34:40 -0600267 imply CMD_REGINFO
York Sun68eaa9a2016-11-18 11:44:43 -0800268
York Suna80bdf72016-11-15 14:09:50 -0800269config ARCH_BSC9131
270 bool
York Sune7a6eaf2016-12-02 10:44:34 -0800271 select FSL_LAW
York Sun4e577972016-12-28 08:43:46 -0800272 select SYS_FSL_DDR_VER_44
York Sunbe735532016-12-28 08:43:43 -0800273 select SYS_FSL_ERRATUM_A004477
274 select SYS_FSL_ERRATUM_A005125
York Sun097e3602016-12-28 08:43:42 -0800275 select SYS_FSL_ERRATUM_ESDHC111
York Sund297d392016-12-28 08:43:40 -0800276 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800277 select SYS_FSL_HAS_SEC
York Sunfa4199422016-12-28 08:43:31 -0800278 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800279 select SYS_FSL_SEC_COMPAT_4
Prabhakar Kushwahab0f8bae2017-02-02 15:01:13 +0530280 select FSL_IFC
Simon Glass4590d4e2017-05-17 03:25:10 -0600281 imply CMD_EEPROM
Tom Rini00448d22017-07-28 21:31:42 -0400282 imply CMD_NAND
Christophe Leroye538bbc2017-08-04 16:34:40 -0600283 imply CMD_REGINFO
York Suna80bdf72016-11-15 14:09:50 -0800284
285config ARCH_BSC9132
286 bool
York Sune7a6eaf2016-12-02 10:44:34 -0800287 select FSL_LAW
York Sun4e577972016-12-28 08:43:46 -0800288 select SYS_FSL_DDR_VER_46
York Sunbe735532016-12-28 08:43:43 -0800289 select SYS_FSL_ERRATUM_A004477
290 select SYS_FSL_ERRATUM_A005125
291 select SYS_FSL_ERRATUM_A005434
York Sun097e3602016-12-28 08:43:42 -0800292 select SYS_FSL_ERRATUM_ESDHC111
York Sunbe735532016-12-28 08:43:43 -0800293 select SYS_FSL_ERRATUM_I2C_A004447
294 select SYS_FSL_ERRATUM_IFC_A002769
Hou Zhiqiang01500f52019-05-23 11:52:44 +0800295 select FSL_PCIE_RESET
York Sund297d392016-12-28 08:43:40 -0800296 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800297 select SYS_FSL_HAS_SEC
York Sunfa4199422016-12-28 08:43:31 -0800298 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800299 select SYS_FSL_SEC_COMPAT_4
York Sun85ab6f02016-12-28 08:43:29 -0800300 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwahab0f8bae2017-02-02 15:01:13 +0530301 select FSL_IFC
Simon Glass4590d4e2017-05-17 03:25:10 -0600302 imply CMD_EEPROM
Tom Rinic20bb732017-07-22 18:36:16 -0400303 imply CMD_MTDPARTS
Tom Rini00448d22017-07-28 21:31:42 -0400304 imply CMD_NAND
Simon Glassc88a09a2017-08-04 16:34:34 -0600305 imply CMD_PCI
Christophe Leroye538bbc2017-08-04 16:34:40 -0600306 imply CMD_REGINFO
York Suna80bdf72016-11-15 14:09:50 -0800307
York Sun4119aee2016-11-15 18:44:22 -0800308config ARCH_C29X
309 bool
York Sune7a6eaf2016-12-02 10:44:34 -0800310 select FSL_LAW
York Sun4e577972016-12-28 08:43:46 -0800311 select SYS_FSL_DDR_VER_46
York Sunbe735532016-12-28 08:43:43 -0800312 select SYS_FSL_ERRATUM_A005125
York Sun097e3602016-12-28 08:43:42 -0800313 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiang01500f52019-05-23 11:52:44 +0800314 select FSL_PCIE_RESET
York Sund297d392016-12-28 08:43:40 -0800315 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800316 select SYS_FSL_HAS_SEC
York Sunfa4199422016-12-28 08:43:31 -0800317 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800318 select SYS_FSL_SEC_COMPAT_6
York Sun85ab6f02016-12-28 08:43:29 -0800319 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwahab0f8bae2017-02-02 15:01:13 +0530320 select FSL_IFC
Tom Rini00448d22017-07-28 21:31:42 -0400321 imply CMD_NAND
Simon Glassc88a09a2017-08-04 16:34:34 -0600322 imply CMD_PCI
Christophe Leroye538bbc2017-08-04 16:34:40 -0600323 imply CMD_REGINFO
York Sun4119aee2016-11-15 18:44:22 -0800324
York Sun5557d6b2016-11-16 11:06:47 -0800325config ARCH_MPC8536
326 bool
York Sune7a6eaf2016-12-02 10:44:34 -0800327 select FSL_LAW
York Sunbe735532016-12-28 08:43:43 -0800328 select SYS_FSL_ERRATUM_A004508
329 select SYS_FSL_ERRATUM_A005125
Hou Zhiqiang01500f52019-05-23 11:52:44 +0800330 select FSL_PCIE_RESET
York Sund297d392016-12-28 08:43:40 -0800331 select SYS_FSL_HAS_DDR2
332 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800333 select SYS_FSL_HAS_SEC
York Sunfa4199422016-12-28 08:43:31 -0800334 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800335 select SYS_FSL_SEC_COMPAT_2
York Sun85ab6f02016-12-28 08:43:29 -0800336 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha4c6be552017-02-02 15:01:48 +0530337 select FSL_ELBC
Tom Rini00448d22017-07-28 21:31:42 -0400338 imply CMD_NAND
Simon Glass203b3ab2017-06-14 21:28:24 -0600339 imply CMD_SATA
Christophe Leroye538bbc2017-08-04 16:34:40 -0600340 imply CMD_REGINFO
York Sun5557d6b2016-11-16 11:06:47 -0800341
York Sun5ddce892016-11-16 11:13:06 -0800342config ARCH_MPC8540
343 bool
York Sune7a6eaf2016-12-02 10:44:34 -0800344 select FSL_LAW
York Sund297d392016-12-28 08:43:40 -0800345 select SYS_FSL_HAS_DDR1
York Sun5ddce892016-11-16 11:13:06 -0800346
York Sun5ac012a2016-11-15 13:57:15 -0800347config ARCH_MPC8544
348 bool
York Sune7a6eaf2016-12-02 10:44:34 -0800349 select FSL_LAW
York Sunbe735532016-12-28 08:43:43 -0800350 select SYS_FSL_ERRATUM_A005125
Hou Zhiqiang01500f52019-05-23 11:52:44 +0800351 select FSL_PCIE_RESET
York Sund297d392016-12-28 08:43:40 -0800352 select SYS_FSL_HAS_DDR2
York Sun92c36e22016-12-28 08:43:30 -0800353 select SYS_FSL_HAS_SEC
York Sunfa4199422016-12-28 08:43:31 -0800354 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800355 select SYS_FSL_SEC_COMPAT_2
York Sun85ab6f02016-12-28 08:43:29 -0800356 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha4c6be552017-02-02 15:01:48 +0530357 select FSL_ELBC
York Sun5ac012a2016-11-15 13:57:15 -0800358
York Sunefc49e02016-11-15 13:52:34 -0800359config ARCH_MPC8548
360 bool
York Sune7a6eaf2016-12-02 10:44:34 -0800361 select FSL_LAW
York Sunbe735532016-12-28 08:43:43 -0800362 select SYS_FSL_ERRATUM_A005125
363 select SYS_FSL_ERRATUM_NMG_DDR120
364 select SYS_FSL_ERRATUM_NMG_LBC103
365 select SYS_FSL_ERRATUM_NMG_ETSEC129
366 select SYS_FSL_ERRATUM_I2C_A004447
Hou Zhiqiang01500f52019-05-23 11:52:44 +0800367 select FSL_PCIE_RESET
York Sund297d392016-12-28 08:43:40 -0800368 select SYS_FSL_HAS_DDR2
369 select SYS_FSL_HAS_DDR1
York Sun92c36e22016-12-28 08:43:30 -0800370 select SYS_FSL_HAS_SEC
York Sunfa4199422016-12-28 08:43:31 -0800371 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800372 select SYS_FSL_SEC_COMPAT_2
York Sun85ab6f02016-12-28 08:43:29 -0800373 select SYS_PPC_E500_USE_DEBUG_TLB
Christophe Leroye538bbc2017-08-04 16:34:40 -0600374 imply CMD_REGINFO
York Sunefc49e02016-11-15 13:52:34 -0800375
York Sunb4046f42016-11-16 11:26:45 -0800376config ARCH_MPC8560
377 bool
York Sune7a6eaf2016-12-02 10:44:34 -0800378 select FSL_LAW
York Sund297d392016-12-28 08:43:40 -0800379 select SYS_FSL_HAS_DDR1
York Sunb4046f42016-11-16 11:26:45 -0800380
York Suna0d4b582016-11-16 11:32:17 -0800381config ARCH_MPC8568
382 bool
York Sune7a6eaf2016-12-02 10:44:34 -0800383 select FSL_LAW
Hou Zhiqiang01500f52019-05-23 11:52:44 +0800384 select FSL_PCIE_RESET
York Sund297d392016-12-28 08:43:40 -0800385 select SYS_FSL_HAS_DDR2
York Sun92c36e22016-12-28 08:43:30 -0800386 select SYS_FSL_HAS_SEC
York Sunfa4199422016-12-28 08:43:31 -0800387 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800388 select SYS_FSL_SEC_COMPAT_2
York Suna0d4b582016-11-16 11:32:17 -0800389
York Sun018874e2016-11-16 11:39:20 -0800390config ARCH_MPC8572
391 bool
York Sune7a6eaf2016-12-02 10:44:34 -0800392 select FSL_LAW
York Sunbe735532016-12-28 08:43:43 -0800393 select SYS_FSL_ERRATUM_A004508
394 select SYS_FSL_ERRATUM_A005125
395 select SYS_FSL_ERRATUM_DDR_115
396 select SYS_FSL_ERRATUM_DDR111_DDR134
Hou Zhiqiang01500f52019-05-23 11:52:44 +0800397 select FSL_PCIE_RESET
York Sund297d392016-12-28 08:43:40 -0800398 select SYS_FSL_HAS_DDR2
399 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800400 select SYS_FSL_HAS_SEC
York Sunfa4199422016-12-28 08:43:31 -0800401 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800402 select SYS_FSL_SEC_COMPAT_2
York Sund297d392016-12-28 08:43:40 -0800403 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha4c6be552017-02-02 15:01:48 +0530404 select FSL_ELBC
Tom Rini00448d22017-07-28 21:31:42 -0400405 imply CMD_NAND
York Sun018874e2016-11-16 11:39:20 -0800406
York Sun24f88b32016-11-16 13:08:52 -0800407config ARCH_P1010
408 bool
York Sune7a6eaf2016-12-02 10:44:34 -0800409 select FSL_LAW
York Sunbe735532016-12-28 08:43:43 -0800410 select SYS_FSL_ERRATUM_A004477
411 select SYS_FSL_ERRATUM_A004508
412 select SYS_FSL_ERRATUM_A005125
Chris Packham434f0582018-10-04 20:03:53 +1300413 select SYS_FSL_ERRATUM_A005275
York Sunbe735532016-12-28 08:43:43 -0800414 select SYS_FSL_ERRATUM_A006261
415 select SYS_FSL_ERRATUM_A007075
York Sun097e3602016-12-28 08:43:42 -0800416 select SYS_FSL_ERRATUM_ESDHC111
York Sunbe735532016-12-28 08:43:43 -0800417 select SYS_FSL_ERRATUM_I2C_A004447
418 select SYS_FSL_ERRATUM_IFC_A002769
419 select SYS_FSL_ERRATUM_P1010_A003549
420 select SYS_FSL_ERRATUM_SEC_A003571
421 select SYS_FSL_ERRATUM_IFC_A003399
Hou Zhiqiang01500f52019-05-23 11:52:44 +0800422 select FSL_PCIE_RESET
York Sund297d392016-12-28 08:43:40 -0800423 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800424 select SYS_FSL_HAS_SEC
York Sunfa4199422016-12-28 08:43:31 -0800425 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800426 select SYS_FSL_SEC_COMPAT_4
York Sun85ab6f02016-12-28 08:43:29 -0800427 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwahab0f8bae2017-02-02 15:01:13 +0530428 select FSL_IFC
Simon Glass4590d4e2017-05-17 03:25:10 -0600429 imply CMD_EEPROM
Tom Rinic20bb732017-07-22 18:36:16 -0400430 imply CMD_MTDPARTS
Tom Rini00448d22017-07-28 21:31:42 -0400431 imply CMD_NAND
Simon Glass203b3ab2017-06-14 21:28:24 -0600432 imply CMD_SATA
Simon Glassc88a09a2017-08-04 16:34:34 -0600433 imply CMD_PCI
Christophe Leroye538bbc2017-08-04 16:34:40 -0600434 imply CMD_REGINFO
Tuomas Tynkkynen8df5dd32017-12-08 15:36:17 +0200435 imply FSL_SATA
York Sun24f88b32016-11-16 13:08:52 -0800436
York Sun3680e592016-11-16 15:54:15 -0800437config ARCH_P1011
438 bool
York Sune7a6eaf2016-12-02 10:44:34 -0800439 select FSL_LAW
York Sunbe735532016-12-28 08:43:43 -0800440 select SYS_FSL_ERRATUM_A004508
441 select SYS_FSL_ERRATUM_A005125
442 select SYS_FSL_ERRATUM_ELBC_A001
York Sun097e3602016-12-28 08:43:42 -0800443 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiangdeb47f52019-05-22 22:46:03 +0800444 select FSL_PCIE_DISABLE_ASPM
York Sund297d392016-12-28 08:43:40 -0800445 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800446 select SYS_FSL_HAS_SEC
York Sunfa4199422016-12-28 08:43:31 -0800447 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800448 select SYS_FSL_SEC_COMPAT_2
York Sun85ab6f02016-12-28 08:43:29 -0800449 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha4c6be552017-02-02 15:01:48 +0530450 select FSL_ELBC
York Sun3680e592016-11-16 15:54:15 -0800451
York Sunaf2dc812016-11-18 10:02:14 -0800452config ARCH_P1020
453 bool
York Sune7a6eaf2016-12-02 10:44:34 -0800454 select FSL_LAW
York Sunbe735532016-12-28 08:43:43 -0800455 select SYS_FSL_ERRATUM_A004508
456 select SYS_FSL_ERRATUM_A005125
457 select SYS_FSL_ERRATUM_ELBC_A001
York Sun097e3602016-12-28 08:43:42 -0800458 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiangdeb47f52019-05-22 22:46:03 +0800459 select FSL_PCIE_DISABLE_ASPM
Hou Zhiqiang01500f52019-05-23 11:52:44 +0800460 select FSL_PCIE_RESET
York Sund297d392016-12-28 08:43:40 -0800461 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800462 select SYS_FSL_HAS_SEC
York Sunfa4199422016-12-28 08:43:31 -0800463 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800464 select SYS_FSL_SEC_COMPAT_2
York Sun85ab6f02016-12-28 08:43:29 -0800465 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha4c6be552017-02-02 15:01:48 +0530466 select FSL_ELBC
Tom Rini00448d22017-07-28 21:31:42 -0400467 imply CMD_NAND
Simon Glass203b3ab2017-06-14 21:28:24 -0600468 imply CMD_SATA
Simon Glassc88a09a2017-08-04 16:34:34 -0600469 imply CMD_PCI
Christophe Leroye538bbc2017-08-04 16:34:40 -0600470 imply CMD_REGINFO
Tuomas Tynkkynen104a5372017-12-08 15:36:14 +0200471 imply SATA_SIL
York Sunaf2dc812016-11-18 10:02:14 -0800472
York Sun2f924be2016-11-18 10:59:02 -0800473config ARCH_P1021
474 bool
York Sune7a6eaf2016-12-02 10:44:34 -0800475 select FSL_LAW
York Sunbe735532016-12-28 08:43:43 -0800476 select SYS_FSL_ERRATUM_A004508
477 select SYS_FSL_ERRATUM_A005125
478 select SYS_FSL_ERRATUM_ELBC_A001
York Sun097e3602016-12-28 08:43:42 -0800479 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiangdeb47f52019-05-22 22:46:03 +0800480 select FSL_PCIE_DISABLE_ASPM
Hou Zhiqiang01500f52019-05-23 11:52:44 +0800481 select FSL_PCIE_RESET
York Sund297d392016-12-28 08:43:40 -0800482 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800483 select SYS_FSL_HAS_SEC
York Sunfa4199422016-12-28 08:43:31 -0800484 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800485 select SYS_FSL_SEC_COMPAT_2
York Sun85ab6f02016-12-28 08:43:29 -0800486 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha4c6be552017-02-02 15:01:48 +0530487 select FSL_ELBC
Christophe Leroye538bbc2017-08-04 16:34:40 -0600488 imply CMD_REGINFO
Tom Rini00448d22017-07-28 21:31:42 -0400489 imply CMD_NAND
Simon Glass203b3ab2017-06-14 21:28:24 -0600490 imply CMD_SATA
Christophe Leroye538bbc2017-08-04 16:34:40 -0600491 imply CMD_REGINFO
Tuomas Tynkkynen104a5372017-12-08 15:36:14 +0200492 imply SATA_SIL
York Sun2f924be2016-11-18 10:59:02 -0800493
York Sunfeeaae22016-11-16 15:45:31 -0800494config ARCH_P1023
495 bool
York Sune7a6eaf2016-12-02 10:44:34 -0800496 select FSL_LAW
York Sunbe735532016-12-28 08:43:43 -0800497 select SYS_FSL_ERRATUM_A004508
498 select SYS_FSL_ERRATUM_A005125
499 select SYS_FSL_ERRATUM_I2C_A004447
Hou Zhiqiang01500f52019-05-23 11:52:44 +0800500 select FSL_PCIE_RESET
York Sund297d392016-12-28 08:43:40 -0800501 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800502 select SYS_FSL_HAS_SEC
York Sunfa4199422016-12-28 08:43:31 -0800503 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800504 select SYS_FSL_SEC_COMPAT_4
Prabhakar Kushwaha4c6be552017-02-02 15:01:48 +0530505 select FSL_ELBC
York Sunfeeaae22016-11-16 15:45:31 -0800506
York Sun76780b22016-11-18 11:00:57 -0800507config ARCH_P1024
508 bool
York Sune7a6eaf2016-12-02 10:44:34 -0800509 select FSL_LAW
York Sunbe735532016-12-28 08:43:43 -0800510 select SYS_FSL_ERRATUM_A004508
511 select SYS_FSL_ERRATUM_A005125
512 select SYS_FSL_ERRATUM_ELBC_A001
York Sun097e3602016-12-28 08:43:42 -0800513 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiangdeb47f52019-05-22 22:46:03 +0800514 select FSL_PCIE_DISABLE_ASPM
Hou Zhiqiang01500f52019-05-23 11:52:44 +0800515 select FSL_PCIE_RESET
York Sund297d392016-12-28 08:43:40 -0800516 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800517 select SYS_FSL_HAS_SEC
York Sunfa4199422016-12-28 08:43:31 -0800518 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800519 select SYS_FSL_SEC_COMPAT_2
York Sun85ab6f02016-12-28 08:43:29 -0800520 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha4c6be552017-02-02 15:01:48 +0530521 select FSL_ELBC
Simon Glass4590d4e2017-05-17 03:25:10 -0600522 imply CMD_EEPROM
Tom Rini00448d22017-07-28 21:31:42 -0400523 imply CMD_NAND
Simon Glass203b3ab2017-06-14 21:28:24 -0600524 imply CMD_SATA
Simon Glassc88a09a2017-08-04 16:34:34 -0600525 imply CMD_PCI
Christophe Leroye538bbc2017-08-04 16:34:40 -0600526 imply CMD_REGINFO
Tuomas Tynkkynen104a5372017-12-08 15:36:14 +0200527 imply SATA_SIL
York Sun76780b22016-11-18 11:00:57 -0800528
York Sun0f577972016-11-18 11:05:38 -0800529config ARCH_P1025
530 bool
York Sune7a6eaf2016-12-02 10:44:34 -0800531 select FSL_LAW
York Sunbe735532016-12-28 08:43:43 -0800532 select SYS_FSL_ERRATUM_A004508
533 select SYS_FSL_ERRATUM_A005125
534 select SYS_FSL_ERRATUM_ELBC_A001
York Sun097e3602016-12-28 08:43:42 -0800535 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiangdeb47f52019-05-22 22:46:03 +0800536 select FSL_PCIE_DISABLE_ASPM
Hou Zhiqiang01500f52019-05-23 11:52:44 +0800537 select FSL_PCIE_RESET
York Sund297d392016-12-28 08:43:40 -0800538 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800539 select SYS_FSL_HAS_SEC
York Sunfa4199422016-12-28 08:43:31 -0800540 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800541 select SYS_FSL_SEC_COMPAT_2
York Sun85ab6f02016-12-28 08:43:29 -0800542 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha4c6be552017-02-02 15:01:48 +0530543 select FSL_ELBC
Simon Glass203b3ab2017-06-14 21:28:24 -0600544 imply CMD_SATA
Christophe Leroye538bbc2017-08-04 16:34:40 -0600545 imply CMD_REGINFO
York Sun0f577972016-11-18 11:05:38 -0800546
York Sun4b08dd72016-11-18 11:08:43 -0800547config ARCH_P2020
548 bool
York Sune7a6eaf2016-12-02 10:44:34 -0800549 select FSL_LAW
York Sunbe735532016-12-28 08:43:43 -0800550 select SYS_FSL_ERRATUM_A004477
551 select SYS_FSL_ERRATUM_A004508
552 select SYS_FSL_ERRATUM_A005125
York Sun097e3602016-12-28 08:43:42 -0800553 select SYS_FSL_ERRATUM_ESDHC111
554 select SYS_FSL_ERRATUM_ESDHC_A001
Hou Zhiqiang01500f52019-05-23 11:52:44 +0800555 select FSL_PCIE_RESET
York Sund297d392016-12-28 08:43:40 -0800556 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800557 select SYS_FSL_HAS_SEC
York Sunfa4199422016-12-28 08:43:31 -0800558 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800559 select SYS_FSL_SEC_COMPAT_2
York Sun85ab6f02016-12-28 08:43:29 -0800560 select SYS_PPC_E500_USE_DEBUG_TLB
Prabhakar Kushwaha4c6be552017-02-02 15:01:48 +0530561 select FSL_ELBC
Simon Glass4590d4e2017-05-17 03:25:10 -0600562 imply CMD_EEPROM
Tom Rini00448d22017-07-28 21:31:42 -0400563 imply CMD_NAND
Christophe Leroye538bbc2017-08-04 16:34:40 -0600564 imply CMD_REGINFO
York Sun4b08dd72016-11-18 11:08:43 -0800565
York Sun5786fca2016-11-18 11:15:21 -0800566config ARCH_P2041
567 bool
York Sunaf5495a2016-12-28 08:43:27 -0800568 select E500MC
York Sune7a6eaf2016-12-02 10:44:34 -0800569 select FSL_LAW
York Sunbe735532016-12-28 08:43:43 -0800570 select SYS_FSL_ERRATUM_A004510
571 select SYS_FSL_ERRATUM_A004849
Chris Packham434f0582018-10-04 20:03:53 +1300572 select SYS_FSL_ERRATUM_A005275
York Sunbe735532016-12-28 08:43:43 -0800573 select SYS_FSL_ERRATUM_A006261
574 select SYS_FSL_ERRATUM_CPU_A003999
575 select SYS_FSL_ERRATUM_DDR_A003
576 select SYS_FSL_ERRATUM_DDR_A003474
York Sun097e3602016-12-28 08:43:42 -0800577 select SYS_FSL_ERRATUM_ESDHC111
York Sunbe735532016-12-28 08:43:43 -0800578 select SYS_FSL_ERRATUM_I2C_A004447
579 select SYS_FSL_ERRATUM_NMG_CPU_A011
580 select SYS_FSL_ERRATUM_SRIO_A004034
581 select SYS_FSL_ERRATUM_USB14
York Sund297d392016-12-28 08:43:40 -0800582 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800583 select SYS_FSL_HAS_SEC
York Sun0d3b8592016-12-28 08:43:49 -0800584 select SYS_FSL_QORIQ_CHASSIS1
York Sunfa4199422016-12-28 08:43:31 -0800585 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800586 select SYS_FSL_SEC_COMPAT_4
Prabhakar Kushwaha4c6be552017-02-02 15:01:48 +0530587 select FSL_ELBC
Tom Rini00448d22017-07-28 21:31:42 -0400588 imply CMD_NAND
York Sun5786fca2016-11-18 11:15:21 -0800589
York Sundf70d062016-11-18 11:20:40 -0800590config ARCH_P3041
591 bool
York Sunaf5495a2016-12-28 08:43:27 -0800592 select E500MC
York Sune7a6eaf2016-12-02 10:44:34 -0800593 select FSL_LAW
York Sun4e577972016-12-28 08:43:46 -0800594 select SYS_FSL_DDR_VER_44
York Sunbe735532016-12-28 08:43:43 -0800595 select SYS_FSL_ERRATUM_A004510
596 select SYS_FSL_ERRATUM_A004849
Chris Packham434f0582018-10-04 20:03:53 +1300597 select SYS_FSL_ERRATUM_A005275
York Sunbe735532016-12-28 08:43:43 -0800598 select SYS_FSL_ERRATUM_A005812
599 select SYS_FSL_ERRATUM_A006261
600 select SYS_FSL_ERRATUM_CPU_A003999
601 select SYS_FSL_ERRATUM_DDR_A003
602 select SYS_FSL_ERRATUM_DDR_A003474
York Sun097e3602016-12-28 08:43:42 -0800603 select SYS_FSL_ERRATUM_ESDHC111
York Sunbe735532016-12-28 08:43:43 -0800604 select SYS_FSL_ERRATUM_I2C_A004447
605 select SYS_FSL_ERRATUM_NMG_CPU_A011
606 select SYS_FSL_ERRATUM_SRIO_A004034
607 select SYS_FSL_ERRATUM_USB14
York Sund297d392016-12-28 08:43:40 -0800608 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800609 select SYS_FSL_HAS_SEC
York Sun0d3b8592016-12-28 08:43:49 -0800610 select SYS_FSL_QORIQ_CHASSIS1
York Sunfa4199422016-12-28 08:43:31 -0800611 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800612 select SYS_FSL_SEC_COMPAT_4
Prabhakar Kushwaha4c6be552017-02-02 15:01:48 +0530613 select FSL_ELBC
Tom Rini00448d22017-07-28 21:31:42 -0400614 imply CMD_NAND
Simon Glass203b3ab2017-06-14 21:28:24 -0600615 imply CMD_SATA
Christophe Leroye538bbc2017-08-04 16:34:40 -0600616 imply CMD_REGINFO
Tuomas Tynkkynen8df5dd32017-12-08 15:36:17 +0200617 imply FSL_SATA
York Sundf70d062016-11-18 11:20:40 -0800618
York Sun84be8a92016-11-18 11:24:40 -0800619config ARCH_P4080
620 bool
York Sunaf5495a2016-12-28 08:43:27 -0800621 select E500MC
York Sune7a6eaf2016-12-02 10:44:34 -0800622 select FSL_LAW
York Sun4e577972016-12-28 08:43:46 -0800623 select SYS_FSL_DDR_VER_44
York Sunbe735532016-12-28 08:43:43 -0800624 select SYS_FSL_ERRATUM_A004510
625 select SYS_FSL_ERRATUM_A004580
626 select SYS_FSL_ERRATUM_A004849
627 select SYS_FSL_ERRATUM_A005812
628 select SYS_FSL_ERRATUM_A007075
629 select SYS_FSL_ERRATUM_CPC_A002
630 select SYS_FSL_ERRATUM_CPC_A003
631 select SYS_FSL_ERRATUM_CPU_A003999
632 select SYS_FSL_ERRATUM_DDR_A003
633 select SYS_FSL_ERRATUM_DDR_A003474
634 select SYS_FSL_ERRATUM_ELBC_A001
York Sun097e3602016-12-28 08:43:42 -0800635 select SYS_FSL_ERRATUM_ESDHC111
636 select SYS_FSL_ERRATUM_ESDHC13
637 select SYS_FSL_ERRATUM_ESDHC135
York Sunbe735532016-12-28 08:43:43 -0800638 select SYS_FSL_ERRATUM_I2C_A004447
639 select SYS_FSL_ERRATUM_NMG_CPU_A011
640 select SYS_FSL_ERRATUM_SRIO_A004034
641 select SYS_P4080_ERRATUM_CPU22
642 select SYS_P4080_ERRATUM_PCIE_A003
643 select SYS_P4080_ERRATUM_SERDES8
644 select SYS_P4080_ERRATUM_SERDES9
645 select SYS_P4080_ERRATUM_SERDES_A001
646 select SYS_P4080_ERRATUM_SERDES_A005
York Sund297d392016-12-28 08:43:40 -0800647 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800648 select SYS_FSL_HAS_SEC
York Sun0d3b8592016-12-28 08:43:49 -0800649 select SYS_FSL_QORIQ_CHASSIS1
York Sunfa4199422016-12-28 08:43:31 -0800650 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800651 select SYS_FSL_SEC_COMPAT_4
Prabhakar Kushwaha4c6be552017-02-02 15:01:48 +0530652 select FSL_ELBC
Simon Glass203b3ab2017-06-14 21:28:24 -0600653 imply CMD_SATA
Christophe Leroye538bbc2017-08-04 16:34:40 -0600654 imply CMD_REGINFO
Tuomas Tynkkynen104a5372017-12-08 15:36:14 +0200655 imply SATA_SIL
York Sun84be8a92016-11-18 11:24:40 -0800656
York Suna3c5b662016-11-18 11:39:36 -0800657config ARCH_P5040
658 bool
York Sunaf5495a2016-12-28 08:43:27 -0800659 select E500MC
York Sune7a6eaf2016-12-02 10:44:34 -0800660 select FSL_LAW
York Sun4e577972016-12-28 08:43:46 -0800661 select SYS_FSL_DDR_VER_44
York Sunbe735532016-12-28 08:43:43 -0800662 select SYS_FSL_ERRATUM_A004510
663 select SYS_FSL_ERRATUM_A004699
Chris Packham434f0582018-10-04 20:03:53 +1300664 select SYS_FSL_ERRATUM_A005275
York Sunbe735532016-12-28 08:43:43 -0800665 select SYS_FSL_ERRATUM_A005812
666 select SYS_FSL_ERRATUM_A006261
667 select SYS_FSL_ERRATUM_DDR_A003
668 select SYS_FSL_ERRATUM_DDR_A003474
York Sun097e3602016-12-28 08:43:42 -0800669 select SYS_FSL_ERRATUM_ESDHC111
York Sunbe735532016-12-28 08:43:43 -0800670 select SYS_FSL_ERRATUM_USB14
York Sund297d392016-12-28 08:43:40 -0800671 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800672 select SYS_FSL_HAS_SEC
York Sun0d3b8592016-12-28 08:43:49 -0800673 select SYS_FSL_QORIQ_CHASSIS1
York Sunfa4199422016-12-28 08:43:31 -0800674 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800675 select SYS_FSL_SEC_COMPAT_4
York Sun7eafac12016-12-28 08:43:50 -0800676 select SYS_PPC64
Prabhakar Kushwaha4c6be552017-02-02 15:01:48 +0530677 select FSL_ELBC
Simon Glass203b3ab2017-06-14 21:28:24 -0600678 imply CMD_SATA
Christophe Leroye538bbc2017-08-04 16:34:40 -0600679 imply CMD_REGINFO
Tuomas Tynkkynen8df5dd32017-12-08 15:36:17 +0200680 imply FSL_SATA
York Suna3c5b662016-11-18 11:39:36 -0800681
York Sun51e91e82016-11-18 12:29:51 -0800682config ARCH_QEMU_E500
683 bool
684
York Sun7d29dd62016-11-18 13:01:34 -0800685config ARCH_T1024
686 bool
York Sunaf5495a2016-12-28 08:43:27 -0800687 select E500MC
York Sune7a6eaf2016-12-02 10:44:34 -0800688 select FSL_LAW
York Sun4e577972016-12-28 08:43:46 -0800689 select SYS_FSL_DDR_VER_50
York Sunbe735532016-12-28 08:43:43 -0800690 select SYS_FSL_ERRATUM_A008378
Jaiprakash Singhe230a922020-06-02 12:44:02 +0530691 select SYS_FSL_ERRATUM_A008109
York Sunbe735532016-12-28 08:43:43 -0800692 select SYS_FSL_ERRATUM_A009663
693 select SYS_FSL_ERRATUM_A009942
York Sun097e3602016-12-28 08:43:42 -0800694 select SYS_FSL_ERRATUM_ESDHC111
York Sund297d392016-12-28 08:43:40 -0800695 select SYS_FSL_HAS_DDR3
696 select SYS_FSL_HAS_DDR4
York Sun92c36e22016-12-28 08:43:30 -0800697 select SYS_FSL_HAS_SEC
York Sun0d3b8592016-12-28 08:43:49 -0800698 select SYS_FSL_QORIQ_CHASSIS2
York Sunfa4199422016-12-28 08:43:31 -0800699 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800700 select SYS_FSL_SEC_COMPAT_5
Prabhakar Kushwahab0f8bae2017-02-02 15:01:13 +0530701 select FSL_IFC
Simon Glass4590d4e2017-05-17 03:25:10 -0600702 imply CMD_EEPROM
Tom Rini00448d22017-07-28 21:31:42 -0400703 imply CMD_NAND
Tom Rinic20bb732017-07-22 18:36:16 -0400704 imply CMD_MTDPARTS
Christophe Leroye538bbc2017-08-04 16:34:40 -0600705 imply CMD_REGINFO
York Sun7d29dd62016-11-18 13:01:34 -0800706
York Suna5b5d882016-11-18 13:11:12 -0800707config ARCH_T1040
708 bool
York Sunaf5495a2016-12-28 08:43:27 -0800709 select E500MC
York Sune7a6eaf2016-12-02 10:44:34 -0800710 select FSL_LAW
York Sun4e577972016-12-28 08:43:46 -0800711 select SYS_FSL_DDR_VER_50
York Sunbe735532016-12-28 08:43:43 -0800712 select SYS_FSL_ERRATUM_A008044
713 select SYS_FSL_ERRATUM_A008378
Joakim Tjernlund477602c2019-11-20 17:07:34 +0100714 select SYS_FSL_ERRATUM_A008109
York Sunbe735532016-12-28 08:43:43 -0800715 select SYS_FSL_ERRATUM_A009663
716 select SYS_FSL_ERRATUM_A009942
York Sun097e3602016-12-28 08:43:42 -0800717 select SYS_FSL_ERRATUM_ESDHC111
York Sund297d392016-12-28 08:43:40 -0800718 select SYS_FSL_HAS_DDR3
719 select SYS_FSL_HAS_DDR4
York Sun92c36e22016-12-28 08:43:30 -0800720 select SYS_FSL_HAS_SEC
York Sun0d3b8592016-12-28 08:43:49 -0800721 select SYS_FSL_QORIQ_CHASSIS2
York Sunfa4199422016-12-28 08:43:31 -0800722 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800723 select SYS_FSL_SEC_COMPAT_5
Prabhakar Kushwahab0f8bae2017-02-02 15:01:13 +0530724 select FSL_IFC
Tom Rinic20bb732017-07-22 18:36:16 -0400725 imply CMD_MTDPARTS
Tom Rini00448d22017-07-28 21:31:42 -0400726 imply CMD_NAND
Christophe Leroye538bbc2017-08-04 16:34:40 -0600727 imply CMD_REGINFO
York Suna5b5d882016-11-18 13:11:12 -0800728
York Sun2d7b2d42016-11-18 13:36:39 -0800729config ARCH_T1042
730 bool
York Sunaf5495a2016-12-28 08:43:27 -0800731 select E500MC
York Sune7a6eaf2016-12-02 10:44:34 -0800732 select FSL_LAW
York Sun4e577972016-12-28 08:43:46 -0800733 select SYS_FSL_DDR_VER_50
York Sunbe735532016-12-28 08:43:43 -0800734 select SYS_FSL_ERRATUM_A008044
735 select SYS_FSL_ERRATUM_A008378
Joakim Tjernlund477602c2019-11-20 17:07:34 +0100736 select SYS_FSL_ERRATUM_A008109
York Sunbe735532016-12-28 08:43:43 -0800737 select SYS_FSL_ERRATUM_A009663
738 select SYS_FSL_ERRATUM_A009942
York Sun097e3602016-12-28 08:43:42 -0800739 select SYS_FSL_ERRATUM_ESDHC111
York Sund297d392016-12-28 08:43:40 -0800740 select SYS_FSL_HAS_DDR3
741 select SYS_FSL_HAS_DDR4
York Sun92c36e22016-12-28 08:43:30 -0800742 select SYS_FSL_HAS_SEC
York Sun0d3b8592016-12-28 08:43:49 -0800743 select SYS_FSL_QORIQ_CHASSIS2
York Sunfa4199422016-12-28 08:43:31 -0800744 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800745 select SYS_FSL_SEC_COMPAT_5
Prabhakar Kushwahab0f8bae2017-02-02 15:01:13 +0530746 select FSL_IFC
Tom Rinic20bb732017-07-22 18:36:16 -0400747 imply CMD_MTDPARTS
Tom Rini00448d22017-07-28 21:31:42 -0400748 imply CMD_NAND
Christophe Leroye538bbc2017-08-04 16:34:40 -0600749 imply CMD_REGINFO
York Sun2d7b2d42016-11-18 13:36:39 -0800750
York Sune20c6852016-11-21 12:54:19 -0800751config ARCH_T2080
752 bool
York Sunaf5495a2016-12-28 08:43:27 -0800753 select E500MC
York Sunf4e8a752016-12-28 08:43:48 -0800754 select E6500
York Sune7a6eaf2016-12-02 10:44:34 -0800755 select FSL_LAW
York Sun4e577972016-12-28 08:43:46 -0800756 select SYS_FSL_DDR_VER_47
York Sunbe735532016-12-28 08:43:43 -0800757 select SYS_FSL_ERRATUM_A006379
758 select SYS_FSL_ERRATUM_A006593
759 select SYS_FSL_ERRATUM_A007186
760 select SYS_FSL_ERRATUM_A007212
Tony O'Brien8acb1272016-12-02 09:22:34 +1300761 select SYS_FSL_ERRATUM_A007815
Darwin Dingela56d6c02016-10-25 09:48:01 +1300762 select SYS_FSL_ERRATUM_A007907
Jaiprakash Singhe230a922020-06-02 12:44:02 +0530763 select SYS_FSL_ERRATUM_A008109
York Sunbe735532016-12-28 08:43:43 -0800764 select SYS_FSL_ERRATUM_A009942
York Sun097e3602016-12-28 08:43:42 -0800765 select SYS_FSL_ERRATUM_ESDHC111
Hou Zhiqiang01500f52019-05-23 11:52:44 +0800766 select FSL_PCIE_RESET
York Sund297d392016-12-28 08:43:40 -0800767 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800768 select SYS_FSL_HAS_SEC
York Sun0d3b8592016-12-28 08:43:49 -0800769 select SYS_FSL_QORIQ_CHASSIS2
York Sunfa4199422016-12-28 08:43:31 -0800770 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800771 select SYS_FSL_SEC_COMPAT_4
York Sun7eafac12016-12-28 08:43:50 -0800772 select SYS_PPC64
Prabhakar Kushwahab0f8bae2017-02-02 15:01:13 +0530773 select FSL_IFC
Peng Ma34bed5d2019-12-23 09:28:12 +0000774 imply CMD_SATA
Tom Rini00448d22017-07-28 21:31:42 -0400775 imply CMD_NAND
Christophe Leroye538bbc2017-08-04 16:34:40 -0600776 imply CMD_REGINFO
Peng Ma34bed5d2019-12-23 09:28:12 +0000777 imply FSL_SATA
York Sune20c6852016-11-21 12:54:19 -0800778
York Sunc7ea9242016-11-21 13:31:34 -0800779config ARCH_T4160
780 bool
York Sunaf5495a2016-12-28 08:43:27 -0800781 select E500MC
York Sunf4e8a752016-12-28 08:43:48 -0800782 select E6500
York Sune7a6eaf2016-12-02 10:44:34 -0800783 select FSL_LAW
York Sun4e577972016-12-28 08:43:46 -0800784 select SYS_FSL_DDR_VER_47
York Sunbe735532016-12-28 08:43:43 -0800785 select SYS_FSL_ERRATUM_A004468
786 select SYS_FSL_ERRATUM_A005871
787 select SYS_FSL_ERRATUM_A006379
788 select SYS_FSL_ERRATUM_A006593
789 select SYS_FSL_ERRATUM_A007186
790 select SYS_FSL_ERRATUM_A007798
791 select SYS_FSL_ERRATUM_A009942
York Sund297d392016-12-28 08:43:40 -0800792 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800793 select SYS_FSL_HAS_SEC
York Sun0d3b8592016-12-28 08:43:49 -0800794 select SYS_FSL_QORIQ_CHASSIS2
York Sunfa4199422016-12-28 08:43:31 -0800795 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800796 select SYS_FSL_SEC_COMPAT_4
York Sun7eafac12016-12-28 08:43:50 -0800797 select SYS_PPC64
Prabhakar Kushwahab0f8bae2017-02-02 15:01:13 +0530798 select FSL_IFC
Tom Rini00448d22017-07-28 21:31:42 -0400799 imply CMD_NAND
Christophe Leroye538bbc2017-08-04 16:34:40 -0600800 imply CMD_REGINFO
York Sunc7ea9242016-11-21 13:31:34 -0800801
York Sun0fad3262016-11-21 13:35:41 -0800802config ARCH_T4240
803 bool
York Sunaf5495a2016-12-28 08:43:27 -0800804 select E500MC
York Sunf4e8a752016-12-28 08:43:48 -0800805 select E6500
York Sune7a6eaf2016-12-02 10:44:34 -0800806 select FSL_LAW
York Sun4e577972016-12-28 08:43:46 -0800807 select SYS_FSL_DDR_VER_47
York Sunbe735532016-12-28 08:43:43 -0800808 select SYS_FSL_ERRATUM_A004468
809 select SYS_FSL_ERRATUM_A005871
810 select SYS_FSL_ERRATUM_A006261
811 select SYS_FSL_ERRATUM_A006379
812 select SYS_FSL_ERRATUM_A006593
813 select SYS_FSL_ERRATUM_A007186
814 select SYS_FSL_ERRATUM_A007798
Tony O'Brien8acb1272016-12-02 09:22:34 +1300815 select SYS_FSL_ERRATUM_A007815
Darwin Dingela56d6c02016-10-25 09:48:01 +1300816 select SYS_FSL_ERRATUM_A007907
Jaiprakash Singhe230a922020-06-02 12:44:02 +0530817 select SYS_FSL_ERRATUM_A008109
York Sunbe735532016-12-28 08:43:43 -0800818 select SYS_FSL_ERRATUM_A009942
York Sund297d392016-12-28 08:43:40 -0800819 select SYS_FSL_HAS_DDR3
York Sun92c36e22016-12-28 08:43:30 -0800820 select SYS_FSL_HAS_SEC
York Sun0d3b8592016-12-28 08:43:49 -0800821 select SYS_FSL_QORIQ_CHASSIS2
York Sunfa4199422016-12-28 08:43:31 -0800822 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -0800823 select SYS_FSL_SEC_COMPAT_4
York Sun7eafac12016-12-28 08:43:50 -0800824 select SYS_PPC64
Prabhakar Kushwahab0f8bae2017-02-02 15:01:13 +0530825 select FSL_IFC
Simon Glass203b3ab2017-06-14 21:28:24 -0600826 imply CMD_SATA
Tom Rini00448d22017-07-28 21:31:42 -0400827 imply CMD_NAND
Christophe Leroye538bbc2017-08-04 16:34:40 -0600828 imply CMD_REGINFO
Tuomas Tynkkynen8df5dd32017-12-08 15:36:17 +0200829 imply FSL_SATA
York Sune7a6eaf2016-12-02 10:44:34 -0800830
Jagdish Gediya7f2ad252018-09-03 21:35:10 +0530831config MPC85XX_HAVE_RESET_VECTOR
832 bool "Indicate reset vector at CONFIG_RESET_VECTOR_ADDRESS - 0xffc"
833 depends on MPC85xx
834
York Sunaf5495a2016-12-28 08:43:27 -0800835config BOOKE
836 bool
837 default y
838
839config E500
840 bool
841 default y
842 help
843 Enable PowerPC E500 cores, including e500v1, e500v2, e500mc
844
845config E500MC
846 bool
Simon Glassc88a09a2017-08-04 16:34:34 -0600847 imply CMD_PCI
York Sunaf5495a2016-12-28 08:43:27 -0800848 help
849 Enble PowerPC E500MC core
850
York Sunf4e8a752016-12-28 08:43:48 -0800851config E6500
852 bool
853 help
854 Enable PowerPC E6500 core
855
York Sune7a6eaf2016-12-02 10:44:34 -0800856config FSL_LAW
857 bool
858 help
859 Use Freescale common code for Local Access Window
York Sun0fad3262016-11-21 13:35:41 -0800860
Udit Agarwald2dd2f72019-11-07 16:11:39 +0000861config NXP_ESBC
862 bool "NXP_ESBC"
York Sunafa0fd32016-12-02 09:33:14 -0800863 help
864 Enable Freescale Secure Boot feature. Normally selected
865 by defconfig. If unsure, do not change.
866
York Suncbf7bf32016-11-23 12:30:40 -0800867config MAX_CPUS
868 int "Maximum number of CPUs permitted for MPC85xx"
869 default 12 if ARCH_T4240
870 default 8 if ARCH_P4080 || \
871 ARCH_T4160
872 default 4 if ARCH_B4860 || \
873 ARCH_P2041 || \
874 ARCH_P3041 || \
875 ARCH_P5040 || \
876 ARCH_T1040 || \
877 ARCH_T1042 || \
Tom Rini3ec582b2021-02-20 20:06:21 -0500878 ARCH_T2080
York Suncbf7bf32016-11-23 12:30:40 -0800879 default 2 if ARCH_B4420 || \
880 ARCH_BSC9132 || \
881 ARCH_MPC8572 || \
882 ARCH_P1020 || \
883 ARCH_P1021 || \
York Suncbf7bf32016-11-23 12:30:40 -0800884 ARCH_P1023 || \
885 ARCH_P1024 || \
886 ARCH_P1025 || \
887 ARCH_P2020 || \
York Suncbf7bf32016-11-23 12:30:40 -0800888 ARCH_T1024
889 default 1
890 help
891 Set this number to the maximum number of possible CPUs in the SoC.
892 SoCs may have multiple clusters with each cluster may have multiple
893 ports. If some ports are reserved but higher ports are used for
894 cores, count the reserved ports. This will allocate enough memory
895 in spin table to properly handle all cores.
896
York Sun7ea6f352016-12-01 13:26:06 -0800897config SYS_CCSRBAR_DEFAULT
898 hex "Default CCSRBAR address"
899 default 0xff700000 if ARCH_BSC9131 || \
900 ARCH_BSC9132 || \
901 ARCH_C29X || \
902 ARCH_MPC8536 || \
903 ARCH_MPC8540 || \
York Sun7ea6f352016-12-01 13:26:06 -0800904 ARCH_MPC8544 || \
905 ARCH_MPC8548 || \
York Sun7ea6f352016-12-01 13:26:06 -0800906 ARCH_MPC8560 || \
907 ARCH_MPC8568 || \
York Sun7ea6f352016-12-01 13:26:06 -0800908 ARCH_MPC8572 || \
909 ARCH_P1010 || \
910 ARCH_P1011 || \
911 ARCH_P1020 || \
912 ARCH_P1021 || \
York Sun7ea6f352016-12-01 13:26:06 -0800913 ARCH_P1024 || \
914 ARCH_P1025 || \
915 ARCH_P2020
916 default 0xff600000 if ARCH_P1023
917 default 0xfe000000 if ARCH_B4420 || \
918 ARCH_B4860 || \
919 ARCH_P2041 || \
920 ARCH_P3041 || \
921 ARCH_P4080 || \
York Sun7ea6f352016-12-01 13:26:06 -0800922 ARCH_P5040 || \
York Sun7ea6f352016-12-01 13:26:06 -0800923 ARCH_T1024 || \
924 ARCH_T1040 || \
925 ARCH_T1042 || \
926 ARCH_T2080 || \
York Sun7ea6f352016-12-01 13:26:06 -0800927 ARCH_T4160 || \
928 ARCH_T4240
929 default 0xe0000000 if ARCH_QEMU_E500
930 help
931 Default value of CCSRBAR comes from power-on-reset. It
932 is fixed on each SoC. Some SoCs can have different value
933 if changed by pre-boot regime. The value here must match
934 the current value in SoC. If not sure, do not change.
935
York Sunbe735532016-12-28 08:43:43 -0800936config SYS_FSL_ERRATUM_A004468
937 bool
938
939config SYS_FSL_ERRATUM_A004477
940 bool
941
942config SYS_FSL_ERRATUM_A004508
943 bool
944
945config SYS_FSL_ERRATUM_A004580
946 bool
947
948config SYS_FSL_ERRATUM_A004699
949 bool
950
951config SYS_FSL_ERRATUM_A004849
952 bool
953
954config SYS_FSL_ERRATUM_A004510
955 bool
956
957config SYS_FSL_ERRATUM_A004510_SVR_REV
958 hex
959 depends on SYS_FSL_ERRATUM_A004510
960 default 0x20 if ARCH_P4080
961 default 0x10
962
963config SYS_FSL_ERRATUM_A004510_SVR_REV2
964 hex
965 depends on (SYS_FSL_ERRATUM_A004510 && (ARCH_P2041 || ARCH_P3041))
966 default 0x11
967
968config SYS_FSL_ERRATUM_A005125
969 bool
970
971config SYS_FSL_ERRATUM_A005434
972 bool
973
974config SYS_FSL_ERRATUM_A005812
975 bool
976
977config SYS_FSL_ERRATUM_A005871
978 bool
979
Chris Packham434f0582018-10-04 20:03:53 +1300980config SYS_FSL_ERRATUM_A005275
981 bool
982
York Sunbe735532016-12-28 08:43:43 -0800983config SYS_FSL_ERRATUM_A006261
984 bool
985
986config SYS_FSL_ERRATUM_A006379
987 bool
988
989config SYS_FSL_ERRATUM_A006384
990 bool
991
992config SYS_FSL_ERRATUM_A006475
993 bool
994
995config SYS_FSL_ERRATUM_A006593
996 bool
997
998config SYS_FSL_ERRATUM_A007075
999 bool
1000
1001config SYS_FSL_ERRATUM_A007186
1002 bool
1003
1004config SYS_FSL_ERRATUM_A007212
1005 bool
1006
Tony O'Brien8acb1272016-12-02 09:22:34 +13001007config SYS_FSL_ERRATUM_A007815
1008 bool
1009
York Sunbe735532016-12-28 08:43:43 -08001010config SYS_FSL_ERRATUM_A007798
1011 bool
1012
Darwin Dingela56d6c02016-10-25 09:48:01 +13001013config SYS_FSL_ERRATUM_A007907
1014 bool
1015
York Sunbe735532016-12-28 08:43:43 -08001016config SYS_FSL_ERRATUM_A008044
1017 bool
1018
1019config SYS_FSL_ERRATUM_CPC_A002
1020 bool
1021
1022config SYS_FSL_ERRATUM_CPC_A003
1023 bool
1024
1025config SYS_FSL_ERRATUM_CPU_A003999
1026 bool
1027
1028config SYS_FSL_ERRATUM_ELBC_A001
1029 bool
1030
1031config SYS_FSL_ERRATUM_I2C_A004447
1032 bool
1033
1034config SYS_FSL_A004447_SVR_REV
1035 hex
1036 depends on SYS_FSL_ERRATUM_I2C_A004447
1037 default 0x00 if ARCH_MPC8548
1038 default 0x10 if ARCH_P1010
1039 default 0x11 if ARCH_P1023 || ARCH_P2041 || ARCH_BSC9132
Tom Rini30900822021-02-20 20:06:30 -05001040 default 0x20 if ARCH_P3041 || ARCH_P4080
York Sunbe735532016-12-28 08:43:43 -08001041
1042config SYS_FSL_ERRATUM_IFC_A002769
1043 bool
1044
1045config SYS_FSL_ERRATUM_IFC_A003399
1046 bool
1047
1048config SYS_FSL_ERRATUM_NMG_CPU_A011
1049 bool
1050
1051config SYS_FSL_ERRATUM_NMG_ETSEC129
1052 bool
1053
1054config SYS_FSL_ERRATUM_NMG_LBC103
1055 bool
1056
1057config SYS_FSL_ERRATUM_P1010_A003549
1058 bool
1059
1060config SYS_FSL_ERRATUM_SATA_A001
1061 bool
1062
1063config SYS_FSL_ERRATUM_SEC_A003571
1064 bool
1065
1066config SYS_FSL_ERRATUM_SRIO_A004034
1067 bool
1068
1069config SYS_FSL_ERRATUM_USB14
1070 bool
1071
1072config SYS_P4080_ERRATUM_CPU22
1073 bool
1074
1075config SYS_P4080_ERRATUM_PCIE_A003
1076 bool
1077
1078config SYS_P4080_ERRATUM_SERDES8
1079 bool
1080
1081config SYS_P4080_ERRATUM_SERDES9
1082 bool
1083
1084config SYS_P4080_ERRATUM_SERDES_A001
1085 bool
1086
1087config SYS_P4080_ERRATUM_SERDES_A005
1088 bool
1089
Hou Zhiqiangdeb47f52019-05-22 22:46:03 +08001090config FSL_PCIE_DISABLE_ASPM
1091 bool
1092
Hou Zhiqiang01500f52019-05-23 11:52:44 +08001093config FSL_PCIE_RESET
1094 bool
1095
York Sun0d3b8592016-12-28 08:43:49 -08001096config SYS_FSL_QORIQ_CHASSIS1
1097 bool
1098
1099config SYS_FSL_QORIQ_CHASSIS2
1100 bool
1101
York Sun091e5e52016-12-01 14:05:02 -08001102config SYS_FSL_NUM_LAWS
1103 int "Number of local access windows"
1104 depends on FSL_LAW
1105 default 32 if ARCH_B4420 || \
1106 ARCH_B4860 || \
1107 ARCH_P2041 || \
1108 ARCH_P3041 || \
1109 ARCH_P4080 || \
York Sun091e5e52016-12-01 14:05:02 -08001110 ARCH_P5040 || \
1111 ARCH_T2080 || \
York Sun091e5e52016-12-01 14:05:02 -08001112 ARCH_T4160 || \
1113 ARCH_T4240
Tom Rinib4e60262021-05-14 21:34:22 -04001114 default 16 if ARCH_T1024 || \
York Sun091e5e52016-12-01 14:05:02 -08001115 ARCH_T1040 || \
1116 ARCH_T1042
1117 default 12 if ARCH_BSC9131 || \
1118 ARCH_BSC9132 || \
1119 ARCH_C29X || \
1120 ARCH_MPC8536 || \
1121 ARCH_MPC8572 || \
1122 ARCH_P1010 || \
1123 ARCH_P1011 || \
1124 ARCH_P1020 || \
1125 ARCH_P1021 || \
York Sun091e5e52016-12-01 14:05:02 -08001126 ARCH_P1023 || \
1127 ARCH_P1024 || \
1128 ARCH_P1025 || \
1129 ARCH_P2020
1130 default 10 if ARCH_MPC8544 || \
1131 ARCH_MPC8548 || \
Tom Rini12084d22021-02-20 20:06:29 -05001132 ARCH_MPC8568
York Sun091e5e52016-12-01 14:05:02 -08001133 default 8 if ARCH_MPC8540 || \
York Sun091e5e52016-12-01 14:05:02 -08001134 ARCH_MPC8560
1135 help
1136 Number of local access windows. This is fixed per SoC.
1137 If not sure, do not change.
1138
York Sunf4e8a752016-12-28 08:43:48 -08001139config SYS_FSL_THREADS_PER_CORE
1140 int
1141 default 2 if E6500
1142 default 1
1143
York Sun14e098d2016-12-28 08:43:28 -08001144config SYS_NUM_TLBCAMS
1145 int "Number of TLB CAM entries"
1146 default 64 if E500MC
1147 default 16
1148 help
1149 Number of TLB CAM entries for Book-E chips. 64 for E500MC,
1150 16 for other E500 SoCs.
1151
York Sun7eafac12016-12-28 08:43:50 -08001152config SYS_PPC64
1153 bool
1154
York Sun85ab6f02016-12-28 08:43:29 -08001155config SYS_PPC_E500_USE_DEBUG_TLB
1156 bool
1157
Prabhakar Kushwahab0f8bae2017-02-02 15:01:13 +05301158config FSL_IFC
1159 bool
1160
Prabhakar Kushwaha4c6be552017-02-02 15:01:48 +05301161config FSL_ELBC
1162 bool
1163
York Sun85ab6f02016-12-28 08:43:29 -08001164config SYS_PPC_E500_DEBUG_TLB
1165 int "Temporary TLB entry for external debugger"
1166 depends on SYS_PPC_E500_USE_DEBUG_TLB
1167 default 0 if ARCH_MPC8544 || ARCH_MPC8548
1168 default 1 if ARCH_MPC8536
1169 default 2 if ARCH_MPC8572 || \
1170 ARCH_P1011 || \
1171 ARCH_P1020 || \
1172 ARCH_P1021 || \
York Sun85ab6f02016-12-28 08:43:29 -08001173 ARCH_P1024 || \
1174 ARCH_P1025 || \
1175 ARCH_P2020
1176 default 3 if ARCH_P1010 || \
1177 ARCH_BSC9132 || \
1178 ARCH_C29X
1179 help
1180 Select a temporary TLB entry to be used during boot to work
1181 around limitations in e500v1 and e500v2 external debugger
1182 support. This reduces the portions of the boot code where
1183 breakpoints and single stepping do not work. The value of this
1184 symbol should be set to the TLB1 entry to be used for this
1185 purpose. If unsure, do not change.
1186
Prabhakar Kushwaha3c48f582017-02-02 15:01:26 +05301187config SYS_FSL_IFC_CLK_DIV
1188 int "Divider of platform clock"
1189 depends on FSL_IFC
1190 default 2 if ARCH_B4420 || \
1191 ARCH_B4860 || \
1192 ARCH_T1024 || \
Prabhakar Kushwaha3c48f582017-02-02 15:01:26 +05301193 ARCH_T1040 || \
1194 ARCH_T1042 || \
1195 ARCH_T4160 || \
1196 ARCH_T4240
1197 default 1
1198 help
1199 Defines divider of platform clock(clock input to
1200 IFC controller).
1201
Prabhakar Kushwahabedc5622017-02-02 15:02:00 +05301202config SYS_FSL_LBC_CLK_DIV
1203 int "Divider of platform clock"
1204 depends on FSL_ELBC || ARCH_MPC8540 || \
Tom Rini7707c552021-05-14 21:34:20 -04001205 ARCH_MPC8548 || \
Tom Rini0b730a02021-05-14 21:34:21 -04001206 ARCH_MPC8560 || \
Prabhakar Kushwahabedc5622017-02-02 15:02:00 +05301207 ARCH_MPC8568
1208
1209 default 2 if ARCH_P2041 || \
1210 ARCH_P3041 || \
1211 ARCH_P4080 || \
Prabhakar Kushwahabedc5622017-02-02 15:02:00 +05301212 ARCH_P5040
1213 default 1
1214
1215 help
1216 Defines divider of platform clock(clock input to
1217 eLBC controller).
1218
Rajesh Bhagat6d072982021-02-15 09:46:14 +01001219config FSL_VIA
1220 bool
1221
Bin Meng2076d992021-02-25 17:22:58 +08001222source "board/emulation/qemu-ppce500/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001223source "board/freescale/corenet_ds/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001224source "board/freescale/mpc8548cds/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001225source "board/freescale/mpc8568mds/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001226source "board/freescale/p1010rdb/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001227source "board/freescale/p1_p2_rdb_pc/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001228source "board/freescale/p2041rdb/Kconfig"
Shengzhou Liu49912402014-11-24 17:11:56 +08001229source "board/freescale/t102xrdb/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001230source "board/freescale/t104xrdb/Kconfig"
1231source "board/freescale/t208xqds/Kconfig"
1232source "board/freescale/t208xrdb/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001233source "board/freescale/t4rdb/Kconfig"
Pascal Linder305329f2019-06-18 13:27:47 +02001234source "board/keymile/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001235source "board/socrates/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001236source "board/xes/xpedite520x/Kconfig"
1237source "board/xes/xpedite537x/Kconfig"
1238source "board/xes/xpedite550x/Kconfig"
Oleksandr G Zhadan19ac6882015-04-29 16:57:39 -04001239source "board/Arcturus/ucp1020/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001240
1241endmenu