Kconfig 11.2 KB
Newer Older
1 2 3 4 5 6 7 8
menu "mpc85xx CPU"
	depends on MPC85xx

config SYS_CPU
	default "mpc85xx"

choice
	prompt "Target select"
9
	optional
10 11 12

config TARGET_SBC8548
	bool "Support sbc8548"
13
	select ARCH_MPC8548
14 15 16

config TARGET_SOCRATES
	bool "Support socrates"
17
	select ARCH_MPC8544
18

19 20
config TARGET_B4420QDS
	bool "Support B4420QDS"
21
	select ARCH_B4420
22 23 24
	select SUPPORT_SPL
	select PHYS_64BIT

25 26
config TARGET_B4860QDS
	bool "Support B4860QDS"
27
	select ARCH_B4860
M
Masahiro Yamada 已提交
28
	select SUPPORT_SPL
29
	select PHYS_64BIT
30 31 32

config TARGET_BSC9131RDB
	bool "Support BSC9131RDB"
33
	select ARCH_BSC9131
M
Masahiro Yamada 已提交
34
	select SUPPORT_SPL
35 36 37

config TARGET_BSC9132QDS
	bool "Support BSC9132QDS"
38
	select ARCH_BSC9132
M
Masahiro Yamada 已提交
39
	select SUPPORT_SPL
40 41 42

config TARGET_C29XPCIE
	bool "Support C29XPCIE"
43
	select ARCH_C29X
M
Masahiro Yamada 已提交
44
	select SUPPORT_SPL
M
Masahiro Yamada 已提交
45
	select SUPPORT_TPL
46
	select PHYS_64BIT
47 48 49

config TARGET_P3041DS
	bool "Support P3041DS"
50
	select PHYS_64BIT
51
	select ARCH_P3041
52 53 54

config TARGET_P4080DS
	bool "Support P4080DS"
55
	select PHYS_64BIT
56
	select ARCH_P4080
57 58 59

config TARGET_P5020DS
	bool "Support P5020DS"
60
	select PHYS_64BIT
61
	select ARCH_P5020
62 63 64

config TARGET_P5040DS
	bool "Support P5040DS"
65
	select PHYS_64BIT
66
	select ARCH_P5040
67 68 69

config TARGET_MPC8536DS
	bool "Support MPC8536DS"
70
	select ARCH_MPC8536
71 72 73

config TARGET_MPC8540ADS
	bool "Support MPC8540ADS"
74
	select ARCH_MPC8540
75 76 77

config TARGET_MPC8541CDS
	bool "Support MPC8541CDS"
78
	select ARCH_MPC8541
79 80 81

config TARGET_MPC8544DS
	bool "Support MPC8544DS"
82
	select ARCH_MPC8544
83 84 85

config TARGET_MPC8548CDS
	bool "Support MPC8548CDS"
86
	select ARCH_MPC8548
87 88 89

config TARGET_MPC8555CDS
	bool "Support MPC8555CDS"
90
	select ARCH_MPC8555
91 92 93

config TARGET_MPC8560ADS
	bool "Support MPC8560ADS"
94
	select ARCH_MPC8560
95 96 97

config TARGET_MPC8568MDS
	bool "Support MPC8568MDS"
98
	select ARCH_MPC8568
99 100 101

config TARGET_MPC8569MDS
	bool "Support MPC8569MDS"
102
	select ARCH_MPC8569
103 104 105

config TARGET_MPC8572DS
	bool "Support MPC8572DS"
106
	select ARCH_MPC8572
107

108 109 110 111 112 113 114 115
config TARGET_P1010RDB_PA
	bool "Support P1010RDB_PA"
	select ARCH_P1010
	select SUPPORT_SPL
	select SUPPORT_TPL

config TARGET_P1010RDB_PB
	bool "Support P1010RDB_PB"
116
	select ARCH_P1010
M
Masahiro Yamada 已提交
117
	select SUPPORT_SPL
