arm: a37xx: pci: Register controller also when no PCIe card is connected
authorPali Rohár <pali@kernel.org>
Tue, 15 Feb 2022 10:23:36 +0000 (11:23 +0100)
committerStefan Roese <sr@denx.de>
Thu, 17 Feb 2022 13:17:07 +0000 (14:17 +0100)
commit6c7ccb9700d48a6a4a6254f144e58329074fac9e
tree578d8c5e3041bcc84866ef04ea121a84dd9c3971
parent2727e9dd2795c38a20dda9bda24c3f18fbbbb2bf
arm: a37xx: pci: Register controller also when no PCIe card is connected

Allow access to config space of PCIe Root Port (which is always present on
the root bus) even when PCIe link is down or no card is connected.

Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Stefan Roese <sr@denx.de>
drivers/pci/pci-aardvark.c