summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaehoon Kim <jh228.kim@samsung.com>2014-01-16 14:55:22 +0900
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2014-01-23 01:52:23 +0000
commitf4818a42b50eaf92379b7364ac43fbbdc23a23e0 (patch)
treecfd8e8dc3555f2e0ed34bd09cd49dac163634c35
parent1a7cd4bae13e9d29125fe6a7d8a50dab23aa425e (diff)
downloadchrome-ec-f4818a42b50eaf92379b7364ac43fbbdc23a23e0.tar.gz
Pit: Remove pwm and power_led task
From DV2 board of pit, we'll use 3 color-LED instead of power LED on keyboard. So, we have to remove pwm and power_led task from pit branch. BUG=chrome-os-partner:24855 TEST=Tested on the pi and pit board about all power status. BRANCH=pit Change-Id: If0cd9e6b7724f4ae20dc04e64911f72c7f4dbd07 Signed-off-by: Jaehoon Kim <jh228.kim@samsung.com> Reviewed-on: https://chromium-review.googlesource.com/182792 Reviewed-by: Randall Spangler <rspangler@chromium.org>
-rw-r--r--board/pit/board.c1
-rw-r--r--board/pit/ec.tasklist1
2 files changed, 0 insertions, 2 deletions
diff --git a/board/pit/board.c b/board/pit/board.c
index 2e4ebb8518..06802b4751 100644
--- a/board/pit/board.c
+++ b/board/pit/board.c
@@ -86,7 +86,6 @@ BUILD_ASSERT(ARRAY_SIZE(gpio_list) == GPIO_COUNT);
/* Pins with alternate functions */
const struct gpio_alt_func gpio_alt_funcs[] = {
- {GPIO_A, 0x0004, GPIO_ALT_TIM2, MODULE_POWER_LED},
{GPIO_A, 0x00f0, GPIO_ALT_SPI, MODULE_SPI},
{GPIO_A, 0x0600, GPIO_ALT_USART, MODULE_UART},
{GPIO_B, 0x0cc0, GPIO_ALT_I2C, MODULE_I2C},
diff --git a/board/pit/ec.tasklist b/board/pit/ec.tasklist
index 448879d105..49887281a1 100644
--- a/board/pit/ec.tasklist
+++ b/board/pit/ec.tasklist
@@ -17,7 +17,6 @@
#define CONFIG_TASK_LIST \
TASK_ALWAYS(HOOKS, hook_task, NULL, TASK_STACK_SIZE) \
TASK_NOTEST(VBOOTHASH, vboot_hash_task, NULL, TASK_STACK_SIZE) \
- TASK_NOTEST(POWERLED, power_led_task, NULL, 256) \
TASK_ALWAYS(CHARGER, charger_task, NULL, TASK_STACK_SIZE) \
TASK_NOTEST(CHIPSET, chipset_task, NULL, TASK_STACK_SIZE) \
TASK_ALWAYS(HOSTCMD, host_command_task, NULL, TASK_STACK_SIZE) \