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