Skip to content
Snippets Groups Projects
Commit 43e0a3de authored by Chris Packham's avatar Chris Packham Committed by Tom Rini
Browse files

common/console.c: ensure GD_FLG_SILENT is set or cleared


When CONFIG_SILENT_CONSOLE is defined and the default environment has
silent=1 it is not possible for a user to make the console un-silent if
the environment is not available when console_init_f() is called (for
example because the environment is in SPI).

Add a new helper function console_update_silent() and call it from both
console_init_f() and console_init_r().

Signed-off-by: default avatarChris Packham <judge.packham@gmail.com>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
parent 234600c1
No related branches found
No related tags found
No related merge requests found
Loading
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