[PATCH] blspec: print error when devicetree not found
Sascha Hauer
s.hauer at pengutronix.de
Tue Dec 16 05:29:58 PST 2014
Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
common/blspec.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/common/blspec.c b/common/blspec.c
index f46a11d..b9342d5 100644
--- a/common/blspec.c
+++ b/common/blspec.c
@@ -278,6 +278,7 @@ static bool entry_is_of_compatible(struct blspec_entry *entry)
fdt = read_file(filename, &size);
if (!fdt) {
+ pr_err("Cannot read: %s\n", filename);
ret = false;
goto out;
}
--
2.1.3
More information about the barebox
mailing list