diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-09-27 23:16:01 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-01-10 07:18:02 -0500 |
commit | b1524e29e318e79b2d04bcbd651a7af8dff32bb3 (patch) | |
tree | 7e138995fa0f8727b61fdada567cbda3f95e1670 /arch/blackfin/mach-bf533/include/mach/blackfin.h | |
parent | 709465d6ea0466454ef547e7d1065db2b23033a9 (diff) |
Blackfin: bfin_serial.h: unify heavily duplicated serial code
Each Blackfin port has been duplicating UART structures and defines when
there really is no need for it. So start a new bfin_serial.h header to
unify all these pieces and give ourselves a fresh start.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/mach-bf533/include/mach/blackfin.h')
-rw-r--r-- | arch/blackfin/mach-bf533/include/mach/blackfin.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/arch/blackfin/mach-bf533/include/mach/blackfin.h b/arch/blackfin/mach-bf533/include/mach/blackfin.h index f4bd6df5d968..d1dd917ec319 100644 --- a/arch/blackfin/mach-bf533/include/mach/blackfin.h +++ b/arch/blackfin/mach-bf533/include/mach/blackfin.h | |||
@@ -17,19 +17,4 @@ | |||
17 | #include "cdefBF532.h" | 17 | #include "cdefBF532.h" |
18 | #endif | 18 | #endif |
19 | 19 | ||
20 | #define BFIN_UART_NR_PORTS 1 | ||
21 | |||
22 | #define OFFSET_THR 0x00 /* Transmit Holding register */ | ||
23 | #define OFFSET_RBR 0x00 /* Receive Buffer register */ | ||
24 | #define OFFSET_DLL 0x00 /* Divisor Latch (Low-Byte) */ | ||
25 | #define OFFSET_IER 0x04 /* Interrupt Enable Register */ | ||
26 | #define OFFSET_DLH 0x04 /* Divisor Latch (High-Byte) */ | ||
27 | #define OFFSET_IIR 0x08 /* Interrupt Identification Register */ | ||
28 | #define OFFSET_LCR 0x0C /* Line Control Register */ | ||
29 | #define OFFSET_MCR 0x10 /* Modem Control Register */ | ||
30 | #define OFFSET_LSR 0x14 /* Line Status Register */ | ||
31 | #define OFFSET_MSR 0x18 /* Modem Status Register */ | ||
32 | #define OFFSET_SCR 0x1C /* SCR Scratch Register */ | ||
33 | #define OFFSET_GCTL 0x24 /* Global Control Register */ | ||
34 | |||
35 | #endif /* _MACH_BLACKFIN_H_ */ | 20 | #endif /* _MACH_BLACKFIN_H_ */ |