baytrail: fix the coding error on PCIe L1 exit latency
The original code uses L1EXIT_MASK to shift the bit for PCIe L1 exit latency, the code should use L1EXIT_SHIFT for bit shifting. BUG=chrome-os-partner:34037 BRANCH=None TEST=build and boot on candy, verify B0:D28:F0 + 4Ch [17:15] set to 010b. Correspond WIFI device performance got improvement. Signed-off-by: Kevin L Lee <kevin.l.lee@intel.com> Change-Id: I3ac5b6319b726aa16cdb9678face89022d979517 Signed-off-by: Stefan Reinauer <reinauer@chromium.org> Original-Commit-Id: 381827e3d92c9e786cd8ebe412586968662fb4be Original-Change-Id: I8171f80720830cfa76f26778ae31c7590a723b92 Original-Reviewed-on: https://chromium-review.googlesource.com/234673 Original-Reviewed-by: Kenji Chen <kenji.chen@intel.com> Original-Reviewed-by: Shawn Nematbakhsh <shawnn@chromium.org> Original-Tested-by: Kenji Chen <kenji.chen@intel.com> Original-Commit-Queue: Kenji Chen <kenji.chen@intel.com> Reviewed-on: http://review.coreboot.org/9480 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <pgeorgi@google.com>
This commit is contained in:
parent
e6cf3c6f78
commit
5c8d43e207
|
@ -95,7 +95,7 @@ static void byt_pcie_init(device_t dev)
|
|||
/* Exit latency configuration based on
|
||||
* PHYCTL2_IOSFBCTL[PLL_OFF_EN] set in root port 1*/
|
||||
REG_PCI_RMW32(LCAP, ~L1EXIT_MASK,
|
||||
2 << (L1EXIT_MASK + pll_en_off)),
|
||||
2 << (L1EXIT_SHIFT + pll_en_off)),
|
||||
REG_SCRIPT_NEXT(init_static_after_exit_latency),
|
||||
/* Disable hot plug, set power to 10W, set slot number. */
|
||||
REG_PCI_RMW32(SLCAP, ~(HPC | HPS),
|
||||
|
|
Loading…
Reference in New Issue