Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 45dc5d8d authored by Tony Truong's avatar Tony Truong
Browse files

msm: pcie: reduce RxEq training time for Gen3 core



Gen3 RxEq training is taking longer than needed. Therefore,
reduce the training time by updating Gen3 core configuration.

Change-Id: Ice0c3da3ed1d3e65858503334baa47b81baae88a
Signed-off-by: default avatarTony Truong <truong@codeaurora.org>
parent ddbece73
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -3700,8 +3700,8 @@ static void msm_pcie_setup_gen3(struct msm_pcie_dev_t *dev)
		PCIE_GEN3_L0_BIST_ERR_CNT2_STATUS,
		(0x05 << 14) | (0x05 << 10) | (0x0d <<  5));

	msm_pcie_write_mask(dev->dm_core +
		PCIE_GEN3_L0_BIST_ERR_CNT1_STATUS, BIT(4), 0);
	msm_pcie_write_reg(dev->dm_core,
		PCIE_GEN3_L0_BIST_ERR_CNT1_STATUS, 0x20);

	msm_pcie_write_mask(dev->dm_core +
		PCIE_GEN3_L0_RESET_GEN, BIT(0), 0);