summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWai-Hong Tam <waihong@google.com>2021-05-10 10:39:31 -0700
committerCommit Bot <commit-bot@chromium.org>2021-05-10 20:12:25 +0000
commit5dcd28da187fd3a2a92d97443e27cb393cacfcd2 (patch)
tree012a8aa92fb5b590af44b182493b5d16237eef38
parentf534a64194bdf9320d6f243f8ebbb770ab51db79 (diff)
downloadchrome-ec-5dcd28da187fd3a2a92d97443e27cb393cacfcd2.tar.gz
Coachz: Enable the basestate console command
The basestate console command is used by tests to emulate the base detach or attach state. Enable it to pass the tests. BRANCH=Trogdor BUG=b:174295396 TEST=Run the basestate to emulate the attach and detach states. Change-Id: I49f7b135873dd821d533088b320bfcadafc85659 Signed-off-by: Wai-Hong Tam <waihong@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2884608 Reviewed-by: Matthias Kaehlcke <mka@chromium.org>
-rw-r--r--board/coachz/board.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/coachz/board.h b/board/coachz/board.h
index ddc6df1e10..f645636214 100644
--- a/board/coachz/board.h
+++ b/board/coachz/board.h
@@ -51,6 +51,8 @@
#define CONFIG_GMR_TABLET_MODE
#define CONFIG_FRONT_PROXIMITY_SWITCH
+#define CONFIG_DETACHABLE_BASE
+
/* GPIO alias */
#define GPIO_AC_PRESENT GPIO_CHG_ACOK_OD
#define GPIO_WP_L GPIO_EC_FLASH_WP_ODL