summaryrefslogtreecommitdiff
path: root/src/mainboard/google/link/smihandler.c
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2023-01-05 18:05:11 +0200
committerKyösti Mälkki <kyosti.malkki@gmail.com>2023-05-09 18:20:30 +0000
commit383c4e7530087061805130a4d62b4f0dee73281a (patch)
treec13a52dcfffe6d521024c648c28540ff00e1c526 /src/mainboard/google/link/smihandler.c
parentc3ca8ed09279fbbf5d9c6099720c3d382a1fcfa4 (diff)
mb/google/link: Apply symmetry for EC events defines
All other boards use MAINBOARD_ prefix instead of board name. Change-Id: I97d9d28963c97e780156d75b39deac069028866a Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/74602 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Matt DeVillier <matt.devillier@gmail.com>
Diffstat (limited to 'src/mainboard/google/link/smihandler.c')
-rw-r--r--src/mainboard/google/link/smihandler.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/google/link/smihandler.c b/src/mainboard/google/link/smihandler.c
index 4a9dfb0abf..951cabcc8c 100644
--- a/src/mainboard/google/link/smihandler.c
+++ b/src/mainboard/google/link/smihandler.c
@@ -50,11 +50,11 @@ void mainboard_smi_sleep(u8 slp_typ)
;
/* Enable wake events */
- google_chromeec_set_wake_mask(LINK_EC_S3_WAKE_EVENTS);
+ google_chromeec_set_wake_mask(MAINBOARD_EC_S3_WAKE_EVENTS);
}
int mainboard_smi_apmc(u8 apmc)
{
- chromeec_smi_apmc(apmc, LINK_EC_SCI_EVENTS, LINK_EC_SMI_EVENTS);
+ chromeec_smi_apmc(apmc, MAINBOARD_EC_SCI_EVENTS, MAINBOARD_EC_SMI_EVENTS);
return 0;
}