Merge ../linux-2.6/
[sfrench/cifs-2.6.git] / arch / arm / mach-s3c2410 / Kconfig
1 if ARCH_S3C2410
2
3 menu "S3C24XX Implementations"
4
5 config MACH_ANUBIS
6         bool "Simtec Electronics ANUBIS"
7         select CPU_S3C2440
8         help
9           Say Y gere if you are using the Simtec Electronics ANUBIS
10           development system
11
12 config MACH_OSIRIS
13         bool "Simtec IM2440D20 (OSIRIS) module"
14         select CPU_S3C2440
15         help
16           Say Y here if you are using the Simtec IM2440D20 module, also
17           known as the Osiris.
18
19 config ARCH_BAST
20         bool "Simtec Electronics BAST (EB2410ITX)"
21         select CPU_S3C2410
22         select ISA
23         help
24           Say Y here if you are using the Simtec Electronics EB2410ITX
25           development board (also known as BAST)
26
27           Product page: <http://www.simtec.co.uk/products/EB2410ITX/>.
28
29 config BAST_PC104_IRQ
30         bool "BAST PC104 IRQ support"
31         depends on ARCH_BAST
32         default y
33         help
34           Say Y here to enable the PC104 IRQ routing on the
35           Simtec BAST (EB2410ITX)
36
37 config ARCH_H1940
38         bool "IPAQ H1940"
39         select CPU_S3C2410
40         help
41           Say Y here if you are using the HP IPAQ H1940
42
43           <http://www.handhelds.org/projects/h1940.html>.
44
45 config MACH_N30
46         bool "Acer N30"
47         select CPU_S3C2410
48         help
49           Say Y here if you are using the Acer N30
50
51           <http://zoo.weinigel.se/n30>.
52
53 config MACH_SMDK
54         bool
55         help
56           Common machine code for SMDK2410 and SMDK2440
57
58 config ARCH_SMDK2410
59         bool "SMDK2410/A9M2410"
60         select CPU_S3C2410
61         select MACH_SMDK
62         help
63            Say Y here if you are using the SMDK2410 or the derived module A9M2410
64            <http://www.fsforth.de>
65
66 config ARCH_S3C2440
67         bool "SMDK2440"
68         select CPU_S3C2440
69         select MACH_SMDK
70         help
71           Say Y here if you are using the SMDK2440.
72
73 config SMDK2440_CPU2440
74         bool "SMDK2440 with S3C2440 CPU module"
75         depends on ARCH_S3C2440
76         default y if ARCH_S3C2440
77         select CPU_S3C2440
78
79 config SMDK2440_CPU2442
80         bool "SMDM2440 with S3C2442 CPU module"
81         depends on ARCH_S3C2440
82         select CPU_S3C2442
83
84 config MACH_SMDK2413
85         bool "SMDK2413"
86         select CPU_S3C2412
87         select MACH_SMDK
88         help
89           Say Y here if you are using an SMDK2413
90
91 config MACH_VR1000
92         bool "Thorcom VR1000"
93         select CPU_S3C2410
94         help
95           Say Y here if you are using the Thorcom VR1000 board.
96
97           This linux port is currently being maintained by Simtec, on behalf
98           of Thorcom. Any queries, please contact Thorcom first.
99
100 config MACH_RX3715
101         bool "HP iPAQ rx3715"
102         select CPU_S3C2440
103         help
104           Say Y here if you are using the HP iPAQ rx3715.
105
106           See <http://www.handhelds.org/projects/rx3715.html> for more
107           information on this project
108
109 config MACH_OTOM
110         bool "NexVision OTOM Board"
111         select CPU_S3C2410
112         help
113           Say Y here if you are using the Nex Vision OTOM board
114
115 config MACH_NEXCODER_2440
116         bool "NexVision NEXCODER 2440 Light Board"
117         select CPU_S3C2440
118         help
119           Say Y here if you are using the Nex Vision NEXCODER 2440 Light Board
120
121 endmenu
122
123 config S3C2410_CLOCK
124         bool
125         help
126           Clock code for the S3C2410, and similar processors
127
128 config CPU_S3C2410
129         bool
130         depends on ARCH_S3C2410
131         select S3C2410_CLOCK
132         help
133           Support for S3C2410 and S3C2410A family from the S3C24XX line
134           of Samsung Mobile CPUs.
135
136 # internal node to signify if we are only dealing with an S3C2412
137
138 config CPU_S3C2412_ONLY
139         bool
140         depends on ARCH_S3C2410 && !CPU_S3C2400 && !CPU_S3C2410 && \
141                    !CPU_S3C2440 && !CPU_S3C2442 && CPU_S3C2412
142         default y if CPU_S3C2412
143
144 config CPU_S3C2412
145         bool
146         depends on ARCH_S3C2410
147         help
148           Support for the S3C2412 and S3C2413 SoCs from the S3C24XX line
149
150 config CPU_S3C244X
151         bool
152         depends on ARCH_S3C2410 && (CPU_S3C2440 || CPU_S3C2442)
153         help
154           Support for S3C2440 and S3C2442 Samsung Mobile CPU based systems.
155
156 config CPU_S3C2440
157         bool
158         depends on ARCH_S3C2410
159         select S3C2410_CLOCK
160         select CPU_S3C244X
161         help
162           Support for S3C2440 Samsung Mobile CPU based systems.
163
164 config CPU_S3C2442
165         bool
166         depends on ARCH_S3C2420
167         select S3C2410_CLOCK
168         select CPU_S3C244X
169         help
170           Support for S3C2442 Samsung Mobile CPU based systems.
171
172 comment "S3C2410 Boot"
173
174 config S3C2410_BOOT_WATCHDOG
175         bool "S3C2410 Initialisation watchdog"
176         depends on ARCH_S3C2410 && S3C2410_WATCHDOG
177         help
178           Say y to enable the watchdog during the kernel decompression
179           stage. If the kernel fails to uncompress, then the watchdog
180           will trigger a reset and the system should restart.
181
182           Although this uses the same hardware unit as the kernel watchdog
183           driver, it is not a replacement for it. If you use this option,
184           you will have to use the watchdg driver to either stop the timeout
185           or restart it. If you do not, then your kernel will reboot after
186           startup.
187
188           The driver uses a fixed timeout value, so the exact time till the
189           system resets depends on the value of PCLK. The timeout on an
190           200MHz s3c2410 should be about 30 seconds.
191
192 config S3C2410_BOOT_ERROR_RESET
193         bool "S3C2410 Reboot on decompression error"
194         depends on ARCH_S3C2410
195         help
196           Say y here to use the watchdog to reset the system if the
197           kernel decompressor detects an error during decompression.
198
199
200 comment "S3C2410 Setup"
201
202 config S3C2410_DMA
203         bool "S3C2410 DMA support"
204         depends on ARCH_S3C2410
205         help
206           S3C2410 DMA support. This is needed for drivers like sound which
207           use the S3C2410's DMA system to move data to and from the
208           peripheral blocks.
209
210 config S3C2410_DMA_DEBUG
211         bool "S3C2410 DMA support debug"
212         depends on ARCH_S3C2410 && S3C2410_DMA
213         help
214           Enable debugging output for the DMA code. This option sends info
215           to the kernel log, at priority KERN_DEBUG.
216
217           Note, it is easy to create and fill the log buffer in a small
218           amount of time, as well as using an significant percentage of
219           the CPU time doing so.
220
221
222 config S3C2410_PM_DEBUG
223         bool "S3C2410 PM Suspend debug"
224         depends on ARCH_S3C2410 && PM
225         help
226           Say Y here if you want verbose debugging from the PM Suspend and
227           Resume code. See <file:Documentation/arm/Samsung-S3C24XX/Suspend.txt>
228           for more information.
229
230 config S3C2410_PM_CHECK
231         bool "S3C2410 PM Suspend Memory CRC"
232         depends on ARCH_S3C2410 && PM && CRC32
233         help
234           Enable the PM code's memory area checksum over sleep. This option
235           will generate CRCs of all blocks of memory, and store them before
236           going to sleep. The blocks are then checked on resume for any
237           errors.
238
239 config S3C2410_PM_CHECK_CHUNKSIZE
240         int "S3C2410 PM Suspend CRC Chunksize (KiB)"
241         depends on ARCH_S3C2410 && PM && S3C2410_PM_CHECK
242         default 64
243         help
244           Set the chunksize in Kilobytes of the CRC for checking memory
245           corruption over suspend and resume. A smaller value will mean that
246           the CRC data block will take more memory, but wil identify any
247           faults with better precision.
248
249 config PM_SIMTEC
250         bool
251         depends on PM && (ARCH_BAST || MACH_VR1000)
252         default y
253
254 config S3C2410_LOWLEVEL_UART_PORT
255         int "S3C2410 UART to use for low-level messages"
256         default 0
257         help
258           Choice of which UART port to use for the low-level messages,
259           such as the `Uncompressing...` at start time. The value of
260           this configuration should be between zero and two. The port
261           must have been initialised by the boot-loader before use.
262
263           Note, this does not affect the port used by the debug messages,
264           which is a separate configuration.
265
266 endif