]> git.sur5r.net Git - u-boot/commit
cmd_sf: add "update" subcommand to do smart SPI flash update
authorSimon Glass <sjg@chromium.org>
Mon, 22 Aug 2011 23:03:46 +0000 (16:03 -0700)
committerMike Frysinger <vapier@gentoo.org>
Thu, 29 Sep 2011 20:31:31 +0000 (16:31 -0400)
commit8d1af94220f62d2227fc7e633c5cef5f78ec4f4a
tree10cbe0c8632571b7e40bebde67f26105d709ca16
parent1d5e7fb403257d62f0f2419cb83fdf6b0f02f215
cmd_sf: add "update" subcommand to do smart SPI flash update

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 <sjg@chromium.org>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
common/cmd_sf.c