Skip to contentSkip to conversation

CRIS: Remove last traces of legacy RTC drivers

PATCH In review Paul Bolle 2 participants 2 messages Mar 20, 2013 – Apr 15, 2013

lore
Share & tools
lore

Paul Bolle

author
#0 lore raw

PATCH 1/1 CRIS: Remove last traces of legacy RTC drivers

These legacy drivers were removed in commit 9c75fc8c5c8c50775fc8b89418219221335b758f ("CRIS: Remove legacy RTC drivers"). Now remove their last traces in two Kconfig files and one Makefile.

---
Eyeball tested only.

 arch/cris/Kconfig                   | 32 -------------------------
 arch/cris/arch-v10/drivers/Kconfig  | 47 -------------------------------------
 arch/cris/arch-v10/drivers/Makefile |  2 --
 3 files changed, 81 deletions(-)
arch/cris/Kconfig +0 -32
index 06dd026..b02ca1b 100644
@@ -271,38 +271,6 @@ config ETRAX_AXISFLASHMAP
 	  This option enables MTD mapping of flash devices.  Needed to use
 	  flash memories.  If unsure, say Y.
 
-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:arch/cris/include/asm/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
-	default ETRAX_DS1302
-
-config ETRAX_DS1302
-	depends on ETRAX_ARCH_V10
-	bool "DS1302"
-	help
-	  Enables the driver for the DS1302 Real-Time Clock battery-backed
-	  chip on some products.
-
-config ETRAX_PCF8563
-	bool "PCF8563"
-	help
-	  Enables the driver for the PCF8563 Real-Time Clock battery-backed
-	  chip on some products.
-
-endchoice
-
 config ETRAX_SYNCHRONOUS_SERIAL
 	bool "Synchronous serial-port support"
 	help
arch/cris/arch-v10/drivers/Kconfig +0 -47

51 lines not on this page · raw message

arch/cris/arch-v10/drivers/Makefile +0 -2
index 44bf2e8..e5c1318 100644
@@ -6,7 +6,5 @@ obj-$(CONFIG_ETRAX_AXISFLASHMAP)	+= axisflashmap.o
 obj-$(CONFIG_ETRAX_I2C)			+= i2c.o
 obj-$(CONFIG_ETRAX_I2C_EEPROM)		+= eeprom.o
 obj-$(CONFIG_ETRAX_GPIO)		+= gpio.o
-obj-$(CONFIG_ETRAX_DS1302)		+= ds1302.o
-obj-$(CONFIG_ETRAX_PCF8563)		+= pcf8563.o
 obj-$(CONFIG_ETRAX_SYNCHRONOUS_SERIAL)	+= sync_serial.o
 
Signature · 1 line
1.7.11.7
#1 lore raw
Quoted 6 lines · Paul Bolle

These legacy drivers were removed in commit 9c75fc8c5c8c50775fc8b89418219221335b758f ("CRIS: Remove legacy RTC drivers"). Now remove their last traces in two Kconfig files and one Makefile.

Thanks, taken into the CRIS-tree.

(And again sorry for the late response)

/^JN - Jesper Nilsson

Signature · 1 line
               Jesper Nilsson -- [email protected]