MIPS: Yosemite, Emma: Fix off-by-two in arcs_cmdline buffer size check
[linux-2.6/linux-mips.git] / arch / arm / mach-prima2 / include / mach / uart.h
blobc98b4d5ac24a4d566a3dfb54ab79f83cef9d56cb
1 /*
2 * arch/arm/mach-prima2/include/mach/uart.h
4 * Copyright (c) 2011 Cambridge Silicon Radio Limited, a CSR plc group company.
6 * Licensed under GPLv2 or later.
7 */
9 #ifndef __MACH_PRIMA2_SIRFSOC_UART_H
10 #define __MACH_PRIMA2_SIRFSOC_UART_H
12 /* UART-1: used as serial debug port */
13 #define SIRFSOC_UART1_PA_BASE 0xb0060000
14 #define SIRFSOC_UART1_VA_BASE SIRFSOC_VA(0x060000)
15 #define SIRFSOC_UART1_SIZE SZ_4K
17 #define SIRFSOC_UART_TXFIFO_STATUS 0x0114
18 #define SIRFSOC_UART_TXFIFO_DATA 0x0118
20 #define SIRFSOC_UART1_TXFIFO_FULL (1 << 5)
21 #define SIRFSOC_UART1_TXFIFO_EMPTY (1 << 6)
23 #endif