diff options
author | Sam Protsenko <semen.protsenko@linaro.org> | 2018-07-13 16:35:47 +0300 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2018-08-08 22:22:08 +0200 |
commit | 28a5c88043c80a38040abde957fbe1755b796912 (patch) | |
tree | 92f323d89930e4772c26ea17877c25928c3c5a2d /drivers/dfu/dfu.c | |
parent | 87a8ca985bc0b63f8ad166b648f54496e097101e (diff) | |
download | u-boot-28a5c88043c80a38040abde957fbe1755b796912.tar.gz u-boot-28a5c88043c80a38040abde957fbe1755b796912.tar.bz2 u-boot-28a5c88043c80a38040abde957fbe1755b796912.zip |
dfu: Provide more verbose error message
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>
Diffstat (limited to 'drivers/dfu/dfu.c')
-rw-r--r-- | drivers/dfu/dfu.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/dfu/dfu.c b/drivers/dfu/dfu.c index 5b9abd685d..318949529b 100644 --- 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; } |