u-boot/tools/binman/test/088_extend_size.dts
Simon Glass 80a66ae646 binman: Rename ExpandToLimit to extend_to_limit
The word 'expand' is used for entries which generate subentries. It is
also used for entries that can have an '_expanded' version which is used
to break out its contents.

Rather than talking about expanding an entry's size, use the term
'extending'. It is slightly more precise and avoids the above conflicts.

This change renders the old 'expand-size' property invalid, so add an
error check for that.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
2022-03-18 19:24:25 -06:00

43 lines
545 B
Text

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