superio/ite/common/env_ctrl.c: fix IS_ENABLED argument
There was CONFIG_ prefix missing in SUPERIO_ITE_ENV_CTRL_FAN16_CONFIG option, this patch fixes it. Signed-off-by: Krystian Hebel <krystian.hebel@3mdeb.com> Change-Id: I52919671569175141560cb73e42344aa1725c112 Reviewed-on: https://review.coreboot.org/c/31674 Reviewed-by: Nico Huber <nico.h@gmx.de> Reviewed-by: Felix Held <felix-coreboot@felixheld.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
49aaff799f
commit
65b514c645
1 changed files with 1 additions and 1 deletions
|
@ -213,7 +213,7 @@ static void enable_fan(const u16 base, const u8 fan,
|
|||
ite_ec_write(base, ITE_EC_FAN_CTL_MODE, reg);
|
||||
}
|
||||
|
||||
if (IS_ENABLED(SUPERIO_ITE_ENV_CTRL_FAN16_CONFIG)
|
||||
if (IS_ENABLED(CONFIG_SUPERIO_ITE_ENV_CTRL_FAN16_CONFIG)
|
||||
&& conf->mode >= FAN_MODE_ON) {
|
||||
reg = ite_ec_read(base, ITE_EC_FAN_TAC_COUNTER_ENABLE);
|
||||
reg |= ITE_EC_FAN_TAC_16BIT_ENABLE(fan);
|
||||
|
|
Loading…
Reference in a new issue