mirror of
https://xff.cz/git/u-boot/
synced 2025-09-02 17:22:22 +02: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:
@@ -1227,7 +1227,7 @@ static void *fdt_find_separate(void)
|
|||||||
|
|
||||||
#ifdef CONFIG_SPL_BUILD
|
#ifdef CONFIG_SPL_BUILD
|
||||||
/* FDT is at end of BSS unless it is in a different memory region */
|
/* 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;
|
fdt_blob = (ulong *)&_image_binary_end;
|
||||||
else
|
else
|
||||||
fdt_blob = (ulong *)&__bss_end;
|
fdt_blob = (ulong *)&__bss_end;
|
||||||
|
Reference in New Issue
Block a user