diff options
| author | Simon Glass <[email protected]> | 2019-07-20 12:24:15 -0600 |
|---|---|---|
| committer | Simon Glass <[email protected]> | 2019-07-29 09:38:06 -0600 |
| commit | a6cb995096c40ecd6597e20d792851ac7f80004e (patch) | |
| tree | 53c627ff17381b4eceeb0156e226c4602ed07b2c /tools/binman/test | |
| parent | bb5edc1d3c0ebc989dfaa7d1e57cdde15d61f2e0 (diff) | |
binman: Add command-line support for replacing entries
Add a 'replace' command to binman to permit entries to be replaced, either
individually or all at once (using a filter).
Signed-off-by: Simon Glass <[email protected]>
Diffstat (limited to 'tools/binman/test')
| -rw-r--r-- | tools/binman/test/143_replace_all.dts | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/tools/binman/test/143_replace_all.dts b/tools/binman/test/143_replace_all.dts new file mode 100644 index 00000000000..c5744a3c1c8 --- /dev/null +++ b/tools/binman/test/143_replace_all.dts @@ -0,0 +1,28 @@ +// SPDX-License-Identifier: GPL-2.0+ + +/dts-v1/; + +/ { + #address-cells = <1>; + #size-cells = <1>; + + binman { + size = <0xc00>; + allow-repack; + u-boot { + }; + fdtmap { + }; + u-boot2 { + type = "u-boot"; + }; + text { + text = "some text"; + }; + u-boot-dtb { + }; + image-header { + location = "end"; + }; + }; +}; |
