[coreboot] [v2] r4196 - trunk/util/flashrom

svn at coreboot.org svn at coreboot.org
Thu Apr 23 16:57:55 CEST 2009


Author: uwe
Date: 2009-04-23 16:57:55 +0200 (Thu, 23 Apr 2009)
New Revision: 4196

Modified:
   trunk/util/flashrom/README
   trunk/util/flashrom/layout.c
Log:
Don't duplicate option description in README, the manpage already has
that info. Also, additional small cosmetic fix.

Signed-off-by: Uwe Hermann <uwe at hermann-uwe.de>
Acked-by: Uwe Hermann <uwe at hermann-uwe.de>



Modified: trunk/util/flashrom/README
===================================================================
--- trunk/util/flashrom/README	2009-04-23 13:41:12 UTC (rev 4195)
+++ trunk/util/flashrom/README	2009-04-23 14:57:55 UTC (rev 4196)
@@ -22,32 +22,12 @@
 * zlib-devel / zlib1g-dev
 
 
-Usage
------
+Usage / Options
+---------------
 
- $ flashrom [-rwvEVfLhR] [-c chipname] [-s exclude_start] [-e exclude_end]
-            [-m [vendor:]part] [-l file.layout] [-i imagename] [file]
-   -r | --read:                      read flash and save into file
-   -w | --write:                     write file into flash (default when
-                                     file is specified)
-   -v | --verify:                    verify flash against file
-   -E | --erase:                     erase flash device
-   -V | --verbose:                   more verbose output
-   -c | --chip <chipname>:           probe only for specified flash chip
-   -s | --estart <addr>:             exclude start position
-   -e | --eend <addr>:               exclude end postion
-   -m | --mainboard <[vendor:]part>: override mainboard settings
-   -f | --force:                     force write without checking image
-   -l | --layout <file.layout>:      read rom layout from file
-   -i | --image <name>:              only flash image name from flash layout
-   -L | --list-supported:            print supported devices
-   -h | --help:                      print this help text
-   -R | --version:                   print the version (release)
+Please see the flashrom(8) manpage.
 
- If no file is specified, then all that happens
- is that flash info is dumped and the flash chip is set to writable.
 
-
 Exit status
 -----------
 

Modified: trunk/util/flashrom/layout.c
===================================================================
--- trunk/util/flashrom/layout.c	2009-04-23 13:41:12 UTC (rev 4195)
+++ trunk/util/flashrom/layout.c	2009-04-23 14:57:55 UTC (rev 4196)
@@ -108,8 +108,7 @@
 	 */
 	if (!strcasecmp(mainboard_vendor, lb_vendor) &&
 	    !strcasecmp(mainboard_part, lb_part)) {
-		printf_debug("This firmware image matches "
-			     "this motherboard.\n");
+		printf_debug("This firmware image matches this mainboard.\n");
 	} else {
 		if (force) {
 			printf("WARNING: This firmware image does not "





More information about the coreboot mailing list