diff options
author | Mathew King <mathewk@chromium.org> | 2021-03-09 09:21:13 -0700 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2021-03-10 23:05:41 +0000 |
commit | 612e403d53dc320fff7f3b5709d64c192d7464cf (patch) | |
tree | 240c7cb44f3926bc2523efea9121ac2afc5c4396 /src/mainboard/google/zork/variants/baseboard | |
parent | 729c61961c1eff3db3d9367810f47e182d19ead3 (diff) |
mb/google/zork: Use SOC defines instead of magic numbers
BUG=b:182269526
TEST=builds
Signed-off-by: Mathew King <mathewk@chromium.org>
Change-Id: I351fb4fc493bb92b31e2c8bc946dfb048045335c
Reviewed-on: https://review.coreboot.org/c/coreboot/+/51384
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'src/mainboard/google/zork/variants/baseboard')
-rw-r--r-- | src/mainboard/google/zork/variants/baseboard/include/baseboard/gpio.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mainboard/google/zork/variants/baseboard/include/baseboard/gpio.h b/src/mainboard/google/zork/variants/baseboard/include/baseboard/gpio.h index 389f0e832a..87bd2919fa 100644 --- a/src/mainboard/google/zork/variants/baseboard/include/baseboard/gpio.h +++ b/src/mainboard/google/zork/variants/baseboard/include/baseboard/gpio.h @@ -20,10 +20,10 @@ #endif /* _ACPI__ */ /* These define the GPE, not the GPIO. */ -#define EC_SCI_GPI 3 /* eSPI system event -> GPE 3 */ -#define EC_WAKE_GPI 15 /* AGPIO 24 -> GPE 15 */ +#define EC_SCI_GPI GEVENT_3 /* AGPIO 22 -> GPE 3 */ +#define EC_WAKE_GPI GEVENT_15 /* AGPIO 24 -> GPE 15 */ /* EC sync irq */ -#define EC_SYNC_IRQ 31 +#define EC_SYNC_IRQ GPIO_31 #endif /* __BASEBOARD_GPIO_H__ */ |