diff options
Diffstat (limited to 'src/ec/google/chromeec/ec.c')
-rw-r--r-- | src/ec/google/chromeec/ec.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ec/google/chromeec/ec.c b/src/ec/google/chromeec/ec.c index fbb0033d59..8fdfbfbb28 100644 --- a/src/ec/google/chromeec/ec.c +++ b/src/ec/google/chromeec/ec.c @@ -1181,6 +1181,11 @@ int google_chromeec_get_pd_port_caps(int port, void google_chromeec_init(void) { google_chromeec_log_uptimeinfo(); + + /* Enable automatic fan control */ + if (CONFIG(EC_GOOGLE_CHROMEEC_AUTO_FAN_CTRL)) { + ec_cmd_thermal_auto_fan_ctrl(PLAT_EC); + } } int google_ec_running_ro(void) |