diff options
author | You-Cheng Syu <youcheng@google.com> | 2019-03-13 21:37:23 +0800 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-08-23 20:22:04 +0000 |
commit | 8d6ea6a491fb53460762a2f01c7e637a5c7cccc1 (patch) | |
tree | 609a8a10847f9e8013d2530e24db6a7500cc7f51 /src/cpu/qemu-x86 | |
parent | f6f4a8f8de9ab2a62d5fa24a25472c4ba7657f9c (diff) |
ec/google/chromeec: Update ec_commands.h
Copy ec_commands.h directly from ChromiumOS EC repository (CL:1520574).
Since ec_commands.h already defines usb_charge_mode and only
USB_CHARGE_MODE_DISABLED is used in coreboot, enum usb_charge_mode is
removed from ec.h.
To avoid redefinition of the BIT macro, #ifndef check is added to
include/types.h.
BUG=b:109900671,b:118654976
BRANCH=none
TEST=emerge-kukui -j coreboot
Change-Id: I7ed5344fc8923e45e17c3e2a34371db6f80b079d
Signed-off-by: You-Cheng Syu <youcheng@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/31885
Reviewed-by: Hung-Te Lin <hungte@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/cpu/qemu-x86')
0 files changed, 0 insertions, 0 deletions