[PATCH 0/2] cros_ec: Sync with upstream Chrome OS EC

Simon Glass sjg at chromium.org
Thu Apr 30 13:38:32 CEST 2026


U-Boot's include/ec_commands.h is significantly behind the upstream
https://chromium.googlesource.com/a/chromiumos/platform/ec ChromeOS EC
tree.

This series updates it and provides some fixes to resolve the resulting
compilation errors and warnings.


Simon Glass (2):
  bitops: Guard GENMASK and GENMASK_ULL against prior defines
  cros_ec: Sync ec_commands.h from upstream Chrome OS EC

 cmd/cros_ec.c                  |    4 +-
 drivers/misc/cros_ec.c         |    2 +-
 drivers/misc/cros_ec_sandbox.c |    2 +-
 include/cros_ec.h              |   28 +-
 include/ec_commands.h          | 7738 +++++++++++++++++++++++++-------
 include/linux/bitops.h         |    4 +
 6 files changed, 6268 insertions(+), 1510 deletions(-)

---
base-commit: 4433253ecf2041f9362a763bb6cb79960921ac7e
branch: ec

-- 
2.43.0



More information about the U-Boot mailing list