diff options
author | David Hendricks <dhendricks@fb.com> | 2018-04-25 16:47:45 -0700 |
---|---|---|
committer | David Hendricks <david.hendricks@gmail.com> | 2018-05-05 02:50:33 +0000 |
commit | 99d3ef85cfaa942b0302537a56d95d232e6a237b (patch) | |
tree | ff9011b18ffec9076c43ad466bbe85b1eaeb9ef3 /src/soc/intel/fsp_broadwell_de/fsp/chipset_fsp_util.c | |
parent | 8abd7072f6c3aa47162ef26707ca2a8e227b070c (diff) |
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>
Diffstat (limited to 'src/soc/intel/fsp_broadwell_de/fsp/chipset_fsp_util.c')
-rw-r--r-- | src/soc/intel/fsp_broadwell_de/fsp/chipset_fsp_util.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/soc/intel/fsp_broadwell_de/fsp/chipset_fsp_util.c b/src/soc/intel/fsp_broadwell_de/fsp/chipset_fsp_util.c index 0f9ffa9494..148ffdc367 100644 --- a/src/soc/intel/fsp_broadwell_de/fsp/chipset_fsp_util.c +++ b/src/soc/intel/fsp_broadwell_de/fsp/chipset_fsp_util.c @@ -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 */ |