diff options
author | ben.chen2@quanta.corp-partner.google.com <ben.chen2@quanta.corp-partner.google.com> | 2019-08-13 13:43:41 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-08-26 03:43:27 +0000 |
commit | 54215f3637f4483b671282bc83f2763229710217 (patch) | |
tree | ad485455ce030c6ebda7a7dce7a677af161f9413 | |
parent | c87d0feabb4060585758dc3179c5fabd727db008 (diff) | |
download | chrome-ec-54215f3637f4483b671282bc83f2763229710217.tar.gz |
Kindred: remove CONFIG_SYSTEM_UNLOCKED, enable CONFIG_USB_PD_COMM_LOCKED
Remove the CONFIG_SYSTEM_UNLOCKED option from some board
configurations and enable CONFIG_USB_PD_COMM_LOCKED.
The main affect of this will be to prevent PD communication in RO.
BRANCH=master
BUG=b:138992459
TEST=flash on kindred and RO did not negotiate (when WP was asserted)
but RW did.
Change-Id: I10fee6005da46a1432e61e1fa79e5b8360b642cc
Signed-off-by: ben.chen2@quanta.corp-partner.google.com
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1751305
Reviewed-by: Philip Chen <philipchen@chromium.org>
Tested-by: David Huang <David.Huang@quantatw.com>
-rw-r--r-- | board/kindred/board.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/board/kindred/board.h b/board/kindred/board.h index 2c6ec6ca9e..c92c558126 100644 --- a/board/kindred/board.h +++ b/board/kindred/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 @@ -43,6 +40,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_PS8751 #define BOARD_TCPC_C0_RESET_HOLD_DELAY ANX74XX_RESET_HOLD_MS |