]> git.baikalelectronics.ru Git - uboot.git/commit
rockchip: gru: Allow setting up clocks in U-Boot proper
authorAlper Nebi Yasak <alpernebiyasak@gmail.com>
Tue, 27 Oct 2020 21:15:11 +0000 (00:15 +0300)
committerKever Yang <kever.yang@rock-chips.com>
Fri, 13 Nov 2020 10:15:08 +0000 (18:15 +0800)
commitab6cff2476c0a141296d1ff5bb88fd16c77fad27
tree1c77816139c5d0cf2c0b4e877339ee79bce5675b
parenta0140be7a048e61832bb08778f14583f606f49a8
rockchip: gru: Allow setting up clocks in U-Boot proper

Commit 0c89375e7b61 ("rockchip: rk3288: Allow setting up clocks in
U-Boot proper") fixes some clock issues when chainloading U-Boot on
rk3288 chromebooks. Part of that change is still available in veyron's
board_early_init_r() function. Since chain-loading U-Boot proper from
vendor firmware is possible on gru boards as well, do the same thing for
them too.

On rk3399, this needs to detect whether SPL was run via handoff, so
enable that and bloblist kconfigs it needs for chromebook_bob.

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>
board/google/gru/gru.c
configs/chromebook_bob_defconfig