]> git.baikalelectronics.ru Git - arm-tf.git/commit
fix(plat/mediatek/mt8186): extend MMU region size
authorRex-BC Chen <rex-bc.chen@mediatek.corp-partner.google.com>
Tue, 9 Nov 2021 05:12:03 +0000 (13:12 +0800)
committerRex-BC Chen <rex-bc.chen@mediatek.corp-partner.google.com>
Wed, 22 Dec 2021 10:06:53 +0000 (18:06 +0800)
commit0fe7ae9c64aa6f6d5b06a80de9c88081057d5dbe
treef65677e31d7efd8166529e8a9890c5997dc6844d
parent95ea87ffc2445c77f070e6a2f78ffa424810faed
fix(plat/mediatek/mt8186): extend MMU region size

In mt8186 suspend/resume flow, ATF has to communicate with a subsys by
read/write the subsys registers. However, the register region of subsys
doesn't include in the MMU mapping region. It triggers MMU faults.

This patch extends the MMU region 0 size to cover all mt8186 HW modules.
This patch also remove MMU region 1 because region 0 covers region 1.

TEST=build pass
BUG=b:202871018

Signed-off-by: Rex-BC Chen <rex-bc.chen@mediatek.com>
Change-Id: I520c51338578bd68756cd02603ce6783f93daf51
plat/mediatek/mt8186/aarch64/platform_common.c
plat/mediatek/mt8186/include/platform_def.h