diff options
author | Ben Dooks <ben-linux@fluff.org> | 2007-07-22 11:09:44 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2007-07-22 11:44:28 -0400 |
commit | b2627588cbeb70364357048854affd52bf02fe64 (patch) | |
tree | 1f25b68796d362fb5d4dbd66f547e3410e512f9f /arch/arm/plat-s3c/Kconfig | |
parent | 498e03b619638826a7364faed61eb0a3d2a0f0c8 (diff) |
[ARM] 4511/1: S3C: updated LLSERIAL Kconfig defines for CPU support
Update the Kconfig to create configuration options based on which
CPUs are supported for the low level serial code. This means that
the debug macros can be optimised for the type(s) of CPU that are
being used.
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/Kconfig')
-rw-r--r-- | arch/arm/plat-s3c/Kconfig | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/arch/arm/plat-s3c/Kconfig b/arch/arm/plat-s3c/Kconfig index 21435c2c26aa..6c206ab3a1d5 100644 --- a/arch/arm/plat-s3c/Kconfig +++ b/arch/arm/plat-s3c/Kconfig | |||
@@ -12,6 +12,34 @@ config PLAT_S3C | |||
12 | help | 12 | help |
13 | Base platform code for any Samsung S3C device | 13 | Base platform code for any Samsung S3C device |
14 | 14 | ||
15 | # low-level serial option nodes | ||
16 | |||
17 | config CPU_LLSERIAL_S3C2410_ONLY | ||
18 | bool | ||
19 | depends on ARCH_S3C2410 | ||
20 | default y if CPU_LLSERIAL_S3C2410 && !CPU_LLSERIAL_S3C2440 | ||
21 | |||
22 | config CPU_LLSERIAL_S3C2440_ONLY | ||
23 | bool | ||
24 | depends on ARCH_S3C2410 | ||
25 | default y if CPU_LLSERIAL_S3C2440 && !CPU_LLSERIAL_S3C2410 | ||
26 | |||
27 | config CPU_LLSERIAL_S3C2410 | ||
28 | bool | ||
29 | depends on ARCH_S3C2410 | ||
30 | help | ||
31 | Selected if there is an S3C2410 (or register compatible) serial | ||
32 | low-level implementation needed | ||
33 | |||
34 | config CPU_LLSERIAL_S3C2440 | ||
35 | bool | ||
36 | depends on ARCH_S3C2410 | ||
37 | help | ||
38 | Selected if there is an S3C2440 (or register compatible) serial | ||
39 | low-level implementation needed | ||
40 | |||
41 | # boot configurations | ||
42 | |||
15 | comment "Boot options" | 43 | comment "Boot options" |
16 | 44 | ||
17 | config S3C2410_BOOT_WATCHDOG | 45 | config S3C2410_BOOT_WATCHDOG |