summaryrefslogtreecommitdiff
path: root/drivers/serial
diff options
context:
space:
mode:
authorMarc Singer <elf@com.rmk.(none)>2004-11-07 23:41:22 +0000
committerRussell King <rmk@flint.arm.linux.org.uk>2004-11-07 23:41:22 +0000
commite45e7d5b7d555fa37d53d8dfac3767a2cd377b31 (patch)
tree7a3ef34b0e57e18b934a93494ff834c8b314d08b /drivers/serial
parent6e9d1722201e6eac0aab4febab55b06aa4347a3a (diff)
[ARM PATCH] 2213/1: lh7a40x serial.h cleanup
Patch from Marc Singer As requested, this patch removes the include/asm-arm/arch-lh7a40x/serial.h header.
Diffstat (limited to 'drivers/serial')
-rw-r--r--drivers/serial/serial_lh7a40x.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/drivers/serial/serial_lh7a40x.c b/drivers/serial/serial_lh7a40x.c
index d863368e45e2..8aa264f4cb42 100644
--- a/drivers/serial/serial_lh7a40x.c
+++ b/drivers/serial/serial_lh7a40x.c
@@ -45,8 +45,6 @@
#include <linux/serial_core.h>
-#include <asm/arch/serial.h>
-
#define DEV_MAJOR 204
#define DEV_MINOR 16
#define DEV_NR 3
@@ -60,6 +58,15 @@
#define UART_REG_SIZE 32
+#define UART_R_DATA (0x00)
+#define UART_R_FCON (0x04)
+#define UART_R_BRCON (0x08)
+#define UART_R_CON (0x0c)
+#define UART_R_STATUS (0x10)
+#define UART_R_RAWISR (0x14)
+#define UART_R_INTEN (0x18)
+#define UART_R_ISR (0x1c)
+
#define UARTEN (0x01) /* UART enable */
#define SIRDIS (0x02) /* Serial IR disable (UART1 only) */