diff options
Diffstat (limited to 'core/include/drivers/amlogic_uart.h')
-rw-r--r-- | core/include/drivers/amlogic_uart.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/core/include/drivers/amlogic_uart.h b/core/include/drivers/amlogic_uart.h new file mode 100644 index 00000000..97b55f22 --- /dev/null +++ b/core/include/drivers/amlogic_uart.h @@ -0,0 +1,16 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ + +#ifndef AMLOGIC_UART_H +#define AMLOGIC_UART_H + +#include <types_ext.h> +#include <drivers/serial.h> + +struct amlogic_uart_data { + struct io_pa_va base; + struct serial_chip chip; +}; + +void amlogic_uart_init(struct amlogic_uart_data *pd, paddr_t base); + +#endif /* AMLOGIC_UART_H */ |