Skip to content
Snippets Groups Projects
Commit e3e454cd authored by Graeme Russ's avatar Graeme Russ Committed by Wolfgang Denk
Browse files

console: Squelch pre-console output in console functions


There are some locations in the code which anticipate printf() being called
before the console is ready by squelching printf() on gd->have_console.
Move this squelching into printf(), vprintf(), puts() and putc(). Also
make tstc() and getc() return 0 if console is not yet initialised

Signed-off-by: default avatarGraeme Russ <graeme.russ@gmail.com>
Tested-by: default avatarSimon Glass <sjg@chromium.org>
parent 79df1208
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