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