Skip to content
Snippets Groups Projects
Commit bd4a3997 authored by Paul B. Henson's avatar Paul B. Henson Committed by Tom Rini
Browse files

bootm: fix conditional controlling call to fixup_silent_linux


This function is only defined if CONFIG_SILENT_CONSOLE is set and
CONFIG_SILENT_U_BOOT_ONLY is not set, the call to it should be based
on the same conditions.

Signed-off-by: default avatarPaul B. Henson <henson@acm.org>
Acked-by: default avatarSimon Glass <sjg@chromium.org>
parent 8d51aacd
No related branches found
No related tags found
No related merge requests found
......@@ -636,7 +636,7 @@ static int do_bootm_states(cmd_tbl_t *cmdtp, int flag, int argc,
goto err;
else if (ret == BOOTM_ERR_OVERLAP)
ret = 0;
#ifdef CONFIG_SILENT_CONSOLE
#if defined(CONFIG_SILENT_CONSOLE) && !defined(CONFIG_SILENT_U_BOOT_ONLY)
if (images->os.os == IH_OS_LINUX)
fixup_silent_linux();
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment