]> git.sur5r.net Git - u-boot/commitdiff
m41t11: Remove unused functions
authorPeter Tyser <ptyser@xes-inc.com>
Mon, 9 Nov 2009 21:18:52 +0000 (15:18 -0600)
committerWolfgang Denk <wd@denx.de>
Wed, 2 Dec 2009 22:21:02 +0000 (23:21 +0100)
Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
drivers/rtc/m41t11.c

index e0c27e18509825ccc66e2cef5a7cb29d92a0457b..bb134875b3d92675515c79c78d50b4363469c46c 100644 (file)
@@ -181,18 +181,4 @@ void rtc_reset (void)
        val = val & 0x3F;/*turn off freq test keep calibration*/
        i2c_write(CONFIG_SYS_I2C_RTC_ADDR, RTC_CONTROL_ADDR, 1, &val, 1);
 }
-
-int rtc_store(int addr, unsigned char* data, int size)
-{
-       /*don't let things wrap onto the time on a write*/
-       if( (addr+size) >= M41T11_STORAGE_SZ )
-               return 1;
-       return i2c_write( CONFIG_SYS_I2C_RTC_ADDR, REG_CNT+addr, 1, data, size );
-}
-
-int rtc_recall(int addr, unsigned char* data, int size)
-{
-       return i2c_read( CONFIG_SYS_I2C_RTC_ADDR, REG_CNT+addr, 1, data, size );
-}
-
 #endif