[U-Boot] [PATCH v5] cmd: usb: add blk, emulation devices to ignore list as needed
Simon Glass
sjg at chromium.org
Mon Sep 25 02:13:49 UTC 2017
On 20 September 2017 at 23:09, Suneel Garapati <suneelglinux at 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 <suneelglinux at gmail.com>
> Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
> Tested-by: Bin Meng <bmeng.cn at 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 <sjg at chromium.org>
More information about the U-Boot
mailing list