[U-Boot] [PATCH] dm_test: improve the appearance shown by "dm tree" command

Simon Glass sjg at chromium.org
Sun Nov 30 04:22:20 CET 2014


On 29 November 2014 at 01:01, Masahiro Yamada <yamada.m at jp.panasonic.com> wrote:
> The command "dm tree" lists devices in a tree-like format.
> This commit makes it look more like what the Unix command "tree"
> shows.
>
> => dm tree
>  Class       Probed   Name
> ----------------------------------------
>  root        [ + ]    root_driver
>  demo        [   ]    |-- demo_shape_drv
>  demo        [   ]    |-- demo_simple_drv
>  demo        [   ]    |-- demo_shape_drv
>  demo        [   ]    |-- demo_simple_drv
>  demo        [   ]    |-- demo_shape_drv
>  test        [   ]    |-- test_drv
>  test        [   ]    |-- test_drv
>  test        [   ]    |-- test_drv
>  gpio        [   ]    |-- gpio_sandbox
>  serial      [   ]    |-- serial_sandbox
>  serial      [ + ]    |-- serial
>  demo        [   ]    |-- triangle
>  demo        [   ]    |-- square
>  demo        [   ]    |-- hexagon
>  gpio        [   ]    |-- gpios
>  spi         [   ]    |-- spi at 0
>  spi_emul    [   ]    |   `-- flash at 0
>  cros_ec     [ + ]    `-- cros-ec at 0
>
> Signed-off-by: Masahiro Yamada <yamada.m at jp.panasonic.com>
> ---
>
> This commit uses strlcpy().
>
> Please apply the following first:
> http://patchwork.ozlabs.org/patch/412670/

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


More information about the U-Boot mailing list