Merge branch 'upstream'
[cascardo/linux.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 ARCH_SMDK2410
54         bool "SMDK2410/A9M2410"
55         select CPU_S3C2410
56         help
57            Say Y here if you are using the SMDK2410 or the derived module A9M2410
58            <http://www.fsforth.de>
59
60 config ARCH_S3C2440
61         bool "SMDK2440"
62         select CPU_S3C2440
63         help
64           Say Y here if you are using the SMDK2440.
65
66 config MACH_VR1000
67         bool "Thorcom VR1000"
68         select CPU_S3C2410
69         help
70           Say Y here if you are using the Thorcom VR1000 board.
71
72           This linux port is currently being maintained by Simtec, on behalf
73           of Thorcom. Any queries, please contact Thorcom first.
74
75 config MACH_RX3715
76         bool "HP iPAQ rx3715"
77         select CPU_S3C2440
78         help
79           Say Y here if you are using the HP iPAQ rx3715.
80
81           See <http://www.handhelds.org/projects/rx3715.html> for more
82           information on this project
83
84 config MACH_OTOM
85         bool "NexVision OTOM Board"
86         select CPU_S3C2410
87         help
88           Say Y here if you are using the Nex Vision OTOM board
89
90 config MACH_NEXCODER_2440
91         bool "NexVision NEXCODER 2440 Light Board"
92         select CPU_S3C2440
93         help
94           Say Y here if you are using the Nex Vision NEXCODER 2440 Light Board
95
96 endmenu
97
98 config CPU_S3C2410
99         bool
100         depends on ARCH_S3C2410
101         help
102           Support for S3C2410 and S3C2410A family from the S3C24XX line
103           of Samsung Mobile CPUs.
104
105 config CPU_S3C2440
106         bool
107         depends on ARCH_S3C2410
108         help
109           Support for S3C2440 Samsung Mobile CPU based systems.
110
111 comment "S3C2410 Boot"
112
113 config S3C2410_BOOT_WATCHDOG
114         bool "S3C2410 Initialisation watchdog"
115         depends on ARCH_S3C2410 && S3C2410_WATCHDOG
116         help
117           Say y to enable the watchdog during the kernel decompression
118           stage. If the kernel fails to uncompress, then the watchdog
119           will trigger a reset and the system should restart.
120
121           Although this uses the same hardware unit as the kernel watchdog
122           driver, it is not a replacement for it. If you use this option,
123           you will have to use the watchdg driver to either stop the timeout
124           or restart it. If you do not, then your kernel will reboot after
125           startup.
126
127           The driver uses a fixed timeout value, so the exact time till the
128           system resets depends on the value of PCLK. The timeout on an
129           200MHz s3c2410 should be about 30 seconds.
130
131 config S3C2410_BOOT_ERROR_RESET
132         bool "S3C2410 Reboot on decompression error"
133         depends on ARCH_S3C2410
134         help
135           Say y here to use the watchdog to reset the system if the
136           kernel decompressor detects an error during decompression.
137
138
139 comment "S3C2410 Setup"
140
141 config S3C2410_DMA
142         bool "S3C2410 DMA support"
143         depends on ARCH_S3C2410
144         help
145           S3C2410 DMA support. This is needed for drivers like sound which
146           use the S3C2410's DMA system to move data to and from the
147           peripheral blocks.
148
149 config S3C2410_DMA_DEBUG
150         bool "S3C2410 DMA support debug"
151         depends on ARCH_S3C2410 && S3C2410_DMA
152         help
153           Enable debugging output for the DMA code. This option sends info
154           to the kernel log, at priority KERN_DEBUG.
155
156           Note, it is easy to create and fill the log buffer in a small
157           amount of time, as well as using an significant percentage of
158           the CPU time doing so.
159
160
161 config S3C2410_PM_DEBUG
162         bool "S3C2410 PM Suspend debug"
163         depends on ARCH_S3C2410 && PM
164         help
165           Say Y here if you want verbose debugging from the PM Suspend and
166           Resume code. See `Documentation/arm/Samsing-S3C24XX/Suspend.txt`
167           for more information.
168
169 config S3C2410_PM_CHECK
170         bool "S3C2410 PM Suspend Memory CRC"
171         depends on ARCH_S3C2410 && PM && CRC32
172         help
173           Enable the PM code's memory area checksum over sleep. This option
174           will generate CRCs of all blocks of memory, and store them before
175           going to sleep. The blocks are then checked on resume for any
176           errors.
177
178 config S3C2410_PM_CHECK_CHUNKSIZE
179         int "S3C2410 PM Suspend CRC Chunksize (KiB)"
180         depends on ARCH_S3C2410 && PM && S3C2410_PM_CHECK
181         default 64
182         help
183           Set the chunksize in Kilobytes of the CRC for checking memory
184           corruption over suspend and resume. A smaller value will mean that
185           the CRC data block will take more memory, but wil identify any
186           faults with better precision.
187
188 config PM_SIMTEC
189         bool
190         depends on PM && (ARCH_BAST || MACH_VR1000)
191         default y
192
193 config S3C2410_LOWLEVEL_UART_PORT
194         int "S3C2410 UART to use for low-level messages"
195         default 0
196         help
197           Choice of which UART port to use for the low-level messages,
198           such as the `Uncompressing...` at start time. The value of
199           this configuration should be between zero and two. The port
200           must have been initialised by the boot-loader before use.
201
202           Note, this does not affect the port used by the debug messages,
203           which is a separate configuration.
204
205 endif