Broadwell: Synchronization with FRC for RO, Link Arbiter, and OBFF.
OBFF: Disable it by clear bit fields in that W/O register. RO: Enable Relaxed Ordering from each enabled Root Port. Linker Arbiter: Set it to recommeded setting. BUG=None TEST=Build a image and check the setting are applied correctly on Samub. Signed-off-by: Kenji Chen <kenji.chen@intel.com> Change-Id: I284e9eba1c2fceb690d3ef48b45a6f36d07ff84c Reviewed-on: https://chromium-review.googlesource.com/219993 Reviewed-by: Duncan Laurie <dlaurie@chromium.org> Commit-Queue: Kenji Chen <kenji.chen@intel.com> Tested-by: Kenji Chen <kenji.chen@intel.com>
This commit is contained in:
parent
d2862b6c1c
commit
465b0a37c3
1 changed files with 7 additions and 2 deletions
|
|
@ -523,8 +523,8 @@ static void pch_pcie_early(struct device *dev)
|
|||
pcie_update_cfg(dev, 0x338, ~(1 << 26), 0);
|
||||
}
|
||||
|
||||
/* Enable LTR in Root Port. */
|
||||
pcie_update_cfg(dev, 0x64, ~(1 << 11), (1 << 11));
|
||||
/* Enable LTR in Root Port. Disbale OBFF. */
|
||||
pcie_update_cfg(dev, 0x64, ~(1 << 11) & ~(3 << 18), (1 << 11));
|
||||
pcie_update_cfg(dev, 0x68, ~(1 << 10), (1 << 10));
|
||||
|
||||
pcie_update_cfg(dev, 0x318, ~(0xffff << 16), (0x1414 << 16));
|
||||
|
|
@ -550,6 +550,11 @@ static void pch_pcie_early(struct device *dev)
|
|||
/* Set Extended Capability to offset 200h and Advanced Error Report. */
|
||||
pcie_update_cfg(dev, 0x100, ~(1 << 29) & ~0xfffff, (1 << 29) | 0x10001);
|
||||
|
||||
pcie_update_cfg(dev, 0x320, ~(3 << 20) & ~(7 << 6),
|
||||
(1 << 20) | (3 << 6));
|
||||
/* Enable Relaxed Order from Root Port. */
|
||||
pcie_update_cfg(dev, 0x320, ~(3 << 23), (3 << 23));
|
||||
|
||||
if (rp == 1 || rp == 5 || rp == 6)
|
||||
pcie_update_cfg8(dev, 0xf7, ~0xc, 0);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue