[Pdbg] [PATCH v3 3/4] tests: Assign attributes to virtual nodes to test property api

Alistair Popple alistair at popple.id.au
Wed Mar 4 14:35:35 AEDT 2020


Reviewed-by: Alistair Popple <alistair at popple.id.au>

On Wednesday, 4 March 2020 2:19:12 PM AEDT Amitay Isaacs wrote:
> 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";
>        };
>      };






More information about the Pdbg mailing list