
18 Jul
2015
18 Jul
'15
1:56 a.m.
On 23 June 2015 at 15:38, Simon Glass sjg@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@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.