M
Masahiro Yamada 已提交
118
	select SUPPORT_TPL
119 120 121

config TARGET_P1022DS
	bool "Support P1022DS"
122
	select ARCH_P1022
M
Masahiro Yamada 已提交
123
	select SUPPORT_SPL
M
Masahiro Yamada 已提交
124
	select SUPPORT_TPL
125 126 127

config TARGET_P1023RDB
	bool "Support P1023RDB"
128
	select ARCH_P1023
129

130 131 132 133
config TARGET_P1020MBG
	bool "Support P1020MBG-PC"
	select SUPPORT_SPL
	select SUPPORT_TPL
134 135
	select ARCH_P1020

136 137 138 139
config TARGET_P1020RDB_PC
	bool "Support P1020RDB-PC"
	select SUPPORT_SPL
	select SUPPORT_TPL
140
	select ARCH_P1020
141

142 143 144 145
config TARGET_P1020RDB_PD
	bool "Support P1020RDB-PD"
	select SUPPORT_SPL
	select SUPPORT_TPL
146
	select ARCH_P1020
147

148 149 150 151
config TARGET_P1020UTM
	bool "Support P1020UTM"
	select SUPPORT_SPL
	select SUPPORT_TPL
152
	select ARCH_P1020
153

154 155 156 157
config TARGET_P1021RDB
	bool "Support P1021RDB"
	select SUPPORT_SPL
	select SUPPORT_TPL
158
	select ARCH_P1021
159

160 161 162 163
config TARGET_P1024RDB
	bool "Support P1024RDB"
	select SUPPORT_SPL
	select SUPPORT_TPL
Y
York Sun 已提交
164
	select ARCH_P1024
165

166 167 168 169
config TARGET_P1025RDB
	bool "Support P1025RDB"
	select SUPPORT_SPL
	select SUPPORT_TPL
170
	select ARCH_P1025
171

172 173 174 175
config TARGET_P2020RDB
	bool "Support P2020RDB-PC"
	select SUPPORT_SPL
	select SUPPORT_TPL
176
	select ARCH_P2020
177

178 179
config TARGET_P1_TWR
	bool "Support p1_twr"
180
	select ARCH_P1025
181 182 183

config TARGET_P2041RDB
	bool "Support P2041RDB"
184
	select ARCH_P2041
185
	select PHYS_64BIT
186 187 188

config TARGET_QEMU_PPCE500
	bool "Support qemu-ppce500"
189
	select ARCH_QEMU_E500
190
	select PHYS_64BIT
191

192 193
config TARGET_T1024QDS
	bool "Support T1024QDS"
194
	select ARCH_T1024
195
	select SUPPORT_SPL
196
	select PHYS_64BIT
197

198 199
config TARGET_T1023RDB
	bool "Support T1023RDB"
200
	select ARCH_T1023
201 202 203 204 205
	select SUPPORT_SPL
	select PHYS_64BIT

config TARGET_T1024RDB
	bool "Support T1024RDB"
206
	select ARCH_T1024
207
	select SUPPORT_SPL
208
	select PHYS_64BIT
209

210 211
config TARGET_T1040QDS
	bool "Support T1040QDS"
212
	select ARCH_T1040
213
	select PHYS_64BIT
214

215 216
config TARGET_T1040RDB
	bool "Support T1040RDB"
217
	select ARCH_T1040
218 219 220
	select SUPPORT_SPL
	select PHYS_64BIT

221 222 223 224 225 226
config TARGET_T1040D4RDB
	bool "Support T1040D4RDB"
	select ARCH_T1040
	select SUPPORT_SPL
	select PHYS_64BIT

227 228
config TARGET_T1042RDB
	bool "Support T1042RDB"
229
	select ARCH_T1042
M
Masahiro Yamada 已提交
230
	select SUPPORT_SPL
231
	select PHYS_64BIT
232

233 234 235 236 237 238
config TARGET_T1042D4RDB
	bool "Support T1042D4RDB"
	select ARCH_T1042
	select SUPPORT_SPL
	select PHYS_64BIT

