dm: Allow debug UART to support an early console
authorSimon Glass <sjg@chromium.org>
Tue, 23 Jun 2015 21:38:33 +0000 (15:38 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 21 Jul 2015 23:39:22 +0000 (17:39 -0600)
commitd6ea5307daf200c0c1f80d241e10bb69a1da2c8c
treea72358342ed59930faf1c711c986cb89b12d90d3
parentd0d7361462914cee66f97792bc314bdca67a3ea6
dm: Allow debug UART to support an early console

When there is no console ready, allow the debug UART to be used for output.
This makes debugging of early code considerably easier.

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