summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWai-Hong Tam <waihong@google.com>2021-06-10 13:37:08 -0700
committerCommit Bot <commit-bot@chromium.org>2021-06-11 21:27:02 +0000
commit9297ed09e4180cb7cab88cf7a6189030290a5028 (patch)
tree1f9673c08dbd2caa4ac0c06eb34060368c31eb74
parent12d9e14ed6c45c86ddbb12599602708ae32b5cbc (diff)
downloadchrome-ec-9297ed09e4180cb7cab88cf7a6189030290a5028.tar.gz
Homestar: 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:190736240 TEST=Built the image without error. The change has been tested on another device. Should be safe. Change-Id: Ica32802a9c2a2e62b280f83d0275f0c8d873ac81 Signed-off-by: Wai-Hong Tam <waihong@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2953872 Reviewed-by: Ting Shen <phoenixshen@chromium.org>
-rw-r--r--board/homestar/board.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/homestar/board.h b/board/homestar/board.h
index 7506f3d9bc..76acc2c5c4 100644
--- a/board/homestar/board.h
+++ b/board/homestar/board.h
@@ -63,6 +63,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