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

laforge at sita.openmoko.org laforge at sita.openmoko.org
Thu May 10 05:18:43 CEST 2007


Author: laforge
Date: 2007-05-10 05:18:39 +0200 (Thu, 10 May 2007)
New Revision: 1942

Modified:
   trunk/src/target/u-boot/patches/uboot-dfu.patch
Log:
* increase static buffer size for nand writing to 128kByte (from 16kByte) to be as large as the erasesize of 2k flash


Modified: trunk/src/target/u-boot/patches/uboot-dfu.patch
===================================================================
--- trunk/src/target/u-boot/patches/uboot-dfu.patch	2007-05-09 22:09:01 UTC (rev 1941)
+++ trunk/src/target/u-boot/patches/uboot-dfu.patch	2007-05-10 03:18:39 UTC (rev 1942)
@@ -188,7 +188,7 @@
 +	 * This saves us from having to clean up dynamic allications in the
 +	 * various error paths of the code.  Also, it will always work, no
 +	 * matter what the memory situation is. */
-+	unsigned char _buf[0x4000];
++	unsigned char _buf[0x20000];	/* FIXME: depends flash page size */
 +};
 +
 +static struct dnload_state _dnstate;





More information about the commitlog mailing list