]> git.dujemihanovic.xyz Git - u-boot.git/commit
pci: Avoid assigning PCI resources that are below 0x1000
authorBin Meng <bmeng.cn@gmail.com>
Wed, 5 Jun 2019 14:26:44 +0000 (07:26 -0700)
committerTom Rini <trini@konsulko.com>
Fri, 21 Jun 2019 14:07:11 +0000 (10:07 -0400)
commit5fafd7e35f03a28748456fe2277f073846946b2f
tree03d3b9aabe6b60a7337a4270d9c450b004232614
parentd5e994fc55eeac0938c5a0204d64e0b97397567e
pci: Avoid assigning PCI resources that are below 0x1000

commit b7598a43f2b4 ("[PATCH] Avoid assigning PCI resources from
zero address") only moved the bus lower address to 0x1000 if the
given bus start address is zero. The comment said 0x1000 is a
reasonable starting value, hence we'd better apply the same
adjustment when the given bus start address is below 0x1000.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Stefan Roese <sr@denx.de>
drivers/pci/pci_auto_common.c