summaryrefslogtreecommitdiff
path: root/test/build.mk
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/build.mk
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/build.mk')
-rw-r--r--test/build.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/build.mk b/test/build.mk
index 81efeaf58e..5ff20b3afb 100644
--- a/test/build.mk
+++ b/test/build.mk
@@ -38,7 +38,7 @@ test-list-host+=sbs_charging host_command
test-list-host+=bklight_lid bklight_passthru interrupt timer_dos button
test-list-host+=math_util motion_lid sbs_charging_v2 battery_get_params_smart
test-list-host+=lightbar inductive_charging usb_pd fan charge_manager
-test-list-host+=charge_manager_drp_charging charge_ramp
+test-list-host+=charge_manager_drp_charging charge_ramp nvmem
endif
battery_get_params_smart-y=battery_get_params_smart.o
@@ -63,6 +63,7 @@ lid_sw-y=lid_sw.o
math_util-y=math_util.o
motion_lid-y=motion_lid.o
mutex-y=mutex.o
+nvmem-y=nvmem.o
pingpong-y=pingpong.o
power_button-y=power_button.o
powerdemo-y=powerdemo.o