summaryrefslogtreecommitdiff
path: root/src/include/console/console.h
diff options
context:
space:
mode:
authorDave Frodin <dave.frodin@se-eng.com>2012-12-15 13:24:02 -0700
committerAnton Kochkov <anton.kochkov@gmail.com>2012-12-18 19:59:59 +0100
commit5056b6e612569b202c96a8a54da90879f118b7d5 (patch)
tree838042e8fd30316ddb32bd5110973d424b5cf181 /src/include/console/console.h
parent6bf11cf50c2b682f8c09a53af774588123b250b6 (diff)
libpayload: Check if serial console h/w is present before using
The serial_io_havechar() and serial_io_getchar() functions will always see keystrokes available if the serial hardware isn't actually there. We will still output chars to non-existant hardware to allow virtual hardware to capture them. Change-Id: I04e85157b6b7a185448abab352b5417a798a397a Signed-off-by: Dave Frodin <dave.frodin@se-eng.com> Reviewed-on: http://review.coreboot.org/2040 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <patrick@georgi-clan.de> Reviewed-by: Anton Kochkov <anton.kochkov@gmail.com>
Diffstat (limited to 'src/include/console/console.h')
0 files changed, 0 insertions, 0 deletions