From 5d49e0e152a8b81cc0602271e8fd259371f559b7 Mon Sep 17 00:00:00 2001 From: Grzegorz Bernacki Date: Fri, 11 Jan 2008 12:03:43 +0100 Subject: MPC512X: Cleanup bus clock names. Signed-off-by: Grzegorz Bernacki --- cpu/mpc512x/serial.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpu/mpc512x/serial.c') diff --git a/cpu/mpc512x/serial.c b/cpu/mpc512x/serial.c index 200ff2c..8a21404 100644 --- a/cpu/mpc512x/serial.c +++ b/cpu/mpc512x/serial.c @@ -86,7 +86,7 @@ int serial_init(void) psc->mode = PSC_MODE_1_STOPBIT; /* calculate dividor for setting PSC CTUR and CTLR registers */ - baseclk = (gd->ipb_clk + 8) / 16; + baseclk = (gd->ips_clk + 8) / 16; div = (baseclk + (gd->baudrate / 2)) / gd->baudrate; psc->ctur = (div >> 8) & 0xff; -- cgit v1.1