]> git.sur5r.net Git - u-boot/blobdiff - common/image-fdt.c
mx6qsabreauto: Add parallel NOR flash support
[u-boot] / common / image-fdt.c
index a2342fa3dfdd07c1de766200986cfac97579aa4d..a39ae1b4cce9f172dea99f9459f2320f6b98e8a7 100644 (file)
@@ -413,11 +413,11 @@ int boot_get_fdt(int flag, int argc, char * const argv[], uint8_t arch,
                        }
                } else {
                        debug("## No Flattened Device Tree\n");
-                       return 0;
+                       goto error;
                }
        } else {
                debug("## No Flattened Device Tree\n");
-               return 0;
+               goto error;
        }
 
        *of_flat_tree = fdt_blob;