Don't duplicate option description in README, the manpage already has
that info. Also, additional small cosmetic fix. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4196 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
72deb69ce1
commit
a44228c435
|
@ -22,30 +22,10 @@ To build the flashrom utility you need to install the following packages:
|
||||||
* zlib-devel / zlib1g-dev
|
* zlib-devel / zlib1g-dev
|
||||||
|
|
||||||
|
|
||||||
Usage
|
Usage / Options
|
||||||
-----
|
---------------
|
||||||
|
|
||||||
$ flashrom [-rwvEVfLhR] [-c chipname] [-s exclude_start] [-e exclude_end]
|
Please see the flashrom(8) manpage.
|
||||||
[-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)
|
|
||||||
|
|
||||||
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
|
Exit status
|
||||||
|
|
|
@ -108,8 +108,7 @@ int show_id(uint8_t *bios, int size, int force)
|
||||||
*/
|
*/
|
||||||
if (!strcasecmp(mainboard_vendor, lb_vendor) &&
|
if (!strcasecmp(mainboard_vendor, lb_vendor) &&
|
||||||
!strcasecmp(mainboard_part, lb_part)) {
|
!strcasecmp(mainboard_part, lb_part)) {
|
||||||
printf_debug("This firmware image matches "
|
printf_debug("This firmware image matches this mainboard.\n");
|
||||||
"this motherboard.\n");
|
|
||||||
} else {
|
} else {
|
||||||
if (force) {
|
if (force) {
|
||||||
printf("WARNING: This firmware image does not "
|
printf("WARNING: This firmware image does not "
|
||||||
|
|
Loading…
Reference in New Issue