Hi Deepanraj
you can add debug printf to function serial_setbrg() in
uboot/drivers/serial/serial_mxc.c
to check what exact baudrate is set to UART:
void serial_setbrg (void)
{
u32 clk = mxc_get_clock(MXC_UART_CLK);
if (!gd->baudrate)
gd->baudrate = CONFIG_BAUDRATE;
__REG(UART_PHYS + UFCR) = 4 << 7; /* divide input clock by 2 */
__REG(UART_PHYS + UBIR) = 0xf;
__REG(UART_PHYS + UBMR) = clk / (2 * gd->baudrate);
}
Best regards
chip