diff options
Diffstat (limited to 'src/soc')
-rw-r--r-- | src/soc/rockchip/rk3288/gpio.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/soc/rockchip/rk3288/gpio.h b/src/soc/rockchip/rk3288/gpio.h index 6cac6cbdec..7049ddffe2 100644 --- a/src/soc/rockchip/rk3288/gpio.h +++ b/src/soc/rockchip/rk3288/gpio.h @@ -23,6 +23,8 @@ #include "addressmap.h" #include "grf.h" +#define GPIO(p, b, i) ((gpio_t){.port = p, .bank = GPIO_##b, .idx = i}) + struct rk3288_gpio_regs { u32 swporta_dr; u32 swporta_ddr; |