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>
This commit is contained in:
Aaron Durbin 2018-01-29 21:52:38 -07:00
parent 0d2d77a597
commit 7ad0ce7b40
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ void gpio_output(gpio_t gpio_num, int value)
const char *gpio_acpi_path(gpio_t gpio) const char *gpio_acpi_path(gpio_t gpio)
{ {
return "\\SB.GPIO"; return "\\_SB.GPIO";
} }
uint16_t gpio_acpi_pin(gpio_t gpio) uint16_t gpio_acpi_pin(gpio_t gpio)