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>
This commit is contained in:
Elyes HAOUAS 2020-07-22 11:45:07 +02:00 committed by Patrick Georgi
parent 23a60fa65b
commit 29c4d1b717
6 changed files with 6 additions and 0 deletions

View File

@ -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)

View File

@ -5,6 +5,7 @@
#include <soc/gpio_base.h>
#include <spi-generic.h>
#include <types.h>
enum {
SPI_CFG1_CS_IDLE_SHIFT = 0,

View File

@ -4,6 +4,7 @@
#define _DSI_REG_H_
#include <soc/dsi_common.h>
#include <types.h>
/* DSI features */
#define MTK_DSI_MIPI_RATIO_NUMERATOR 102

View File

@ -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)
{

View File

@ -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)
{

View File

@ -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