aboutsummaryrefslogtreecommitdiff
path: root/arch/sandbox
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-10-01 19:15:24 -0600
committerTom Rini <trini@konsulko.com>2023-12-13 18:39:05 -0500
commit6b8f26bca4854ea6826d8d9f3b1f644e349c9b7e (patch)
treee12007c15e28e29590781963a088b2521767403a /arch/sandbox
parentcde03fa23e2fa47707ef81b9a91b1f4b631adbb7 (diff)
sandbox: Add a dummy booti command
Add basic sandbox support for 'booti' so we can start to boot the test ARMbian image. This is helpful in checking that it is parsed correctly. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/sandbox')
-rw-r--r--arch/sandbox/lib/bootm.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/sandbox/lib/bootm.c b/arch/sandbox/lib/bootm.c
index dc8b8e46cb..a748ba650b 100644
--- a/arch/sandbox/lib/bootm.c
+++ b/arch/sandbox/lib/bootm.c
@@ -78,3 +78,10 @@ int do_bootm_linux(int flag, int argc, char *argv[], struct bootm_headers *image
return 0;
}
+
+/* used for testing 'booti' command */
+int booti_setup(ulong image, ulong *relocated_addr, ulong *size,
+ bool force_reloc)
+{
+ return 0;
+}