diff options
author | Atsushi Nemoto <anemo@mba.ocn.ne.jp> | 2007-06-22 10:22:06 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-07-10 12:33:03 -0400 |
commit | f74cf6ff99a49741b0f243996b621777b2d610d4 (patch) | |
tree | 5812f82646aadcbd451e528379548866c5ca790d /arch/mips/configs | |
parent | 3896b05418b9b8548a678231db754206b3ebe56e (diff) |
[MIPS] rbtx4938: Convert SPI codes to use generic SPI drivers
Use rtc-rs5c348 and at25 spi protocol driver and spi_txx9 spi
controller driver instead of platform dependent codes.
This patch also removes dependencies to old RTC interfaces such as
rtc_mips_get_time, etc.
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/configs')
-rw-r--r-- | arch/mips/configs/rbhma4500_defconfig | 54 |
1 files changed, 51 insertions, 3 deletions
diff --git a/arch/mips/configs/rbhma4500_defconfig b/arch/mips/configs/rbhma4500_defconfig index 6e10c15cecf7..6b9bebacb541 100644 --- a/arch/mips/configs/rbhma4500_defconfig +++ b/arch/mips/configs/rbhma4500_defconfig | |||
@@ -966,8 +966,20 @@ CONFIG_LEGACY_PTY_COUNT=256 | |||
966 | # | 966 | # |
967 | # SPI support | 967 | # SPI support |
968 | # | 968 | # |
969 | # CONFIG_SPI is not set | 969 | CONFIG_SPI=y |
970 | # CONFIG_SPI_MASTER is not set | 970 | CONFIG_SPI_MASTER=y |
971 | |||
972 | # | ||
973 | # SPI Master Controller Drivers | ||
974 | # | ||
975 | # CONFIG_SPI_BITBANG is not set | ||
976 | CONFIG_SPI_TXX9=y | ||
977 | |||
978 | # | ||
979 | # SPI Protocol Masters | ||
980 | # | ||
981 | CONFIG_SPI_AT25=y | ||
982 | # CONFIG_SPI_SPIDEV is not set | ||
971 | 983 | ||
972 | # | 984 | # |
973 | # Dallas's 1-wire bus | 985 | # Dallas's 1-wire bus |
@@ -1207,7 +1219,43 @@ CONFIG_USB_MON=y | |||
1207 | # | 1219 | # |
1208 | # Real Time Clock | 1220 | # Real Time Clock |
1209 | # | 1221 | # |
1210 | # CONFIG_RTC_CLASS is not set | 1222 | CONFIG_RTC_LIB=y |
1223 | CONFIG_RTC_CLASS=y | ||
1224 | CONFIG_RTC_HCTOSYS=y | ||
1225 | CONFIG_RTC_HCTOSYS_DEVICE="rtc0" | ||
1226 | # CONFIG_RTC_DEBUG is not set | ||
1227 | |||
1228 | # | ||
1229 | # RTC interfaces | ||
1230 | # | ||
1231 | CONFIG_RTC_INTF_SYSFS=y | ||
1232 | CONFIG_RTC_INTF_PROC=y | ||
1233 | CONFIG_RTC_INTF_DEV=y | ||
1234 | CONFIG_RTC_INTF_DEV_UIE_EMUL=y | ||
1235 | # CONFIG_RTC_DRV_TEST is not set | ||
1236 | |||
1237 | # | ||
1238 | # I2C RTC drivers | ||
1239 | # | ||
1240 | |||
1241 | # | ||
1242 | # SPI RTC drivers | ||
1243 | # | ||
1244 | CONFIG_RTC_DRV_RS5C348=y | ||
1245 | # CONFIG_RTC_DRV_MAX6902 is not set | ||
1246 | |||
1247 | # | ||
1248 | # Platform RTC drivers | ||
1249 | # | ||
1250 | # CONFIG_RTC_DRV_CMOS is not set | ||
1251 | # CONFIG_RTC_DRV_DS1553 is not set | ||
1252 | # CONFIG_RTC_DRV_DS1742 is not set | ||
1253 | # CONFIG_RTC_DRV_M48T86 is not set | ||
1254 | # CONFIG_RTC_DRV_V3020 is not set | ||
1255 | |||
1256 | # | ||
1257 | # on-CPU RTC drivers | ||
1258 | # | ||
1211 | 1259 | ||
1212 | # | 1260 | # |
1213 | # DMA Engine support | 1261 | # DMA Engine support |