mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-17 22:49:02 +00: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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue