diff options
| author | Simon Glass <[email protected]> | 2018-09-14 04:57:35 -0600 |
|---|---|---|
| committer | Simon Glass <[email protected]> | 2018-09-29 11:49:35 -0600 |
| commit | fe1ae3ecc3a2203babd7837bd2d5cf514a374c1f (patch) | |
| tree | 8a6ebd631bb6fe83a419ae23b136680e81f435e8 /tools/binman/test | |
| parent | f8f8df6eb870b53e025aa447f8d40cd2ce2a77f6 (diff) | |
binman: Support ELF files for U-Boot and SPL
For sandbox we want to put ELF files in the image since that is what we
need to execute. Add support for this.
Signed-off-by: Simon Glass <[email protected]>
Diffstat (limited to 'tools/binman/test')
| -rw-r--r-- | tools/binman/test/96_elf.dts | 14 | ||||
| -rw-r--r-- | tools/binman/test/97_elf_strip.dts | 15 |
2 files changed, 29 insertions, 0 deletions
diff --git a/tools/binman/test/96_elf.dts b/tools/binman/test/96_elf.dts new file mode 100644 index 00000000000..df3440c3194 --- /dev/null +++ b/tools/binman/test/96_elf.dts @@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ +/dts-v1/; + +/ { + #address-cells = <1>; + #size-cells = <1>; + + binman { + u-boot-elf { + }; + u-boot-spl-elf { + }; + }; +}; diff --git a/tools/binman/test/97_elf_strip.dts b/tools/binman/test/97_elf_strip.dts new file mode 100644 index 00000000000..6f3c66fd705 --- /dev/null +++ b/tools/binman/test/97_elf_strip.dts @@ -0,0 +1,15 @@ +// SPDX-License-Identifier: GPL-2.0+ +/dts-v1/; + +/ { + #address-cells = <1>; + #size-cells = <1>; + + binman { + u-boot-elf { + strip; + }; + u-boot-spl-elf { + }; + }; +}; |
