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. Changes in v2: - Drop patch 'bitops: Guard GENMASK and GENMASK_ULL against prior defines' by restructuring the __KERNEL__ gate in ec_commands.h instead, per Quentin's review - Nest '!defined(__UBOOT__)' inside the existing '__KERNEL__' gate so U-Boot skips both <linux/limits.h> and the local BIT/GENMASK defines, avoiding redefinition against U-Boot's linux/bitops.h - Pull in <linux/bitops.h> up front for U-Boot Simon Glass (1): cros_ec: Sync ec_commands.h from upstream Chrome OS EC arch/x86/cpu/apollolake/cpu_spl.c | 2 +- cmd/cros_ec.c | 4 +- drivers/misc/cros_ec.c | 2 +- drivers/misc/cros_ec_sandbox.c | 2 +- include/cros_ec.h | 36 +- include/ec_commands.h | 7784 +++++++++++++++++++++++------ 6 files changed, 6299 insertions(+), 1531 deletions(-) --- base-commit: 3cdd19089f1b1b7cd08530f33ff4708abcfd426c branch: ec2 -- 2.43.0

