summaryrefslogtreecommitdiffstats
path: root/common/reset_source.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/reset_source.c')
-rw-r--r--common/reset_source.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/reset_source.c b/common/reset_source.c
index b02a694..0a69f90 100644
--- a/common/reset_source.c
+++ b/common/reset_source.c
@@ -11,6 +11,7 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
+#define pr_fmt(fmt) "reset-source: " fmt
#include <common.h>
#include <init.h>
@@ -45,6 +46,9 @@ void reset_source_set_priority(enum reset_src_type st, unsigned int priority)
reset_source = st;
reset_source_priority = priority;
+
+ pr_debug("Setting reset source to %s with priority %d\n",
+ reset_src_names[reset_source], priority);
}
EXPORT_SYMBOL(reset_source_set);