From: David Gibson <david-xT8FGy+AXnRB3Ne2BGzF6laj5H9X9Tb+@public.gmane.org>
To: Simon Glass <sjg-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org>
Cc: Devicetree Compiler
<devicetree-compiler-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: [PATCH v2] Add a libfdt function to write a property placeholder
Date: Wed, 16 Nov 2016 11:17:32 +1100 [thread overview]
Message-ID: <20161116001732.GJ24747@umbus.fritz.box> (raw)
In-Reply-To: <CAPnjgZ10ZR1sycDZYxvQs=sAM9rCV0irXatqMt0KPm-PCkQmYg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
[-- Attachment #1: Type: text/plain, Size: 1418 bytes --]
On Tue, Nov 15, 2016 at 04:37:17PM -0700, Simon Glass wrote:
> Hi David,
>
> On 24 October 2016 at 17:54, Simon Glass <sjg-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org> wrote:
> > The existing function to add a new property to a tree being built requires
> > that the entire contents of the new property be passed in. For some
> > applications it is more convenient to be able to add the property contents
> > later, perhaps by reading from a file. This avoids double-buffering of the
> > contents.
> >
> > Add a new function to support this and adjust the existing fdt_property() to
> > use it.
> > Signed-off-by: Simon Glass <sjg-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org>
> > ---
> >
> > Changes in v2:
> > - Add tests
> >
> > libfdt/fdt_sw.c | 16 ++++++++++++++--
> > libfdt/libfdt.h | 16 ++++++++++++++++
> > tests/include7.dts | 1 +
> > tests/sw_tree1.c | 5 +++++
> > tests/test_tree1.dts | 1 +
> > tests/test_tree1_label_noderef.dts | 1 +
> > tests/trees.S | 2 ++
> > 7 files changed, 40 insertions(+), 2 deletions(-)
>
> Did you see this one?
No, somehow I missed it.
--
David Gibson | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
http://www.ozlabs.org/~dgibson
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
prev parent reply other threads:[~2016-11-16 0:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1477353294-15212-1-git-send-email-sjg@chromium.org>
[not found] ` <1477353294-15212-1-git-send-email-sjg-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org>
2016-11-15 23:37 ` [PATCH v2] Add a libfdt function to write a property placeholder Simon Glass
[not found] ` <CAPnjgZ10ZR1sycDZYxvQs=sAM9rCV0irXatqMt0KPm-PCkQmYg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-11-16 0:17 ` David Gibson [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20161116001732.GJ24747@umbus.fritz.box \
--to=david-xt8fgy+axnrb3ne2bgzf6laj5h9x9tb+@public.gmane.org \
--cc=devicetree-compiler-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=sjg-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).