On 20 September 2017 at 23:09, Suneel Garapati <suneelgli...@gmail.com> wrote: > add blk child devices to ignore list while displaying usb tree graph, > also preamble should not be set for blk child devices. > add usb_emul to ignore list in usb_show_info. otherwise usb tree and > info commands may cause crash treating blk as usb device. > > Signed-off-by: Suneel Garapati <suneelgli...@gmail.com> > Reviewed-by: Bin Meng <bmeng...@gmail.com> > Tested-by: Bin Meng <bmeng...@gmail.com> > --- > Changes v5: > - add usb_emul to ignore list in usb_show_info > - modify description > Changes v4: > - do not set preamble if child is block device for mass storage > Changes v3: > - remove 'check on parent uclass' in description > Changes v2: > - remove check on parent uclass > Changes v1: > - add separate check on blk uclass > - modify description > - add separate check on parent uclass as usb > > cmd/usb.c | 22 +++++++++++++++++++--- > 1 file changed, 19 insertions(+), 3 deletions(-)
Reviewed-by: Simon Glass <s...@chromium.org> _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot