console: Avoid serial output before the console is running
authorSimon Glass <sjg@chromium.org>
Fri, 19 Nov 2021 20:23:47 +0000 (13:23 -0700)
committerAnatolij Gustschin <agust@denx.de>
Sun, 26 Dec 2021 22:02:19 +0000 (23:02 +0100)
commit4057e2772d043ecfa0efc4d16bd8ab664afb69a0
tree11faa750a4b346e7b811182e25652660665a9ab8
parent250e735c692bd12ea86dcea5de2cd1cfe225a0a4
console: Avoid serial output before the console is running

The video driver uses this for debugging, but if used before relocation it
crashes at present. Avoid trying to output debugging before the console is
ready.

Signed-off-by: Simon Glass <sjg@chromium.org>
common/console.c