Change in coreboot[master]: mb/google/mancomb: Enable eSPI VW SCI events
Raul Rangel has submitted this change. ( https://review.coreboot.org/c/coreboot/+/51627 ) Change subject: mb/google/mancomb: Enable eSPI VW SCI events ...................................................................... mb/google/mancomb: Enable eSPI VW SCI events Mancomb does not have a dedicated SCI pin so it uses VW. BUG=b:182211161 TEST=builds Signed-off-by: Eric Lai <ericr_lai@compal.corp-partner.google.com> Change-Id: Id315ab448209d9c93494f7689361e45f8a6ed001 Reviewed-on: https://review.coreboot.org/c/coreboot/+/51627 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Mathew King <mathewk@chromium.org> --- M src/mainboard/google/mancomb/ec.c 1 file changed, 13 insertions(+), 0 deletions(-) Approvals: build bot (Jenkins): Verified Mathew King: Looks good to me, approved diff --git a/src/mainboard/google/mancomb/ec.c b/src/mainboard/google/mancomb/ec.c index 1794acf..f89bc9e 100644 --- a/src/mainboard/google/mancomb/ec.c +++ b/src/mainboard/google/mancomb/ec.c @@ -4,8 +4,18 @@ #include <amdblocks/gpio_banks.h> #include <amdblocks/smi.h> #include <ec/google/chromeec/ec.h> +#include <soc/smi.h> #include <variant/ec.h> +static const struct sci_source espi_sci_sources[] = { + { + .scimap = SMITYPE_ESPI_SYS, + .gpe = GEVENT_24, + .direction = SMI_SCI_LVL, + .level = SMI_SCI_LVL_HIGH + } +}; + void mainboard_ec_init(void) { const struct google_chromeec_event_info info = { @@ -17,4 +27,7 @@ }; google_chromeec_events_init(&info, acpi_is_wakeup_s3()); + + /* Configure eSPI VW SCI events */ + gpe_configure_sci(espi_sci_sources, ARRAY_SIZE(espi_sci_sources)); } -- To view, visit https://review.coreboot.org/c/coreboot/+/51627 To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings Gerrit-Project: coreboot Gerrit-Branch: master Gerrit-Change-Id: Id315ab448209d9c93494f7689361e45f8a6ed001 Gerrit-Change-Number: 51627 Gerrit-PatchSet: 2 Gerrit-Owner: EricR Lai <ericr_lai@compal.corp-partner.google.com> Gerrit-Reviewer: Kangheui Won <khwon@chromium.org> Gerrit-Reviewer: Martin Roth <martinroth@google.com> Gerrit-Reviewer: Mathew King <mathewk@chromium.org> Gerrit-Reviewer: Patrick Georgi <pgeorgi@google.com> Gerrit-Reviewer: Raul Rangel <rrangel@chromium.org> Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org> Gerrit-MessageType: merged
participants (1)
-
Raul Rangel (Code Review)