[U-Boot] [PATCH v3 13/54] dm: Move the tree/uclass dump code into its own file

Simon Glass sjg at chromium.org
Sat Jul 18 01:56:35 CEST 2015


On 23 June 2015 at 15:38, Simon Glass <sjg at chromium.org> wrote:
> In SPL it is sometimes useful to be able to obtain a dump of the current
> driver model state. Since commands are not available, provide a way to
> directly call the functions to output this information.
>
> Adjust the existing commands to use these functions.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
> Changes in v3: None
> Changes in v2: None
>
>  drivers/core/Makefile |  1 +
>  drivers/core/dump.c   | 96 +++++++++++++++++++++++++++++++++++++++++++++++++++
>  include/dm/util.h     |  6 ++++
>  test/dm/cmd_dm.c      | 82 ++-----------------------------------------
>  4 files changed, 106 insertions(+), 79 deletions(-)
>  create mode 100644 drivers/core/dump.c

Applied to u-boot-dm.


More information about the U-Boot mailing list