diff options
author | Kukjin Kim <kgene.kim@samsung.com> | 2010-01-28 20:23:40 -0500 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2010-02-23 20:52:19 -0500 |
commit | 03843a1294073c19783b43f60f3a455dd0672685 (patch) | |
tree | f7233a8a7f2c96541afabe81cb7c1ce3d27b47c3 /arch/arm/plat-s5p/dev-uart.c | |
parent | 7f7035f21c10d83994e045a98c0906781dba02d3 (diff) |
ARM: S5P6442: Add serial port support
This patch adds UART serial port support for S5P6442.
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch/arm/plat-s5p/dev-uart.c')
-rw-r--r-- | arch/arm/plat-s5p/dev-uart.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/plat-s5p/dev-uart.c b/arch/arm/plat-s5p/dev-uart.c index 23c75316d491..a89331ef4ae1 100644 --- a/arch/arm/plat-s5p/dev-uart.c +++ b/arch/arm/plat-s5p/dev-uart.c | |||
@@ -95,6 +95,7 @@ static struct resource s5p_uart2_resource[] = { | |||
95 | }; | 95 | }; |
96 | 96 | ||
97 | static struct resource s5p_uart3_resource[] = { | 97 | static struct resource s5p_uart3_resource[] = { |
98 | #if CONFIG_SERIAL_SAMSUNG_UARTS > 3 | ||
98 | [0] = { | 99 | [0] = { |
99 | .start = S5P_PA_UART3, | 100 | .start = S5P_PA_UART3, |
100 | .end = S5P_PA_UART3 + S5P_SZ_UART, | 101 | .end = S5P_PA_UART3 + S5P_SZ_UART, |
@@ -115,6 +116,7 @@ static struct resource s5p_uart3_resource[] = { | |||
115 | .end = IRQ_S5P_UART_ERR3, | 116 | .end = IRQ_S5P_UART_ERR3, |
116 | .flags = IORESOURCE_IRQ, | 117 | .flags = IORESOURCE_IRQ, |
117 | }, | 118 | }, |
119 | #endif | ||
118 | }; | 120 | }; |
119 | 121 | ||
120 | struct s3c24xx_uart_resources s5p_uart_resources[] __initdata = { | 122 | struct s3c24xx_uart_resources s5p_uart_resources[] __initdata = { |