From 7e60b7d125a7285a2411a3dba638dcbdd7905642 Mon Sep 17 00:00:00 2001 From: Ben Gras Date: Sat, 12 Jul 2014 17:04:19 -0500 Subject: uart-output-char.h: extra offset definition. All, This patch is submitted as its values are used in my to-be-submitted beagle bsp. --- c/src/lib/libbsp/shared/include/uart-output-char.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'c/src/lib/libbsp') diff --git a/c/src/lib/libbsp/shared/include/uart-output-char.h b/c/src/lib/libbsp/shared/include/uart-output-char.h index b0093501a4..4242901db4 100644 --- a/c/src/lib/libbsp/shared/include/uart-output-char.h +++ b/c/src/lib/libbsp/shared/include/uart-output-char.h @@ -34,6 +34,7 @@ #define CONSOLE_IIR (*(volatile uint32_t *) (BSP_CONSOLE_UART_BASE + 0x08)) #define CONSOLE_FCR (*(volatile uint32_t *) (BSP_CONSOLE_UART_BASE + 0x08)) #define CONSOLE_LCR (*(volatile uint32_t *) (BSP_CONSOLE_UART_BASE + 0x0C)) +#define CONSOLE_MCR (*(volatile uint32_t *) (BSP_CONSOLE_UART_BASE + 0x10)) #define CONSOLE_LSR (*(volatile uint32_t *) (BSP_CONSOLE_UART_BASE + 0x14)) #define CONSOLE_SCR (*(volatile uint32_t *) (BSP_CONSOLE_UART_BASE + 0x1C)) #define CONSOLE_ACR (*(volatile uint32_t *) (BSP_CONSOLE_UART_BASE + 0x20)) @@ -43,6 +44,7 @@ #define CONSOLE_LSR_RDR 0x1 #define CONSOLE_LSR_THRE 0x20 +#define CONSOLE_LSR_TEMT 0x40 #define BSP_CONSOLE_UART_INIT(dll) \ do { \ -- cgit v1.2.3