Dear Priyanka Jain, In message <[email protected]> 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: [email protected] Being schizophrenic is better than living alone. _______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

