[PATCH v2 07/16] bootm: Make cmdline optional with bootm_boot_start()
Simon Glass
sjg at chromium.org
Fri Dec 15 05:19:05 CET 2023
Allow the default command line to be used when booting the OS. This is
needed by fastboot.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
Changes in v2:
- Drop check for NULL with env_set()
include/bootm.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/bootm.h b/include/bootm.h
index fe3a2b38b1c5..51e77bde4014 100644
--- a/include/bootm.h
+++ b/include/bootm.h
@@ -299,7 +299,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.43.0.472.g3155946c3a-goog
More information about the U-Boot
mailing list