aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladimir Serbinenko <phcoder@gmail.com>2023-09-29 14:25:06 +0200
committerMartin L Roth <gaumless@gmail.com>2024-03-27 14:00:56 +0000
commit08562ba9b470c838848553d782d7200e6b0490b7 (patch)
tree659a56396898bed7688bddd4b394706985b78a6d
parentfc95c94d810c8dd183142516e30538b4c6a9ff47 (diff)
cbfstool: Add printing of legacy stage type
This is useful for listing older images. Change-Id: I588028d4327f59538f7c9920b671458fc631cb4c Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/81504 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Julius Werner <jwerner@chromium.org>
-rw-r--r--util/cbfstool/cbfs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/cbfstool/cbfs.h b/util/cbfstool/cbfs.h
index eca7168787..3336e08930 100644
--- a/util/cbfstool/cbfs.h
+++ b/util/cbfstool/cbfs.h
@@ -31,6 +31,7 @@ static const struct typedesc_t types_cbfs_compression[] = {
static struct typedesc_t filetypes[] unused = {
{CBFS_TYPE_BOOTBLOCK, "bootblock"},
{CBFS_TYPE_CBFSHEADER, "cbfs header"},
+ {CBFS_TYPE_LEGACY_STAGE, "legacy stage"},
{CBFS_TYPE_STAGE, "stage"},
{CBFS_TYPE_SELF, "simple elf"},
{CBFS_TYPE_FIT_PAYLOAD, "fit_payload"},