diff options
Diffstat (limited to '')
-rw-r--r-- | bsps/include/dev/serial/zynq-uart.h (renamed from bsps/arm/include/bsp/zynq-uart.h) | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/bsps/arm/include/bsp/zynq-uart.h b/bsps/include/dev/serial/zynq-uart.h index 20c3c9b653..2c0f250a3a 100644 --- a/bsps/arm/include/bsp/zynq-uart.h +++ b/bsps/include/dev/serial/zynq-uart.h @@ -44,6 +44,9 @@ extern "C" { * @defgroup zynq_uart UART Support * @ingroup RTEMSBSPsARMZynq * @brief UART Support + * + * This driver operates an instance of the Cadence UART present in the + * family of Xilinx Zynq SoCs. */ typedef struct { @@ -57,6 +60,10 @@ extern const rtems_termios_device_handler zynq_uart_handler; #define ZYNQ_UART_DEFAULT_BAUD 115200 +#ifndef ZYNQ_CLOCK_UART +#define ZYNQ_CLOCK_UART 100000000 +#endif + void zynq_uart_initialize(rtems_termios_device_context *base); int zynq_uart_read_polled(rtems_termios_device_context *base); |