summaryrefslogtreecommitdiffstats
path: root/drivers/core/Makefile
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-06-23 15:38:35 -0600
committerSimon Glass <sjg@chromium.org>2015-07-21 17:39:22 -0600
commit304fbef156b00d8d7005c8b156e64a6632d45008 (patch)
treeb5de5bdd89b0ec45b3b4ed7cd175423fb0014b79 /drivers/core/Makefile
parentda229e4e57b7d028cf01d52ac70832a90453e289 (diff)
downloadtalos-obmc-uboot-304fbef156b00d8d7005c8b156e64a6632d45008.tar.gz
talos-obmc-uboot-304fbef156b00d8d7005c8b156e64a6632d45008.zip
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>
Diffstat (limited to 'drivers/core/Makefile')
-rw-r--r--drivers/core/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/core/Makefile b/drivers/core/Makefile
index a3fec38503..ed21fedbc0 100644
--- a/drivers/core/Makefile
+++ b/drivers/core/Makefile
@@ -9,3 +9,4 @@ ifndef CONFIG_SPL_BUILD
obj-$(CONFIG_OF_CONTROL) += simple-bus.o
endif
obj-$(CONFIG_DM_DEVICE_REMOVE) += device-remove.o
+obj-$(CONFIG_DM) += dump.o
OpenPOWER on IntegriCloud