aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-s3c
diff options
context:
space:
mode:
authorSandeep Patil <sandeep.patil@azingo.com>2008-10-21 09:06:30 -0400
committerBen Dooks <ben-linux@fluff.org>2008-12-15 16:46:36 -0500
commit1d4bab082474d539f900e896880aa2135e0f5393 (patch)
tree277e991e7994a5b28a894f66c7582e59b6d9c1aa /arch/arm/plat-s3c
parentf0c9eb4ec2d3c9f4ddd74b75da6dfc137e0f6b0d (diff)
[ARM] S3C24A0: Serial port definitions and driver support.
Add serial support for S3C24A0, based on current S3C2410 UART driver. It adds necessary new defines in regs-serial.h for S3C24A0 and the code to support this device in drivers/serial/s3c24a0.c Signed-off-by: Sandeep Patil <sandeep.patil@azingo.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch/arm/plat-s3c')
-rw-r--r--arch/arm/plat-s3c/include/plat/regs-serial.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/plat-s3c/include/plat/regs-serial.h b/arch/arm/plat-s3c/include/plat/regs-serial.h
index a0daa647b92c..18ba31c7174c 100644
--- a/arch/arm/plat-s3c/include/plat/regs-serial.h
+++ b/arch/arm/plat-s3c/include/plat/regs-serial.h
@@ -149,6 +149,14 @@
149#define S3C2410_UFSTAT_RXMASK (15<<0) 149#define S3C2410_UFSTAT_RXMASK (15<<0)
150#define S3C2410_UFSTAT_RXSHIFT (0) 150#define S3C2410_UFSTAT_RXSHIFT (0)
151 151
152/* UFSTAT S3C24A0 */
153#define S3C24A0_UFSTAT_TXFULL (1 << 14)
154#define S3C24A0_UFSTAT_RXFULL (1 << 6)
155#define S3C24A0_UFSTAT_TXMASK (63 << 8)
156#define S3C24A0_UFSTAT_TXSHIFT (8)
157#define S3C24A0_UFSTAT_RXMASK (63)
158#define S3C24A0_UFSTAT_RXSHIFT (0)
159
152/* UFSTAT S3C2443 same as S3C2440 */ 160/* UFSTAT S3C2443 same as S3C2440 */
153#define S3C2440_UFSTAT_TXFULL (1<<14) 161#define S3C2440_UFSTAT_TXFULL (1<<14)
154#define S3C2440_UFSTAT_RXFULL (1<<6) 162#define S3C2440_UFSTAT_RXFULL (1<<6)