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>
This commit is contained in:
parent
315710af7b
commit
1edf8b77e0
|
@ -8,6 +8,5 @@ romstage-y += hsio.c
|
|||
ramstage-y += ramstage.c
|
||||
ramstage-y += boardid.c
|
||||
ramstage-y += hsio.c
|
||||
ramstage-$(CONFIG_HAVE_ACPI_TABLES) += fadt.c
|
||||
|
||||
CPPFLAGS_common += -Isrc/mainboard/$(MAINBOARDDIR)/
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
bootblock-y += bootblock.c
|
||||
ramstage-y += ramstage.c
|
||||
ramstage-$(CONFIG_HAVE_ACPI_TABLES) += fadt.c
|
||||
|
||||
CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)/include
|
||||
CPPFLAGS_common += -I$(CONFIG_FSP_HEADER_PATH)
|
||||
|
|
|
@ -9,3 +9,8 @@ void acpi_create_gnvs(global_nvs_t *gnvs)
|
|||
{
|
||||
acpi_init_gnvs(gnvs);
|
||||
}
|
||||
|
||||
void motherboard_fill_fadt(acpi_fadt_t *fadt)
|
||||
{
|
||||
fadt->preferred_pm_profile = PM_ENTERPRISE_SERVER;
|
||||
}
|
||||
|
|
|
@ -1,10 +0,0 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||
|
||||
#include <acpi/acpi.h>
|
||||
#include <soc/acpi.h>
|
||||
|
||||
void motherboard_fill_fadt(acpi_fadt_t *fadt)
|
||||
{
|
||||
fadt->reserved = 0;
|
||||
fadt->preferred_pm_profile = PM_ENTERPRISE_SERVER;
|
||||
}
|
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
Loading…
Reference in New Issue