test: dm: pci: Test more than one PCI host controller
authorBin Meng <bmeng.cn@gmail.com>
Fri, 3 Aug 2018 08:14:41 +0000 (01:14 -0700)
committerSimon Glass <sjg@chromium.org>
Wed, 8 Aug 2018 11:49:31 +0000 (12:49 +0100)
commitdee4d752be4cbad2216f9285470588004c5d154e
tree804df7b8615f9c498ebdea688da2cd8a711b7702
parent76330ae67db88350e2938b31d72f57b13f7234d3
test: dm: pci: Test more than one PCI host controller

So far there is only one PCI host controller in the sandbox test
configuration. This is normally the case for x86, but it can be
common on other architectures like ARM/PPC to have more than one
PCI host controller in the system.

This updates the case to cover such scenario.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/sandbox/dts/test.dts
test/dm/pci.c