diff options
| author | Simon Glass <[email protected]> | 2022-02-28 12:08:23 -0700 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2022-04-06 14:01:42 -0400 |
| commit | 690af71850149bf242502f688eca80fb302d1f76 (patch) | |
| tree | c1743c1f6ea8ee541f10cc8cb2c32ad6ee822f77 /lib | |
| parent | 99aca9efe10c005189b47160d178d18f14301c7e (diff) | |
fdt: Correct condition for SEPARATE_BSS
This may have different settings for SPL and TPL. Correct the condition.
Signed-off-by: Simon Glass <[email protected]>
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/fdtdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/fdtdec.c b/lib/fdtdec.c index 87aa677a4a9..086f0c732a3 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; |
