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

2017-02-06 Thread Simon Glass
On 30 January 2017 at 04:46, Andy Shevchenko wrote: > From: Vincent Tinelli > > 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 ru

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

2017-01-30 Thread Andy Shevchenko
From: Vincent Tinelli 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 Signed-of