diff options
| author | Samuel Holland <[email protected]> | 2023-01-21 17:25:16 -0600 |
|---|---|---|
| committer | Simon Glass <[email protected]> | 2023-01-26 10:47:45 -0700 |
| commit | b01ae03c0bbd77f70fdbbc076415ce5273808555 (patch) | |
| tree | 6651fe9e0e10cf2fa5636eaad966a79bcb3cc251 /tools/binman/test | |
| parent | 7e215ad05f4d9005d00e954e705fac05b86e62dd (diff) | |
binman: Add 'min-size' entry property
This property sets the minimum size of an entry, including padding but
not alignment. It can be used to reserve space for growth of an entry,
or to enforce a minimum offset for later entries in the section.
Signed-off-by: Samuel Holland <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'tools/binman/test')
| -rw-r--r-- | tools/binman/test/009_pack_extra.dts | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/binman/test/009_pack_extra.dts b/tools/binman/test/009_pack_extra.dts index 1b315557716..8d6f4910c93 100644 --- a/tools/binman/test/009_pack_extra.dts +++ b/tools/binman/test/009_pack_extra.dts @@ -6,6 +6,7 @@ binman { u-boot { + min-size = <12>; pad-before = <3>; pad-after = <5>; }; @@ -31,5 +32,11 @@ align = <64>; align-end = <128>; }; + + u-boot-min-size { + type = "u-boot"; + min-size = <24>; + align-size = <16>; + }; }; }; |
