
28 Sep
2018
28 Sep
'18
5:55 p.m.
On 6 August 2018 at 01:23, Mario Six mario.six@gdsys.cc wrote:
It's useful to have the reset status of the SoC printed out during reset (e.g. to learn whether the reset was caused by software or a watchdog).
As a first step to implement this, add a get_status method to the sysreset class, which enables the caller to get printable information about the reset status (akin to get_desc in the CPU uclass).
Reviewed-by: Simon Glass sjg@chromium.org Signed-off-by: Mario Six mario.six@gdsys.cc
Notes: v3 -> v4: No changes
v2 -> v3: No changes v1 -> v2: New in v2
drivers/sysreset/sysreset-uclass.c | 10 ++++++++++ include/sysreset.h | 17 +++++++++++++++++ 2 files changed, 27 insertions(+)
Applied to u-boot-dm, and now in mainline, thanks!