blob: bfd903bc1073f6c847fc8166768a29e2a2ebb94c [file] [log] [blame]
Christophe Leroy069fa832017-07-06 10:23:22 +02001menu "mpc8xx CPU"
Christophe Leroyb3510fb2018-03-16 17:20:41 +01002 depends on MPC8xx
Christophe Leroy069fa832017-07-06 10:23:22 +02003
4config SYS_CPU
5 default "mpc8xx"
6
7choice
8 prompt "Target select"
9 optional
10
Christophe Leroy35982952017-07-07 10:16:42 +020011config TARGET_MCR3000
12 bool "Support MCR3000 board from CSSI"
13
Christophe Leroy1fc46f52022-10-14 12:54:50 +020014config TARGET_CMPC885
15 bool "Support CMPC885 board from CSSI"
16
Christophe Leroy069fa832017-07-06 10:23:22 +020017endchoice
18
Christophe Leroy23da3732017-07-06 10:33:21 +020019choice
20 prompt "CPU select"
21 default MPC866
22
23config MPC866
24 bool "MPC866"
Tom Rini3ef67ae2021-08-26 11:47:59 -040025 select SYS_CACHE_SHIFT_4
Christophe Leroy23da3732017-07-06 10:33:21 +020026
27config MPC885
28 bool "MPC885"
Tom Rini3ef67ae2021-08-26 11:47:59 -040029 select SYS_CACHE_SHIFT_4
Christophe Leroy23da3732017-07-06 10:33:21 +020030
31endchoice
32
Christophe Leroyba4dafb2017-07-06 10:33:09 +020033comment "Specific commands"
34
35config CMD_IMMAP
36 bool "Enable various commands to dump IMMR information"
37 help
38 This enables various commands such as:
39
40 siuinfo - print System Interface Unit (SIU) registers
41 memcinfo - print Memory Controller registers
Christophe Leroy23da3732017-07-06 10:33:21 +020042
43comment "Configuration Registers"
44
45config SYS_SIUMCR
46 hex "SIUMCR register"
47 help
48 SIU Module Configuration (11-6)
49
50config SYS_SYPCR
Christophe Leroy0fe1a202023-04-03 10:27:39 +020051 hex "SYPCR register" if !WDT_MPC8xxx
52 default 0
Christophe Leroy23da3732017-07-06 10:33:21 +020053 help
54 System Protection Control (11-9)
55
56config SYS_TBSCR
57 hex "TBSCR register"
58 help
59 Time Base Status and Control (11-26)
60
61config SYS_PISCR
62 hex "PISCR register"
63 help
64 Periodic Interrupt Status and Control (11-31)
65
66config SYS_PLPRCR_BOOL
67 bool "Customise PLPRCR"
68
69config SYS_PLPRCR
70 hex "PLPRCR register"
71 depends on SYS_PLPRCR_BOOL
72 help
73 PLL, Low-Power, and Reset Control Register (15-30)
74
75config SYS_SCCR
76 hex "SCCR register"
77 help
78 System Clock and reset Control Register (15-27)
79
80config SYS_SCCR_MASK
81 hex "MASK for setting SCCR register"
82
83config SYS_DER
84 hex "DER register"
85 help
86 Debug Event Register (37-47)
87
Christophe Leroy5fb0b632023-01-30 09:11:03 +010088source "board/cssi/mcr3000/Kconfig"
Christophe Leroy35982952017-07-07 10:16:42 +020089
Christophe Leroy1fc46f52022-10-14 12:54:50 +020090source "board/cssi/cmpc885/Kconfig"
Christophe Leroy069fa832017-07-06 10:23:22 +020091endmenu