Commit 2e760b4b authored by Srivatsa Vaddagiri's avatar Srivatsa Vaddagiri Committed by Siddharth Gupta
Browse files

libfdt: overlay_merge: Rename fragments



When merging two overlay blobs, fragment nodes whose target node can't be found
in base blob would need to be retained as-is (including the fragment names) in
the combined blob. Such unresolved symbols will also need to be listed in
__fixups__ section of combined blob. This could lead to name comflicts in
combined blob (two nodes with same name/path such as /fragment@0).

To avoid such name conflicts in combined blob, rename all fragment@xyz in
overlay blob as fragment@xyz+delta, where delta is the maximum count of fragment
nodes found in base blob

Change-Id: I987f60ceed1c5e05279b0c4ff998affd069d70fd
Signed-off-by: default avatarSrivatsa Vaddagiri <vatsa@codeaurora.org>
parent 75cba70b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment