projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5371593
)
common: board_r: print error if binman_init fails
author
Tim Harvey
<tharvey@gateworks.com>
Fri, 16 Jul 2021 22:44:12 +0000
(15:44 -0700)
committer
Simon Glass
<sjg@chromium.org>
Sun, 1 Aug 2021 15:05:24 +0000
(09:05 -0600)
Display an error if binman_init fails.
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
common/board_r.c
patch
|
blob
|
history
diff --git
a/common/board_r.c
b/common/board_r.c
index
3f82404
..
e3e6248
100644
(file)
--- a/
common/board_r.c
+++ b/
common/board_r.c
@@
-323,10
+323,16
@@
static int initr_manual_reloc_cmdtable(void)
static int initr_binman(void)
{
+ int ret;
+
if (!CONFIG_IS_ENABLED(BINMAN_FDT))
return 0;
- return binman_init();
+ ret = binman_init();
+ if (ret)
+ printf("binman_init failed:%d\n", ret);
+
+ return ret;
}
#if defined(CONFIG_MTD_NOR_FLASH)