[U-Boot] [PATCH v3 3/7] uclass: Add dev_get_uclass_index() to get the uclass/index of a device
Simon Glass
sjg at chromium.org
Sat Jun 30 04:19:36 UTC 2018
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.
More information about the U-Boot
mailing list