summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2018-01-29 21:52:38 -0700
committerAaron Durbin <adurbin@chromium.org>2018-01-30 05:38:25 +0000
commit7ad0ce7b405c0bac64b77344d4e7502fac64ef03 (patch)
tree1371749191cfa2ae4ada72d5f4337d9984ebda5b
parent0d2d77a597542354a1fe64cad908f6a9e0d59591 (diff)
downloadcoreboot-7ad0ce7b405c0bac64b77344d4e7502fac64ef03.tar.xz
soc/amd/stoneyridge: fix gpio_acpi_path()
The path for the GPIO devices needs to be '\_SB', not '\SB'. Fix the path so that it references the system bus. BUG=b:72121803 Change-Id: I7c6c38ecea0f8f95ff52b3390f92c5b7e79bcd6d Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: https://review.coreboot.org/23501 Reviewed-by: Justin TerAvest <teravest@chromium.org> Reviewed-by: Furquan Shaikh <furquan@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--src/soc/amd/stoneyridge/gpio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/amd/stoneyridge/gpio.c b/src/soc/amd/stoneyridge/gpio.c
index 62edcd31a4..59f283ed5c 100644
--- a/src/soc/amd/stoneyridge/gpio.c
+++ b/src/soc/amd/stoneyridge/gpio.c
@@ -99,7 +99,7 @@ void gpio_output(gpio_t gpio_num, int value)
const char *gpio_acpi_path(gpio_t gpio)
{
- return "\\SB.GPIO";
+ return "\\_SB.GPIO";
}
uint16_t gpio_acpi_pin(gpio_t gpio)