commit | 97be165572e555ea88d409ed6b156d021de474fa | [log] [tgz] |
---|---|---|
author | Jon Lin <jon.lin@rock-chips.com> | Sat Jul 22 13:30:20 2023 +0000 |
committer | Kever Yang <kever.yang@rock-chips.com> | Fri Jul 28 18:45:03 2023 +0800 |
tree | 130cf9e5f5667ee92f76198f38f8fa6eff6c9d4e | |
parent | 64942b755e2ec4121137ced7d22efb68a1bf9518 [diff] |
pci: pcie_dw_rockchip: Disable unused BARs of the root complex The Root Complex BARs default to claim the full 1 GiB memory region on RK3568, leaving no space for any attached device. Fix this by disable the unused BAR 0 and BAR 1 of the RC. Signed-off-by: Jon Lin <jon.lin@rock-chips.com> [jonas@kwiboo.se: Move to rk_pcie_configure and use PCI_BASE_ADDRESS_0/1 const] Signed-off-by: Jonas Karlman <jonas@kwiboo.se> Reviewed-by: Kever Yang <kever.yang@rock-chips.com>