Log detected reset reason as well as raw value of SRSR for better clarity. Signed-off-by: Andrey Smirnov <andrew.smirnov@xxxxxxxxx> --- arch/arm/mach-imx/imx.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/mach-imx/imx.c b/arch/arm/mach-imx/imx.c index 29dad9a41..7dee1433b 100644 --- a/arch/arm/mach-imx/imx.c +++ b/arch/arm/mach-imx/imx.c @@ -179,4 +179,7 @@ void imx_set_reset_reason(void __iomem *srsr, reset_source_set_priority(type, RESET_SOURCE_DEFAULT_PRIORITY + 1); reset_source_set_instance(type, instance); + + pr_info("i.MX reset reason %s (SRSR: 0x%08x)\n", + reset_source_name(), reg); } -- 2.14.3 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox