From a18307951b8fc915cea5db9b3e95dd2add2caa8c Mon Sep 17 00:00:00 2001 From: Yidi Lin Date: Thu, 10 Dec 2020 15:59:49 +0800 Subject: [PATCH] soc/mediatek/mt8183: Move dsi driver to common/ The mt8183 dsi driver can be shared with mt819x SoC. Move dsi.c to common/ folder and rename it to dis_v2.c to differentiate it from mt8173's dsi driver. TEST=emerge-kukuki coreboot Change-Id: I722d3e67f230ab8eb729900cdf15b922eb91a072 Signed-off-by: Yidi Lin Reviewed-on: https://review.coreboot.org/c/coreboot/+/48530 Tested-by: build bot (Jenkins) Reviewed-by: Hung-Te Lin --- src/soc/mediatek/{mt8183/dsi.c => common/mtk_mipi_dphy.c} | 0 src/soc/mediatek/mt8183/Makefile.inc | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename src/soc/mediatek/{mt8183/dsi.c => common/mtk_mipi_dphy.c} (100%) diff --git a/src/soc/mediatek/mt8183/dsi.c b/src/soc/mediatek/common/mtk_mipi_dphy.c similarity index 100% rename from src/soc/mediatek/mt8183/dsi.c rename to src/soc/mediatek/common/mtk_mipi_dphy.c diff --git a/src/soc/mediatek/mt8183/Makefile.inc b/src/soc/mediatek/mt8183/Makefile.inc index b5d5173b70..744455d5aa 100644 --- a/src/soc/mediatek/mt8183/Makefile.inc +++ b/src/soc/mediatek/mt8183/Makefile.inc @@ -47,7 +47,7 @@ romstage-y += ../common/wdt.c ramstage-y += emi.c ramstage-y += ../common/auxadc.c ramstage-y += ../common/ddp.c ddp.c -ramstage-y += ../common/dsi.c dsi.c +ramstage-y += ../common/dsi.c ../common/mtk_mipi_dphy.c ramstage-y += ../common/gpio.c gpio.c ramstage-y += ../common/i2c.c i2c.c ramstage-y += ../common/mcu.c