2367908c4f62694ff4834e5608e5c93540d6447f
[pandora-kernel.git] / arch / arm / plat-s3c / Kconfig
1 # Copyright 2007 Simtec Electronics
2 #
3 # Licensed under GPLv2
4
5 config PLAT_S3C
6         bool
7         depends on ARCH_S3C2410 || ARCH_S3C24A0 || ARCH_S3C64XX
8         default y
9         select NO_IOPORT
10         help
11           Base platform code for any Samsung S3C device
12
13 # low-level serial option nodes
14
15 if PLAT_S3C
16
17 config CPU_LLSERIAL_S3C2410_ONLY
18         bool
19         default y if CPU_LLSERIAL_S3C2410 && !CPU_LLSERIAL_S3C2440
20
21 config CPU_LLSERIAL_S3C2440_ONLY
22         bool
23         default y if CPU_LLSERIAL_S3C2440 && !CPU_LLSERIAL_S3C2410
24
25 config CPU_LLSERIAL_S3C2410
26         bool
27         help
28           Selected if there is an S3C2410 (or register compatible) serial
29           low-level implementation needed
30
31 config CPU_LLSERIAL_S3C2440
32         bool
33         help
34           Selected if there is an S3C2440 (or register compatible) serial
35           low-level implementation needed
36
37 # boot configurations
38
39 comment "Boot options"
40
41 config S3C_BOOT_WATCHDOG
42         bool "S3C Initialisation watchdog"
43         depends on S3C2410_WATCHDOG
44         help
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.
48
49 config S3C_BOOT_ERROR_RESET
50         bool "S3C Reboot on decompression error"
51         help
52           Say y here to use the watchdog to reset the system if the
53           kernel decompressor detects an error during decompression.
54
55 config S3C_BOOT_UART_FORCE_FIFO
56        bool "Force UART FIFO on during boot process"
57        default y
58        help
59          Say Y here to force the UART FIFOs on during the kernel
60          uncompressor
61
62
63 config S3C_LOWLEVEL_UART_PORT
64         int "S3C UART to use for low-level messages"
65         default 0
66         help
67           Choice of which UART port to use for the low-level messages,
68           such as the `Uncompressing...` at start time. The value of
69           this configuration should be between zero and two. The port
70           must have been initialised by the boot-loader before use.
71
72 # options for gpiolib support
73
74 config S3C_GPIO_SPACE
75         int "Space between gpio banks"
76         default 0
77         help
78           Add a number of spare GPIO entries between each bank for debugging
79           purposes. This allows any problems where an counter overflows from
80           one bank to another to be caught, at the expense of using a little
81           more memory.
82
83 config S3C_GPIO_TRACK
84         bool
85         help
86           Internal configuration option to enable the s3c specific gpio
87           chip tracking if the platform requires it.
88
89 # DMA
90
91 config S3C_DMA
92         bool
93         help
94           Internal configuration for S3C DMA core
95
96 endif