aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorBen Dooks <ben-linux@fluff.org>2007-07-22 11:07:09 -0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2007-07-22 11:44:26 -0400
commitd58153d86589b6bba2dd19f4c178252f8cf2ed4f (patch)
tree08db984919265e58408199f114d026c184063819 /arch
parent531b617c71e780b14af5931428e0611f930c2134 (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')
-rw-r--r--arch/arm/Kconfig1
-rw-r--r--arch/arm/plat-s3c/Kconfig76
-rw-r--r--arch/arm/plat-s3c24xx/Kconfig60
3 files changed, 78 insertions, 59 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index a44c6da9bf83..950de3644f10 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -432,6 +432,7 @@ source "arch/arm/mach-omap1/Kconfig"
432source "arch/arm/mach-omap2/Kconfig" 432source "arch/arm/mach-omap2/Kconfig"
433 433
434source "arch/arm/plat-s3c24xx/Kconfig" 434source "arch/arm/plat-s3c24xx/Kconfig"
435source "arch/arm/plat-s3c/Kconfig"
435 436
436if ARCH_S3C2410 437if ARCH_S3C2410
437source "arch/arm/mach-s3c2400/Kconfig" 438source "arch/arm/mach-s3c2400/Kconfig"
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
7config 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
15comment "Boot options"
16
17config 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
25config 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
32comment "Power management"
33
34config 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
42config 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
56config 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
68config 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.
diff --git a/arch/arm/plat-s3c24xx/Kconfig b/arch/arm/plat-s3c24xx/Kconfig
index b972f36d547c..b66fb3c4e228 100644
--- a/arch/arm/plat-s3c24xx/Kconfig
+++ b/arch/arm/plat-s3c24xx/Kconfig
@@ -10,7 +10,7 @@ config PLAT_S3C24XX
10 default y if ARCH_S3C2410 10 default y if ARCH_S3C2410
11 select NO_IOPORT 11 select NO_IOPORT
12 help 12 help
13 Base platform code for any Samsung S3C device 13 Base platform code for any Samsung S3C24XX device
14 14
15if PLAT_S3C24XX 15if PLAT_S3C24XX
16 16
@@ -26,64 +26,6 @@ config PM_SIMTEC
26 Common power management code for systems that are 26 Common power management code for systems that are
27 compatible with the Simtec style of power management 27 compatible with the Simtec style of power management
28 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 29config S3C2410_DMA
88 bool "S3C2410 DMA support" 30 bool "S3C2410 DMA support"
89 depends on ARCH_S3C2410 31 depends on ARCH_S3C2410