]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - drivers/rtc/m48t35ax.c
Merge branch 'ext4'
[karo-tx-uboot.git] / drivers / rtc / m48t35ax.c
index 1482edd607fc3381ce4e560e12e2f86fed087075..29b36c171c0dcbb17677f8c52640dfd7067c41b1 100644 (file)
@@ -37,8 +37,6 @@
 
 static uchar rtc_read  (uchar reg);
 static void  rtc_write (uchar reg, uchar val);
-static uchar bin2bcd   (unsigned int n);
-static unsigned bcd2bin(uchar c);
 
 /* ------------------------------------------------------------------------- */
 
@@ -157,14 +155,4 @@ static void rtc_write (uchar reg, uchar val)
                ((CONFIG_SYS_NVRAM_BASE_ADDR + CONFIG_SYS_NVRAM_SIZE - 8) + reg) = val;
 }
 
-static unsigned bcd2bin (uchar n)
-{
-       return ((((n >> 4) & 0x0F) * 10) + (n & 0x0F));
-}
-
-static unsigned char bin2bcd (unsigned int n)
-{
-       return (((n / 10) << 4) | (n % 10));
-}
-
 #endif