summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/image-fdt.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/image-fdt.c b/common/image-fdt.c
index c306794..04de749 100644
--- a/common/image-fdt.c
+++ b/common/image-fdt.c
@@ -514,7 +514,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;