diff options
author | Daisuke Nojiri <dnojiri@chromium.org> | 2017-01-30 17:14:59 -0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2017-01-31 19:53:30 -0800 |
commit | 8486e045113b96b53dd93cd91f3fc69cd6b2aceb (patch) | |
tree | e07492d73cc1ce6c46f64cd2bc7eb4cb42e246a0 /board/reef | |
parent | f9368ac88ed41674a04e816e116a73bb9a627bf9 (diff) | |
download | chrome-ec-8486e045113b96b53dd93cd91f3fc69cd6b2aceb.tar.gz |
Reef: Lock EC and PD communication
This patch locks the ec.
This also locks PD communication until sysjump to RW.
We don't want to allow communication to outside world until
we jump to RW. This can by overridden with the removal of
the write protect screw to allow for easier testing.
Electro doesn't operate on 15w power normally but 15w is enough for
recovery process.
BUG=chrome-os-partner:62487,chrome-os-partner:61801
BRANCH=none
TEST=flash -p ec --wp-enable.
Boot, shutdown, suspend, resume, & charge Electro. Run recovery
process with battery 2% charged and a charger on port 0.
Change-Id: I634291c00eb471e24ed2b06444302d9e2e42bbc8
Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/435005
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'board/reef')
-rw-r--r-- | board/reef/board.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/board/reef/board.h b/board/reef/board.h index 86c288a04c..035d078fc7 100644 --- a/board/reef/board.h +++ b/board/reef/board.h @@ -9,12 +9,6 @@ #define __CROS_EC_BOARD_H /* - * Allow dangerous commands. - * TODO: Remove this config before production. - */ -#define CONFIG_SYSTEM_UNLOCKED - -/* * By default, enable all console messages excepted HC, ACPI and event: * The sensor stack is generating a lot of activity. */ @@ -103,6 +97,7 @@ #define CONFIG_USB_PD_TCPM_TCPCI #define CONFIG_USB_PD_TRY_SRC #define CONFIG_USB_POWER_DELIVERY +#define CONFIG_USB_PD_COMM_LOCKED #define CONFIG_USBC_SS_MUX #define CONFIG_USBC_SS_MUX_DFP_ONLY |