mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-30 13:58:51 +09:00
![Simon Glass](/assets/img/avatar_default.png)
It is useful to write the position and size of each entry back to the device tree so that U-Boot can access this at runtime. Add a feature to support this, along with associated tests. Signed-off-by: Simon Glass <sjg@chromium.org>
32 lines
387 B
Plaintext
32 lines
387 B
Plaintext
// SPDX-License-Identifier: GPL-2.0+
|
|
/dts-v1/;
|
|
|
|
/ {
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
|
|
binman {
|
|
pad-byte = <0x26>;
|
|
size = <0x28>;
|
|
section@0 {
|
|
read-only;
|
|
name-prefix = "ro-";
|
|
size = <0x10>;
|
|
pad-byte = <0x21>;
|
|
|
|
u-boot {
|
|
};
|
|
};
|
|
section@1 {
|
|
name-prefix = "rw-";
|
|
size = <0x10>;
|
|
pad-byte = <0x61>;
|
|
|
|
u-boot {
|
|
};
|
|
};
|
|
_testing {
|
|
};
|
|
};
|
|
};
|