~ubuntu-branches/ubuntu/precise/linux-lowlatency/precise

« back to all changes in this revision

Viewing changes to arch/arm/mach-zynq/include/mach/uart.h

  • Committer: Package Import Robot
  • Author(s): Alessio Igor Bogani
  • Date: 2011-10-26 11:13:05 UTC
  • Revision ID: package-import@ubuntu.com-20111026111305-tz023xykf0i6eosh
Tags: upstream-3.2.0
ImportĀ upstreamĀ versionĀ 3.2.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* arch/arm/mach-zynq/include/mach/uart.h
 
2
 *
 
3
 *  Copyright (C) 2011 Xilinx
 
4
 *
 
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.
 
8
 *
 
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.
 
13
 */
 
14
 
 
15
#ifndef __MACH_UART_H__
 
16
#define __MACH_UART_H__
 
17
 
 
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] */
 
21
 
 
22
#define UART_SR_TXFULL          0x00000010      /* TX FIFO full */
 
23
#define UART_SR_TXEMPTY         0x00000008      /* TX FIFO empty */
 
24
 
 
25
#endif