/* Output a character in polled mode. 
Writes data to tx register. Waits for space if transmitter is full. */
static void uart_liteuart_poll_out(const struct device *dev, unsigned char c)
/* Output a character in polled mode. 
Writes data to tx register. Waits for space if transmitter is full. */
static void uart_liteuart_poll_out(const struct device *dev, unsigned char c)
{
	while (litex_read8(UART_TXFULL_ADDR)) {
	}
	litex_write8(c, UART_RXTX_ADDR);
}