]> git.baikalelectronics.ru Git - uboot.git/commit
dm: core: Add a way to iterate through children, probing each
authorSimon Glass <sjg@chromium.org>
Mon, 27 Jan 2020 15:49:48 +0000 (08:49 -0700)
committerSimon Glass <sjg@chromium.org>
Thu, 6 Feb 2020 02:33:45 +0000 (19:33 -0700)
commit16786fe7093185999ea8d36538f04216a818a25c
tree3b22285081f2921225d80a4c7437bf618335262a
parent8f033241c9caea608f74d3a5b5eccb172059a4fe
dm: core: Add a way to iterate through children, probing each

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@chromium.org>
drivers/core/device.c
include/dm/device.h
test/dm/test-fdt.c