fb49bf09694439102959fbce896404ab819bdf99 |
|
10-Feb-2015 |
Rob Landley <rob@landley.net> |
One more cleanup pass on hwclock factoring out common code.
/external/toybox/toys/pending/hwclock.c
|
2c9b0e3009cf76e9d7fca772945711675678d181 |
|
10-Feb-2015 |
Rob Landley <rob@landley.net> |
Inline rtc_open() and get_rtc_seconds(), perform resulting cleanups.
/external/toybox/toys/pending/hwclock.c
|
c277f347bba2417106b32212d9d40aceb4a88fb5 |
|
09-Feb-2015 |
Rob Landley <rob@landley.net> |
Cleanup/refactoring pass on hwclock. Inline open_wall_clock_rtc() into rtc_open(), factor out xtzset(), inline set_sysclock_from_hwclock(), set_hwclock_from_sysclock(), and set_sysclock_timezone(). /etc/adjtime is short enough we don't need to bother with a break. The final "else" case in main() should always trigger because >0 in optstr says "at most zero arguments", so the || at the end is always true, so take the test off.
/external/toybox/toys/pending/hwclock.c
|
ef0546d4f536f42a57af4c32bd37f7fd752d10c2 |
|
20-Jan-2015 |
Elliott Hughes <enh@google.com> |
fix hwclock's rtc selection For systems using /dev/rtcN, /dev/rtc0 isn't necessarily the RTC that's used to provide the system time at boot time. We need to search for the RTC whose /sys/class/rtc/rtcN/hctosys contains "1".
/external/toybox/toys/pending/hwclock.c
|
72f8a5f7fedeb81c99044d3443872ae91b5ecfec |
|
11-Nov-2014 |
Rob Landley <rob@landley.net> |
First cleanup pass on hwclock.
/external/toybox/toys/pending/hwclock.c
|
4483eaadba149a5286a26a292f72631793b4826a |
|
10-Nov-2014 |
Ashwini Sharma <ak.ashwini1981@gmail.com> |
hwclock: get and set the hwclock
/external/toybox/toys/pending/hwclock.c
|