test: dm: pci: Add tests for mixed static and dynamic devices on the same bus
authorBin Meng <bmeng.cn@gmail.com>
Fri, 3 Aug 2018 08:14:50 +0000 (01:14 -0700)
committerSimon Glass <sjg@chromium.org>
Wed, 8 Aug 2018 11:49:31 +0000 (12:49 +0100)
commit3ed214ac9bbd1df6cb5e043a39d9de41e481c3e9
treec44303b604dc53812176aebc6cb94cdf392d69ac
parent841f3216c298dbc5cf6802eac9ffe1e4da1167f4
test: dm: pci: Add tests for mixed static and dynamic devices on the same bus

In the Sandbox test configuration, PCI bus#0 only has static devices
while bus#1 only has dynamic devices. Create a bus#2 that has both
types of devices and test such.

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