summaryrefslogtreecommitdiff
path: root/test/nvmem.tasklist
diff options
context:
space:
mode:
authorScott <scollyer@chromium.org>2016-05-17 13:17:23 -0700
committerchrome-bot <chrome-bot@chromium.org>2016-05-26 16:17:27 -0700
commitd80a5837c47de5aa42707bd708f614a6f16e7313 (patch)
treed4c318d9ec9fc8d9e31e2fd67e64d1972b2af958 /test/nvmem.tasklist
parent56ee8aefc33505a7df4e4148001a11ac461907a3 (diff)
downloadchrome-ec-d80a5837c47de5aa42707bd708f614a6f16e7313.tar.gz
NvMem: Added NV Memory module to ec/common/
Full implementation of NvMem read, write, and commit functions. Includes partition definitions, shared memory allocation, and initialization function. Includes a set of unit tests located in ec/test/nvmem.c which verify functionality. This module is required by Cr50, however this CL does not include any Cr50 specific code. BUG=chrome-os-partner:44745 BRANCH=none TEST=manual make runtests TEST_LIST_HOST=nvmem and verify that all tests pass Change-Id: I515b094f2179dbcb75dd11ab5b14434caad37edd Signed-off-by: Scott <scollyer@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/345632 Commit-Ready: Scott Collyer <scollyer@chromium.org> Tested-by: Scott Collyer <scollyer@chromium.org> Reviewed-by: Bill Richardson <wfrichar@chromium.org>
Diffstat (limited to 'test/nvmem.tasklist')
-rw-r--r--test/nvmem.tasklist17
1 files changed, 17 insertions, 0 deletions
diff --git a/test/nvmem.tasklist b/test/nvmem.tasklist
new file mode 100644
index 0000000000..30e5f7fc22
--- /dev/null
+++ b/test/nvmem.tasklist
@@ -0,0 +1,17 @@
+/* Copyright 2016 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