soc/mediatek/mt8186: Enable the protection of DEVAPC
Enable the protection for DEVAPC registers of AO domain. TEST=build pass. BUG=b:244250435 Signed-off-by: Runyang Chen <runyang.chen@mediatek.corp-partner.google.com> Change-Id: I8535438d4c7da29c9dcd97be9a2af05ea4690064 Reviewed-on: https://review.coreboot.org/c/coreboot/+/67434 Reviewed-by: Yidi Lin <yidilin@google.com> Reviewed-by: Yu-Ping Wu <yupingso@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
23a6d6c7e7
commit
2b1fdb034a
|
@ -1300,6 +1300,7 @@ void dapc_init(void)
|
||||||
|
|
||||||
/* Init dapc */
|
/* Init dapc */
|
||||||
write32(getreg(devapc_ao_base, AO_APC_CON), 0x0);
|
write32(getreg(devapc_ao_base, AO_APC_CON), 0x0);
|
||||||
|
write32(getreg(devapc_ao_base, AO_APC_CON), 0x1);
|
||||||
|
|
||||||
/* Initialization */
|
/* Initialization */
|
||||||
if (devapc_init[i].init)
|
if (devapc_init[i].init)
|
||||||
|
|
Loading…
Reference in New Issue