[U-Boot] [U-Boot, v1] cmd: gpt: backup boot code before writing MBR

Tom Rini trini at konsulko.com
Thu Feb 9 03:01:53 UTC 2017


On Mon, Jan 30, 2017 at 03:46:07PM +0300, Andy Shevchenko wrote:

> From: Vincent Tinelli <vincent.tinelli at intel.com>
> 
> On some cases the first 440 bytes of MBR are used to keep an additional
> information for ROM boot loader. 'gpt write' command doesn't preserve
> that area and makes boot code gone.
> 
> Preserve boot code area when run 'gpt write' command.
> 
> Signed-off-by: Vincent Tinelli <vincent.tinelli at intel.com>
> Signed-off-by: Brennan Ashton <brn at deako.com>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko at linux.intel.com>
> Reviewed-by: Simon Glass <sjg at chromium.org>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170208/f2e23527/attachment.sig>


More information about the U-Boot mailing list