]> git.baikalelectronics.ru Git - uboot.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)
commit05a26f1213ba3cf9ddf59418ab368c416004f202
treea741e4a124438112f6ef63c0fce2473da2870227
parent138b7971837a169422477b7bab4a1213d3390f32
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