fsp_broadwell_de: Add option to enable EHCI controllers

Change-Id: I74ee9448923015ac5ec3eec770669f3491a375ba
Signed-off-by: David Hendricks <dhendricks@fb.com>
Reviewed-on: https://review.coreboot.org/26042
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@gmail.com>
This commit is contained in:
David Hendricks 2018-04-25 16:47:45 -07:00 committed by David Hendricks
parent 8abd7072f6
commit 99d3ef85cf
2 changed files with 23 additions and 0 deletions

View file

@ -107,3 +107,15 @@ config FSP_HYPERTHREADING
default y
help
Enable Intel(r) Hyper-Threading Technology for the Broadwell-DE SoC.
config FSP_EHCI1_ENABLE
bool "EHCI1 Enable"
default n
help
Enable EHCI controller 1
config FSP_EHCI2_ENABLE
bool "EHCI2 Enable"
default n
help
Enable EHCI controller 2

View file

@ -105,6 +105,17 @@ static void ConfigureDefaultUpdData(UPD_DATA_REGION *UpdData)
UpdData->HyperThreading = 1;
else
UpdData->HyperThreading = 0;
/* Enable USB */
if (IS_ENABLED(CONFIG_FSP_EHCI1_ENABLE))
UpdData->Ehci1Enable = 1;
else
UpdData->Ehci1Enable = 0;
if (IS_ENABLED(CONFIG_FSP_EHCI2_ENABLE))
UpdData->Ehci2Enable = 1;
else
UpdData->Ehci2Enable = 0;
}
/* Set up the Broadwell-DE specific structures for the call into the FSP */