mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-12 15:53:21 +09:00
![Simon Glass](/assets/img/avatar_default.png)
This method is supposed to return the contents of an entry. However at present there is no check that it actually does. Also some implementations do not return 'True' to indicate success, as required. Add a check for things working as expected, and correct the implementations. This requires some additional test cases to cover things which were missed originally. Add these at the same time. Signed-off-by: Simon Glass <sjg@chromium.org>
37 lines
556 B
Plaintext
37 lines
556 B
Plaintext
// SPDX-License-Identifier: GPL-2.0+
|
|
|
|
/dts-v1/;
|
|
|
|
/ {
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
|
|
binman {
|
|
sort-by-pos;
|
|
end-at-4gb;
|
|
size = <0x200>;
|
|
u-boot-spl-with-ucode-ptr {
|
|
};
|
|
|
|
/*
|
|
* Microcode goes before the DTB which contains it, so binman
|
|
* will need to obtain the contents of the next section before
|
|
* obtaining the contents of this one.
|
|
*/
|
|
u-boot-ucode {
|
|
};
|
|
|
|
u-boot-dtb-with-ucode {
|
|
};
|
|
};
|
|
|
|
microcode {
|
|
update@0 {
|
|
data = <0x12345678 0x12345679>;
|
|
};
|
|
update@1 {
|
|
data = <0xabcd0000 0x78235609>;
|
|
};
|
|
};
|
|
};
|