diff options
author | Hannah Williams <hannah.williams@intel.com> | 2016-06-24 14:13:45 -0700 |
---|---|---|
committer | Aaron Durbin <adurbin@chromium.org> | 2016-06-28 15:56:47 +0200 |
commit | 651642203426661e4092dd0d5c3cbecb97486236 (patch) | |
tree | aa5f96dc49e89d813d1db51bfcf391cd3e329383 /src/soc | |
parent | c58b9c9d76c3cd8ac7707d01c5bcfd147cd34bdb (diff) |
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 <hannah.williams@intel.com>
Reviewed-on: https://review.coreboot.org/15347
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/soc')
-rw-r--r-- | src/soc/intel/apollolake/acpi.c | 4 |
1 files changed, 3 insertions, 1 deletions
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; |