projects
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1d23f5
)
fdtdec: Use CONFIG_IS_ENABLED in board_fdt_blob_setup()
author
Simon Glass
<sjg@chromium.org>
Thu, 14 Jan 2021 03:29:49 +0000
(20:29 -0700)
committer
Tom Rini
<trini@konsulko.com>
Wed, 27 Jan 2021 22:03:16 +0000
(17:03 -0500)
This setting may be different in SPL and TPL. Update the code to check
the correct setting.
Signed-off-by: Simon Glass <sjg@chromium.org>
lib/fdtdec.c
patch
|
blob
|
history
diff --git
a/lib/fdtdec.c
b/lib/fdtdec.c
index 54f7a1fe47764e1cc688f61f3fe234ad69276186..a2d2fb4e1fe6e5c6e65a353a8b37acd7528b2c96 100644
(file)
--- a/
lib/fdtdec.c
+++ b/
lib/fdtdec.c
@@
-1253,7
+1253,7
@@
__weak void *board_fdt_blob_setup(void)
void *fdt_blob = NULL;
#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;