coreboot-kgpe-d16/payloads/libpayload/drivers
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
..
serial libpayload/libc/console: Flush input driver buffer on init 2017-04-19 19:19:56 +02:00
storage libpayload: Add Cougar Point PCH's AHCI to whitelist 2016-12-08 01:36:01 +01:00
timer libpayload: timer: cast cpu_khz to make sure 64bit math is used 2017-01-06 18:40:44 +01:00
udc Remove extra newlines from the end of all coreboot files. 2016-07-31 18:19:33 +02:00
usb libpayload: usbhub: Force enumeration of all connected ports on init 2017-03-15 00:54:23 +01:00
video libpayload: cbgfx: Show square images on portrait displays 2017-04-17 18:12:02 +02:00
Makefile.inc libpayload: Replace majority of timer drivers with a generic one 2016-10-17 22:43:37 +02:00
cbmem_console.c libpayload: console: Allow output drivers to print whole strings at once 2014-12-22 21:44:37 +01:00
hid.c Remove empty lines at end of file 2015-06-08 00:55:07 +02:00
keyboard.c libpayload/libc/console: Flush input driver buffer on init 2017-04-19 19:19:56 +02:00
nvram.c libpayload: Make Kconfig bools use IS_ENABLED() 2015-06-30 18:55:15 +02:00
options.c libpayload/options: Fix out of array read. 2014-01-19 11:51:23 +01:00
pci.c Remove empty lines at end of file 2015-06-08 00:55:07 +02:00
speaker.c Fix libpayload speaker driver 2011-10-27 10:49:41 +02:00