The UART module cannot always be set to any specific baudrate which
means that the uart_get_baudrate was returning the desired baudrate
instead of the actual baudrate.
This commit computes the baudrate from UART3 registers in
uart_get_baudrate and removes the current_baud_rate variable.
The UART module cannot always be set to any specific baudrate which means that the uart_get_baudrate was returning the desired baudrate instead of the actual baudrate.
This commit computes the baudrate from UART3 registers in uart_get_baudrate and removes the current_baud_rate variable.
Signed-off-by: Francois Berder francois.berder@imgtec.com