summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorXi Chen <xixi.chen@mediatek.corp-partner.google.com>2022-08-18 11:46:18 +0800
committerMartin Roth <martin.roth@amd.corp-partner.google.com>2022-08-31 16:43:15 +0000
commitcd37368c6c8b18dc73e90dc964eb581162d5a1ed (patch)
tree6f974b4a93487e1d5f46182a1bae0fe951a68264 /src
parent8665d885614178abc27c56d30a42c537524cd167 (diff)
soc/mediatek/mt8188: Add DPM firmware files
DPM is a hardware module for DRAM power management, which is used for DRAM low power mode. TEST=build pass BUG=b:236331724 Signed-off-by: Xi Chen <xixi.chen@mediatek.corp-partner.google.com> Change-Id: I872396fe2c5accd92ba5c14b124125bd58257771 Reviewed-on: https://review.coreboot.org/c/coreboot/+/66967 Reviewed-by: Yidi Lin <yidilin@google.com> Reviewed-by: Yu-Ping Wu <yupingso@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src')
-rw-r--r--src/soc/mediatek/mt8188/Kconfig12
-rw-r--r--src/soc/mediatek/mt8188/Makefile.inc2
2 files changed, 14 insertions, 0 deletions
diff --git a/src/soc/mediatek/mt8188/Kconfig b/src/soc/mediatek/mt8188/Kconfig
index 1c733d4918..bc42fede1f 100644
--- a/src/soc/mediatek/mt8188/Kconfig
+++ b/src/soc/mediatek/mt8188/Kconfig
@@ -20,6 +20,18 @@ config VBOOT
select VBOOT_SEPARATE_VERSTAGE
select VBOOT_RETURN_FROM_VERSTAGE
+config DPM_DM_FIRMWARE
+ string
+ default "dpm.dm"
+ help
+ The file name of the MediaTek DPM DM firmware.
+
+config DPM_PM_FIRMWARE
+ string
+ default "dpm.pm"
+ help
+ The file name of the MediaTek DPM PM firmware.
+
config MCUPM_FIRMWARE
string
default "mcupm.bin"
diff --git a/src/soc/mediatek/mt8188/Makefile.inc b/src/soc/mediatek/mt8188/Makefile.inc
index c0f736dac6..6f4255204c 100644
--- a/src/soc/mediatek/mt8188/Makefile.inc
+++ b/src/soc/mediatek/mt8188/Makefile.inc
@@ -48,6 +48,8 @@ CPPFLAGS_common += -Isrc/soc/mediatek/common/include
MT8188_BLOB_DIR := 3rdparty/blobs/soc/mediatek/mt8188
mcu-firmware-files := \
+ $(CONFIG_DPM_DM_FIRMWARE) \
+ $(CONFIG_DPM_PM_FIRMWARE) \
$(CONFIG_MCUPM_FIRMWARE) \
$(CONFIG_SSPM_FIRMWARE)