x86: zboot: Rename zboot_start() to zboot_run()

The term 'start' is used withint bootm and zboot to indicate the first
phase of booting an image.

Since zboot_start() does the whole boot, rename it to zboot_run() to
align with bootm_run() etc.

Fix a log message while we are here.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass
2023-12-03 17:29:35 -07:00
committed by Tom Rini
parent 02ed6c333e
commit d2c485a032
3 changed files with 9 additions and 9 deletions

View File

@@ -137,7 +137,7 @@ int bootm_process_cmdline(char *buf, int maxlen, int flags);
int bootm_process_cmdline_env(int flags);
/**
* zboot_start() - Boot a zimage
* zboot_run() - Run through the various steps to boot a zimage
*
* Boot a zimage, given the component parts
*
@@ -150,8 +150,8 @@ int bootm_process_cmdline_env(int flags);
* @cmdline: Command line to use for booting
* Return: -EFAULT on error (normally it does not return)
*/
int zboot_start(ulong addr, ulong size, ulong initrd, ulong initrd_size,
ulong base, char *cmdline);
int zboot_run(ulong addr, ulong size, ulong initrd, ulong initrd_size,
ulong base, char *cmdline);
/*
* zimage_get_kernel_version() - Get the version string from a kernel