summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-06-01 23:27:55 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-06-01 23:27:55 +0000
commit8157eed483e2d9ef6cd436ebec02599934517eec (patch)
tree930ee3152ddd27b6ae760ad81d23b50939eb80b8
parent69c58a30881e4ba06759dbd2677a51e3d953ca19 (diff)
parentdc97f26ef9a4e327f8bad18a354789769053fa02 (diff)
downloadcore-8157eed483e2d9ef6cd436ebec02599934517eec.tar.gz
Snap for 8671908 from dc97f26ef9a4e327f8bad18a354789769053fa02 to tm-d1-release
Change-Id: I93f71d2a0c29fd9c2e69140e3b31ed2996fa1272
-rw-r--r--fastboot/fastboot.bash2
-rw-r--r--fastboot/fastboot.cpp5
2 files changed, 6 insertions, 1 deletions
diff --git a/fastboot/fastboot.bash b/fastboot/fastboot.bash
index e9bf9e940..911071aee 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 init_boot modem odm odm_dlkm oem product pvmfw radio recovery system system_dlkm vbmeta vendor vendor_dlkm"
+ partitions="boot bootloader dtbo init_boot modem odm odm_dlkm oem product pvmfw radio recovery system system_dlkm vbmeta vendor vendor_dlkm vendor_kernel_boot"
COMPREPLY=( $(compgen -W "$partitions" -- $cur) )
else
_fastboot_util_complete_local_file "${cur}" '!*.img'
diff --git a/fastboot/fastboot.cpp b/fastboot/fastboot.cpp
index 39d86f9b3..79c3ac746 100644
--- a/fastboot/fastboot.cpp
+++ b/fastboot/fastboot.cpp
@@ -186,6 +186,11 @@ static Image images[] = {
"vendor_dlkm.img", "vendor_dlkm.sig",
"vendor_dlkm",
true, ImageType::Normal },
+ { "vendor_kernel_boot",
+ "vendor_kernel_boot.img",
+ "vendor_kernel_boot.sig",
+ "vendor_kernel_boot",
+ true, ImageType::BootCritical },
{ nullptr, "vendor_other.img", "vendor.sig", "vendor", true, ImageType::Normal },
// clang-format on
};