From: Simon Glass Date: Mon, 28 Feb 2022 19:08:23 +0000 (-0700) Subject: fdt: Correct condition for SEPARATE_BSS X-Git-Tag: v2022.07~118^2~12 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=690af71850149bf242502f688eca80fb302d1f76;p=platform%2Fkernel%2Fu-boot.git fdt: Correct condition for SEPARATE_BSS This may have different settings for SPL and TPL. Correct the condition. Signed-off-by: Simon Glass --- diff --git a/lib/fdtdec.c b/lib/fdtdec.c index 87aa677..086f0c7 100644 --- a/lib/fdtdec.c +++ b/lib/fdtdec.c @@ -1227,7 +1227,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;