[PATCH v3 15/46] boot: arm: riscv: sandbox: Add a format for the booti file
Simon Glass
sjg at chromium.org
Fri Dec 20 05:06:23 CET 2024
Arm invented a new format for arm64 and something similar is also used
with RISC-V. Add this to the list of supported formats and provide a way
for the format to be detected on both architectures.
Update the genimg_get_format() function to support this.
Fix up switch() statements which don't currently mention this format.
Booti does not support a ramdisk, so this can be ignored.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
Changes in v3:
- Add new patch to add a format for the booti file
arch/arm/lib/image.c | 9 ++++++++-
arch/riscv/lib/image.c | 9 ++++++++-
arch/sandbox/lib/bootm.c | 5 +++++
boot/image-board.c | 5 +++++
include/image.h | 9 +++++++++
5 files changed, 35 insertions(+), 2 deletions(-)
Applied to sjg/master, thanks!
More information about the U-Boot
mailing list