[U-Boot] [PATCH] mx31: add "ARM11P power gating" to get_reset_cause

Helmut Raiger helmut.raiger at hale.at
Thu Feb 16 09:44:34 CET 2012


Add missing reset reason 7 to get_reset_cause().

Signed-off-by: Helmut Raiger <helmut.raiger at hale.at>
---
 arch/arm/cpu/arm1136/mx31/generic.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/arch/arm/cpu/arm1136/mx31/generic.c b/arch/arm/cpu/arm1136/mx31/generic.c
index d60afc9..8873fb7 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";
 	}
-- 
1.7.4.4



--
Scanned by MailScanner.



More information about the U-Boot mailing list