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