projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
690af71
)
fdt: sandbox: Avoid looking for an appended device tree
author
Simon Glass
<sjg@chromium.org>
Mon, 28 Feb 2022 19:08:24 +0000
(12:08 -0700)
committer
Tom Rini
<trini@konsulko.com>
Wed, 6 Apr 2022 18:01:42 +0000
(14:01 -0400)
We don't use an appended tree for sandbox and the required symbols are
not present. Add a condition to avoid a build error.
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
086f0c7
..
0c0ec03
100644
(file)
--- a/
lib/fdtdec.c
+++ b/
lib/fdtdec.c
@@
-1225,6
+1225,9
@@
static void *fdt_find_separate(void)
{
void *fdt_blob = NULL;
+ if (IS_ENABLED(CONFIG_SANDBOX))
+ return NULL;
+
#ifdef CONFIG_SPL_BUILD
/* FDT is at end of BSS unless it is in a different memory region */
if (CONFIG_IS_ENABLED(SEPARATE_BSS))