From 630b644cecf0cb3ac3dacc8b0854a92d0ac58598 Mon Sep 17 00:00:00 2001 From: Bora Guvendik Date: Wed, 11 Oct 2017 17:54:58 -0700 Subject: soc/intel/cannonlake: add length information for communities TEST = Boot to OS, check if pinctrl probed successfully Change-Id: Ib20c955d535cd9c48175b4d3934b4699b6186874 Signed-off-by: Bora Guvendik Reviewed-on: https://review.coreboot.org/21974 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin Reviewed-by: Pratikkumar V Prajapati --- src/soc/intel/cannonlake/acpi/gpio.asl | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/soc/intel/cannonlake/acpi/gpio.asl b/src/soc/intel/cannonlake/acpi/gpio.asl index ae3ef5b0b7..c2bf8d98e6 100644 --- a/src/soc/intel/cannonlake/acpi/gpio.asl +++ b/src/soc/intel/cannonlake/acpi/gpio.asl @@ -37,15 +37,21 @@ Device (GPIO) { /* GPIO Community 0 */ CreateDWordField (^RBUF, ^COM0._BAS, BAS0) + CreateDWordField (^RBUF, ^COM0._LEN, LEN0) Store (^^PCRB (PID_GPIOCOM0), BAS0) + Store (GPIO_BASE_SIZE, LEN0) /* GPIO Community 1 */ CreateDWordField (^RBUF, ^COM1._BAS, BAS1) + CreateDWordField (^RBUF, ^COM1._LEN, LEN1) Store (^^PCRB (PID_GPIOCOM1), BAS1) + Store (GPIO_BASE_SIZE, LEN1) /* GPIO Community 4 */ CreateDWordField (^RBUF, ^COM4._BAS, BAS4) + CreateDWordField (^RBUF, ^COM4._LEN, LEN3) Store (^^PCRB (PID_GPIOCOM4), BAS4) + Store (GPIO_BASE_SIZE, LEN3) Return (RBUF) } -- cgit v1.2.3