From 90a6676ad531fd8c53e6398050f8093a921245fc Mon Sep 17 00:00:00 2001 From: Randall Spangler Date: Tue, 1 Oct 2013 14:29:45 -0700 Subject: 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 Reviewed-on: https://chromium-review.googlesource.com/171771 Reviewed-by: Bill Richardson --- test/test_config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/test_config.h') diff --git a/test/test_config.h b/test/test_config.h index 3c8f35b75d..9de2e0db8c 100644 --- a/test/test_config.h +++ b/test/test_config.h @@ -27,7 +27,7 @@ #define CONFIG_KEYBOARD_PROTOCOL_8042 #endif -#ifdef TEST_led_lp5562 +#ifdef TEST_led_spring #define CONFIG_BATTERY_MOCK #define CONFIG_BATTERY_SMART #define CONFIG_CHARGER_INPUT_CURRENT 4032 -- cgit v1.2.1