From d77b5e9f991dddda5278393cd1336d6659f6f703 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Wed, 17 Jun 2020 08:15:39 +0300 Subject: ACPI: Drop redundant ChromeOS setup for GNVS MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Already done in common gnvs_get_or_create() implementation once gnvs_chromeos_ptr() is defined for platforms. Change-Id: I90fa2bc28ae76da734b3f88be057435aed9fe374 Signed-off-by: Kyösti Mälkki Reviewed-on: https://review.coreboot.org/c/coreboot/+/48703 Reviewed-by: Arthur Heymans Reviewed-by: Angel Pons Tested-by: build bot (Jenkins) --- src/acpi/chromeos-gnvs.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/acpi') diff --git a/src/acpi/chromeos-gnvs.c b/src/acpi/chromeos-gnvs.c index bdd7d69cc5..b1588fa93c 100644 --- a/src/acpi/chromeos-gnvs.c +++ b/src/acpi/chromeos-gnvs.c @@ -4,12 +4,6 @@ #include #include -/* Remove once implemented on platform code. */ -__weak void *gnvs_chromeos_ptr(struct global_nvs *gnvs) -{ - return NULL; -} - void gnvs_assign_chromeos(void) { chromeos_acpi_t *gnvs_chromeos = gnvs_chromeos_ptr(acpi_get_gnvs()); -- cgit v1.2.3