projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87a8ca9
)
dfu: Provide more verbose error message
author
Sam Protsenko
<semen.protsenko@linaro.org>
Fri, 13 Jul 2018 13:35:47 +0000
(16:35 +0300)
committer
Marek Vasut
<marex@denx.de>
Wed, 8 Aug 2018 20:22:08 +0000
(22:22 +0200)
It might be useful for user to see some human-readable root cause
message in addition to "configuration failed" message, so that the issue
can be fixed quickly.
Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
drivers/dfu/dfu.c
patch
|
blob
|
history
diff --git
a/drivers/dfu/dfu.c
b/drivers/dfu/dfu.c
index 5b9abd685d7febee498f466de7bd9be9765a5e8a..318949529b302db73867f4bd311aa6203539fe7b 100644
(file)
--- a/
drivers/dfu/dfu.c
+++ b/
drivers/dfu/dfu.c
@@
-71,6
+71,7
@@
int dfu_init_env_entities(char *interface, char *devstr)
ret = dfu_config_entities(env_bkp, interface, devstr);
if (ret) {
pr_err("DFU entities configuration failed!\n");
+ pr_err("(partition table does not match dfu_alt_info?)\n");
goto done;
}