summaryrefslogtreecommitdiff
path: root/payloads/libpayload/drivers/video/font.h
diff options
context:
space:
mode:
authorNico Huber <nico.h@gmx.de>2020-11-01 17:14:58 +0100
committerHung-Te Lin <hungte@chromium.org>2020-12-24 08:20:16 +0000
commite9c572f203b18e5095676cb226e775caf4226cfe (patch)
treed9ac67df4cbd3f127d21f1d3259fccc0b9bae627 /payloads/libpayload/drivers/video/font.h
parent777c5997475f4b79f977fb52ba130acda900325e (diff)
libpayload/keyboard: Implement self-test
The keyboard self-test is required for some devices. At least one device (integrated keyboard in a ThinkPad X201) actually starts the test automatically leading to spurious output and no response for the first seconds. We wait up to 5s for the self-test result. On failure or timeout, the command will be repeated until the 30s init timer runs out. This happens all in the background of the UI polling loop. To not unnecessarily delay the boot process, we first try an oppor- tunistic initialization which skips the self-test. Change-Id: Ie07b31e74d06e116ac81e76309621eed39a19b49 Signed-off-by: Nico Huber <nico.h@gmx.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/47088 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'payloads/libpayload/drivers/video/font.h')
0 files changed, 0 insertions, 0 deletions