]> git.sur5r.net Git - u-boot/blobdiff - arch/arm/mach-socfpga/clock_manager.c
Merge git://git.denx.de/u-boot-spi
[u-boot] / arch / arm / mach-socfpga / clock_manager.c
index 6b76221025af6fc30149f10d427f860e19627e80..43e72a8b559f6a92c45f0cbadf340fdbd177a880 100644 (file)
@@ -37,8 +37,8 @@ void cm_wait_for_lock(u32 mask)
 /* function to poll in the fsm busy bit */
 int cm_wait_for_fsm(void)
 {
-       return wait_for_bit(__func__, (const u32 *)&clock_manager_base->stat,
-                           CLKMGR_STAT_BUSY, false, 20000, false);
+       return wait_for_bit_le32(&clock_manager_base->stat,
+                                CLKMGR_STAT_BUSY, false, 20000, false);
 }
 
 int set_cpu_clk_info(void)