]> err.no Git - linux-2.6/blob - arch/arm/mach-s3c2410/Kconfig
[ARM] 3803/2: S3C24XX: PM split S3C2410 out of core pm
[linux-2.6] / 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 S3C2410_PM
137         bool
138         depends on CONFIG_PM
139         help
140           Power Management code common to S3C2410 and better
141
142 config CPU_S3C2410_DMA
143         bool
144         depends on S3C2410_DMA && (CPU_S3C2410 || CPU_S3C2442)
145         default y if CPU_S3C2410 || CPU_S3C2442
146         help
147           DMA device selection for S3C2410 and compatible CPUs
148
149 config CPU_S3C2410
150         bool
151         depends on ARCH_S3C2410
152         select S3C2410_CLOCK
153         select S3C2410_PM
154         help
155           Support for S3C2410 and S3C2410A family from the S3C24XX line
156           of Samsung Mobile CPUs.
157
158 # internal node to signify if we are only dealing with an S3C2412
159
160 config CPU_S3C2412_ONLY
161         bool
162         depends on ARCH_S3C2410 && !CPU_S3C2400 && !CPU_S3C2410 && \
163                    !CPU_S3C2440 && !CPU_S3C2442 && CPU_S3C2412
164         default y if CPU_S3C2412
165
166 config CPU_S3C2412
167         bool
168         depends on ARCH_S3C2410
169         help
170           Support for the S3C2412 and S3C2413 SoCs from the S3C24XX line
171
172 config CPU_S3C244X
173         bool
174         depends on ARCH_S3C2410 && (CPU_S3C2440 || CPU_S3C2442)
175         help
176           Support for S3C2440 and S3C2442 Samsung Mobile CPU based systems.
177
178 config CPU_S3C2440
179         bool
180         depends on ARCH_S3C2410
181         select S3C2410_CLOCK
182         select S3C2410_PM
183         select CPU_S3C244X
184         help
185           Support for S3C2440 Samsung Mobile CPU based systems.
186
187 config CPU_S3C2442
188         bool
189         depends on ARCH_S3C2420
190         select S3C2410_CLOCK
191         select S3C2410_PM
192         select CPU_S3C244X
193         help
194           Support for S3C2442 Samsung Mobile CPU based systems.
195
196 comment "S3C2410 Boot"
197
198 config S3C2410_BOOT_WATCHDOG
199         bool "S3C2410 Initialisation watchdog"
200         depends on ARCH_S3C2410 && S3C2410_WATCHDOG
201         help
202           Say y to enable the watchdog during the kernel decompression
203           stage. If the kernel fails to uncompress, then the watchdog
204           will trigger a reset and the system should restart.
205
206           Although this uses the same hardware unit as the kernel watchdog
207           driver, it is not a replacement for it. If you use this option,
208           you will have to use the watchdg driver to either stop the timeout
209           or restart it. If you do not, then your kernel will reboot after
210           startup.
211
212           The driver uses a fixed timeout value, so the exact time till the
213           system resets depends on the value of PCLK. The timeout on an
214           200MHz s3c2410 should be about 30 seconds.
215
216 config S3C2410_BOOT_ERROR_RESET
217         bool "S3C2410 Reboot on decompression error"
218         depends on ARCH_S3C2410
219         help
220           Say y here to use the watchdog to reset the system if the
221           kernel decompressor detects an error during decompression.
222
223
224 comment "S3C2410 Setup"
225
226 config S3C2410_DMA
227         bool "S3C2410 DMA support"
228         depends on ARCH_S3C2410
229         help
230           S3C2410 DMA support. This is needed for drivers like sound which
231           use the S3C2410's DMA system to move data to and from the
232           peripheral blocks.
233
234 config S3C2410_DMA_DEBUG
235         bool "S3C2410 DMA support debug"
236         depends on ARCH_S3C2410 && S3C2410_DMA
237         help
238           Enable debugging output for the DMA code. This option sends info
239           to the kernel log, at priority KERN_DEBUG.
240
241           Note, it is easy to create and fill the log buffer in a small
242           amount of time, as well as using an significant percentage of
243           the CPU time doing so.
244
245
246 config S3C2410_PM_DEBUG
247         bool "S3C2410 PM Suspend debug"
248         depends on ARCH_S3C2410 && PM
249         help
250           Say Y here if you want verbose debugging from the PM Suspend and
251           Resume code. See <file:Documentation/arm/Samsung-S3C24XX/Suspend.txt>
252           for more information.
253
254 config S3C2410_PM_CHECK
255         bool "S3C2410 PM Suspend Memory CRC"
256         depends on ARCH_S3C2410 && PM && CRC32
257         help
258           Enable the PM code's memory area checksum over sleep. This option
259           will generate CRCs of all blocks of memory, and store them before
260           going to sleep. The blocks are then checked on resume for any
261           errors.
262
263 config S3C2410_PM_CHECK_CHUNKSIZE
264         int "S3C2410 PM Suspend CRC Chunksize (KiB)"
265         depends on ARCH_S3C2410 && PM && S3C2410_PM_CHECK
266         default 64
267         help
268           Set the chunksize in Kilobytes of the CRC for checking memory
269           corruption over suspend and resume. A smaller value will mean that
270           the CRC data block will take more memory, but wil identify any
271           faults with better precision.
272
273 config PM_SIMTEC
274         bool
275         depends on PM && (ARCH_BAST || MACH_VR1000)
276         default y
277
278 config S3C2410_LOWLEVEL_UART_PORT
279         int "S3C2410 UART to use for low-level messages"
280         default 0
281         help
282           Choice of which UART port to use for the low-level messages,
283           such as the `Uncompressing...` at start time. The value of
284           this configuration should be between zero and two. The port
285           must have been initialised by the boot-loader before use.
286
287           Note, this does not affect the port used by the debug messages,
288           which is a separate configuration.
289
290 endif