u-boot-brain/tools/binman/test/88_expand_size.dts
Simon Glass ba64a0bbb7 binman: Support expanding entries
It is useful to have entries which can grow automatically to fill
available space. Add support for this.

Signed-off-by: Simon Glass <sjg@chromium.org>
2018-09-29 11:49:35 -06:00

44 lines
545 B
Plaintext

// SPDX-License-Identifier: GPL-2.0+
/dts-v1/;
/ {
binman {
size = <40>;
fill {
expand-size;
fill-byte = [61];
size = <0>;
};
u-boot {
offset = <8>;
};
section {
expand-size;
pad-byte = <0x62>;
intel-mrc {
};
};
u-boot2 {
type = "u-boot";
offset = <16>;
};
section2 {
type = "section";
fill {
expand-size;
fill-byte = [63];
size = <0>;
};
u-boot {
offset = <8>;
};
};
fill2 {
type = "fill";
expand-size;
fill-byte = [64];
size = <0>;
};
};
};