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.