aboutsummaryrefslogtreecommitdiffstats
path: root/arch/cris/Kconfig
diff options
context:
space:
mode:
authorJesper Nilsson <jesper.nilsson@axis.com>2008-01-21 11:05:40 +0100
committerJesper Nilsson <jesper.nilsson@axis.com>2008-02-08 11:06:30 +0100
commitc3d6ddddb01e239c7176a561c499999636ab4f61 (patch)
tree89e58c31d7852fd195b099df6211e399759aeeb6 /arch/cris/Kconfig
parent5062969d77fed23b8ffc1a4124e96e991adaf52c (diff)
downloadkernel_samsung_smdk4412-c3d6ddddb01e239c7176a561c499999636ab4f61.zip
kernel_samsung_smdk4412-c3d6ddddb01e239c7176a561c499999636ab4f61.tar.gz
kernel_samsung_smdk4412-c3d6ddddb01e239c7176a561c499999636ab4f61.tar.bz2
CRIS: Move common Kconfig variable ETRAX_RTC to arch independet Kconfig.
Diffstat (limited to 'arch/cris/Kconfig')
-rw-r--r--arch/cris/Kconfig12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/cris/Kconfig b/arch/cris/Kconfig
index dfddd33..4a27ef3 100644
--- a/arch/cris/Kconfig
+++ b/arch/cris/Kconfig
@@ -259,6 +259,18 @@ menu "Drivers for built-in interfaces"
source arch/cris/arch-v10/drivers/Kconfig
source arch/cris/arch-v32/drivers/Kconfig
+config ETRAX_RTC
+ bool "Real Time Clock support"
+ depends on ETRAX_I2C
+ help
+ Enables drivers for the Real-Time Clock battery-backed chips on
+ some products. The kernel reads the time when booting, and
+ the date can be set using ioctl(fd, RTC_SET_TIME, &rt) with rt a
+ rtc_time struct (see <file:include/asm-cris/rtc.h>) on the /dev/rtc
+ device. You can check the time with cat /proc/rtc, but
+ normal time reading should be done using libc function time and
+ friends.
+
choice
prompt "RTC chip"
depends on ETRAX_RTC