From eb08abc2936cb545ecc814214d499136e68c2658 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Fri, 20 Sep 2024 09:24:28 +0200 Subject: [PATCH] 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 --- lib/fdtdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5