xref: /openbmc/u-boot/arch/powerpc/cpu/mpc85xx/Kconfig (revision 177f14da)
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 FSL_LAW
327
328config ARCH_B4860
329	bool
330	select FSL_LAW
331
332config ARCH_BSC9131
333	bool
334	select FSL_LAW
335
336config ARCH_BSC9132
337	bool
338	select FSL_LAW
339
340config ARCH_C29X
341	bool
342	select FSL_LAW
343
344config ARCH_MPC8536
345	bool
346	select FSL_LAW
347
348config ARCH_MPC8540
349	bool
350	select FSL_LAW
351
352config ARCH_MPC8541
353	bool
354	select FSL_LAW
355
356config ARCH_MPC8544
357	bool
358	select FSL_LAW
359
360config ARCH_MPC8548
361	bool
362	select FSL_LAW
363
364config ARCH_MPC8555
365	bool
366	select FSL_LAW
367
368config ARCH_MPC8560
369	bool
370	select FSL_LAW
371
372config ARCH_MPC8568
373	bool
374	select FSL_LAW
375
376config ARCH_MPC8569
377	bool
378	select FSL_LAW
379
380config ARCH_MPC8572
381	bool
382	select FSL_LAW
383
384config ARCH_P1010
385	bool
386	select FSL_LAW
387
388config ARCH_P1011
389	bool
390	select FSL_LAW
391
392config ARCH_P1020
393	bool
394	select FSL_LAW
395
396config ARCH_P1021
397	bool
398	select FSL_LAW
399
400config ARCH_P1022
401	bool
402	select FSL_LAW
403
404config ARCH_P1023
405	bool
406	select FSL_LAW
407
408config ARCH_P1024
409	bool
410	select FSL_LAW
411
412config ARCH_P1025
413	bool
414	select FSL_LAW
415
416config ARCH_P2020
417	bool
418	select FSL_LAW
419
420config ARCH_P2041
421	bool
422	select FSL_LAW
423
424config ARCH_P3041
425	bool
426	select FSL_LAW
427
428config ARCH_P4080
429	bool
430	select FSL_LAW
431
432config ARCH_P5020
433	bool
434	select FSL_LAW
435
436config ARCH_P5040
437	bool
438	select FSL_LAW
439
440config ARCH_QEMU_E500
441	bool
442
443config ARCH_T1023
444	bool
445	select FSL_LAW
446
447config ARCH_T1024
448	bool
449	select FSL_LAW
450
451config ARCH_T1040
452	bool
453	select FSL_LAW
454
455config ARCH_T1042
456	bool
457	select FSL_LAW
458
459config ARCH_T2080
460	bool
461	select FSL_LAW
462
463config ARCH_T2081
464	bool
465	select FSL_LAW
466
467config ARCH_T4160
468	bool
469	select FSL_LAW
470
471config ARCH_T4240
472	bool
473	select FSL_LAW
474
475config FSL_LAW
476	bool
477	help
478		Use Freescale common code for Local Access Window
479
480config SECURE_BOOT
481	bool	"Secure Boot"
482	help
483		Enable Freescale Secure Boot feature. Normally selected
484		by defconfig. If unsure, do not change.
485
486config MAX_CPUS
487	int "Maximum number of CPUs permitted for MPC85xx"
488	default 12 if ARCH_T4240
489	default 8 if ARCH_P4080 || \
490		     ARCH_T4160
491	default 4 if ARCH_B4860 || \
492		     ARCH_P2041 || \
493		     ARCH_P3041 || \
494		     ARCH_P5040 || \
495		     ARCH_T1040 || \
496		     ARCH_T1042 || \
497		     ARCH_T2080 || \
498		     ARCH_T2081
499	default 2 if ARCH_B4420 || \
500		     ARCH_BSC9132 || \
501		     ARCH_MPC8572 || \
502		     ARCH_P1020 || \
503		     ARCH_P1021 || \
504		     ARCH_P1022 || \
505		     ARCH_P1023 || \
506		     ARCH_P1024 || \
507		     ARCH_P1025 || \
508		     ARCH_P2020 || \
509		     ARCH_P5020 || \
510		     ARCH_T1020 || \
511		     ARCH_T1022 || \
512		     ARCH_T1023 || \
513		     ARCH_T1024
514	default 1
515	help
516	  Set this number to the maximum number of possible CPUs in the SoC.
517	  SoCs may have multiple clusters with each cluster may have multiple
518	  ports. If some ports are reserved but higher ports are used for
519	  cores, count the reserved ports. This will allocate enough memory
520	  in spin table to properly handle all cores.
521
522config SYS_CCSRBAR_DEFAULT
523	hex "Default CCSRBAR address"
524	default	0xff700000 if	ARCH_BSC9131	|| \
525				ARCH_BSC9132	|| \
526				ARCH_C29X	|| \
527				ARCH_MPC8536	|| \
528				ARCH_MPC8540	|| \
529				ARCH_MPC8541	|| \
530				ARCH_MPC8544	|| \
531				ARCH_MPC8548	|| \
532				ARCH_MPC8555	|| \
533				ARCH_MPC8560	|| \
534				ARCH_MPC8568	|| \
535				ARCH_MPC8569	|| \
536				ARCH_MPC8572	|| \
537				ARCH_P1010	|| \
538				ARCH_P1011	|| \
539				ARCH_P1020	|| \
540				ARCH_P1021	|| \
541				ARCH_P1022	|| \
542				ARCH_P1024	|| \
543				ARCH_P1025	|| \
544				ARCH_P2020
545	default 0xff600000 if	ARCH_P1023
546	default 0xfe000000 if	ARCH_B4420	|| \
547				ARCH_B4860	|| \
548				ARCH_P2041	|| \
549				ARCH_P3041	|| \
550				ARCH_P4080	|| \
551				ARCH_P5020	|| \
552				ARCH_P5040	|| \
553				ARCH_T1013	|| \
554				ARCH_T1014	|| \
555				ARCH_T1020	|| \
556				ARCH_T1022	|| \
557				ARCH_T1023	|| \
558				ARCH_T1024	|| \
559				ARCH_T1040	|| \
560				ARCH_T1042	|| \
561				ARCH_T2080	|| \
562				ARCH_T2081	|| \
563				ARCH_T4160	|| \
564				ARCH_T4240
565	default 0xe0000000 if ARCH_QEMU_E500
566	help
567		Default value of CCSRBAR comes from power-on-reset. It
568		is fixed on each SoC. Some SoCs can have different value
569		if changed by pre-boot regime. The value here must match
570		the current value in SoC. If not sure, do not change.
571
572config SYS_FSL_NUM_LAWS
573	int "Number of local access windows"
574	depends on FSL_LAW
575	default 32 if	ARCH_B4420	|| \
576			ARCH_B4860	|| \
577			ARCH_P2041	|| \
578			ARCH_P3041	|| \
579			ARCH_P4080	|| \
580			ARCH_P5020	|| \
581			ARCH_P5040	|| \
582			ARCH_T2080	|| \
583			ARCH_T2081	|| \
584			ARCH_T4160	|| \
585			ARCH_T4240
586	default 16 if	ARCH_T1013	|| \
587			ARCH_T1014	|| \
588			ARCH_T1020	|| \
589			ARCH_T1022	|| \
590			ARCH_T1023	|| \
591			ARCH_T1024	|| \
592			ARCH_T1040	|| \
593			ARCH_T1042
594	default 12 if	ARCH_BSC9131	|| \
595			ARCH_BSC9132	|| \
596			ARCH_C29X	|| \
597			ARCH_MPC8536	|| \
598			ARCH_MPC8572	|| \
599			ARCH_P1010	|| \
600			ARCH_P1011	|| \
601			ARCH_P1020	|| \
602			ARCH_P1021	|| \
603			ARCH_P1022	|| \
604			ARCH_P1023	|| \
605			ARCH_P1024	|| \
606			ARCH_P1025	|| \
607			ARCH_P2020
608	default 10 if	ARCH_MPC8544	|| \
609			ARCH_MPC8548	|| \
610			ARCH_MPC8568	|| \
611			ARCH_MPC8569
612	default 8 if	ARCH_MPC8540	|| \
613			ARCH_MPC8541	|| \
614			ARCH_MPC8555	|| \
615			ARCH_MPC8560
616	help
617		Number of local access windows. This is fixed per SoC.
618		If not sure, do not change.
619
620source "board/freescale/b4860qds/Kconfig"
621source "board/freescale/bsc9131rdb/Kconfig"
622source "board/freescale/bsc9132qds/Kconfig"
623source "board/freescale/c29xpcie/Kconfig"
624source "board/freescale/corenet_ds/Kconfig"
625source "board/freescale/mpc8536ds/Kconfig"
626source "board/freescale/mpc8540ads/Kconfig"
627source "board/freescale/mpc8541cds/Kconfig"
628source "board/freescale/mpc8544ds/Kconfig"
629source "board/freescale/mpc8548cds/Kconfig"
630source "board/freescale/mpc8555cds/Kconfig"
631source "board/freescale/mpc8560ads/Kconfig"
632source "board/freescale/mpc8568mds/Kconfig"
633source "board/freescale/mpc8569mds/Kconfig"
634source "board/freescale/mpc8572ds/Kconfig"
635source "board/freescale/p1010rdb/Kconfig"
636source "board/freescale/p1022ds/Kconfig"
637source "board/freescale/p1023rdb/Kconfig"
638source "board/freescale/p1_p2_rdb_pc/Kconfig"
639source "board/freescale/p1_twr/Kconfig"
640source "board/freescale/p2041rdb/Kconfig"
641source "board/freescale/qemu-ppce500/Kconfig"
642source "board/freescale/t102xqds/Kconfig"
643source "board/freescale/t102xrdb/Kconfig"
644source "board/freescale/t1040qds/Kconfig"
645source "board/freescale/t104xrdb/Kconfig"
646source "board/freescale/t208xqds/Kconfig"
647source "board/freescale/t208xrdb/Kconfig"
648source "board/freescale/t4qds/Kconfig"
649source "board/freescale/t4rdb/Kconfig"
650source "board/gdsys/p1022/Kconfig"
651source "board/keymile/kmp204x/Kconfig"
652source "board/sbc8548/Kconfig"
653source "board/socrates/Kconfig"
654source "board/varisys/cyrus/Kconfig"
655source "board/xes/xpedite520x/Kconfig"
656source "board/xes/xpedite537x/Kconfig"
657source "board/xes/xpedite550x/Kconfig"
658source "board/Arcturus/ucp1020/Kconfig"
659
660endmenu
661