diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2020-05-30 13:46:45 +0300 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2020-06-07 21:53:04 +0000 |
commit | 1edf8b77e02116cd01038cc17e42e2ea1a94c7f1 (patch) | |
tree | c346245b94240fbfae1fbfa9baf2bb015c83954c /src/mainboard/scaleway | |
parent | 315710af7b3c704528a6de7865e82c40ad1930ed (diff) |
mb/*: Remove some fadt.c files
Change-Id: I13ed3b6e8608c37c1ebe51838e4052f89a638d83
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/41947
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/scaleway')
-rw-r--r-- | src/mainboard/scaleway/tagada/Makefile.inc | 1 | ||||
-rw-r--r-- | src/mainboard/scaleway/tagada/acpi_tables.c | 5 | ||||
-rw-r--r-- | src/mainboard/scaleway/tagada/fadt.c | 12 |
3 files changed, 5 insertions, 13 deletions
diff --git a/src/mainboard/scaleway/tagada/Makefile.inc b/src/mainboard/scaleway/tagada/Makefile.inc index fe0fc795b6..97bab195a4 100644 --- a/src/mainboard/scaleway/tagada/Makefile.inc +++ b/src/mainboard/scaleway/tagada/Makefile.inc @@ -6,7 +6,6 @@ romstage-y += hsio.c ramstage-y += ramstage.c ramstage-y += hsio.c -ramstage-$(CONFIG_HAVE_ACPI_TABLES) += fadt.c bootblock-y += bmcinfo.c postcar-y += bmcinfo.c diff --git a/src/mainboard/scaleway/tagada/acpi_tables.c b/src/mainboard/scaleway/tagada/acpi_tables.c index 1351e62876..e03ec0cdca 100644 --- a/src/mainboard/scaleway/tagada/acpi_tables.c +++ b/src/mainboard/scaleway/tagada/acpi_tables.c @@ -22,3 +22,8 @@ void acpi_create_gnvs(global_nvs_t *gnvs) /* TPM Present */ gnvs->tpmp = 0; } + +void motherboard_fill_fadt(acpi_fadt_t *fadt) +{ + fadt->preferred_pm_profile = PM_ENTERPRISE_SERVER; +} diff --git a/src/mainboard/scaleway/tagada/fadt.c b/src/mainboard/scaleway/tagada/fadt.c deleted file mode 100644 index fc12fee7e3..0000000000 --- a/src/mainboard/scaleway/tagada/fadt.c +++ /dev/null @@ -1,12 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ - -#include <acpi/acpi.h> - -#include <soc/acpi.h> -#include <soc/soc_util.h> - -void motherboard_fill_fadt(acpi_fadt_t *fadt) -{ - fadt->reserved = 0; - fadt->preferred_pm_profile = PM_ENTERPRISE_SERVER; -} |