From d2bb5021fcdd87a668fbfd2c0e1313eebc67a09f Mon Sep 17 00:00:00 2001 From: Felix Held Date: Wed, 14 Apr 2021 02:17:32 +0200 Subject: mb/google/guybrush,mancomb: use EC_SCI_GPI in espi_sci_sources struct The board's ec.h file defined EC_SCI_GPI as GEVENT_24, so use that definition in all places in the mainboard code instead of a mix of the board specific define and the SoC's GEVENT number define. Signed-off-by: Felix Held Change-Id: I46525ed24e9993acd3d850959dd63761a690d5df Reviewed-on: https://review.coreboot.org/c/coreboot/+/52309 Tested-by: build bot (Jenkins) Reviewed-by: Marshall Dawson --- src/mainboard/google/guybrush/ec.c | 2 +- src/mainboard/google/mancomb/ec.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mainboard/google/guybrush/ec.c b/src/mainboard/google/guybrush/ec.c index f89bc9e382..5a0bc1b3c5 100644 --- a/src/mainboard/google/guybrush/ec.c +++ b/src/mainboard/google/guybrush/ec.c @@ -10,7 +10,7 @@ static const struct sci_source espi_sci_sources[] = { { .scimap = SMITYPE_ESPI_SYS, - .gpe = GEVENT_24, + .gpe = EC_SCI_GPI, .direction = SMI_SCI_LVL, .level = SMI_SCI_LVL_HIGH } diff --git a/src/mainboard/google/mancomb/ec.c b/src/mainboard/google/mancomb/ec.c index f89bc9e382..5a0bc1b3c5 100644 --- a/src/mainboard/google/mancomb/ec.c +++ b/src/mainboard/google/mancomb/ec.c @@ -10,7 +10,7 @@ static const struct sci_source espi_sci_sources[] = { { .scimap = SMITYPE_ESPI_SYS, - .gpe = GEVENT_24, + .gpe = EC_SCI_GPI, .direction = SMI_SCI_LVL, .level = SMI_SCI_LVL_HIGH } -- cgit v1.2.3