[PATCH 0/3] of: Allow for const properties

Sascha Hauer s.hauer at pengutronix.de
Wed Jan 31 03:04:35 PST 2018


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




More information about the barebox mailing list