• N
    cmd: dm: Fixed/Added DM driver listing subcommands · 2e488368
    Niel Fourie 提交于
    Renamed dm "drivers" subcommand to "compat" (as it listed
    compatibility strings) and prevent it from segfaulting when
    drivers have no of_match populated.
    
    Added a new "drivers" subcommand to dump a list of all known DM
    drivers and for each, their uclass id, uclass driver and names of
    attached devices.
    
    Added a new "static" subcommand to dump a list of DM drivers with
    statically defined platform data.
    Signed-off-by: NNiel Fourie <lusus@denx.de>
    Cc: Simon Glass <sjg@chromium.org>
    Cc: Sean Anderson <seanga2@gmail.com>
    Reviewed-by: NSimon Glass <sjg@chromium.org>
    2e488368
dm.c 2.6 KB