summaryrefslogtreecommitdiff
path: root/board/freescale/common/fsl_chain_of_trust.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 /board/freescale/common/fsl_chain_of_trust.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 'board/freescale/common/fsl_chain_of_trust.c')
-rw-r--r--board/freescale/common/fsl_chain_of_trust.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/freescale/common/fsl_chain_of_trust.c b/board/freescale/common/fsl_chain_of_trust.c
index 194a0907e72..3d44357caf7 100644
--- a/board/freescale/common/fsl_chain_of_trust.c
+++ b/board/freescale/common/fsl_chain_of_trust.c
@@ -134,7 +134,7 @@ void spl_validate_uboot(uint32_t hdr_addr, uintptr_t img_addr)
/* Override weak funtion defined in SPL framework to enable validation
* of main u-boot image before jumping to u-boot image.
*/
-void __noreturn jump_to_image_no_args(struct spl_image_info *spl_image)
+void __noreturn jump_to_image(struct spl_image_info *spl_image)
{
typedef void __noreturn (*image_entry_noargs_t)(void);
uint32_t hdr_addr;