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

Commit 08151369 authored by Siva Kumar Akkireddi's avatar Siva Kumar Akkireddi Committed by Siddartha Mohanadoss
Browse files

msm: ep_pcie: Update MHI MMIO configuration during bios-locking



Avoid (re)configuring MHI mmio registers to initial state during
pcie core init in host reboot scenario as they would have been
already restored by the MHI driver.

Change-Id: I7cb7c03191ed25888f23cdbff71b53d63c3da633
Signed-off-by: default avatarSiva Kumar Akkireddi <sivaa@codeaurora.org>
parent ec69467b
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -1414,6 +1414,11 @@ int ep_pcie_core_enable_endpoint(enum ep_pcie_options opt)
				EP_PCIE_INFO(dev,
					"PCIe V%d: link initialized by bootloader for LE PCIe endpoint; skip link training in HLOS.\n",
					dev->rev);
				/*
				 * Skip mhi mmio config for host reboot case
				 * with bios-locking enabled.
				 */
				dev->config_mmio_init = true;
				ep_pcie_core_init(dev, true);
				dev->link_status = EP_PCIE_LINK_UP;
				dev->l23_ready = false;