]> git.baikalelectronics.ru Git - uboot.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)
commit29c2415364aa6ca004ea1c5ef3e31ebc26e2a25e
tree03d3b9aabe6b60a7337a4270d9c450b004232614
parent6fea0652034cb9fb05679d609239a42f629a53e8
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