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

Liu Dave-r63238 DaveLiu at freescale.com
Thu Jul 27 11:27:36 CEST 2006


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;
 }




More information about the U-Boot mailing list