[PATCH 08/10] cros_ec: Show events in human-readable form

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


Add a command to show the current events as a list of names. This is
easier to decipher than a bit mask.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 cmd/cros_ec.c                  | 70 +++++++++++++++++++++++++++++++---
 drivers/misc/cros_ec_sandbox.c | 12 +++++-
 test/dm/cros_ec.c              | 37 ++++++++++++++++++
 3 files changed, 112 insertions(+), 7 deletions(-)

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list