]> git.ipfire.org Git - people/ms/u-boot.git/blob - arch/powerpc/cpu/mpc85xx/Kconfig
powerpc: mpc85xx: Move CONFIG_SYS_PPC_E500_DEBUG_TLB to Kconfig
[people/ms/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 select E500MC
327 select FSL_LAW
328
329 config ARCH_B4860
330 bool
331 select E500MC
332 select FSL_LAW
333
334 config ARCH_BSC9131
335 bool
336 select FSL_LAW
337
338 config ARCH_BSC9132
339 bool
340 select FSL_LAW
341 select SYS_PPC_E500_USE_DEBUG_TLB
342
343 config ARCH_C29X
344 bool
345 select FSL_LAW
346 select SYS_PPC_E500_USE_DEBUG_TLB
347
348 config ARCH_MPC8536
349 bool
350 select FSL_LAW
351 select SYS_PPC_E500_USE_DEBUG_TLB
352
353 config ARCH_MPC8540
354 bool
355 select FSL_LAW
356
357 config ARCH_MPC8541
358 bool
359 select FSL_LAW
360
361 config ARCH_MPC8544
362 bool
363 select FSL_LAW
364 select SYS_PPC_E500_USE_DEBUG_TLB
365
366 config ARCH_MPC8548
367 bool
368 select FSL_LAW
369 select SYS_PPC_E500_USE_DEBUG_TLB
370
371 config ARCH_MPC8555
372 bool
373 select FSL_LAW
374
375 config ARCH_MPC8560
376 bool
377 select FSL_LAW
378
379 config ARCH_MPC8568
380 bool
381 select FSL_LAW
382
383 config ARCH_MPC8569
384 bool
385 select FSL_LAW
386
387 config ARCH_MPC8572
388 bool
389 select FSL_LAW
390 select SYS_PPC_E500_USE_DEBUG_TLB
391
392 config ARCH_P1010
393 bool
394 select FSL_LAW
395 select SYS_PPC_E500_USE_DEBUG_TLB
396
397 config ARCH_P1011
398 bool
399 select FSL_LAW
400 select SYS_PPC_E500_USE_DEBUG_TLB
401
402 config ARCH_P1020
403 bool
404 select FSL_LAW
405 select SYS_PPC_E500_USE_DEBUG_TLB
406
407 config ARCH_P1021
408 bool
409 select FSL_LAW
410 select SYS_PPC_E500_USE_DEBUG_TLB
411
412 config ARCH_P1022
413 bool
414 select FSL_LAW
415 select SYS_PPC_E500_USE_DEBUG_TLB
416
417 config ARCH_P1023
418 bool
419 select FSL_LAW
420
421 config ARCH_P1024
422 bool
423 select FSL_LAW
424 select SYS_PPC_E500_USE_DEBUG_TLB
425
426 config ARCH_P1025
427 bool
428 select FSL_LAW
429 select SYS_PPC_E500_USE_DEBUG_TLB
430
431 config ARCH_P2020
432 bool
433 select FSL_LAW
434 select SYS_PPC_E500_USE_DEBUG_TLB
435
436 config ARCH_P2041
437 bool
438 select E500MC
439 select FSL_LAW
440
441 config ARCH_P3041
442 bool
443 select E500MC
444 select FSL_LAW
445
446 config ARCH_P4080
447 bool
448 select E500MC
449 select FSL_LAW
450
451 config ARCH_P5020
452 bool
453 select E500MC
454 select FSL_LAW
455
456 config ARCH_P5040
457 bool
458 select E500MC
459 select FSL_LAW
460
461 config ARCH_QEMU_E500
462 bool
463
464 config ARCH_T1023
465 bool
466 select E500MC
467 select FSL_LAW
468
469 config ARCH_T1024
470 bool
471 select E500MC
472 select FSL_LAW
473
474 config ARCH_T1040
475 bool
476 select E500MC
477 select FSL_LAW
478
479 config ARCH_T1042
480 bool
481 select E500MC
482 select FSL_LAW
483
484 config ARCH_T2080
485 bool
486 select E500MC
487 select FSL_LAW
488
489 config ARCH_T2081
490 bool
491 select E500MC
492 select FSL_LAW
493
494 config ARCH_T4160
495 bool
496 select E500MC
497 select FSL_LAW
498
499 config ARCH_T4240
500 bool
501 select E500MC
502 select FSL_LAW
503
504 config BOOKE
505 bool
506 default y
507
508 config E500
509 bool
510 default y
511 help
512 Enable PowerPC E500 cores, including e500v1, e500v2, e500mc
513
514 config E500MC
515 bool
516 help
517 Enble PowerPC E500MC core
518
519 config FSL_LAW
520 bool
521 help
522 Use Freescale common code for Local Access Window
523
524 config SECURE_BOOT
525 bool "Secure Boot"
526 help
527 Enable Freescale Secure Boot feature. Normally selected
528 by defconfig. If unsure, do not change.
529
530 config MAX_CPUS
531 int "Maximum number of CPUs permitted for MPC85xx"
532 default 12 if ARCH_T4240
533 default 8 if ARCH_P4080 || \
534 ARCH_T4160
535 default 4 if ARCH_B4860 || \
536 ARCH_P2041 || \
537 ARCH_P3041 || \
538 ARCH_P5040 || \
539 ARCH_T1040 || \
540 ARCH_T1042 || \
541 ARCH_T2080 || \
542 ARCH_T2081
543 default 2 if ARCH_B4420 || \
544 ARCH_BSC9132 || \
545 ARCH_MPC8572 || \
546 ARCH_P1020 || \
547 ARCH_P1021 || \
548 ARCH_P1022 || \
549 ARCH_P1023 || \
550 ARCH_P1024 || \
551 ARCH_P1025 || \
552 ARCH_P2020 || \
553 ARCH_P5020 || \
554 ARCH_T1020 || \
555 ARCH_T1022 || \
556 ARCH_T1023 || \
557 ARCH_T1024
558 default 1
559 help
560 Set this number to the maximum number of possible CPUs in the SoC.
561 SoCs may have multiple clusters with each cluster may have multiple
562 ports. If some ports are reserved but higher ports are used for
563 cores, count the reserved ports. This will allocate enough memory
564 in spin table to properly handle all cores.
565
566 config SYS_CCSRBAR_DEFAULT
567 hex "Default CCSRBAR address"
568 default 0xff700000 if ARCH_BSC9131 || \
569 ARCH_BSC9132 || \
570 ARCH_C29X || \
571 ARCH_MPC8536 || \
572 ARCH_MPC8540 || \
573 ARCH_MPC8541 || \
574 ARCH_MPC8544 || \
575 ARCH_MPC8548 || \
576 ARCH_MPC8555 || \
577 ARCH_MPC8560 || \
578 ARCH_MPC8568 || \
579 ARCH_MPC8569 || \
580 ARCH_MPC8572 || \
581 ARCH_P1010 || \
582 ARCH_P1011 || \
583 ARCH_P1020 || \
584 ARCH_P1021 || \
585 ARCH_P1022 || \
586 ARCH_P1024 || \
587 ARCH_P1025 || \
588 ARCH_P2020
589 default 0xff600000 if ARCH_P1023
590 default 0xfe000000 if ARCH_B4420 || \
591 ARCH_B4860 || \
592 ARCH_P2041 || \
593 ARCH_P3041 || \
594 ARCH_P4080 || \
595 ARCH_P5020 || \
596 ARCH_P5040 || \
597 ARCH_T1013 || \
598 ARCH_T1014 || \
599 ARCH_T1020 || \
600 ARCH_T1022 || \
601 ARCH_T1023 || \
602 ARCH_T1024 || \
603 ARCH_T1040 || \
604 ARCH_T1042 || \
605 ARCH_T2080 || \
606 ARCH_T2081 || \
607 ARCH_T4160 || \
608 ARCH_T4240
609 default 0xe0000000 if ARCH_QEMU_E500
610 help
611 Default value of CCSRBAR comes from power-on-reset. It
612 is fixed on each SoC. Some SoCs can have different value
613 if changed by pre-boot regime. The value here must match
614 the current value in SoC. If not sure, do not change.
615
616 config SYS_FSL_NUM_LAWS
617 int "Number of local access windows"
618 depends on FSL_LAW
619 default 32 if ARCH_B4420 || \
620 ARCH_B4860 || \
621 ARCH_P2041 || \
622 ARCH_P3041 || \
623 ARCH_P4080 || \
624 ARCH_P5020 || \
625 ARCH_P5040 || \
626 ARCH_T2080 || \
627 ARCH_T2081 || \
628 ARCH_T4160 || \
629 ARCH_T4240
630 default 16 if ARCH_T1013 || \
631 ARCH_T1014 || \
632 ARCH_T1020 || \
633 ARCH_T1022 || \
634 ARCH_T1023 || \
635 ARCH_T1024 || \
636 ARCH_T1040 || \
637 ARCH_T1042
638 default 12 if ARCH_BSC9131 || \
639 ARCH_BSC9132 || \
640 ARCH_C29X || \
641 ARCH_MPC8536 || \
642 ARCH_MPC8572 || \
643 ARCH_P1010 || \
644 ARCH_P1011 || \
645 ARCH_P1020 || \
646 ARCH_P1021 || \
647 ARCH_P1022 || \
648 ARCH_P1023 || \
649 ARCH_P1024 || \
650 ARCH_P1025 || \
651 ARCH_P2020
652 default 10 if ARCH_MPC8544 || \
653 ARCH_MPC8548 || \
654 ARCH_MPC8568 || \
655 ARCH_MPC8569
656 default 8 if ARCH_MPC8540 || \
657 ARCH_MPC8541 || \
658 ARCH_MPC8555 || \
659 ARCH_MPC8560
660 help
661 Number of local access windows. This is fixed per SoC.
662 If not sure, do not change.
663
664 config SYS_NUM_TLBCAMS
665 int "Number of TLB CAM entries"
666 default 64 if E500MC
667 default 16
668 help
669 Number of TLB CAM entries for Book-E chips. 64 for E500MC,
670 16 for other E500 SoCs.
671
672 config SYS_PPC_E500_USE_DEBUG_TLB
673 bool
674
675 config SYS_PPC_E500_DEBUG_TLB
676 int "Temporary TLB entry for external debugger"
677 depends on SYS_PPC_E500_USE_DEBUG_TLB
678 default 0 if ARCH_MPC8544 || ARCH_MPC8548
679 default 1 if ARCH_MPC8536
680 default 2 if ARCH_MPC8572 || \
681 ARCH_P1011 || \
682 ARCH_P1020 || \
683 ARCH_P1021 || \
684 ARCH_P1022 || \
685 ARCH_P1024 || \
686 ARCH_P1025 || \
687 ARCH_P2020
688 default 3 if ARCH_P1010 || \
689 ARCH_BSC9132 || \
690 ARCH_C29X
691 help
692 Select a temporary TLB entry to be used during boot to work
693 around limitations in e500v1 and e500v2 external debugger
694 support. This reduces the portions of the boot code where
695 breakpoints and single stepping do not work. The value of this
696 symbol should be set to the TLB1 entry to be used for this
697 purpose. If unsure, do not change.
698
699 source "board/freescale/b4860qds/Kconfig"
700 source "board/freescale/bsc9131rdb/Kconfig"
701 source "board/freescale/bsc9132qds/Kconfig"
702 source "board/freescale/c29xpcie/Kconfig"
703 source "board/freescale/corenet_ds/Kconfig"
704 source "board/freescale/mpc8536ds/Kconfig"
705 source "board/freescale/mpc8540ads/Kconfig"
706 source "board/freescale/mpc8541cds/Kconfig"
707 source "board/freescale/mpc8544ds/Kconfig"
708 source "board/freescale/mpc8548cds/Kconfig"
709 source "board/freescale/mpc8555cds/Kconfig"
710 source "board/freescale/mpc8560ads/Kconfig"
711 source "board/freescale/mpc8568mds/Kconfig"
712 source "board/freescale/mpc8569mds/Kconfig"
713 source "board/freescale/mpc8572ds/Kconfig"
714 source "board/freescale/p1010rdb/Kconfig"
715 source "board/freescale/p1022ds/Kconfig"
716 source "board/freescale/p1023rdb/Kconfig"
717 source "board/freescale/p1_p2_rdb_pc/Kconfig"
718 source "board/freescale/p1_twr/Kconfig"
719 source "board/freescale/p2041rdb/Kconfig"
720 source "board/freescale/qemu-ppce500/Kconfig"
721 source "board/freescale/t102xqds/Kconfig"
722 source "board/freescale/t102xrdb/Kconfig"
723 source "board/freescale/t1040qds/Kconfig"
724 source "board/freescale/t104xrdb/Kconfig"
725 source "board/freescale/t208xqds/Kconfig"
726 source "board/freescale/t208xrdb/Kconfig"
727 source "board/freescale/t4qds/Kconfig"
728 source "board/freescale/t4rdb/Kconfig"
729 source "board/gdsys/p1022/Kconfig"
730 source "board/keymile/kmp204x/Kconfig"
731 source "board/sbc8548/Kconfig"
732 source "board/socrates/Kconfig"
733 source "board/varisys/cyrus/Kconfig"
734 source "board/xes/xpedite520x/Kconfig"
735 source "board/xes/xpedite537x/Kconfig"
736 source "board/xes/xpedite550x/Kconfig"
737 source "board/Arcturus/ucp1020/Kconfig"
738
739 endmenu