diff options
Diffstat (limited to 'src/lib/decompressor.c')
-rw-r--r-- | src/lib/decompressor.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/decompressor.c b/src/lib/decompressor.c index 8ae9358e6a..1d160e0c60 100644 --- a/src/lib/decompressor.c +++ b/src/lib/decompressor.c @@ -3,6 +3,7 @@ #include <bootblock_common.h> #include <commonlib/bsd/compression.h> #include <delay.h> +#include <metadata_hash.h> #include <program_loading.h> #include <symbols.h> #include <timestamp.h> @@ -42,6 +43,9 @@ void main(void) if (CONFIG(COLLECT_TIMESTAMPS)) arg.base_timestamp = timestamp_get(); + if (CONFIG(CBFS_VERIFICATION)) + arg.metadata_hash_anchor = metadata_hash_export_anchor(); + decompressor_soc_init(); if (CONFIG(COLLECT_TIMESTAMPS)) |