diff options
author | Furquan Shaikh <furquan@google.com> | 2021-03-09 22:57:57 -0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-03-10 20:01:12 +0000 |
commit | 4e54ac0f054d39fd269b164d615ba4d08a357e14 (patch) | |
tree | ed508ac5e075db4749e81b66cc713fa754053172 /baseboard/brya | |
parent | 27683489dcc19460ab49be73b89fd54b8263e320 (diff) | |
download | chrome-ec-4e54ac0f054d39fd269b164d615ba4d08a357e14.tar.gz |
brya: Add workaround for CR50 double reset
This change enables workaround required for cr50 double reset. Copying
commit message from dedede:
Hold the EC on the initial power on until the CR50 resets it; this
preserves the power on flag for the first boot, which is important
when we are deciding if we want to reset the USB-C PD contract.
BUG=b:173575131
BRANCH=None
TEST=make -j buildall
Signed-off-by: Caveh Jalali <caveh@chromium.org>
Signed-off-by: Furquan Shaikh <furquan@google.com>
Change-Id: I2b3411fc540e54ecc185b46f7f9d7e3bb1075847
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2747706
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Commit-Queue: Furquan Shaikh <furquan@chromium.org>
Tested-by: Furquan Shaikh <furquan@chromium.org>
Diffstat (limited to 'baseboard/brya')
-rw-r--r-- | baseboard/brya/baseboard.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/baseboard/brya/baseboard.h b/baseboard/brya/baseboard.h index 54fe22c434..fdf31644d9 100644 --- a/baseboard/brya/baseboard.h +++ b/baseboard/brya/baseboard.h @@ -33,6 +33,9 @@ #define CONFIG_VSTORE #define CONFIG_VSTORE_SLOT_COUNT 1 +/* Work around double CR50 reset by waiting in initial power on. */ +#define CONFIG_BOARD_RESET_AFTER_POWER_ON + /* Host communication */ #define CONFIG_HOSTCMD_ESPI #define CONFIG_HOSTCMD_ESPI_VW_SLP_S4 |