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 <tdas@codeaurora.org> Change-Id: Iefdde8f8331cf1df2e88a2c8915aefb4fa091d65 Reviewed-on: https://review.coreboot.org/c/coreboot/+/55948 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Shelley Chen <shchen@google.com>
This commit is contained in:
parent
cc80a9ac8e
commit
ec4cc8b2ac
@ -7,6 +7,7 @@
|
||||
#include <soc/addressmap.h>
|
||||
|
||||
#define GPIO_FUNC_GPIO 0
|
||||
#define TLMM_GPIO_OFF_DELTA 0x1000
|
||||
|
||||
/* GPIO TLMM INTR: Mask */
|
||||
enum gpio_tlmm_intr_bmsk {
|
||||
|
Loading…
x
Reference in New Issue
Block a user