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

2018-08-07 Thread Simon Glass
On 3 August 2018 at 02:14, Bin Meng  wrote:
> 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 
>
> ---
>
> Changes in v3:
> - Describe test configuration in the commit message
>
> Changes in v2: None
>
>  arch/sandbox/dts/test.dts | 16 ++--
>  1 file changed, 2 insertions(+), 14 deletions(-)

Reviewed-by: Simon Glass 
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2018-08-03 Thread Bin Meng
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 

---

Changes in v3:
- Describe test configuration in the commit message

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 = <0x0200 0 0x3000 0x3000 0 0x2000
0x0100 0 0x4000 0x4000 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 {
-- 
2.7.4

___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot