summaryrefslogtreecommitdiff
path: root/board/rammus/board.h
diff options
context:
space:
mode:
authorFurquan Shaikh <furquan@google.com>2018-11-23 23:27:59 -0800
committerchrome-bot <chrome-bot@chromium.org>2018-11-29 04:31:50 -0800
commitf3c205e9b4bcd391c7eeb633e424f06c20aed99e (patch)
tree7796d068f7cf7eea5a71fee3906631a590080b2f /board/rammus/board.h
parent625a4d856d767c3226e6869f5d38ca3c70b2b95c (diff)
downloadchrome-ec-f3c205e9b4bcd391c7eeb633e424f06c20aed99e.tar.gz
motion_lid: Use CONFIG_TABLET_MODE
This change updates motion_lid driver to use CONFIG_TABLET_MODE to decide if device requires reporting of tablet mode. This basically makes the config options CONFIG_LID_ANGLE_INVALID_CHECK and CONFIG_LID_ANGLE_TABLET_MODE obsolete. Now that EC will always report tablet mode aligned with Chrome (at 180 degree), any device that supports tablet mode and uses motion lid driver will require this by default and should not require boards to individually select any special config options. Thus, it also gets rid of unused CONFIG_LID_ANGLE_TABLET_MODE and CONFIG_LID_ANGLE_INVALID_CHECK. BUG=b:120050761 BRANCH=octopus TEST=make -j buildall Change-Id: Ib73af66ca1c17d4033cf54f0b4b86bf41793f3a3 Signed-off-by: Furquan Shaikh <furquan@google.com> Reviewed-on: https://chromium-review.googlesource.com/1350470 Commit-Ready: Furquan Shaikh <furquan@chromium.org> Tested-by: Furquan Shaikh <furquan@chromium.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Jett Rink <jettrink@chromium.org>
Diffstat (limited to 'board/rammus/board.h')
-rw-r--r--board/rammus/board.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/board/rammus/board.h b/board/rammus/board.h
index 22686ba34e..dec50b87d1 100644
--- a/board/rammus/board.h
+++ b/board/rammus/board.h
@@ -122,8 +122,6 @@
#define CONFIG_LID_ANGLE_SENSOR_BASE BASE_ACCEL
#define CONFIG_LID_ANGLE_SENSOR_LID LID_ACCEL
#define CONFIG_LID_ANGLE_UPDATE
-#define CONFIG_LID_ANGLE_TABLET_MODE
-#define CONFIG_LID_ANGLE_INVALID_CHECK
/* FIFO size is in power of 2. */
#define CONFIG_ACCEL_FIFO 512