diff options
Diffstat (limited to 'src/mainboard/google')
-rw-r--r-- | src/mainboard/google/kahlee/mainboard.c | 4 | ||||
-rw-r--r-- | src/mainboard/google/zork/mainboard.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/mainboard/google/kahlee/mainboard.c b/src/mainboard/google/kahlee/mainboard.c index 191eedc023..239887e167 100644 --- a/src/mainboard/google/kahlee/mainboard.c +++ b/src/mainboard/google/kahlee/mainboard.c @@ -5,9 +5,9 @@ #include <device/device.h> #include <device/mmio.h> #include <acpi/acpi.h> +#include <acpi/acpi_gnvs.h> #include <amdblocks/agesawrapper.h> #include <amdblocks/amd_pci_util.h> -#include <cbmem.h> #include <baseboard/variants.h> #include <boardid.h> #include <smbios.h> @@ -165,7 +165,7 @@ static void mainboard_final(void *chip_info) { struct global_nvs_t *gnvs; - gnvs = cbmem_find(CBMEM_ID_ACPI_GNVS); + gnvs = acpi_get_gnvs(); if (gnvs) { gnvs->tmps = CTL_TDP_SENSOR_ID; diff --git a/src/mainboard/google/zork/mainboard.c b/src/mainboard/google/zork/mainboard.c index f87066a2f3..1ed3e9d0f8 100644 --- a/src/mainboard/google/zork/mainboard.c +++ b/src/mainboard/google/zork/mainboard.c @@ -6,9 +6,9 @@ #include <device/device.h> #include <device/mmio.h> #include <acpi/acpi.h> +#include <acpi/acpi_gnvs.h> #include <amdblocks/amd_pci_util.h> #include <amdblocks/gpio_banks.h> -#include <cbmem.h> #include <baseboard/variants.h> #include <boardid.h> #include <gpio.h> @@ -196,7 +196,7 @@ static void mainboard_final(void *chip_info) { struct global_nvs_t *gnvs; - gnvs = cbmem_find(CBMEM_ID_ACPI_GNVS); + gnvs = acpi_get_gnvs(); reset_backlight_gpio(NULL); |