summaryrefslogtreecommitdiff
path: root/arch/powerpc/cpu/mpc83xx/Kconfig
blob: b99288aa836aadb8e52d91af618d31f9bebdf7e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
menu "mpc83xx CPU"
	depends on MPC83xx

config SYS_CPU
	default "mpc83xx"

choice
	prompt "Target select"
	optional

config TARGET_MPC8308_P1M
	bool "Support mpc8308_p1m"
	select ARCH_MPC8308

config TARGET_SBC8349
	bool "Support sbc8349"
	select ARCH_MPC8349

config TARGET_VE8313
	bool "Support ve8313"
	select ARCH_MPC8313

config TARGET_VME8349
	bool "Support vme8349"
	select ARCH_MPC8349

config TARGET_CADDY2
	bool "Support caddy2"
	select ARCH_MPC8349

config TARGET_MPC8308RDB
	bool "Support MPC8308RDB"
	select ARCH_MPC8308
	select SYS_FSL_ERRATUM_ESDHC111

config TARGET_MPC8313ERDB_NOR
	bool "Support MPC8313ERDB_NOR"
	select ARCH_MPC8313
	select BOARD_EARLY_INIT_F
	select SUPPORT_SPL

config TARGET_MPC8313ERDB_NAND
	bool "Support MPC8313ERDB_NAND"
	select ARCH_MPC8313
	select BOARD_EARLY_INIT_F
	select SUPPORT_SPL

config TARGET_MPC8315ERDB
	bool "Support MPC8315ERDB"
	select ARCH_MPC8315
	select BOARD_EARLY_INIT_F

config TARGET_MPC8323ERDB
	bool "Support MPC8323ERDB"
	select ARCH_MPC832X

config TARGET_MPC832XEMDS
	bool "Support MPC832XEMDS"
	select ARCH_MPC832X
	select BOARD_EARLY_INIT_F

config TARGET_MPC8349EMDS
	bool "Support MPC8349EMDS"
	select ARCH_MPC8349
	select BOARD_EARLY_INIT_F
	select SYS_FSL_DDR
	select SYS_FSL_DDR_BE
	select SYS_FSL_HAS_DDR2

config TARGET_MPC8349EMDS_SDRAM
	bool "Support MPC8349EMDS_SDRAM"
	select ARCH_MPC8349
	select BOARD_EARLY_INIT_F
	select SYS_FSL_DDR
	select SYS_FSL_DDR_BE
	select SYS_FSL_HAS_DDR2

config TARGET_MPC8349ITX
	bool "Support MPC8349ITX"
	select ARCH_MPC8349
	imply CMD_IRQ

config TARGET_MPC837XEMDS
	bool "Support MPC837XEMDS"
	select ARCH_MPC837X
	select BOARD_EARLY_INIT_F
	imply CMD_SATA
	imply FSL_SATA

config TARGET_MPC837XERDB
	bool "Support MPC837XERDB"
	select ARCH_MPC837X
	select BOARD_EARLY_INIT_F

config TARGET_IDS8313
	bool "Support ids8313"
	select ARCH_MPC8313
	select DM
	imply CMD_DM

config TARGET_KMETER1
	bool "Support kmeter1"
	select ARCH_MPC8360
	imply CMD_CRAMFS
	imply CMD_DIAG
	imply FS_CRAMFS

config TARGET_KMCOGE5NE
	bool "Support kmcoge5ne"
	select ARCH_MPC8360
	imply CMD_CRAMFS
	imply CMD_DIAG
	imply FS_CRAMFS

config TARGET_SUVD3
	bool "Support suvd3"
	select ARCH_MPC832X
	imply CMD_CRAMFS
	imply FS_CRAMFS

config TARGET_KMVECT1
	bool "Support kmvect1"
	select ARCH_MPC8309
	imply CMD_CRAMFS
	imply FS_CRAMFS

config TARGET_KMTEGR1
	bool "Support kmtegr1"
	select ARCH_MPC8309
	imply CMD_CRAMFS
	imply FS_CRAMFS

config TARGET_TUXX1
	bool "Support tuxx1"
	select ARCH_MPC832X
	imply CMD_CRAMFS
	imply FS_CRAMFS

config TARGET_KMSUPX5
	bool "Support kmsupx5"
	select ARCH_MPC832X
	imply CMD_CRAMFS
	imply FS_CRAMFS

config TARGET_TUGE1
	bool "Support tuge1"
	select ARCH_MPC832X
	imply CMD_CRAMFS
	imply FS_CRAMFS

config TARGET_KMOPTI2
	bool "Support kmopti2"
	select ARCH_MPC832X
	imply CMD_CRAMFS
	imply FS_CRAMFS

config TARGET_KMTEPR2
	bool "Support kmtepr2"
	select ARCH_MPC832X
	imply CMD_CRAMFS
	imply FS_CRAMFS

config TARGET_TQM834X
	bool "Support TQM834x"
	select ARCH_MPC8349

config TARGET_HRCON
	bool "Support hrcon"
	select ARCH_MPC8308
	select SYS_FSL_ERRATUM_ESDHC111

config TARGET_STRIDER
	bool "Support strider"
	select ARCH_MPC8308
	select SYS_FSL_ERRATUM_ESDHC111
	imply CMD_PCA953X

config TARGET_GAZERBEAM
	bool "Support gazerbeam"
	select ARCH_MPC8308
	select SYS_FSL_ERRATUM_ESDHC111
	imply ENV_IS_IN_FLASH
	help
	  The "Gazerbeam" is a modular system by Guntermann & Drunck GmbH
	  Systementwicklung based on the NXP MPC8308 SoC for usage in KVM
	  appliances.

	  Features include:
	  * Two gigabit ethernet ports
	  * Multiple USB ports (depending on variant)
	  * Several gigabit ethernet or optical fiber ports (depending on
	    variant)
	  * Several display port inputs and outputs, and supporting redrivers
	    (depending on variant)
	  * Several FPGAs with custom logic (depending on variant)

