mediatek/mt8183: Set CPU frequency to 1417MHz
commitd95425c51a6cd11a9a22d007afb66ef841359e96
authorTristan Shieh <tristan.shieh@mediatek.com>
Fri, 26 Apr 2019 03:36:13 +0000 (26 11:36 +0800)
committerPatrick Georgi <pgeorgi@google.com>
Mon, 29 Apr 2019 12:26:02 +0000 (29 12:26 +0000)
treed0cc7462152c10a989d56647af3013390ac0f1f8
parent4114aa8375f152312e9f43260124092f031680a9
mediatek/mt8183: Set CPU frequency to 1417MHz

With the default CPU voltage (0.8v), CPU frequency should be 1417Mhz at
most. We have to raise CPU frequency to 1989MHz after increasing CPU
voltage to 1.05v in romstage.

BUG=b:80501386
BRANCH=none
Test=Boots correctly on Kukui

Change-Id: I4c3e0fa27ccda8e0efe422b6ab503a1efb1697e9
Signed-off-by: Tristan Shieh <tristan.shieh@mediatek.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/32464
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Hung-Te Lin <hungte@chromium.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
src/soc/mediatek/mt8183/include/soc/pll.h