binman: Make section padding consistent with other entries
[platform/kernel/u-boot.git] / tools / binman / test / 180_section_pad.dts
1 // SPDX-License-Identifier: GPL-2.0+
2
3 /dts-v1/;
4
5 / {
6         #address-cells = <1>;
7         #size-cells = <1>;
8
9         binman {
10                 pad-byte = <0x26>;
11                 section@0 {
12                         read-only;
13
14                         /* Padding for the section uses the 0x26 pad byte */
15                         pad-before = <3>;
16                         pad-after = <2>;
17
18                         /* Set the padding byte for entries, i.e. u-boot */
19                         pad-byte = <0x21>;
20
21                         u-boot {
22                                 pad-before = <5>;
23                                 pad-after = <1>;
24                         };
25                 };
26         };
27 };