diff options
author | Gerlando Falauto <gerlando.falauto@keymile.com> | 2013-08-27 19:13:57 +0530 |
---|---|---|
committer | Jagannadha Sutradharudu Teki <jaganna@xilinx.com> | 2013-08-27 19:39:39 +0530 |
commit | b95f958d7d06b3cd117647b29b288cf168aa2ee9 (patch) | |
tree | 226a0664372a763bf9c8941debb3ff64b02e7916 /board/cm-bf533/cm-bf533.c | |
parent | a928a36ff91ba585310491f2d8c08ec2d30bc2b0 (diff) | |
download | u-boot-imx-b95f958d7d06b3cd117647b29b288cf168aa2ee9.zip u-boot-imx-b95f958d7d06b3cd117647b29b288cf168aa2ee9.tar.gz u-boot-imx-b95f958d7d06b3cd117647b29b288cf168aa2ee9.tar.bz2 |
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: Gerlando Falauto <gerlando.falauto@keymile.com>
Cc: Valentin Longchamp <valentin.longchamp@keymile.com>
Cc: Holger Brunck <holger.brunck@keymile.com>
Acked-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
Diffstat (limited to 'board/cm-bf533/cm-bf533.c')
0 files changed, 0 insertions, 0 deletions