[PATCH 4/4] spl: atf: Reduce SPL code size

Simon Glass sjg at chromium.org
Thu Sep 21 03:02:53 CEST 2023


On Sat, 16 Sept 2023 at 02:25, Massimo Pegorer
<massimo.pegorer+oss at gmail.com> wrote:
>
> Previous fix commit increases code size of a few bytes. This minor
> rework finally reduces SPL size of about 64-72 bytes (tested with
> buildman on several aarch64 boards).
>
> Signed-off-by: Massimo Pegorer <massimo.pegorer+oss at gmail.com>
> ---
>  common/spl/spl_atf.c | 42 +++++++++++++++++++-----------------------
>  1 file changed, 19 insertions(+), 23 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>

It would be nice to have test coverage of this code, in a sandbox_spl test


More information about the U-Boot mailing list