[U-Boot] [PATCH 1/2] cmd_sf: let sf update erase last sector as a whole

2012-04-03 Thread Gerlando Falauto
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.fala...@keymile.com Cc: Valentin Longchamp valentin.longch...@keymile.com Cc: Holger Brunck

Re: [U-Boot] [PATCH 1/2] cmd_sf: let sf update erase last sector as a whole

2012-04-03 Thread Simon Glass
On Tue, Apr 3, 2012 at 8:14 AM, Gerlando Falauto gerlando.fala...@keymile.com wrote: 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