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

2013-08-06 Thread Jagan Teki
On Fri, Jul 5, 2013 at 1:01 PM, Gerlando Falauto gerlando.fala...@keymile.com wrote: Hi Jagan, On 07/04/2013 06:26 PM, Jagan Teki wrote: On Thu, Jul 4, 2013 at 12:03 AM, Gerlando Falauto gerlando.fala...@keymile.com wrote: Since sf update erases the last block as a whole, but only

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

2013-07-05 Thread Gerlando Falauto
Hi Jagan, On 07/04/2013 06:26 PM, Jagan Teki wrote: On Thu, Jul 4, 2013 at 12:03 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

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

2013-07-04 Thread Jagan Teki
On Thu, Jul 4, 2013 at 12:03 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 measure, have

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

2013-07-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