[PATCH 03/11] dm: core: Add a livetree function to check node status

Simon Glass sjg at chromium.org
Thu Dec 10 01:26:44 CET 2020


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

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 drivers/core/ofnode.c | 10 ++++++++++
 include/dm/ofnode.h   | 11 +++++++++++
 test/dm/ofnode.c      | 12 ++++++++++++
 3 files changed, 33 insertions(+)

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list