[coreboot-gerrit] Patch set updated for coreboot: soc/intel/skylake: Add function for gpio_t to ACPI pin translation
Duncan Laurie (dlaurie@chromium.org)
gerrit at coreboot.org
Fri Jul 1 19:43:43 CEST 2016
Duncan Laurie (dlaurie at chromium.org) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/15520
-gerrit
commit 63b3d58503a635f8bfc51e1f37f784ff94c0ce8c
Author: Duncan Laurie <dlaurie at chromium.org>
Date: Thu Jun 30 09:34:24 2016 -0700
soc/intel/skylake: Add function for gpio_t to ACPI pin translation
Add the function defined in gpio.h to translate a gpio_t into a
value for use in an ACPI GPIO pin table.
For skylake this just returns the gpio_t value as the pins are
translated directly and they are all in the same ACPI device.
Change-Id: I00fad1cafec2f2d63dce9f7779063be0532649c7
Signed-off-by: Duncan Laurie <dlaurie at chromium.org>
---
src/soc/intel/skylake/gpio.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/soc/intel/skylake/gpio.c b/src/soc/intel/skylake/gpio.c
index 78495c6..5b9babf 100644
--- a/src/soc/intel/skylake/gpio.c
+++ b/src/soc/intel/skylake/gpio.c
@@ -408,3 +408,8 @@ const char *gpio_acpi_path(gpio_t gpio_num)
{
return "\\_SB.PCI0.GPIO";
}
+
+uint16_t gpio_acpi_pin(gpio_t gpio_num)
+{
+ return gpio_num;
+}
More information about the coreboot-gerrit
mailing list