239 240 241 242 243 244
config TARGET_T1042RDB_PI
	bool "Support T1042RDB_PI"
	select ARCH_T1042
	select SUPPORT_SPL
	select PHYS_64BIT

245 246
config TARGET_T2080QDS
	bool "Support T2080QDS"
247
	select ARCH_T2080
M
Masahiro Yamada 已提交
248
	select SUPPORT_SPL
249
	select PHYS_64BIT
250

251 252
config TARGET_T2080RDB
	bool "Support T2080RDB"
253
	select ARCH_T2080
M
Masahiro Yamada 已提交
254
	select SUPPORT_SPL
255
	select PHYS_64BIT
256

257 258
config TARGET_T2081QDS
	bool "Support T2081QDS"
259
	select ARCH_T2081
260 261 262
	select SUPPORT_SPL
	select PHYS_64BIT

263 264
config TARGET_T4160QDS
	bool "Support T4160QDS"
265
	select ARCH_T4160
266 267 268
	select SUPPORT_SPL
	select PHYS_64BIT

269 270
config TARGET_T4160RDB
	bool "Support T4160RDB"
271
	select ARCH_T4160
272 273 274
	select SUPPORT_SPL
	select PHYS_64BIT

275 276
config TARGET_T4240QDS
	bool "Support T4240QDS"
277
	select ARCH_T4240
M
Masahiro Yamada 已提交
278
	select SUPPORT_SPL
279
	select PHYS_64BIT
280 281 282

config TARGET_T4240RDB
	bool "Support T4240RDB"
283
	select ARCH_T4240
284
	select SUPPORT_SPL
285
	select PHYS_64BIT
286 287 288

config TARGET_CONTROLCENTERD
	bool "Support controlcenterd"
289
	select ARCH_P1022
290 291 292

config TARGET_KMP204X
	bool "Support kmp204x"
293
	select ARCH_P2041
294
	select PHYS_64BIT
295 296 297

config TARGET_XPEDITE520X
	bool "Support xpedite520x"
298
	select ARCH_MPC8548
299 300 301

config TARGET_XPEDITE537X
	bool "Support xpedite537x"
302
	select ARCH_MPC8572
303 304 305

config TARGET_XPEDITE550X
	bool "Support xpedite550x"
306
	select ARCH_P2020
307

308 309
config TARGET_UCP1020
	bool "Support uCP1020"
310
	select ARCH_P1020
311

312 313 314 315 316 317 318 319
config TARGET_CYRUS_P5020
	bool "Support Varisys Cyrus P5020"
	select ARCH_P5020
	select PHYS_64BIT

config TARGET_CYRUS_P5040
	 bool "Support Varisys Cyrus P5040"
	select ARCH_P5040
320
	select PHYS_64BIT
321

322 323
endchoice

324 325
config ARCH_B4420
	bool
326
	select FSL_LAW
327

328 329
config ARCH_B4860
	bool
330
	select FSL_LAW
331

332 333
config ARCH_BSC9131
	bool
334
	select FSL_LAW
335 336 337

config ARCH_BSC9132
	bool
338
	select FSL_LAW
339

340 341
config ARCH_C29X
	bool
342
	select FSL_LAW
343

344 345
config ARCH_MPC8536
	bool
346
	select FSL_LAW
347

348 349
config ARCH_MPC8540
	bool
350
	select FSL_LAW
351

352 353
config ARCH_MPC8541
	bool
354
	select FSL_LAW
355

356 357
config ARCH_MPC8544
	bool
358
	select FSL_LAW
359

360 361
config ARCH_MPC8548
	bool
362
	select FSL_LAW
363

364 365
config ARCH_MPC8555
	bool
366
	select FSL_LAW
367

368 369
config ARCH_MPC8560
	bool
370
	select FSL_LAW
371

372 373
config ARCH_MPC8568
	bool
374
	select FSL_LAW
375

