summaryrefslogtreecommitdiffstats
path: root/common/blspec.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2014-12-16 14:29:23 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2014-12-16 14:29:23 +0100
commit631be8e6cbe003f469a7e6b54046a743b710d989 (patch)
tree2b98c73a8151f53d87aaed19bd4f33e02998b2bb /common/blspec.c
parente91702bd614dbd94c1dba92ba9da0773c7f4daa2 (diff)
downloadbarebox-631be8e6cbe003f469a7e6b54046a743b710d989.tar.gz
blspec: print error when devicetree not found
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/blspec.c')
-rw-r--r--common/blspec.c1
1 files changed, 1 insertions, 0 deletions
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;
}