powerpc/mpc85xx: Add workaround for erratum A007212
Erratum A007212 for DDR is about a runaway condition for DDR PLL
oscilliator. Please refer to erratum document for detail.
For this workaround to work, DDR PLL needs to be disabled in RCW.
However, u-boot needs to know the expected PLL ratio. We put the
ratio in a reserved field RCW[18:23]. U-boot will skip this workaround
if DDR PLL ratio is set, or the reserved field is not set.
Workaround for erratum A007212 applies to selected versions of
B4/T4 SoCs. It is safe to apply the workaround to all versions. It
is helpful for upgrading SoC without changing u-boot. In case DDR
PLL is disabled by RCW (part of the erratum workaround), we need this
u-boot workround to bring up DDR clock.
Signed-off-by:
York Sun <yorksun@freescale.com>
Showing
- arch/powerpc/cpu/mpc85xx/cmd_errata.c 19 additions, 0 deletionsarch/powerpc/cpu/mpc85xx/cmd_errata.c
- arch/powerpc/cpu/mpc85xx/cpu_init.c 69 additions, 0 deletionsarch/powerpc/cpu/mpc85xx/cpu_init.c
- arch/powerpc/cpu/mpc85xx/speed.c 7 additions, 0 deletionsarch/powerpc/cpu/mpc85xx/speed.c
- arch/powerpc/include/asm/config_mpc85xx.h 2 additions, 0 deletionsarch/powerpc/include/asm/config_mpc85xx.h
- arch/powerpc/include/asm/immap_85xx.h 2 additions, 0 deletionsarch/powerpc/include/asm/immap_85xx.h
Loading
Please register or sign in to comment