On Wed, 11 Oct 2023 at 23:43, Randolph <rando...@andestech.com> wrote: > > Add condition for OpenSBI OS boot mode, by default it is not enabled. > By default, binman creates the output file u-boot.itb. > If SPL_OPENSBI_OS_BOOT is enabled, linux.itb will be created > after compilation instead of the default u-boot.itb. > > Signed-off-by: Randolph <rando...@andestech.com> > --- > arch/riscv/dts/binman.dtsi | 24 ++++++++++++++++++++++++ > 1 file changed, 24 insertions(+) >
Reviewed-by: Simon Glass <s...@chromium.org> You do have the option of creating two images, so you can support both boot approaches. Then you would need to do the check at runtime, somehow.