From: Simon Glass <sjg@chromium.org>
Date: Fri, 15 Dec 2023 04:19:05 +0000 (-0700)
Subject: bootm: Make cmdline optional with bootm_boot_start()
X-Git-Tag: v2025.01-rc5-pxa1908~581^2~9
X-Git-Url: http://git.dujemihanovic.xyz/img/static//%22brlog.php?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 <sjg@chromium.org>
---

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);