[PATCH] spl: Jump to image at end of board_init_r

Ferass El Hafidi vitali64pmemail at protonmail.com
Fri Sep 29 09:55:57 CEST 2023


On Fri Sep 29, 2023 at 1:42 AM CEST, Simon Glass wrote:
> On Wed, 27 Sept 2023 at 15:44, Jonas Karlman <jonas at kwiboo.se> wrote:
> >
> > spl_board_prepare_for_boot() is not called before jumping/invoking atf,
> > optee, opensbi or linux images.
> >
> > Jump to image at the end of board_init_r() to fix this.
> >
> > Signed-off-by: Jonas Karlman <jonas at kwiboo.se>
> > ---
> > This patch have dependencies on the following patches:
> >
> > spl: add __noreturn attribute to spl_invoke_opensbi function
> > https://patchwork.ozlabs.org/patch/1827057/
> >
> > spl: add __noreturn attribute to spl_invoke_atf function
> > https://patchwork.ozlabs.org/patch/1831366/
> >
> > spl: Drop the switch() statement for OS selection
> > from the "spl: Preparation for Universal Payload" series
> > https://patchwork.ozlabs.org/patch/1839731/
> > ---
> >  common/spl/spl.c | 12 +++++++-----
> >  1 file changed, 7 insertions(+), 5 deletions(-)
> >
>
> Reviewed-by: Simon Glass <sjg at chromium.org>
>
> Very nice to see this!

Nice indeed!



More information about the U-Boot mailing list