]> git.dujemihanovic.xyz Git - u-boot.git/commit
tools: zynqmpimage: print all partition sizes
authorBrandon Maier <brandon.maier@collins.com>
Thu, 4 Jan 2024 18:50:07 +0000 (18:50 +0000)
committerMichal Simek <michal.simek@amd.com>
Wed, 10 Jan 2024 08:27:12 +0000 (09:27 +0100)
commit2ddd0248e9cc8bf1da7c3d42c0bab1f65e859913
tree4834f0184bd7500c1d33ab8a3f594c0b315e2f35
parent85acf83a09583e472538c23c6a2d23176135485f
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: Brandon Maier <brandon.maier@collins.com>
Link: https://lore.kernel.org/r/20240104185258.39465-2-brandon.maier@collins.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
tools/zynqmpimage.c