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