summaryrefslogtreecommitdiff
path: root/src/soc/mediatek
diff options
context:
space:
mode:
authorYidi Lin <yidi.lin@mediatek.com>2020-12-10 15:59:49 +0800
committerHung-Te Lin <hungte@chromium.org>2020-12-14 03:55:37 +0000
commita18307951b8fc915cea5db9b3e95dd2add2caa8c (patch)
treed77fab0dc38601d5c8df5ccc1122be46eb350f3f /src/soc/mediatek
parentcd83bf8874b13639bbd0b9e3b1270a5771d5e5bc (diff)
downloadcoreboot-a18307951b8fc915cea5db9b3e95dd2add2caa8c.tar.xz
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 <yidi.lin@mediatek.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/48530 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Hung-Te Lin <hungte@chromium.org>
Diffstat (limited to 'src/soc/mediatek')
-rw-r--r--src/soc/mediatek/common/mtk_mipi_dphy.c (renamed from src/soc/mediatek/mt8183/dsi.c)0
-rw-r--r--src/soc/mediatek/mt8183/Makefile.inc2
2 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/mediatek/mt8183/dsi.c b/src/soc/mediatek/common/mtk_mipi_dphy.c
index fa73ddb4e6..fa73ddb4e6 100644
--- a/src/soc/mediatek/mt8183/dsi.c
+++ b/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