Skip to content
Commit 58fa2a5a authored by Randolph's avatar Randolph Committed by Leo Yu-Chi Liang
Browse files

spl: riscv: add os type for next booting stage



If SPL_LOAD_FIT_OPENSBI_OS_BOOT is enabled, the function
spl_invoke_opensbi should change the target OS type to IH_OS_LINUX.
OpenSBI will load the Linux image as the next boot stage.
The os_takes_devicetree function returns a value of true or false
depending on whether or not SPL_LOAD_FIT_OPENSBI_OS_BOOT is enabled.

Signed-off-by: default avatarRandolph <randolph@andestech.com>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
parent 9421e419
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment