mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-25 13:14:19 +08:00
fdt: Correct condition for SEPARATE_BSS
This may have different settings for SPL and TPL. Correct the condition. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
99aca9efe1
commit
690af71850
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user