HAOUAS Elyes has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/34265 )
Change subject: soc/intel/broadwell: Add missing typedef gpio_t ......................................................................
soc/intel/broadwell: Add missing typedef gpio_t
<soc/gpio.h> must typedef a gpio_t that fits in 32 bits.
Change-Id: I55770e969a7949f3b9a35b8a23ed07ba969cad3b Signed-off-by: Elyes HAOUAS ehaouas@noos.fr --- M src/soc/intel/broadwell/include/soc/gpio.h 1 file changed, 3 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/65/34265/1
diff --git a/src/soc/intel/broadwell/include/soc/gpio.h b/src/soc/intel/broadwell/include/soc/gpio.h index c0ac134..d97cb03 100644 --- a/src/soc/intel/broadwell/include/soc/gpio.h +++ b/src/soc/intel/broadwell/include/soc/gpio.h @@ -162,6 +162,9 @@ .owner = GPIO_OWNER_GPIO, \ .conf1 = GPIO_SENSE_DISABLE }
+/* <soc/gpio.h> must typedef a gpio_t that fits in 32 bits. */ +typedef uint32_t gpio_t; + struct gpio_config { u8 gpio; u32 conf0;