1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-09-01 16:52:14 +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:
Tim Harvey
2021-07-16 15:44:12 -07:00
committed by Simon Glass
parent 5371593aed
commit c03cb02230

View File

@@ -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)