This function allows a device's status to be read. This indicates whether
the device should be enabled or disabled.

Note: In normal operation disabled devices will not be present in the
driver-model tree.

Signed-off-by: Simon Glass <s...@chromium.org>
---

Changes in v3:
- Add new patch to add dev_read_enabled()

Changes in v2: None

 drivers/core/read.c | 11 +++++++++++
 include/dm/read.h   | 18 ++++++++++++++++++
 2 files changed, 29 insertions(+)

Applied to u-boot-dm, thanks!
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to