cmd: Add command to dump drivers and compatible strings
authorSean Anderson <seanga2@gmail.com>
Fri, 17 Jan 2020 19:48:09 +0000 (14:48 -0500)
committerSimon Glass <sjg@chromium.org>
Thu, 6 Feb 2020 02:33:46 +0000 (19:33 -0700)
commit7b9d60fc1ff67b3959a7db394084b27268a7686d
tree6196a41c5c8016aa5803d83dff50d83f4d5a543b
parent2f7c53cbd3e8094d2c4398b293a68304b7af721c
cmd: Add command to dump drivers and compatible strings

This adds a subcommand to dm to dump out what drivers are installed, and their
compatible strings. I have found this useful in ensuring that I have the correct
drivers compiled, and that I have put in the correct compatible strings.

Signed-off-by Sean Anderson <seanga2@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
cmd/dm.c
drivers/core/dump.c
include/dm/util.h