[bug report] [POWERPC] 4xx: Add 405GPr and 405EP support in boot wrapper

Benjamin Herrenschmidt benh at au1.ibm.com
Thu Oct 27 05:57:23 AEDT 2016


On Wed, 2016-10-26 at 16:03 +0300, Dan Carpenter wrote:
>    565          cbdv = ((pllmr & 0x00060000) >> 17) + 1; /* CPU:PLB */
>    566          opdv = ((pllmr & 0x00018000) >> 15) + 1; /* PLB:OPB */
>    567          ppdv = ((pllmr & 0x00001800) >> 13) + 1; /* PLB:PCI */
>                                  ^^^^^^^^^^^^^^^^^
> This is zero.  It looks like 0x00000600 was probably intended?

I just checked the spec and for the 405gp and it's 0x6000 (bits 17 and
18 in IBM ordering)

Cheers,
Ben.



More information about the Linuxppc-dev mailing list