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

laforge at sita.openmoko.org laforge at sita.openmoko.org
Wed May 2 18:13:09 CEST 2007


Author: laforge
Date: 2007-05-02 18:13:04 +0200 (Wed, 02 May 2007)
New Revision: 1897

Modified:
   trunk/src/target/u-boot/patches/uboot-dfu.patch
Log:
* fix breakage of DFU upload (device->host pc) introduced in rev. 1803
* turn debug message into real debug() rather than printf()


Modified: trunk/src/target/u-boot/patches/uboot-dfu.patch
===================================================================
--- trunk/src/target/u-boot/patches/uboot-dfu.patch	2007-05-02 15:34:56 UTC (rev 1896)
+++ trunk/src/target/u-boot/patches/uboot-dfu.patch	2007-05-02 16:13:04 UTC (rev 1897)
@@ -586,7 +586,7 @@
 +			remain = len;
 +
 +		debug("copying %u bytes ", remain);
-+		memcpy(urb->buffer, ds->ptr, remain);
++		urb->buffer = ds->ptr;
 +		ds->ptr += remain;
 +		urb->actual_length = remain;
 +
@@ -605,7 +605,7 @@
 +		break;
 +	}
 +
-+	printf("returning len=%u\n", len);
++	debug("returning len=%u\n", len);
 +	return len;
 +}
 +





More information about the commitlog mailing list