diff options
author | Ran Bi <ran.bi@mediatek.com> | 2019-03-19 11:47:21 +0800 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-04-02 10:25:42 +0000 |
commit | b197808852a51243ebbcca502319b1e3e4cb4ddb (patch) | |
tree | a516fe057c6b173f685f9b869d1034fed7f2f3c6 /src/cpu/amd/smm | |
parent | 274613303e31bae9bbfdf0994ffd9bd040e38a1a (diff) |
mediatek/mt8183: Fix RTC initialization flow
1. Fix RTC lpd settings. Rewrite powerkeys after lpd init
to enable low power detect function.
2. Rearrange RTC initialization flow.
3. Add return status for rtc_init.
4. Add log if calling pwrap_write or pwrap_read fail.
5. Increase timeout time to resolve unexpected timeout.
BUG=b:127405695
BRANCH=none
TEST=Boots correctly on Kukui
Change-Id: I6f26edd6699c2f6d9af80c285b70742b44407136
Signed-off-by: Ran Bi <ran.bi@mediatek.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/31968
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
Diffstat (limited to 'src/cpu/amd/smm')
0 files changed, 0 insertions, 0 deletions