summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorWard Vandewege <ward@gnu.org>2009-05-14 03:00:15 +0000
committerWard Vandewege <ward@gnu.org>2009-05-14 03:00:15 +0000
commit67befdc22be1b12cf3a29fcef706dd2978bac539 (patch)
treec596148745c8586a30f3f8137ebd30f3654bbc23 /util
parentdf042a18ecb2c7a4605f706a12e78878a1ec1050 (diff)
downloadcoreboot-67befdc22be1b12cf3a29fcef706dd2978bac539.tar.xz
The cbfstool print command should pretty-print the type of components that are
type 'deleted'. Signed-off-by: Ward Vandewege <ward@gnu.org> Acked-by: Peter Stuge <peter@stuge.se> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4284 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util')
-rw-r--r--util/cbfstool/print.c3
1 files changed, 3 insertions, 0 deletions
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;