1
0
Fork 0
remarkable-uboot/test
Masahiro Yamada 40b6f2d020 devres: add debug command to dump device resources
This new command can dump all device resources associated to
each device.  The fields in every line shows:
  - The address of the resource
  - The size of the resource
  - The name of the release function
  - The stage in which the resource has been acquired (BIND/PROBE)

Currently, there is no driver using devres, but if such drivers are
implemented, the output of this command should look like this:

=> dm devres
- root_driver
- soc
- extbus
- serial@54006800
    bfb541e8 (8 byte) devm_kmalloc_release  BIND
    bfb54440 (4 byte) devm_kmalloc_release  PROBE
    bfb54460 (4 byte) devm_kmalloc_release  PROBE
- serial@54006900
    bfb54270 (8 byte) devm_kmalloc_release  BIND
- gpio@55000000
- i2c@58780000
    bfb5bce8 (12 byte) devm_kmalloc_release  PROBE
    bfb5bd10 (4 byte) devm_kmalloc_release  PROBE
- eeprom
    bfb54418 (12 byte) devm_kmalloc_release  BIND

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Simon Glass <sjg@chromium.org>
2015-08-06 07:44:29 -06:00
..
dfu test: dfu: cosmetic: Add missing license information to DFU test scripts 2014-08-20 13:10:33 +02:00
dm devres: add debug command to dump device resources 2015-08-06 07:44:29 -06:00
env test: env: Add a test of the new regex behavior for attrs 2015-05-21 09:16:18 -04:00
fs sandbox: script for testing sandbox/ext4/fat/fs commands 2014-11-23 06:49:05 -05:00
image add test for two 'loadables' 2015-05-28 08:18:21 -04:00
stdint test: Add a simple test to detected warnings with uint64_t, uintptr_t 2014-10-27 11:04:01 -04:00
trace test: Add a test for command repeat 2014-09-24 18:30:28 -04:00
ums test: ums: Add sleep before unmount directory 2014-11-14 21:09:12 +01:00
vboot Implement generalised RSA public exponents for verified boot 2014-08-09 11:17:01 -04:00
Kconfig test: env: Add test framework for env 2015-05-21 09:16:18 -04:00
Makefile test: dm: Move the time test over to the ut command 2015-05-21 09:16:17 -04:00
cmd_repeat.sh test: Add a test for command repeat 2014-09-24 18:30:28 -04:00
cmd_ut.c test: env: Add test framework for env 2015-05-21 09:16:18 -04:00
command_ut.c hush: make run_command() return an error on parsing failure 2014-11-07 16:27:06 -05:00
common.sh test: Add a test for command repeat 2014-09-24 18:30:28 -04:00
compression.c common: Make sure arch-specific map_sysmem() is defined 2015-04-18 11:11:09 -06:00
time_ut.c test: dm: Move the time test over to the ut command 2015-05-21 09:16:17 -04:00
ut.c test: Generalize the unit test framework 2015-05-21 09:16:16 -04:00