On Thu, 11 Aug 2022 at 05:09, Lee Jones <l...@kernel.org> wrote: > > Currently the default initialisation frequency is 50MHz. Although > this does appear to be suitable for some LPDDR4 RAM chips, training at > this low frequency has been seen to cause Column errors, leading to > Capacity check errors on others. > > Here we force RAM initialisation to happen at 400MHz before ramping up > to the final value running value of 800MHz after everything has been > successfully configured. > > Link: https://lore.kernel.org/u-boot/yo4v3juehxtov...@google.com/ > Suggested-by: YouMin Chen <c...@rock-chips.com> > Signed-off-by: Lee Jones <l...@kernel.org> > Tested-by: Xavier Drudis Ferran <xdru...@tinet.cat> > Reviewed-by: Kever Yang <kever.y...@rock-chips.com> > --- > drivers/ram/rockchip/sdram_rk3399.c | 36 +++++++++++++++++------------ > 1 file changed, 21 insertions(+), 15 deletions(-) >
Reviewed-by: Simon Glass <s...@chromium.org>