mtd: nand: mxs invalidate dcache before DMA read
[oweals/u-boot.git] / common / image-fdt.c
index 80e3e63805cdca31ec0c780c45ab79c3ec601dc1..5180a03a61bfdeed9014b651bf83a4cb9ee0b4dc 100644 (file)
@@ -492,7 +492,8 @@ int image_setup_libfdt(bootm_headers_t *images, void *blob,
                }
        }
        if (IMAGE_OF_SYSTEM_SETUP) {
-               if (ft_system_setup(blob, gd->bd)) {
+               fdt_ret = ft_system_setup(blob, gd->bd);
+               if (fdt_ret) {
                        printf("ERROR: system-specific fdt fixup failed: %s\n",
                               fdt_strerror(fdt_ret));
                        goto err;