[U-Boot] [PATCH 1/2] usb: dm: Add a usb_for_each_root_dev() helper function

Simon Glass sjg at chromium.org
Mon Jul 4 01:18:03 CEST 2016


On 3 July 2016 at 12:22, Hans de Goede <hdegoede at redhat.com> wrote:
> Iterating over usb-root devs and doing something for all of them is
> a bit tricky with dm, factor out the proven usb_show_tree() for this
> into a helper function.
>
> Signed-off-by: Hans de Goede <hdegoede at redhat.com>
> ---
>  cmd/usb.c | 15 ++++++++++++---
>  1 file changed, 12 insertions(+), 3 deletions(-)

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


More information about the U-Boot mailing list