amd/gardenia: Fix IS_ENABLED for xHCI
Convert from #if to if(). Change-Id: I7c149856da22b72d2a83bd7f06d031df328dbb35 Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com> Reviewed-on: https://review.coreboot.org/20745 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
6d2cbb9e58
commit
87863fd692
|
@ -97,11 +97,10 @@ AGESA_STATUS Fch_Oem_config(UINT32 Func, UINTN FchData, VOID *ConfigPtr)
|
|||
#endif
|
||||
|
||||
/* XHCI configuration */
|
||||
#if IS_ENABLED(CONFIG_STONEYRIDGE_XHCI_ENABLE)
|
||||
FchParams_env->Usb.Xhci0Enable = TRUE;
|
||||
#else
|
||||
FchParams_env->Usb.Xhci0Enable = FALSE;
|
||||
#endif
|
||||
if (IS_ENABLED(CONFIG_STONEYRIDGE_XHCI_ENABLE))
|
||||
FchParams_env->Usb.Xhci0Enable = TRUE;
|
||||
else
|
||||
FchParams_env->Usb.Xhci0Enable = FALSE;
|
||||
FchParams_env->Usb.Xhci1Enable = FALSE;
|
||||
/* 8: If USB3 port is unremoveable. */
|
||||
FchParams_env->Usb.USB30PortInit = 8;
|
||||
|
|
Loading…
Reference in New Issue