diff options
author | Graeme Russ <graeme.russ@gmail.com> | 2011-08-29 02:14:05 +0000 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2011-10-04 14:47:54 -0700 |
commit | 56380ae05fc0b667d753528f764f3bb1144627c4 (patch) | |
tree | d8e99be14df741e96644ca4e68b14a4d4d10daf2 /arch/m68k | |
parent | e16e7f0ba3e81f07ba877479b91388160dd2aa46 (diff) |
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>
Change-Id: If62863017eaa48915b721675a5d520f9caa7e5e0
Reviewed-on: http://gerrit.chromium.org/gerrit/8685
Reviewed-by: Che-Liang Chiou <clchiou@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/m68k')
0 files changed, 0 insertions, 0 deletions