diff options
author | Devin Moore <devinmoore@google.com> | 2022-01-05 00:20:15 +0000 |
---|---|---|
committer | Devin Moore <devinmoore@google.com> | 2022-01-06 22:32:28 +0000 |
commit | dd1eb8733dbae94958a9327e9247d9400815a5ba (patch) | |
tree | acd75f05a5f77779068eab47989c1e56c3e48130 /fastboot/fastboot.cpp | |
parent | a216080a6361ca14c74bc83aafa54ebe9e60c80d (diff) |
fastboot: Support flashing init_boot.img into init_boot partition
init_boot_a and init_boot_b partitions are used in A/B devices.
Bug: 203698939
Test: m
Change-Id: If00f581ab7ae340d78d7d55eebafd92ac15d2bc1
Diffstat (limited to 'fastboot/fastboot.cpp')
-rw-r--r-- | fastboot/fastboot.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fastboot/fastboot.cpp b/fastboot/fastboot.cpp index c8ef94f1d..32a22bbf5 100644 --- a/fastboot/fastboot.cpp +++ b/fastboot/fastboot.cpp @@ -141,6 +141,10 @@ struct Image { static Image images[] = { // clang-format off { "boot", "boot.img", "boot.sig", "boot", false, ImageType::BootCritical }, + { "init_boot", + "init_boot.img", "init_boot.sig", + "init_boot", + false, ImageType::BootCritical }, { nullptr, "boot_other.img", "boot.sig", "boot", true, ImageType::Normal }, { "cache", "cache.img", "cache.sig", "cache", true, ImageType::Extra }, { "dtbo", "dtbo.img", "dtbo.sig", "dtbo", true, ImageType::BootCritical }, |