summaryrefslogtreecommitdiffstats
path: root/src/soc/amd/cezanne
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2022-01-10 22:06:01 +0100
committerFelix Held <felix-coreboot@felixheld.de>2022-01-11 21:49:36 +0000
commit6f811f6d5c3f61ac54927a2aa660f35c7538de6b (patch)
tree59cb5d04d92ee7438e95261b3d3c7be053ed46e7 /src/soc/amd/cezanne
parent8473322727fe370489911471d4ebc75fbff9ba3e (diff)
downloadcoreboot-6f811f6d5c3f61ac54927a2aa660f35c7538de6b.tar.gz
coreboot-6f811f6d5c3f61ac54927a2aa660f35c7538de6b.tar.bz2
coreboot-6f811f6d5c3f61ac54927a2aa660f35c7538de6b.zip
soc/amd/cezanne/include/i2c: add missing types.h include
uintptr_t is defined in stdint.h which gets included by types.h. I use types.h instead of stdint.h, since that's also what the Picasso code does. Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Change-Id: Id3d0811d831b5acc9343398f4d28c73467c0a429 Reviewed-on: https://review.coreboot.org/c/coreboot/+/60976 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Diffstat (limited to 'src/soc/amd/cezanne')
-rw-r--r--src/soc/amd/cezanne/include/soc/i2c.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/soc/amd/cezanne/include/soc/i2c.h b/src/soc/amd/cezanne/include/soc/i2c.h
index 0bea3650587c..dba16db2dbdf 100644
--- a/src/soc/amd/cezanne/include/soc/i2c.h
+++ b/src/soc/amd/cezanne/include/soc/i2c.h
@@ -4,6 +4,7 @@
#define AMD_CEZANNE_I2C_H
#include <soc/gpio.h>
+#include <types.h>
#define GPIO_I2C0_SCL BIT(0)
#define GPIO_I2C1_SCL BIT(1)