On Thu, 6 Feb 2020 at 10:03, Sean Anderson <[email protected]> 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 <[email protected]>
> Reviewed-by: Bin Meng <[email protected]>
> Tested-by: Bin Meng <[email protected]>
>
> ---
>
> Changes in v3:
> - Add python test
>
> Changes in v2:
> - Check if entry->of_match is NULL before accessing it
> - Remove trailing newline in help message
>
>  cmd/dm.c                 | 12 +++++++++++-
>  drivers/core/dump.c      | 20 ++++++++++++++++++++
>  include/dm/util.h        |  3 +++
>  test/py/tests/test_dm.py | 17 +++++++++++++++++
>  4 files changed, 51 insertions(+), 1 deletion(-)
>  create mode 100644 test/py/tests/test_dm.py

Reviewed-by: Simon Glass <[email protected]>

Reply via email to