diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/soc/mediatek/mt8188/soc.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/soc/mediatek/mt8188/soc.c b/src/soc/mediatek/mt8188/soc.c index 5b2431bc25..dc04e29faa 100644 --- a/src/soc/mediatek/mt8188/soc.c +++ b/src/soc/mediatek/mt8188/soc.c @@ -1,8 +1,10 @@ /* SPDX-License-Identifier: GPL-2.0-only OR MIT */ #include <bootmem.h> +#include <console/console.h> #include <device/device.h> #include <soc/dfd.h> +#include <soc/dpm.h> #include <soc/emi.h> #include <soc/mcupm.h> #include <soc/mmu_operations.h> @@ -26,6 +28,9 @@ static void soc_init(struct device *dev) mcupm_init(); sspm_init(); + if (dpm_init()) + printk(BIOS_ERR, "dpm init failed, DVFS may not work\n"); + if (CONFIG(MTK_DFD)) dfd_init(); } |