summaryrefslogtreecommitdiff
path: root/src/soc/intel/fsp_broadwell_de/southcluster.c
diff options
context:
space:
mode:
authorJohnny Lin <johnny_lin@wiwynn.com>2019-08-22 09:21:34 +0800
committerPatrick Georgi <pgeorgi@google.com>2019-08-27 09:43:11 +0000
commiteb6cac2f16b2df0922d5104481d36029d4a13712 (patch)
tree740b9ad06247a526f93d2acb71042e4c8f525550 /src/soc/intel/fsp_broadwell_de/southcluster.c
parent1799011dc6914927d951cc076a405c6b20ead5d5 (diff)
downloadcoreboot-eb6cac2f16b2df0922d5104481d36029d4a13712.tar.xz
soc/intel/fsp_broadwell_de: Add ACPI HPET table
Tested on Mono Lake TEST=Note the kernel log: hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0, 0, 0, 0, 0, 0 hpet0: 8 comparators, 64-bit 14.318180 MHz counter Change-Id: Idae9a7d3d4233037214d6203996bf44fe5f3a845 Signed-off-by: Johnny Lin <johnny_lin@wiwynn.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/35027 Reviewed-by: Johnny Lin Reviewed-by: Andrey Petrov <anpetrov@fb.com> Reviewed-by: David Hendricks <david.hendricks@gmail.com> Reviewed-by: Patrick Rudolph <patrick.rudolph@9elements.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/intel/fsp_broadwell_de/southcluster.c')
-rw-r--r--src/soc/intel/fsp_broadwell_de/southcluster.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/soc/intel/fsp_broadwell_de/southcluster.c b/src/soc/intel/fsp_broadwell_de/southcluster.c
index 2f87cad9da..599b8c5e7f 100644
--- a/src/soc/intel/fsp_broadwell_de/southcluster.c
+++ b/src/soc/intel/fsp_broadwell_de/southcluster.c
@@ -32,7 +32,7 @@
#include <soc/lpc.h>
#include <soc/pci_devs.h>
#include <soc/ramstage.h>
-
+#include <soc/acpi.h>
#include "chip.h"
typedef struct soc_intel_fsp_broadwell_de_config config_t;
@@ -277,6 +277,7 @@ static struct device_operations device_ops = {
.read_resources = sc_read_resources,
.set_resources = pci_dev_set_resources,
.enable_resources = NULL,
+ .write_acpi_tables = southcluster_write_acpi_tables,
.init = sc_init,
.enable = southcluster_enable_dev,
.scan_bus = scan_lpc_bus,