From: Simon Glass Date: Fri, 15 Dec 2023 04:19:05 +0000 (-0700) Subject: bootm: Make cmdline optional with bootm_boot_start() X-Git-Url: http://git.dujemihanovic.xyz/html/index.html?a=commitdiff_plain;h=26736347bf75bb6a70c0d78a71de37203b75dd2a;p=u-boot.git 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 --- 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);