drivers: serial: liteuart: add missing include

soc.h was missing to access custom IO read/write functions, e.g.
litex_read8.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
This commit is contained in:
Gerard Marull-Paretas 2024-01-18 14:47:45 +01:00 committed by Fabio Baltieri
parent 183dd20424
commit 5e17b89804

View file

@ -14,6 +14,8 @@
#include <zephyr/drivers/uart.h>
#include <zephyr/types.h>
#include <soc.h>
#define UART_RXTX_ADDR DT_INST_REG_ADDR_BY_NAME(0, rxtx)
#define UART_TXFULL_ADDR DT_INST_REG_ADDR_BY_NAME(0, txfull)
#define UART_RXEMPTY_ADDR DT_INST_REG_ADDR_BY_NAME(0, rxempty)