diff options
author | Jesper Nilsson <jesper.nilsson@axis.com> | 2008-01-21 05:05:40 -0500 |
---|---|---|
committer | Jesper Nilsson <jesper.nilsson@axis.com> | 2008-02-08 05:06:30 -0500 |
commit | c3d6ddddb01e239c7176a561c499999636ab4f61 (patch) | |
tree | 89e58c31d7852fd195b099df6211e399759aeeb6 /arch/cris/Kconfig | |
parent | 5062969d77fed23b8ffc1a4124e96e991adaf52c (diff) |
CRIS: Move common Kconfig variable ETRAX_RTC to arch independet Kconfig.
Diffstat (limited to 'arch/cris/Kconfig')
-rw-r--r-- | arch/cris/Kconfig | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/cris/Kconfig b/arch/cris/Kconfig index dfddd33c9213..4a27ef374203 100644 --- a/arch/cris/Kconfig +++ b/arch/cris/Kconfig | |||
@@ -259,6 +259,18 @@ menu "Drivers for built-in interfaces" | |||
259 | source arch/cris/arch-v10/drivers/Kconfig | 259 | source arch/cris/arch-v10/drivers/Kconfig |
260 | source arch/cris/arch-v32/drivers/Kconfig | 260 | source arch/cris/arch-v32/drivers/Kconfig |
261 | 261 | ||
262 | config ETRAX_RTC | ||
263 | bool "Real Time Clock support" | ||
264 | depends on ETRAX_I2C | ||
265 | help | ||
266 | Enables drivers for the Real-Time Clock battery-backed chips on | ||
267 | some products. The kernel reads the time when booting, and | ||
268 | the date can be set using ioctl(fd, RTC_SET_TIME, &rt) with rt a | ||
269 | rtc_time struct (see <file:include/asm-cris/rtc.h>) on the /dev/rtc | ||
270 | device. You can check the time with cat /proc/rtc, but | ||
271 | normal time reading should be done using libc function time and | ||
272 | friends. | ||
273 | |||
262 | choice | 274 | choice |
263 | prompt "RTC chip" | 275 | prompt "RTC chip" |
264 | depends on ETRAX_RTC | 276 | depends on ETRAX_RTC |