binman: Make section padding consistent with other entries
[platform/kernel/u-boot.git] / tools / binman / test / 181_section_align.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                 fill {
12                         size = <1>;
13                 };
14                 section@1 {
15                         read-only;
16
17                         /* Padding for the section uses the 0x26 pad byte */
18                         align = <2>;
19                         align-size = <0x10>;
20
21                         /* Set the padding byte for entries, i.e. u-boot */
22                         pad-byte = <0x21>;
23
24                         fill {
25                                 size = <1>;
26                         };
27
28                         u-boot {
29                                 align = <4>;
30                                 align-size = <8>;
31                         };
32                 };
33         };
34 };