soc/mediatek/common: Use write32p()

Change-Id: I83707071fe1801322dffad7fc89afaef5617f3c7
Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/70577
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
This commit is contained in:
Elyes Haouas 2022-12-11 10:21:59 +01:00 committed by Felix Held
parent b433470b02
commit 50f651baea
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@
static void reset_mcupm(struct mtk_mcu *mcu)
{
/* Clear abnormal boot register */
write32((void *)ABNORMALBOOT_REG, 0x0);
write32p(ABNORMALBOOT_REG, 0x0);
write32(&mcupm_reg->sw_rstn, 0x1);
}