Merge branch 'master' of git://git.denx.de/u-boot-mpc83xx
[oweals/u-boot.git] / cpu / mcf52x2 / speed.c
index 85a5c4de38f9e4d11906e92b9fab539ab1759c5e..f6edd5b6fa81fa2bdaa6946bfc34567f91ecb1fc 100644 (file)
@@ -67,11 +67,13 @@ int get_clocks (void)
 #if defined(CONFIG_M5275)
        volatile pll_t *pll = (volatile pll_t *)(MMAP_PLL);
 
-        /* Setup PLL */
-        pll->syncr = 0x01080000;
-        while (!(pll->synsr & FMPLL_SYNSR_LOCK));
-        pll->syncr = 0x01000000;
-        while (!(pll->synsr & FMPLL_SYNSR_LOCK));
+       /* Setup PLL */
+       pll->syncr = 0x01080000;
+       while (!(pll->synsr & FMPLL_SYNSR_LOCK))
+               ;
+       pll->syncr = 0x01000000;
+       while (!(pll->synsr & FMPLL_SYNSR_LOCK))
+               ;
 #endif
 
        gd->cpu_clk = CFG_CLK;