aboutsummaryrefslogtreecommitdiff
path: root/src/ec/google/chromeec/ec.c
diff options
context:
space:
mode:
authorYou-Cheng Syu <youcheng@google.com>2019-03-13 21:37:23 +0800
committerPatrick Georgi <pgeorgi@google.com>2019-08-23 20:22:04 +0000
commit8d6ea6a491fb53460762a2f01c7e637a5c7cccc1 (patch)
tree609a8a10847f9e8013d2530e24db6a7500cc7f51 /src/ec/google/chromeec/ec.c
parentf6f4a8f8de9ab2a62d5fa24a25472c4ba7657f9c (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/ec/google/chromeec/ec.c')
-rw-r--r--src/ec/google/chromeec/ec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ec/google/chromeec/ec.c b/src/ec/google/chromeec/ec.c
index 89da3aef2d..c34faaaade 100644
--- a/src/ec/google/chromeec/ec.c
+++ b/src/ec/google/chromeec/ec.c
@@ -978,7 +978,7 @@ static const char *reset_cause_to_str(uint16_t cause)
*/
static void google_chromeec_log_uptimeinfo(void)
{
- /* See also ChromiumOS EC include/system.h RESET_FLAG for details. */
+ /* See also ec_commands.h EC_RESET_FLAG_* for details. */
static const char * const reset_flag_strings[] = {
"other",
"reset-pin",