[U-Boot] [PATCH v2 15/21] sandbox: Update test.dts for dynamic PCI device driver matching

Bin Meng bmeng.cn at gmail.com
Sun Jul 29 13:37:06 UTC 2018


Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
---

Changes in v2: None

 arch/sandbox/dts/test.dts | 16 ++--------------
 1 file changed, 2 insertions(+), 14 deletions(-)

diff --git a/arch/sandbox/dts/test.dts b/arch/sandbox/dts/test.dts
index 0bce6d0..44d24f9 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 at 8,0 {
-			compatible = "pci-generic";
-			reg = <0x4000 0 0 0 0>;
-			emul at 8,0 {
-				compatible = "sandbox,swap-case";
-			};
-		};
-		pci at c,0 {
-			compatible = "pci-generic";
-			reg = <0x6000 0 0 0 0>;
-			emul at c,0 {
-				compatible = "sandbox,swap-case";
-			};
-		};
+		sandbox,dev-info = <0x08 0x00 0x1234 0x5678
+				    0x0c 0x00 0x1234 0x5678>;
 	};
 
 	probing {
-- 
2.7.4



More information about the U-Boot mailing list