Merge "Add dtbo image support for device tree overlay" am: 5eefcbdd3b
am: 061003841e
Change-Id: Id822b0f97ef70f3eb28518390cf09990fdff9940
This commit is contained in:
commit
aff3668634
1 changed files with 3 additions and 0 deletions
|
|
@ -124,6 +124,7 @@ static struct {
|
||||||
{"vendor.img", "vendor.sig", "vendor", true, false},
|
{"vendor.img", "vendor.sig", "vendor", true, false},
|
||||||
{"vendor_other.img", "vendor.sig", "vendor", true, true},
|
{"vendor_other.img", "vendor.sig", "vendor", true, true},
|
||||||
{"vbmeta.img", "vbmeta.sig", "vbmeta", true, false},
|
{"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) {
|
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";
|
fn = "vendor.img";
|
||||||
} else if(!strcmp(item,"vbmeta")) {
|
} else if(!strcmp(item,"vbmeta")) {
|
||||||
fn = "vbmeta.img";
|
fn = "vbmeta.img";
|
||||||
|
} else if(!strcmp(item,"dtbo")) {
|
||||||
|
fn = "dtbo.img";
|
||||||
} else if(!strcmp(item,"userdata")) {
|
} else if(!strcmp(item,"userdata")) {
|
||||||
fn = "userdata.img";
|
fn = "userdata.img";
|
||||||
} else if(!strcmp(item,"cache")) {
|
} else if(!strcmp(item,"cache")) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue