From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Sat, 25 Jun 2016 20:53:50 -0600 Subject: [U-Boot] [PATCH v3 07/12] libfdt: Add fdt_setprop_inplace_by_index In-Reply-To: <20160624142757.32735-8-maxime.ripard@free-electrons.com> References: <20160624142757.32735-1-maxime.ripard@free-electrons.com> <20160624142757.32735-8-maxime.ripard@free-electrons.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 24 June 2016 at 08:27, Maxime Ripard wrote: > Add a function to modify inplace a property starting from a given index. > > This is especially useful when the property is an array of values, and you > want to update one of them without changing the DT size. > > Signed-off-by: Maxime Ripard > --- > include/libfdt.h | 34 +++++++++++++++++++++++++++++++--- > lib/libfdt/fdt_wip.c | 13 ++++++++----- > 2 files changed, 39 insertions(+), 8 deletions(-) Acked-by: Simon Glass I need to get fdt_setprop_inplace() upstream. - Simon From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Subject: Re: [PATCH v3 07/12] libfdt: Add fdt_setprop_inplace_by_index Date: Sat, 25 Jun 2016 20:53:50 -0600 Message-ID: References: <20160624142757.32735-1-maxime.ripard@free-electrons.com> <20160624142757.32735-8-maxime.ripard@free-electrons.com> Mime-Version: 1.0 Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=rBs5DYGG62E53yNdnW2D72Fayp9V9dD8pxw+vhzKZJQ=; b=Gxe2wxoQhGkwf34sfP4AylpAyLjh1pvxPSkqJ7M9reWhSIPfzlwBRTZ3I2pQN9C+xN Ao/77aF6cAXhZGi6CHbu12MPcQDw3NQADPqr0pmYg/hqRu1pOEDp+5Z5Ubh/lmzqFf14 nNNkiKw1hqigjVWhUx/KfQNtp0v26W/famyz7zdI2a6mIQiDaw6yVYGFSEefdA9XSkKA xOJeBZO6pCvJx0bD89MQBv7Z+dcEHTlTsZkZkbG7MAp/bQFQrCeH7rrWFashOj/UO1qm im7gJplTtlZUpGhQI31LsykGcuxrd4Ou4W0V4/EEbqkmKxYCPOSBpGh8ufM/EkJ+Lg5U 0vFQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=rBs5DYGG62E53yNdnW2D72Fayp9V9dD8pxw+vhzKZJQ=; b=OZw1pZRySi2mDB3d+GWfhCtk/26f1YY32KS81/zCpio0IA7EpcfhTJf21LGbLSLd8i FI4wRD5CPmaoRuAyBy8ScZQeddD11ZCuIwIf5dFZmLFLVhn2jHpLrUJOSycAHu/7/eo1 3NjLES7NGKvsxF/O0VBzWxK4aWb5KIcz6WWCQ= In-Reply-To: <20160624142757.32735-8-maxime.ripard-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org> Sender: devicetree-compiler-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Maxime Ripard Cc: Pantelis Antoniou , Boris Brezillon , Alexander Kaplan , Thomas Petazzoni , Devicetree Compiler , =?UTF-8?Q?Antoine_T=C3=A9nart?= , Hans de Goede , Tom Rini , U-Boot Mailing List , Stefan Agner On 24 June 2016 at 08:27, Maxime Ripard wrote: > Add a function to modify inplace a property starting from a given index. > > This is especially useful when the property is an array of values, and you > want to update one of them without changing the DT size. > > Signed-off-by: Maxime Ripard > --- > include/libfdt.h | 34 +++++++++++++++++++++++++++++++--- > lib/libfdt/fdt_wip.c | 13 ++++++++----- > 2 files changed, 39 insertions(+), 8 deletions(-) Acked-by: Simon Glass I need to get fdt_setprop_inplace() upstream. - Simon