summaryrefslogtreecommitdiff
path: root/arch/sandbox/lib
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2025-03-05 17:25:09 -0700
committerTom Rini <trini@konsulko.com>2025-03-18 13:12:15 -0600
commit098407e67390ed0c369029bab0777a51e5a7bad2 (patch)
tree453851b96164f38ceb757278ffaaf83f8a9357a4 /arch/sandbox/lib
parent3c7b13b075488ebcff2923b0a7b46cc11f39285e (diff)
boot: arm: riscv: sandbox: Add a format for the booti file
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@chromium.org>
Diffstat (limited to 'arch/sandbox/lib')
-rw-r--r--arch/sandbox/lib/bootm.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/sandbox/lib/bootm.c b/arch/sandbox/lib/bootm.c
index 44ba8b52e13..8ed923750f4 100644
--- a/arch/sandbox/lib/bootm.c
+++ b/arch/sandbox/lib/bootm.c
@@ -89,3 +89,8 @@ int booti_setup(ulong image, ulong *relocated_addr, ulong *size,
return 1;
}
+
+bool booti_is_valid(const void *img)
+{
+ return false;
+}