[PATCH V2 5/7] spl: riscv: add os type for next booting stage

Simon Glass sjg at google.com
Thu Oct 12 17:28:59 CEST 2023


On Wed, 11 Oct 2023 at 23:44, Randolph <randolph at andestech.com> wrote:
>
> 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 at andestech.com>
> ---
>  common/spl/spl_fit.c     | 3 ++-
>  common/spl/spl_opensbi.c | 9 +++++++--
>  2 files changed, 9 insertions(+), 3 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list