projects
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
899b088
)
cmd: fwu: Also print information about size
author
Michal Simek
<michal.simek@amd.com>
Wed, 5 Jun 2024 14:58:27 +0000
(16:58 +0200)
committer
Heinrich 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
patch
|
blob
|
history
diff --git
a/cmd/fwu_mdata.c
b/cmd/fwu_mdata.c
index 3c8be576ac7ac509959cfe9c3df15549f329413a..9c048d69a131eb34f04dfa78b0a028e4824065c1 100644
(file)
--- 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);