include: Remove EC_EVENT_* from elog.h
All of the EC_EVENT_* macros can be replaced with the EC_HOST_EVENT_* macros defined in ec_commands.h, which is synchronized from Chromium OS ec repository. BRANCH=none BUG=none TEST=emerge-kukui coreboot Change-Id: I12c7101866d8365b87a6483a160187cc9526010a Signed-off-by: Yu-Ping Wu <yupingso@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/36499 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Hung-Te Lin <hungte@chromium.org> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
This commit is contained in:
parent
ab0d687fc5
commit
816326576a
4 changed files with 14 additions and 40 deletions
|
|
@ -97,7 +97,7 @@ void log_recovery_mode_switch(void)
|
|||
static void google_chromeec_elog_add_recovery_event(void *unused)
|
||||
{
|
||||
uint64_t *events = cbmem_find(CBMEM_ID_EC_HOSTEVENT);
|
||||
uint8_t event_byte = EC_EVENT_KEYBOARD_RECOVERY;
|
||||
uint8_t event_byte = EC_HOST_EVENT_KEYBOARD_RECOVERY;
|
||||
|
||||
if (!events)
|
||||
return;
|
||||
|
|
@ -107,7 +107,7 @@ static void google_chromeec_elog_add_recovery_event(void *unused)
|
|||
|
||||
if (*events &
|
||||
EC_HOST_EVENT_MASK(EC_HOST_EVENT_KEYBOARD_RECOVERY_HW_REINIT))
|
||||
event_byte = EC_EVENT_KEYBOARD_RECOVERY_HWREINIT;
|
||||
event_byte = EC_HOST_EVENT_KEYBOARD_RECOVERY_HW_REINIT;
|
||||
|
||||
elog_add_event_byte(ELOG_TYPE_EC_EVENT, event_byte);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue