]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - lib/fdtdec.c
fdt: Rename setup_fdt() and make it prepare also
[karo-tx-uboot.git] / lib / fdtdec.c
index d9dbc86164bd7e2e94f075248cf77fd594308660..80b897a21cd69a88ce5d3fe1398d23da11339f67 100644 (file)
@@ -1039,7 +1039,7 @@ int fdtdec_decode_memory_region(const void *blob, int config_node,
        return 0;
 }
 
-int setup_fdt(void)
+int fdtdec_setup(void)
 {
 #ifdef CONFIG_OF_CONTROL
 # ifdef CONFIG_OF_EMBED
@@ -1065,7 +1065,7 @@ int setup_fdt(void)
                                                (uintptr_t)gd->fdt_blob);
 # endif
 #endif
-       return 0;
+       return fdtdec_prepare_fdt();
 }
 
 #endif /* !USE_HOSTCC */