diff options
author | Simon Glass <sjg@chromium.org> | 2021-01-16 14:52:28 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2021-01-30 14:25:41 -0700 |
commit | 3a6c994f3896d66e617acdf9bb58ffc4def08b71 (patch) | |
tree | d8b222358a56ab098e8a66a3f09a5b2b0d0066ee /arch/sandbox/include/asm/test.h | |
parent | 2b4b65339110e11b4a859fceeb1eec82b2ebb5f1 (diff) | |
download | u-boot-3a6c994f3896d66e617acdf9bb58ffc4def08b71.tar.gz |
cros_ec: Add support for switches
On x86 platforms the EC provides a way to read 'switches', which are
on/off values determined by the EC.
Add a new driver method for this and implement it for LPC.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/sandbox/include/asm/test.h')
-rw-r--r-- | arch/sandbox/include/asm/test.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sandbox/include/asm/test.h b/arch/sandbox/include/asm/test.h index 8363ca7319..1cb960ac24 100644 --- a/arch/sandbox/include/asm/test.h +++ b/arch/sandbox/include/asm/test.h @@ -61,6 +61,7 @@ enum { */ enum cros_ec_test_t { CROSECT_BREAK_HELLO = BIT(1), + CROSECT_LID_OPEN = BIT(2), }; /** |