summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgal Liberman <igall@marvell.com>2017-05-14 18:01:56 +0300
committerKostya Porotchkin <kostap@marvell.com>2017-05-15 11:09:35 +0300
commit1a9d54443debc7d231ac8eff849398c269c4e50f (patch)
tree08537fdf86c5d8a5ed237496bb9afcaaa460c6bd
parenta03ccb37c5da4cf011a7a8c2b43a4df05e3c2b6d (diff)
fix: mvebu: pcie: set correct preset4 value
Currently, incorrect preset4 value is used. This patch fixes the preset4 according to HW measurments. Change-Id: I839a6c843e912182bb0c71e3ab836dac27ce8a97 Signed-off-by: Igal Liberman <igall@marvell.com> Reviewed-on: http://vgitil04.il.marvell.com:8080/39421 Reviewed-by: Kostya Porotchkin <kostap@marvell.com> Tested-by: iSoC Platform CI <ykjenk@marvell.com>
-rw-r--r--drivers/marvell/dw-pcie-ep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/marvell/dw-pcie-ep.c b/drivers/marvell/dw-pcie-ep.c
index 7bc40dfd..63bccd49 100644
--- a/drivers/marvell/dw-pcie-ep.c
+++ b/drivers/marvell/dw-pcie-ep.c
@@ -126,7 +126,7 @@ void dw_pcie_configure(uintptr_t regs_base, uint32_t cap_speed)
* presets to evaluate during the link equalization training to preset4.
*/
reg &= ~GEN3_EQ_PSET_REQ_VEC_MASK;
- reg |= 0x10 << GEN3_EQ_PSET_REQ_VEC_OFFSET;
+ reg |= 0x50 << GEN3_EQ_PSET_REQ_VEC_OFFSET;
mmio_write_32(regs_base + PCIE_GEN3_EQU_CTRL, reg);
/*