diff options
author | Sean Anderson <seanga2@gmail.com> | 2020-01-17 22:48:09 +0300 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2020-02-06 05:33:46 +0300 |
commit | 7b9d60fc1ff67b3959a7db394084b27268a7686d (patch) | |
tree | 6196a41c5c8016aa5803d83dff50d83f4d5a543b /include/dm | |
parent | 2f7c53cbd3e8094d2c4398b293a68304b7af721c (diff) | |
download | u-boot-7b9d60fc1ff67b3959a7db394084b27268a7686d.tar.xz |
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>
Diffstat (limited to 'include/dm')
-rw-r--r-- | include/dm/util.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/dm/util.h b/include/dm/util.h index 348c2ace3c..0ccb3fbadf 100644 --- a/include/dm/util.h +++ b/include/dm/util.h @@ -39,6 +39,9 @@ static inline void dm_dump_devres(void) } #endif +/* Dump out a list of drivers */ +void dm_dump_drivers(void); + /** * Check if an of node should be or was bound before relocation. * |