summaryrefslogtreecommitdiff
path: root/board/it8xxx2_pdevb/board.h
diff options
context:
space:
mode:
authorRuibin Chang <ruibin.chang@ite.com.tw>2020-08-05 11:11:21 +0800
committerCommit Bot <commit-bot@chromium.org>2020-08-07 05:05:16 +0000
commitc91b9e81055ede0c67f0126a104bbd9afa703c7c (patch)
tree395089def5a6e42ac9d569cd3325cf704f5e4102 /board/it8xxx2_pdevb/board.h
parent86cdd27102a44b323b0e2dadf0dd72cd7f6e0457 (diff)
downloadchrome-ec-c91b9e81055ede0c67f0126a104bbd9afa703c7c.tar.gz
it8xxx2_pdevb, reef_it8320: enable PD in RO image
Enable PD in RO for TCPMv2 on board it8xxx2_pdevb and reef_it8320 (both are development board). BUG=none BRANCH=none TEST=can run PD functions in RO image. Signed-off-by: Ruibin Chang <ruibin.chang@ite.com.tw> Change-Id: Ia2b61213366c0e38076ad5c52942928ad4bbc3b7 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2334432 Tested-by: Ruibin Chang <Ruibin.Chang@ite.com.tw> Commit-Queue: Ruibin Chang <Ruibin.Chang@ite.com.tw> Reviewed-by: Jett Rink <jettrink@chromium.org>
Diffstat (limited to 'board/it8xxx2_pdevb/board.h')
-rw-r--r--board/it8xxx2_pdevb/board.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/board/it8xxx2_pdevb/board.h b/board/it8xxx2_pdevb/board.h
index 9fe589f169..55c335a9d8 100644
--- a/board/it8xxx2_pdevb/board.h
+++ b/board/it8xxx2_pdevb/board.h
@@ -11,6 +11,13 @@
/* Select Baseboard features */
#include "baseboard.h"
+/*
+ * Enable PD in RO image for TCPMv2, otherwise there is only Type-c functions.
+ * NOTE: This configuration is only for development board and will never be
+ * released on a chrome os device.
+ */
+#define CONFIG_SYSTEM_UNLOCKED
+
/* EC configurations, unnecessarily for PD */
#undef CONFIG_FANS
#undef CONFIG_IT83XX_ENABLE_MOUSE_DEVICE