[PATCH v2] cmd: Add command to dump drivers and compatible strings
Bin Meng
bmeng.cn at gmail.com
Tue Feb 4 10:54:15 CET 2020
On Tue, Feb 4, 2020 at 4:51 AM Sean Anderson <seanga2 at gmail.com> wrote:
>
> 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 at gmail.com>
> ---
> Changes for v2:
> - Check if entry->of_match is NULL before accessing it
>
> cmd/dm.c | 12 +++++++++++-
> drivers/core/dump.c | 20 ++++++++++++++++++++
> include/dm/util.h | 3 +++
> 3 files changed, 34 insertions(+), 1 deletion(-)
>
Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
Tested-by: Bin Meng <bmeng.cn at gmail.com>
More information about the U-Boot
mailing list