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

Commit 285ed7be authored by Siddartha Mohanadoss's avatar Siddartha Mohanadoss
Browse files

msm: mhi_dev: Update MHI MMIO initialization for BHI_INTVEC



BHI_INTVEC is programmed by the host and does not require AMSS
software to reprogram this register during initial boot.
With PCIe early initialization the host MHI driver can get
enumerated earlier and update this register and the existing
AMSS configuration for the register can overwrite this value.
Therefore remove this initialization.

Change-Id: Ie550db13060b509bf49895022674e6dd3ec0a8c2
Signed-off-by: default avatarSiddartha Mohanadoss <smohanad@codeaurora.org>
parent a7b34032
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -566,7 +566,6 @@ static void ep_pcie_config_mmio(struct ep_pcie_dev_t *dev)
	ep_pcie_write_reg(dev->mmio, PCIE20_MHIVER, 0x1000000);
	ep_pcie_write_reg(dev->mmio, PCIE20_BHI_VERSION_LOWER, 0x2);
	ep_pcie_write_reg(dev->mmio, PCIE20_BHI_VERSION_UPPER, 0x1);
	ep_pcie_write_reg(dev->mmio, PCIE20_BHI_INTVEC, 0xffffffff);

	dev->config_mmio_init = true;
}