summaryrefslogtreecommitdiffstats
path: root/sys/arm/at91/at91_rtc.c
Commit message (Collapse)AuthorAgeFilesLines
* Loop reading the RTC registers until the same values are obtainedimp2012-10-071-3/+14
| | | | | | twice, as advised in the atmel docs. Submitted by: Ian Lapore
* Improve a few comments.imp2012-10-071-6/+11
|
* Use the RTC unit to get the time. This works on all known AT91SAM9*imp2012-10-071-23/+115
| | | | | | | | | processors, either on reboot or after power down with battery backup. However, the AT91RM9200 RTC always resets on reboot making it just about useless at the moment (if we support a low-power mode or an extended sleep mode, it might become useful). Submitted by: Ian Lepore
* Remove pointless semicolons after labelkevlo2011-09-301-1/+1
|
* Tweak the disclaimer section of the license to match COPYRIGHT, forimp2008-11-251-10/+11
| | | | | better or worse. Ok'd by folks that have additional copyrights to the files in cases where there's joint authorship.
* Correct return code (int) for at91_rtc_intr() prototype.piso2007-02-271-1/+1
| | | | Approved by: cognet
* o break newbus api: add a new argument of type driver_filter_t topiso2007-02-231-4/+4
| | | | | | | | | | | | | bus_setup_intr() o add an int return code to all fast handlers o retire INTR_FAST/IH_FAST For more info: http://docs.freebsd.org/cgi/getmsg.cgi?fetch=465712+0+current/freebsd-current Reviewed by: many Approved by: re@
* Implement the set_time function. Rather pointless with this RTC, as itimp2006-07-141-3/+8
| | | | resets when the core resets, but there may be some use for it...
* Add RTC support. This may be of dubious value since the RTC is resetimp2006-03-241-0/+250
to 1998 every reboot.
OpenPOWER on IntegriCloud