amd/bettong: Fix IS_ENABLED for xHCI
Convert from #if to if(). Change-Id: Icf6db485735cb8bbadb3e742a079d0bafaacd79c Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com> Reviewed-on: https://review.coreboot.org/21060 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
This commit is contained in:
parent
08f7d1ae0d
commit
9e741bb218
|
@ -79,11 +79,11 @@ AGESA_STATUS Fch_Oem_config(UINT32 Func, UINTN FchData, VOID *ConfigPtr)
|
|||
#endif
|
||||
|
||||
/* XHCI configuration */
|
||||
#if IS_ENABLED(CONFIG_HUDSON_XHCI_ENABLE)
|
||||
FchParams_env->Usb.Xhci0Enable = TRUE;
|
||||
#else
|
||||
FchParams_env->Usb.Xhci0Enable = FALSE;
|
||||
#endif
|
||||
if (IS_ENABLED(CONFIG_HUDSON_XHCI_ENABLE))
|
||||
FchParams_env->Usb.Xhci0Enable = TRUE;
|
||||
else
|
||||
FchParams_env->Usb.Xhci0Enable = FALSE;
|
||||
|
||||
FchParams_env->Usb.Xhci1Enable = FALSE;
|
||||
FchParams_env->Usb.USB30PortInit = 8; /* 8: If USB3 port is unremoveable. */
|
||||
|
||||
|
|
Loading…
Reference in New Issue