genrtc.c is like mips-rtc.c we have in 2.4, except it is shared by
other arches and has more capabilities (such as emulated alarms)
This patch implements the arch-specific code for genrtc based on
MIPS's rtc_get_time() and rtc_set_time(), which are now implemented
by every MIPS board. This essentially means with this patch
every MIPS machine now has a working genrtc for free.
Of course, individual board is still free to choose the old rtc.c
or implement some peculiar ones of its own - although I can't see why. :)
Jun
mips-genrtc.patch
Description: Text document
|