提交 b2627588 编写于 作者: B Ben Dooks 提交者: Russell King

[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: NBen Dooks <ben-linux@fluff.org>
Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
上级 498e03b6
...@@ -9,6 +9,7 @@ config CPU_S3C2410 ...@@ -9,6 +9,7 @@ config CPU_S3C2410
depends on ARCH_S3C2410 depends on ARCH_S3C2410
select S3C2410_CLOCK select S3C2410_CLOCK
select S3C2410_GPIO select S3C2410_GPIO
select CPU_LLSERIAL_S3C2410
select S3C2410_PM if PM select S3C2410_PM if PM
help help
Support for S3C2410 and S3C2410A family from the S3C24XX line Support for S3C2410 and S3C2410A family from the S3C24XX line
......
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
config CPU_S3C2412 config CPU_S3C2412
bool bool
depends on ARCH_S3C2410 depends on ARCH_S3C2410
select CPU_LLSERIAL_S3C2440
select S3C2412_PM if PM select S3C2412_PM if PM
select S3C2412_DMA if S3C2410_DMA select S3C2412_DMA if S3C2410_DMA
help help
......
...@@ -12,6 +12,7 @@ config CPU_S3C2440 ...@@ -12,6 +12,7 @@ config CPU_S3C2440
select S3C2410_GPIO select S3C2410_GPIO
select S3C2440_DMA if S3C2410_DMA select S3C2440_DMA if S3C2410_DMA
select CPU_S3C244X select CPU_S3C244X
select CPU_LLSERIAL_S3C2440
help help
Support for S3C2440 Samsung Mobile CPU based systems. Support for S3C2440 Samsung Mobile CPU based systems.
......
...@@ -11,6 +11,7 @@ config CPU_S3C2442 ...@@ -11,6 +11,7 @@ config CPU_S3C2442
select S3C2410_GPIO select S3C2410_GPIO
select S3C2410_PM if PM select S3C2410_PM if PM
select CPU_S3C244X select CPU_S3C244X
select CPU_LLSERIAL_S3C2440
help help
Support for S3C2442 Samsung Mobile CPU based systems. Support for S3C2442 Samsung Mobile CPU based systems.
......
...@@ -8,6 +8,7 @@ config CPU_S3C2443 ...@@ -8,6 +8,7 @@ config CPU_S3C2443
bool bool
depends on ARCH_S3C2410 depends on ARCH_S3C2410
select S3C2443_DMA if S3C2410_DMA select S3C2443_DMA if S3C2410_DMA
select CPU_LLSERIAL_S3C2440
help help
Support for the S3C2443 SoC from the S3C24XX line Support for the S3C2443 SoC from the S3C24XX line
......
...@@ -12,6 +12,34 @@ config PLAT_S3C ...@@ -12,6 +12,34 @@ config PLAT_S3C
help help
Base platform code for any Samsung S3C device Base platform code for any Samsung S3C device
# low-level serial option nodes
config CPU_LLSERIAL_S3C2410_ONLY
bool
depends on ARCH_S3C2410
default y if CPU_LLSERIAL_S3C2410 && !CPU_LLSERIAL_S3C2440
config CPU_LLSERIAL_S3C2440_ONLY
bool
depends on ARCH_S3C2410
default y if CPU_LLSERIAL_S3C2440 && !CPU_LLSERIAL_S3C2410
config CPU_LLSERIAL_S3C2410
bool
depends on ARCH_S3C2410
help
Selected if there is an S3C2410 (or register compatible) serial
low-level implementation needed
config CPU_LLSERIAL_S3C2440
bool
depends on ARCH_S3C2410
help
Selected if there is an S3C2440 (or register compatible) serial
low-level implementation needed
# boot configurations
comment "Boot options" comment "Boot options"
config S3C2410_BOOT_WATCHDOG config S3C2410_BOOT_WATCHDOG
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册