[edk2-devel] [PATCH edk2-platforms v2 8/8] Silicon/AMD/StyxDtbLoaderLib: omit linux, phandle properties

Leif Lindholm via Groups.Io leif.lindholm=linaro.org at groups.io
Thu Nov 28 13:38:27 UTC 2019


On Wed, Nov 27, 2019 at 19:44:39 +0100, Ard Biesheuvel wrote:
> The linux,phandle property is a deprecated alias for the phandle property
> which was standardized long ago, so don't bother emitting it.
> 
> Signed-off-by: Ard Biesheuvel <ard.biesheuvel at linaro.org>

Reviewed-by: Leif Lindholm <leif.lindholm at linaro.org>

> ---
>  Silicon/AMD/Styx/Library/StyxDtbLoaderLib/StyxDtbLoaderLib.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/Silicon/AMD/Styx/Library/StyxDtbLoaderLib/StyxDtbLoaderLib.c b/Silicon/AMD/Styx/Library/StyxDtbLoaderLib/StyxDtbLoaderLib.c
> index 091d151ac722..6ce694573f9f 100644
> --- a/Silicon/AMD/Styx/Library/StyxDtbLoaderLib/StyxDtbLoaderLib.c
> +++ b/Silicon/AMD/Styx/Library/StyxDtbLoaderLib/StyxDtbLoaderLib.c
> @@ -397,7 +397,6 @@ PrepareFdt (
>      }
>      Phandle[Index] = fdt_alloc_phandle (Fdt);
>      fdt_setprop_cell (Fdt, CpuNode, "phandle", Phandle[Index]);
> -    fdt_setprop_cell (Fdt, CpuNode, "linux,phandle", Phandle[Index]);
>  
>      fdt_setprop_string (Fdt, CpuNode, "enable-method", "psci");
>  
> -- 
> 2.17.1
> 

-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#51459): https://edk2.groups.io/g/devel/message/51459
Mute This Topic: https://groups.io/mt/62737086/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-





More information about the edk2-devel-archive mailing list