diff options
author | Hung-Te Lin <hungte@chromium.org> | 2019-11-07 17:46:09 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-11-08 03:45:26 +0000 |
commit | 87276ffed46b3c64ff62153ac8599a79b9bcb683 (patch) | |
tree | dceb5848b91cddc137bb6b72150d73b464d8df3d /futility/updater.c | |
parent | 123bd5f6dbc2f039c28ac826993454489dc6767d (diff) | |
download | vboot-87276ffed46b3c64ff62153ac8599a79b9bcb683.tar.gz |
futility: updater: Clean up hard-coded section names to preservestabilize-volteer-12665.Bstabilize-12669.Bfirmware-hatch-12669.B
The following sections can be now deleted from hard-coded list:
- RO_PRESERVE: no boards use it.
- RO_FSG: new images have set the PRESERVE flag in CBFS.
- SI_GBE, SI_PDR: already using PRESERVE flag since fw branch is cut.
BUG=b:116326638,chromium:936768
TEST=make clean && make runtests
Change-Id: I99759949104bf4f1c1db3556e273923dcb1c5887
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/1902841
Tested-by: Hung-Te Lin <hungte@chromium.org>
Auto-Submit: Hung-Te Lin <hungte@chromium.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Commit-Queue: Hung-Te Lin <hungte@chromium.org>
Diffstat (limited to 'futility/updater.c')
-rw-r--r-- | futility/updater.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/futility/updater.c b/futility/updater.c index a360f2c8..25b20a7d 100644 --- a/futility/updater.c +++ b/futility/updater.c @@ -1088,24 +1088,12 @@ static int preserve_known_sections(struct firmware_image *from, { int errcnt = 0, i; const char * const names[] = { - "RO_PRESERVE", - "RW_PRESERVE", + "RW_PRESERVE", /* Only octopus fw branch is using this. */ "RO_VPD", "RW_VPD", "SMMSTORE", "RW_NVRAM", "RW_ELOG", - /* - * TODO(hungte): b/116326638: Remove RO_FSG after the migration - * is finished. - */ - "RO_FSG", - /* - * TODO(hungte): crbug.com/936768: Remove SI_GBE, SI_PDR after - * both migrated to the new FMAP based preserve method. - */ - "SI_GBE", - "SI_PDR", }; for (i = 0; i < ARRAY_SIZE(names); i++) { |