diff options
author | David Hendricks <dhendrix@chromium.org> | 2016-02-18 21:42:41 +0000 |
---|---|---|
committer | Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> | 2016-02-18 21:42:41 +0000 |
commit | c05900f3dccddb5ffb4f1c9557b2ffc81683ec44 (patch) | |
tree | 89f3c8aaf6ec9e21faa98c486649e24a6983c323 /layout.c | |
parent | 7f3b89fe0260d696cf27d07f9d9ab5402ad23116 (diff) | |
download | flashrom-git-c05900f3dccddb5ffb4f1c9557b2ffc81683ec44.tar.gz |
dediprog: use command 0x0B (set voltage) only on older SF100s
As per e-mail with Dediprog, command 0x0B (which is not listed in the
command spec) is need on older Dediprogs only. SF100 with firmware
V6.0.0 and newer as well as all SF600 programmers do not support it.
The original wording by Dediprog was: "0x0B is used to adjust voltage
level, but it's available for some version of SF100 only. SF100 of
firmware V6.x.x and all version of SF600/SF600Plus not support this
command. If you have old version of SF100, 0x0B is still needed."
This patch renames dediprog_device_init() to something more
appropriate and adds comments for clarity, and only runs it
conditionally if we cannot query the devicestring initially.
Based on ChromiumOS'
Change-Id: I42de7d28401d7ad5be8fcf8a8c165e2614a45960
Corresponding to flashrom svn r1928.
Signed-off-by: David Hendricks <dhendrix@chromium.org>
Acked-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
Diffstat (limited to 'layout.c')
0 files changed, 0 insertions, 0 deletions