s5j/rtc: use XRTCXTO as a source clock of RTC
authorHeesub Shin <heesub.shin@samsung.com>
Wed, 17 May 2017 08:03:47 +0000 (17:03 +0900)
committerHeesub Shin <heesub.shin@samsung.com>
Tue, 23 May 2017 12:40:04 +0000 (21:40 +0900)
commitf092a18547da5890232e7b3ec8174412c92249c5
treee80646d785a4d8111f4f447c37ead3159ac6dac9
parent656be25ce97cbf1875701a3546cb3fcc865dacc9
s5j/rtc: use XRTCXTO as a source clock of RTC

OSC_CON[16] should be set to 1 in order to use the external crystal as a
source clock of RTC. Otherwise, Fout clock from the internal ring OSC
which has quite large error margin is provided to RTC, causing the
system time to go slowly.

Change-Id: If01563b8bd33534ff517d1c3519039e3a000c22f
Signed-off-by: Heesub Shin <heesub.shin@samsung.com>
os/arch/arm/src/s5j/s5j_timerisr.c