mirror of
https://github.com/smaeul/u-boot.git
synced 2025-09-15 14:36:03 +01:00
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>
27 lines
279 B
Plaintext
27 lines
279 B
Plaintext
// 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";
|
|
};
|
|
};
|
|
};
|