u-boot/tools/binman/test/200_align_default.dts
Simon Glass 5ff9fedc9b binman: Support default alignment for sections
Sometimes it is useful to specify the default alignment for all entries
in a section, such as when word-alignment is necessary, for example. It
is tedious and error-prone to specify this individually for each section.

Add a property to control this for a section.

Signed-off-by: Simon Glass <sjg@chromium.org>
2021-03-27 16:26:48 +13:00

30 lines
297 B
Text

// SPDX-License-Identifier: GPL-2.0+
/dts-v1/;
/ {
#address-cells = <1>;
#size-cells = <1>;
binman {
align-default = <8>;
u-boot {
};
u-boot-align {
type = "u-boot";
};
section {
align = <32>;
u-boot {
};
u-boot-nodtb {
};
};
u-boot-nodtb {
};
};
};