summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2021-10-27 13:43:03 +0200
committerFelix Held <felix-coreboot@felixheld.de>2021-10-29 00:52:50 +0000
commitbce7458aa18a1924ba072a5a3cd966ff88fffb77 (patch)
treea838c1193e126fc61bad708ea32ba930b0b03260
parent05592ff1e63913f51b8c58e9e1e35c1ebca3f1a2 (diff)
acpi/acpigen.c: Remove weak gpio definition
Compiletime errors > runtime errors. Change-Id: I1db0a8f01eaecf012e5444c03f8d4e2bb6e42a77 Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/coreboot/+/58649 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
-rw-r--r--src/acpi/acpigen.c29
1 files changed, 0 insertions, 29 deletions
diff --git a/src/acpi/acpigen.c b/src/acpi/acpigen.c
index 37bfec1654..2b74261a2f 100644
--- a/src/acpi/acpigen.c
+++ b/src/acpi/acpigen.c
@@ -2020,35 +2020,6 @@ void acpigen_write_rom(void *bios, const size_t length)
acpigen_pop_len();
}
-/* Soc-implemented functions -- weak definitions. */
-int __weak acpigen_soc_read_rx_gpio(unsigned int gpio_num)
-{
- printk(BIOS_ERR, "ERROR: %s not implemented\n", __func__);
- acpigen_write_debug_string("read_rx_gpio not available");
- return -1;
-}
-
-int __weak acpigen_soc_get_tx_gpio(unsigned int gpio_num)
-{
- printk(BIOS_ERR, "ERROR: %s not implemented\n", __func__);
- acpigen_write_debug_string("get_tx_gpio not available");
- return -1;
-}
-
-int __weak acpigen_soc_set_tx_gpio(unsigned int gpio_num)
-{
- printk(BIOS_ERR, "ERROR: %s not implemented\n", __func__);
- acpigen_write_debug_string("set_tx_gpio not available");
- return -1;
-}
-
-int __weak acpigen_soc_clear_tx_gpio(unsigned int gpio_num)
-{
- printk(BIOS_ERR, "ERROR: %s not implemented\n", __func__);
- acpigen_write_debug_string("clear_tx_gpio not available");
- return -1;
-}
-
/*
* Helper functions for enabling/disabling Tx GPIOs based on the GPIO
* polarity. These functions end up calling acpigen_soc_{set,clear}_tx_gpio to