From 82081406a2acd15fb4b4beed7f91f57f56c9365f Mon Sep 17 00:00:00 2001 From: Helmut Raiger Date: Wed, 15 Feb 2012 22:44:34 +0000 Subject: [PATCH] mx31: add "ARM11P power gating" to get_reset_cause Add missing reset reason 7 to get_reset_cause(). Signed-off-by: Helmut Raiger --- arch/arm/cpu/arm1136/mx31/generic.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/cpu/arm1136/mx31/generic.c b/arch/arm/cpu/arm1136/mx31/generic.c index d60afc9a33..8873fb719d 100644 --- a/arch/arm/cpu/arm1136/mx31/generic.c +++ b/arch/arm/cpu/arm1136/mx31/generic.c @@ -210,6 +210,8 @@ static char *get_reset_cause(void) return "WDOG"; case 0x0006: return "JTAG"; + case 0x0007: + return "ARM11P power gating"; default: return "unknown reset"; } -- 2.30.2