]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
i.MX use u-boot baud rate and don't assume UART master clock
authorAndrew Dyer <adyer@righthandtech.com>
Fri, 12 Sep 2008 00:20:46 +0000 (02:20 +0200)
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Fri, 12 Sep 2008 00:20:46 +0000 (02:20 +0200)
commit48fed40575b3e8eae960eb0141509ddd9a73012a
tree5182512a209813bf8a7c5cc2df81dbf9d8094b2e
parent6e1551a870d360805b9d172dc56d935064abe71d
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: Andrew Dyer <adyer@righthandtech.com>
cpu/arm920t/imx/serial.c