376 377
config ARCH_MPC8569
	bool
378
	select FSL_LAW
379

380 381
config ARCH_MPC8572
	bool
382
	select FSL_LAW
383

384 385
config ARCH_P1010
	bool
386
	select FSL_LAW
387

388 389
config ARCH_P1011
	bool
390
	select FSL_LAW
391

392 393
config ARCH_P1020
	bool
394
	select FSL_LAW
395

396 397
config ARCH_P1021
	bool
398
	select FSL_LAW
399

400 401
config ARCH_P1022
	bool
402
	select FSL_LAW
403

404 405
config ARCH_P1023
	bool
406
	select FSL_LAW
407

Y
York Sun 已提交
408 409
config ARCH_P1024
	bool
410
	select FSL_LAW
Y
York Sun 已提交
411

412 413
config ARCH_P1025
	bool
414
	select FSL_LAW
415

416 417
config ARCH_P2020
	bool
418
	select FSL_LAW
419

420 421
config ARCH_P2041
	bool
422
	select FSL_LAW
423

424 425
config ARCH_P3041
	bool
426
	select FSL_LAW
427

428 429
config ARCH_P4080
	bool
430
	select FSL_LAW
431

432 433
config ARCH_P5020
	bool
434
	select FSL_LAW
435

436 437
config ARCH_P5040
	bool
438
	select FSL_LAW
439

440 441 442
config ARCH_QEMU_E500
	bool

443 444
config ARCH_T1023
	bool
445
	select FSL_LAW
446

447 448
config ARCH_T1024
	bool
449
	select FSL_LAW
450

451 452
config ARCH_T1040
	bool
453
	select FSL_LAW
454

455 456
config ARCH_T1042
	bool
457
	select FSL_LAW
458

459 460
config ARCH_T2080
	bool
461
	select FSL_LAW
462 463 464

config ARCH_T2081
	bool
465
	select FSL_LAW
466

467 468
config ARCH_T4160
	bool
469
	select FSL_LAW
470

471 472
config ARCH_T4240
	bool
473 474 475 476 477 478
	select FSL_LAW

config FSL_LAW
	bool
	help
		Use Freescale common code for Local Access Window
479

480 481 482 483 484 485
config SECURE_BOOT
	bool	"Secure Boot"
	help
		Enable Freescale Secure Boot feature. Normally selected
		by defconfig. If unsure, do not change.

486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521
config MAX_CPUS
	int "Maximum number of CPUs permitted for MPC85xx"
	default 12 if ARCH_T4240
	default 8 if ARCH_P4080 || \
		     ARCH_T4160
	default 4 if ARCH_B4860 || \
		     ARCH_P2041 || \
		     ARCH_P3041 || \
		     ARCH_P5040 || \
		     ARCH_T1040 || \
		     ARCH_T1042 || \
		     ARCH_T2080 || \
		     ARCH_T2081
	default 2 if ARCH_B4420 || \
		     ARCH_BSC9132 || \
		     ARCH_MPC8572 || \
		     ARCH_P1020 || \
		     ARCH_P1021 || \
		     ARCH_P1022 || \
		     ARCH_P1023 || \
		     ARCH_P1024 || \
		     ARCH_P1025 || \
		     ARCH_P2020 || \
		     ARCH_P5020 || \
		     ARCH_T1020 || \
		     ARCH_T1022 || \
		     ARCH_T1023 || \
		     ARCH_T1024
	default 1
	help
	  Set this number to the maximum number of possible CPUs in the SoC.
	  SoCs may have multiple clusters with each cluster may have multiple
	  ports. If some ports are reserved but higher ports are used for
	  cores, count the reserved ports. This will allocate enough memory
	  in spin table to properly handle all cores.

