diff options
author | Vincent Tinelli <vincent.tinelli@intel.com> | 2017-01-30 15:46:07 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-02-08 15:56:29 -0500 |
commit | e163a931af34ba06d11b98707b69b8819e353257 (patch) | |
tree | 73d9f4cd8ce384cdb0661c85458babce1406d806 /drivers/video | |
parent | d726f225f5eabc0efa1ef7006c4a6f840b28b767 (diff) | |
download | u-boot-imx-e163a931af34ba06d11b98707b69b8819e353257.zip u-boot-imx-e163a931af34ba06d11b98707b69b8819e353257.tar.gz u-boot-imx-e163a931af34ba06d11b98707b69b8819e353257.tar.bz2 |
cmd: gpt: backup boot code before writing MBR
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@intel.com>
Signed-off-by: Brennan Ashton <brn@deako.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/video')
0 files changed, 0 insertions, 0 deletions