1 # Copyright 2007 Simtec Electronics
7 depends on ARCH_S3C2410 || ARCH_S3C24A0 || ARCH_S3C64XX
11 Base platform code for any Samsung S3C device
13 # low-level serial option nodes
17 config CPU_LLSERIAL_S3C2410_ONLY
19 default y if CPU_LLSERIAL_S3C2410 && !CPU_LLSERIAL_S3C2440
21 config CPU_LLSERIAL_S3C2440_ONLY
23 default y if CPU_LLSERIAL_S3C2440 && !CPU_LLSERIAL_S3C2410
25 config CPU_LLSERIAL_S3C2410
28 Selected if there is an S3C2410 (or register compatible) serial
29 low-level implementation needed
31 config CPU_LLSERIAL_S3C2440
34 Selected if there is an S3C2440 (or register compatible) serial
35 low-level implementation needed
39 comment "Boot options"
41 config S3C_BOOT_WATCHDOG
42 bool "S3C Initialisation watchdog"
43 depends on S3C2410_WATCHDOG
45 Say y to enable the watchdog during the kernel decompression
46 stage. If the kernel fails to uncompress, then the watchdog
47 will trigger a reset and the system should restart.
49 config S3C_BOOT_ERROR_RESET
50 bool "S3C Reboot on decompression error"
52 Say y here to use the watchdog to reset the system if the
53 kernel decompressor detects an error during decompression.
55 config S3C_BOOT_UART_FORCE_FIFO
56 bool "Force UART FIFO on during boot process"
59 Say Y here to force the UART FIFOs on during the kernel
62 comment "Power management"
64 config S3C2410_PM_DEBUG
65 bool "S3C2410 PM Suspend debug"
68 Say Y here if you want verbose debugging from the PM Suspend and
69 Resume code. See <file:Documentation/arm/Samsung-S3C24XX/Suspend.txt>
72 config S3C_PM_DEBUG_LED_SMDK
73 bool "SMDK LED suspend/resume debugging"
74 depends on PM && (MACH_SMDK6410)
76 Say Y here to enable the use of the SMDK LEDs on the baseboard
77 for debugging of the state of the suspend and resume process.
79 Note, this currently only works for S3C64XX based SMDK boards.
81 config S3C2410_PM_CHECK
82 bool "S3C2410 PM Suspend Memory CRC"
83 depends on PM && CRC32
85 Enable the PM code's memory area checksum over sleep. This option
86 will generate CRCs of all blocks of memory, and store them before
87 going to sleep. The blocks are then checked on resume for any
90 Note, this can take several seconds depending on memory size
93 See <file:Documentation/arm/Samsung-S3C24XX/Suspend.txt>
95 config S3C2410_PM_CHECK_CHUNKSIZE
96 int "S3C2410 PM Suspend CRC Chunksize (KiB)"
97 depends on PM && S3C2410_PM_CHECK
100 Set the chunksize in Kilobytes of the CRC for checking memory
101 corruption over suspend and resume. A smaller value will mean that
102 the CRC data block will take more memory, but wil identify any
103 faults with better precision.
105 See <file:Documentation/arm/Samsung-S3C24XX/Suspend.txt>
107 config S3C_LOWLEVEL_UART_PORT
108 int "S3C UART to use for low-level messages"
111 Choice of which UART port to use for the low-level messages,
112 such as the `Uncompressing...` at start time. The value of
113 this configuration should be between zero and two. The port
114 must have been initialised by the boot-loader before use.
116 # options for gpiolib support
118 config S3C_GPIO_SPACE
119 int "Space between gpio banks"
122 Add a number of spare GPIO entries between each bank for debugging
123 purposes. This allows any problems where an counter overflows from
124 one bank to another to be caught, at the expense of using a little
127 config S3C_GPIO_TRACK
130 Internal configuration option to enable the s3c specific gpio
131 chip tracking if the platform requires it.
133 config S3C_GPIO_PULL_UPDOWN
136 Internal configuration to enable the correct GPIO pull helper
138 config S3C_GPIO_PULL_DOWN
141 Internal configuration to enable the correct GPIO pull helper
143 config S3C_GPIO_PULL_UP
146 Internal configuration to enable the correct GPIO pull helper
148 config S3C_GPIO_CFG_S3C24XX
151 Internal configuration to enable S3C24XX style GPIO configuration
154 config S3C_GPIO_CFG_S3C64XX
157 Internal configuration to enable S3C64XX style GPIO configuration
160 config S5P_GPIO_CFG_S5PC1XX
163 Internal configuration to enable S5PC1XX style GPIO configuration
171 Internal configuration for S3C DMA core
173 # device definitions to compile in
178 Compile in platform device definitions for HSMMC code
180 config S3C_DEV_HSMMC1
183 Compile in platform device definitions for HSMMC channel 1
185 config S3C_DEV_HSMMC2
188 Compile in platform device definitions for HSMMC channel 2
193 Compile in platform device definitions for I2C channel 1
198 Compile in platform device definition for framebuffer
200 config S3C_DEV_USB_HOST
203 Compile in platform device definition for USB host.
205 config S3C_DEV_USB_HSOTG
208 Compile in platform device definition for USB high-speed OtG
213 Compile in platform device definition for NAND controller