diff options
author | Simon Glass <sjg@chromium.org> | 2015-06-28 13:31:19 +0000 |
---|---|---|
committer | Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> | 2015-06-28 13:31:19 +0000 |
commit | 25e9f40e21e715e4ee6183a42c8521406f91b258 (patch) | |
tree | 887b1ab921ef9ca47f8197eb394caf18876f4cb6 /opaque.c | |
parent | 0a5f6e43d15c50409eb49369895ba2a56a173d47 (diff) | |
download | flashrom-25e9f40e21e715e4ee6183a42c8521406f91b258.tar.gz flashrom-25e9f40e21e715e4ee6183a42c8521406f91b258.tar.bz2 flashrom-25e9f40e21e715e4ee6183a42c8521406f91b258.zip |
dediprog: Invert the LED polarity in the code
Previously we have used low-active macros (because the hardware and
old protocol were so too) and set every single LED explicitly although we
only used a limited number of combinations. Using an enumeration for
commonly used values instead makes things easier.
Based on the following chromiumos change:
Change-Id: Ie481a583e623cdc45e3649a4db69b15570f65a7b
Corresponding to flashrom svn r1894.
Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
Acked-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
Acked-by: David Hendricks <dhendrix@chromium.org>
Diffstat (limited to 'opaque.c')
0 files changed, 0 insertions, 0 deletions