Attention is currently required from: Hung-Te Lin. hsin-hsiung wang has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/51246 )
Change subject: soc/mediatek/mt8192: mt6315: update initial setting ......................................................................
soc/mediatek/mt8192: mt6315: update initial setting
According to current flow, we don't check the boot reason of mt6315, so removing the unused setting about boot status. Reset power-off sequence to zero to make sure it meets hardware requirement.
BUG=b:179000151 BRANCH=none TEST=boot asurada correctly
Signed-off-by: Hsin-Hsiung Wang hsin-hsiung.wang@mediatek.com Change-Id: Ie9d39be532ec378bd6df6bf1b93307dae4068fc6 --- M src/soc/mediatek/mt8192/mt6315.c 1 file changed, 4 insertions(+), 5 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/46/51246/1
diff --git a/src/soc/mediatek/mt8192/mt6315.c b/src/soc/mediatek/mt8192/mt6315.c index 7f9b770..4f3e54c 100644 --- a/src/soc/mediatek/mt8192/mt6315.c +++ b/src/soc/mediatek/mt8192/mt6315.c @@ -20,11 +20,6 @@ {0x1417, 0x43, 0xFF, 0}, {0x3A2, 0x2A, 0xFF, 0}, {0x3A1, 0x7C, 0xFF, 0}, - /* clear boot status */ - {0x12A, 0x3, 0xFF, 0}, - {0xD, 1, 0x1, 0}, - {0xD, 0, 0x1, 0}, - {0x1416, 0xF, 0xF, 0}, /* init setting */ {0x13, 0x2, 0x2, 0}, {0x15, 0x1F, 0x1F, 0}, @@ -90,6 +85,8 @@ {0x16AC, 0xD7, 0xFF, 0}, {0x16AD, 0x81, 0xFF, 0}, {0x16AE, 0x13, 0x3F, 0}, + /* reset sequence off to zero */ + {0x139, 0, 0x1, 0}, /* enable magic key protection */ {0x3A1, 0, 0xFF, 0}, {0x3A2, 0, 0xFF, 0}, @@ -182,6 +179,8 @@ {0x16AE, 0x13, 0x3F, 0}, /* Don't remove this! it's MT6315 for GPU only to disable VBUCK3 */ {0x1440, 0x0, 0x4, 0}, + /* reset sequence off to zero */ + {0x139, 0, 0x1, 0}, /* enable magic key protection */ {0x3A1, 0, 0xFF, 0}, {0x3A2, 0, 0xFF, 0},