commit | 085d59411ca7cde4ca5c70beeab4fdcea209aed6 | [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 | a3f50d038695887808497c1a15c9fcc122d964e6 [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>