[coreboot-gerrit] Change in coreboot[master]: libpayload/libc/console: Flush input driver buffer on init

Furquan Shaikh (Code Review) gerrit at coreboot.org
Tue Apr 18 19:33:35 CEST 2017


Hello Aaron Durbin, Paul Menzel, build bot (Jenkins),

I'd like you to reexamine a change.  Please visit

    https://review.coreboot.org/19345

to look at the new patch set (#2).

Change subject: libpayload/libc/console: Flush input driver buffer on init
......................................................................

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.

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 at chromium.org>
---
M payloads/libpayload/drivers/keyboard.c
M payloads/libpayload/drivers/serial/8250.c
M payloads/libpayload/libc/console.c
3 files changed, 4 insertions(+), 4 deletions(-)


  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/45/19345/2
-- 
To view, visit https://review.coreboot.org/19345
To unsubscribe, visit https://review.coreboot.org/settings

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I46f1b6715ccf6418f5b2c741bf90db2ece26a60d
Gerrit-PatchSet: 2
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Owner: Furquan Shaikh <furquan at google.com>
Gerrit-Reviewer: Aaron Durbin <adurbin at chromium.org>
Gerrit-Reviewer: Duncan Laurie <dlaurie at chromium.org>
Gerrit-Reviewer: Furquan Shaikh <furquan at google.com>
Gerrit-Reviewer: Paul Menzel <paulepanter at users.sourceforge.net>
Gerrit-Reviewer: Sumeet R Pawnikar <sumeet.r.pawnikar at intel.com>
Gerrit-Reviewer: build bot (Jenkins)



More information about the coreboot-gerrit mailing list