diff options
author | Ryan O'Leary <ryanoleary@google.com> | 2019-06-24 19:14:33 -0700 |
---|---|---|
committer | Nico Huber <nico.h@gmx.de> | 2019-11-15 09:29:37 +0000 |
commit | 301ae22b456a040d8944daa0268aa97aa93a517f (patch) | |
tree | 31fcd3538c0d36fa43c392a86fc4c6383809cf0a /util/flashrom_tester/src/rand_util.rs | |
parent | 83c56b870bcf0d241993813b9f695c2118532f7a (diff) | |
download | flashrom-301ae22b456a040d8944daa0268aa97aa93a517f.tar.gz flashrom-301ae22b456a040d8944daa0268aa97aa93a517f.tar.bz2 flashrom-301ae22b456a040d8944daa0268aa97aa93a517f.zip |
dediprog.c: Add id parameter to dediprog programmer
When multiple dediprog programmers are connected, the 'id' parameter
allows you to specify which one to use. The id is a string like SF012345
or DP012345. The value is printed on a sticker on the back of the dediprog.
This is an improvement over the 'device' parameter which is based on
enumeration order and changes when you plug/unplug devices or reboot the
machine.
To find the id without the sticker, run flashrom with the -V option.
This prints the ids as they are enumerated. Alternatively, with dpcmd,
you can use the --list-device-id and --fix-device commands to list and
write device ids respectively.
Note this only supports SF100 at the moment, but SF600 support is
possible with more work.
Change-Id: I4281213ab02131feb5d47bf66118a001cec0d219
Signed-off-by: Ryan O'Leary <ryanoleary@google.com>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/34160
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'util/flashrom_tester/src/rand_util.rs')
0 files changed, 0 insertions, 0 deletions