projects
/
coreboot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df042a1
)
The cbfstool print command should pretty-print the type of components that are
author
Ward Vandewege
<ward@gnu.org>
Thu, 14 May 2009 03:00:15 +0000
(
03:00
+0000)
committer
Ward Vandewege
<ward@gnu.org>
Thu, 14 May 2009 03:00:15 +0000
(
03:00
+0000)
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
util/cbfstool/print.c
patch
|
blob
|
history
diff --git
a/util/cbfstool/print.c
b/util/cbfstool/print.c
index 234fefb423d5530fdd4fb254b4a8821107810af5..146c03f30a8de5502057f834a5751d96367d42b1 100644
(file)
--- 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;