]> git.baikalelectronics.ru Git - uboot.git/commit
dm: uclass: Add uclass_foreach_dev_probe
authorPatrice Chotard <patrice.chotard@st.com>
Wed, 24 Oct 2018 12:10:16 +0000 (14:10 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 16 Nov 2018 21:51:55 +0000 (16:51 -0500)
commit831a709ea7bfcfdd533eec8c4d196c8124761b9c
treed3c8d2d796e3c3c301462e08b3cbb1a79cbe5294
parent4488cecdeeb7e70f44d521bf079df2160a4432aa
dm: uclass: Add uclass_foreach_dev_probe

Add uclass_foreach_dev_probe() which iterates through
devices of a given uclass. Devices are probed if necessary
and are ready to use.

Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
include/dm/uclass.h