[U-Boot] [PATCH 2/2] cmd_sf: sf update preserve the final part of the last sector

2012-04-03 Thread Gerlando Falauto
Since sf update erases the last block as a whole, but only rewrites the meaningful initial part of it, the rest would be left erased, potentially erasing meaningful information. So, as a safety measure, have it rewrite the original content. Signed-off-by: Gerlando Falauto

Re: [U-Boot] [PATCH 2/2] cmd_sf: sf update preserve the final part of the last sector

2012-04-03 Thread Simon Glass
Hi Gerlando, On Tue, Apr 3, 2012 at 8:14 AM, Gerlando Falauto gerlando.fala...@keymile.com wrote: Since sf update erases the last block as a whole, but only rewrites the meaningful initial part of it, the rest would be left erased, potentially erasing meaningful information. So, as a safety