diff options
author | stefanct <stefanct@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1> | 2015-06-28 13:31:19 +0000 |
---|---|---|
committer | stefanct <stefanct@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1> | 2015-06-28 13:31:19 +0000 |
commit | 61af83ddf715904fe8ffb93c5b66bcbd0504b7a4 (patch) | |
tree | 887b1ab921ef9ca47f8197eb394caf18876f4cb6 /serprog.c | |
parent | 3f58ef952e55ae2c560732439d11bf4ee4672b8f (diff) | |
download | flashrom-61af83ddf715904fe8ffb93c5b66bcbd0504b7a4.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
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>
git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@1894 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'serprog.c')
0 files changed, 0 insertions, 0 deletions