dm: Move the tree/uclass dump code into its own file
authorSimon Glass <sjg@chromium.org>
Tue, 23 Jun 2015 21:38:35 +0000 (15:38 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 21 Jul 2015 23:39:22 +0000 (17:39 -0600)
commit304fbef156b00d8d7005c8b156e64a6632d45008
treeb5de5bdd89b0ec45b3b4ed7cd175423fb0014b79
parentda229e4e57b7d028cf01d52ac70832a90453e289
dm: Move the tree/uclass dump code into its own file

In SPL it is sometimes useful to be able to obtain a dump of the current
driver model state. Since commands are not available, provide a way to
directly call the functions to output this information.

Adjust the existing commands to use these functions.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/core/Makefile
drivers/core/dump.c [new file with mode: 0644]
include/dm/util.h
test/dm/cmd_dm.c