]> git.baikalelectronics.ru Git - uboot.git/commit
cros_ec: Support reading EC features
authorSimon Glass <sjg@chromium.org>
Sat, 16 Jan 2021 21:52:26 +0000 (14:52 -0700)
committerSimon Glass <sjg@chromium.org>
Sat, 30 Jan 2021 21:25:41 +0000 (14:25 -0700)
commita4058f4d2a6afaf93e17c4d68e80e33666b32b3d
tree127ce4a016602e527aded6c3ceb97c8121c34c78
parent4878703a1875d5a8fd839293b10441b6fa5f782b
cros_ec: Support reading EC features

The EC can support a variety of features and provides a way to find out
what is available. Add support for this.

Also update the feature list to the lastest available while we are here.
This is at:

   https://chromium.googlesource.com/chromiumos/platform/ec/+/refs/heads/master/include/ec_commands.h

Signed-off-by: Simon Glass <sjg@chromium.org>
cmd/cros_ec.c
drivers/misc/cros_ec.c
drivers/misc/cros_ec_sandbox.c
include/cros_ec.h
include/ec_commands.h
test/dm/cros_ec.c