From: Simon Glass Date: Fri, 20 Sep 2024 07:24:28 +0000 (+0200) Subject: fdtdec: Support separate BSS for all XPL builds X-Git-Url: http://git.dujemihanovic.xyz/%22http:/www.sics.se/static/git-favicon.png?a=commitdiff_plain;h=eb08abc2936cb545ecc814214d499136e68c2658;p=u-boot.git fdtdec: Support separate BSS for all XPL builds Adjust the condition so that separate BSS can be deselected for TPL and VPL. Signed-off-by: Simon Glass --- diff --git a/lib/fdtdec.c b/lib/fdtdec.c index 5edc8dd2f9..106bb40636 100644 --- a/lib/fdtdec.c +++ b/lib/fdtdec.c @@ -1232,7 +1232,7 @@ static void *fdt_find_separate(void) #ifdef CONFIG_SPL_BUILD /* FDT is at end of BSS unless it is in a different memory region */ - if (IS_ENABLED(CONFIG_SPL_SEPARATE_BSS)) + if (CONFIG_IS_ENABLED(SEPARATE_BSS)) fdt_blob = (ulong *)_image_binary_end; else fdt_blob = (ulong *)__bss_end;