summaryrefslogtreecommitdiffstats
path: root/serprog.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-06-28 13:31:19 +0000
committerStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>2015-06-28 13:31:19 +0000
commit25e9f40e21e715e4ee6183a42c8521406f91b258 (patch)
tree887b1ab921ef9ca47f8197eb394caf18876f4cb6 /serprog.c
parent0a5f6e43d15c50409eb49369895ba2a56a173d47 (diff)
downloadast2050-flashrom-25e9f40e21e715e4ee6183a42c8521406f91b258.zip
ast2050-flashrom-25e9f40e21e715e4ee6183a42c8521406f91b258.tar.gz
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 'serprog.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud