[PATCH] spl: spl_legacy: Fix spl_end address

Fabio Estevam festevam at gmail.com
Fri Jun 30 20:36:36 CEST 2023


On Fri, Jun 30, 2023 at 3:26 PM Fabio Estevam <festevam at gmail.com> wrote:

> +       if (IS_ENABLED(CONFIG_SPL_SEPARATE_BSS))
> +               spl_end = (uintptr_t)_image_binary_end;
> +       else
> +               spl_end = (uintptr_t)__bss_end;
> +

I tested this with CONFIG_SPL_SEPARATE_BSS=n and it failed.

The original patch works fine on both cases for me.


More information about the U-Boot mailing list