aboutsummaryrefslogtreecommitdiff
path: root/src/soc/mediatek/common
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2020-07-22 11:45:07 +0200
committerPatrick Georgi <pgeorgi@google.com>2020-07-26 21:35:27 +0000
commit29c4d1b71728c2029474ccf1b076e737209204ff (patch)
tree10d2af954582640eef21d8abe1436ca602228267 /src/soc/mediatek/common
parent23a60fa65bf2ef0e5a31b026830301d7ce0d10ab (diff)
src/soc/mediatek: Add include <types.h>
BIT(x) needs <types.h>. Change-Id: I8e4a7af68a52d82117b8b091fa448bb6ad40ae7d Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/43708 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/soc/mediatek/common')
-rw-r--r--src/soc/mediatek/common/ddp.c1
-rw-r--r--src/soc/mediatek/common/include/soc/spi_common.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/soc/mediatek/common/ddp.c b/src/soc/mediatek/common/ddp.c
index 17a28494f7..67e2fbf725 100644
--- a/src/soc/mediatek/common/ddp.c
+++ b/src/soc/mediatek/common/ddp.c
@@ -4,6 +4,7 @@
#include <edid.h>
#include <soc/addressmap.h>
#include <soc/ddp.h>
+#include <types.h>
#define RDMA_FIFO_PSEUDO_SIZE(bytes) (((bytes) / 16) << 16)
#define RDMA_OUTPUT_VALID_FIFO_THRESHOLD(bytes) ((bytes) / 16)
diff --git a/src/soc/mediatek/common/include/soc/spi_common.h b/src/soc/mediatek/common/include/soc/spi_common.h
index cb86db3665..918f3d2717 100644
--- a/src/soc/mediatek/common/include/soc/spi_common.h
+++ b/src/soc/mediatek/common/include/soc/spi_common.h
@@ -5,6 +5,7 @@
#include <soc/gpio_base.h>
#include <spi-generic.h>
+#include <types.h>
enum {
SPI_CFG1_CS_IDLE_SHIFT = 0,