mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 10:39:08 +00:00
binman: Support adding files
In some cases it is useful to add a group of files to the image and be able to access them at run-time. Of course it is possible to generate the binman config file with a set of blobs each with a filename. But for convenience, add an entry type which can do this. Add required support (for adding nodes and string properties) into the state module. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
b4e1a38c29
commit
0a98b28b06
17 changed files with 225 additions and 0 deletions
|
@ -179,6 +179,9 @@ class Entry(object):
|
|||
return Set([fname])
|
||||
return Set()
|
||||
|
||||
def ExpandEntries(self):
|
||||
pass
|
||||
|
||||
def AddMissingProperties(self):
|
||||
"""Add new properties to the device tree as needed for this entry"""
|
||||
for prop in ['offset', 'size', 'image-pos']:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue