]> Git Repo - J-u-boot.git/commit - common/cmd_sf.c
cmd_sf: let "sf update" erase last sector as a whole
authorGerlando Falauto <[email protected]>
Wed, 3 Jul 2013 18:33:57 +0000 (20:33 +0200)
committerJagannadha Sutradharudu Teki <[email protected]>
Tue, 6 Aug 2013 19:35:07 +0000 (01:05 +0530)
commit3488850629d2d27febe1839ea0b0f92e915c35fa
treefe48ee52871c7a2c803cde39110ae10afd83fd3e
parent5928b9a86514753b7b12ac528b3404114774aa9a
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 <[email protected]>
Cc: Valentin Longchamp <[email protected]>
Cc: Holger Brunck <[email protected]>
Acked-by: Simon Glass <[email protected]>
Reviewed-by: Jagannadha Sutradharudu Teki <[email protected]>
common/cmd_sf.c
This page took 0.032774 seconds and 4 git commands to generate.