• Zhang Bo's avatar
    MA-9554[Android_6DL_SD]RTC: Sometimes the RTC reset to the initial time 1970... · 4d9eb775
    Zhang Bo authored
    MA-9554[Android_6DL_SD]RTC: Sometimes the RTC reset to the initial time 1970 after softare reboot the first time. 40%
    
    RTC timer is default disabled after power off and bootup again. it will be
    enabled in kernel rtc driver init. But rtc time is shorter than system clock,
    so rtc time cannot update to system clock in rtc_hctosys(), and the sysfs
    file /sys/class/rtc/rtc0/hctosys cat result is 0. Android AlarmManagerService
    cannot work normally when hctosys is 0.
    Enable RTC in u-boot so the time in RTC timer is longer than system clock.
    
    Change-Id: Ie8b1c1b36e5ab48031efe44dd06468ac35ca3d3b
    Signed-off-by: 's avatarZhang Bo <bo.zhang@nxp.com>
    4d9eb775
Name
Last commit
Last update
Licenses Loading commit data...
api Loading commit data...
arch Loading commit data...
board Loading commit data...
cmd Loading commit data...
common Loading commit data...
configs Loading commit data...
disk Loading commit data...
doc Loading commit data...
drivers Loading commit data...
dts Loading commit data...
examples Loading commit data...
fs Loading commit data...
include Loading commit data...
lib Loading commit data...
net Loading commit data...
post Loading commit data...
scripts Loading commit data...
test Loading commit data...
tools Loading commit data...
.checkpatch.conf Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
.travis.yml Loading commit data...
Kbuild Loading commit data...
Kconfig Loading commit data...
MAINTAINERS Loading commit data...
Makefile Loading commit data...
README Loading commit data...
config.mk Loading commit data...
snapshot.commit Loading commit data...