From 67befdc22be1b12cf3a29fcef706dd2978bac539 Mon Sep 17 00:00:00 2001 From: Ward Vandewege Date: Thu, 14 May 2009 03:00:15 +0000 Subject: The cbfstool print command should pretty-print the type of components that are type 'deleted'. Signed-off-by: Ward Vandewege Acked-by: Peter Stuge git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4284 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- util/cbfstool/print.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'util/cbfstool/print.c') diff --git a/util/cbfstool/print.c b/util/cbfstool/print.c index 234fefb423..146c03f30a 100644 --- a/util/cbfstool/print.c +++ b/util/cbfstool/print.c @@ -57,6 +57,9 @@ int print_handler(struct rom *rom, int argc, char **argv) case CBFS_COMPONENT_NULL: strcpy(type, "free"); break; + case CBFS_COMPONENT_DELETED: + strcpy(type, "deleted"); + break; default: sprintf(type, "0x%8.8x", htonl(c->type)); break; -- cgit v1.2.3