summaryrefslogtreecommitdiff
path: root/arch/x86/lib/tpl.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2025-05-28 06:32:08 -0600
committerTom Rini <trini@konsulko.com>2025-06-13 13:22:53 -0600
commitf73450918d66565c5efacf2bb57227ba94bdaa40 (patch)
tree4cf69a4b315d9120683223723dd9bd0d0f53187f /arch/x86/lib/tpl.c
parenta6e4fdfd77be4bd159cc73214bbf0a96df3aa551 (diff)
spl: Rename jump_to_image_no_args()
This function is currently a misnomer at times as we have cases where it passes arguments to the image. In preparation for making that be a more common case rename this function to jump_to_image(...). In order to do this, rename jump_to_image in board_init_r(...) to jumper so that we do not have a conflict. Signed-off-by: Simon Glass <sjg@chromium.org> [trini: Reword the commit message, adding missing cases of jump_to_image_no_args()] Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'arch/x86/lib/tpl.c')
-rw-r--r--arch/x86/lib/tpl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/lib/tpl.c b/arch/x86/lib/tpl.c
index f7df7e03621..06c9e4d02c1 100644
--- a/arch/x86/lib/tpl.c
+++ b/arch/x86/lib/tpl.c
@@ -101,7 +101,7 @@ int spl_spi_load_image(void)
return -EPERM;
}
-void __noreturn jump_to_image_no_args(struct spl_image_info *spl_image)
+void __noreturn jump_to_image(struct spl_image_info *spl_image)
{
debug("Jumping to %s at %lx\n", xpl_name(xpl_next_phase()),
(ulong)spl_image->entry_point);