commit | f46ec93ed593e7a442629a2a56fd541debc41329 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Tue Sep 06 20:27:15 2022 -0600 |
committer | Tom Rini <trini@konsulko.com> | Thu Sep 29 16:11:14 2022 -0400 |
tree | 3992b6252e60c9fccd1661c9ef81f4d1e694c55d | |
parent | 9243224687bd92674c693546a46f849b1a54c75c [diff] |
dm: core: Avoid creating a name property when unflattening The current implementation creates a 'name' value for every node. This is not needed for the latest device tree format, which includes a name in the node header. Adjust the code to point the name at the node header instead. Also simplify ofnode_get_name(), now that we can rely on it to set the name correctly. Update the comment to make it clear what name the root node has. Signed-off-by: Simon Glass <sjg@chromium.org>