summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHridya Valsaraju2018-08-01 12:09:49 -0500
committerHridya Valsaraju2018-08-01 13:30:36 -0500
commit94943ee331a2ff0f78539d8ecff9005b10b2cd6e (patch)
tree29b4eb6848c0b1694f5b08c25e21b5544bcd3543
parentff01e542850718844d14d207de14a57eae708d2a (diff)
downloadplatform-system-core-94943ee331a2ff0f78539d8ecff9005b10b2cd6e.tar.gz
platform-system-core-94943ee331a2ff0f78539d8ecff9005b10b2cd6e.tar.xz
platform-system-core-94943ee331a2ff0f78539d8ecff9005b10b2cd6e.zip
Flash super partition with fastboot flashall
Bug: 111763923 Test: fastboot flashall Change-Id: I9b89825bac00d1237972a61715da05f933ac35ce
-rw-r--r--fastboot/fastboot.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/fastboot/fastboot.cpp b/fastboot/fastboot.cpp
index 263ea1780..cf55cce44 100644
--- a/fastboot/fastboot.cpp
+++ b/fastboot/fastboot.cpp
@@ -114,7 +114,7 @@ static struct {
114 bool is_optional; 114 bool is_optional;
115 bool is_secondary; 115 bool is_secondary;
116} images[] = { 116} images[] = {
117 // clang-format off 117 // clang-format off
118 { "boot", "boot.img", "boot.sig", "boot", false, false }, 118 { "boot", "boot.img", "boot.sig", "boot", false, false },
119 { nullptr, "boot_other.img", "boot.sig", "boot", true, true }, 119 { nullptr, "boot_other.img", "boot.sig", "boot", true, true },
120 { "dtbo", "dtbo.img", "dtbo.sig", "dtbo", true, false }, 120 { "dtbo", "dtbo.img", "dtbo.sig", "dtbo", true, false },
@@ -122,12 +122,13 @@ static struct {
122 { "odm", "odm.img", "odm.sig", "odm", true, false }, 122 { "odm", "odm.img", "odm.sig", "odm", true, false },
123 { "product", "product.img", "product.sig", "product", true, false }, 123 { "product", "product.img", "product.sig", "product", true, false },
124 { "recovery", "recovery.img", "recovery.sig", "recovery", true, false }, 124 { "recovery", "recovery.img", "recovery.sig", "recovery", true, false },
125 { "super", "super.img", "super.sig", "super", true, false },
125 { "system", "system.img", "system.sig", "system", false, false }, 126 { "system", "system.img", "system.sig", "system", false, false },
126 { nullptr, "system_other.img", "system.sig", "system", true, true }, 127 { nullptr, "system_other.img", "system.sig", "system", true, true },
127 { "vbmeta", "vbmeta.img", "vbmeta.sig", "vbmeta", true, false }, 128 { "vbmeta", "vbmeta.img", "vbmeta.sig", "vbmeta", true, false },
128 { "vendor", "vendor.img", "vendor.sig", "vendor", true, false }, 129 { "vendor", "vendor.img", "vendor.sig", "vendor", true, false },
129 { nullptr, "vendor_other.img", "vendor.sig", "vendor", true, true }, 130 { nullptr, "vendor_other.img", "vendor.sig", "vendor", true, true },
130 // clang-format on 131 // clang-format on
131}; 132};
132 133
133static std::string find_item_given_name(const char* img_name) { 134static std::string find_item_given_name(const char* img_name) {