[POWERPC] todc: add support for Time-Of-Day-Clock
authorMark A. Greer <mgreer@mvista.com>
Wed, 28 Jun 2006 21:13:20 +0000 (14:13 -0700)
committerPaul Mackerras <paulus@samba.org>
Thu, 29 Jun 2006 06:22:46 +0000 (16:22 +1000)
commitc220153654ede57b41900159eb8d1f6029d85642
tree3285d535ec99aa9e96f97cec53bd88344bc6cb0e
parent16e9f994442b599987ce5dd4a5ebe50865e6573d
[POWERPC] todc: add support for Time-Of-Day-Clock

This is a resubmit with a proper subject and with all comments addressed.
Applies cleanly to powerpc.git 649e85797259162f7fdc696420e7492f20226f2d

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: Mark 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: Paul Mackerras <paulus@samba.org>
arch/powerpc/Kconfig
arch/powerpc/sysdev/Makefile
arch/powerpc/sysdev/todc.c [new file with mode: 0644]
include/asm-powerpc/todc.h [new file with mode: 0644]