aboutsummaryrefslogtreecommitdiff
path: root/src/soc/mediatek/mt8195/Makefile.inc
diff options
context:
space:
mode:
authorBo-Chen Chen <rex-bc.chen@mediatek.com>2022-09-29 14:13:51 +0800
committerYu-Ping Wu <yupingso@google.com>2022-10-25 08:27:31 +0000
commit319fce53c83f78834986ebdfc3fd33b2f60a3ffa (patch)
tree9c6fa38a2cc3b21ce8707ceb277a45f57188ca70 /src/soc/mediatek/mt8195/Makefile.inc
parent193e86b814d5fccffcde9870fc245ace9b12d702 (diff)
soc/mediatek: Move DP drivers to common
DP drivers can be shared for both MT8195 and MT8188, so move them to common folder. BUG=b:244208960 TEST=emerge-cherry coreboot. Signed-off-by: Bo-Chen Chen <rex-bc.chen@mediatek.com> Change-Id: Ic80c03aa6b13e6c9c39fd63b5c1c1cbdbe93a7c4 Reviewed-on: https://review.coreboot.org/c/coreboot/+/68484 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Yidi Lin <yidilin@google.com> Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Diffstat (limited to 'src/soc/mediatek/mt8195/Makefile.inc')
-rw-r--r--src/soc/mediatek/mt8195/Makefile.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/soc/mediatek/mt8195/Makefile.inc b/src/soc/mediatek/mt8195/Makefile.inc
index 2d50506ba4..f8b3510c11 100644
--- a/src/soc/mediatek/mt8195/Makefile.inc
+++ b/src/soc/mediatek/mt8195/Makefile.inc
@@ -46,7 +46,7 @@ ramstage-y += ../common/devapc.c devapc.c
ramstage-y += ../common/dfd.c
ramstage-y += ../common/dpm.c
ramstage-$(CONFIG_DPM_FOUR_CHANNEL) += ../common/dpm_4ch.c
-ramstage-y += dp_intf.c dptx.c dptx_hal.c
+ramstage-y += ../common/dp/dp_intf.c ../common/dp/dptx.c ../common/dp/dptx_hal.c
ramstage-y += emi.c
ramstage-y += hdmi.c
ramstage-y += ../common/mcu.c
@@ -66,6 +66,7 @@ ramstage-y += ../common/ufs.c
ramstage-y += ../common/usb.c usb.c
CPPFLAGS_common += -Isrc/soc/mediatek/mt8195/include
+CPPFLAGS_common += -Isrc/soc/mediatek/common/dp/include
CPPFLAGS_common += -Isrc/soc/mediatek/common/include
CPPFLAGS_common += -Isrc/vendorcode/mediatek/mt8195/include