diff options
author | Dan Ehrenberg <dehrenberg@chromium.org> | 2014-11-06 16:22:24 -0800 |
---|---|---|
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | 2014-11-14 22:46:54 +0000 |
commit | a524a3a51591618c1395cb9e1238ee72b3f5e767 (patch) | |
tree | e3ba27f590375e71ff40d8df29c9e04466a743bb /cgpt/cmd_add.c | |
parent | 837b408c92d02108cbb16a97769675f39598d576 (diff) | |
download | vboot-a524a3a51591618c1395cb9e1238ee72b3f5e767.tar.gz |
vboot: cgpt: fix my_lba of the secondary GPT
Previously, my_lba of the secondary GPT was recorded as if that
GPT was written at the end of the device. This patch tweaks
my_lba to report where it is in the random-access GPT address space,
namely at the end of that space.
TEST=Compiled it into the firmware and observed the firmware to update
the my_lba field of the secondary GPT.
BRANCH=none
BUG=chromium:425677
Signed-off-by: Dan Ehrenberg <dehrenberg@chromium.org>
Change-Id: I88791fb2cff1086351ca8a3adeef675c4a88cc9a
Reviewed-on: https://chromium-review.googlesource.com/228942
Reviewed-by: Bill Richardson <wfrichar@chromium.org>
Commit-Queue: Daniel Ehrenberg <dehrenberg@chromium.org>
Tested-by: Daniel Ehrenberg <dehrenberg@chromium.org>
Diffstat (limited to 'cgpt/cmd_add.c')
0 files changed, 0 insertions, 0 deletions