u-boot-brain/test/dm
Masahiro Yamada a56642c7ba dm_test: improve the appearance shown by "dm tree" command
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@0
 spi_emul    [   ]    |   `-- flash@0
 cros_ec     [ + ]    `-- cros-ec@0

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
2014-12-11 13:18:41 -07:00
..
.gitignore dm: Add basic tests 2014-03-04 12:15:29 -05:00
bus.c dm: core: Add functions for iterating through device children 2014-10-22 10:36:45 -06:00
cmd_dm.c dm_test: improve the appearance shown by "dm tree" command 2014-12-11 13:18:41 -07:00
core.c test: dm: Support memory leak checking as a core feature 2014-10-23 19:29:53 -06:00
gpio.c test: dm: Add additional GPIO tests 2014-10-23 19:29:53 -06:00
Makefile dm: sf: Add tests for SPI flash 2014-10-22 10:36:52 -06:00
sf.c dm: sf: Add tests for SPI flash 2014-10-22 10:36:52 -06:00
spi.c dm: spi: Add tests 2014-10-22 10:36:51 -06:00
test-dm.sh dm: spi: Add tests 2014-10-22 10:36:51 -06:00
test-driver.c dm: Allow drivers to be marked 'before relocation' 2014-07-23 14:07:24 +01:00
test-fdt.c dm: Provide a function to scan child FDT nodes 2014-07-23 14:08:36 +01:00
test-main.c test: dm: Support memory leak checking as a core feature 2014-10-23 19:29:53 -06:00
test-uclass.c dm: rename device struct to udevice 2014-05-27 10:21:32 -04:00
test.dts dm: sf: Add tests for SPI flash 2014-10-22 10:36:52 -06:00
ut.c dm: Add basic tests 2014-03-04 12:15:29 -05:00