]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commit4eec22491ec5462e4b7654025a64246c3c7ccee8
treec52d7c31d288e83984dbc5b2490bc2eaa9efcdda
parent7ac520760565241a0c75a7f3a67ccb4f61474e6a
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