]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
fdtdec: Support separate BSS for all XPL builds
authorSimon Glass <sjg@chromium.org>
Fri, 20 Sep 2024 07:24:28 +0000 (09:24 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 3 Oct 2024 17:52:16 +0000 (11:52 -0600)
Adjust the condition so that separate BSS can be deselected for TPL and
VPL.

Signed-off-by: Simon Glass <sjg@chromium.org>
lib/fdtdec.c

index 5edc8dd2f9f02e47329922bb9eed8b1189ea50bb..106bb4063651cff46552b35984fc0a755499e9db 100644 (file)
@@ -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;