amd/gardenia: Fix IS_ENABLED for fan control
Convert from #if to if(). Change-Id: I50b3ed9ecd5947ff625536b196d90ebd4e8f1c56 Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com> Reviewed-on: https://review.coreboot.org/20746 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
This commit is contained in:
parent
0e4f83e7b0
commit
99428566a6
|
@ -92,9 +92,8 @@ AGESA_STATUS Fch_Oem_config(UINT32 Func, UINTN FchData, VOID *ConfigPtr)
|
||||||
} else if (StdHeader->Func == AMD_INIT_ENV) {
|
} else if (StdHeader->Func == AMD_INIT_ENV) {
|
||||||
FCH_DATA_BLOCK *FchParams_env = (FCH_DATA_BLOCK *)FchData;
|
FCH_DATA_BLOCK *FchParams_env = (FCH_DATA_BLOCK *)FchData;
|
||||||
printk(BIOS_DEBUG, "Fch OEM config in INIT ENV ");
|
printk(BIOS_DEBUG, "Fch OEM config in INIT ENV ");
|
||||||
#if IS_ENABLED(CONFIG_STONEYRIDGE_IMC_FWM)
|
if (IS_ENABLED(CONFIG_STONEYRIDGE_IMC_FWM))
|
||||||
oem_fan_control(FchParams_env);
|
oem_fan_control(FchParams_env);
|
||||||
#endif
|
|
||||||
|
|
||||||
/* XHCI configuration */
|
/* XHCI configuration */
|
||||||
if (IS_ENABLED(CONFIG_STONEYRIDGE_XHCI_ENABLE))
|
if (IS_ENABLED(CONFIG_STONEYRIDGE_XHCI_ENABLE))
|
||||||
|
|
Loading…
Reference in New Issue