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