Skip to content
Commit 2ddd0248 authored by Brandon Maier's avatar Brandon Maier Committed by Michal Simek
Browse files

tools: zynqmpimage: print all partition sizes



Two of the partition size fields are not printed. Currently only the
"total" size is displayed, which is the size of the image data
(encrypted), padding, expansion, and authentication data. Add the
"unencrypted data" size, which is the original size of the data before
being encrypted. And "encrypted data" size, which is just the encrypted
data.

To avoid printing useless information, only print the encrypted and
unencrypted sizes if they are different from the total.

Signed-off-by: default avatarBrandon Maier <brandon.maier@collins.com>
Link: https://lore.kernel.org/r/20240104185258.39465-2-brandon.maier@collins.com


Signed-off-by: default avatarMichal Simek <michal.simek@amd.com>
parent 85acf83a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment