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