mirror of
https://xff.cz/git/u-boot/
synced 2025-09-29 22:41:17 +02:00
common: board_r: print error if binman_init fails
Display an error if binman_init fails. Signed-off-by: Tim Harvey <tharvey@gateworks.com>
This commit is contained in:
@@ -323,10 +323,16 @@ static int initr_manual_reloc_cmdtable(void)
|
|||||||
|
|
||||||
static int initr_binman(void)
|
static int initr_binman(void)
|
||||||
{
|
{
|
||||||
|
int ret;
|
||||||
|
|
||||||
if (!CONFIG_IS_ENABLED(BINMAN_FDT))
|
if (!CONFIG_IS_ENABLED(BINMAN_FDT))
|
||||||
return 0;
|
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)
|
#if defined(CONFIG_MTD_NOR_FLASH)
|
||||||
|
Reference in New Issue
Block a user