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