fastboot: Add vendor_kernel_boot

Bug: 234474672
Bug: 214409109
Signed-off-by: Lucas Wei <lucaswei@google.com>
Merged-In: I8b0baa887e5e2309a1cb4a602fe8f6ca9e22526b
Change-Id: I60b7ec0c160d38e01b15ed547d51a2a007bfd7f5
This commit is contained in:
Lucas Wei 2022-03-28 21:57:58 +08:00
parent 10eb36887f
commit dc97f26ef9
2 changed files with 6 additions and 1 deletions

View File

@ -109,7 +109,7 @@ _fastboot_cmd_flash() {
cur="${COMP_WORDS[COMP_CWORD]}" cur="${COMP_WORDS[COMP_CWORD]}"
if [[ $i -eq $COMP_CWORD ]]; then 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) ) COMPREPLY=( $(compgen -W "$partitions" -- $cur) )
else else
_fastboot_util_complete_local_file "${cur}" '!*.img' _fastboot_util_complete_local_file "${cur}" '!*.img'

View File

@ -186,6 +186,11 @@ static Image images[] = {
"vendor_dlkm.img", "vendor_dlkm.sig", "vendor_dlkm.img", "vendor_dlkm.sig",
"vendor_dlkm", "vendor_dlkm",
true, ImageType::Normal }, 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 }, { nullptr, "vendor_other.img", "vendor.sig", "vendor", true, ImageType::Normal },
// clang-format on // clang-format on
}; };