summaryrefslogtreecommitdiff
path: root/arch/m68k
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2011-12-05 23:33:48 +0100
committerWolfgang Denk <wd@denx.de>2011-12-05 23:33:48 +0100
commitd194837fc3042d943ba088fcc221d534330b2872 (patch)
tree4ab6098374e2c02fb99f3672a23c271fd5ade89f /arch/m68k
parent2157497615696c41512d857478158f8546942d70 (diff)
parent7717fe10bd61e16790d4605505100a2f8f632f02 (diff)
downloadu-boot-imx-d194837fc3042d943ba088fcc221d534330b2872.zip
u-boot-imx-d194837fc3042d943ba088fcc221d534330b2872.tar.gz
u-boot-imx-d194837fc3042d943ba088fcc221d534330b2872.tar.bz2
Merge branch 'agust@denx.de' of git://git.denx.de/u-boot-staging
* 'agust@denx.de' of git://git.denx.de/u-boot-staging: Makefile: add tools/mkenvimage to target 'clean' mv_common.c: get rid of 'defined but not used' warning m68k: fix ambiguous bit testing sparc: fix unknown escape sequence warnings sparc: fix unused variable warnings sf: fix erase debug output
Diffstat (limited to 'arch/m68k')
-rw-r--r--arch/m68k/cpu/mcf52x2/cpu_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/m68k/cpu/mcf52x2/cpu_init.c b/arch/m68k/cpu/mcf52x2/cpu_init.c
index 170bbfc..a98a926 100644
--- a/arch/m68k/cpu/mcf52x2/cpu_init.c
+++ b/arch/m68k/cpu/mcf52x2/cpu_init.c
@@ -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)) ;
}
/*