endchoice

config MPC83XX_QUICC_ENGINE
	bool

# TODO: Imply MPC83xx PCI driver
config MPC83XX_PCI_SUPPORT
	bool

# TODO: Imply TSEC driver
config MPC83XX_TSEC1_SUPPORT
	bool

config MPC83XX_TSEC2_SUPPORT
	bool

config MPC83XX_PCIE1_SUPPORT
	bool

config MPC83XX_PCIE2_SUPPORT
	bool

config MPC83XX_SDHC_SUPPORT
	bool

config MPC83XX_SATA_SUPPORT
	bool

config MPC83XX_SECOND_I2C_SUPPORT
	bool

config MPC83XX_LDP_PIN
	bool

config ARCH_MPC830X
	bool
	select MPC83XX_SDHC_SUPPORT

config ARCH_MPC8308
	bool
	select ARCH_MPC830X
	select MPC83XX_TSEC1_SUPPORT
	select MPC83XX_TSEC2_SUPPORT
	select MPC83XX_PCIE1_SUPPORT
	select MPC83XX_SECOND_I2C_SUPPORT

config ARCH_MPC8309
	bool
	select ARCH_MPC830X
	select MPC83XX_QUICC_ENGINE
	select MPC83XX_PCI_SUPPORT
	select MPC83XX_SECOND_I2C_SUPPORT

config ARCH_MPC831X
	bool
	select MPC83XX_PCI_SUPPORT
	select MPC83XX_TSEC1_SUPPORT
	select MPC83XX_TSEC2_SUPPORT

config ARCH_MPC8313
	bool
	select ARCH_MPC831X
	select MPC83XX_SECOND_I2C_SUPPORT

config ARCH_MPC8315
	bool
	select ARCH_MPC831X
	select MPC83XX_PCIE1_SUPPORT
	select MPC83XX_PCIE2_SUPPORT
	select MPC83XX_SATA_SUPPORT

config ARCH_MPC832X
	bool
	select MPC83XX_QUICC_ENGINE
	select MPC83XX_PCI_SUPPORT

config ARCH_MPC834X
	bool

config ARCH_MPC8349
	bool
	select ARCH_MPC834X
	select MPC83XX_PCI_SUPPORT
	select MPC83XX_TSEC1_SUPPORT
	select MPC83XX_TSEC2_SUPPORT
	select MPC83XX_LDP_PIN
	select MPC83XX_SECOND_I2C_SUPPORT

config ARCH_MPC8360
	bool
	select MPC83XX_QUICC_ENGINE
	select MPC83XX_PCI_SUPPORT
	select MPC83XX_LDP_PIN
	select MPC83XX_SECOND_I2C_SUPPORT

config ARCH_MPC837X
	bool
	select MPC83XX_PCI_SUPPORT
	select MPC83XX_TSEC1_SUPPORT
	select MPC83XX_TSEC2_SUPPORT
	select MPC83XX_PCIE1_SUPPORT
	select MPC83XX_PCIE2_SUPPORT
	select MPC83XX_SDHC_SUPPORT
	select MPC83XX_SATA_SUPPORT
	select MPC83XX_LDP_PIN
	select MPC83XX_SECOND_I2C_SUPPORT

config SYS_IMMR
	hex "Value for IMMR"
	default 0xE0000000
	help
	  Address for the Internal Memory-Mapped Registers (IMMR) window used
	  to configure the features of the SoC.

source "arch/powerpc/cpu/mpc83xx/hrcw/Kconfig"
source "arch/powerpc/cpu/mpc83xx/bats/Kconfig"
source "arch/powerpc/cpu/mpc83xx/lblaw/Kconfig"
source "arch/powerpc/cpu/mpc83xx/elbc/Kconfig"
source "arch/powerpc/cpu/mpc83xx/hid/Kconfig"
source "arch/powerpc/cpu/mpc83xx/sysio/Kconfig"
source "arch/powerpc/cpu/mpc83xx/arbiter/Kconfig"
source "arch/powerpc/cpu/mpc83xx/initreg/Kconfig"

menu "Legacy options"

if ARCH_MPC8349

#TODO(mario.six@gdsys.cc): Remove when mpc83xx PCI has been converted to DM/DT
choice
	prompt "PMC slot configuration"

config PCI_ALL_PCI1
	bool "All PMC slots on PCI1"

config PCI_ONE_PCI1
	bool "First PMC1 on PCI1"

config PCI_TWO_PCI1
	bool "First two PMC1 on PCI1"

endchoice

config PCI_64BIT
	bool "PMC2 is 64bit"

endif

endmenu

source "board/esd/vme8349/Kconfig"
source "board/freescale/mpc8308rdb/Kconfig"
source "board/freescale/mpc8313erdb/Kconfig"
source "board/freescale/mpc8315erdb/Kconfig"
source "board/freescale/mpc8323erdb/Kconfig"
source "board/freescale/mpc832xemds/Kconfig"
source "board/freescale/mpc8349emds/Kconfig"
source "board/freescale/mpc8349itx/Kconfig"
source "board/freescale/mpc837xemds/Kconfig"
source "board/freescale/mpc837xerdb/Kconfig"
source "board/ids/ids8313/Kconfig"
source "board/keymile/km83xx/Kconfig"
source "board/mpc8308_p1m/Kconfig"
source "board/sbc8349/Kconfig"
source "board/tqc/tqm834x/Kconfig"
source "board/ve8313/Kconfig"
source "board/gdsys/mpc8308/Kconfig"

endmenu