summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2021-09-14 16:31:29 -0400
committerTom Rini <trini@konsulko.com>2021-09-14 16:33:03 -0400
commitc81500065c006e0d6f7824f972738176ef862bad (patch)
tree5d21823d7badf9fdc4ef29decb4e5483d4d36dee
parentc6eac9122f022424f274dede255c793523c25953 (diff)
downloadu-boot-WIP/14Sep2021.tar.gz
test: Enable basic hashes in EFI FIT imagesWIP/14Sep2021
We currently have a problem with crc32 checksums in FIT images now failing, and we did not catch this as it doesn't show up in sandbox nor do we have FIT image tests today that enable crc32. Rectify this by enabling CRC32 hashes in the EFI FIT tests, as these are always run in CI. Signed-off-by: Tom Rini <trini@konsulko.com>
-rw-r--r--test/py/tests/test_efi_fit.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/py/tests/test_efi_fit.py b/test/py/tests/test_efi_fit.py
index 068a35a559..7abab5de52 100644
--- a/test/py/tests/test_efi_fit.py
+++ b/test/py/tests/test_efi_fit.py
@@ -75,6 +75,9 @@ ITS_DATA = '''
compression = "%(efi-comp)s";
load = <0x0>;
entry = <0x0>;
+ hash-1 {
+ algo = "crc32";
+ };
};
fdt {
description = "Test FDT";
@@ -82,6 +85,9 @@ ITS_DATA = '''
type = "flat_dt";
arch = "%(sys-arch)s";
compression = "%(fdt-comp)s";
+ hash-1 {
+ algo = "crc32";
+ };
};
};