summaryrefslogtreecommitdiff
path: root/src/drivers/genesyslogic/gl9763e/gl9763e.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/genesyslogic/gl9763e/gl9763e.c')
-rw-r--r--src/drivers/genesyslogic/gl9763e/gl9763e.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/drivers/genesyslogic/gl9763e/gl9763e.c b/src/drivers/genesyslogic/gl9763e/gl9763e.c
index 4dcfbdcbd0..a4842e81c3 100644
--- a/src/drivers/genesyslogic/gl9763e/gl9763e.c
+++ b/src/drivers/genesyslogic/gl9763e/gl9763e.c
@@ -23,6 +23,11 @@ static void gl9763e_init(struct device *dev)
pci_or_config32(dev, SCR, SCR_AXI_REQ);
/* Disable L0s support */
pci_and_config32(dev, CFG_REG_2, ~CFG_REG_2_L0S);
+
+ if (CONFIG(DRIVERS_GENESYSLOGIC_GL9763E_L1_MAX))
+ /* Set L1 entry delay to MAX */
+ pci_or_config32(dev, CFG_REG_2, CFG_REG_2_L1DLY_MAX);
+
/* Set SSC to 30000 ppm */
pci_update_config32(dev, PLL_CTL_2, ~PLL_CTL_2_MAX_SSC_MASK, MAX_SSC_30000PPM);
/* Enable SSC */