]> git.dujemihanovic.xyz Git - u-boot.git/commit
tools: zynqmpimage: add partition extracting
authorBrandon Maier <brandon.maier@collins.com>
Thu, 4 Jan 2024 18:50:08 +0000 (18:50 +0000)
committerMichal Simek <michal.simek@amd.com>
Wed, 10 Jan 2024 08:27:12 +0000 (09:27 +0100)
commitd47935b35fc1126f59b6ddde36597948afbfa66e
treeda5556476d6191a1f68d41af9fe77e14c696840a
parent2ddd0248e9cc8bf1da7c3d42c0bab1f65e859913
tools: zynqmpimage: add partition extracting

Extract partitions from a Xilinx Boot Image using dumpimage.

Add helper for_each_zynqmp_part() to reuse the partition walking code
between the printing and extracting functions.

Signed-off-by: Brandon Maier <brandon.maier@collins.com>
Link: https://lore.kernel.org/r/20240104185258.39465-3-brandon.maier@collins.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
tools/zynqmpimage.c
tools/zynqmpimage.h