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>
This commit is contained in:
Felix Held 2022-01-10 22:06:01 +01:00
parent 8473322727
commit 6f811f6d5c
1 changed files with 1 additions and 0 deletions

View File

@ -4,6 +4,7 @@
#define AMD_CEZANNE_I2C_H #define AMD_CEZANNE_I2C_H
#include <soc/gpio.h> #include <soc/gpio.h>
#include <types.h>
#define GPIO_I2C0_SCL BIT(0) #define GPIO_I2C0_SCL BIT(0)
#define GPIO_I2C1_SCL BIT(1) #define GPIO_I2C1_SCL BIT(1)