summaryrefslogtreecommitdiff
path: root/src/soc/intel/common
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2020-06-28 22:39:59 +0300
committerNico Huber <nico.h@gmx.de>2021-01-10 11:40:22 +0000
commitc2b0a4fa32644221bea9318df193ef385f78abed (patch)
tree7c6af7d37704b680db393df46cfa7df9e71b2753 /src/soc/intel/common
parent999e441338e44f7c131e7ffa915ef965424d8739 (diff)
soc/intel: Rename to soc_fill_gnvs()
Replace acpi_create_gnvs() under soc/ to reflect their changed funcionality. Change-Id: I7bdbe0d6f795252e713e9785ada2b6320e6604b9 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/48717 Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/intel/common')
-rw-r--r--src/soc/intel/common/block/acpi/acpi.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/soc/intel/common/block/acpi/acpi.c b/src/soc/intel/common/block/acpi/acpi.c
index e1766ea06d..f4560bd585 100644
--- a/src/soc/intel/common/block/acpi/acpi.c
+++ b/src/soc/intel/common/block/acpi/acpi.c
@@ -235,17 +235,15 @@ static int acpi_fill_wake(uint32_t *pm1, uint32_t **gpe0)
}
#endif
-__weak void acpi_create_gnvs(struct global_nvs *gnvs)
-{
-}
-
void southbridge_inject_dsdt(const struct device *device)
{
struct global_nvs *gnvs = acpi_get_gnvs();
if (!gnvs)
return;
- acpi_create_gnvs(gnvs);
+ soc_fill_gnvs(gnvs);
+ mainboard_fill_gnvs(gnvs);
+
acpi_inject_nvsa();
}