HAOUAS Elyes has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/34266 )
Change subject: soc/intel/cannonlake: Add missing typedef gpio_t ......................................................................
soc/intel/cannonlake: Add missing typedef gpio_t
<soc/gpio.h> must typedef a gpio_t that fits in 32 bits.
Change-Id: I6bc27515262ece228c4a08be992e50ed89962211 Signed-off-by: Elyes HAOUAS ehaouas@noos.fr --- M src/soc/intel/cannonlake/include/soc/gpio.h 1 file changed, 4 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/66/34266/1
diff --git a/src/soc/intel/cannonlake/include/soc/gpio.h b/src/soc/intel/cannonlake/include/soc/gpio.h index e7056eb..80393e9 100644 --- a/src/soc/intel/cannonlake/include/soc/gpio.h +++ b/src/soc/intel/cannonlake/include/soc/gpio.h @@ -28,6 +28,10 @@ #ifndef __ACPI__ struct pad_config; void cnl_configure_pads(const struct pad_config *cfg, size_t num_pads); + +/* <soc/gpio.h> must typedef a gpio_t that fits in 32 bits. */ +typedef uint32_t gpio_t; + #endif
#endif