• M
    [POWERPC] todc: add support for Time-Of-Day-Clock · c2201536
    Mark A. Greer 提交于
    This is a resubmit with a proper subject and with all comments addressed.
    Applies cleanly to powerpc.git 649e8579
    
    Mark
    --
    
    The todc code from arch/ppc supports many todc/rtc chips and is needed
    in arch/powerpc.  This patch adds the todc code to arch/powerpc.
    Signed-off-by: NMark A. Greer <mgreer@mvista.com>
    --
    
     arch/powerpc/Kconfig         |    7
     arch/powerpc/sysdev/Makefile |    1
     arch/powerpc/sysdev/todc.c   |  392 ++++++++++++++++++++++++++++++++++
     include/asm-powerpc/todc.h   |  487 +++++++++++++++++++++++++++++++++++++++++++
     4 files changed, 887 insertions(+)
    --
    Signed-off-by: NPaul Mackerras <paulus@samba.org>
    c2201536
todc.h 19.3 KB