[U-Boot] [PATCH] powerpc/mpc85xx: set L2PE in L2CSR0 before enabling L2 cache

York Sun york.sun at nxp.com
Tue Apr 19 18:32:39 CEST 2016


On 04/18/2016 05:16 AM, Aneesh Bansal wrote:
> While enabling L2 cache, the value of L2PE (L2 cache parity/ECC
> error checking enable) must not be changed while the L2 cache is
> enabled.
> So, L2PE must be set before enabling L2 cache.

Aneesh,

The original code set L2PE and L2E together. The L2PE bit doesn't change after
that. Doesn't this satisfy the requirement? Did you observe any failure before
your patch?

York



More information about the U-Boot mailing list