diff options
author | Tiejun Chen <tiejun.chen@windriver.com> | 2008-11-25 03:33:20 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2008-12-04 12:47:27 -0500 |
commit | 192cc7f0900a088e464635a59a63d974ee7a3e97 (patch) | |
tree | 18b8c7f2104f18314e82f6cc186a7f68c7375bba /arch/mips/configs | |
parent | e807f9574e37a3f202e677feaaad1b7c5d2c0db8 (diff) |
MIPS: Malta: Add back RTC support
With the conversion of MIPS to RTC_LIB the old RTC driver CONFIG_RTC became
unselectable. Fix by setting up a platform device. Also enable
RTC_CLASS so system time gets set from RTC on kernel initialization.
[Ralf: Original patch by Tiejun; polished nice and shiny by me]
Signed-off-by: Tiejun Chen <tiejun.chen@windriver.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/configs')
-rw-r--r-- | arch/mips/configs/malta_defconfig | 39 |
1 files changed, 37 insertions, 2 deletions
diff --git a/arch/mips/configs/malta_defconfig b/arch/mips/configs/malta_defconfig index 74daa0cf87e6..a69956573d17 100644 --- a/arch/mips/configs/malta_defconfig +++ b/arch/mips/configs/malta_defconfig | |||
@@ -1126,7 +1126,6 @@ CONFIG_LEGACY_PTY_COUNT=256 | |||
1126 | # CONFIG_IPMI_HANDLER is not set | 1126 | # CONFIG_IPMI_HANDLER is not set |
1127 | # CONFIG_WATCHDOG is not set | 1127 | # CONFIG_WATCHDOG is not set |
1128 | CONFIG_HW_RANDOM=m | 1128 | CONFIG_HW_RANDOM=m |
1129 | CONFIG_RTC=y | ||
1130 | # CONFIG_R3964 is not set | 1129 | # CONFIG_R3964 is not set |
1131 | # CONFIG_APPLICOM is not set | 1130 | # CONFIG_APPLICOM is not set |
1132 | # CONFIG_DRM is not set | 1131 | # CONFIG_DRM is not set |
@@ -1199,7 +1198,43 @@ CONFIG_USB_ARCH_HAS_EHCI=y | |||
1199 | # CONFIG_MMC is not set | 1198 | # CONFIG_MMC is not set |
1200 | # CONFIG_NEW_LEDS is not set | 1199 | # CONFIG_NEW_LEDS is not set |
1201 | # CONFIG_INFINIBAND is not set | 1200 | # CONFIG_INFINIBAND is not set |
1202 | # CONFIG_RTC_CLASS is not set | 1201 | CONFIG_RTC_LIB=y |
1202 | CONFIG_RTC_CLASS=y | ||
1203 | CONFIG_RTC_HCTOSYS=y | ||
1204 | CONFIG_RTC_HCTOSYS_DEVICE="rtc0" | ||
1205 | # CONFIG_RTC_DEBUG is not set | ||
1206 | |||
1207 | # | ||
1208 | # RTC interfaces | ||
1209 | # | ||
1210 | CONFIG_RTC_INTF_SYSFS=y | ||
1211 | CONFIG_RTC_INTF_PROC=y | ||
1212 | CONFIG_RTC_INTF_DEV=y | ||
1213 | # CONFIG_RTC_INTF_DEV_UIE_EMUL is not set | ||
1214 | # CONFIG_RTC_DRV_TEST is not set | ||
1215 | |||
1216 | # | ||
1217 | # SPI RTC drivers | ||
1218 | # | ||
1219 | |||
1220 | # | ||
1221 | # Platform RTC drivers | ||
1222 | # | ||
1223 | CONFIG_RTC_DRV_CMOS=y | ||
1224 | # CONFIG_RTC_DRV_DS1286 is not set | ||
1225 | # CONFIG_RTC_DRV_DS1511 is not set | ||
1226 | # CONFIG_RTC_DRV_DS1553 is not set | ||
1227 | # CONFIG_RTC_DRV_DS1742 is not set | ||
1228 | # CONFIG_RTC_DRV_STK17TA8 is not set | ||
1229 | # CONFIG_RTC_DRV_M48T86 is not set | ||
1230 | # CONFIG_RTC_DRV_M48T35 is not set | ||
1231 | # CONFIG_RTC_DRV_M48T59 is not set | ||
1232 | # CONFIG_RTC_DRV_BQ4802 is not set | ||
1233 | # CONFIG_RTC_DRV_V3020 is not set | ||
1234 | |||
1235 | # | ||
1236 | # on-CPU RTC drivers | ||
1237 | # | ||
1203 | 1238 | ||
1204 | # | 1239 | # |
1205 | # DMA Engine support | 1240 | # DMA Engine support |