summaryrefslogtreecommitdiff
path: root/src/soc/intel/apollolake/lpc.c
diff options
context:
space:
mode:
authorZhao, Lijian <lijian.zhao@intel.com>2015-12-01 09:14:20 -0800
committerMartin Roth <martinroth@google.com>2016-04-11 18:22:30 +0200
commit30461a91977d6770bb3ec6c378a21afe2616f3d7 (patch)
treec8f2ab7f59753127312aa44947094690c67cb4c0 /src/soc/intel/apollolake/lpc.c
parenta7ff9c59a1e71da0ab956395dfa92287a81d7ac3 (diff)
downloadcoreboot-30461a91977d6770bb3ec6c378a21afe2616f3d7.tar.xz
soc/apollolake/acpi: Fill ACPI HPET table
HPET table is required to report integrated HPET timer to kernel. Without HPET table added,Linux kernel will panic when loading timer driver. Change-Id: I7368bc29f4e03d5882dcfc4a770fa7bfbc6c26a0 Signed-off-by: Zhao, Lijian <lijian.zhao@intel.com> Reviewed-on: https://review.coreboot.org/13374 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/soc/intel/apollolake/lpc.c')
-rw-r--r--src/soc/intel/apollolake/lpc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/soc/intel/apollolake/lpc.c b/src/soc/intel/apollolake/lpc.c
index abc5245376..d0cae3d906 100644
--- a/src/soc/intel/apollolake/lpc.c
+++ b/src/soc/intel/apollolake/lpc.c
@@ -13,6 +13,7 @@
#include <device/device.h>
#include <device/pci.h>
#include <device/pci_ids.h>
+#include <soc/acpi.h>
#include <soc/pci_ids.h>
static void soc_lpc_add_io_resources(device_t dev)
@@ -39,6 +40,7 @@ static struct device_operations device_ops = {
.read_resources = &soc_lpc_read_resources,
.set_resources = &pci_dev_set_resources,
.enable_resources = &pci_dev_enable_resources,
+ .write_acpi_tables = southbridge_write_acpi_tables,
};
static const struct pci_driver soc_lpc __pci_driver = {