Skip to content
Snippets Groups Projects
Commit 427351dc authored by Sandy Patterson's avatar Sandy Patterson Committed by Simon Glass
Browse files

rockchip: Fix SPL console output when ROCKCHIP_SPL_BACK_TO_BROM is enabled


Move back_to_bootrom() call later in SPL init so that the console is
initialized and printouts happen.

Currently when ROCKCHIP_SPL_BACK_TO_BROM is enabled there is no console
output from the SPL init stages.

I wasn't sure exactly where this should happen, so if we are set to do
run spl_board_init, then go back to bootrom there after
preloader_console_init(). Otherwise fall back to old behavior of doing
it in board_init_f.

Signed-off-by: default avatarSandy Patterson <apatterson@sightlogix.com>
Acked-by: default avatarZiyuan Xu <xzy.xu@rock-chips.com>
Acked-by: default avatarSimon Glass <sjg@chromium.org>
parent 2179a07c
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment