Skip to content
Snippets Groups Projects
Commit b95f958d authored by Gerlando Falauto's avatar Gerlando Falauto Committed by Jagannadha Sutradharudu Teki
Browse files

cmd_sf: let "sf update" preserve the final part of the last sector


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: default avatarGerlando Falauto <gerlando.falauto@keymile.com>
Cc: Valentin Longchamp <valentin.longchamp@keymile.com>
Cc: Holger Brunck <holger.brunck@keymile.com>
Acked-by: default avatarSimon Glass <sjg@chromium.org>
Signed-off-by: default avatarJagannadha Sutradharudu Teki <jaganna@xilinx.com>
parent a928a36f
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment