summaryrefslogtreecommitdiff
path: root/tools/binman/test
diff options
context:
space:
mode:
authorNeha Malcom Francis <[email protected]>2023-10-23 13:31:02 +0530
committerTom Rini <[email protected]>2023-11-02 22:38:01 -0400
commita4ed4c8a51435a63ca79e6d7bca317eff30e9ed3 (patch)
tree3f7b67d908d19df30ff99758f6e817815b374ee7 /tools/binman/test
parentad8dbabc22fa75163450bb81056f71befe02621f (diff)
binman: openssl: x509: ti_secure_rom: Add support for bootcore_opts
According to the TRMs of K3 platform of devices, the ROM boot image format specifies a "Core Options Field" that provides the capability to set the boot core in lockstep when set to 0 or to split mode when set to 2. Add support for providing the same from the binman DTS. Also modify existing test case for ensuring future coverage. Signed-off-by: Neha Malcom Francis <[email protected]> Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'tools/binman/test')
-rw-r--r--tools/binman/test/297_ti_secure_rom.dts1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/binman/test/297_ti_secure_rom.dts b/tools/binman/test/297_ti_secure_rom.dts
index d1313769f43..1a3eca94255 100644
--- a/tools/binman/test/297_ti_secure_rom.dts
+++ b/tools/binman/test/297_ti_secure_rom.dts
@@ -9,6 +9,7 @@
binman {
ti-secure-rom {
content = <&unsecure_binary>;
+ core-opts = <2>;
};
unsecure_binary: blob-ext {
filename = "ti_unsecure.bin";