]> git.baikalelectronics.ru Git - uboot.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)
commit4cdcdeff7e03b6fe25f54830ec2f365f6e44859c
tree69d5931d228a7152ec965bf19b255e67e2ff262f
parent4eec22491ec5462e4b7654025a64246c3c7ccee8
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