coreboot-kgpe-d16/payloads/libpayload/libc
Furquan Shaikh 342f5f836c libpayload/libc/console: Flush input driver buffer on init
When console input driver registers itself, perform flush of input
buffer to avoid interpreting any stale key presses before libpayload
is run.

keyboard.c: Remove the redundant buffer flush.
8250.c: Ensure that serial_hardware_is_present is set before call to
add input driver.

BUG=b:37273808
TEST=Verified that any key presses in serial console before payload is
up do not have any effect after the payload starts running.

Change-Id: I46f1b6715ccf6418f5b2c741bf90db2ece26a60d
Signed-off-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-on: https://review.coreboot.org/19345
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
2017-04-19 19:19:56 +02:00
..
64bit_div.c
Makefile.inc
args.c
console.c libpayload/libc/console: Flush input driver buffer on init 2017-04-19 19:19:56 +02:00
coreboot.c libpayload: Add VPD address into lib_sysinfo 2017-01-13 17:40:10 +01:00
ctype.c
die.c
exec.c
fmap.c
getopt_long.c
hexdump.c
ipchecksum.c
lib.c
libgcc.c
malloc.c
memory.c
printf.c
qsort.c
rand.c
readline.c
string.c
strlcpy.c
sysinfo.c
time.c