From ec4cc8b2ac5fa64da2115f2eb484d4927fb2766c Mon Sep 17 00:00:00 2001 From: Taniya Das Date: Thu, 24 Jun 2021 12:23:33 +0530 Subject: soc/qualcomm/common/gpio: Define a macro for the gpio offset Defining a macro for the gpio offset instead of a constant value. BUG=b:182963902 TEST=Validated on qualcomm sc7280 development board Signed-off-by: Taniya Das Change-Id: Iefdde8f8331cf1df2e88a2c8915aefb4fa091d65 Reviewed-on: https://review.coreboot.org/c/coreboot/+/55948 Tested-by: build bot (Jenkins) Reviewed-by: Shelley Chen --- src/soc/qualcomm/common/include/soc/gpio_common.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/soc/qualcomm') diff --git a/src/soc/qualcomm/common/include/soc/gpio_common.h b/src/soc/qualcomm/common/include/soc/gpio_common.h index 0ad582de60..20f947a326 100644 --- a/src/soc/qualcomm/common/include/soc/gpio_common.h +++ b/src/soc/qualcomm/common/include/soc/gpio_common.h @@ -7,6 +7,7 @@ #include #define GPIO_FUNC_GPIO 0 +#define TLMM_GPIO_OFF_DELTA 0x1000 /* GPIO TLMM INTR: Mask */ enum gpio_tlmm_intr_bmsk { -- cgit v1.2.3