Re: [POWERPC] 4xx: EP405 boards support for arch/powerpc

2014-10-20 Thread Wolfgang Denk
Dear Ben, In message <1413802359.18300.7.camel@pasglop> you wrote: > > Ah, I even forgot I wrote that ... I'll have to dig out the docs of > that chip, maybe later this week. Thanks ! ... > >565 cbdv = ((pllmr & 0x0006) >> 17) + 1; /* CPU:PLB */ > >566 opdv = ((pllmr

Re: [POWERPC] 4xx: EP405 boards support for arch/powerpc

2014-10-20 Thread Benjamin Herrenschmidt
On Mon, 2014-10-20 at 12:06 +0300, Dan Carpenter wrote: > Hello Benjamin Herrenschmidt, > > The patch 619740384ceb: "[POWERPC] 4xx: EP405 boards support for > arch/powerpc" from Dec 21, 2007, leads to the following static > checker warning: Ah, I even forgot I wrote that

re: [POWERPC] 4xx: EP405 boards support for arch/powerpc

2014-10-20 Thread Dan Carpenter
Hello Benjamin Herrenschmidt, The patch 619740384ceb: "[POWERPC] 4xx: EP405 boards support for arch/powerpc" from Dec 21, 2007, leads to the following static checker warning: arch/powerpc/boot/4xx.c:567 ibm405gp_fixup_clocks() warn: shifting and masking to zero arch/po