summaryrefslogtreecommitdiff
path: root/arch/sandbox
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2018-08-03 01:14:47 -0700
committerSimon Glass <sjg@chromium.org>2018-08-08 12:49:31 +0100
commit490d13a523cac0cdddf44fef492ad6493b342489 (patch)
treed941ea7259b49b4a89a33fd34e13af724db39555 /arch/sandbox
parent59a160e8b93950244155c34ec6eb11e101ce49db (diff)
sandbox: Update test.dts for dynamic PCI device driver matching
At present we have two PCI buses in the test configuration. Both buses have static device-tree config devices. Now we switch the 2nd bus to use dynamic PCI devices for testing. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/sandbox')
-rw-r--r--arch/sandbox/dts/test.dts16
1 files changed, 2 insertions, 14 deletions
diff --git a/arch/sandbox/dts/test.dts b/arch/sandbox/dts/test.dts
index 0bce6d01af..44d24f978b 100644
--- a/arch/sandbox/dts/test.dts
+++ b/arch/sandbox/dts/test.dts
@@ -326,20 +326,8 @@
#size-cells = <2>;
ranges = <0x02000000 0 0x30000000 0x30000000 0 0x2000
0x01000000 0 0x40000000 0x40000000 0 0x2000>;
- pci@8,0 {
- compatible = "pci-generic";
- reg = <0x4000 0 0 0 0>;
- emul@8,0 {
- compatible = "sandbox,swap-case";
- };
- };
- pci@c,0 {
- compatible = "pci-generic";
- reg = <0x6000 0 0 0 0>;
- emul@c,0 {
- compatible = "sandbox,swap-case";
- };
- };
+ sandbox,dev-info = <0x08 0x00 0x1234 0x5678
+ 0x0c 0x00 0x1234 0x5678>;
};
probing {