summaryrefslogtreecommitdiff
path: root/test/sbs_charging.tasklist
diff options
context:
space:
mode:
authorRong Chang <rongchang@chromium.org>2013-07-24 08:22:48 -0700
committerChromeBot <chrome-bot@google.com>2013-07-24 13:07:13 -0700
commit6c280b1b324d56416732ff532f0d8d69d2dbdfad (patch)
treeb31a23b435b8174eb4c187cd80c6280257e00528 /test/sbs_charging.tasklist
parent7b95d397feab540fa35d47ce810628e03af34e4b (diff)
downloadchrome-ec-6c280b1b324d56416732ff532f0d8d69d2dbdfad.tar.gz
Move TPSChrome charging temperature range to battery pack
This change moves vendor specific temperature ranges to battery pack files or board setup files. And added a host test case to verify that does not change x86 smart battery charging state machine behavior. BUG=chrome-os-partner:21181 BRANCH=None TEST=manual build test: util/ecmakeall.sh hosttests: make hosttests && make runtests Change-Id: I48e76826b5555f64b78e3c063ce5f02416c72aa2 Signed-off-by: Rong Chang <rongchang@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/62978 Reviewed-by: Vic Yang <victoryang@chromium.org>
Diffstat (limited to 'test/sbs_charging.tasklist')
-rw-r--r--test/sbs_charging.tasklist19
1 files changed, 19 insertions, 0 deletions
diff --git a/test/sbs_charging.tasklist b/test/sbs_charging.tasklist
new file mode 100644
index 0000000000..6ca1e65553
--- /dev/null
+++ b/test/sbs_charging.tasklist
@@ -0,0 +1,19 @@
+/* Copyright (c) 2013 The Chromium OS Authors. All rights reserved.
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+
+/**
+ * List of enabled tasks in the priority order
+ *
+ * The first one has the lowest priority.
+ *
+ * For each task, use the macro TASK_TEST(n, r, d, s) where :
+ * 'n' in the name of the task
+ * 'r' in the main routine of the task
+ * 'd' in an opaque parameter passed to the routine at startup
+ * 's' is the stack size in bytes; must be a multiple of 8
+ */
+#define CONFIG_TEST_TASK_LIST \
+ TASK_TEST(CHARGER, charger_task, NULL, TASK_STACK_SIZE) \
+ TASK_TEST(CHIPSET, chipset_task, NULL, TASK_STACK_SIZE)