diff options
author | Arnd Bergmann <arnd@arndb.de> | 2011-07-17 21:52:55 +0200 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2011-07-17 21:52:55 +0200 |
commit | 306df04e330bfa0f96bc49fc16db32084fa960f5 (patch) | |
tree | d312d0a0852f8c5c47084b3c4e1e74c99812ffd0 /arch/arm/mach-zynq/include/mach/uart.h | |
parent | 7fbabb52554c6916ce02599f73915576b9329559 (diff) | |
parent | 6c59c115b0f295434cc4f917d180fecd84d39f81 (diff) |
Merge branch 'next/soc' into for-next
Conflicts:
arch/arm/mach-omap2/cm-regbits-44xx.h
Diffstat (limited to 'arch/arm/mach-zynq/include/mach/uart.h')
-rw-r--r-- | arch/arm/mach-zynq/include/mach/uart.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/arch/arm/mach-zynq/include/mach/uart.h b/arch/arm/mach-zynq/include/mach/uart.h new file mode 100644 index 00000000000..5c47c97156f --- /dev/null +++ b/arch/arm/mach-zynq/include/mach/uart.h @@ -0,0 +1,25 @@ +/* arch/arm/mach-zynq/include/mach/uart.h + * + * Copyright (C) 2011 Xilinx + * + * This software is licensed under the terms of the GNU General Public + * License version 2, as published by the Free Software Foundation, and + * may be copied, distributed, and modified under those terms. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + */ + +#ifndef __MACH_UART_H__ +#define __MACH_UART_H__ + +#define UART_CR_OFFSET 0x00 /* Control Register [8:0] */ +#define UART_SR_OFFSET 0x2C /* Channel Status [11:0] */ +#define UART_FIFO_OFFSET 0x30 /* FIFO [15:0] or [7:0] */ + +#define UART_SR_TXFULL 0x00000010 /* TX FIFO full */ +#define UART_SR_TXEMPTY 0x00000008 /* TX FIFO empty */ + +#endif |