[U-Boot-Users] [PATCH] fix incorrect bus clk of 83xx

Liu Dave-r63238
2006-07-27T09:27:36Z

All,

The gd->bus_clk of 83xx should be csb_clk, not libu_clk,
If it don't be changed, will make the timer incorrect.

CHANGELOG:
* fix incorrect gd->bus_clk, it should be csb_clk
Patch by Dave Liu, 21 July 2006

diff --git a/cpu/mpc83xx/speed.c b/cpu/mpc83xx/speed.c
index ad6b3f6..bc689c1 100644
--- a/cpu/mpc83xx/speed.c
+++ b/cpu/mpc83xx/speed.c
@@ -333,7 +333,7 @@ #endif /* (CFG_HRCW_HIGH | RCWH_PCIHOST)
gd->pci_clk = pci_sync_in;

gd->cpu_clk = gd->core_clk;
- gd->bus_clk = gd->lbiu_clk;
+ gd->bus_clk = gd->csb_clk;
return 0;
}