HAOUAS Elyes has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/34261 )
Change subject: soc/amd/picasso: Add missing typedef gpio_t ......................................................................
soc/amd/picasso: Add missing typedef gpio_t
<soc/gpio.h> must typedef a gpio_t that fits in 32 bits.
Change-Id: Idfa1cfa1249e2cb7c5c5722d5140686d74c02c78 Signed-off-by: Elyes HAOUAS ehaouas@noos.fr --- M src/soc/amd/picasso/include/soc/gpio.h 1 file changed, 3 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/61/34261/1
diff --git a/src/soc/amd/picasso/include/soc/gpio.h b/src/soc/amd/picasso/include/soc/gpio.h index 411144b..772eeaa 100644 --- a/src/soc/amd/picasso/include/soc/gpio.h +++ b/src/soc/amd/picasso/include/soc/gpio.h @@ -23,6 +23,9 @@ #include <soc/iomap.h> #include <amdblocks/gpio_banks.h>
+/* <soc/gpio.h> must typedef a gpio_t that fits in 32 bits. */ +typedef uint32_t gpio_t; + /* The following sections describe only the GPIOs defined for this SOC */
#define SOC_GPIO_TOTAL_PINS 149