diff options
| author | Simon Glass <[email protected]> | 2022-02-28 12:08:24 -0700 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2022-04-06 14:01:42 -0400 |
| commit | 423cf0acdacd2260e362f1caec8a3aa6d2f59788 (patch) | |
| tree | 7144eefe5cb0b86d8a894f93c1855e22e976b2b2 /lib/fdtdec.c | |
| parent | 690af71850149bf242502f688eca80fb302d1f76 (diff) | |
fdt: sandbox: Avoid looking for an appended device tree
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 <[email protected]>
Diffstat (limited to 'lib/fdtdec.c')
| -rw-r--r-- | lib/fdtdec.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/fdtdec.c b/lib/fdtdec.c index 086f0c732a3..0c0ec034ec8 100644 --- 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)) |
