]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
cmd: fwu: Also print information about size
authorMichal Simek <michal.simek@amd.com>
Wed, 5 Jun 2024 14:58:27 +0000 (16:58 +0200)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sun, 30 Jun 2024 11:58:31 +0000 (13:58 +0200)
It is useful when structure is also used for saving vendor data covered
by CRC32.

Signed-off-by: Michal Simek <michal.simek@amd.com>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
cmd/fwu_mdata.c

index 3c8be576ac7ac509959cfe9c3df15549f329413a..9c048d69a131eb34f04dfa78b0a028e4824065c1 100644 (file)
@@ -22,6 +22,7 @@ static void print_mdata(struct fwu_data *data)
        printf("\tFWU Metadata\n");
        printf("crc32: %#x\n", data->crc32);
        printf("version: %#x\n", data->version);
+       printf("size: %#x\n", data->metadata_size);
        printf("active_index: %#x\n", data->active_index);
        printf("previous_active_index: %#x\n", data->previous_active_index);