summaryrefslogtreecommitdiff
path: root/src/soc/mediatek/mt8195/soc.c
diff options
context:
space:
mode:
authorFlora Fu <flora.fu@mediatek.com>2021-06-25 23:27:56 +0800
committerHung-Te Lin <hungte@chromium.org>2021-11-03 03:31:03 +0000
commit5cd1871929735f2f05b4509afaa63e1def4f8f16 (patch)
tree87772cc73911fef8dd525fa831a728dbf954b1b0 /src/soc/mediatek/mt8195/soc.c
parentb44202b29ab27b6a902ed7abb41288b6461b66aa (diff)
soc/mediatek/mt8195: add apusys init flow
Set up APU mbox's functional configuration registers. BUG=b:203145462 BRANCH=cherry TEST=boot cherry correctly Signed-off-by: Flora Fu <flora.fu@mediatek.com> Change-Id: I5053d5e1f1c2286c9dce280ff83e8b8611b573b9 Reviewed-on: https://review.coreboot.org/c/coreboot/+/58794 Reviewed-by: Yu-Ping Wu <yupingso@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/mediatek/mt8195/soc.c')
-rw-r--r--src/soc/mediatek/mt8195/soc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/soc/mediatek/mt8195/soc.c b/src/soc/mediatek/mt8195/soc.c
index 20bd226cc9..80ca3d9d11 100644
--- a/src/soc/mediatek/mt8195/soc.c
+++ b/src/soc/mediatek/mt8195/soc.c
@@ -2,6 +2,7 @@
#include <bootmem.h>
#include <device/device.h>
+#include <soc/apusys.h>
#include <soc/devapc.h>
#include <soc/dfd.h>
#include <soc/emi.h>
@@ -28,6 +29,7 @@ static void soc_init(struct device *dev)
{
mtk_mmu_disable_l2c_sram();
dapc_init();
+ apusys_init();
mcupm_init();
sspm_init();