diff options
author | Simon Glass <sjg@chromium.org> | 2019-07-20 12:23:50 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2019-07-29 09:38:06 -0600 |
commit | 10f9d0066b9e9e14327922fa62c2a1b6bea50785 (patch) | |
tree | e8f2edff2c01e0a90f203db9fc3a5d336d15fd0c /tools/binman/test/132_replace.dts | |
parent | a004f29464d14f3535ed8db22e5dfed02c8fc9d8 (diff) | |
download | u-boot-10f9d0066b9e9e14327922fa62c2a1b6bea50785.tar.gz |
binman: Support updating entries in an existing image
While it is useful and efficient to build images in a single pass from a
unified description, it is sometimes desirable to update the image later.
Add support for replace an existing file with one of the same size. This
avoids needing to repack the file. Support for more advanced updates will
come in future patches.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/binman/test/132_replace.dts')
-rw-r--r-- | tools/binman/test/132_replace.dts | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/tools/binman/test/132_replace.dts b/tools/binman/test/132_replace.dts new file mode 100644 index 0000000000..6ebdcda45c --- /dev/null +++ b/tools/binman/test/132_replace.dts @@ -0,0 +1,21 @@ +// SPDX-License-Identifier: GPL-2.0+ + +/dts-v1/; + +/ { + #address-cells = <1>; + #size-cells = <1>; + + binman { + size = <0xc00>; + u-boot { + }; + fdtmap { + }; + u-boot-dtb { + }; + image-header { + location = "end"; + }; + }; +}; |