/* Enables the UART's RX and TX function. 
This function must not be called while any configuration parameters of the UART are being modified at run-time. */
static void xlnx_ps_enable_uart(uintptr_t reg_base)
/* Enables the UART's RX and TX function. 
This function must not be called while any configuration parameters of the UART are being modified at run-time. */
static void xlnx_ps_enable_uart(uintptr_t reg_base)
{
	uint32_t reg_val = sys_read32(reg_base + XUARTPS_CR_OFFSET);
	reg_val &= (~XUARTPS_CR_EN_DIS_MASK);
	reg_val |= XUARTPS_CR_TX_EN | XUARTPS_CR_RX_EN;
	sys_write32(reg_val, reg_base + XUARTPS_CR_OFFSET);
}