summaryrefslogtreecommitdiff
path: root/board/nautilus
diff options
context:
space:
mode:
authorFurquan Shaikh <furquan@google.com>2018-11-01 14:37:35 -0700
committerchrome-bot <chrome-bot@chromium.org>2018-11-15 02:16:02 -0800
commit6399ef86c6a15e98e54de41e3ed0a0c0f1b4f5c1 (patch)
tree38b6e1c32521442ddd7a2c331bf8fa94779c59cb /board/nautilus
parent8c506ad9954b783a50d0785a117c28e3949c2695 (diff)
downloadchrome-ec-6399ef86c6a15e98e54de41e3ed0a0c0f1b4f5c1.tar.gz
nautilus: Enable multi-profile DPTF
This change enables multi-profile DPTF by selecting the following config options: 1. CONFIG_DPTF_MULTI_PROFILE: Set appropriate profile number based on mode. 2. CONFIG_DPTF_MOTION_LID_NO_HALL_SENSOR: Indicate board does not have a hall sensor and hence profile numbers are updated by motion_lid driver. CQ-DEPEND=CL:1295851,CL:1295852 BUG=b:117844490 BRANCH=None TEST=make -j buildall Change-Id: Ib6f146d4465e815f7f008cc3e2682e412acc32bb Signed-off-by: Furquan Shaikh <furquan@google.com> Reviewed-on: https://chromium-review.googlesource.com/1313469 Commit-Ready: Furquan Shaikh <furquan@chromium.org> Tested-by: Furquan Shaikh <furquan@chromium.org> Reviewed-by: Duncan Laurie <dlaurie@google.com>
Diffstat (limited to 'board/nautilus')
-rw-r--r--board/nautilus/board.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/nautilus/board.h b/board/nautilus/board.h
index f3c88a9540..221435c5bb 100644
--- a/board/nautilus/board.h
+++ b/board/nautilus/board.h
@@ -21,6 +21,8 @@
#define CONFIG_BOARD_FORCE_RESET_PIN
#define CONFIG_CASE_CLOSED_DEBUG_EXTERNAL
#define CONFIG_DPTF
+#define CONFIG_DPTF_MOTION_LID_NO_HALL_SENSOR
+#define CONFIG_DPTF_MULTI_PROFILE
#define CONFIG_FLASH_SIZE 0x80000
#define CONFIG_FPU
#define CONFIG_I2C