From c379d46c1c49a2f9f28bdcbb42b94976dbb24a72 Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Mon, 27 Jul 2020 08:16:24 +0200 Subject: [PATCH] src/soc/rockchip: Add missing <{stddef,stdint}.h> Change-Id: I0b7bdd9f46846bc9c3d9672b50dfe2fb166fcb78 Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/c/coreboot/+/43945 Tested-by: build bot (Jenkins) Reviewed-by: Julius Werner --- src/soc/rockchip/common/i2c.c | 2 ++ src/soc/rockchip/rk3399/spi_bitbang.c | 1 + 2 files changed, 3 insertions(+) diff --git a/src/soc/rockchip/common/i2c.c b/src/soc/rockchip/common/i2c.c index 393b45753d..dbbfd3e041 100644 --- a/src/soc/rockchip/common/i2c.c +++ b/src/soc/rockchip/common/i2c.c @@ -10,6 +10,8 @@ #include #include #include +#include +#include #define RETRY_COUNT 3 /* 100000us = 100ms */ diff --git a/src/soc/rockchip/rk3399/spi_bitbang.c b/src/soc/rockchip/rk3399/spi_bitbang.c index 6bb854d2f4..27b23f1ea3 100644 --- a/src/soc/rockchip/rk3399/spi_bitbang.c +++ b/src/soc/rockchip/rk3399/spi_bitbang.c @@ -8,6 +8,7 @@ #include #include #include +#include struct rockchip_bitbang_slave { struct spi_bitbang_ops ops;