diff options
| author | Simon Glass <[email protected]> | 2021-03-21 18:24:30 +1300 |
|---|---|---|
| committer | Simon Glass <[email protected]> | 2021-03-27 16:26:48 +1300 |
| commit | 3d4333829388db834e6f0945bbefc837da590d78 (patch) | |
| tree | c0c2bf0e778ced9cf084c3c6f3d93451aac7df14 /tools/binman/test | |
| parent | e9e0db8894523b53af9ecbe1b995fabf3d3c5b78 (diff) | |
binman: Allow disabling expanding an entry
At present there is a command-line flag to disable substitution of expanded
entries. Add an option to the entry node as well, so it can be controlled
at the node level.
Add a test to cover this. Fix up the comment to the checkSymbols() function
it uses, while we are here.
Signed-off-by: Simon Glass <[email protected]>
Diffstat (limited to 'tools/binman/test')
| -rw-r--r-- | tools/binman/test/197_symbols_expand.dts | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/tools/binman/test/197_symbols_expand.dts b/tools/binman/test/197_symbols_expand.dts new file mode 100644 index 00000000000..8aee76dc755 --- /dev/null +++ b/tools/binman/test/197_symbols_expand.dts @@ -0,0 +1,23 @@ +// SPDX-License-Identifier: GPL-2.0+ + +/dts-v1/; + +/ { + #address-cells = <1>; + #size-cells = <1>; + + binman { + pad-byte = <0xff>; + u-boot-spl { + }; + + u-boot { + offset = <0x38>; + no-expanded; + }; + + u-boot-spl2 { + type = "u-boot-spl"; + }; + }; +}; |
