diff options
author | Simon Glass <sjg@chromium.org> | 2015-06-23 15:38:26 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-07-21 17:39:20 -0600 |
commit | 8f6e2e1ee17bb1ecce03518b8eceda6965617477 (patch) | |
tree | 0c227e0e9daf32f4879f8a331e0a1062d80c0c2b /include/commproc.h | |
parent | 5b9d44df2307fc882b2ae666fd28fb2c7c2d5b11 (diff) | |
download | u-boot-imx-8f6e2e1ee17bb1ecce03518b8eceda6965617477.zip u-boot-imx-8f6e2e1ee17bb1ecce03518b8eceda6965617477.tar.gz u-boot-imx-8f6e2e1ee17bb1ecce03518b8eceda6965617477.tar.bz2 |
fdt: Add a function to remove unused strings from a device tree
Property names are stored in a string table. When a node property is
removed, the string table is not updated since other nodes may have a
property with the same name.
Thus it is possible for the string table to build up a number of unused
strings. Add a function to remove these. This works by building a new device
tree from the old one, adding strings one by one as needed.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/commproc.h')
0 files changed, 0 insertions, 0 deletions