diff options
author | Nico Huber <nico.h@gmx.de> | 2020-11-01 16:44:22 +0100 |
---|---|---|
committer | Hung-Te Lin <hungte@chromium.org> | 2020-12-24 08:19:48 +0000 |
commit | 260dd9eb7e91de3a14ba095eccc7766c6ed61b2f (patch) | |
tree | 30a84873cf166fde663e347b5b179a2548fba81c /Makefile | |
parent | 828f6b428e541363b386d579afc1740059d01739 (diff) |
libpayload/keyboard: Turn init sequence into a state machine
We'll process the init sequence as part of the polling loop. This
should have several advantages:
* It eases error handling, i.e. we can return to an earlier state.
* We don't have to stall initialization when a keyboard takes a
little longer.
* Generally, these keyboards can be hot-plugged (albeit not by
design).
Change-Id: I9cf5cf31eb420b3994bec20e56a72d37f3d2996e
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/47086
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions