
12 Oct
2023
12 Oct
'23
5:28 p.m.
On Wed, 11 Oct 2023 at 23:43, Randolph randolph@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 randolph@andestech.com
arch/riscv/dts/binman.dtsi | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+)
Reviewed-by: Simon Glass sjg@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.