Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 39e4f5b6 authored by Yueyao Zhu's avatar Yueyao Zhu Committed by android-build-merger
Browse files

Merge "Add dtbo image support for device tree overlay" am: 5eefcbdd am: 06100384

am: aff36686

Change-Id: I73fb4eb0c7d6b9b0d8eb2fabb63df09ccb736f9d
parents b4f7e5b0 aff36686
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -124,6 +124,7 @@ static struct {
    {"vendor.img", "vendor.sig", "vendor", true, false},
    {"vendor_other.img", "vendor.sig", "vendor", true, true},
    {"vbmeta.img", "vbmeta.sig", "vbmeta", true, false},
    {"dtbo.img", "dtbo.sig", "dtbo", true, false},
};

static std::string find_item_given_name(const char* img_name, const char* product) {
@@ -155,6 +156,8 @@ std::string find_item(const char* item, const char* product) {
        fn = "vendor.img";
    } else if(!strcmp(item,"vbmeta")) {
        fn = "vbmeta.img";
    } else if(!strcmp(item,"dtbo")) {
        fn = "dtbo.img";
    } else if(!strcmp(item,"userdata")) {
        fn = "userdata.img";
    } else if(!strcmp(item,"cache")) {