aboutsummaryrefslogtreecommitdiff
path: root/src/soc/intel/baytrail/ehci.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel/baytrail/ehci.c')
-rw-r--r--src/soc/intel/baytrail/ehci.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/soc/intel/baytrail/ehci.c b/src/soc/intel/baytrail/ehci.c
index 5d1a4d83c5..bfdb61aa1a 100644
--- a/src/soc/intel/baytrail/ehci.c
+++ b/src/soc/intel/baytrail/ehci.c
@@ -96,7 +96,8 @@ static void usb2_phy_init(device_t dev)
struct soc_intel_baytrail_config *config = dev->chip_info;
struct reg_script usb2_phy_script[] = {
/* USB3PHYInit() */
- REG_IOSF_WRITE(IOSF_PORT_USBPHY, USBPHY_COMPBG, 0x4700),
+ REG_IOSF_WRITE(IOSF_PORT_USBPHY, USBPHY_COMPBG,
+ config->usb2_comp_bg),
/* Per port phy settings, set in devicetree.cb */
REG_IOSF_WRITE(IOSF_PORT_USBPHY, USBPHY_PER_PORT_LANE0,
config->usb2_per_port_lane0),