diff options
author | Chien-Chih Tseng <chien-chih.tseng@mediatek.com> | 2020-12-14 14:59:39 +0800 |
---|---|---|
committer | Hung-Te Lin <hungte@chromium.org> | 2021-05-11 08:51:09 +0000 |
commit | a39ea90506ea200f3dbf2c14bea82c327a37edbc (patch) | |
tree | 324c502e5a39a6a4984354442f874747f8cdf695 /src/soc/mediatek/mt8192/soc.c | |
parent | 0250a7888d91f816310fd5bd36c86d05167a7403 (diff) |
soc/mediatek/mt8192: add apusys init flow
Setup APU mbox's functional configuration registers.
BUG=b:186369803
BRANCH=asurada
TEST=boot asurada correctly
Signed-off-by: Chien-Chih Tseng <chien-chih.tseng@mediatek.com>
Change-Id: If05a8af1a2f96598adcf70e15003e4f5dc94e337
Signed-off-by: Flora Fu <flora.fu@mediatek.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/48622
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/mediatek/mt8192/soc.c')
-rw-r--r-- | src/soc/mediatek/mt8192/soc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/soc/mediatek/mt8192/soc.c b/src/soc/mediatek/mt8192/soc.c index 883f4dc8da..70c5fa32a3 100644 --- a/src/soc/mediatek/mt8192/soc.c +++ b/src/soc/mediatek/mt8192/soc.c @@ -1,6 +1,7 @@ /* SPDX-License-Identifier: GPL-2.0-only */ #include <device/device.h> +#include <soc/apusys.h> #include <soc/devapc.h> #include <soc/emi.h> #include <soc/mcupm.h> @@ -17,6 +18,7 @@ static void soc_read_resources(struct device *dev) static void soc_init(struct device *dev) { mtk_mmu_disable_l2c_sram(); + apusys_init(); dapc_init(); mcupm_init(); sspm_init(); |