r2872 - trunk/src/target/u-boot/patches

laforge at sita.openmoko.org laforge at sita.openmoko.org
Fri Aug 31 13:10:08 CEST 2007


Author: laforge
Date: 2007-08-31 13:10:05 +0200 (Fri, 31 Aug 2007)
New Revision: 2872

Modified:
   trunk/src/target/u-boot/patches/uboot-20061030-neo1973.patch
Log:
Fix RTC write operation (Willie Chen)


Modified: trunk/src/target/u-boot/patches/uboot-20061030-neo1973.patch
===================================================================
--- trunk/src/target/u-boot/patches/uboot-20061030-neo1973.patch	2007-08-31 11:09:14 UTC (rev 2871)
+++ trunk/src/target/u-boot/patches/uboot-20061030-neo1973.patch	2007-08-31 11:10:05 UTC (rev 2872)
@@ -8,7 +8,7 @@
 ===================================================================
 --- u-boot.orig/Makefile
 +++ u-boot/Makefile
-@@ -2172,6 +2172,14 @@
+@@ -2174,6 +2174,14 @@
  sbc2410x_config: unconfig
  	@$(MKCONFIG) $(@:_config=) arm arm920t sbc2410x NULL s3c24x0
  
@@ -211,7 +211,7 @@
 +	pcf50606_reg_write(PCF50606_REG_RTCHR, bin2bcd(tmp->tm_hour));
 +	pcf50606_reg_write(PCF50606_REG_RTCWD, bin2bcd(tmp->tm_wday));
 +	pcf50606_reg_write(PCF50606_REG_RTCDT, bin2bcd(tmp->tm_mday));
-+	pcf50606_reg_write(PCF50606_REG_RTCMN, bin2bcd(tmp->tm_mon));
++	pcf50606_reg_write(PCF50606_REG_RTCMT, bin2bcd(tmp->tm_mon));
 +	pcf50606_reg_write(PCF50606_REG_RTCYR, bin2bcd(tmp->tm_year % 100));
 +}
 +





More information about the commitlog mailing list