summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2020-06-27 14:24:05 +0300
committerPatrick Georgi <pgeorgi@google.com>2020-06-30 05:41:45 +0000
commit07a4e56e7568720d561cfd788cc342a3901a6628 (patch)
tree4eea5a09c9ea9ddebacfc02bd317521a2e8a7b01 /src/mainboard
parent3858fb121e4322f7a835b23622bf9452790fcec6 (diff)
mb/intel,samsung: Drop unused static gnvs_
Change-Id: I920e5e6a3fa92ede4a0b0388962b55208a7dee48 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/42847 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/intel/emeraldlake2/acpi_tables.c4
-rw-r--r--src/mainboard/samsung/lumpy/acpi_tables.c4
-rw-r--r--src/mainboard/samsung/stumpy/acpi_tables.c4
3 files changed, 0 insertions, 12 deletions
diff --git a/src/mainboard/intel/emeraldlake2/acpi_tables.c b/src/mainboard/intel/emeraldlake2/acpi_tables.c
index 36d0d66fd8..dd98883ff6 100644
--- a/src/mainboard/intel/emeraldlake2/acpi_tables.c
+++ b/src/mainboard/intel/emeraldlake2/acpi_tables.c
@@ -8,12 +8,8 @@
#include "thermal.h"
-static global_nvs_t *gnvs_;
-
void acpi_create_gnvs(global_nvs_t *gnvs)
{
- gnvs_ = gnvs;
-
/* Enable USB ports in S3 */
gnvs->s3u0 = 1;
gnvs->s3u1 = 1;
diff --git a/src/mainboard/samsung/lumpy/acpi_tables.c b/src/mainboard/samsung/lumpy/acpi_tables.c
index aafbdb6638..c1489eb7fd 100644
--- a/src/mainboard/samsung/lumpy/acpi_tables.c
+++ b/src/mainboard/samsung/lumpy/acpi_tables.c
@@ -11,12 +11,8 @@
#include "thermal.h"
-static global_nvs_t *gnvs_;
-
void acpi_create_gnvs(global_nvs_t *gnvs)
{
- gnvs_ = gnvs;
-
/*
* Disable 3G in suspend by default.
* Provide option to enable for http://crosbug.com/p/7925
diff --git a/src/mainboard/samsung/stumpy/acpi_tables.c b/src/mainboard/samsung/stumpy/acpi_tables.c
index b66e4ddd66..9793c1cf94 100644
--- a/src/mainboard/samsung/stumpy/acpi_tables.c
+++ b/src/mainboard/samsung/stumpy/acpi_tables.c
@@ -8,12 +8,8 @@
#include "thermal.h"
-static global_nvs_t *gnvs_;
-
void acpi_create_gnvs(global_nvs_t *gnvs)
{
- gnvs_ = gnvs;
-
/* Enable Front USB ports in S3 by default */
gnvs->s3u0 = 1;
gnvs->s3u1 = 1;