Re: [U-Boot] [PATCH v4] cmd_sf: let "sf update" preserve the final part of the last sector

2013-08-27 Thread Jagan Teki
On 27-08-2013 19:22, Jagannadha Sutradharudu Teki wrote: From: 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 re

[U-Boot] [PATCH v4] cmd_sf: let "sf update" preserve the final part of the last sector

2013-08-27 Thread Jagannadha Sutradharudu Teki
From: 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 Falaut