Merge ../to-linus-stable/
[sfrench/cifs-2.6.git] / arch / h8300 / Kconfig.cpu
1 menu "Processor type and features"
2
3 choice
4         prompt "H8/300 platform"
5         default H8300H_GENERIC
6
7 config H8300H_GENERIC
8         bool "H8/300H Generic"
9         help
10           H8/300H CPU Generic Hardware Support
11
12 config H8300H_AKI3068NET
13         bool "AE-3068/69"
14         help
15           AKI-H8/3068F / AKI-H8/3069F Flashmicom LAN Board Support
16           More Information. (Japanese Only)
17           <http://akizukidensi.com/catalog/h8.html>
18           AE-3068/69 Evaluation Board Support
19           More Information.
20           <http://www.microtronique.com/ae3069lan.htm>
21
22 config H8300H_H8MAX
23         bool "H8MAX"
24         help
25           H8MAX Evaluation Board Support
26           More Information. (Japanese Only)
27           <http://strawberry-linux.com/h8/index.html>
28
29 config H8300H_SIM
30         bool "H8/300H Simulator"
31         help
32           GDB Simulator Support
33           More Information.
34           arch/h8300/Doc/simulator.txt
35
36 config H8S_GENERIC
37         bool "H8S Generic"
38         help
39           H8S CPU Generic Hardware Support
40
41 config H8S_EDOSK2674
42         bool "EDOSK-2674"
43         help
44           Renesas EDOSK-2674 Evaluation Board Support
45           More Information.
46           <http://www.azpower.com/H8-uClinux/index.html>
47           <http://www.eu.renesas.com/tools/edk/support/edosk2674.html>
48
49 config H8S_SIM
50         bool "H8S Simulator"
51         help
52           GDB Simulator Support
53           More Information.
54           arch/h8300/Doc/simulator.txt
55
56 endchoice
57
58 if (H8300H_GENERIC || H8S_GENERIC)
59 menu "Detail Selection"
60 if (H8300H_GENERIC)
61 choice
62         prompt "CPU Selection"
63
64 config H83002
65         bool "H8/3001,3002,3003"
66
67 config H83007
68         bool "H8/3006,3007"
69
70 config H83048
71         bool "H8/3044,3045,3046,3047,3048,3052"
72
73 config H83068
74         bool "H8/3065,3066,3067,3068,3069"
75 endchoice
76 endif
77
78 if (H8S_GENERIC)
79 choice
80         prompt "CPU Selection"
81
82 config H8S2678
83         bool "H8S/2670,2673,2674R,2675,2676"
84 endchoice
85 endif
86
87 config CPU_CLOCK
88         int "CPU Clock Frequency (/1KHz)"
89         default "20000"
90         help
91           CPU Clock Frequency divide to 1000
92 endmenu
93 endif
94
95 if (H8300H_GENERIC || H8S_GENERIC || H8300H_SIM || H8S_SIM || H8S_EDOSK2674)
96 choice
97         prompt "Kernel executes from"
98         ---help---
99           Choose the memory type that the kernel will be running in.
100
101 config RAMKERNEL
102         bool "RAM"
103         help
104           The kernel will be resident in RAM when running.
105
106 config ROMKERNEL
107         bool "ROM"
108         help
109           The kernel will be resident in FLASH/ROM when running.
110
111 endchoice
112 endif
113
114 if (H8300H_AKI3068NET)
115 config H83068
116         bool
117         default y
118
119 config CPU_CLOCK
120         int
121         default "20000"
122
123 config RAMKERNEL
124         bool
125         default y
126 endif
127
128 if (H8300H_H8MAX)
129 config H83068
130         bool
131         default y
132
133 config CPU_CLOCK
134         int
135         default 25000
136
137 config RAMKERNEL
138         bool
139         default y
140 endif
141
142 if (H8300H_SIM)
143 config H83007
144         bool
145         default y
146
147 config CPU_CLOCK
148         int
149         default "16000"
150 endif
151
152 if (H8S_EDOSK2674)
153 config H8S2678
154         bool
155         default y
156 config CPU_CLOCK
157         int
158         default 33000
159 endif
160
161 if (H8S_SIM)
162 config H8S2678
163         bool
164         default y
165 config CPU_CLOCK
166         int
167         default 33000
168 endif
169
170 config CPU_H8300H
171         bool
172         depends on (H8002 || H83007 || H83048 || H83068)
173         default y
174
175 config CPU_H8S
176         bool
177         depends on H8S2678
178         default y
179
180 config PREEMPT
181         bool "Preemptible Kernel"
182         default n
183
184 source "mm/Kconfig"
185
186 endmenu