powerpc: mpc85xx: Move CONFIG_FSL_LAW to Kconfig
[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         select FSL_LAW
327
328 config ARCH_B4860
329         bool
330         select FSL_LAW
331
332 config ARCH_BSC9131
333         bool
334         select FSL_LAW
335
336 config ARCH_BSC9132
337         bool
338         select FSL_LAW
339
340 config ARCH_C29X
341         bool
342         select FSL_LAW
343
344 config ARCH_MPC8536
345         bool
346         select FSL_LAW
347
348 config ARCH_MPC8540
349         bool
350         select FSL_LAW
351
352 config ARCH_MPC8541
353         bool
354         select FSL_LAW
355
356 config ARCH_MPC8544
357         bool
358         select FSL_LAW
359
360 config ARCH_MPC8548
361         bool
362         select FSL_LAW
363
364 config ARCH_MPC8555
365         bool
366         select FSL_LAW
367
368 config ARCH_MPC8560
369         bool
370         select FSL_LAW
371
372 config ARCH_MPC8568
373         bool
374         select FSL_LAW
375
376 config ARCH_MPC8569
377         bool
378         select FSL_LAW
379
380 config ARCH_MPC8572
381         bool
382         select FSL_LAW
383
384 config ARCH_P1010
385         bool
386         select FSL_LAW
387
388 config ARCH_P1011
389         bool
390         select FSL_LAW
391
392 config ARCH_P1020
393         bool
394         select FSL_LAW
395
396 config ARCH_P1021
397         bool
398         select FSL_LAW
399
400 config ARCH_P1022
401         bool
402         select FSL_LAW
403
404 config ARCH_P1023
405         bool
406         select FSL_LAW
407
408 config ARCH_P1024
409         bool
410         select FSL_LAW
411
412 config ARCH_P1025
413         bool
414         select FSL_LAW
415
416 config ARCH_P2020
417         bool
418         select FSL_LAW
419
420 config ARCH_P2041
421         bool
422         select FSL_LAW
423
424 config ARCH_P3041
425         bool
426         select FSL_LAW
427
428 config ARCH_P4080
429         bool
430         select FSL_LAW
431
432 config ARCH_P5020
433         bool
434         select FSL_LAW
435
436 config ARCH_P5040
437         bool
438         select FSL_LAW
439
440 config ARCH_QEMU_E500
441         bool
442
443 config ARCH_T1023
444         bool
445         select FSL_LAW
446
447 config ARCH_T1024
448         bool
449         select FSL_LAW
450
451 config ARCH_T1040
452         bool
453         select FSL_LAW
454
455 config ARCH_T1042
456         bool
457         select FSL_LAW
458
459 config ARCH_T2080
460         bool
461         select FSL_LAW
462
463 config ARCH_T2081
464         bool
465         select FSL_LAW
466
467 config ARCH_T4160
468         bool
469         select FSL_LAW
470
471 config ARCH_T4240
472         bool
473         select FSL_LAW
474
475 config FSL_LAW
476         bool
477         help
478                 Use Freescale common code for Local Access Window
479
480 config 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
486 config 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
522 config 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
572 source "board/freescale/b4860qds/Kconfig"
573 source "board/freescale/bsc9131rdb/Kconfig"
574 source "board/freescale/bsc9132qds/Kconfig"
575 source "board/freescale/c29xpcie/Kconfig"
576 source "board/freescale/corenet_ds/Kconfig"
577 source "board/freescale/mpc8536ds/Kconfig"
578 source "board/freescale/mpc8540ads/Kconfig"
579 source "board/freescale/mpc8541cds/Kconfig"
580 source "board/freescale/mpc8544ds/Kconfig"
581 source "board/freescale/mpc8548cds/Kconfig"
582 source "board/freescale/mpc8555cds/Kconfig"
583 source "board/freescale/mpc8560ads/Kconfig"
584 source "board/freescale/mpc8568mds/Kconfig"
585 source "board/freescale/mpc8569mds/Kconfig"
586 source "board/freescale/mpc8572ds/Kconfig"
587 source "board/freescale/p1010rdb/Kconfig"
588 source "board/freescale/p1022ds/Kconfig"
589 source "board/freescale/p1023rdb/Kconfig"
590 source "board/freescale/p1_p2_rdb_pc/Kconfig"
591 source "board/freescale/p1_twr/Kconfig"
592 source "board/freescale/p2041rdb/Kconfig"
593 source "board/freescale/qemu-ppce500/Kconfig"
594 source "board/freescale/t102xqds/Kconfig"
595 source "board/freescale/t102xrdb/Kconfig"
596 source "board/freescale/t1040qds/Kconfig"
597 source "board/freescale/t104xrdb/Kconfig"
598 source "board/freescale/t208xqds/Kconfig"
599 source "board/freescale/t208xrdb/Kconfig"
600 source "board/freescale/t4qds/Kconfig"
601 source "board/freescale/t4rdb/Kconfig"
602 source "board/gdsys/p1022/Kconfig"
603 source "board/keymile/kmp204x/Kconfig"
604 source "board/sbc8548/Kconfig"
605 source "board/socrates/Kconfig"
606 source "board/varisys/cyrus/Kconfig"
607 source "board/xes/xpedite520x/Kconfig"
608 source "board/xes/xpedite537x/Kconfig"
609 source "board/xes/xpedite550x/Kconfig"
610 source "board/Arcturus/ucp1020/Kconfig"
611
612 endmenu