[Skiboot] [PATCH] hdata/memory: Removed share-id property
Oliver
oohall at gmail.com
Thu Feb 28 23:00:58 AEDT 2019
On Thu, Feb 28, 2019 at 5:12 PM Vasant Hegde
<hegdevasant at linux.vnet.ibm.com> wrote:
>
> Commit f35a3c37 (hdata/memory: Remove find_shared()) replaed find_shared()
> with dt_find_name_addr(). Now we do not need PRIVATE share-id property.
> Lets remove this property.
>
> CC: Oliver O'Halloran <oohall at gmail.com>
> Signed-off-by: Vasant Hegde <hegdevasant at linux.vnet.ibm.com>
Good idea.
Reviewed-by: Oliver O'Halloran <oohall at gmail.com>
> ---
> hdata/memory.c | 3 ---
> 1 file changed, 3 deletions(-)
>
> diff --git a/hdata/memory.c b/hdata/memory.c
> index a85f4eba9..bd9671a3a 100644
> --- a/hdata/memory.c
> +++ b/hdata/memory.c
> @@ -200,9 +200,6 @@ static bool add_address_range(struct dt_node *root,
>
> dt_add_property_u64s(mem, "reg", reg[0], reg[1]);
> dt_add_property_cells(mem, "ibm,chip-id", chip_id);
> - if (be16_to_cpu(id->flags) & MS_AREA_SHARED)
> - dt_add_property_cells(mem, DT_PRIVATE "share-id",
> - be16_to_cpu(id->share_id));
> return true;
> }
>
> --
> 2.14.3
>
More information about the Skiboot
mailing list