Skip to content
  • York Sun's avatar
    powerpc/mpc85xx: Add workaround for erratum A007212 · c3678b09
    York Sun authored
    
    
    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: default avatarYork Sun <yorksun@freescale.com>
    c3678b09