[U-Boot] [PATCH V3 1/4] dm: core: add internal functions for getting the device without probe

Simon Glass sjg at chromium.org
Thu Apr 9 03:47:12 CEST 2015


On 8 April 2015 at 11:06, Przemyslaw Marczak <p.marczak at samsung.com> wrote:
> This commit extends the uclass-internal functions by:
> - uclass_find_first_device()
> - uclass_find_next_device()
> For both functions, the returned device is not probed.
>
> After some cleanup, the above functions are called by:
> - uclass_first_device()
> - uclass_next_device()
> for which, the returned device is probed.
>
> Signed-off-by: Przemyslaw Marczak <p.marczak at samsung.com>
> Cc: Simon Glass <sjg at chromium.org>
> ---
> Changes V2:
> - new commit
>
> Changes V3:
> - none
> ---
>  drivers/core/uclass.c        | 59 +++++++++++++++++++++++++-------------------
>  include/dm/uclass-internal.h | 22 +++++++++++++++++
>  2 files changed, 56 insertions(+), 25 deletions(-)

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


More information about the U-Boot mailing list