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