]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: core: Add a livetree function to check node status
authorSimon Glass <sjg@chromium.org>
Sun, 29 Nov 2020 00:50:02 +0000 (17:50 -0700)
committerSimon Glass <sjg@chromium.org>
Sun, 13 Dec 2020 14:58:18 +0000 (07:58 -0700)
commit0de1b07406d709c3951dbb1a69ca196d80bd516d
treea741e4a124438112f6ef63c0fce2473da2870227
parent734206dda14b328bfb946eea1e343f06a5fcceea
dm: core: Add a livetree function to check node status

Add a way to find out if a node is enabled or not, based on its 'status'
property.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/core/ofnode.c
include/dm/ofnode.h
test/dm/ofnode.c