[U-Boot] [PATCH v3 3/7] uclass: Add dev_get_uclass_index() to get the uclass/index of a device

Jean-Jacques Hiblot jjhiblot at ti.com
Wed Jul 4 13:10:06 UTC 2018



On 30/06/2018 06:19, Simon Glass wrote:
> Hi Jean-Jacques,
>
> On 22 June 2018 at 05:25, Jean-Jacques Hiblot <jjhiblot at ti.com> wrote:
>> This function is the reciprocal of uclass_find_device().
>> It will be used to print the index information in dm tree dump.
>>
>> Signed-off-by: Jean-Jacques Hiblot <jjhiblot at ti.com>
>>
>> ---
>>
>> Changes in v3:
>> - update commit log
>> - fixed problem with the function name
>>
>> Changes in v2: None
>>
>>   drivers/core/uclass.c        | 21 +++++++++++++++++++++
>>   include/dm/uclass-internal.h | 11 +++++++++++
>>   2 files changed, 32 insertions(+)
>>
> Reviewed-by: Simon Glass <sjg at chromium.org>
>
> But this does need a sandbox test in test/dm/ofnode.c.
I will not be able to add one before a few weeks.

JJ
>



More information about the U-Boot mailing list