summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAseda Aboagye <aaboagye@google.com>2018-06-07 18:00:20 -0700
committerchrome-bot <chrome-bot@chromium.org>2018-06-08 16:14:14 -0700
commitf39c9fb0466ab5729aeba13ec4a52079d561f03b (patch)
tree89bb1670b6294192801b236bbefc64577b254ebc /include
parent3846871131d40790efcc9467eb3cfa01b859969e (diff)
downloadchrome-ec-f39c9fb0466ab5729aeba13ec4a52079d561f03b.tar.gz
power: Add CONFIG_* option for PROCHOT polarity.
The common x86 chipset code assumed that CPU_PROCHOT was active high, however on some boards it's actually active low. This commit simply adds a CONFIG_* option, CONFIG_CPU_PROCHOT_IS_ACTIVE_LOW, and inverts the places where the signal is used. BUG=b:109882953 BRANCH=poppy TEST=Enable on nocturne; flash, verify that CPU_PROCHOT is not asserted by default. Change-Id: I6d871e4979b79333cf4897d77c995eadbb34fd43 Signed-off-by: Aseda Aboagye <aaboagye@google.com> Reviewed-on: https://chromium-review.googlesource.com/1092150 Commit-Ready: Aseda Aboagye <aaboagye@chromium.org> Tested-by: Aseda Aboagye <aaboagye@chromium.org> Reviewed-by: Edward Hill <ecgh@chromium.org>
Diffstat (limited to 'include')
-rw-r--r--include/config.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h
index fe9e084261..b42a6e54d1 100644
--- a/include/config.h
+++ b/include/config.h
@@ -2325,6 +2325,11 @@
*/
#undef CONFIG_PRINTF_LEGACY_LI_FORMAT
+/*
+ * On x86 systems, define this option if the CPU_PROCHOT signal is active low.
+ */
+#undef CONFIG_CPU_PROCHOT_ACTIVE_LOW
+
/*****************************************************************************/
/* Support PWM control */
#undef CONFIG_PWM