On Tue, 27 Oct 2020 at 15:15, Alper Nebi Yasak <alpernebiya...@gmail.com> wrote: > > It's possible to chainload U-Boot proper from the vendor firmware in > rk3399 chromebooks, but the way the vendor firmware sets up clocks is > somehow different than what U-Boot expects. This causes the display to > stay devoid of content even though vidconsole claims to work (with > patches in process of being upstreamed). > > This is meant to be a rk3399 version of commit d3cb46aa8c41 ("rockchip: > Init clocks again when chain-loading") which can detect the discrepancy, > but this patch instead checks whether SPL (and therefore the clock init) > was run via the handoff functionality and runs the init if it was not. > > Signed-off-by: Alper Nebi Yasak <alpernebiya...@gmail.com> > --- > > Changes in v2: > - Check for SPL handoff instead of always re-initializing > > v1: > https://patchwork.ozlabs.org/project/uboot/patch/20201022203740.24528-1-alpernebiya...@gmail.com/ > > drivers/clk/rockchip/clk_rk3399.c | 22 ++++++++++++++++------ > 1 file changed, 16 insertions(+), 6 deletions(-)
Reviewed-by: Simon Glass <s...@chromium.org>