summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/image-fdt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/image-fdt.c b/common/image-fdt.c
index 1d76bd6..8db3ccb 100644
--- a/common/image-fdt.c
+++ b/common/image-fdt.c
@@ -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");
- goto error;
+ return 0;
}
} else {
debug("## No Flattened Device Tree\n");
- goto error;
+ return 0;
}
*of_flat_tree = fdt_blob;