diff options
author | Kinsey Moore <kinsey.moore@oarcorp.com> | 2020-10-26 10:26:49 -0500 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2020-12-02 18:51:40 -0600 |
commit | f0859573f90b539e2a37857b129323c3d6211512 (patch) | |
tree | 02d9c0f6355ad697563c5b7b89dc791b6e585f1d /bsps/include/dev/serial/zynq-uart.h | |
parent | dosfs: Fix Doxygen group placement (diff) | |
download | rtems-f0859573f90b539e2a37857b129323c3d6211512.tar.bz2 |
bsps: Move zynq-uart to bsps/shared
This moves the zynq-uart driver from bsps/arm/shared to bsps/shared to
accomodate use by AArch64 BSPs.
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); |