This series adds support for building different images for 32-bit vs 64-bit Risc-V CPUs and also for verifying the target arch of an image before booting it.
Change in v2: - Rebase to latest master branch - Improve comment in image.h - Set arch type in booti for all modes Changes from RFC: - Rebase on latest master branch - Improve commit message for patch 3 Mayuresh Chitale (3): riscv: image: Add new image type for RV64 riscv: Select appropriate image type booti/bootm: riscv: Verify image arch type arch/riscv/dts/binman.dtsi | 14 ++++++++++---- arch/riscv/include/asm/u-boot.h | 4 ++++ arch/riscv/lib/bootm.c | 4 ++++ boot/image.c | 3 ++- cmd/booti.c | 7 +++++-- include/image.h | 3 ++- 6 files changed, 27 insertions(+), 8 deletions(-) -- 2.43.0