From 1a43de16bbe9958d8cb2cb24f299a69028ce7d61 Mon Sep 17 00:00:00 2001 From: Angel Pons Date: Mon, 28 Sep 2020 00:51:15 +0200 Subject: soc/intel/icelake/acpi/gpio.asl: Correct GADD method Some cases are inconsistent. Refer to the 495 series on-package PCH to confirm which GPIO pads are the first for each community and fix it. Change-Id: Ie4c4c12c6629478d754f55fa3fb75fa16eb01335 Signed-off-by: Angel Pons Reviewed-on: https://review.coreboot.org/c/coreboot/+/45777 Tested-by: build bot (Jenkins) Reviewed-by: Subrata Banik --- src/soc/intel/icelake/acpi/gpio.asl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/soc') diff --git a/src/soc/intel/icelake/acpi/gpio.asl b/src/soc/intel/icelake/acpi/gpio.asl index 12a4e18737..6a8f824929 100644 --- a/src/soc/intel/icelake/acpi/gpio.asl +++ b/src/soc/intel/icelake/acpi/gpio.asl @@ -72,13 +72,13 @@ Method (GADD, 1, NotSerialized) If ((Arg0 >= GPP_G0) && (Arg0 <= GPP_A23)) { Local0 = PID_GPIOCOM0 - Local1 = Arg0 - GPP_A0 + Local1 = Arg0 - GPP_G0 } /* GPIO Community 1 */ If ((Arg0 >= GPP_H0) && (Arg0 <= GPP_F19)) { Local0 = PID_GPIOCOM1 - Local1 = Arg0 - GPP_D0 + Local1 = Arg0 - GPP_H0 } /* GPIO Community 2 */ If ((Arg0 >= GPD0) && (Arg0 <= GPD11)) -- cgit v1.2.3