]> git.sur5r.net Git - u-boot/commit
mpc512x: Fix PSC divisor calculation for baudrate setting
authorStefan Roese <sr@denx.de>
Tue, 2 Jun 2009 14:53:15 +0000 (16:53 +0200)
committerWolfgang Denk <wd@denx.de>
Fri, 12 Jun 2009 18:47:17 +0000 (20:47 +0200)
commitb8c1d6a54ff8195488b68e163de8ec31f1603496
tree3b0a770aafe1bea616c23b211d6bc693b74262c3
parent52568c3654b2b257016d52167805ae132faac14e
mpc512x: Fix PSC divisor calculation for baudrate setting

The wrong input frequency was used in serial_setbrg(). This patch fixes
this by using ips_clk as input frequency for the PSC baudrate generator.

Signed-off-by: Stefan Roese <sr@denx.de>
cpu/mpc512x/serial.c