Skip to content
Snippets Groups Projects
Commit 8f6e2e1e authored by Simon Glass's avatar Simon Glass
Browse files

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: default avatarSimon Glass <sjg@chromium.org>
parent 5b9d44df
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment