/* Enable clock and set baud rate, parity etc.  */
void pxa_setbrg_dev(uint32_t uart_index)
/* Enable clock and set baud rate, parity etc.  */
void pxa_setbrg_dev(uint32_t uart_index)
{
	struct pxa_uart_regs *uart_regs = pxa_uart_index_to_regs(uart_index);
	if (!uart_regs)
		panic("Failed getting UART registers\n");
	pxa_setbrg_common(uart_regs, uart_index, gd->baudrate);
}