summaryrefslogtreecommitdiff
path: root/include/bsp/zynq-uart.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/bsp/zynq-uart.h')
-rw-r--r--include/bsp/zynq-uart.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/include/bsp/zynq-uart.h b/include/bsp/zynq-uart.h
new file mode 100644
index 0000000000..bb0ff56598
--- /dev/null
+++ b/include/bsp/zynq-uart.h
@@ -0,0 +1,42 @@
+/**
+ * @file
+ * @ingroup zynq_uart
+ * @brief UART support.
+ */
+
+/*
+ * Copyright (c) 2013 embedded brains GmbH. All rights reserved.
+ *
+ * embedded brains GmbH
+ * Dornierstr. 4
+ * 82178 Puchheim
+ * Germany
+ * <info@embedded-brains.de>
+ *
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this distribution or at
+ * http://www.rtems.org/license/LICENSE.
+ */
+
+#ifndef LIBBSP_ARM_XILINX_ZYNQ_UART_H
+#define LIBBSP_ARM_XILINX_ZYNQ_UART_H
+
+#include <libchip/serial.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
+/**
+ * @defgroup zynq_uart UART Support
+ * @ingroup arm_zynq
+ * @brief UART Support
+ */
+
+extern const console_fns zynq_uart_fns;
+
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
+#endif /* LIBBSP_ARM_XILINX_ZYNQ_UART_H */