From 7ad0ce7b405c0bac64b77344d4e7502fac64ef03 Mon Sep 17 00:00:00 2001 From: Aaron Durbin Date: Mon, 29 Jan 2018 21:52:38 -0700 Subject: 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 Reviewed-on: https://review.coreboot.org/23501 Reviewed-by: Justin TerAvest Reviewed-by: Furquan Shaikh Tested-by: build bot (Jenkins) --- src/soc/amd/stoneyridge/gpio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3