test: dm: pci: Test more than one device on the same bus
authorBin Meng <bmeng.cn@gmail.com>
Fri, 3 Aug 2018 08:14:39 +0000 (01:14 -0700)
committerSimon Glass <sjg@chromium.org>
Wed, 8 Aug 2018 11:49:31 +0000 (12:49 +0100)
commit2db7f2b722c6314b731d961d5796f97028601250
treefee92b3ee1006bc667f2120abee7bfcd69188b27
parentdd4808f9fab54b94df76447b7a7f383cd1b2f5d0
test: dm: pci: Test more than one device on the same bus

It's quite common to have more than one device on the same PCI bus.
This updates the test case to test 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