soc/mediatek/mt8192: mt6315: update correct slave id
The initial settings for MT6315 were not applied correctly because the setup process didn't specify correct slave id (incorrectly always sending 0), and may cause failure in power off sequence. BUG=b:179000151 BRANCH=none TEST=boot asurada correctly Signed-off-by: Hsin-Hsiung Wang <hsin-hsiung.wang@mediatek.com> Change-Id: Ifd04da8ac55bcc9f9fdbc088d430522c2725ad47 Reviewed-on: https://review.coreboot.org/c/coreboot/+/51056 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Hung-Te Lin <hungte@chromium.org>
This commit is contained in:
parent
bac0f26e08
commit
670cd9719e
|
@ -207,7 +207,7 @@ static void mt6315_write(u32 slvid, u32 reg, u32 data)
|
|||
|
||||
static void mt6315_write_field(u32 slvid, u32 reg, u32 val, u32 mask, u32 shift)
|
||||
{
|
||||
pmif_arb->write_field(pmif_arb, 0, reg, val, mask, shift);
|
||||
pmif_arb->write_field(pmif_arb, slvid, reg, val, mask, shift);
|
||||
}
|
||||
|
||||
static void mt6315_wdt_enable(u32 slvid)
|
||||
|
|
Loading…
Reference in New Issue