ec/google/chromeec: add config for wake event types
Avoids array overflow Change-Id: Ia49a782ba6729c740e3b91c500120132983f6b3c Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Reviewed-on: https://review.coreboot.org/25992 Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
29c657f4c6
commit
a29d234b24
|
@ -69,6 +69,18 @@ static const struct {
|
||||||
EC_CMD_HOST_EVENT_SET_WAKE_MASK, INVALID_HCMD,
|
EC_CMD_HOST_EVENT_SET_WAKE_MASK, INVALID_HCMD,
|
||||||
EC_CMD_HOST_EVENT_GET_WAKE_MASK,
|
EC_CMD_HOST_EVENT_GET_WAKE_MASK,
|
||||||
},
|
},
|
||||||
|
[EC_HOST_EVENT_LAZY_WAKE_MASK_S0IX] = {
|
||||||
|
EC_CMD_HOST_EVENT_SET_WAKE_MASK, INVALID_HCMD,
|
||||||
|
EC_CMD_HOST_EVENT_GET_WAKE_MASK,
|
||||||
|
},
|
||||||
|
[EC_HOST_EVENT_LAZY_WAKE_MASK_S3] = {
|
||||||
|
EC_CMD_HOST_EVENT_SET_WAKE_MASK, INVALID_HCMD,
|
||||||
|
EC_CMD_HOST_EVENT_GET_WAKE_MASK,
|
||||||
|
},
|
||||||
|
[EC_HOST_EVENT_LAZY_WAKE_MASK_S5] = {
|
||||||
|
EC_CMD_HOST_EVENT_SET_WAKE_MASK, INVALID_HCMD,
|
||||||
|
EC_CMD_HOST_EVENT_GET_WAKE_MASK,
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
void log_recovery_mode_switch(void)
|
void log_recovery_mode_switch(void)
|
||||||
|
|
Loading…
Reference in New Issue