diff options
author | Matt Hsu <matt@0xlab.org> | 2009-06-29 13:03:41 +0200 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2009-08-14 01:58:03 +0200 |
commit | bd258e525a40efc2c3798b76a725cd3d5c4e3d93 (patch) | |
tree | c25ce6dafb73a04a419c6e1fd489bdff98b64682 /arch/arm/mach-s3c6410 | |
parent | ARM: NCP: make ncp_iodesc static and move it to initdata section (diff) | |
download | linux-bd258e525a40efc2c3798b76a725cd3d5c4e3d93.tar.xz linux-bd258e525a40efc2c3798b76a725cd3d5c4e3d93.zip |
ARM: S3C64XX: Add UART2,UART3 support for SMDK6410 (resend)
Add proper uartcfg for UART port 2,3 and tidy it up on SMDK6410.
Signed-off-by: Matt Hsu <matt@0xlab.org>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch/arm/mach-s3c6410')
-rw-r--r-- | arch/arm/mach-s3c6410/mach-smdk6410.c | 26 |
1 files changed, 20 insertions, 6 deletions
diff --git a/arch/arm/mach-s3c6410/mach-smdk6410.c b/arch/arm/mach-s3c6410/mach-smdk6410.c index bc9a7dea567f..ea51dbe76e3e 100644 --- a/arch/arm/mach-s3c6410/mach-smdk6410.c +++ b/arch/arm/mach-s3c6410/mach-smdk6410.c @@ -65,16 +65,30 @@ static struct s3c2410_uartcfg smdk6410_uartcfgs[] __initdata = { [0] = { .hwport = 0, .flags = 0, - .ucon = 0x3c5, - .ulcon = 0x03, - .ufcon = 0x51, + .ucon = UCON, + .ulcon = ULCON, + .ufcon = UFCON, }, [1] = { .hwport = 1, .flags = 0, - .ucon = 0x3c5, - .ulcon = 0x03, - .ufcon = 0x51, + .ucon = UCON, + .ulcon = ULCON, + .ufcon = UFCON, + }, + [2] = { + .hwport = 2, + .flags = 0, + .ucon = UCON, + .ulcon = ULCON, + .ufcon = UFCON, + }, + [3] = { + .hwport = 3, + .flags = 0, + .ucon = UCON, + .ulcon = ULCON, + .ufcon = UFCON, }, }; |