summaryrefslogtreecommitdiff
path: root/util/nvramtool/common.c
diff options
context:
space:
mode:
authorPatrick Georgi <patrick.georgi@secunet.com>2011-01-21 07:24:08 +0000
committerPatrick Georgi <patrick.georgi@coresystems.de>2011-01-21 07:24:08 +0000
commit269e932340869696abfaeb63736ba887d88ef690 (patch)
treed37feee820644896be53f8a3e1b909042c414344 /util/nvramtool/common.c
parent9cd7eba1180396cbd91776a94444696f6b4069c4 (diff)
downloadcoreboot-269e932340869696abfaeb63736ba887d88ef690.tar.xz
Add nvramtool -C option that takes a CBFS file as argument.
When using this option, nvramtool looks for a cmos_layout.bin and cmos.default in the image and uses these for layout information and CMOS data. Signed-off-by: Patrick Georgi <patrick.georgi@secunet.com> Acked-by: Stefan Reinauer <stepan@coreboot.org> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6285 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/nvramtool/common.c')
-rw-r--r--util/nvramtool/common.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/nvramtool/common.c b/util/nvramtool/common.c
index 45338ec4de..03ee16ba16 100644
--- a/util/nvramtool/common.c
+++ b/util/nvramtool/common.c
@@ -82,6 +82,7 @@ void usage(FILE * outfile)
"LAYOUT_FILE.\n"
" -t: Use CMOS layout specified by CMOS option "
"table.\n"
+ " -C CBFS_FILE: Use CBFS file for layout and CMOS defaults.\n"
" [-n] -r NAME: Show parameter NAME. If -n is given, "
"show value only.\n"
" -e NAME: Show all possible values for parameter "