Kconfig 7.4 KB
Newer Older
L
Linus Torvalds 已提交
1 2 3 4
if ARCH_S3C2410

menu "S3C24XX Implementations"

5 6 7 8 9 10 11
config MACH_ANUBIS
	bool "Simtec Electronics ANUBIS"
	select CPU_S3C2440
	help
	  Say Y gere if you are using the Simtec Electronics ANUBIS
	  development system

12 13 14 15 16 17 18
config MACH_OSIRIS
	bool "Simtec IM2440D20 (OSIRIS) module"
	select CPU_S3C2440
	help
	  Say Y here if you are using the Simtec IM2440D20 module, also
	  known as the Osiris.

L
Linus Torvalds 已提交
19 20 21
config ARCH_BAST
	bool "Simtec Electronics BAST (EB2410ITX)"
	select CPU_S3C2410
22
	select ISA
L
Linus Torvalds 已提交
23 24 25 26 27 28
	help
	  Say Y here if you are using the Simtec Electronics EB2410ITX
	  development board (also known as BAST)

	  Product page: <http://www.simtec.co.uk/products/EB2410ITX/>.

29 30 31 32 33 34 35 36
config BAST_PC104_IRQ
	bool "BAST PC104 IRQ support"
	depends on ARCH_BAST
	default y
	help
	  Say Y	here to enable the PC104 IRQ routing on the
	  Simtec BAST (EB2410ITX)

L
Linus Torvalds 已提交
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
config ARCH_H1940
	bool "IPAQ H1940"
	select CPU_S3C2410
	help
	  Say Y here if you are using the HP IPAQ H1940

	  <http://www.handhelds.org/projects/h1940.html>.

config MACH_N30
	bool "Acer N30"
	select CPU_S3C2410
	help
	  Say Y here if you are using the Acer N30

	  <http://zoo.weinigel.se/n30>.

53 54 55 56 57
config MACH_SMDK
	bool
	help
	  Common machine code for SMDK2410 and SMDK2440

L
Linus Torvalds 已提交
58 59 60
config ARCH_SMDK2410
	bool "SMDK2410/A9M2410"
	select CPU_S3C2410
61
	select MACH_SMDK
L
Linus Torvalds 已提交
62 63 64 65 66 67 68
	help
	   Say Y here if you are using the SMDK2410 or the derived module A9M2410
           <http://www.fsforth.de>

config ARCH_S3C2440
	bool "SMDK2440"
	select CPU_S3C2440
69
	select MACH_SMDK
L
Linus Torvalds 已提交
70 71 72
	help
	  Say Y here if you are using the SMDK2440.

73
config SMDK2440_CPU2440
74
	bool "SMDK2440 with S3C2440 CPU module"
75 76 77 78 79
	depends on ARCH_S3C2440
	default y if ARCH_S3C2440
	select CPU_S3C2440

config SMDK2440_CPU2442
80
	bool "SMDM2440 with S3C2442 CPU module"
81 82 83
	depends on ARCH_S3C2440
	select CPU_S3C2442

84 85 86 87 88 89 90
config MACH_S3C2413
	bool
	help
	  Internal node for S3C2413 verison of SMDK2413, so that
	  machine_is_s3c2413() will work when MACH_SMDK2413 is
	  selected

91 92 93
config MACH_SMDK2413
	bool "SMDK2413"
	select CPU_S3C2412
94
	select MACH_S3C2413
95 96 97
	select MACH_SMDK
	help
	  Say Y here if you are using an SMDK2413
98

L
Linus Torvalds 已提交
99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128
config MACH_VR1000
	bool "Thorcom VR1000"
	select CPU_S3C2410
	help
	  Say Y here if you are using the Thorcom VR1000 board.

	  This linux port is currently being maintained by Simtec, on behalf
	  of Thorcom. Any queries, please contact Thorcom first.

config MACH_RX3715
	bool "HP iPAQ rx3715"
	select CPU_S3C2440
	help
	  Say Y here if you are using the HP iPAQ rx3715.

	  See <http://www.handhelds.org/projects/rx3715.html> for more
	  information on this project

config MACH_OTOM
 	bool "NexVision OTOM Board"
 	select CPU_S3C2410
	help
 	  Say Y here if you are using the Nex Vision OTOM board

config MACH_NEXCODER_2440
 	bool "NexVision NEXCODER 2440 Light Board"
 	select CPU_S3C2440
	help
 	  Say Y here if you are using the Nex Vision NEXCODER 2440 Light Board

129 130 131 132 133 134
config MACH_VSTMS
	bool "VMSTMS"
	select CPU_S3C2412
	help
	  Say Y here if you are using an VSTMS board

L
Linus Torvalds 已提交
135 136
endmenu

137 138 139 140 141
config S3C2410_CLOCK
	bool
	help
	  Clock code for the S3C2410, and similar processors

142 143 144 145 146 147
config S3C2410_PM
	bool
	depends on CONFIG_PM
	help
	  Power Management code common to S3C2410 and better

148 149 150 151 152 153 154
config CPU_S3C2410_DMA
	bool
	depends on S3C2410_DMA && (CPU_S3C2410 || CPU_S3C2442)
	default y if CPU_S3C2410 || CPU_S3C2442
	help
	  DMA device selection for S3C2410 and compatible CPUs

L
Linus Torvalds 已提交
155 156 157
config CPU_S3C2410
	bool
	depends on ARCH_S3C2410
158
	select S3C2410_CLOCK
