[ARM] S3C: Add UART FIFO selection during arch decompression
[linux-2.6/openmoko-kernel.git] / arch / arm / plat-s3c / Kconfig
blobdef0bb457ca3b549dcc18b7f4dc3a758ccd5d9af
1 # arch/arm/plat-s3c/Kconfig
3 # Copyright 2007 Simtec Electronics
5 # Licensed under GPLv2
7 config PLAT_S3C
8         bool
9         depends on ARCH_S3C2410 || ARCH_S3C24A0 || ARCH_S3C64XX
10         default y
11         select NO_IOPORT
12         help
13           Base platform code for any Samsung S3C device
15 # low-level serial option nodes
17 config CPU_LLSERIAL_S3C2410_ONLY
18         bool
19         depends on PLAT_S3C
20         default y if CPU_LLSERIAL_S3C2410 && !CPU_LLSERIAL_S3C2440
22 config CPU_LLSERIAL_S3C2440_ONLY
23         bool
24         depends on PLAT_S3C
25         default y if CPU_LLSERIAL_S3C2440 && !CPU_LLSERIAL_S3C2410
27 config CPU_LLSERIAL_S3C2410
28         bool
29         depends on PLAT_S3C
30         help
31           Selected if there is an S3C2410 (or register compatible) serial
32           low-level implementation needed
34 config CPU_LLSERIAL_S3C2440
35         bool
36         depends on PLAT_S3C
37         help
38           Selected if there is an S3C2440 (or register compatible) serial
39           low-level implementation needed
41 # boot configurations
43 comment "Boot options"
45 config S3C_BOOT_WATCHDOG
46         bool "S3C Initialisation watchdog"
47         depends on PLAT_S3C && S3C2410_WATCHDOG
48         help
49           Say y to enable the watchdog during the kernel decompression
50           stage. If the kernel fails to uncompress, then the watchdog
51           will trigger a reset and the system should restart.
53 config S3C_BOOT_ERROR_RESET
54         bool "S3C Reboot on decompression error"
55         depends on PLAT_S3C
56         help
57           Say y here to use the watchdog to reset the system if the
58           kernel decompressor detects an error during decompression.
60 config S3C_BOOT_UART_FORCE_FIFO
61        bool "Force UART FIFO on during boot process"
62        depends on PLAT_S3C
63        default y
64        help
65          Say Y here to force the UART FIFOs on during the kernel
66          uncompressor
68 comment "Power management"
70 config S3C2410_PM_DEBUG
71         bool "S3C2410 PM Suspend debug"
72         depends on PLAT_S3C && PM
73         help
74           Say Y here if you want verbose debugging from the PM Suspend and
75           Resume code. See <file:Documentation/arm/Samsung-S3C24XX/Suspend.txt>
76           for more information.
78 config S3C2410_PM_CHECK
79         bool "S3C2410 PM Suspend Memory CRC"
80         depends on PLAT_S3C && PM && CRC32
81         help
82           Enable the PM code's memory area checksum over sleep. This option
83           will generate CRCs of all blocks of memory, and store them before
84           going to sleep. The blocks are then checked on resume for any
85           errors.
87           Note, this can take several seconds depending on memory size
88           and CPU speed.
90           See <file:Documentation/arm/Samsung-S3C24XX/Suspend.txt>
92 config S3C2410_PM_CHECK_CHUNKSIZE
93         int "S3C2410 PM Suspend CRC Chunksize (KiB)"
94         depends on PLAT_S3C && PM && S3C2410_PM_CHECK
95         default 64
96         help
97           Set the chunksize in Kilobytes of the CRC for checking memory
98           corruption over suspend and resume. A smaller value will mean that
99           the CRC data block will take more memory, but wil identify any
100           faults with better precision.
102           See <file:Documentation/arm/Samsung-S3C24XX/Suspend.txt>
104 config S3C_LOWLEVEL_UART_PORT
105         int "S3C UART to use for low-level messages"
106         depends on PLAT_S3C
107         default 0
108         help
109           Choice of which UART port to use for the low-level messages,
110           such as the `Uncompressing...` at start time. The value of
111           this configuration should be between zero and two. The port
112           must have been initialised by the boot-loader before use.
114 # options for gpiolib support
116 config S3C_GPIO_SPACE
117         int "Space between gpio banks"
118         default 0
119         help
120           Add a number of spare GPIO entries between each bank for debugging
121           purposes. This allows any problems where an counter overflows from
122           one bank to another to be caught, at the expense of using a little
123           more memory.
125 config S3C_GPIO_TRACK
126         bool
127         help
128           Internal configuration option to enable the s3c specific gpio
129           chip tracking if the platform requires it.
131 config S3C_GPIO_PULL_UPDOWN
132         bool
133         help
134           Internal configuration to enable the correct GPIO pull helper
136 config S3C_GPIO_PULL_DOWN
137         bool
138         help
139           Internal configuration to enable the correct GPIO pull helper
141 config S3C_GPIO_PULL_UP
142         bool
143         help
144           Internal configuration to enable the correct GPIO pull helper
146 config S3C_GPIO_CFG_S3C24XX
147         bool
148         help
149           Internal configuration to enable S3C24XX style GPIO configuration
150           functions.
152 config S3C_GPIO_CFG_S3C64XX
153         bool
154         help
155           Internal configuration to enable S3C64XX style GPIO configuration
156           functions.
158 # device definitions to compile in
160 config S3C_DEV_HSMMC
161         bool
162         depends on PLAT_S3C
163         help
164           Compile in platform device definitions for HSMMC code
166 config S3C_DEV_HSMMC1
167         bool
168         depends on PLAT_S3C
169         help
170           Compile in platform device definitions for HSMMC channel 1
172 config S3C_DEV_I2C1
173         bool
174         depends on PLAT_S3C
175         help
176           Compile in platform device definitions for I2C channel 1
178 config S3C_DEV_FB
179         bool
180         depends on PLAT_S3C
181         help
182           Compile in platform device definition for framebuffer