diff options
author | Angel Pons <th3fanbus@gmail.com> | 2021-05-17 10:14:52 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2021-05-18 09:59:46 +0000 |
commit | 7cf0ff45c69eb3dbb49d27535c8a33a264a0d3aa (patch) | |
tree | fa4cccc4ea40391910207b54465a3cf6f42dd826 /src/mainboard/asrock | |
parent | c8ea212dd62707fc1174f0f41d281e6e1937f760 (diff) |
mainboard: Drop useless `acpi_tables.c` files
The `tcrt` and `tpsv` values in GNVS can be used to implement thermal
management in ACPI. However, not all mainboards use these values.
On mainboards where `tcrt` and `tpsv` are not used in ACPI tables and
are the only values set in the `mainboard_fill_gnvs` function, remove
them as well as the entire `acpi_tables.c` file. Most files come from
autoport, which unconditionally generates this file.
Change-Id: If2315ddd9700e2da0a24ffecc20acb5c1a1d688e
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/54353
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
Reviewed-by: Michael Niewöhner <foss@mniewoehner.de>
Diffstat (limited to 'src/mainboard/asrock')
-rw-r--r-- | src/mainboard/asrock/b75pro3-m/acpi_tables.c | 10 | ||||
-rw-r--r-- | src/mainboard/asrock/b85m_pro4/acpi_tables.c | 10 |
2 files changed, 0 insertions, 20 deletions
diff --git a/src/mainboard/asrock/b75pro3-m/acpi_tables.c b/src/mainboard/asrock/b75pro3-m/acpi_tables.c deleted file mode 100644 index 230584ee4a..0000000000 --- a/src/mainboard/asrock/b75pro3-m/acpi_tables.c +++ /dev/null @@ -1,10 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ - -#include <acpi/acpi_gnvs.h> -#include <soc/nvs.h> - -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 deleted file mode 100644 index 230584ee4a..0000000000 --- a/src/mainboard/asrock/b85m_pro4/acpi_tables.c +++ /dev/null @@ -1,10 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ - -#include <acpi/acpi_gnvs.h> -#include <soc/nvs.h> - -void mainboard_fill_gnvs(struct global_nvs *gnvs) -{ - gnvs->tcrt = 100; - gnvs->tpsv = 90; -} |