summaryrefslogtreecommitdiff
path: root/util/cbfstool/default-x86.fmd
diff options
context:
space:
mode:
authorDaisuke Nojiri <dnojiri@chromium.org>2018-10-02 12:59:58 -0700
committerMartin Roth <martinroth@google.com>2018-10-04 17:16:41 +0000
commit2b59c610d0eda1be7774f32cf417ee7f7c60c582 (patch)
tree17d5334a7dc509c4569bf8d672896b8a2c23cec2 /util/cbfstool/default-x86.fmd
parent0fa007be131f161bbc4c7b7422e53dd702361638 (diff)
cbfstool: Clear entry being removed in all cases
Currently, an entry being removed is cleared only if the next entry is also null or deleted. This patch ensures the entry being removed is cleared regardless of the next entry type. BUG=chromium:889716 BRANCH=none TEST=Run cbfstool bios.bin remove -n ecrw. Verify bios.bin has 0xFF in the space of the removed entry. TEST=Run cbfstool bios.bin remove -n fallback/payload (located at the end). Verify fallback/payload is removed. TEST=Run sign_official_build.sh on recovery_image.bin. Extract firmware contents from chromeos-firmwareupdate in the resigned image. Run 'futility vbutil_firmware --verify' for vblock_A's and FW_MAIN_A extracted from bios.bin. See the bug for details. Change-Id: I62540483da6cc35d0a604ec49b2f2b7b11ba9ce5 Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org> Reviewed-on: https://review.coreboot.org/28886 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'util/cbfstool/default-x86.fmd')
0 files changed, 0 insertions, 0 deletions