[U-Boot] [PATCH v3 03/35] dm: core: Add dev_read_enabled() to check if a device is enabled

sjg at google.com sjg at google.com
Thu Jul 6 17:36:52 UTC 2017


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 <sjg at 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!


More information about the U-Boot mailing list