Skip to content
Commit 48fed405 authored by Andrew Dyer's avatar Andrew Dyer Committed by Jean-Christophe PLAGNIOL-VILLARD
Browse files

i.MX use u-boot baud rate and don't assume UART master clock



1) Change the i.MX serial driver to use the baud rate set in the
 u-boot environment

2) don't assume a 16MHz value for PERCLK1 in baud rate calculations

3) don't write a 1 to the RDR bit in the USR2 reg. (bit is not "write
 one to clear" like other status bits in the reg.)

Signed-off-by: default avatarAndrew Dyer <adyer@righthandtech.com>
parent 6e1551a8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment