[PATCH 05/10] cros_ec: Support reading EC features

Simon Glass sjg at chromium.org
Sun Jan 24 21:23:26 CET 2021


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 at chromium.org>
---

 cmd/cros_ec.c                  | 74 ++++++++++++++++++++++++++++++++++
 drivers/misc/cros_ec.c         | 26 +++++++++---
 drivers/misc/cros_ec_sandbox.c | 11 +++++
 include/cros_ec.h              | 21 ++++++++++
 include/ec_commands.h          | 45 +++++++++++++++++++--
 test/dm/cros_ec.c              | 28 +++++++++++++
 6 files changed, 195 insertions(+), 10 deletions(-)

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list