summaryrefslogtreecommitdiff
path: root/src/mainboard/asrock
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2020-06-29 02:56:49 +0300
committerNico Huber <nico.h@gmx.de>2021-01-10 11:29:10 +0000
commita9766c7adaaa442fc3c42ca4f31fe4050cfa653d (patch)
treed926f7613b2849c11d5c7427ed43cbdf22eb978f /src/mainboard/asrock
parent8a5f157fdff9e0af9e7e0b9714c6b55f28f8ef1d (diff)
downloadcoreboot-a9766c7adaaa442fc3c42ca4f31fe4050cfa653d.tar.xz
mb/x/acpi_tables: Rename to mainboard_fill_gnvs()
Rename acpi_create_gnvs() functions under mb/ to reflect their changed functionality. Remove now empty mb/acpi_tables.c files. Change-Id: Ia366867ef73d1ade9805dc29b8e14b3073f44f60 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/48707 Reviewed-by: Nico Huber <nico.h@gmx.de> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/asrock')
-rw-r--r--src/mainboard/asrock/b75pro3-m/acpi_tables.c2
-rw-r--r--src/mainboard/asrock/b85m_pro4/acpi_tables.c2
-rw-r--r--src/mainboard/asrock/g41c-gs/acpi_tables.c2
-rw-r--r--src/mainboard/asrock/h81m-hds/acpi_tables.c8
4 files changed, 3 insertions, 11 deletions
diff --git a/src/mainboard/asrock/b75pro3-m/acpi_tables.c b/src/mainboard/asrock/b75pro3-m/acpi_tables.c
index 28c9d8ee6e..e68746c7b2 100644
--- a/src/mainboard/asrock/b75pro3-m/acpi_tables.c
+++ b/src/mainboard/asrock/b75pro3-m/acpi_tables.c
@@ -3,7 +3,7 @@
#include <acpi/acpi_gnvs.h>
#include <southbridge/intel/bd82x6x/nvs.h>
-void acpi_create_gnvs(struct global_nvs *gnvs)
+void mainboard_fill_gnvs(struct global_nvs *gnvs)
{
gnvs->tcrt = 100;
gnvs->tpsv = 90;
diff --git a/src/mainboard/asrock/b85m_pro4/acpi_tables.c b/src/mainboard/asrock/b85m_pro4/acpi_tables.c
index eed290d500..59c4186665 100644
--- a/src/mainboard/asrock/b85m_pro4/acpi_tables.c
+++ b/src/mainboard/asrock/b85m_pro4/acpi_tables.c
@@ -3,7 +3,7 @@
#include <acpi/acpi_gnvs.h>
#include <southbridge/intel/lynxpoint/nvs.h>
-void acpi_create_gnvs(struct global_nvs *gnvs)
+void mainboard_fill_gnvs(struct global_nvs *gnvs)
{
gnvs->tcrt = 100;
gnvs->tpsv = 90;
diff --git a/src/mainboard/asrock/g41c-gs/acpi_tables.c b/src/mainboard/asrock/g41c-gs/acpi_tables.c
index 9eef15936a..7206526637 100644
--- a/src/mainboard/asrock/g41c-gs/acpi_tables.c
+++ b/src/mainboard/asrock/g41c-gs/acpi_tables.c
@@ -3,7 +3,7 @@
#include <acpi/acpi_gnvs.h>
#include <southbridge/intel/i82801gx/nvs.h>
-void acpi_create_gnvs(struct global_nvs *gnvs)
+void mainboard_fill_gnvs(struct global_nvs *gnvs)
{
gnvs->pwrs = 1; /* Power state (AC = 1) */
gnvs->cmap = 0x01; /* Enable COM 1 port */
diff --git a/src/mainboard/asrock/h81m-hds/acpi_tables.c b/src/mainboard/asrock/h81m-hds/acpi_tables.c
deleted file mode 100644
index 8ec5b118c5..0000000000
--- a/src/mainboard/asrock/h81m-hds/acpi_tables.c
+++ /dev/null
@@ -1,8 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-or-later */
-
-#include <acpi/acpi_gnvs.h>
-#include <southbridge/intel/lynxpoint/nvs.h>
-
-void acpi_create_gnvs(struct global_nvs *gnvs)
-{
-}