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

Przemyslaw Marczak p.marczak at samsung.com
Wed Apr 8 17:47:59 CEST 2015


Hello Simon,

On 04/08/2015 05:39 PM, Simon Glass wrote:
> 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
>

Ok, will add some simply test.

Best regards,
-- 
Przemyslaw Marczak
Samsung R&D Institute Poland
Samsung Electronics
p.marczak at samsung.com


More information about the U-Boot mailing list