Graeme Russ e3e454cd72 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: Graeme Russ <graeme.russ@gmail.com>
Tested-by: Simon Glass <sjg@chromium.org>
2011-10-01 21:54:49 +02:00
..
2010-09-21 21:39:31 +02:00
2010-04-21 23:42:38 +02:00
2011-01-09 18:06:50 +01:00
2010-04-21 23:42:38 +02:00
2010-04-21 23:42:38 +02:00
2010-04-21 23:42:38 +02:00
2010-04-21 23:42:38 +02:00
2010-04-21 23:42:38 +02:00
2011-07-26 16:38:05 +02:00
2010-08-04 00:45:36 +02:00
2010-04-21 23:42:38 +02:00
2011-07-28 17:22:53 +02:00
2010-04-21 23:42:38 +02:00
2010-04-21 23:42:38 +02:00
2011-07-28 17:22:53 +02:00
2010-04-21 23:42:38 +02:00