spi-topcliff-pch: Fix issue for transmitting over 4KByte
[zen-stable.git] / arch / arm / mach-zynq / include / mach / uart.h
blob5c47c97156f348fe6fe79cee9d498516e2947654
1 /* arch/arm/mach-zynq/include/mach/uart.h
3 * Copyright (C) 2011 Xilinx
5 * This software is licensed under the terms of the GNU General Public
6 * License version 2, as published by the Free Software Foundation, and
7 * may be copied, distributed, and modified under those terms.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
15 #ifndef __MACH_UART_H__
16 #define __MACH_UART_H__
18 #define UART_CR_OFFSET 0x00 /* Control Register [8:0] */
19 #define UART_SR_OFFSET 0x2C /* Channel Status [11:0] */
20 #define UART_FIFO_OFFSET 0x30 /* FIFO [15:0] or [7:0] */
22 #define UART_SR_TXFULL 0x00000010 /* TX FIFO full */
23 #define UART_SR_TXEMPTY 0x00000008 /* TX FIFO empty */
25 #endif