diff options
| author | Marek Vasut <[email protected]> | 2023-07-18 07:23:58 -0600 |
|---|---|---|
| committer | Simon Glass <[email protected]> | 2023-07-20 14:10:58 -0600 |
| commit | fadad3a64a12cf279d31088aebc45806ec86fb4e (patch) | |
| tree | 97dc712312e3ea7a12d49be633fd1d558377587e /tools/binman/test | |
| parent | 20a317fb75f2cbd03cd8d2f8e65bab5faf6abbb4 (diff) | |
binman: Convert mkimage to Entry_section
This is needed to handle mkimage with inner section located itself in a
section.
Signed-off-by: Marek Vasut <[email protected]>
Use BuildSectionData() instead of ObtainContents(), add tests and a few
other minor fixes:
Signed-off-by: Simon Glass <[email protected]>
Diffstat (limited to 'tools/binman/test')
| -rw-r--r-- | tools/binman/test/283_mkimage_special.dts | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/tools/binman/test/283_mkimage_special.dts b/tools/binman/test/283_mkimage_special.dts new file mode 100644 index 00000000000..c234093e6ec --- /dev/null +++ b/tools/binman/test/283_mkimage_special.dts @@ -0,0 +1,24 @@ +// SPDX-License-Identifier: GPL-2.0+ + +/dts-v1/; + +/ { + #address-cells = <1>; + #size-cells = <1>; + + binman { + mkimage { + args = "-T script"; + + u-boot { + }; + + hash { + }; + + imagename { + type = "u-boot"; + }; + }; + }; +}; |
