summaryrefslogtreecommitdiff
path: root/firmware/drivers/rtc/rtc_d2.c (follow)
Commit message (Collapse)AuthorAge
* Move intrinsic RTC implmentation differences to driver filesMichael Sevakis2017-01-26
| | | | | | | | | | | 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
* cowond2's power-target.h -> rename in pmu-target.hRafaël Carré2012-01-07
| | | | | | other targets (ipod nano2g / classic) use that name for pmu git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31618 a1c6a512-1295-4272-9138-f99709370657
* Replace a couple of magic numbers with the appropriate constants.Rob Purchase2009-10-12
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23138 a1c6a512-1295-4272-9138-f99709370657
* D2: The RTC chip needs to be runtime detected.Rob Purchase2009-10-11
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23112 a1c6a512-1295-4272-9138-f99709370657