summaryrefslogtreecommitdiff
path: root/include/config.h
diff options
context:
space:
mode:
authorAndrew McRae <amcrae@google.com>2019-11-01 15:35:35 +1100
committerCommit Bot <commit-bot@chromium.org>2019-11-02 08:20:02 +0000
commit511a810662b1133860737381103810b33cc96592 (patch)
treea5d641afd5876e7ae5cf256eea6af922789877ae /include/config.h
parent9146a5e4a9eb1e1402ef61b23795b4ead4f17510 (diff)
downloadchrome-ec-511a810662b1133860737381103810b33cc96592.tar.gz
ec-fans: Make fans configuration const by default.
It was pointed out to me that the fans config list was non-const, but there is only 2 boards that require non-const configuration, so by default make it const, but allow an override. BRANCH=none BUG=None TEST=EC compiles, make tests, buildall Change-Id: I3ef8c72f6774e1a76584c47d89287f446199e0f2 Signed-off-by: Andrew McRae <amcrae@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1893025 Reviewed-by: Andrew McRae <amcrae@chromium.org> Tested-by: Andrew McRae <amcrae@chromium.org> Commit-Queue: Andrew McRae <amcrae@chromium.org>
Diffstat (limited to 'include/config.h')
-rw-r--r--include/config.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h
index a6f4af7630..3a2c197a89 100644
--- a/include/config.h
+++ b/include/config.h
@@ -1629,6 +1629,11 @@
#undef CONFIG_FAN_DSLEEP
/*
+ * Fans have non-const configuration.
+ */
+#undef CONFIG_FAN_DYNAMIC
+
+/*
* Replace the default fan_percent_to_rpm() function with a board-specific
* implementation in board.c
*/