summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSiyu Qin <qinsiyu@huaqin.corp-partner.google.com>2021-08-12 14:19:09 +0800
committerCommit Bot <commit-bot@chromium.org>2021-08-18 12:04:24 +0000
commitd30ec2f1ca23782050341e52abf0430f5d8a20f0 (patch)
tree4a642ed0ded3648e58cf377e1f5c2a53ef790a83
parent37f4ef05858fb8fda7927f36af7c51a2a54cbc4d (diff)
downloadchrome-ec-d30ec2f1ca23782050341e52abf0430f5d8a20f0.tar.gz
Mrbland: Remove on-body detection and gesture detection
When import the second source sensor ICM42607, the on-body detection and gesture detection functions will course proccess going to null pointer. Mrbland does not require these features, so just remove the related macro. BUG=b:196287196 BRANCH=trogdor TEST=make BOARD=mrbland Signed-off-by: Siyu Qin <qinsiyu@huaqin.corp-partner.google.com> Change-Id: I7a6be7efe0c57c73ebdad0fb462eea0eb516ad61 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3088969 Reviewed-by: Bob Moragues <moragues@chromium.org> Reviewed-by: Wai-Hong Tam <waihong@google.com>
-rw-r--r--board/mrbland/board.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/board/mrbland/board.h b/board/mrbland/board.h
index 1c3a114a71..3d29ac3686 100644
--- a/board/mrbland/board.h
+++ b/board/mrbland/board.h
@@ -3,21 +3,13 @@
* found in the LICENSE file.
*/
-/* Homestar board configuration */
+/* Mrbland board configuration */
#ifndef __CROS_EC_BOARD_H
#define __CROS_EC_BOARD_H
#include "baseboard.h"
-/* On-body detection */
-#define CONFIG_BODY_DETECTION
-#define CONFIG_BODY_DETECTION_SENSOR LID_ACCEL
-#define CONFIG_BODY_DETECTION_VAR_NOISE_FACTOR 150 /* % */
-#define CONFIG_GESTURE_DETECTION
-#define CONFIG_GESTURE_DETECTION_MASK BIT(CONFIG_BODY_DETECTION_SENSOR)
-#define CONFIG_GESTURE_HOST_DETECTION
-
/* TODO(waihong): Remove the following bringup features */
#define CONFIG_BRINGUP
#define CONFIG_SYSTEM_UNLOCKED /* Allow dangerous commands. */