summaryrefslogtreecommitdiff
path: root/tools/binman/test/181_section_align.dts
blob: 90795d131b0e0b5ae9c94b8db95f2310931c7c3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// SPDX-License-Identifier: GPL-2.0+

/dts-v1/;

/ {
	#address-cells = <1>;
	#size-cells = <1>;

	binman {
		pad-byte = <0x26>;
		fill {
			size = <1>;
		};
		section@1 {
			read-only;

			/* Padding for the section uses the 0x26 pad byte */
			align = <2>;
			align-size = <0x10>;

			/* Set the padding byte for entries, i.e. u-boot */
			pad-byte = <0x21>;

			fill {
				size = <1>;
			};

			u-boot {
				align = <4>;
				align-size = <8>;
			};
		};
	};
};