HAOUAS Elyes has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/34260 )
Change subject: soc/intel/fsp_broadwell_de: Correct 'gpio_t' typedef ......................................................................
soc/intel/fsp_broadwell_de: Correct 'gpio_t' typedef
<soc/gpio.h> must typedef a gpio_t that fits in 32 bits.
Change-Id: I62b39a53ad14cefe6e98c772e8a3c4d80dd5d84e Signed-off-by: Elyes HAOUAS ehaouas@noos.fr --- M src/soc/intel/fsp_broadwell_de/include/soc/gpio.h 1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/60/34260/1
diff --git a/src/soc/intel/fsp_broadwell_de/include/soc/gpio.h b/src/soc/intel/fsp_broadwell_de/include/soc/gpio.h index 1159d03..6a2d2f2 100644 --- a/src/soc/intel/fsp_broadwell_de/include/soc/gpio.h +++ b/src/soc/intel/fsp_broadwell_de/include/soc/gpio.h @@ -121,7 +121,7 @@
/* Define gpio_t here to be able to use src/include/gpio.h for gpio_set() and gpio_get().*/ -typedef uint8_t gpio_t; +typedef uint32_t gpio_t;
/* Configure GPIOs with mainboard provided settings */ void init_gpios(const struct gpio_config config[]);