This adds a new SPI flash command which only rewrites blocks if the contents
need to change. This can speed up SPI flash programming when much of the
data is unchanged from what is already there.
Signed-off-by: Simon Glass s...@chromium.org
---
Changes in v2:
-Moved loop into a function
-Moved
On Friday, August 19, 2011 14:19:42 Simon Glass wrote:
+static const char *write_block(struct spi_flash *flash, u32 offset,
+ size_t len, const char *buf, char *cmp_buf, size_t *skipped)
spi_flash_update_block is probably a better name. after all, you're doing
more (and sometimes
Hi Mike,
On Fri, Aug 19, 2011 at 1:03 PM, Mike Frysinger vap...@gentoo.org wrote:
On Friday, August 19, 2011 14:19:42 Simon Glass wrote:
+static const char *write_block(struct spi_flash *flash, u32 offset,
+ size_t len, const char *buf, char *cmp_buf, size_t *skipped)
3 matches
Mail list logo