Attention is currently required from: Patrick Rudolph. Subrata Banik has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/60773 )
Change subject: soc/intel/common/gpio: Modify pad_config.pad type from `int` to 'gpio_t' ......................................................................
soc/intel/common/gpio: Modify pad_config.pad type from `int` to 'gpio_t'
This patch modifies struct pad_config.pad type from `int` to 'gpio_t' as pad offset inside GPIO community is unsigned type and also to maintain parity with `struct gpio_lock_config.pad` type.
Signed-off-by: Subrata Banik subratabanik@google.com Change-Id: I15da8a1aff2d81805ba6584f5cc7e569faf456e1 --- M src/soc/intel/common/block/include/intelblocks/gpio.h 1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/73/60773/1
diff --git a/src/soc/intel/common/block/include/intelblocks/gpio.h b/src/soc/intel/common/block/include/intelblocks/gpio.h index 995c786..700b975 100644 --- a/src/soc/intel/common/block/include/intelblocks/gpio.h +++ b/src/soc/intel/common/block/include/intelblocks/gpio.h @@ -66,7 +66,7 @@ typedef uint32_t gpio_t;
struct pad_config { - int pad;/* offset of pad within community */ + gpio_t pad;/* offset of pad within community */ uint32_t pad_config[GPIO_NUM_PAD_CFG_REGS];/* Pad config data corresponding to DW0, DW1,.... */ };