Commit 03843a12 authored by Kukjin Kim's avatar Kukjin Kim Committed by Ben Dooks

ARM: S5P6442: Add serial port support

This patch adds UART serial port support for S5P6442.
Signed-off-by: default avatarKukjin Kim <kgene.kim@samsung.com>
Signed-off-by: default avatarBen Dooks <ben-linux@fluff.org>
parent 7f7035f2
...@@ -95,6 +95,7 @@ static struct resource s5p_uart2_resource[] = { ...@@ -95,6 +95,7 @@ static struct resource s5p_uart2_resource[] = {
}; };
static struct resource s5p_uart3_resource[] = { static struct resource s5p_uart3_resource[] = {
#if CONFIG_SERIAL_SAMSUNG_UARTS > 3
[0] = { [0] = {
.start = S5P_PA_UART3, .start = S5P_PA_UART3,
.end = S5P_PA_UART3 + S5P_SZ_UART, .end = S5P_PA_UART3 + S5P_SZ_UART,
...@@ -115,6 +116,7 @@ static struct resource s5p_uart3_resource[] = { ...@@ -115,6 +116,7 @@ static struct resource s5p_uart3_resource[] = {
.end = IRQ_S5P_UART_ERR3, .end = IRQ_S5P_UART_ERR3,
.flags = IORESOURCE_IRQ, .flags = IORESOURCE_IRQ,
}, },
#endif
}; };
struct s3c24xx_uart_resources s5p_uart_resources[] __initdata = { struct s3c24xx_uart_resources s5p_uart_resources[] __initdata = {
......
...@@ -551,7 +551,7 @@ config SERIAL_S5PC100 ...@@ -551,7 +551,7 @@ config SERIAL_S5PC100
config SERIAL_S5PV210 config SERIAL_S5PV210
tristate "Samsung S5PV210 Serial port support" tristate "Samsung S5PV210 Serial port support"
depends on SERIAL_SAMSUNG && CPU_S5PV210 depends on SERIAL_SAMSUNG && (CPU_S5PV210 || CPU_S5P6442)
select SERIAL_SAMSUNG_UARTS_4 select SERIAL_SAMSUNG_UARTS_4
default y default y
help help
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment