summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChris Ching <chingcodes@google.com>2017-10-11 16:33:24 -0600
committerchrome-bot <chrome-bot@chromium.org>2017-10-13 21:55:20 -0700
commit8373a0f86c24f17bdc21fff0f59044828923c49d (patch)
tree4d1603c8731660d66ac015ddd5057e45bc29f50a /include
parent2e1ec23353c758a7553c86bfd224b3364f6504a6 (diff)
downloadchrome-ec-8373a0f86c24f17bdc21fff0f59044828923c49d.tar.gz
[fan] Add CONFIG_FAN_SPEED option to override EC fan speed
Fans will be initialed at the given RPM, and not the max speed. Changed kahlee to use new method and set speed to ~50%, down from 75% BUG=b:67055475 TEST=run on kahlee board BRANCH=none Change-Id: Iad40a58b531f46ac80572b47aef9378b47222be1 Signed-off-by: Chris Ching <chingcodes@google.com> Reviewed-on: https://chromium-review.googlesource.com/714386 Commit-Ready: Chris Ching <chingcodes@chromium.org> Tested-by: Chris Ching <chingcodes@chromium.org> Reviewed-by: Chris Ching <chingcodes@chromium.org>
Diffstat (limited to 'include')
-rw-r--r--include/config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h
index 876ff4f5e8..5a176670c7 100644
--- a/include/config.h
+++ b/include/config.h
@@ -1048,6 +1048,9 @@
/* Number of cooling fans. Undef if none. */
#undef CONFIG_FANS
+/* Percentage to which all fans are set at initiation */
+#define CONFIG_FAN_INIT_SPEED 100
+
/* Support fan control while in low-power idle */
#undef CONFIG_FAN_DSLEEP