
20 Oct
2010
20 Oct
'10
10:07 p.m.
Dear Priyanka Jain,
In message 1287568387-1823-1-git-send-email-Priyanka.Jain@freescale.com you wrote:
- if (ctl_stat & RTC_CTL_STAT_BIT_OSF) {
printf("### Warning: RTC oscillator has stopped\n");
/* clear the OSF flag */
rtc_write(RTC_CTL_STAT_REG_ADDR,
rtc_read(RTC_CTL_STAT_REG_ADDR)\
& ~RTC_CTL_STAT_BIT_OSF);
ret = -1;
- }
- if (sec & RTC_SEC_BIT_CH) {
printf("### Warning: RTC oscillator has stopped\n");
/* clear the CH flag */
rtc_write(RTC_SEC_REG_ADDR,
rtc_read(RTC_SEC_REG_ADDR) & ~RTC_SEC_BIT_CH);
ret = -1;
- }
My questions to v0 still apply...
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
Being schizophrenic is better than living alone.