summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorGwendal Grignou <gwendal@chromium.org>2019-02-26 08:51:20 -0800
committerchrome-bot <chrome-bot@chromium.org>2019-03-01 15:50:35 -0800
commitecde7fe66ceb8f5547b14a8d10ce7f5bf6446b84 (patch)
tree758b05b8b854f48fa3bdda4b1bef7cc134ec2d1d /test
parent39fefe9c75b7401cf4ca8ad4c8397496afb89a6a (diff)
downloadchrome-ec-ecde7fe66ceb8f5547b14a8d10ce7f5bf6446b84.tar.gz
motion: Add config variable to fill LPC sense data
Writing sense data in LPC area is required for: - X86 host - unit tests. Add a CONFIG_ variable to make it explicit. BUG=b:120346412 BRANCH=None TEST=Buildall, emerge-* chromeos-ec Change-Id: Ib3db6ec4e53cba3057162d300de943b6c86bfcfe Signed-off-by: Gwendal Grignou <gwendal@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1491913 Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com> Reviewed-by: Aseda Aboagye <aaboagye@chromium.org> Reviewed-by: Furquan Shaikh <furquan@chromium.org>
Diffstat (limited to 'test')
-rw-r--r--test/test_config.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test_config.h b/test/test_config.h
index 1dfe0a2ffd..63cdfa6a9e 100644
--- a/test/test_config.h
+++ b/test/test_config.h
@@ -69,6 +69,7 @@
#define CONFIG_LID_ANGLE_SENSOR_BASE 0
#define CONFIG_LID_ANGLE_SENSOR_LID 1
#define CONFIG_TABLET_MODE
+#define CONFIG_MOTION_FILL_LPC_SENSE_DATA
#endif
#ifdef TEST_RMA_AUTH