Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AndroidSystemCore
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Werner Sembach
AndroidSystemCore
Commits
5eefcbdd
Commit
5eefcbdd
authored
May 3, 2017
by
Treehugger Robot
Committed by
Gerrit Code Review
May 3, 2017
Browse files
Options
Downloads
Plain Diff
Merge "Add dtbo image support for device tree overlay"
parents
49bbe164
e67da71d
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
fastboot/fastboot.cpp
+3
-0
3 additions, 0 deletions
fastboot/fastboot.cpp
with
3 additions
and
0 deletions
fastboot/fastboot.cpp
+
3
−
0
View file @
5eefcbdd
...
...
@@ -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"
))
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment