diff options
Diffstat (limited to 'src/mainboard/intel/strago')
-rw-r--r-- | src/mainboard/intel/strago/acpi_tables.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mainboard/intel/strago/acpi_tables.c b/src/mainboard/intel/strago/acpi_tables.c index 97795cd0ea..a600d0a15b 100644 --- a/src/mainboard/intel/strago/acpi_tables.c +++ b/src/mainboard/intel/strago/acpi_tables.c @@ -7,6 +7,7 @@ #include <soc/acpi.h> #include <soc/iomap.h> #include <soc/nvs.h> +#include <soc/device_nvs.h> #include <boardid.h> #include "onboard.h" @@ -24,7 +25,8 @@ void mainboard_fill_gnvs(struct global_nvs *gnvs) gnvs->dpte = 1; /* PMIC is configured in I2C1, hidden it from 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) |