aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/amd/parmer/BiosCallOuts.c
diff options
context:
space:
mode:
authorDave Frodin <dave.frodin@se-eng.com>2013-06-13 17:30:48 -0600
committerStefan Reinauer <stefan.reinauer@coreboot.org>2013-06-17 21:45:39 +0200
commit0fd6a65243e184e4cdef6c04e20f5d4aeab514aa (patch)
tree96ee93df49cfc22adad25e93a6c4158f93aa77a0 /src/mainboard/amd/parmer/BiosCallOuts.c
parent1fa1904e53cd009b1031948f34caa38ae9bcf23f (diff)
Add support for XHCI (USB 3.0)
CONFIG_HUDSON_XHCI_ENABLE will control the XHCI flags in the amd/parmer and asus/f2a85-m mainboards. The XHCI ports on amd/thatcher are not wired to USB jacks so always disable the flags. This was tested on amd/parmer using a USB 3.0 thumbdrive. Change-Id: I596b040fec30882d8d4dee34ab9f866dc1f8896b Signed-off-by: Dave Frodin <dave.frodin@se-eng.com> Reviewed-on: http://review.coreboot.org/3465 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/mainboard/amd/parmer/BiosCallOuts.c')
-rw-r--r--src/mainboard/amd/parmer/BiosCallOuts.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mainboard/amd/parmer/BiosCallOuts.c b/src/mainboard/amd/parmer/BiosCallOuts.c
index 9592c9de17..ba33b85b47 100644
--- a/src/mainboard/amd/parmer/BiosCallOuts.c
+++ b/src/mainboard/amd/parmer/BiosCallOuts.c
@@ -293,6 +293,14 @@ AGESA_STATUS Fch_Oem_config(UINT32 Func, UINT32 FchData, VOID *ConfigPtr)
/* Fan Control */
oem_fan_control(FchParams_env);
+ /* XHCI configuration */
+#if CONFIG_HUDSON_XHCI_ENABLE
+ FchParams_env->Usb.Xhci0Enable = TRUE;
+#else
+ FchParams_env->Usb.Xhci0Enable = FALSE;
+#endif
+ FchParams_env->Usb.Xhci1Enable = FALSE;
+
/* sata configuration */
}
printk(BIOS_DEBUG, "Done\n");