pinctrl: mvebu: Make drivers depend on the pinctrl framework
[oweals/u-boot.git] / lib / fdtdec.c
index 46df0f15f9c2cac54c6637967cacdbed3c242f97..30ec6b92b2701d97c4161718ed30461961233e0b 100644 (file)
@@ -1280,7 +1280,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 */