aboutsummaryrefslogtreecommitdiff
path: root/src/soc/intel/braswell/northcluster.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel/braswell/northcluster.c')
-rw-r--r--src/soc/intel/braswell/northcluster.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/soc/intel/braswell/northcluster.c b/src/soc/intel/braswell/northcluster.c
index 0b47e2f0c3..0ef58b2470 100644
--- a/src/soc/intel/braswell/northcluster.c
+++ b/src/soc/intel/braswell/northcluster.c
@@ -1,6 +1,7 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <acpi/acpi.h>
+#include <acpi/acpigen.h>
#include <cbmem.h>
#include <cpu/x86/smm.h>
#include <device/device.h>
@@ -149,9 +150,18 @@ static void nc_read_resources(struct device *dev)
chromeos_reserve_ram_oops(dev, index++);
}
+static void nc_generate_ssdt(const struct device *dev)
+{
+ generate_cpu_entries(dev);
+
+ acpigen_write_scope("\\");
+ acpigen_write_name_dword("TOLM", nc_read_top_of_low_memory());
+ acpigen_pop_len();
+}
+
static struct device_operations nc_ops = {
- .acpi_fill_ssdt = generate_cpu_entries,
.read_resources = nc_read_resources,
+ .acpi_fill_ssdt = nc_generate_ssdt,
.ops_pci = &soc_pci_ops,
};