summaryrefslogtreecommitdiff
path: root/src/mainboard/system76/oryp5/bootblock.c
diff options
context:
space:
mode:
authorNico Huber <nico.h@gmx.de>2020-11-08 21:32:18 +0100
committerPatrick Georgi <pgeorgi@google.com>2021-04-18 20:43:58 +0000
commite97d320df2e5d0401982f5c90e7d4e7f182fb592 (patch)
treef7e1eea357a87f9537d627bde09d7424b25c2626 /src/mainboard/system76/oryp5/bootblock.c
parent5d884837f4cbe67c25081222f93220b5437e846f (diff)
libpayload/keyboard: Implement hot (un)plugging
While we assume a keyboard is attached, we send an echo command every 500ms. If there is no data coming from the keyboard within 200ms, we assume it was detached. Correspondingly, if we assume no keyboard is attached, we run an echo command once per second. Change-Id: I2c75182761729bf30711305f3d8b9d43eafad675 Signed-off-by: Nico Huber <nico.h@gmx.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/47593 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/mainboard/system76/oryp5/bootblock.c')
0 files changed, 0 insertions, 0 deletions