common: reset_source: Introduce reset_source_name()
Introduce reset_source_name() to get string representation of current
reset source.

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent ccdc6ba commit 307da7d4ffabd1ab514742259744ad09f0bdeddd
@Andrey Smirnov Andrey Smirnov authored on 20 Apr 2018
Sascha Hauer committed on 8 May 2018
Showing 2 changed files
View
common/reset_source.c
View
include/reset_source.h