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