diff options
| author | Simon Glass <[email protected]> | 2023-12-03 17:29:35 -0700 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2024-04-10 13:49:16 -0600 |
| commit | d2c485a0321689bc6becac73b4f49b3e39cb288e (patch) | |
| tree | afcc35b1eb492c06344bf55d78a2bb9f9ceede92 /arch/x86/lib | |
| parent | 02ed6c333ec480e2b36485bfcf804e9b12984266 (diff) | |
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 <[email protected]>
Diffstat (limited to 'arch/x86/lib')
| -rw-r--r-- | arch/x86/lib/zimage.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/x86/lib/zimage.c b/arch/x86/lib/zimage.c index b72e2f01bd5..e8a1849947e 100644 --- a/arch/x86/lib/zimage.c +++ b/arch/x86/lib/zimage.c @@ -437,8 +437,8 @@ int zboot_go(void) return ret; } -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) { int ret; @@ -463,7 +463,7 @@ int zboot_start(ulong addr, ulong size, ulong initrd, ulong initrd_size, return log_msg_ret("set", ret); ret = zboot_go(); if (ret) - return log_msg_ret("set", ret); + return log_msg_ret("go", ret); return -EFAULT; } |
