soc/mediatek/mt8192: mt6315: revise initial setting

Remove unused boot status settings.
Reset the power-off sequence to zero to meet 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
Reviewed-on: https://review.coreboot.org/c/coreboot/+/51246
Reviewed-by: Hung-Te Lin <hungte@chromium.org>
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Hsin-Hsiung Wang 2021-03-04 12:05:57 +08:00 committed by Hung-Te Lin
parent 8579f23353
commit 8d735d2aa3
1 changed files with 4 additions and 5 deletions

View File

@ -20,11 +20,6 @@ static const struct mt6315_setting init_setting_cpu[] = {
{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 @@ static const struct mt6315_setting init_setting_cpu[] = {
{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 @@ static const struct mt6315_setting init_setting_gpu[] = {
{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},