]> git.dujemihanovic.xyz Git - u-boot.git/commit
pci: When disabling pref MEM set all base bits
authorPali Rohár <pali@kernel.org>
Thu, 25 Nov 2021 10:34:37 +0000 (11:34 +0100)
committerTom Rini <trini@konsulko.com>
Wed, 12 Jan 2022 19:21:24 +0000 (14:21 -0500)
commit95ab5784bfc2d1a431d1a95b215893c2d808f7e8
tree69d5931d228a7152ec965bf19b255e67e2ff262f
parent06f25bd2a907fa543d69757da4e3c752b7103e54
pci: When disabling pref MEM set all base bits

It is common to set all base address bits to one and all limit address bits
to zero for disabling address forwarding. Forwarding is disabled when base
address is higher than limit address, so this change should not have any
effect.

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