summaryrefslogtreecommitdiff
path: root/baseboard/guybrush
diff options
context:
space:
mode:
authorRob Barnes <robbarnes@google.com>2021-01-22 12:55:46 -0700
committerCommit Bot <commit-bot@chromium.org>2021-01-25 16:58:22 +0000
commiteb3d6b6b4f857f6525d1fa251ef22b8dc342f09d (patch)
tree68eb8eec2d62fc32224c6ed05a6149def6e3a4a6 /baseboard/guybrush
parentd032dc3c0eda33a3e0361e6f4794fc8e70e915ae (diff)
downloadchrome-ec-eb3d6b6b4f857f6525d1fa251ef22b8dc342f09d.tar.gz
guybrush: Enable BOARD_RESET_AFTER_POWER_ON
This was required on Zork. It's also needed on guybrush. BUG=None TEST=Build BRANCH=None Signed-off-by: Rob Barnes <robbarnes@google.com> Change-Id: I7a81cd61cff2f39bf4d6a76da9fef5453c2e52dc Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2645074 Reviewed-by: Denis Brockus <dbrockus@chromium.org> Reviewed-by: Diana Z <dzigterman@chromium.org>
Diffstat (limited to 'baseboard/guybrush')
-rw-r--r--baseboard/guybrush/baseboard.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/baseboard/guybrush/baseboard.h b/baseboard/guybrush/baseboard.h
index 5fc1c28eca..f4998580ec 100644
--- a/baseboard/guybrush/baseboard.h
+++ b/baseboard/guybrush/baseboard.h
@@ -44,6 +44,13 @@
#define GPIO_PCH_SYS_PWROK GPIO_EC_SOC_PWR_GOOD
#define GPIO_SYS_RESET_L GPIO_EC_SYS_RST_L
#define GPIO_EN_PWR_A GPIO_EN_PWR_Z1
+/*
+ * On power-on, H1 releases the EC from reset but then quickly asserts and
+ * releases the reset a second time. This means the EC sees 2 resets:
+ * (1) power-on reset, (2) reset-pin reset. This config will
+ * allow the second reset to be treated as a power-on.
+ */
+#define CONFIG_BOARD_RESET_AFTER_POWER_ON
/* Thermal Config */
#define CONFIG_ADC