xref: /openbmc/u-boot/arch/powerpc/cpu/mpc8xx/Kconfig (revision b1e41d1ceedf0fe90c7873bf9dfddd3690ccc11d)
1907208c4SChristophe Leroymenu "mpc8xx CPU"
2907208c4SChristophe Leroy	depends on 8xx
3907208c4SChristophe Leroy
4907208c4SChristophe Leroyconfig SYS_CPU
5907208c4SChristophe Leroy	default "mpc8xx"
6907208c4SChristophe Leroy
7907208c4SChristophe Leroychoice
8907208c4SChristophe Leroy	prompt "Target select"
9907208c4SChristophe Leroy	optional
10907208c4SChristophe Leroy
11907208c4SChristophe Leroyendchoice
12907208c4SChristophe Leroy
13*b1e41d1cSChristophe Leroychoice
14*b1e41d1cSChristophe Leroy	prompt "CPU select"
15*b1e41d1cSChristophe Leroy	default MPC866
16*b1e41d1cSChristophe Leroy
17*b1e41d1cSChristophe Leroyconfig MPC866
18*b1e41d1cSChristophe Leroy	bool "MPC866"
19*b1e41d1cSChristophe Leroy
20*b1e41d1cSChristophe Leroyconfig MPC885
21*b1e41d1cSChristophe Leroy	bool "MPC885"
22*b1e41d1cSChristophe Leroy
23*b1e41d1cSChristophe Leroyendchoice
24*b1e41d1cSChristophe Leroy
25*b1e41d1cSChristophe Leroyconfig 8xx_GCLK_FREQ
26*b1e41d1cSChristophe Leroy	int "CPU GCLK Frequency"
27*b1e41d1cSChristophe Leroy
28debd1f3cSChristophe Leroycomment "Specific commands"
29debd1f3cSChristophe Leroy
30debd1f3cSChristophe Leroyconfig CMD_IMMAP
31debd1f3cSChristophe Leroy	bool "Enable various commands to dump IMMR information"
32debd1f3cSChristophe Leroy	help
33debd1f3cSChristophe Leroy	  This enables various commands such as:
34debd1f3cSChristophe Leroy
35debd1f3cSChristophe Leroy	    siuinfo - print System Interface Unit (SIU) registers
36debd1f3cSChristophe Leroy	    memcinfo - print Memory Controller registers
37*b1e41d1cSChristophe Leroy
38*b1e41d1cSChristophe Leroycomment "Configuration Registers"
39*b1e41d1cSChristophe Leroy
40*b1e41d1cSChristophe Leroyconfig SYS_SIUMCR
41*b1e41d1cSChristophe Leroy	hex "SIUMCR register"
42*b1e41d1cSChristophe Leroy	help
43*b1e41d1cSChristophe Leroy	  SIU Module Configuration (11-6)
44*b1e41d1cSChristophe Leroy
45*b1e41d1cSChristophe Leroyconfig SYS_SYPCR
46*b1e41d1cSChristophe Leroy	hex "SYPCR register"
47*b1e41d1cSChristophe Leroy	help
48*b1e41d1cSChristophe Leroy	  System Protection Control (11-9)
49*b1e41d1cSChristophe Leroy
50*b1e41d1cSChristophe Leroyconfig SYS_TBSCR
51*b1e41d1cSChristophe Leroy	hex "TBSCR register"
52*b1e41d1cSChristophe Leroy	help
53*b1e41d1cSChristophe Leroy	  Time Base Status and Control (11-26)
54*b1e41d1cSChristophe Leroy
55*b1e41d1cSChristophe Leroyconfig SYS_PISCR
56*b1e41d1cSChristophe Leroy	hex "PISCR register"
57*b1e41d1cSChristophe Leroy	help
58*b1e41d1cSChristophe Leroy	  Periodic Interrupt Status and Control (11-31)
59*b1e41d1cSChristophe Leroy
60*b1e41d1cSChristophe Leroyconfig SYS_PLPRCR_BOOL
61*b1e41d1cSChristophe Leroy	bool "Customise PLPRCR"
62*b1e41d1cSChristophe Leroy
63*b1e41d1cSChristophe Leroyconfig SYS_PLPRCR
64*b1e41d1cSChristophe Leroy	hex "PLPRCR register"
65*b1e41d1cSChristophe Leroy	depends on SYS_PLPRCR_BOOL
66*b1e41d1cSChristophe Leroy	help
67*b1e41d1cSChristophe Leroy	  PLL, Low-Power, and Reset Control Register (15-30)
68*b1e41d1cSChristophe Leroy
69*b1e41d1cSChristophe Leroyconfig SYS_SCCR
70*b1e41d1cSChristophe Leroy	hex "SCCR register"
71*b1e41d1cSChristophe Leroy	help
72*b1e41d1cSChristophe Leroy	  System Clock and reset Control Register (15-27)
73*b1e41d1cSChristophe Leroy
74*b1e41d1cSChristophe Leroyconfig SYS_SCCR_MASK
75*b1e41d1cSChristophe Leroy	hex "MASK for setting SCCR register"
76*b1e41d1cSChristophe Leroy
77*b1e41d1cSChristophe Leroyconfig SYS_DER
78*b1e41d1cSChristophe Leroy	hex "DER register"
79*b1e41d1cSChristophe Leroy	help
80*b1e41d1cSChristophe Leroy	  Debug Event Register (37-47)
81*b1e41d1cSChristophe Leroy
82*b1e41d1cSChristophe Leroycomment "Memory mapping"
83*b1e41d1cSChristophe Leroy
84*b1e41d1cSChristophe Leroyconfig SYS_BR0_PRELIM
85*b1e41d1cSChristophe Leroy	hex "Preliminary value for BR0"
86*b1e41d1cSChristophe Leroy
87*b1e41d1cSChristophe Leroyconfig SYS_OR0_PRELIM
88*b1e41d1cSChristophe Leroy	hex "Preliminary value for OR0"
89*b1e41d1cSChristophe Leroy
90*b1e41d1cSChristophe Leroyconfig SYS_BR1_PRELIM_BOOL
91*b1e41d1cSChristophe Leroy	bool "Define Bank 1"
92*b1e41d1cSChristophe Leroy
93*b1e41d1cSChristophe Leroyconfig SYS_BR1_PRELIM
94*b1e41d1cSChristophe Leroy	hex "Preliminary value for BR1"
95*b1e41d1cSChristophe Leroy	depends on SYS_BR1_PRELIM_BOOL
96*b1e41d1cSChristophe Leroy
97*b1e41d1cSChristophe Leroyconfig SYS_OR1_PRELIM
98*b1e41d1cSChristophe Leroy	hex "Preliminary value for OR1"
99*b1e41d1cSChristophe Leroy	depends on SYS_BR1_PRELIM_BOOL
100*b1e41d1cSChristophe Leroy
101*b1e41d1cSChristophe Leroyconfig SYS_BR2_PRELIM_BOOL
102*b1e41d1cSChristophe Leroy	bool "Define Bank 2"
103*b1e41d1cSChristophe Leroy
104*b1e41d1cSChristophe Leroyconfig SYS_BR2_PRELIM
105*b1e41d1cSChristophe Leroy	hex "Preliminary value for BR2"
106*b1e41d1cSChristophe Leroy	depends on SYS_BR2_PRELIM_BOOL
107*b1e41d1cSChristophe Leroy
108*b1e41d1cSChristophe Leroyconfig SYS_OR2_PRELIM
109*b1e41d1cSChristophe Leroy	hex "Preliminary value for OR2"
110*b1e41d1cSChristophe Leroy	depends on SYS_BR2_PRELIM_BOOL
111*b1e41d1cSChristophe Leroy
112*b1e41d1cSChristophe Leroyconfig SYS_BR3_PRELIM_BOOL
113*b1e41d1cSChristophe Leroy	bool "Define Bank 3"
114*b1e41d1cSChristophe Leroy
115*b1e41d1cSChristophe Leroyconfig SYS_BR3_PRELIM
116*b1e41d1cSChristophe Leroy	hex "Preliminary value for BR3"
117*b1e41d1cSChristophe Leroy	depends on SYS_BR3_PRELIM_BOOL
118*b1e41d1cSChristophe Leroy
119*b1e41d1cSChristophe Leroyconfig SYS_OR3_PRELIM
120*b1e41d1cSChristophe Leroy	hex "Preliminary value for OR3"
121*b1e41d1cSChristophe Leroy	depends on SYS_BR3_PRELIM_BOOL
122*b1e41d1cSChristophe Leroy
123*b1e41d1cSChristophe Leroyconfig SYS_BR4_PRELIM_BOOL
124*b1e41d1cSChristophe Leroy	bool "Define Bank 4"
125*b1e41d1cSChristophe Leroy
126*b1e41d1cSChristophe Leroyconfig SYS_BR4_PRELIM
127*b1e41d1cSChristophe Leroy	hex "Preliminary value for BR4"
128*b1e41d1cSChristophe Leroy	depends on SYS_BR4_PRELIM_BOOL
129*b1e41d1cSChristophe Leroy
130*b1e41d1cSChristophe Leroyconfig SYS_OR4_PRELIM
131*b1e41d1cSChristophe Leroy	hex "Preliminary value for OR4"
132*b1e41d1cSChristophe Leroy	depends on SYS_BR4_PRELIM_BOOL
133*b1e41d1cSChristophe Leroy
134*b1e41d1cSChristophe Leroyconfig SYS_BR5_PRELIM_BOOL
135*b1e41d1cSChristophe Leroy	bool "Define Bank 5"
136*b1e41d1cSChristophe Leroy
137*b1e41d1cSChristophe Leroyconfig SYS_BR5_PRELIM
138*b1e41d1cSChristophe Leroy	hex "Preliminary value for BR5"
139*b1e41d1cSChristophe Leroy	depends on SYS_BR5_PRELIM_BOOL
140*b1e41d1cSChristophe Leroy
141*b1e41d1cSChristophe Leroyconfig SYS_OR5_PRELIM
142*b1e41d1cSChristophe Leroy	hex "Preliminary value for OR5"
143*b1e41d1cSChristophe Leroy	depends on SYS_BR5_PRELIM_BOOL
144*b1e41d1cSChristophe Leroy
145*b1e41d1cSChristophe Leroyconfig SYS_BR6_PRELIM_BOOL
146*b1e41d1cSChristophe Leroy	bool "Define Bank 6"
147*b1e41d1cSChristophe Leroy
148*b1e41d1cSChristophe Leroyconfig SYS_BR6_PRELIM
149*b1e41d1cSChristophe Leroy	hex "Preliminary value for BR6"
150*b1e41d1cSChristophe Leroy	depends on SYS_BR6_PRELIM_BOOL
151*b1e41d1cSChristophe Leroy
152*b1e41d1cSChristophe Leroyconfig SYS_OR6_PRELIM
153*b1e41d1cSChristophe Leroy	hex "Preliminary value for OR6"
154*b1e41d1cSChristophe Leroy	depends on SYS_BR6_PRELIM_BOOL
155*b1e41d1cSChristophe Leroy
156*b1e41d1cSChristophe Leroyconfig SYS_BR7_PRELIM_BOOL
157*b1e41d1cSChristophe Leroy	bool "Define Bank 7"
158*b1e41d1cSChristophe Leroy
159*b1e41d1cSChristophe Leroyconfig SYS_BR7_PRELIM
160*b1e41d1cSChristophe Leroy	hex "Preliminary value for BR7"
161*b1e41d1cSChristophe Leroy	depends on SYS_BR7_PRELIM_BOOL
162*b1e41d1cSChristophe Leroy
163*b1e41d1cSChristophe Leroyconfig SYS_OR7_PRELIM
164*b1e41d1cSChristophe Leroy	hex "Preliminary value for OR7"
165*b1e41d1cSChristophe Leroy	depends on SYS_BR7_PRELIM_BOOL
166*b1e41d1cSChristophe Leroy
167*b1e41d1cSChristophe Leroyconfig SYS_IMMR
168*b1e41d1cSChristophe Leroy	hex "Value for IMMR"
169*b1e41d1cSChristophe Leroy
170907208c4SChristophe Leroyendmenu
171