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

Simon Glass sjg at chromium.org
Wed Apr 8 17:39:33 CEST 2015


Hi Przemyslaw,

On 8 April 2015 at 09:32, 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
> ---
>  drivers/core/uclass.c        | 59 +++++++++++++++++++++++++-------------------
>  include/dm/uclass-internal.h | 22 +++++++++++++++++
>  2 files changed, 56 insertions(+), 25 deletions(-)
>

Looks good, can you add a test?

Regards,
Simon


More information about the U-Boot mailing list