[ARM] S3C: Update number of serial ports
authorBen Dooks <ben-linux@fluff.org>
Mon, 3 Nov 2008 09:21:23 +0000 (09:21 +0000)
committerBen Dooks <ben-linux@fluff.org>
Thu, 18 Dec 2008 16:26:11 +0000 (16:26 +0000)
Update the serial driver to handle the 4 ports of the
S3C2443 and S364XX series.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
drivers/serial/Kconfig
drivers/serial/samsung.c

index e4ae499..b695ab3 100644 (file)
@@ -455,6 +455,16 @@ config SERIAL_SAMSUNG
          provide all of these ports, depending on how the serial port
          pins are configured.
 
+config SERIAL_SAMSUNG_UARTS
+       int
+       depends on SERIAL_SAMSUNG
+       default 2 if ARCH_S3C2400
+       default 4 if ARCH_S3C64XX || CPU_S3C2443
+       default 3
+       help
+         Select the number of available UART ports for the Samsung S3C
+         serial driver
+       
 config SERIAL_SAMSUNG_DEBUG
        bool "Samsung SoC serial debug"
        depends on SERIAL_SAMSUNG && DEBUG_LL
Simple merge