f7826952749f5accbff94031d7066576d00ac462
[platform/kernel/u-boot.git] / arch / powerpc / cpu / mpc85xx / Kconfig
1 menu "mpc85xx CPU"
2         depends on MPC85xx
3
4 config SYS_CPU
5         default "mpc85xx"
6
7 choice
8         prompt "Target select"
9         optional
10
11 config TARGET_SBC8548
12         bool "Support sbc8548"
13         select ARCH_MPC8548
14
15 config TARGET_SOCRATES
16         bool "Support socrates"
17         select ARCH_MPC8544
18
19 config TARGET_B4420QDS
20         bool "Support B4420QDS"
21         select ARCH_B4420
22         select SUPPORT_SPL
23         select PHYS_64BIT
24
25 config TARGET_B4860QDS
26         bool "Support B4860QDS"
27         select ARCH_B4860
28         select SUPPORT_SPL
29         select PHYS_64BIT
30
31 config TARGET_BSC9131RDB
32         bool "Support BSC9131RDB"
33         select ARCH_BSC9131
34         select SUPPORT_SPL
35
36 config TARGET_BSC9132QDS
37         bool "Support BSC9132QDS"
38         select ARCH_BSC9132
39         select SUPPORT_SPL
40
41 config TARGET_C29XPCIE
42         bool "Support C29XPCIE"
43         select ARCH_C29X
44         select SUPPORT_SPL
45         select SUPPORT_TPL
46         select PHYS_64BIT
47
48 config TARGET_P3041DS
49         bool "Support P3041DS"
50         select PHYS_64BIT
51         select ARCH_P3041
52
53 config TARGET_P4080DS
54         bool "Support P4080DS"
55         select PHYS_64BIT
56         select ARCH_P4080
57
58 config TARGET_P5020DS
59         bool "Support P5020DS"
60         select PHYS_64BIT
61         select ARCH_P5020
62
63 config TARGET_P5040DS
64         bool "Support P5040DS"
65         select PHYS_64BIT
66         select ARCH_P5040
67
68 config TARGET_MPC8536DS
69         bool "Support MPC8536DS"
70         select ARCH_MPC8536
71
72 config TARGET_MPC8540ADS
73         bool "Support MPC8540ADS"
74         select ARCH_MPC8540
75
76 config TARGET_MPC8541CDS
77         bool "Support MPC8541CDS"
78         select ARCH_MPC8541
79
80 config TARGET_MPC8544DS
81         bool "Support MPC8544DS"
82         select ARCH_MPC8544
83
84 config TARGET_MPC8548CDS
85         bool "Support MPC8548CDS"
86         select ARCH_MPC8548
87
88 config TARGET_MPC8555CDS
89         bool "Support MPC8555CDS"
90         select ARCH_MPC8555
91
92 config TARGET_MPC8560ADS
93         bool "Support MPC8560ADS"
94         select ARCH_MPC8560
95
96 config TARGET_MPC8568MDS
97         bool "Support MPC8568MDS"
98         select ARCH_MPC8568
99
100 config TARGET_MPC8569MDS
101         bool "Support MPC8569MDS"
102         select ARCH_MPC8569
103
104 config TARGET_MPC8572DS
105         bool "Support MPC8572DS"
106         select ARCH_MPC8572
107
108 config TARGET_P1010RDB_PA
109         bool "Support P1010RDB_PA"
110         select ARCH_P1010
111         select SUPPORT_SPL
112         select SUPPORT_TPL
113
114 config TARGET_P1010RDB_PB
115         bool "Support P1010RDB_PB"
116         select ARCH_P1010
117         select SUPPORT_SPL
118         select SUPPORT_TPL
119
120 config TARGET_P1022DS
121         bool "Support P1022DS"
122         select ARCH_P1022
123         select SUPPORT_SPL
124         select SUPPORT_TPL
125
126 config TARGET_P1023RDB
127         bool "Support P1023RDB"
128         select ARCH_P1023
129
130 config TARGET_P1020MBG
131         bool "Support P1020MBG-PC"
132         select SUPPORT_SPL
133         select SUPPORT_TPL
134         select ARCH_P1020
135
136 config TARGET_P1020RDB_PC
137         bool "Support P1020RDB-PC"
138         select SUPPORT_SPL
139         select SUPPORT_TPL
140         select ARCH_P1020
141
142 config TARGET_P1020RDB_PD
143         bool "Support P1020RDB-PD"
144         select SUPPORT_SPL
145         select SUPPORT_TPL
146         select ARCH_P1020
147
148 config TARGET_P1020UTM
149         bool "Support P1020UTM"
150         select SUPPORT_SPL
151         select SUPPORT_TPL
152         select ARCH_P1020
153
154 config TARGET_P1021RDB
155         bool "Support P1021RDB"
156         select SUPPORT_SPL
157         select SUPPORT_TPL
158         select ARCH_P1021
159
160 config TARGET_P1024RDB
161         bool "Support P1024RDB"
162         select SUPPORT_SPL
163         select SUPPORT_TPL
164         select ARCH_P1024
165
166 config TARGET_P1025RDB
167         bool "Support P1025RDB"
168         select SUPPORT_SPL
169         select SUPPORT_TPL
170         select ARCH_P1025
171
172 config TARGET_P2020RDB
173         bool "Support P2020RDB-PC"
174         select SUPPORT_SPL
175         select SUPPORT_TPL
176         select ARCH_P2020
177
178 config TARGET_P1_TWR
179         bool "Support p1_twr"
180         select ARCH_P1025
181
182 config TARGET_P2041RDB
183         bool "Support P2041RDB"
184         select ARCH_P2041
185         select PHYS_64BIT
186
187 config TARGET_QEMU_PPCE500
188         bool "Support qemu-ppce500"
189         select ARCH_QEMU_E500
190         select PHYS_64BIT
191
192 config TARGET_T1024QDS
193         bool "Support T1024QDS"
194         select ARCH_T1024
195         select SUPPORT_SPL
196         select PHYS_64BIT
197
198 config TARGET_T1023RDB
199         bool "Support T1023RDB"
200         select ARCH_T1023
201         select SUPPORT_SPL
202         select PHYS_64BIT
203
204 config TARGET_T1024RDB
205         bool "Support T1024RDB"
206         select ARCH_T1024
207         select SUPPORT_SPL
208         select PHYS_64BIT
209
210 config TARGET_T1040QDS
211         bool "Support T1040QDS"
212         select ARCH_T1040
213         select PHYS_64BIT
214
215 config TARGET_T1040RDB
216         bool "Support T1040RDB"
217         select ARCH_T1040
218         select SUPPORT_SPL
219         select PHYS_64BIT
220
221 config TARGET_T1040D4RDB
222         bool "Support T1040D4RDB"
223         select ARCH_T1040
224         select SUPPORT_SPL
225         select PHYS_64BIT
226
227 config TARGET_T1042RDB
228         bool "Support T1042RDB"
229         select ARCH_T1042
230         select SUPPORT_SPL
231         select PHYS_64BIT
232
233 config TARGET_T1042D4RDB
234         bool "Support T1042D4RDB"
235         select ARCH_T1042
236         select SUPPORT_SPL
237         select PHYS_64BIT
238
239 config TARGET_T1042RDB_PI
240         bool "Support T1042RDB_PI"
241         select ARCH_T1042
242         select SUPPORT_SPL
243         select PHYS_64BIT
244
245 config TARGET_T2080QDS
246         bool "Support T2080QDS"
247         select ARCH_T2080
248         select SUPPORT_SPL
249         select PHYS_64BIT
250
251 config TARGET_T2080RDB
252         bool "Support T2080RDB"
253         select ARCH_T2080
254         select SUPPORT_SPL
255         select PHYS_64BIT
256
257 config TARGET_T2081QDS
258         bool "Support T2081QDS"
259         select ARCH_T2081
260         select SUPPORT_SPL
261         select PHYS_64BIT
262
263 config TARGET_T4160QDS
264         bool "Support T4160QDS"
265         select ARCH_T4160
266         select SUPPORT_SPL
267         select PHYS_64BIT
268
269 config TARGET_T4160RDB
270         bool "Support T4160RDB"
271         select ARCH_T4160
272         select SUPPORT_SPL
273         select PHYS_64BIT
274
275 config TARGET_T4240QDS
276         bool "Support T4240QDS"
277         select ARCH_T4240
278         select SUPPORT_SPL
279         select PHYS_64BIT
280
281 config TARGET_T4240RDB
282         bool "Support T4240RDB"
283         select ARCH_T4240
284         select SUPPORT_SPL
285         select PHYS_64BIT
286
287 config TARGET_CONTROLCENTERD
288         bool "Support controlcenterd"
289         select ARCH_P1022
290
291 config TARGET_KMP204X
292         bool "Support kmp204x"
293         select ARCH_P2041
294         select PHYS_64BIT
295
296 config TARGET_XPEDITE520X
297         bool "Support xpedite520x"
298         select ARCH_MPC8548
299
300 config TARGET_XPEDITE537X
301         bool "Support xpedite537x"
302         select ARCH_MPC8572
303
304 config TARGET_XPEDITE550X
305         bool "Support xpedite550x"
306         select ARCH_P2020
307
308 config TARGET_UCP1020
309         bool "Support uCP1020"
310         select ARCH_P1020
311
312 config TARGET_CYRUS_P5020
313         bool "Support Varisys Cyrus P5020"
314         select ARCH_P5020
315         select PHYS_64BIT
316
317 config TARGET_CYRUS_P5040
318          bool "Support Varisys Cyrus P5040"
319         select ARCH_P5040
320         select PHYS_64BIT
321
322 endchoice
323
324 config ARCH_B4420
325         bool
326
327 config ARCH_B4860
328         bool
329
330 config ARCH_BSC9131
331         bool
332
333 config ARCH_BSC9132
334         bool
335
336 config ARCH_C29X
337         bool
338
339 config ARCH_MPC8536
340         bool
341
342 config ARCH_MPC8540
343         bool
344
345 config ARCH_MPC8541
346         bool
347
348 config ARCH_MPC8544
349         bool
350
351 config ARCH_MPC8548
352         bool
353
354 config ARCH_MPC8555
355         bool
356
357 config ARCH_MPC8560
358         bool
359
360 config ARCH_MPC8568
361         bool
362
363 config ARCH_MPC8569
364         bool
365
366 config ARCH_MPC8572
367         bool
368
369 config ARCH_P1010
370         bool
371
372 config ARCH_P1011
373         bool
374
375 config ARCH_P1020
376         bool
377
378 config ARCH_P1021
379         bool
380
381 config ARCH_P1022
382         bool
383
384 config ARCH_P1023
385         bool
386
387 config ARCH_P1024
388         bool
389
390 config ARCH_P1025
391         bool
392
393 config ARCH_P2020
394         bool
395
396 config ARCH_P2041
397         bool
398
399 config ARCH_P3041
400         bool
401
402 config ARCH_P4080
403         bool
404
405 config ARCH_P5020
406         bool
407
408 config ARCH_P5040
409         bool
410
411 config ARCH_QEMU_E500
412         bool
413
414 config ARCH_T1023
415         bool
416
417 config ARCH_T1024
418         bool
419
420 config ARCH_T1040
421         bool
422
423 config ARCH_T1042
424         bool
425
426 config ARCH_T2080
427         bool
428
429 config ARCH_T2081
430         bool
431
432 config ARCH_T4160
433         bool
434
435 config ARCH_T4240
436         bool
437
438 config SECURE_BOOT
439         bool    "Secure Boot"
440         help
441                 Enable Freescale Secure Boot feature. Normally selected
442                 by defconfig. If unsure, do not change.
443
444 config MAX_CPUS
445         int "Maximum number of CPUs permitted for MPC85xx"
446         default 12 if ARCH_T4240
447         default 8 if ARCH_P4080 || \
448                      ARCH_T4160
449         default 4 if ARCH_B4860 || \
450                      ARCH_P2041 || \
451                      ARCH_P3041 || \
452                      ARCH_P5040 || \
453                      ARCH_T1040 || \
454                      ARCH_T1042 || \
455                      ARCH_T2080 || \
456                      ARCH_T2081
457         default 2 if ARCH_B4420 || \
458                      ARCH_BSC9132 || \
459                      ARCH_MPC8572 || \
460                      ARCH_P1020 || \
461                      ARCH_P1021 || \
462                      ARCH_P1022 || \
463                      ARCH_P1023 || \
464                      ARCH_P1024 || \
465                      ARCH_P1025 || \
466                      ARCH_P2020 || \
467                      ARCH_P5020 || \
468                      ARCH_T1020 || \
469                      ARCH_T1022 || \
470                      ARCH_T1023 || \
471                      ARCH_T1024
472         default 1
473         help
474           Set this number to the maximum number of possible CPUs in the SoC.
475           SoCs may have multiple clusters with each cluster may have multiple
476           ports. If some ports are reserved but higher ports are used for
477           cores, count the reserved ports. This will allocate enough memory
478           in spin table to properly handle all cores.
479
480 config SYS_CCSRBAR_DEFAULT
481         hex "Default CCSRBAR address"
482         default 0xff700000 if   ARCH_BSC9131    || \
483                                 ARCH_BSC9132    || \
484                                 ARCH_C29X       || \
485                                 ARCH_MPC8536    || \
486                                 ARCH_MPC8540    || \
487                                 ARCH_MPC8541    || \
488                                 ARCH_MPC8544    || \
489                                 ARCH_MPC8548    || \
490                                 ARCH_MPC8555    || \
491                                 ARCH_MPC8560    || \
492                                 ARCH_MPC8568    || \
493                                 ARCH_MPC8569    || \
494                                 ARCH_MPC8572    || \
495                                 ARCH_P1010      || \
496                                 ARCH_P1011      || \
497                                 ARCH_P1020      || \
498                                 ARCH_P1021      || \
499                                 ARCH_P1022      || \
500                                 ARCH_P1024      || \
501                                 ARCH_P1025      || \
502                                 ARCH_P2020
503         default 0xff600000 if   ARCH_P1023
504         default 0xfe000000 if   ARCH_B4420      || \
505                                 ARCH_B4860      || \
506                                 ARCH_P2041      || \
507                                 ARCH_P3041      || \
508                                 ARCH_P4080      || \
509                                 ARCH_P5020      || \
510                                 ARCH_P5040      || \
511                                 ARCH_T1013      || \
512                                 ARCH_T1014      || \
513                                 ARCH_T1020      || \
514                                 ARCH_T1022      || \
515                                 ARCH_T1023      || \
516                                 ARCH_T1024      || \
517                                 ARCH_T1040      || \
518                                 ARCH_T1042      || \
519                                 ARCH_T2080      || \
520                                 ARCH_T2081      || \
521                                 ARCH_T4160      || \
522                                 ARCH_T4240
523         default 0xe0000000 if ARCH_QEMU_E500
524         help
525                 Default value of CCSRBAR comes from power-on-reset. It
526                 is fixed on each SoC. Some SoCs can have different value
527                 if changed by pre-boot regime. The value here must match
528                 the current value in SoC. If not sure, do not change.
529
530 source "board/freescale/b4860qds/Kconfig"
531 source "board/freescale/bsc9131rdb/Kconfig"
532 source "board/freescale/bsc9132qds/Kconfig"
533 source "board/freescale/c29xpcie/Kconfig"
534 source "board/freescale/corenet_ds/Kconfig"
535 source "board/freescale/mpc8536ds/Kconfig"
536 source "board/freescale/mpc8540ads/Kconfig"
537 source "board/freescale/mpc8541cds/Kconfig"
538 source "board/freescale/mpc8544ds/Kconfig"
539 source "board/freescale/mpc8548cds/Kconfig"
540 source "board/freescale/mpc8555cds/Kconfig"
541 source "board/freescale/mpc8560ads/Kconfig"
542 source "board/freescale/mpc8568mds/Kconfig"
543 source "board/freescale/mpc8569mds/Kconfig"
544 source "board/freescale/mpc8572ds/Kconfig"
545 source "board/freescale/p1010rdb/Kconfig"
546 source "board/freescale/p1022ds/Kconfig"
547 source "board/freescale/p1023rdb/Kconfig"
548 source "board/freescale/p1_p2_rdb_pc/Kconfig"
549 source "board/freescale/p1_twr/Kconfig"
550 source "board/freescale/p2041rdb/Kconfig"
551 source "board/freescale/qemu-ppce500/Kconfig"
552 source "board/freescale/t102xqds/Kconfig"
553 source "board/freescale/t102xrdb/Kconfig"
554 source "board/freescale/t1040qds/Kconfig"
555 source "board/freescale/t104xrdb/Kconfig"
556 source "board/freescale/t208xqds/Kconfig"
557 source "board/freescale/t208xrdb/Kconfig"
558 source "board/freescale/t4qds/Kconfig"
559 source "board/freescale/t4rdb/Kconfig"
560 source "board/gdsys/p1022/Kconfig"
561 source "board/keymile/kmp204x/Kconfig"
562 source "board/sbc8548/Kconfig"
563 source "board/socrates/Kconfig"
564 source "board/varisys/cyrus/Kconfig"
565 source "board/xes/xpedite520x/Kconfig"
566 source "board/xes/xpedite537x/Kconfig"
567 source "board/xes/xpedite550x/Kconfig"
568 source "board/Arcturus/ucp1020/Kconfig"
569
570 endmenu