From 26736347bf75bb6a70c0d78a71de37203b75dd2a Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Thu, 14 Dec 2023 21:19:05 -0700 Subject: [PATCH] bootm: Make cmdline optional with bootm_boot_start() Allow the default command line to be used when booting the OS. This is needed by fastboot. Signed-off-by: Simon Glass --- include/bootm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/bootm.h b/include/bootm.h index f5229ea90b..1e232e08d4 100644 --- a/include/bootm.h +++ b/include/bootm.h @@ -198,7 +198,7 @@ void zimage_dump(struct boot_params *base_ptr, bool show_cmdline); * bootm_boot_start() - Boot an image at the given address * * @addr: Image address - * @cmdline: Command line to set + * @cmdline: Command line to set, NULL for default */ int bootm_boot_start(ulong addr, const char *cmdline); -- 2.39.5