diff options
author | Michal Simek <michal.simek@amd.com> | 2024-06-05 16:58:27 +0200 |
---|---|---|
committer | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2024-06-30 13:58:31 +0200 |
commit | a53fb767cf62b300a6b975bc174c892bc103be17 (patch) | |
tree | 7cca60398a416a07e3db7e65e2b46156b5e39e1e /cmd | |
parent | 899b088674b6905710ce546f0a8848662904852a (diff) | |
download | u-boot-a53fb767cf62b300a6b975bc174c892bc103be17.zip u-boot-a53fb767cf62b300a6b975bc174c892bc103be17.tar.gz u-boot-a53fb767cf62b300a6b975bc174c892bc103be17.tar.bz2 |
cmd: fwu: Also print information about size
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>
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/fwu_mdata.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/fwu_mdata.c b/cmd/fwu_mdata.c index 3c8be57..9c048d6 100644 --- a/cmd/fwu_mdata.c +++ b/cmd/fwu_mdata.c @@ -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); |