]> git.dujemihanovic.xyz Git - u-boot.git/commit
pci: xilinx: Enable MMIO region
authorMayuresh Chitale <mchitale@ventanamicro.com>
Thu, 16 Nov 2023 16:51:03 +0000 (22:21 +0530)
committerMichal Simek <michal.simek@amd.com>
Wed, 13 Dec 2023 07:58:06 +0000 (08:58 +0100)
commita62b01ded171415e0278bfc951a31895e63d166f
tree13a32680d0aca22a8004ab0c231c37794ede0dce
parent891b4814800bd3ad5d16c5d45e0cd05709f64721
pci: xilinx: Enable MMIO region

The host bridge MMIO region is disabled by default due to which MMIO
accesses cause an exception. Fix it by setting the bridge enable bit.
This change is ported from the linux pcie-xilinx driver.

Signed-off-by: Mayuresh Chitale <mchitale@ventanamicro.com>
Reviewed-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/20231116165103.140968-3-mchitale@ventanamicro.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
drivers/pci/pcie_xilinx.c