u-boot-brain/drivers/clk/rockchip
Alper Nebi Yasak eb89025013 rockchip: rk3399: Init clocks in U-Boot proper if SPL was not run
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 d3cb46aa8c ("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 <alpernebiyasak@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Kever Yang<kever.yang@rock-chips.com>
2020-11-13 18:15:08 +08:00
..
clk_pll.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
clk_px30.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
clk_rk322x.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
clk_rk3036.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
clk_rk3128.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
clk_rk3188.c rockchip: clk: rk3188: change APLL to safe 600MHz 2020-06-27 23:23:00 +08:00
clk_rk3288.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
clk_rk3308.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
clk_rk3328.c drivers: clk: rockchip: clk_rk3328: Add SPI support 2020-07-22 20:22:00 +08:00
clk_rk3368.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
clk_rk3399.c rockchip: rk3399: Init clocks in U-Boot proper if SPL was not run 2020-11-13 18:15:08 +08:00
clk_rv1108.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
Makefile rockchip: clk: Add clk driver for rk3308 2019-11-17 17:22:53 +08:00