[U-Boot] [PATCH] mx31: add "ARM11P power gating" to get_reset_cause
Helmut Raiger
helmut.raiger at hale.at
Wed Mar 7 11:16:58 CET 2012
On 02/16/2012 09:44 AM, Helmut Raiger wrote:
> 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";
> }
Please comment.
Helmut
--
Scanned by MailScanner.
More information about the U-Boot
mailing list