diff options
Diffstat (limited to 'lib/fdtdec.c')
-rw-r--r-- | lib/fdtdec.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/fdtdec.c b/lib/fdtdec.c index c4582eacca..873bcfa78c 100644 --- a/lib/fdtdec.c +++ b/lib/fdtdec.c @@ -1268,7 +1268,11 @@ int fdtdec_setup(void) # endif # ifdef CONFIG_OF_EMBED /* Get a pointer to the FDT */ +# ifdef CONFIG_SPL_BUILD + gd->fdt_blob = __dtb_dt_spl_begin; +# else gd->fdt_blob = __dtb_dt_begin; +# endif # elif defined CONFIG_OF_SEPARATE # ifdef CONFIG_SPL_BUILD /* FDT is at end of BSS unless it is in a different memory region */ |