mx31: add "ARM11P power gating" to get_reset_cause
authorHelmut Raiger <helmut.raiger@hale.at>
Wed, 15 Feb 2012 22:44:34 +0000 (22:44 +0000)
committerStefano Babic <sbabic@denx.de>
Tue, 27 Mar 2012 07:41:15 +0000 (09:41 +0200)
Add missing reset reason 7 to get_reset_cause().

Signed-off-by: Helmut Raiger <helmut.raiger@hale.at>
arch/arm/cpu/arm1136/mx31/generic.c

index d60afc9a33f57bee8efc17b16782ea1cf388bbd9..8873fb719d90d6d614d4eb138036e2f175e19504 100644 (file)
@@ -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";
        }