From 651642203426661e4092dd0d5c3cbecb97486236 Mon Sep 17 00:00:00 2001 From: Hannah Williams Date: Fri, 24 Jun 2016 14:13:45 -0700 Subject: soc/apollolake: Populate fields in FADT to enable\disable SCI This will allow kernel to trigger a APM SMI to enable\disable SCI Change-Id: I1be79b7a3082c23fbaf204eff55360c46458e325 Signed-off-by: Hannah Williams Reviewed-on: https://review.coreboot.org/15347 Reviewed-by: Aaron Durbin Tested-by: build bot (Jenkins) --- src/soc/intel/apollolake/acpi.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/soc') diff --git a/src/soc/intel/apollolake/acpi.c b/src/soc/intel/apollolake/acpi.c index d24416fd6c..a38c377553 100644 --- a/src/soc/intel/apollolake/acpi.c +++ b/src/soc/intel/apollolake/acpi.c @@ -85,7 +85,9 @@ void acpi_fill_fadt(acpi_fadt_t * fadt) fadt->header.revision = ACPI_FADT_REV_ACPI_5_0; fadt->sci_int = acpi_sci_irq(); - fadt->smi_cmd = 0; /* No Smi Handler as SMI_CMD is 0*/ + fadt->smi_cmd = APM_CNT; + fadt->acpi_enable = APM_CNT_ACPI_ENABLE; + fadt->acpi_disable = APM_CNT_ACPI_DISABLE; fadt->pm1a_evt_blk = pmbase + PM1_STS; fadt->pm1a_cnt_blk = pmbase + PM1_CNT; -- cgit v1.2.3