m68knommu: make persistent clock code consistent with m68k
The read_persistent_clock() code is different on m68knommu, for really no reason. With a few changes to support function names and some code re-organization the code can be made the same. This will make it easier to merge the arch/m68k/kernel/time.c for m68k and m68knommu in a future patch. Signed-off-by: Greg Ungerer <gerg@uclinux.org>
This commit is contained in:
@@ -103,11 +103,6 @@ void hw_timer_init(void)
|
||||
pquicc->timer_tgcr = tgcr_save;
|
||||
}
|
||||
|
||||
void BSP_gettod (int *yearp, int *monp, int *dayp,
|
||||
int *hourp, int *minp, int *secp)
|
||||
{
|
||||
}
|
||||
|
||||
int BSP_set_clock_mmss(unsigned long nowtime)
|
||||
{
|
||||
#if 0
|
||||
@@ -181,6 +176,5 @@ void config_BSP(char *command, int len)
|
||||
scc1_hwaddr = "\00\01\02\03\04\05";
|
||||
#endif
|
||||
|
||||
mach_gettod = BSP_gettod;
|
||||
mach_reset = BSP_reset;
|
||||
mach_reset = BSP_reset;
|
||||
}
|
||||
|
Reference in New Issue
Block a user