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

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


Hi Heinrich,

On Fri Sep 29, 2023 at 2:57 AM CEST, Heinrich Schuchardt wrote:
> In SPL we are fighting for every byte of binary size.
>
> What is the impact of this change on the code size?
>
> I would expect that your increasing it; especially if only one of the
> CONFIG_OPTIONS is enabled.
>
> If so, NAK to this patch despite all elegance.

Would you prefer removing `spl_board_prepare_for_boot()` instead?
A handful of boards make use for it so I'd say this is a bug if it never
gets ran on those.

Or would it be better if it was enabled with a CONFIG_ option?

Cheers.
>
> Best regards
>
> Heinrich




More information about the U-Boot mailing list