aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/portwell/m107
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/portwell/m107')
-rw-r--r--src/mainboard/portwell/m107/acpi_tables.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mainboard/portwell/m107/acpi_tables.c b/src/mainboard/portwell/m107/acpi_tables.c
index 7538af0231..92db5b69db 100644
--- a/src/mainboard/portwell/m107/acpi_tables.c
+++ b/src/mainboard/portwell/m107/acpi_tables.c
@@ -5,6 +5,7 @@
#include <arch/ioapic.h>
#include <soc/acpi.h>
#include <soc/nvs.h>
+#include <soc/device_nvs.h>
void mainboard_fill_gnvs(struct global_nvs *gnvs)
{
@@ -20,7 +21,8 @@ void mainboard_fill_gnvs(struct global_nvs *gnvs)
gnvs->dpte = 0;
/* PMIC is configured in I2C1, hide it for the OS */
- gnvs->dev.lpss_en[LPSS_NVS_I2C2] = 0;
+ struct device_nvs *dev_nvs = acpi_get_device_nvs();
+ dev_nvs->lpss_en[LPSS_NVS_I2C2] = 0;
}
unsigned long acpi_fill_madt(unsigned long current)