commit | 263e2ae01bbe1f0cf4bed58dd3354fa0093fd9f8 | [log] [tgz] |
---|---|---|
author | Randolph <randolph@andestech.com> | Thu Oct 12 14:35:07 2023 +0800 |
committer | Leo Yu-Chi Liang <ycliang@andestech.com> | Thu Oct 19 17:29:33 2023 +0800 |
tree | 4c08bb463fd6c669119d57f3b5b2e04c74503b01 | |
parent | 3675b90cbe23fa9076e9000cc211d635d7dbf666 [diff] |
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: Randolph <randolph@andestech.com> Reviewed-by: Simon Glass <sjg@chromium.org>