Merge branch 'devel' of master.kernel.org:/home/rmk/linux-2.6-mmc
[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_S3C2413
85         bool
86         help
87           Internal node for S3C2413 verison of SMDK2413, so that
88           machine_is_s3c2413() will work when MACH_SMDK2413 is
89           selected
90
91 config MACH_SMDK2413
92         bool "SMDK2413"
93         select CPU_S3C2412
94         select MACH_S3C2413
95         select MACH_SMDK
96         help
97           Say Y here if you are using an SMDK2413
98
99 config MACH_VR1000
100         bool "Thorcom VR1000"
101         select CPU_S3C2410
102         help
103           Say Y here if you are using the Thorcom VR1000 board.
104
105           This linux port is currently being maintained by Simtec, on behalf
106           of Thorcom. Any queries, please contact Thorcom first.
107
108 config MACH_RX3715
109         bool "HP iPAQ rx3715"
110         select CPU_S3C2440
111         help
112           Say Y here if you are using the HP iPAQ rx3715.
113
114           See <http://www.handhelds.org/projects/rx3715.html> for more
115           information on this project
116
117 config MACH_OTOM
118         bool "NexVision OTOM Board"
119         select CPU_S3C2410
120         help
121           Say Y here if you are using the Nex Vision OTOM board
122
123 config MACH_NEXCODER_2440
124         bool "NexVision NEXCODER 2440 Light Board"
125         select CPU_S3C2440
126         help
127           Say Y here if you are using the Nex Vision NEXCODER 2440 Light Board
128
129 endmenu
130
131 config S3C2410_CLOCK
132         bool
133         help
134           Clock code for the S3C2410, and similar processors
135
136 config CPU_S3C2410
137         bool
138         depends on ARCH_S3C2410
139         select S3C2410_CLOCK
140         help
141           Support for S3C2410 and S3C2410A family from the S3C24XX line
142           of Samsung Mobile CPUs.
143
144 # internal node to signify if we are only dealing with an S3C2412
145
146 config CPU_S3C2412_ONLY
147         bool
148         depends on ARCH_S3C2410 && !CPU_S3C2400 && !CPU_S3C2410 && \
149                    !CPU_S3C2440 && !CPU_S3C2442 && CPU_S3C2412
150         default y if CPU_S3C2412
151
152 config CPU_S3C2412
153         bool
154         depends on ARCH_S3C2410
155         help
156           Support for the S3C2412 and S3C2413 SoCs from the S3C24XX line
157
158 config CPU_S3C244X
159         bool
160         depends on ARCH_S3C2410 && (CPU_S3C2440 || CPU_S3C2442)
161         help
162           Support for S3C2440 and S3C2442 Samsung Mobile CPU based systems.
163
164 config CPU_S3C2440
165         bool
166         depends on ARCH_S3C2410
167         select S3C2410_CLOCK
168         select CPU_S3C244X
169         help
170           Support for S3C2440 Samsung Mobile CPU based systems.
171
172 config CPU_S3C2442
173         bool
174         depends on ARCH_S3C2420
175         select S3C2410_CLOCK
176         select CPU_S3C244X
177         help
178           Support for S3C2442 Samsung Mobile CPU based systems.
179
180 comment "S3C2410 Boot"
181
182 config S3C2410_BOOT_WATCHDOG
183         bool "S3C2410 Initialisation watchdog"
184         depends on ARCH_S3C2410 && S3C2410_WATCHDOG
185         help
186           Say y to enable the watchdog during the kernel decompression
187           stage. If the kernel fails to uncompress, then the watchdog
188           will trigger a reset and the system should restart.
189
190           Although this uses the same hardware unit as the kernel watchdog
191           driver, it is not a replacement for it. If you use this option,
192           you will have to use the watchdg driver to either stop the timeout
193           or restart it. If you do not, then your kernel will reboot after
194           startup.
195
196           The driver uses a fixed timeout value, so the exact time till the
197           system resets depends on the value of PCLK. The timeout on an
198           200MHz s3c2410 should be about 30 seconds.
199
200 config S3C2410_BOOT_ERROR_RESET
201         bool "S3C2410 Reboot on decompression error"
202         depends on ARCH_S3C2410
203         help
204           Say y here to use the watchdog to reset the system if the
205           kernel decompressor detects an error during decompression.
206
207
208 comment "S3C2410 Setup"
209
210 config S3C2410_DMA
211         bool "S3C2410 DMA support"
212         depends on ARCH_S3C2410
213         help
214           S3C2410 DMA support. This is needed for drivers like sound which
215           use the S3C2410's DMA system to move data to and from the
216           peripheral blocks.
217
218 config S3C2410_DMA_DEBUG
219         bool "S3C2410 DMA support debug"
220         depends on ARCH_S3C2410 && S3C2410_DMA
221         help
222           Enable debugging output for the DMA code. This option sends info
223           to the kernel log, at priority KERN_DEBUG.
224
225           Note, it is easy to create and fill the log buffer in a small
226           amount of time, as well as using an significant percentage of
227           the CPU time doing so.
228
229
230 config S3C2410_PM_DEBUG
231         bool "S3C2410 PM Suspend debug"
232         depends on ARCH_S3C2410 && PM
233         help
234           Say Y here if you want verbose debugging from the PM Suspend and
235           Resume code. See <file:Documentation/arm/Samsung-S3C24XX/Suspend.txt>
236           for more information.
237
238 config S3C2410_PM_CHECK
239         bool "S3C2410 PM Suspend Memory CRC"
240         depends on ARCH_S3C2410 && PM && CRC32
241         help
242           Enable the PM code's memory area checksum over sleep. This option
243           will generate CRCs of all blocks of memory, and store them before
244           going to sleep. The blocks are then checked on resume for any
245           errors.
246
247 config S3C2410_PM_CHECK_CHUNKSIZE
248         int "S3C2410 PM Suspend CRC Chunksize (KiB)"
249         depends on ARCH_S3C2410 && PM && S3C2410_PM_CHECK
250         default 64
251         help
252           Set the chunksize in Kilobytes of the CRC for checking memory
253           corruption over suspend and resume. A smaller value will mean that
254           the CRC data block will take more memory, but wil identify any
255           faults with better precision.
256
257 config PM_SIMTEC
258         bool
259         depends on PM && (ARCH_BAST || MACH_VR1000)
260         default y
261
262 config S3C2410_LOWLEVEL_UART_PORT
263         int "S3C2410 UART to use for low-level messages"
264         default 0
265         help
266           Choice of which UART port to use for the low-level messages,
267           such as the `Uncompressing...` at start time. The value of
268           this configuration should be between zero and two. The port
269           must have been initialised by the boot-loader before use.
270
271           Note, this does not affect the port used by the debug messages,
272           which is a separate configuration.
273
274 endif