mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-30 07:39:24 +00:00
fix(mt8186-emi-mpu): fix SCP permission
Hardware video decoding is not working after enabling EMI MPU protection for SCP. According to coreboot DEVAPC setting, SCP belongs to domain 4 instead of domain 3. So correct the permission setting. BUG=b:249954378 TEST=play video and see codec irq count is incrementing. Signed-off-by: Yidi Lin <yidilin@chromium.org> Change-Id: If71de3eabf8682909f96924c159aa92f25deb96c
This commit is contained in:
parent
b97b2817ac
commit
8a998b5aca
1 changed files with 2 additions and 2 deletions
|
@ -105,8 +105,8 @@ void emi_mpu_init(void)
|
||||||
SET_ACCESS_PERMISSION(region_info.apc, 1,
|
SET_ACCESS_PERMISSION(region_info.apc, 1,
|
||||||
FORBIDDEN, FORBIDDEN, FORBIDDEN, FORBIDDEN,
|
FORBIDDEN, FORBIDDEN, FORBIDDEN, FORBIDDEN,
|
||||||
FORBIDDEN, FORBIDDEN, FORBIDDEN, FORBIDDEN,
|
FORBIDDEN, FORBIDDEN, FORBIDDEN, FORBIDDEN,
|
||||||
FORBIDDEN, FORBIDDEN, FORBIDDEN, FORBIDDEN,
|
FORBIDDEN, FORBIDDEN, FORBIDDEN, NO_PROTECTION,
|
||||||
NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION);
|
FORBIDDEN, FORBIDDEN, FORBIDDEN, NO_PROTECTION);
|
||||||
emi_mpu_set_protection(®ion_info);
|
emi_mpu_set_protection(®ion_info);
|
||||||
|
|
||||||
/* DSP protect address */
|
/* DSP protect address */
|
||||||
|
|
Loading…
Add table
Reference in a new issue