From: Tom Rini Date: Wed, 8 Feb 2017 22:01:53 -0500 Subject: [U-Boot] [U-Boot, v1] cmd: gpt: backup boot code before writing MBR In-Reply-To: <20170130124607.21107-1-andriy.shevchenko@linux.intel.com> References: <20170130124607.21107-1-andriy.shevchenko@linux.intel.com> Message-ID: <20170209030153.GE26129@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Mon, Jan 30, 2017 at 03:46:07PM +0300, 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 run 'gpt write' command. > > Signed-off-by: Vincent Tinelli > Signed-off-by: Brennan Ashton > Signed-off-by: Andy Shevchenko > Reviewed-by: Simon Glass 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: