diff options
author | Gerlando Falauto <gerlando.falauto@keymile.com> | 2013-07-03 20:33:57 +0200 |
---|---|---|
committer | Jagannadha Sutradharudu Teki <jaganna@xilinx.com> | 2013-08-07 01:05:07 +0530 |
commit | 3488850629d2d27febe1839ea0b0f92e915c35fa (patch) | |
tree | fe48ee52871c7a2c803cde39110ae10afd83fd3e /tools/kwbimage.h | |
parent | 5928b9a86514753b7b12ac528b3404114774aa9a (diff) | |
download | u-boot-imx-3488850629d2d27febe1839ea0b0f92e915c35fa.zip u-boot-imx-3488850629d2d27febe1839ea0b0f92e915c35fa.tar.gz u-boot-imx-3488850629d2d27febe1839ea0b0f92e915c35fa.tar.bz2 |
cmd_sf: let "sf update" erase last sector as a whole
make "sf update" work with unaligned `len' parameter, by deleting the
whole last sector before writing, so to allow for:
sf update ${load_addr_r} 0 ${filesize}
Signed-off-by: Gerlando Falauto <gerlando.falauto@keymile.com>
Cc: Valentin Longchamp <valentin.longchamp@keymile.com>
Cc: Holger Brunck <holger.brunck@keymile.com>
Acked-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Jagannadha Sutradharudu Teki <jagannadh.teki@gmail.com>
Diffstat (limited to 'tools/kwbimage.h')
0 files changed, 0 insertions, 0 deletions