summaryrefslogtreecommitdiff
path: root/src/soc
diff options
context:
space:
mode:
authorXi Chen <xixi.chen@mediatek.corp-partner.google.com>2022-08-18 10:00:59 +0800
committerMartin Roth <martin.roth@amd.corp-partner.google.com>2022-08-31 16:42:44 +0000
commit8665d885614178abc27c56d30a42c537524cd167 (patch)
tree766ed98bcdaf4d035e94ce903d6882fcce5cb4bb /src/soc
parentec7b31353fe2bd4b7846235fd4ba56d0ceb08196 (diff)
soc/mediatek: Move dpm_4ch.c to common
MT8195 and MT8188 share the same dpm_4ch.c, so we move it to common folder. TEST=build pass BUG=b:236331724 Signed-off-by: Xi Chen <xixi.chen@mediatek.corp-partner.google.com> Change-Id: I13406707d3b331ced57af62f4ba4f365e9ac4f84 Reviewed-on: https://review.coreboot.org/c/coreboot/+/66966 Reviewed-by: Yidi Lin <yidilin@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Diffstat (limited to 'src/soc')
-rw-r--r--src/soc/mediatek/common/dpm_4ch.c (renamed from src/soc/mediatek/mt8195/dpm_4ch.c)0
-rw-r--r--src/soc/mediatek/mt8195/Makefile.inc2
2 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/mediatek/mt8195/dpm_4ch.c b/src/soc/mediatek/common/dpm_4ch.c
index f13337d8b7..f13337d8b7 100644
--- a/src/soc/mediatek/mt8195/dpm_4ch.c
+++ b/src/soc/mediatek/common/dpm_4ch.c
diff --git a/src/soc/mediatek/mt8195/Makefile.inc b/src/soc/mediatek/mt8195/Makefile.inc
index b8c36d1625..c9613bff6c 100644
--- a/src/soc/mediatek/mt8195/Makefile.inc
+++ b/src/soc/mediatek/mt8195/Makefile.inc
@@ -44,7 +44,7 @@ ramstage-y += ../common/ddp.c ddp.c
ramstage-y += devapc.c
ramstage-y += ../common/dfd.c
ramstage-y += ../common/dpm.c
-ramstage-$(CONFIG_DPM_FOUR_CHANNEL) += dpm_4ch.c
+ramstage-$(CONFIG_DPM_FOUR_CHANNEL) += ../common/dpm_4ch.c
ramstage-y += dp_intf.c dptx.c dptx_hal.c
ramstage-y += emi.c
ramstage-y += hdmi.c