[Pdbg] [PATCH v3 3/4] tests: Assign attributes to virtual nodes to test property api
    Amitay Isaacs 
    amitay at ozlabs.org
       
    Wed Mar  4 14:19:12 AEDT 2020
    
    
  
Signed-off-by: Amitay Isaacs <amitay at ozlabs.org>
---
 fake.dts.m4 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/fake.dts.m4 b/fake.dts.m4
index 3d49bef..8d51482 100644
--- a/fake.dts.m4
+++ b/fake.dts.m4
@@ -54,7 +54,8 @@ dnl
 define(`dump_processor_pre',`dnl
      pib {
         #address-cells = <0x1>;
-        #size-cells = <0x1>;')
+        #size-cells = <0x1>;
+	ATTR2 = "processor$1";')
 
 dnl
 dnl dump_processor_post()
@@ -92,7 +93,6 @@ define(`dump_backend',dnl
         reg = <CONCAT(0x,pib_addr) 0x0>;
         index = <0x$1>;
 	ATTR1 = <0xc0ffee>;
-	ATTR2 = "processor$1";
       };
     };
 
-- 
2.24.1
    
    
More information about the Pdbg
mailing list