summaryrefslogtreecommitdiffstats
path: root/src/soc/mediatek/mt8183
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/mt8183
parent23a60fa65bf2ef0e5a31b026830301d7ce0d10ab (diff)
downloadcoreboot-29c4d1b71728c2029474ccf1b076e737209204ff.tar.gz
coreboot-29c4d1b71728c2029474ccf1b076e737209204ff.tar.bz2
coreboot-29c4d1b71728c2029474ccf1b076e737209204ff.zip
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/mt8183')
-rw-r--r--src/soc/mediatek/mt8183/ddp.c1
-rw-r--r--src/soc/mediatek/mt8183/dsi.c1
-rw-r--r--src/soc/mediatek/mt8183/include/soc/dsi.h1
3 files changed, 3 insertions, 0 deletions
diff --git a/src/soc/mediatek/mt8183/ddp.c b/src/soc/mediatek/mt8183/ddp.c
index 13918a07f400..eba3f5e34836 100644
--- a/src/soc/mediatek/mt8183/ddp.c
+++ b/src/soc/mediatek/mt8183/ddp.c
@@ -4,6 +4,7 @@
#include <edid.h>
#include <soc/addressmap.h>
#include <soc/ddp.h>
+#include <types.h>
static void disp_config_main_path_connection(void)
{
diff --git a/src/soc/mediatek/mt8183/dsi.c b/src/soc/mediatek/mt8183/dsi.c
index 9f54f498e1dc..fa73ddb4e685 100644
--- a/src/soc/mediatek/mt8183/dsi.c
+++ b/src/soc/mediatek/mt8183/dsi.c
@@ -5,6 +5,7 @@
#include <delay.h>
#include <soc/dsi.h>
#include <soc/pll.h>
+#include <types.h>
void mtk_dsi_configure_mipi_tx(u32 data_rate, u32 lanes)
{
diff --git a/src/soc/mediatek/mt8183/include/soc/dsi.h b/src/soc/mediatek/mt8183/include/soc/dsi.h
index 4535d905cf4a..9da79e648c0f 100644
--- a/src/soc/mediatek/mt8183/include/soc/dsi.h
+++ b/src/soc/mediatek/mt8183/include/soc/dsi.h
@@ -4,6 +4,7 @@
#define SOC_MEDIATEK_MT8183_DSI_H
#include <soc/dsi_common.h>
+#include <types.h>
/* DSI features */
#define MTK_DSI_MIPI_RATIO_NUMERATOR 100