summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/or1k/generic_or1k/include/uart.h
diff options
context:
space:
mode:
authorHesham ALMatary <heshamelmatary@gmail.com>2015-04-18 17:25:51 +0100
committerGedare Bloom <gedare@rtems.org>2015-04-19 06:26:36 -0400
commit3d597c04ed42d61fcd22a42f1d68c4b1621334fe (patch)
treeff0951ca63f0ff5c8cd432fa63aafffd677ca078 /c/src/lib/libbsp/or1k/generic_or1k/include/uart.h
parentsp13: Document message buffer usage and adjust configuration (diff)
downloadrtems-3d597c04ed42d61fcd22a42f1d68c4b1621334fe.tar.bz2
Rename or1ksim BSP to generic_or1k
or1ksim BSP was initially named after or1ksim simulator, and it was intented to only run there. But now it can also run on QEMU, jor1k and real FPGA boards without modifications. It makes more sense to give it a new generic name like generic_or1k.
Diffstat (limited to '')
-rw-r--r--c/src/lib/libbsp/or1k/generic_or1k/include/uart.h (renamed from c/src/lib/libbsp/or1k/or1ksim/include/uart.h)20
1 files changed, 10 insertions, 10 deletions
diff --git a/c/src/lib/libbsp/or1k/or1ksim/include/uart.h b/c/src/lib/libbsp/or1k/generic_or1k/include/uart.h
index 92ed203844..dbf3bbf9ef 100644
--- a/c/src/lib/libbsp/or1k/or1ksim/include/uart.h
+++ b/c/src/lib/libbsp/or1k/generic_or1k/include/uart.h
@@ -1,13 +1,13 @@
/**
* @file
*
- * @ingroup or1ksim_uart
+ * @ingroup generic_or1k_uart
*
* @brief UART support.
*/
/*
- * COPYRIGHT (c) 2014 Hesham ALMatary <heshamelmatary@gmail.com>
+ * COPYRIGHT (c) 2014-2015 Hesham ALMatary <heshamelmatary@gmail.com>
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
@@ -15,15 +15,15 @@
*/
/**
- * @defgroup or1ksim_uart UART Support
+ * @defgroup generic_or1k_uart UART Support
*
- * @ingroup or1k_or1ksim
+ * @ingroup generic_or1k
*
* @brief Universal Asynchronous Receiver/Transmitter (UART) Support
*/
-#ifndef LIBBSP_OR1K_OR1KSIM_UART_H
-#define LIBBSP_OR1K_OR1KSIM_UART_H
+#ifndef LIBBSP_GENERIC_OR1K_UART_H
+#define LIBBSP_GENERIC_OR1K_UART_H
#include <libchip/serial.h>
@@ -31,12 +31,12 @@
extern "C" {
#endif /* __cplusplus */
-#define OR1KSIM_UART_DEFAULT_BAUD 115200
-#define OR1KSIM_BSP_UART_IRQ 13
-extern const console_fns or1ksim_uart_fns;
+#define OR1K_UART_DEFAULT_BAUD 115200
+#define OR1K_BSP_UART_IRQ 2
+extern const console_fns generic_or1k_uart_fns;
#ifdef __cplusplus
}
#endif /* __cplusplus */
-#endif /* LIBBSP_OR1K_OR1KSIM_UART_H */
+#endif /* LIBBSP_GENERIC_OR1K_UART_H */