[U-Boot] maybe a priority mistake in mpc85xx_cpu\init.c

geniis geniis at 126.com
Wed Oct 20 18:08:06 CEST 2010


hi,
 
    I notice that in "arch\powerpc\cpu\mpc85xx\cpu_init.c" line 193, version 2010.06:
if (! memctl->br1 & 1)
 
    The original intention is to check if V bit of BR1 is set or not, but the operator "!" has higher priority than "&" ,I think it should be changed to:
 
if (! (memctl->br1 & 1))
 
    please check this question, thanks!


More information about the U-Boot mailing list