]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[ARM] 4000/1: Osiris: add third serial port in
authorBen Dooks <ben-linux@fluff.org>
Thu, 7 Dec 2006 19:49:01 +0000 (20:49 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 7 Dec 2006 22:37:46 +0000 (22:37 +0000)
Add the mapping for the third S3C2440 serial
port into the default serial devices for the
Osiris.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-s3c2410/mach-osiris.c

index e193ba69e652e2e39c0dffed700363cbecb42c54..a4ab144e7292622d4c4968fb43c8da5544a557de 100644 (file)
@@ -114,6 +114,15 @@ static struct s3c2410_uartcfg osiris_uartcfgs[] __initdata = {
                .clocks      = osiris_serial_clocks,
                .clocks_size = ARRAY_SIZE(osiris_serial_clocks),
        },
+       [2] = {
+               .hwport      = 2,
+               .flags       = 0,
+               .ucon        = UCON,
+               .ulcon       = ULCON,
+               .ufcon       = UFCON,
+               .clocks      = osiris_serial_clocks,
+               .clocks_size = ARRAY_SIZE(osiris_serial_clocks),
+       }
 };
 
 /* NAND Flash on Osiris board */