summaryrefslogtreecommitdiff
path: root/util/nvramtool/common.c
diff options
context:
space:
mode:
authorPatrick Georgi <patrick.georgi@secunet.com>2011-01-21 07:29:40 +0000
committerPatrick Georgi <patrick.georgi@coresystems.de>2011-01-21 07:29:40 +0000
commit202be7b6b7e06597f672426af29649c92353db17 (patch)
treed8b6c8376e522d720be449df5e8872bfada3cc6f /util/nvramtool/common.c
parent269e932340869696abfaeb63736ba887d88ef690 (diff)
downloadcoreboot-202be7b6b7e06597f672426af29649c92353db17.tar.xz
Add nvramtool -D option that allows taking cmos data from
a plain binary file. Overrides using cmos.default in CBFS if both -C and -D are given. 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@6286 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/nvramtool/common.c')
-rw-r--r--util/nvramtool/common.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/util/nvramtool/common.c b/util/nvramtool/common.c
index 03ee16ba16..91fcccc68b 100644
--- a/util/nvramtool/common.c
+++ b/util/nvramtool/common.c
@@ -82,7 +82,8 @@ 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"
+ " -C CBFS_FILE: Use CBFS file for layout and CMOS data.\n"
+ " -D CMOS_FILE: Use CMOS file for CMOS data (overrides CMOS of -C).\n"
" [-n] -r NAME: Show parameter NAME. If -n is given, "
"show value only.\n"
" -e NAME: Show all possible values for parameter "