summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDuncan Laurie <dlaurie@chromium.org>2016-09-19 19:20:24 -0700
committerDuncan Laurie <dlaurie@chromium.org>2016-09-19 19:20:24 -0700
commit1efcfcfff91e6292e2971241e83c3df76c22fed7 (patch)
tree4e6d23206f51b14fafc7394024aec97ad1744ce7
parentbf2c8c6a4723eefb0824375555a2aa245a958077 (diff)
downloadcoreboot-1efcfcfff91e6292e2971241e83c3df76c22fed7.tar.xz
Revert "x86: acpi: Add function for querying GPE status"
This reverts commit 884dfe632940b940df68d09f997fa5cd25121def.
-rw-r--r--src/arch/x86/acpi.c5
-rw-r--r--src/arch/x86/include/arch/acpi.h3
2 files changed, 0 insertions, 8 deletions
diff --git a/src/arch/x86/acpi.c b/src/arch/x86/acpi.c
index edb6835dc8..bbeb92f3ba 100644
--- a/src/arch/x86/acpi.c
+++ b/src/arch/x86/acpi.c
@@ -1093,8 +1093,3 @@ void acpi_save_gnvs(u32 gnvs_address)
if (gnvs)
*gnvs = gnvs_address;
}
-
-__attribute__ ((weak)) int acpi_get_gpe(int gpe)
-{
- return -1; /* implemented by SOC */
-}
diff --git a/src/arch/x86/include/arch/acpi.h b/src/arch/x86/include/arch/acpi.h
index 7d2993162d..e81ddbf02f 100644
--- a/src/arch/x86/include/arch/acpi.h
+++ b/src/arch/x86/include/arch/acpi.h
@@ -677,9 +677,6 @@ static inline int acpi_sleep_from_pm1(uint32_t pm1_cnt)
/* Returns ACPI_Sx values. */
int acpi_get_sleep_type(void);
-/* Read and clear GPE status */
-int acpi_get_gpe(int gpe);
-
static inline int acpi_s3_resume_allowed(void)
{
return IS_ENABLED(CONFIG_HAVE_ACPI_RESUME);