.. | .. |
---|
1 | 1 | /* |
---|
2 | | - * arch/arm/mach-dove/include/mach/uncompress.h |
---|
3 | | - * |
---|
4 | 2 | * This file is licensed under the terms of the GNU General Public |
---|
5 | 3 | * License version 2. This program is licensed "as is" without any |
---|
6 | 4 | * warranty of any kind, whether express or implied. |
---|
7 | 5 | */ |
---|
8 | 6 | |
---|
9 | | -#include <mach/dove.h> |
---|
| 7 | +#define UART0_PHYS_BASE (0xf1000000 + 0x12000) |
---|
10 | 8 | |
---|
11 | | -#define UART_THR ((volatile unsigned char *)(DOVE_UART0_PHYS_BASE + 0x0)) |
---|
12 | | -#define UART_LSR ((volatile unsigned char *)(DOVE_UART0_PHYS_BASE + 0x14)) |
---|
| 9 | +#define UART_THR ((volatile unsigned char *)(UART0_PHYS_BASE + 0x0)) |
---|
| 10 | +#define UART_LSR ((volatile unsigned char *)(UART0_PHYS_BASE + 0x14)) |
---|
13 | 11 | |
---|
14 | 12 | #define LSR_THRE 0x20 |
---|
15 | 13 | |
---|