diff options
author | Ben Dooks <ben-linux@fluff.org> | 2007-07-22 11:07:09 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2007-07-22 11:44:26 -0400 |
commit | d58153d86589b6bba2dd19f4c178252f8cf2ed4f (patch) | |
tree | 08db984919265e58408199f114d026c184063819 /arch/arm/plat-s3c | |
parent | 531b617c71e780b14af5931428e0611f930c2134 (diff) |
[ARM] 4509/1: S3C: Create initial arch/arm/plat-s3c
Create the initial arch/arm/plat-s3c directory and start
linking it into the arch/arm build heirarchy ready to
receive the generic parts of the S3C24XX support to be
used when adding S3C6400 devices.
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/plat-s3c')
-rw-r--r-- | arch/arm/plat-s3c/Kconfig | 76 |
1 files changed, 76 insertions, 0 deletions
diff --git a/arch/arm/plat-s3c/Kconfig b/arch/arm/plat-s3c/Kconfig new file mode 100644 index 000000000000..21435c2c26aa --- /dev/null +++ b/arch/arm/plat-s3c/Kconfig | |||
@@ -0,0 +1,76 @@ | |||
1 | # arch/arm/plat-s3c/Kconfig | ||
2 | # | ||
3 | # Copyright 2007 Simtec Electronics | ||
4 | # | ||
5 | # Licensed under GPLv2 | ||
6 | |||
7 | config PLAT_S3C | ||
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 | |||
15 | comment "Boot options" | ||
16 | |||
17 | config S3C2410_BOOT_WATCHDOG | ||
18 | bool "S3C2410 Initialisation watchdog" | ||
19 | depends on PLAT_S3C && S3C2410_WATCHDOG | ||
20 | help | ||
21 | Say y to enable the watchdog during the kernel decompression | ||
22 | stage. If the kernel fails to uncompress, then the watchdog | ||
23 | will trigger a reset and the system should restart. | ||
24 | |||
25 | config S3C2410_BOOT_ERROR_RESET | ||
26 | bool "S3C2410 Reboot on decompression error" | ||
27 | depends on PLAT_S3C | ||
28 | help | ||
29 | Say y here to use the watchdog to reset the system if the | ||
30 | kernel decompressor detects an error during decompression. | ||
31 | |||
32 | comment "Power management" | ||
33 | |||
34 | config S3C2410_PM_DEBUG | ||
35 | bool "S3C2410 PM Suspend debug" | ||
36 | depends on PLAT_S3C && PM | ||
37 | help | ||
38 | Say Y here if you want verbose debugging from the PM Suspend and | ||
39 | Resume code. See <file:Documentation/arm/Samsung-S3C24XX/Suspend.txt> | ||
40 | for more information. | ||
41 | |||
42 | config S3C2410_PM_CHECK | ||
43 | bool "S3C2410 PM Suspend Memory CRC" | ||
44 | depends on PLAT_S3C && PM && CRC32 | ||
45 | help | ||
46 | Enable the PM code's memory area checksum over sleep. This option | ||
47 | will generate CRCs of all blocks of memory, and store them before | ||
48 | going to sleep. The blocks are then checked on resume for any | ||
49 | errors. | ||
50 | |||
51 | Note, this can take several seconds depending on memory size | ||
52 | and CPU speed. | ||
53 | |||
54 | See <file:Documentation/arm/Samsung-S3C24XX/Suspend.txt> | ||
55 | |||
56 | config S3C2410_PM_CHECK_CHUNKSIZE | ||
57 | int "S3C2410 PM Suspend CRC Chunksize (KiB)" | ||
58 | depends on PLAT_S3C && PM && S3C2410_PM_CHECK | ||
59 | default 64 | ||
60 | help | ||
61 | Set the chunksize in Kilobytes of the CRC for checking memory | ||
62 | corruption over suspend and resume. A smaller value will mean that | ||
63 | the CRC data block will take more memory, but wil identify any | ||
64 | faults with better precision. | ||
65 | |||
66 | See <file:Documentation/arm/Samsung-S3C24XX/Suspend.txt> | ||
67 | |||
68 | config S3C2410_LOWLEVEL_UART_PORT | ||
69 | int "S3C2410 UART to use for low-level messages" | ||
70 | depends on PLAT_S3C | ||
71 | default 0 | ||
72 | help | ||
73 | Choice of which UART port to use for the low-level messages, | ||
74 | such as the `Uncompressing...` at start time. The value of | ||
75 | this configuration should be between zero and two. The port | ||
76 | must have been initialised by the boot-loader before use. | ||