commit | 2b9b1458c7e7dcbf976e41ac750f01f16058b574 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Tue Sep 06 20:27:21 2022 -0600 |
committer | Tom Rini <trini@konsulko.com> | Thu Sep 29 22:43:43 2022 -0400 |
tree | 2d5b1b974b7230c21a605394279657b14147ab39 | |
parent | 04fa09a38f749c19076ed0362c421ad3f48a5f03 [diff] |
dm: core: Add ofnode functions to obtain an oftree At present dm_test_ofnode_root() does this manually. Add some inline functions to handle it, so this code can be centralised. Add oftree functions to produce a null tree and to check whether a tree is valid or not. Signed-off-by: Simon Glass <sjg@chromium.org>