diff options
author | Simon Glass <sjg@chromium.org> | 2016-11-25 20:15:52 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2016-12-20 08:09:55 +1300 |
commit | 4f44304b0bd881f79252c7b7d2fb796e31ca3b0a (patch) | |
tree | 50c4140da8f12dd9a145707b3b186d8a39a471e8 /tools/binman/test/09_pack_extra.dts | |
parent | bf7fd50b3ba56b53dc13a681d19c845be903c3e0 (diff) |
binman: Add basic entry types for U-Boot
Add entries to support some standard U-Boot binaries, such as u-boot.bin,
u-boot.dtb, etc. Also add some tests for these.
Signed-off-by: Simon Glass <sjg@chromium.org>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'tools/binman/test/09_pack_extra.dts')
-rw-r--r-- | tools/binman/test/09_pack_extra.dts | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/tools/binman/test/09_pack_extra.dts b/tools/binman/test/09_pack_extra.dts new file mode 100644 index 0000000000..0765707dea --- /dev/null +++ b/tools/binman/test/09_pack_extra.dts @@ -0,0 +1,35 @@ +/dts-v1/; + +/ { + #address-cells = <1>; + #size-cells = <1>; + + binman { + u-boot { + pad-before = <3>; + pad-after = <5>; + }; + + u-boot-align-size-nop { + type = "u-boot"; + align-size = <4>; + }; + + u-boot-align-size { + type = "u-boot"; + align = <16>; + align-size = <32>; + }; + + u-boot-align-end { + type = "u-boot"; + align-end = <64>; + }; + + u-boot-align-both { + type = "u-boot"; + align= <64>; + align-end = <128>; + }; + }; +}; |