summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxiaoqiang.zhu <xiaoqiang.zhu@bitland.corp-partner.google.com>2020-02-18 19:01:10 +0800
committerCommit Bot <commit-bot@chromium.org>2020-02-18 21:07:07 +0000
commita01ed4ae3cb0a02563846be3a13f8f4f099d9fc1 (patch)
treef81a5116b82cd04b45b948b1c91c0af07a77b2ab
parent4500da84a09bbfc5f95e987e97112860d37c6551 (diff)
downloadchrome-ec-a01ed4ae3cb0a02563846be3a13f8f4f099d9fc1.tar.gz
akemi: remove CONFIG_SYSTEM_UNLOCKED, enable CONFIG_USB_PD_COMM_LOCKED
Remove the CONFIG_SYSTEM_UNLOCKED option configurations and enable CONFIG_USB_PD_COMM_LOCKED as the device is going to ship. BRANCH=hatch BUG=b:149708496 TEST=flash on akemi and PD communication did not negotiate (when WP was asserted)in RO but did RW. Change-Id: I17db430c5599a5f51168f946c2e264e5b88e0795 Signed-off-by: xiaoqiang.zhu <xiaoqiang.zhu@bitland.corp-partner.google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2062108 Reviewed-by: Paul Fagerburg <pfagerburg@chromium.org> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Commit-Queue: Tim Wawrzynczak <twawrzynczak@chromium.org> Commit-Queue: Paul Fagerburg <pfagerburg@chromium.org> Tested-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
-rw-r--r--board/akemi/board.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/board/akemi/board.h b/board/akemi/board.h
index 7095b75aa9..85d898b566 100644
--- a/board/akemi/board.h
+++ b/board/akemi/board.h
@@ -11,9 +11,6 @@
/* Baseboard features */
#include "baseboard.h"
-/* Optional features */
-#define CONFIG_SYSTEM_UNLOCKED /* Allow dangerous commands while in dev. */
-
#define CONFIG_POWER_BUTTON
#define CONFIG_KEYBOARD_BOARD_CONFIG
#define CONFIG_KEYBOARD_PROTOCOL_8042
@@ -44,6 +41,7 @@
#define CONFIG_LID_ANGLE_UPDATE
/* USB Type C and USB PD defines */
+#define CONFIG_USB_PD_COMM_LOCKED
#define CONFIG_USB_PD_TCPM_ANX7447
#define CONFIG_USB_PD_TCPM_ANX7447_AUX_PU_PD
#define CONFIG_USB_PD_TCPM_PS8751