coreboot/src/soc/mediatek/common
Ran Bi b197808852 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>
2019-04-02 10:25:42 +00:00
..
include/soc mediatek/mt8183: Fix RTC initialization flow 2019-04-02 10:25:42 +00:00
cbmem.c
gpio.c device/mmio.h: Add include file for MMIO ops 2019-03-04 15:57:39 +00:00
memory_test.c mediatek: Refactor memory test code among similar SoCs 2018-09-06 10:29:39 +00:00
mmu_operations.c symbols.h: Add macro to define memlayout region symbols 2019-02-22 06:44:02 +00:00
mtcmos.c device/mmio.h: Add include file for MMIO ops 2019-03-04 15:57:39 +00:00
pll.c device/mmio.h: Add include file for MMIO ops 2019-03-04 15:57:39 +00:00
pmic_wrap.c device/mmio.h: Add include file for MMIO ops 2019-03-04 15:57:39 +00:00
reset.c device/mmio.h: Add include file for MMIO ops 2019-03-04 15:57:39 +00:00
rtc.c mediatek/mt8183: Fix RTC initialization flow 2019-04-02 10:25:42 +00:00
spi.c device/mmio.h: Add include file for MMIO ops 2019-03-04 15:57:39 +00:00
timer.c device/mmio.h: Add include file for MMIO ops 2019-03-04 15:57:39 +00:00
uart.c device/mmio.h: Add include file for MMIO ops 2019-03-04 15:57:39 +00:00
usb.c device/mmio.h: Add include file for MMIO ops 2019-03-04 15:57:39 +00:00
wdt.c device/mmio.h: Add include file for MMIO ops 2019-03-04 15:57:39 +00:00