u-boot/tools/binman/test/338_symbols_comp.dts
Simon Glass a96dda1a70 binman: Allow image_pos to be None when writing symbols
Some images do not have an image_pos value, for example an image which
is part of a compressed section and therefore cannot be accessed
directly.

Handle this case, returning None as the value.

Signed-off-by: Simon Glass <sjg@chromium.org>
2024-09-26 12:40:30 +02:00

26 lines
279 B
Text

// SPDX-License-Identifier: GPL-2.0+
/dts-v1/;
/ {
#address-cells = <1>;
#size-cells = <1>;
binman {
pad-byte = <0xff>;
u-boot-spl {
};
section {
offset = <0x1c>;
compress = "lz4";
u-boot {
};
};
u-boot-spl2 {
type = "u-boot-spl";
};
};
};