diff options
author | Richard Spiegel <richard.spiegel@amd.corp-partner.google.com> | 2018-05-16 14:08:33 -0700 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2018-06-13 14:24:42 +0000 |
commit | 93459d6278f1557f3e38c33b79a8fd739aa7ff68 (patch) | |
tree | 1634a2374ca5409bac233e126db330e0e3927787 /src/soc/amd/stoneyridge/gpio.c | |
parent | 572f4988ddb3b85bdce019de7d6a594bea070bfb (diff) |
soc/amd/stoneyridge/acpi.c: Create GPIO acpigen procedures
There are some acpigen functionality that have not been implemented. They
are defined as week within acpigen.c, in order to not break the build.
This adds stoneyridge specific versions.
BUG=b:79546790
TEST=Build grunt with added debug code to gpio_lib.asl. Boot to OS,
activate ACPI debug, activate S3 stress test. Interrupt stress test, do a
"cat /var/log/messages" saving the serial output. Examine the serial
output, see added debug code showing action taken. Confirm action by
reading proper register. Debug code removed.
Change-Id: I9062d889f828a3175b89e6f4a3659ebbf90eac68
Signed-off-by: Richard Spiegel <richard.spiegel@silverbackltd.com>
Reviewed-on: https://review.coreboot.org/26335
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/soc/amd/stoneyridge/gpio.c')
-rw-r--r-- | src/soc/amd/stoneyridge/gpio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/amd/stoneyridge/gpio.c b/src/soc/amd/stoneyridge/gpio.c index 3bb77b7010..65134762a8 100644 --- a/src/soc/amd/stoneyridge/gpio.c +++ b/src/soc/amd/stoneyridge/gpio.c @@ -130,7 +130,7 @@ static void get_sci_config_bits(uint32_t flag, uint32_t *edge, uint32_t *level) } } -static uintptr_t gpio_get_address(gpio_t gpio_num) +uintptr_t gpio_get_address(gpio_t gpio_num) { uintptr_t gpio_address; |