mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: Barebox List <barebox@lists.infradead.org>
Subject: [PATCH 0/3] of: Allow for const properties
Date: Wed, 31 Jan 2018 12:04:35 +0100	[thread overview]
Message-ID: <20180131110438.22620-1-s.hauer@pengutronix.de> (raw)

This series allows to unflatten a DTB while reusing the existing property
data from the DTB in the unflattened tree. This can make the memory
consumption much smaller when big properties are stored in the flattened
tree. While there's normally not much use of such an optimization
there's one user which profits from it: The FIT image code as FIT images
a only DTBs with kernel and ramdisk images stored in properties.

Sascha Hauer (3):
  pinctrl: do not dereference a device tree property directly
  of: Allow for const properties
  of: fdt: add of_unflatten_dtb_const

 commands/of_property.c    |   1 +
 drivers/of/base.c         | 107 +++++++++++++++++++++++++++++++++++++---------
 drivers/of/fdt.c          |  36 +++++++++++++++-
 drivers/pinctrl/pinctrl.c |  18 +++-----
 include/of.h              |   5 +++
 5 files changed, 132 insertions(+), 35 deletions(-)

-- 
2.15.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

             reply	other threads:[~2018-01-31 11:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-31 11:04 Sascha Hauer [this message]
2018-01-31 11:04 ` [PATCH 1/3] pinctrl: do not dereference a device tree property directly Sascha Hauer
2018-01-31 11:04 ` [PATCH 2/3] of: Allow for const properties Sascha Hauer
2018-01-31 11:04 ` [PATCH 3/3] of: fdt: add of_unflatten_dtb_const Sascha Hauer

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=20180131110438.22620-1-s.hauer@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@lists.infradead.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