diff options
author | Felix Held <felix-coreboot@felixheld.de> | 2021-04-14 02:17:32 +0200 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2021-04-15 14:23:56 +0000 |
commit | d2bb5021fcdd87a668fbfd2c0e1313eebc67a09f (patch) | |
tree | f96376e319d227a9f9dfade2559ab93345b099a8 /src | |
parent | bdfa35315fc4b01dcd5ee0fee958c529ad4dacb7 (diff) | |
download | coreboot-d2bb5021fcdd87a668fbfd2c0e1313eebc67a09f.tar.xz |
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 <felix-coreboot@felixheld.de>
Change-Id: I46525ed24e9993acd3d850959dd63761a690d5df
Reviewed-on: https://review.coreboot.org/c/coreboot/+/52309
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/mainboard/google/guybrush/ec.c | 2 | ||||
-rw-r--r-- | 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 } |