]> git.dujemihanovic.xyz Git - u-boot.git/commit
cmd: fwu: make changes for supporting FWU metadata version 2
authorSughosh Ganu <sughosh.ganu@linaro.org>
Fri, 22 Mar 2024 10:57:27 +0000 (16:27 +0530)
committerTom Rini <trini@konsulko.com>
Fri, 24 May 2024 19:40:04 +0000 (13:40 -0600)
commit7cfe0d8a4885ec62b21d3173da4863420f2a9b00
tree995f0bbcdb39f93d64a635199e66ee13c659c1a8
parent8ee8b9c900e350464ab2337ce0b0a7b2aa71f0f3
cmd: fwu: make changes for supporting FWU metadata version 2

Add support for displaying data specific to FWU metadata version
2. Because the size of the v2 metadata structure is read from the
structure itself, allocate memory for the metadata structure by first
getting the size of the structure.

Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org>
Tested-by: Michal Simek <michal.simek@amd.com>
cmd/fwu_mdata.c