blob: 5fb4228076e0560591077b9e75e7ad83ef26fb33 [file] [log] [blame]
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001menu "mpc83xx CPU"
2 depends on MPC83xx
3
4config SYS_CPU
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09005 default "mpc83xx"
6
7choice
8 prompt "Target select"
Joe Hershbergerf0699602015-05-12 14:46:23 -05009 optional
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090010
11config TARGET_MPC8308_P1M
12 bool "Support mpc8308_p1m"
Mario Sixb2e701c2019-01-21 09:17:24 +010013 select ARCH_MPC8308
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090014
15config TARGET_SBC8349
16 bool "Support sbc8349"
Mario Six0344f5e2019-01-21 09:17:27 +010017 select ARCH_MPC8349
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090018
19config TARGET_VE8313
20 bool "Support ve8313"
Mario Six9164bdd2019-01-21 09:17:25 +010021 select ARCH_MPC8313
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090022
23config TARGET_VME8349
24 bool "Support vme8349"
Mario Six0344f5e2019-01-21 09:17:27 +010025 select ARCH_MPC8349
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090026
Mario Sixa83f5492019-01-21 09:17:38 +010027config TARGET_CADDY2
28 bool "Support caddy2"
29 select ARCH_MPC8349
30
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090031config TARGET_MPC8308RDB
32 bool "Support MPC8308RDB"
Mario Sixb2e701c2019-01-21 09:17:24 +010033 select ARCH_MPC8308
York Sun097e3602016-12-28 08:43:42 -080034 select SYS_FSL_ERRATUM_ESDHC111
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090035
Mario Six7299dec2019-01-21 09:17:36 +010036config TARGET_MPC8313ERDB_NOR
37 bool "Support MPC8313ERDB_NOR"
38 select ARCH_MPC8313
39 select BOARD_EARLY_INIT_F
40 select SUPPORT_SPL
41
42config TARGET_MPC8313ERDB_NAND
43 bool "Support MPC8313ERDB_NAND"
Mario Six9164bdd2019-01-21 09:17:25 +010044 select ARCH_MPC8313
Simon Glass7a99a872017-01-23 13:31:20 -070045 select BOARD_EARLY_INIT_F
Michal Simek84f3dec2018-07-23 15:55:13 +020046 select SUPPORT_SPL
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090047
48config TARGET_MPC8315ERDB
49 bool "Support MPC8315ERDB"
Mario Six9164bdd2019-01-21 09:17:25 +010050 select ARCH_MPC8315
Simon Glass7a99a872017-01-23 13:31:20 -070051 select BOARD_EARLY_INIT_F
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090052
53config TARGET_MPC8323ERDB
54 bool "Support MPC8323ERDB"
Mario Sixbe07e552019-01-21 09:17:26 +010055 select ARCH_MPC832X
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090056
57config TARGET_MPC832XEMDS
58 bool "Support MPC832XEMDS"
Mario Sixbe07e552019-01-21 09:17:26 +010059 select ARCH_MPC832X
Simon Glass7a99a872017-01-23 13:31:20 -070060 select BOARD_EARLY_INIT_F
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090061
62config TARGET_MPC8349EMDS
63 bool "Support MPC8349EMDS"
Mario Six0344f5e2019-01-21 09:17:27 +010064 select ARCH_MPC8349
Michal Simek84f3dec2018-07-23 15:55:13 +020065 select BOARD_EARLY_INIT_F
York Sund297d392016-12-28 08:43:40 -080066 select SYS_FSL_DDR
York Sund297d392016-12-28 08:43:40 -080067 select SYS_FSL_DDR_BE
Michal Simek84f3dec2018-07-23 15:55:13 +020068 select SYS_FSL_HAS_DDR2
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090069
Mario Sixde017e12019-01-21 09:17:40 +010070config TARGET_MPC8349EMDS_SDRAM
71 bool "Support MPC8349EMDS_SDRAM"
72 select ARCH_MPC8349
73 select BOARD_EARLY_INIT_F
74 select SYS_FSL_DDR
75 select SYS_FSL_DDR_BE
76 select SYS_FSL_HAS_DDR2
77
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090078config TARGET_MPC8349ITX
79 bool "Support MPC8349ITX"
Mario Six0344f5e2019-01-21 09:17:27 +010080 select ARCH_MPC8349
Simon Glass4c3a6202017-05-17 03:25:39 -060081 imply CMD_IRQ
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090082
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090083config TARGET_MPC837XEMDS
84 bool "Support MPC837XEMDS"
Mario Six60b11232019-01-21 09:17:29 +010085 select ARCH_MPC837X
Simon Glass7a99a872017-01-23 13:31:20 -070086 select BOARD_EARLY_INIT_F
Simon Glass203b3ab2017-06-14 21:28:24 -060087 imply CMD_SATA
Tuomas Tynkkynen8df5dd32017-12-08 15:36:17 +020088 imply FSL_SATA
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090089
90config TARGET_MPC837XERDB
91 bool "Support MPC837XERDB"
Mario Six60b11232019-01-21 09:17:29 +010092 select ARCH_MPC837X
Simon Glass7a99a872017-01-23 13:31:20 -070093 select BOARD_EARLY_INIT_F
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090094
95config TARGET_IDS8313
96 bool "Support ids8313"
Mario Six9164bdd2019-01-21 09:17:25 +010097 select ARCH_MPC8313
Masahiro Yamada51995c22015-03-31 12:48:03 +090098 select DM
Michal Simek2e7c8192018-07-23 15:55:14 +020099 imply CMD_DM
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900100
Mario Six92e20d92019-01-21 09:17:35 +0100101config TARGET_KMETER1
102 bool "Support kmeter1"
103 select ARCH_MPC8360
104 imply CMD_CRAMFS
105 imply CMD_DIAG
106 imply FS_CRAMFS
107
108config TARGET_KMCOGE5NE
109 bool "Support kmcoge5ne"
Mario Six84eb4312019-01-21 09:17:28 +0100110 select ARCH_MPC8360
Simon Glass519805e2017-04-26 22:28:03 -0600111 imply CMD_CRAMFS
Simon Glass20ea5632017-04-26 22:28:08 -0600112 imply CMD_DIAG
Simon Glass690f5092017-04-26 22:28:04 -0600113 imply FS_CRAMFS
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900114
115config TARGET_SUVD3
116 bool "Support suvd3"
Mario Six5590b152019-01-21 09:17:30 +0100117 select ARCH_MPC832X
118 imply CMD_CRAMFS
119 imply FS_CRAMFS
120
121config TARGET_KMVECT1
122 bool "Support kmvect1"
123 select ARCH_MPC8309
124 imply CMD_CRAMFS
125 imply FS_CRAMFS
126
127config TARGET_KMTEGR1
128 bool "Support kmtegr1"
129 select ARCH_MPC8309
Simon Glass519805e2017-04-26 22:28:03 -0600130 imply CMD_CRAMFS
Simon Glass690f5092017-04-26 22:28:04 -0600131 imply FS_CRAMFS
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900132
133config TARGET_TUXX1
134 bool "Support tuxx1"
Mario Sixbe07e552019-01-21 09:17:26 +0100135 select ARCH_MPC832X
Simon Glass519805e2017-04-26 22:28:03 -0600136 imply CMD_CRAMFS
Simon Glass690f5092017-04-26 22:28:04 -0600137 imply FS_CRAMFS
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900138
Mario Six190ab402019-01-21 09:17:33 +0100139config TARGET_KMSUPX5
140 bool "Support kmsupx5"
141 select ARCH_MPC832X
142 imply CMD_CRAMFS
143 imply FS_CRAMFS
144
145config TARGET_TUGE1
146 bool "Support tuge1"
147 select ARCH_MPC832X
148 imply CMD_CRAMFS
149 imply FS_CRAMFS
150
151config TARGET_KMOPTI2
152 bool "Support kmopti2"
153 select ARCH_MPC832X
154 imply CMD_CRAMFS
155 imply FS_CRAMFS
156
157config TARGET_KMTEPR2
158 bool "Support kmtepr2"
159 select ARCH_MPC832X
160 imply CMD_CRAMFS
161 imply FS_CRAMFS
162
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900163config TARGET_TQM834X
164 bool "Support TQM834x"
Mario Six0344f5e2019-01-21 09:17:27 +0100165 select ARCH_MPC8349
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900166
Dirk Eibachf74a0272014-11-13 19:21:18 +0100167config TARGET_HRCON
168 bool "Support hrcon"
Mario Sixb2e701c2019-01-21 09:17:24 +0100169 select ARCH_MPC8308
York Sun097e3602016-12-28 08:43:42 -0800170 select SYS_FSL_ERRATUM_ESDHC111
Dirk Eibachf74a0272014-11-13 19:21:18 +0100171
Dirk Eibachb355f172015-10-28 11:46:32 +0100172config TARGET_STRIDER
173 bool "Support strider"
Mario Sixb2e701c2019-01-21 09:17:24 +0100174 select ARCH_MPC8308
York Sun097e3602016-12-28 08:43:42 -0800175 select SYS_FSL_ERRATUM_ESDHC111
Simon Glassa9e7f2c2017-08-04 16:34:32 -0600176 imply CMD_PCA953X
Dirk Eibachb355f172015-10-28 11:46:32 +0100177
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900178endchoice
179
Mario Six94867102019-01-21 09:17:54 +0100180config MPC83XX_QUICC_ENGINE
181 bool
182
183# TODO: Imply MPC83xx PCI driver
184config MPC83XX_PCI_SUPPORT
185 bool
186
187# TODO: Imply TSEC driver
188config MPC83XX_TSEC1_SUPPORT
189 bool
190
191config MPC83XX_TSEC2_SUPPORT
192 bool
193
194config MPC83XX_PCIE1_SUPPORT
195 bool
196
197config MPC83XX_PCIE2_SUPPORT
198 bool
199
200config MPC83XX_SDHC_SUPPORT
201 bool
202
203config MPC83XX_SATA_SUPPORT
204 bool
205
206config MPC83XX_SECOND_I2C_SUPPORT
207 bool
208
209config MPC83XX_LDP_PIN
210 bool
211
Mario Sixb2e701c2019-01-21 09:17:24 +0100212config ARCH_MPC830X
213 bool
Mario Six94867102019-01-21 09:17:54 +0100214 select MPC83XX_SDHC_SUPPORT
Mario Sixb2e701c2019-01-21 09:17:24 +0100215
216config ARCH_MPC8308
217 bool
218 select ARCH_MPC830X
Mario Six94867102019-01-21 09:17:54 +0100219 select MPC83XX_TSEC1_SUPPORT
220 select MPC83XX_TSEC2_SUPPORT
221 select MPC83XX_PCIE1_SUPPORT
222 select MPC83XX_SECOND_I2C_SUPPORT
Mario Sixb2e701c2019-01-21 09:17:24 +0100223
224config ARCH_MPC8309
225 bool
226 select ARCH_MPC830X
Mario Six94867102019-01-21 09:17:54 +0100227 select MPC83XX_QUICC_ENGINE
228 select MPC83XX_PCI_SUPPORT
229 select MPC83XX_SECOND_I2C_SUPPORT
Mario Sixb2e701c2019-01-21 09:17:24 +0100230
Mario Six9164bdd2019-01-21 09:17:25 +0100231config ARCH_MPC831X
232 bool
Mario Six94867102019-01-21 09:17:54 +0100233 select MPC83XX_PCI_SUPPORT
234 select MPC83XX_TSEC1_SUPPORT
235 select MPC83XX_TSEC2_SUPPORT
Mario Six9164bdd2019-01-21 09:17:25 +0100236
237config ARCH_MPC8313
238 bool
239 select ARCH_MPC831X
Mario Six94867102019-01-21 09:17:54 +0100240 select MPC83XX_SECOND_I2C_SUPPORT
Mario Six9164bdd2019-01-21 09:17:25 +0100241
242config ARCH_MPC8315
243 bool
244 select ARCH_MPC831X
Mario Six94867102019-01-21 09:17:54 +0100245 select MPC83XX_PCIE1_SUPPORT
246 select MPC83XX_PCIE2_SUPPORT
247 select MPC83XX_SATA_SUPPORT
Mario Six9164bdd2019-01-21 09:17:25 +0100248
Mario Sixbe07e552019-01-21 09:17:26 +0100249config ARCH_MPC832X
250 bool
Mario Six94867102019-01-21 09:17:54 +0100251 select MPC83XX_QUICC_ENGINE
252 select MPC83XX_PCI_SUPPORT
Mario Sixbe07e552019-01-21 09:17:26 +0100253
Mario Six0344f5e2019-01-21 09:17:27 +0100254config ARCH_MPC834X
255 bool
256
257config ARCH_MPC8349
258 bool
259 select ARCH_MPC834X
Mario Six94867102019-01-21 09:17:54 +0100260 select MPC83XX_PCI_SUPPORT
261 select MPC83XX_TSEC1_SUPPORT
262 select MPC83XX_TSEC2_SUPPORT
263 select MPC83XX_LDP_PIN
264 select MPC83XX_SECOND_I2C_SUPPORT
Mario Six0344f5e2019-01-21 09:17:27 +0100265
Mario Six84eb4312019-01-21 09:17:28 +0100266config ARCH_MPC8360
267 bool
Mario Six94867102019-01-21 09:17:54 +0100268 select MPC83XX_QUICC_ENGINE
269 select MPC83XX_PCI_SUPPORT
270 select MPC83XX_LDP_PIN
271 select MPC83XX_SECOND_I2C_SUPPORT
Mario Six84eb4312019-01-21 09:17:28 +0100272
Mario Six60b11232019-01-21 09:17:29 +0100273config ARCH_MPC837X
274 bool
Mario Six94867102019-01-21 09:17:54 +0100275 select MPC83XX_PCI_SUPPORT
276 select MPC83XX_TSEC1_SUPPORT
277 select MPC83XX_TSEC2_SUPPORT
278 select MPC83XX_PCIE1_SUPPORT
279 select MPC83XX_PCIE2_SUPPORT
280 select MPC83XX_SDHC_SUPPORT
281 select MPC83XX_SATA_SUPPORT
282 select MPC83XX_LDP_PIN
283 select MPC83XX_SECOND_I2C_SUPPORT
284
285source "arch/powerpc/cpu/mpc83xx/hrcw/Kconfig"
Mario Sixa861ea62019-01-21 09:17:57 +0100286source "arch/powerpc/cpu/mpc83xx/bats/Kconfig"
Mario Sixb47839c2019-01-21 09:17:58 +0100287source "arch/powerpc/cpu/mpc83xx/lblaw/Kconfig"
Mario Six1faf95d2019-01-21 09:18:03 +0100288source "arch/powerpc/cpu/mpc83xx/elbc/Kconfig"
Mario Six8b2141c2019-01-21 09:18:09 +0100289source "arch/powerpc/cpu/mpc83xx/hid/Kconfig"
Mario Six60b11232019-01-21 09:17:29 +0100290
Mario Six258312f2019-01-21 09:17:51 +0100291menu "Legacy options"
292
293if ARCH_MPC8349
294
295#TODO(mario.six@gdsys.cc): Remove when mpc83xx PCI has been converted to DM/DT
296choice
297 prompt "PMC slot configuration"
298
299config PCI_ALL_PCI1
300 bool "All PMC slots on PCI1"
301
302config PCI_ONE_PCI1
303 bool "First PMC1 on PCI1"
304
305config PCI_TWO_PCI1
306 bool "First two PMC1 on PCI1"
307
308endchoice
309
310config PCI_64BIT
311 bool "PMC2 is 64bit"
312
313endif
314
315endmenu
316
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900317source "board/esd/vme8349/Kconfig"
318source "board/freescale/mpc8308rdb/Kconfig"
319source "board/freescale/mpc8313erdb/Kconfig"
320source "board/freescale/mpc8315erdb/Kconfig"
321source "board/freescale/mpc8323erdb/Kconfig"
322source "board/freescale/mpc832xemds/Kconfig"
323source "board/freescale/mpc8349emds/Kconfig"
324source "board/freescale/mpc8349itx/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900325source "board/freescale/mpc837xemds/Kconfig"
326source "board/freescale/mpc837xerdb/Kconfig"
327source "board/ids/ids8313/Kconfig"
328source "board/keymile/km83xx/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900329source "board/mpc8308_p1m/Kconfig"
330source "board/sbc8349/Kconfig"
331source "board/tqc/tqm834x/Kconfig"
332source "board/ve8313/Kconfig"
Dirk Eibachf74a0272014-11-13 19:21:18 +0100333source "board/gdsys/mpc8308/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900334
335endmenu