]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
xilinx: rtc: Remove dummy rtc driver
authorMichal Simek <monstr@monstr.eu>
Mon, 24 Sep 2012 07:01:30 +0000 (09:01 +0200)
committerMichal Simek <monstr@monstr.eu>
Mon, 24 Sep 2012 15:13:28 +0000 (17:13 +0200)
Signed-off-by: Michal Simek <monstr@monstr.eu>
drivers/rtc/Makefile
drivers/rtc/xpsrtc.c [deleted file]

index 1183c16f86693d416f1f586755402356e24dbce7..8316e8f2e424e6e123aac4b24379191d98366203 100644 (file)
@@ -71,7 +71,6 @@ COBJS-$(CONFIG_RTC_RX8025) += rx8025.o
 COBJS-$(CONFIG_RTC_S3C24X0) += s3c24x0_rtc.o
 COBJS-$(CONFIG_RTC_S3C44B0) += s3c44b0_rtc.o
 COBJS-$(CONFIG_RTC_X1205) += x1205.o
-COBJS-$(CONFIG_RTC_XPSSRTC) += xpsrtc.o
 
 COBJS  := $(sort $(COBJS-y))
 SRCS   := $(COBJS:.o=.c)
diff --git a/drivers/rtc/xpsrtc.c b/drivers/rtc/xpsrtc.c
deleted file mode 100644 (file)
index 8ba153a..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * Another absolute-dummy "driver".
- */
-
-#include <rtc.h>
-
-void rtc_reset(void)
-{
-       return;
-}
-
-int rtc_get(struct rtc_time *t)
-{
-       t->tm_sec = 0;
-       t->tm_min = 0;
-       t->tm_hour = 0;
-       t->tm_mday = 0;
-       t->tm_mon = 0;
-       t->tm_year = 0;
-       t->tm_wday = 0;
-       t->tm_yday = 0;
-       t->tm_isdst = 0;
-
-       return 0;
-}
-
-int rtc_set(struct rtc_time *t)
-{
-       return 0;
-}