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:
parent
8abd7072f6
commit
99d3ef85cf
@ -107,3 +107,15 @@ config FSP_HYPERTHREADING
|
|||||||
default y
|
default y
|
||||||
help
|
help
|
||||||
Enable Intel(r) Hyper-Threading Technology for the Broadwell-DE SoC.
|
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
|
||||||
|
@ -105,6 +105,17 @@ static void ConfigureDefaultUpdData(UPD_DATA_REGION *UpdData)
|
|||||||
UpdData->HyperThreading = 1;
|
UpdData->HyperThreading = 1;
|
||||||
else
|
else
|
||||||
UpdData->HyperThreading = 0;
|
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 */
|
/* Set up the Broadwell-DE specific structures for the call into the FSP */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user