Define gpio polarity values in one place.

No need to define these everywhere, one place will serve all uses.

BUG=none
TEST=compiled various targets without any problem

Change-Id: Iabf31baad6049c758e078727ba3ebe830c3c7684
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/210921
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
Vadim Bendebury 2014-08-01 14:36:26 -07:00 committed by chrome-internal-fetch
commit 0d7cb58eba
27 changed files with 4 additions and 70 deletions

View file

@ -197,6 +197,10 @@ struct lb_framebuffer {
#define LB_TAG_GPIO 0x0013
/* Values for the polarity field below. */
#define ACTIVE_LOW 0
#define ACTIVE_HIGH 1
struct lb_gpio {
uint32_t port;
uint32_t polarity;