pci: Disable I/O forwarding during autoconfiguration if unsupported
authorPali Rohár <pali@kernel.org>
Thu, 25 Nov 2021 10:32:43 +0000 (11:32 +0100)
committerTom Rini <trini@konsulko.com>
Wed, 12 Jan 2022 19:21:24 +0000 (14:21 -0500)
commit06f25bd2a907fa543d69757da4e3c752b7103e54
treec52d7c31d288e83984dbc5b2490bc2eaa9efcdda
parentf2094143c5367f38c74d4233a65afb07a25a8ace
pci: Disable I/O forwarding during autoconfiguration if unsupported

If U-Boot does not have any I/O resource for assignment then disable I/O
forwarding in PCI bridge autoconfiguration code. Default initial state of
PCI bridge IO registers is unspecified, therefore they can be in enabled if
U-Boot does not touch them.

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