]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/m68k/cpu/mcf52x2/cpu_init.c
m68k: fix ambiguous bit testing
[karo-tx-uboot.git] / arch / m68k / cpu / mcf52x2 / cpu_init.c
index 170bbfc356c61fbd2c512cacd6641b043faf391f..a98a9262ebfb637466b055eafd832efdeb600338 100644 (file)
@@ -284,7 +284,7 @@ void cpu_init_f(void)
        mbar_writeLong(MCF_FMPLL_SYNCR,
                        MCF_FMPLL_SYNCR_MFD(0) | MCF_FMPLL_SYNCR_RFD(0));
 #endif
-       while (!mbar_readByte(MCF_FMPLL_SYNSR) & MCF_FMPLL_SYNSR_LOCK) ;
+       while (!(mbar_readByte(MCF_FMPLL_SYNSR) & MCF_FMPLL_SYNSR_LOCK)) ;
 }
 
 /*