diff options
author | Patrick Georgi <pgeorgi@google.com> | 2021-06-14 22:06:14 +0200 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-06-17 17:02:24 +0000 |
commit | 1720d5608109584722d3b7566e8bc1627b14f246 (patch) | |
tree | 3e43c0301e508662032e807b15c9f3921b033b63 /board | |
parent | 1647e911899ffa372d7e6d0fd256e2121dfef1b0 (diff) | |
download | chrome-ec-1720d5608109584722d3b7566e8bc1627b14f246.tar.gz |
npcx7_evb: Disabling fans happens by undefining it
Otherwise the code is compiled in (and then discarded presumably),
just that gcc 11 doesn't like working on zero-sized arrays.
BUG=none
BRANCH=none
TEST=one class of error less with gcc 11
Signed-off-by: Patrick Georgi <pgeorgi@google.com>
Change-Id: Ia68aa138993794941e9cde99dc9d2547d05d7f99
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2959921
Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
Commit-Queue: Patrick Georgi <pgeorgi@chromium.org>
Tested-by: Patrick Georgi <pgeorgi@chromium.org>
Diffstat (limited to 'board')
-rw-r--r-- | board/npcx7_evb/board.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/board/npcx7_evb/board.h b/board/npcx7_evb/board.h index 2ce959cbbb..3b75680eb3 100644 --- a/board/npcx7_evb/board.h +++ b/board/npcx7_evb/board.h @@ -86,7 +86,6 @@ #define CONFIG_AUDIO_CODEC_I2S_RX /* Use Audio front-end for Wake-on-Voice */ #endif #undef CONFIG_FANS /* Remove fan application */ -#define CONFIG_FANS 0 #else #undef CONFIG_HIBERNATE_PSL /* Use PSL (Power Switch Logic) for hibernate */ #undef CONFIG_CLOCK_SRC_EXTERNAL /* Use external 32kHz OSC as LFCLK source */ |