diff options
author | Randall Spangler <rspangler@chromium.org> | 2013-10-01 14:29:45 -0700 |
---|---|---|
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | 2013-10-07 18:30:45 +0000 |
commit | 90a6676ad531fd8c53e6398050f8093a921245fc (patch) | |
tree | aee8387c1b1416ce46c0bdc34b7a47ffc0f0acaa /include/config.h | |
parent | 57aaa0267ec042d8b36aacf5b3efba12df4e6ec2 (diff) | |
download | chrome-ec-90a6676ad531fd8c53e6398050f8093a921245fc.tar.gz |
cleanup: Move board-specific LED state machines to board dirs
The LED state machine ends up being very board-specific, as does the
specific configuration of LEDs and whether they're PWM'd or just
GPIOs. dparker has some clever ideas for how to move more of the
functionality to common/led_common.c (used at present only by peppy);
that will be done as a follow-on to this CL.
There's a unit test for the spring LED implementation. To keep that
compiling, just use a symlink to the spring-specific implementation.
No code changes; just moving around files.
BUG=chrome-os-partner:18343
BRANCH=none
TEST=build all boards; pass unit tests
Change-Id: I5973e701a29a72575db9a161dc146855ab21cca6
Signed-off-by: Randall Spangler <rspangler@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/171771
Reviewed-by: Bill Richardson <wfrichar@chromium.org>
Diffstat (limited to 'include/config.h')
-rw-r--r-- | include/config.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h index 4c69dd9577..7887c862e2 100644 --- a/include/config.h +++ b/include/config.h @@ -460,6 +460,9 @@ /*****************************************************************************/ +/* Compile support for common LED interface */ +#undef CONFIG_LED_COMMON + /* Compile support for LED driver chip(s) */ #undef CONFIG_LED_DRIVER_DS2413 /* Maxim DS2413, on one-wire interface */ #undef CONFIG_LED_DRIVER_LP5562 /* LP5562, on I2C interface */ |