summaryrefslogtreecommitdiffstats
path: root/satasii.c
diff options
context:
space:
mode:
authorDavid Hendricks <dhendrix@chromium.org>2016-02-18 21:42:41 +0000
committerStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>2016-02-18 21:42:41 +0000
commit3bec0d385dec2b6c7a7df0e5c0cd03803c059a91 (patch)
tree89f3c8aaf6ec9e21faa98c486649e24a6983c323 /satasii.c
parent659fd0f7975494e8a187bff1b0233c32710cfe44 (diff)
downloadflashrom-3bec0d385dec2b6c7a7df0e5c0cd03803c059a91.zip
flashrom-3bec0d385dec2b6c7a7df0e5c0cd03803c059a91.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 'satasii.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud