spl: Plumb in the relocating loader
authorSimon Glass <sjg@chromium.org>
Thu, 16 Jan 2025 01:27:20 +0000 (18:27 -0700)
committerTom Rini <trini@konsulko.com>
Wed, 22 Jan 2025 15:47:50 +0000 (09:47 -0600)
commitca055155f4179e92caae47ff21ee858884b47b21
treeed50e57837732ba83c300ed8e8d0befbc61a9a9f
parent20ad3fa0e1af3982ddfe824aae1b8221c1f1fa0c
spl: Plumb in the relocating loader

This is fairly easy to use. The SPL loader sets up some fields in the
spl_image_info struct and calls spl_reloc_prepare(). When SPL is ready
to do the jump it must call spl_reloc_jump() instead of jump_to_image().

Add this logic.

Signed-off-by: Simon Glass <sjg@chromium.org>
common/spl/spl.c
include/spl.h