1# arch/arm/plat-s3c24xx/Kconfig
2#
3# Copyright 2007 Simtec Electronics
4#
5# Licensed under GPLv2
6
7config PLAT_S3C24XX
8	bool
9	depends on ARCH_S3C2410
10	default y if ARCH_S3C2410
11	select NO_IOPORT
12	help
13	  Base platform code for any Samsung S3C device
14
15if PLAT_S3C24XX
16
17config CPU_S3C244X
18	bool
19	depends on ARCH_S3C2410 && (CPU_S3C2440 || CPU_S3C2442)
20	help
21	  Support for S3C2440 and S3C2442 Samsung Mobile CPU based systems.
22
23config PM_SIMTEC
24	bool
25	help
26	  Common power management code for systems that are
27	  compatible with the Simtec style of power management
28
29config S3C2410_BOOT_WATCHDOG
30	bool "S3C2410 Initialisation watchdog"
31	depends on ARCH_S3C2410 && S3C2410_WATCHDOG
32	help
33	  Say y to enable the watchdog during the kernel decompression
34	  stage. If the kernel fails to uncompress, then the watchdog
35	  will trigger a reset and the system should restart.
36
37config S3C2410_BOOT_ERROR_RESET
38	bool "S3C2410 Reboot on decompression error"
39	depends on ARCH_S3C2410
40	help
41	  Say y here to use the watchdog to reset the system if the
42	  kernel decompressor detects an error during decompression.
43
44config S3C2410_PM_DEBUG
45	bool "S3C2410 PM Suspend debug"
46	depends on ARCH_S3C2410 && PM
47	help
48	  Say Y here if you want verbose debugging from the PM Suspend and
49	  Resume code. See <file:Documentation/arm/Samsung-S3C24XX/Suspend.txt>
50	  for more information.
51
52config S3C2410_PM_CHECK
53	bool "S3C2410 PM Suspend Memory CRC"
54	depends on ARCH_S3C2410 && PM && CRC32
55	help
56 	  Enable the PM code's memory area checksum over sleep. This option
57	  will generate CRCs of all blocks of memory, and store them before
58	  going to sleep. The blocks are then checked on resume for any
59	  errors.
60
61	  Note, this can take several seconds depending on memory size
62	  and CPU speed.
63
64	  See <file:Documentation/arm/Samsung-S3C24XX/Suspend.txt>
65
66config S3C2410_PM_CHECK_CHUNKSIZE
67	int "S3C2410 PM Suspend CRC Chunksize (KiB)"
68	depends on ARCH_S3C2410 && PM && S3C2410_PM_CHECK
69	default 64
70	help
71	  Set the chunksize in Kilobytes of the CRC for checking memory
72	  corruption over suspend and resume. A smaller value will mean that
73	  the CRC data block will take more memory, but wil identify any
74	  faults with better precision.
75
76	  See <file:Documentation/arm/Samsung-S3C24XX/Suspend.txt>
77
78config S3C2410_LOWLEVEL_UART_PORT
79	int "S3C2410 UART to use for low-level messages"
80	default 0
81	help
82	  Choice of which UART port to use for the low-level messages,
83	  such as the `Uncompressing...` at start time. The value of
84	  this configuration should be between zero and two. The port
85	  must have been initialised by the boot-loader before use.
86
87config S3C2410_DMA
88	bool "S3C2410 DMA support"
89	depends on ARCH_S3C2410
90	help
91	  S3C2410 DMA support. This is needed for drivers like sound which
92	  use the S3C2410's DMA system to move data to and from the
93	  peripheral blocks.
94
95config S3C2410_DMA_DEBUG
96	bool "S3C2410 DMA support debug"
97	depends on ARCH_S3C2410 && S3C2410_DMA
98	help
99	  Enable debugging output for the DMA code. This option sends info
100	  to the kernel log, at priority KERN_DEBUG.
101
102config MACH_SMDK
103	bool
104	help
105	  Common machine code for SMDK2410 and SMDK2440
106
107endif
108