diff options
author | Mark A. Greer <mgreer@mvista.com> | 2006-06-28 17:13:20 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-06-29 02:22:46 -0400 |
commit | c220153654ede57b41900159eb8d1f6029d85642 (patch) | |
tree | 3285d535ec99aa9e96f97cec53bd88344bc6cb0e /arch/powerpc/Kconfig | |
parent | 16e9f994442b599987ce5dd4a5ebe50865e6573d (diff) |
[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>
Diffstat (limited to 'arch/powerpc/Kconfig')
-rw-r--r-- | arch/powerpc/Kconfig | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index 0b5e225c2d51..e898da2381aa 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig | |||
@@ -563,6 +563,13 @@ config TAU_AVERAGE | |||
563 | /proc/cpuinfo. | 563 | /proc/cpuinfo. |
564 | 564 | ||
565 | If in doubt, say N here. | 565 | If in doubt, say N here. |
566 | |||
567 | config PPC_TODC | ||
568 | depends on EMBEDDED6xx | ||
569 | bool "Generic Time-of-day Clock (TODC) support" | ||
570 | ---help--- | ||
571 | This adds support for many TODC/RTC chips. | ||
572 | |||
566 | endmenu | 573 | endmenu |
567 | 574 | ||
568 | source arch/powerpc/platforms/embedded6xx/Kconfig | 575 | source arch/powerpc/platforms/embedded6xx/Kconfig |