522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571
config SYS_CCSRBAR_DEFAULT
	hex "Default CCSRBAR address"
	default	0xff700000 if	ARCH_BSC9131	|| \
				ARCH_BSC9132	|| \
				ARCH_C29X	|| \
				ARCH_MPC8536	|| \
				ARCH_MPC8540	|| \
				ARCH_MPC8541	|| \
				ARCH_MPC8544	|| \
				ARCH_MPC8548	|| \
				ARCH_MPC8555	|| \
				ARCH_MPC8560	|| \
				ARCH_MPC8568	|| \
				ARCH_MPC8569	|| \
				ARCH_MPC8572	|| \
				ARCH_P1010	|| \
				ARCH_P1011	|| \
				ARCH_P1020	|| \
				ARCH_P1021	|| \
				ARCH_P1022	|| \
				ARCH_P1024	|| \
				ARCH_P1025	|| \
				ARCH_P2020
	default 0xff600000 if	ARCH_P1023
	default 0xfe000000 if	ARCH_B4420	|| \
				ARCH_B4860	|| \
				ARCH_P2041	|| \
				ARCH_P3041	|| \
				ARCH_P4080	|| \
				ARCH_P5020	|| \
				ARCH_P5040	|| \
				ARCH_T1013	|| \
				ARCH_T1014	|| \
				ARCH_T1020	|| \
				ARCH_T1022	|| \
				ARCH_T1023	|| \
				ARCH_T1024	|| \
				ARCH_T1040	|| \
				ARCH_T1042	|| \
				ARCH_T2080	|| \
				ARCH_T2081	|| \
				ARCH_T4160	|| \
				ARCH_T4240
	default 0xe0000000 if ARCH_QEMU_E500
	help
		Default value of CCSRBAR comes from power-on-reset. It
		is fixed on each SoC. Some SoCs can have different value
		if changed by pre-boot regime. The value here must match
		the current value in SoC. If not sure, do not change.

572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593
source "board/freescale/b4860qds/Kconfig"
source "board/freescale/bsc9131rdb/Kconfig"
source "board/freescale/bsc9132qds/Kconfig"
source "board/freescale/c29xpcie/Kconfig"
source "board/freescale/corenet_ds/Kconfig"
source "board/freescale/mpc8536ds/Kconfig"
source "board/freescale/mpc8540ads/Kconfig"
source "board/freescale/mpc8541cds/Kconfig"
source "board/freescale/mpc8544ds/Kconfig"
source "board/freescale/mpc8548cds/Kconfig"
source "board/freescale/mpc8555cds/Kconfig"
source "board/freescale/mpc8560ads/Kconfig"
source "board/freescale/mpc8568mds/Kconfig"
source "board/freescale/mpc8569mds/Kconfig"
source "board/freescale/mpc8572ds/Kconfig"
source "board/freescale/p1010rdb/Kconfig"
source "board/freescale/p1022ds/Kconfig"
source "board/freescale/p1023rdb/Kconfig"
source "board/freescale/p1_p2_rdb_pc/Kconfig"
source "board/freescale/p1_twr/Kconfig"
source "board/freescale/p2041rdb/Kconfig"
source "board/freescale/qemu-ppce500/Kconfig"
594
source "board/freescale/t102xqds/Kconfig"
595
source "board/freescale/t102xrdb/Kconfig"
596 597 598 599 600 601 602 603 604 605
source "board/freescale/t1040qds/Kconfig"
source "board/freescale/t104xrdb/Kconfig"
source "board/freescale/t208xqds/Kconfig"
source "board/freescale/t208xrdb/Kconfig"
source "board/freescale/t4qds/Kconfig"
source "board/freescale/t4rdb/Kconfig"
source "board/gdsys/p1022/Kconfig"
source "board/keymile/kmp204x/Kconfig"
source "board/sbc8548/Kconfig"
source "board/socrates/Kconfig"
606
source "board/varisys/cyrus/Kconfig"
607 608 609
source "board/xes/xpedite520x/Kconfig"
source "board/xes/xpedite537x/Kconfig"
source "board/xes/xpedite550x/Kconfig"
610
source "board/Arcturus/ucp1020/Kconfig"
611 612

endmenu