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