summaryrefslogtreecommitdiffstats
path: root/firmware/drivers/rtc/rtc_mr100.c
AgeCommit message (Collapse)AuthorFilesLines
2017-01-26Move intrinsic RTC implmentation differences to driver filesMichael Sevakis1-1/+4
Some drivers set tm_wday just fine and do not need it coerced to be correct. Others set tm_yday, so don't overwrite what the driver sets; just zero it inside if it can't fill the field. Move calls to set_day_of_week() to the sorts of drivers that presumably required the hammer (FS#11814) in get_time() where the weekday isn't locked to the date. Change-Id: Idd0ded6bfc9d9f48fcc1a6074068164c42fcf24a
2009-09-26FS#10569 RTC driver cleanupNils Wallménius1-18/+36
Change the RTC drivers so that the rtc_(read|write)_datetime functions now deal directly with the tm struct instead of passing a string of bcd digits to/from (set|get)_time . This simplifies drivers for rtc's that do not use a bcd representation internally and cleans up some target specific code and #ifdefs in generic code. Implement simple stubs for the sim to avoid #ifdefing for that too. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22839 a1c6a512-1295-4272-9138-f99709370657
2008-06-28Updated our source code header to explicitly mention that we are GPL v2 orDaniel Stenberg1-2/+4
later. We still need to hunt down snippets used that are not. 1324 modified files... http://www.rockbox.org/mail/archive/rockbox-dev-archive-2008-06/0060.shtml git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17847 a1c6a512-1295-4272-9138-f99709370657
2008-02-05mrobe 100, RTC: some code simplification and include init sequence from OF ↵Robert Kukla1-15/+53
for reference git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16215 a1c6a512-1295-4272-9138-f99709370657
2008-02-03mrobe 100: real time clock (if anybody recognises the RTC chip let me know)Robert Kukla1-0/+114
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16208 a1c6a512-1295-4272-9138-f99709370657