[PATCH 13/21] dm: core: Add a way to iterate through children, probing each

sjg at google.com sjg at google.com
Wed Feb 5 18:56:49 CET 2020


It is sometimes useful to process all children, making sure they are
probed first. Add functions to help with this and a macro to make it more
convenient.

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

 drivers/core/device.c | 22 ++++++++++++++++++++++
 include/dm/device.h   | 39 +++++++++++++++++++++++++++++++++++++++
 test/dm/test-fdt.c    | 19 +++++++++++++++++++
 3 files changed, 80 insertions(+)

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list