159
	select S3C2410_PM
L
Linus Torvalds 已提交
160 161 162 163
	help
	  Support for S3C2410 and S3C2410A family from the S3C24XX line
	  of Samsung Mobile CPUs.

164 165 166 167 168 169 170 171 172 173 174 175 176 177
# internal node to signify if we are only dealing with an S3C2412

config CPU_S3C2412_ONLY
	bool
	depends on ARCH_S3C2410 && !CPU_S3C2400 && !CPU_S3C2410 && \
		   !CPU_S3C2440 && !CPU_S3C2442 && CPU_S3C2412
	default y if CPU_S3C2412

config CPU_S3C2412
	bool
	depends on ARCH_S3C2410
	help
	  Support for the S3C2412 and S3C2413 SoCs from the S3C24XX line

178 179 180 181 182 183
config CPU_S3C244X
	bool
	depends on ARCH_S3C2410 && (CPU_S3C2440 || CPU_S3C2442)
	help
	  Support for S3C2440 and S3C2442 Samsung Mobile CPU based systems.

L
Linus Torvalds 已提交
184 185 186
config CPU_S3C2440
	bool
	depends on ARCH_S3C2410
187
	select S3C2410_CLOCK
188
	select S3C2410_PM
189
	select CPU_S3C244X
L
Linus Torvalds 已提交
190 191 192
	help
	  Support for S3C2440 Samsung Mobile CPU based systems.

193 194 195
config CPU_S3C2442
	bool
	depends on ARCH_S3C2420
196
	select S3C2410_CLOCK
197
	select S3C2410_PM
198 199 200 201
	select CPU_S3C244X
	help
	  Support for S3C2442 Samsung Mobile CPU based systems.

L
Linus Torvalds 已提交
202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221
comment "S3C2410 Boot"

config S3C2410_BOOT_WATCHDOG
	bool "S3C2410 Initialisation watchdog"
	depends on ARCH_S3C2410 && S3C2410_WATCHDOG
	help
	  Say y to enable the watchdog during the kernel decompression
	  stage. If the kernel fails to uncompress, then the watchdog
	  will trigger a reset and the system should restart.

	  Although this uses the same hardware unit as the kernel watchdog
	  driver, it is not a replacement for it. If you use this option,
	  you will have to use the watchdg driver to either stop the timeout
	  or restart it. If you do not, then your kernel will reboot after
	  startup.

	  The driver uses a fixed timeout value, so the exact time till the
	  system resets depends on the value of PCLK. The timeout on an
	  200MHz s3c2410 should be about 30 seconds.

222 223 224 225 226 227 228 229
config S3C2410_BOOT_ERROR_RESET
	bool "S3C2410 Reboot on decompression error"
	depends on ARCH_S3C2410
	help
	  Say y here to use the watchdog to reset the system if the
	  kernel decompressor detects an error during decompression.


L
Linus Torvalds 已提交
230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256
comment "S3C2410 Setup"

config S3C2410_DMA
	bool "S3C2410 DMA support"
	depends on ARCH_S3C2410
	help
	  S3C2410 DMA support. This is needed for drivers like sound which
	  use the S3C2410's DMA system to move data to and from the
	  peripheral blocks.

config S3C2410_DMA_DEBUG
	bool "S3C2410 DMA support debug"
	depends on ARCH_S3C2410 && S3C2410_DMA
	help
	  Enable debugging output for the DMA code. This option sends info
	  to the kernel log, at priority KERN_DEBUG.

	  Note, it is easy to create and fill the log buffer in a small
	  amount of time, as well as using an significant percentage of
	  the CPU time doing so.


config S3C2410_PM_DEBUG
	bool "S3C2410 PM Suspend debug"
	depends on ARCH_S3C2410 && PM
	help
	  Say Y here if you want verbose debugging from the PM Suspend and
E
Egry Gabor 已提交
257
	  Resume code. See <file:Documentation/arm/Samsung-S3C24XX/Suspend.txt>
L
Linus Torvalds 已提交
258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278
	  for more information.

config S3C2410_PM_CHECK
	bool "S3C2410 PM Suspend Memory CRC"
	depends on ARCH_S3C2410 && PM && CRC32
	help
 	  Enable the PM code's memory area checksum over sleep. This option
	  will generate CRCs of all blocks of memory, and store them before
	  going to sleep. The blocks are then checked on resume for any
	  errors.

config S3C2410_PM_CHECK_CHUNKSIZE
	int "S3C2410 PM Suspend CRC Chunksize (KiB)"
	depends on ARCH_S3C2410 && PM && S3C2410_PM_CHECK
	default 64
	help
	  Set the chunksize in Kilobytes of the CRC for checking memory
	  corruption over suspend and resume. A smaller value will mean that
	  the CRC data block will take more memory, but wil identify any
	  faults with better precision.

279 280 281 282 283
config PM_SIMTEC
	bool
	depends on PM && (ARCH_BAST || MACH_VR1000)
	default y

L
Linus Torvalds 已提交
284 285 286 287 288 289 290 291 292 293 294 295 296
config S3C2410_LOWLEVEL_UART_PORT
	int "S3C2410 UART to use for low-level messages"
	default 0
	help
	  Choice of which UART port to use for the low-level messages,
	  such as the `Uncompressing...` at start time. The value of
	  this configuration should be between zero and two. The port
	  must have been initialised by the boot-loader before use.

	  Note, this does not affect the port used by the debug messages,
	  which is a separate configuration.

endif