mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-14 08:43:22 +09:00
8001d0b162
Switch to str.startswith for matching like the FIT etype does since the current version doesn't ignore 'hash-1', 'hash-2', etc. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
41 lines
534 B
Plaintext
41 lines
534 B
Plaintext
// SPDX-License-Identifier: GPL-2.0+
|
|
|
|
/dts-v1/;
|
|
|
|
/ {
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
|
|
binman {
|
|
section@0 {
|
|
u-boot {
|
|
};
|
|
hash {
|
|
algo = "sha256";
|
|
};
|
|
signature {
|
|
algo = "sha256,rsa2048";
|
|
key-name-hint = "dev";
|
|
};
|
|
};
|
|
section@1 {
|
|
u-boot {
|
|
};
|
|
hash-1 {
|
|
algo = "sha1";
|
|
};
|
|
hash-2 {
|
|
algo = "sha256";
|
|
};
|
|
signature-1 {
|
|
algo = "sha1,rsa2048";
|
|
key-name-hint = "dev";
|
|
};
|
|
signature-2 {
|
|
algo = "sha256,rsa2048";
|
|
key-name-hint = "dev";
|
|
};
|
|
};
|
|
};
|
|
};
|