08 Jul, 2020
1 commit
-
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: Niel Fourie
Cc: Simon Glass
Cc: Sean Anderson
Reviewed-by: Simon Glass
19 May, 2020
1 commit
-
We should not use typedefs in U-Boot. They cannot be used as forward
declarations which means that header files must include the full header to
access them.Drop the typedef and rename the struct to remove the _s suffix which is
now not useful.This requires quite a few header-file additions.
Signed-off-by: Simon Glass
09 Apr, 2020
1 commit
-
Add a test for the dm drivers command. Also fix a null pointer dereference
revealed by said test.Signed-off-by: Sean Anderson
Reviewed-by: Bin Meng
Tested-by: Bin Meng
Reviewed-by: Simon Glass
06 Feb, 2020
1 commit
-
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
Reviewed-by: Simon Glass
16 Dec, 2018
1 commit
-
The "dm" command under CONFIG_CMD_DM should live under cmd/ rather than
test/dm/ so move it.Signed-off-by: Tom Rini