[U-Boot] [PATCH v1] cmd: usb: add blk devices to ignore list in tree graph
Bin Meng
bmeng.cn at gmail.com
Fri Sep 15 06:27:30 UTC 2017
Hi Suneel,
On Mon, Sep 11, 2017 at 2:17 PM, Simon Glass <sjg at chromium.org> wrote:
> On 6 September 2017 at 11:01, Suneel Garapati <suneelglinux at gmail.com> wrote:
>> add blk child devices to ignore list while displaying
>> usb tree graph, otherwise usb tree and info commands
>> may cause crash treating blk as usb device.
>>
>> Signed-off-by: Suneel Garapati <suneelglinux at gmail.com>
>> ---
>>
>> Changes v1:
>> - add separate check on blk uclass
>> - modify description
>> - add separate check on parent uclass as usb
>>
>> cmd/usb.c | 12 +++++++++---
>> 1 file changed, 9 insertions(+), 3 deletions(-)
>
> Reviewed-by: Simon Glass <sjg at chromium.org>
'usb tree' is seriously broken with this patch. See below.
=> usb tree
USB device tree:
1 Hub (5 Gb/s, 0mA)
| U-Boot XHCI Host Controller
|
Regards,
Bin
More information about the U-Boot
mailing list