diff options
author | Hsin-Hsiung Wang <hsin-hsiung.wang@mediatek.com> | 2021-03-04 12:05:57 +0800 |
---|---|---|
committer | Hung-Te Lin <hungte@chromium.org> | 2021-03-10 01:29:14 +0000 |
commit | 8d735d2aa34655fa49c86b3df3ae9c478315ca61 (patch) | |
tree | 375dde082d3f3b07058ac10122ef73d4efc1401d | |
parent | 8579f23353b8de8e2322ed8ed196455ebabf5a69 (diff) |
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>
-rw-r--r-- | src/soc/mediatek/mt8192/mt6315.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/soc/mediatek/mt8192/mt6315.c b/src/soc/mediatek/mt8192/mt6315.c index 7f9b770197..4f3e54c966 100644 --- a/src/soc/mediatek/mt8192/mt6315.c +++ b/src/soc/mediatek/mt8192/mt6315.c @@ -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}, |