kbc: Add reset function

This function can be called after EC init to put the KBC into a known
working state.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
This commit is contained in:
Tim Crawford
2023-07-17 11:10:00 -06:00
committed by Jeremy Soller
parent 0d83819a21
commit de546fa761
3 changed files with 6 additions and 2 deletions

View File

@@ -8,8 +8,6 @@
#include <stdbool.h>
#include <stdint.h>
void kbc_init(void);
struct Kbc {
// Control register
volatile uint8_t *control;