summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Scull <ascull@google.com>2021-01-15 19:19:36 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2021-01-15 19:19:36 +0000
commitecd550a8d7de259ccfb005dec2af4fb8166c1214 (patch)
tree714bd1ec4a261afc8263de91945cccb553042c83
parent76d44b077e69d3011c29f1384362f9be102784f6 (diff)
parentbe823d71bdf70f3636fce8cf7a3e205f9f5baca2 (diff)
Merge "fastboot: Add pvmfw"
-rw-r--r--fastboot/fastboot.bash2
-rw-r--r--fastboot/fastboot.cpp1
2 files changed, 2 insertions, 1 deletions
diff --git a/fastboot/fastboot.bash b/fastboot/fastboot.bash
index 406e8b8d7..f5a3384cf 100644
--- a/fastboot/fastboot.bash
+++ b/fastboot/fastboot.bash
@@ -109,7 +109,7 @@ _fastboot_cmd_flash() {
cur="${COMP_WORDS[COMP_CWORD]}"
if [[ $i -eq $COMP_CWORD ]]; then
- partitions="boot bootloader dtbo modem odm odm_dlkm oem product radio recovery system vbmeta vendor vendor_dlkm"
+ partitions="boot bootloader dtbo modem odm odm_dlkm oem product pvmfw radio recovery system vbmeta vendor vendor_dlkm"
COMPREPLY=( $(compgen -W "$partitions" -- $cur) )
else
_fastboot_util_complete_local_file "${cur}" '!*.img'
diff --git a/fastboot/fastboot.cpp b/fastboot/fastboot.cpp
index 62f6ac749..f7edf8e61 100644
--- a/fastboot/fastboot.cpp
+++ b/fastboot/fastboot.cpp
@@ -147,6 +147,7 @@ static Image images[] = {
{ "odm", "odm.img", "odm.sig", "odm", true, ImageType::Normal },
{ "odm_dlkm", "odm_dlkm.img", "odm_dlkm.sig", "odm_dlkm", true, ImageType::Normal },
{ "product", "product.img", "product.sig", "product", true, ImageType::Normal },
+ { "pvmfw", "pvmfw.img", "pvmfw.sig", "pvmfw", true, ImageType::BootCritical },
{ "recovery", "recovery.img", "recovery.sig", "recovery", true, ImageType::BootCritical },
{ "super", "super.img", "super.sig", "super", true, ImageType::Extra },
{ "system", "system.img", "system.sig", "system", false, ImageType::Normal },