summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Glass <[email protected]>2025-03-05 17:25:14 -0700
committerTom Rini <[email protected]>2025-03-18 13:12:15 -0600
commite2e87b840162ddf4ec8df3f235be98a74a964509 (patch)
treefb714298e767eb7fc4e66030314ba561b3992a70 /include
parentfeb8d7fd749413e889ba2c396654f473ba32034d (diff)
boot: pxe: Refactor label_run_boot() to avoid cmdline
Adjust the remaining call in this function to use the bootm API. This will allow PXE to work without the command line. Signed-off-by: Simon Glass <[email protected]>
Diffstat (limited to 'include')
-rw-r--r--include/bootm.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/bootm.h b/include/bootm.h
index d174f18ac18..465577a66f5 100644
--- a/include/bootm.h
+++ b/include/bootm.h
@@ -316,6 +316,15 @@ int bootm_process_cmdline(char *buf, int maxlen, int flags);
int bootm_process_cmdline_env(int flags);
/**
+ * zboot_run() - Run through the various steps to boot a zimage
+ *
+ * @bmi: Bootm information, with bzimage_size, initrd_addr, initrd_size and
+ * cmdline set up. If base_ptr is 0, then bzimage_addr must be set to the start
+ * of the bzImage. Otherwise base_ptr and load_address must be provided.
+ */
+int zboot_run(struct bootm_info *bmi);
+
+/**
* zboot_run_args() - Run through the various steps to boot a zimage
*
* Boot a zimage, given the component parts